vendor: 7,278 bytes, lines 1-17
1function Lk(e,t){for(var n=0;n<t.length;n++){const a=t[n];if(typeof a!="string"&&!Array.isArray(a)){for(const o in a)if(o!=="default"&&!(o in e)){const l=Object.getOwnPropertyDescriptor(a,o);l&&Object.defineProperty(e,o,l.get?l:{enumerable:!0,get:()=>a[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function Ir(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Za(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function a(){return this instanceof a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(a){var o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(n,a,o.get?o:{enumerable:!0,get:function(){return e[a]}})}),n}var Ng={exports:{}},kc={};/** 2 * @license React 3 * react-jsx-runtime.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Q_;function Ik(){if(Q_)return kc;Q_=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(a,o,l){var c=null;if(l!==void 0&&(c=""+l),o.key!==void 0&&(c=""+o.key),"key"in o){l={};for(var d in o)d!=="key"&&(l[d]=o[d])}else l=o;return o=l.ref,{$$typeof:e,type:a,key:c,ref:o!==void 0?o:null,props:l}}return kc.Fragment=t,kc.jsx=n,kc.jsxs=n,kc}var Z_;function bl(){return Z_||(Z_=1,Ng.exports=Ik()),Ng.exports}var v=bl(),kg={exports:{}},Me={};/** 10 * @license React 11 * react.production.js 12 * 13 * Copyright (c) Meta Platforms, Inc. and affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var J_;function jk(){if(J_)return Me;J_=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),b=Symbol.iterator;function x(j){return j===null||typeof j!="object"?null:(j=b&&j[b]||j["@@iterator"],typeof j=="function"?j:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,C={};function R(j,X,le){this.props=j,this.context=X,this.refs=C,this.updater=le||E}R.prototype.isReactComponent={},R.prototype.setState=function(j,X){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,X,"setState")},R.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function N(){}N.prototype=R.prototype;function D(j,X,le){this.props=j,this.context=X,this.refs=C,this.updater=le||E}var L=D.prototype=new N;L.constructor=D,S(L,R.prototype),L.isPureReactComponent=!0;var O=Array.isArray;function A(){}var w={H:null,A:null,T:null,S:null},M=Object.prototype.hasOwnProperty;function I(j,X,le){var oe=le.ref;return{$$typeof:e,type:j,key:X,ref:oe!==void 0?oe:null,props:le}}function $(j,X){return I(j.type,X,j.props)}function Y(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function ne(j){var X={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(le){return X[le]})}var se=/\/+/g;function ae(j,X){return typeof j=="object"&&j!==null&&j.key!=null?ne(""+j.key):X.toString(36)}function ee(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(A,A):(j.status="pending",j.then(function(X){j.status==="pending"&&(j.status="fulfilled",j.value=X)},function(X){j.status==="pending"&&(j.status="rejected",j.reason=X)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function P(j,X,le,oe,pe){var ue=typeof j;(ue==="undefined"||ue==="boolean")&&(j=null);var Se=!1;if(j===null)Se=!0;else switch(ue){case"bigint":case"string":case"number":Se=!0;break;case"object":switch(j.$$typeof){case e:case t:Se=!0;break;case m:return Se=j._init,P(Se(j._payload),X,le,oe,pe)}}if(Se)return pe=pe(j),Se=oe===""?"."+ae(j,0):oe,O(pe)?(le="",Se!=null&&(le=Se.replace(se,"$&/")+"/"),P(pe,X,le,"",function(ut){return ut})):pe!=null&&(Y(pe)&&(pe=$(pe,le+(pe.key==null||j&&j.key===pe.key?"":(""+pe.key).replace(se,"$&/")+"/")+Se)),X.push(pe)),1;Se=0;var fe=oe===""?".":oe+":";if(O(j))for(var ge=0;ge<j.length;ge++)oe=j[ge],ue=fe+ae(oe,ge),Se+=P(oe,X,le,ue,pe);else if(ge=x(j),typeof ge=="function")for(j=ge.call(j),ge=0;!(oe=j.next()).done;)oe=oe.value,ue=fe+ae(oe,ge++),Se+=P(oe,X,le,ue,pe);else if(ue==="object"){if(typeof j.then=="function")return P(ee(j),X,le,oe,pe);throw X=String(j),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return Se}function K(j,X,le){if(j==null)return j;var oe=[],pe=0;return P(j,oe,"","",function(ue){return X.call(le,ue,pe++)}),oe}function ie(j){if(j._status===-1){var X=j._result;X=X(),X.then(function(le){(j._status===0||j._status===-1)&&(j._status=1,j._result=le)},function(le){(j._status===0||j._status===-1)&&(j._status=2,j._result=le)}),j._status===-1&&(j._status=0,j._result=X)}if(j._status===1)return j._result.default;throw j._result}var de=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",j);return}console.error(j)},me={map:K,forEach:function(j,X,le){K(j,function(){X.apply(this,arguments)},le)},count:function(j){var X=0;return K(j,function(){X++}),X},toArray:function(j){return K(j,function(X){return X})||[]},only:function(j){if(!Y(j))throw Error("React.Children.only expected to receive a single React element child.");return j}};return Me.Activity=y,Me.Children=me,Me.Component=R,Me.Fragment=n,Me.Profiler=o,Me.PureComponent=
vendor: 9,939 bytes, lines 17-33
17D,Me.StrictMode=a,Me.Suspense=f,Me.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,Me.__COMPILER_RUNTIME={__proto__:null,c:function(j){return w.H.useMemoCache(j)}},Me.cache=function(j){return function(){return j.apply(null,arguments)}},Me.cacheSignal=function(){return null},Me.cloneElement=function(j,X,le){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var oe=S({},j.props),pe=j.key;if(X!=null)for(ue in X.key!==void 0&&(pe=""+X.key),X)!M.call(X,ue)||ue==="key"||ue==="__self"||ue==="__source"||ue==="ref"&&X.ref===void 0||(oe[ue]=X[ue]);var ue=arguments.length-2;if(ue===1)oe.children=le;else if(1<ue){for(var Se=Array(ue),fe=0;fe<ue;fe++)Se[fe]=arguments[fe+2];oe.children=Se}return I(j.type,pe,oe)},Me.createContext=function(j){return j={$$typeof:c,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:l,_context:j},j},Me.createElement=function(j,X,le){var oe,pe={},ue=null;if(X!=null)for(oe in X.key!==void 0&&(ue=""+X.key),X)M.call(X,oe)&&oe!=="key"&&oe!=="__self"&&oe!=="__source"&&(pe[oe]=X[oe]);var Se=arguments.length-2;if(Se===1)pe.children=le;else if(1<Se){for(var fe=Array(Se),ge=0;ge<Se;ge++)fe[ge]=arguments[ge+2];pe.children=fe}if(j&&j.defaultProps)for(oe in Se=j.defaultProps,Se)pe[oe]===void 0&&(pe[oe]=Se[oe]);return I(j,ue,pe)},Me.createRef=function(){return{current:null}},Me.forwardRef=function(j){return{$$typeof:d,render:j}},Me.isValidElement=Y,Me.lazy=function(j){return{$$typeof:m,_payload:{_status:-1,_result:j},_init:ie}},Me.memo=function(j,X){return{$$typeof:p,type:j,compare:X===void 0?null:X}},Me.startTransition=function(j){var X=w.T,le={};w.T=le;try{var oe=j(),pe=w.S;pe!==null&&pe(le,oe),typeof oe=="object"&&oe!==null&&typeof oe.then=="function"&&oe.then(A,de)}catch(ue){de(ue)}finally{X!==null&&le.types!==null&&(X.types=le.types),w.T=X}},Me.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},Me.use=function(j){return w.H.use(j)},Me.useActionState=function(j,X,le){return w.H.useActionState(j,X,le)},Me.useCallback=function(j,X){return w.H.useCallback(j,X)},Me.useContext=function(j){return w.H.useContext(j)},Me.useDebugValue=function(){},Me.useDeferredValue=function(j,X){return w.H.useDeferredValue(j,X)},Me.useEffect=function(j,X){return w.H.useEffect(j,X)},Me.useEffectEvent=function(j){return w.H.useEffectEvent(j)},Me.useId=function(){return w.H.useId()},Me.useImperativeHandle=function(j,X,le){return w.H.useImperativeHandle(j,X,le)},Me.useInsertionEffect=function(j,X){return w.H.useInsertionEffect(j,X)},Me.useLayoutEffect=function(j,X){return w.H.useLayoutEffect(j,X)},Me.useMemo=function(j,X){return w.H.useMemo(j,X)},Me.useOptimistic=function(j,X){return w.H.useOptimistic(j,X)},Me.useReducer=function(j,X,le){return w.H.useReducer(j,X,le)},Me.useRef=function(j){return w.H.useRef(j)},Me.useState=function(j){return w.H.useState(j)},Me.useSyncExternalStore=function(j,X,le){return w.H.useSyncExternalStore(j,X,le)},Me.useTransition=function(){return w.H.useTransition()},Me.version="19.2.5",Me}var eE;function Sl(){return eE||(eE=1,kg.exports=jk()),kg.exports}var T=Sl();const Fe=Ir(T),Ry=Lk({__proto__:null,default:Fe},[T]);var Mg={exports:{}},Mc={},Dg={exports:{}},Lg={};/** 18 * @license React 19 * scheduler.production.js 20 * 21 * Copyright (c) Meta Platforms, Inc. and affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var tE;function Uk(){return tE||(tE=1,function(e){function t(P,K){var ie=P.length;P.push(K);e:for(;0<ie;){var de=ie-1>>>1,me=P[de];if(0<o(me,K))P[de]=K,P[ie]=me,ie=de;else break e}}function n(P){return P.length===0?null:P[0]}function a(P){if(P.length===0)return null;var K=P[0],ie=P.pop();if(ie!==K){P[0]=ie;e:for(var de=0,me=P.length,j=me>>>1;de<j;){var X=2*(de+1)-1,le=P[X],oe=X+1,pe=P[oe];if(0>o(le,ie))oe<me&&0>o(pe,le)?(P[de]=pe,P[oe]=ie,de=oe):(P[de]=le,P[X]=ie,de=X);else if(oe<me&&0>o(pe,ie))P[de]=pe,P[oe]=ie,de=oe;else break e}}return K}function o(P,K){var ie=P.sortIndex-K.sortIndex;return ie!==0?ie:P.id-K.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],p=[],m=1,y=null,b=3,x=!1,E=!1,S=!1,C=!1,R=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;function L(P){for(var K=n(p);K!==null;){if(K.callback===null)a(p);else if(K.startTime<=P)a(p),K.sortIndex=K.expirationTime,t(f,K);else break;K=n(p)}}function O(P){if(S=!1,L(P),!E)if(n(f)!==null)E=!0,A||(A=!0,ne());else{var K=n(p);K!==null&&ee(O,K.startTime-P)}}var A=!1,w=-1,M=5,I=-1;function $(){return C?!0:!(e.unstable_now()-I<M)}function Y(){if(C=!1,A){var P=e.unstable_now();I=P;var K=!0;try{e:{E=!1,S&&(S=!1,N(w),w=-1),x=!0;var ie=b;try{t:{for(L(P),y=n(f);y!==null&&!(y.expirationTime>P&&$());){var de=y.callback;if(typeof de=="function"){y.callback=null,b=y.priorityLevel;var me=de(y.expirationTime<=P);if(P=e.unstable_now(),typeof me=="function"){y.callback=me,L(P),K=!0;break t}y===n(f)&&a(f),L(P)}else a(f);y=n(f)}if(y!==null)K=!0;else{var j=n(p);j!==null&&ee(O,j.startTime-P),K=!1}}break e}finally{y=null,b=ie,x=!1}K=void 0}}finally{K?ne():A=!1}}}var ne;if(typeof D=="function")ne=function(){D(Y)};else if(typeof MessageChannel<"u"){var se=new MessageChannel,ae=se.port2;se.port1.onmessage=Y,ne=function(){ae.postMessage(null)}}else ne=function(){R(Y,0)};function ee(P,K){w=R(function(){P(e.unstable_now())},K)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(P){switch(b){case 1:case 2:case 3:var K=3;break;default:K=b}var ie=b;b=K;try{return P()}finally{b=ie}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(P,K){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var ie=b;b=P;try{return K()}finally{b=ie}},e.unstable_scheduleCallback=function(P,K,ie){var de=e.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?de+ie:de):ie=de,P){case 1:var me=-1;break;case 2:me=250;break;case 5:me=1073741823;break;case 4:me=1e4;break;default:me=5e3}return me=ie+me,P={id:m++,callback:K,priorityLevel:P,startTime:ie,expirationTime:me,sortIndex:-1},ie>de?(P.sortIndex=ie,t(p,P),n(f)===null&&P===n(p)&&(S?(N(w),w=-1):S=!0,ee(O,ie-de))):(P.sortIndex=me,t(f,P),E||x||(E=!0,A||(A=!0,ne()))),P},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(P){var K=b;return function(){var ie=b;b=K;try{return P.apply(this,arguments)}finally{b=ie}}}}(Lg)),Lg}var nE;function zk(){return nE||(nE=1,Dg.exports=Uk()),Dg.exports}var Ig={exports:{}},Nn={};/** 26 * @license React 27 * react-dom.production.js 28 * 29 * Copyright (c) Meta Platforms, Inc. and affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var rE;function Pk(){if(rE)return Nn;rE=1;var e=Sl();function t(f){var p="https://react.dev/errors/"+f;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+f+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var a={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal");function l(f,p,m){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:y==null?null:""+y,children:f,containerInfo:p,implementation:m}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(f,p){if(f==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Nn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Nn.createPortal=function(f,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return l(f,p,null,m)},Nn.flushSync=function(f){var p=c.T,m=a.p;try{if(c.T=null,a.p=2,f)return f()}finally{c.T=p,a.p=m,a.d.f()}},Nn.preconnect=function(f,p){typeof f=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,a.d.C(f,p))},Nn.prefetchDNS=function(f){typeof f=="string"&&a.d.D(f)},Nn.preinit=function(f,p){if(typeof f=="string"&&p&&typeof p.as=="string"){var m=p.as,y=d(m,p.crossOrigin),b=typeof p.integrity=="string"?p.integrity:void 0,x=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?a.d.S(f,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:y,integrity:b,fetchPriority:x}):m==="script"&&a.d.X(f,{crossOrigin:y,integrity:b,fetchPriority:x,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Nn.preinitModule=function(f,p){if(typeof f=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=d(p.as,p.crossOrigin);a.d.M(f,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&a.d.M(f)},Nn.preload=function(f,p){if(typeof f=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,y=d(m,p.crossOrigin);a.d.L(f,m,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.t
vendor: 4,788 bytes, lines 33-41
33ype=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Nn.preloadModule=function(f,p){if(typeof f=="string")if(p){var m=d(p.as,p.crossOrigin);a.d.m(f,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else a.d.m(f)},Nn.requestFormReset=function(f){a.d.r(f)},Nn.unstable_batchedUpdates=function(f,p){return f(p)},Nn.useFormState=function(f,p,m){return c.H.useFormState(f,p,m)},Nn.useFormStatus=function(){return c.H.useHostTransitionStatus()},Nn.version="19.2.5",Nn}var aE;function BT(){if(aE)return Ig.exports;aE=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Ig.exports=Pk(),Ig.exports}/** 34 * @license React 35 * react-dom-client.production.js 36 * 37 * Copyright (c) Meta Platforms, Inc. and affiliates. 38 * 39 * This source code is licensed under the MIT license found in the 40 * LICENSE file in the root directory of this source tree. 41 */var iE;function $k(){if(iE)return Mc;iE=1;var e=zk(),t=Sl(),n=BT();function a(r){var i="https://react.dev/errors/"+r;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+r+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function l(r){var i=r,s=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,i.flags&4098&&(s=i.return),r=i.return;while(r)}return i.tag===3?s:null}function c(r){if(r.tag===13){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function d(r){if(r.tag===31){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function f(r){if(l(r)!==r)throw Error(a(188))}function p(r){var i=r.alternate;if(!i){if(i=l(r),i===null)throw Error(a(188));return i!==r?null:r}for(var s=r,u=i;;){var h=s.return;if(h===null)break;var g=h.alternate;if(g===null){if(u=h.return,u!==null){s=u;continue}break}if(h.child===g.child){for(g=h.child;g;){if(g===s)return f(h),r;if(g===u)return f(h),i;g=g.sibling}throw Error(a(188))}if(s.return!==u.return)s=h,u=g;else{for(var _=!1,k=h.child;k;){if(k===s){_=!0,s=h,u=g;break}if(k===u){_=!0,u=h,s=g;break}k=k.sibling}if(!_){for(k=g.child;k;){if(k===s){_=!0,s=g,u=h;break}if(k===u){_=!0,u=g,s=h;break}k=k.sibling}if(!_)throw Error(a(189))}}if(s.alternate!==u)throw Error(a(190))}if(s.tag!==3)throw Error(a(188));return s.stateNode.current===s?r:i}function m(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r;for(r=r.child;r!==null;){if(i=m(r),i!==null)return i;r=r.sibling}return null}var y=Object.assign,b=Symbol.for("react.element"),x=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),D=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),$=Symbol.for("react.memo_cache_sentinel"),Y=Symbol.iterator;function ne(r){return r===null||typeof r!="object"?null:(r=Y&&r[Y]||r["@@iterator"],typeof r=="function"?r:null)}var se=Symbol.for("react.client.reference");function ae(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===se?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case S:return"Fragment";case R:return"Profiler";case C:return"StrictMode";case O:return"Suspense";case A:return"SuspenseList";case I:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case E:return"Portal";case D:return r.displayName||"Context";case N:return(r._context.displayName||"Context")+".Consumer";case L:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case w:return i=r.displayName||null,i!==null?i:ae(r.type)||"Memo";case M:i=r._payload,r=r._init;try{return ae(r(i))}catch{}}return null}var ee=Array.isArray,P=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pen
vendor: 4,225 bytes, lines 41-48
41ding:!1,data:null,method:null,action:null},de=[],me=-1;function j(r){return{current:r}}function X(r){0>me||(r.current=de[me],de[me]=null,me--)}function le(r,i){me++,de[me]=r.current,r.current=i}var oe=j(null),pe=j(null),ue=j(null),Se=j(null);function fe(r,i){switch(le(ue,i),le(pe,r),le(oe,null),i.nodeType){case 9:case 11:r=(r=i.documentElement)&&(r=r.namespaceURI)?S_(r):0;break;default:if(r=i.tagName,i=i.namespaceURI)i=S_(i),r=x_(i,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}X(oe),le(oe,r)}function ge(){X(oe),X(pe),X(ue)}function ut(r){r.memoizedState!==null&&le(Se,r);var i=oe.current,s=x_(i,r.type);i!==s&&(le(pe,r),le(oe,s))}function Oe(r){pe.current===r&&(X(oe),X(pe)),Se.current===r&&(X(Se),Cc._currentValue=ie)}var qe,_t;function Pe(r){if(qe===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);qe=i&&i[1]||"",_t=-1<s.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+qe+r+_t}var Ae=!1;function ye(r,i){if(!r||Ae)return"";Ae=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(i){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(Q){var V=Q}Reflect.construct(r,[],re)}else{try{re.call()}catch(Q){V=Q}r.call(re.prototype)}}else{try{throw Error()}catch(Q){V=Q}(re=r())&&typeof re.catch=="function"&&re.catch(function(){})}}catch(Q){if(Q&&V&&typeof Q.stack=="string")return[Q.stack,V.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=u.DetermineComponentFrameRoot(),_=g[0],k=g[1];if(_&&k){var z=_.split(` 44`),W=k.split(` 45`);for(h=u=0;u<z.length&&!z[u].includes("DetermineComponentFrameRoot");)u++;for(;h<W.length&&!W[h].includes("DetermineComponentFrameRoot");)h++;if(u===z.length||h===W.length)for(u=z.length-1,h=W.length-1;1<=u&&0<=h&&z[u]!==W[h];)h--;for(;1<=u&&0<=h;u--,h--)if(z[u]!==W[h]){if(u!==1||h!==1)do if(u--,h--,0>h||z[u]!==W[h]){var Z=` 46`+z[u].replace(" at new "," at ");return r.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",r.displayName)),Z}while(1<=u&&0<=h);break}}}finally{Ae=!1,Error.prepareStackTrace=s}return(s=r?r.displayName||r.name:"")?Pe(s):""}function Ze(r,i){switch(r.tag){case 26:case 27:case 5:return Pe(r.type);case 16:return Pe("Lazy");case 13:return r.child!==i&&i!==null?Pe("Suspense Fallback"):Pe("Suspense");case 19:return Pe("SuspenseList");case 0:case 15:return ye(r.type,!1);case 11:return ye(r.type.render,!1);case 1:return ye(r.type,!0);case 31:return Pe("Activity");default:return""}}function ft(r){try{var i="",s=null;do i+=Ze(r,s),s=r,r=r.return;while(r);return i}catch(u){return` 47Error generating stack: `+u.message+` 48`+u.stack}}var be=Object.prototype.hasOwnProperty,He=e.unstable_scheduleCallback,_e=e.unstable_cancelCallback,it=e.unstable_shouldYield,ke=e.unstable_requestPaint,Ye=e.unstable_now,dn=e.unstable_getCurrentPriorityLevel,On=e.unstable_ImmediatePriority,Hn=e.unstable_UserBlockingPriority,tt=e.unstable_NormalPriority,Ne=e.unstable_LowPriority,mn=e.unstable_IdlePriority,Xi=e.log,Zr=e.unstable_setDisableYieldValue,Ur=null,An=null;function tr(r){if(typeof Xi=="function"&&Zr(r),An&&typeof An.setStrictMode=="function")try{An.setStrictMode(Ur,r)}catch{}}var gn=Math.clz32?Math.clz32:vh,Pl=Math.log,Xu=Math.LN2;function vh(r){return r>>>=0,r===0?32:31-(Pl(r)/Xu|0)|0}var qo=256,Go=262144,Qi=4194304;function Jr(r){var i=r&42;if(i!==0)return i;switch(r&-r){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 r&261888;case 262144:case 524288:case 1048576:case 2097152:return r&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;
vendor: 5,186 bytes, line 48
48case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function Zi(r,i,s){var u=r.pendingLanes;if(u===0)return 0;var h=0,g=r.suspendedLanes,_=r.pingedLanes;r=r.warmLanes;var k=u&134217727;return k!==0?(u=k&~g,u!==0?h=Jr(u):(_&=k,_!==0?h=Jr(_):s||(s=k&~r,s!==0&&(h=Jr(s))))):(k=u&~g,k!==0?h=Jr(k):_!==0?h=Jr(_):s||(s=u&~r,s!==0&&(h=Jr(s)))),h===0?0:i!==0&&i!==h&&!(i&g)&&(g=h&-h,s=i&-i,g>=s||g===32&&(s&4194048)!==0)?i:h}function ai(r,i){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&i)===0}function bh(r,i){switch(r){case 1:case 2:case 4:case 8:case 64:return i+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 i+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 Qu(){var r=Qi;return Qi<<=1,!(Qi&62914560)&&(Qi=4194304),r}function $l(r){for(var i=[],s=0;31>s;s++)i.push(r);return i}function ba(r,i){r.pendingLanes|=i,i!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function Sh(r,i,s,u,h,g){var _=r.pendingLanes;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=s,r.entangledLanes&=s,r.errorRecoveryDisabledLanes&=s,r.shellSuspendCounter=0;var k=r.entanglements,z=r.expirationTimes,W=r.hiddenUpdates;for(s=_&~s;0<s;){var Z=31-gn(s),re=1<<Z;k[Z]=0,z[Z]=-1;var V=W[Z];if(V!==null)for(W[Z]=null,Z=0;Z<V.length;Z++){var Q=V[Z];Q!==null&&(Q.lane&=-536870913)}s&=~re}u!==0&&ii(r,u,0),g!==0&&h===0&&r.tag!==0&&(r.suspendedLanes|=g&~(_&~i))}function ii(r,i,s){r.pendingLanes|=i,r.suspendedLanes&=~i;var u=31-gn(i);r.entangledLanes|=i,r.entanglements[u]=r.entanglements[u]|1073741824|s&261930}function Wo(r,i){var s=r.entangledLanes|=i;for(r=r.entanglements;s;){var u=31-gn(s),h=1<<u;h&i|r[u]&i&&(r[u]|=i),s&=~h}}function Fn(r,i){var s=i&-i;return s=s&42?1:Sa(s),s&(r.suspendedLanes|i)?0:s}function Sa(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=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:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function Bl(r){return r&=-r,2<r?8<r?r&134217727?32:268435456:8:2}function oi(){var r=K.p;return r!==0?r:(r=window.event,r===void 0?32:q_(r.type))}function Vo(r,i){var s=K.p;try{return K.p=r,i()}finally{K.p=s}}var zr=Math.random().toString(36).slice(2),en="__reactFiber$"+zr,Sn="__reactProps$"+zr,xa="__reactContainer$"+zr,Hl="__reactEvents$"+zr,xh="__reactListeners$"+zr,_h="__reactHandles$"+zr,Zu="__reactResources$"+zr,Ie="__reactMarker$"+zr;function xn(r){delete r[en],delete r[Sn],delete r[Hl],delete r[xh],delete r[_h]}function Yo(r){var i=r[en];if(i)return i;for(var s=r.parentNode;s;){if(i=s[xa]||s[en]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(r=O_(r);r!==null;){if(s=r[en])return s;r=O_(r)}return i}r=s,s=r.parentNode}return null}function Ko(r){if(r=r[en]||r[xa]){var i=r.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return r}return null}function Fl(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r.stateNode;throw Error(a(33))}function Xo(r){var i=r[Zu];return i||(i=r[Zu]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function yn(r){r[Ie]=!0}var l0=new Set,c0={};function Ji(r,i){Qo(r,i),Qo(r+"Capture",i)}function Qo(r,i){for(c0[r]=i,r=0;r<i.length;r++)l0.add(i[r])}var T2=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]*$"),u0={},d0={};function R2(r){return be.call(d0,r)?!0:be.call(u0,r)?!1:T2.test(r)?d0[r]=!0:(u0[r]=!0,!1)}function Ju(r,i,s){if(R2(i))if(s===null)r.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":r.removeAttribute(i);return;case"boolean":var u=i.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){r.removeAttribute(i);return}}r.setAttribute(i,""+s)}}function ed(r,i,s){if(s===null)r.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(i);return}r.setAttribute(i,""+s)}}function _a(r,i,s,u){if(u===null)r.removeAttribute(s);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(s);return}r.setAttributeNS(i,s,""+u)}}function yr(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function f0(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function C2(r,i,s){var u=Object.getOwnPropertyDescriptor(r.constructor.prototype,i
vendor: 5,332 bytes, line 48
48);if(!r.hasOwnProperty(i)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var h=u.get,g=u.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return h.call(this)},set:function(_){s=""+_,g.call(this,_)}}),Object.defineProperty(r,i,{enumerable:u.enumerable}),{getValue:function(){return s},setValue:function(_){s=""+_},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function Eh(r){if(!r._valueTracker){var i=f0(r)?"checked":"value";r._valueTracker=C2(r,i,""+r[i])}}function p0(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var s=i.getValue(),u="";return r&&(u=f0(r)?r.checked?"true":"false":r.value),r=u,r!==s?(i.setValue(r),!0):!1}function td(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var O2=/[\n"\\]/g;function vr(r){return r.replace(O2,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function wh(r,i,s,u,h,g,_,k){r.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?r.type=_:r.removeAttribute("type"),i!=null?_==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+yr(i)):r.value!==""+yr(i)&&(r.value=""+yr(i)):_!=="submit"&&_!=="reset"||r.removeAttribute("value"),i!=null?Th(r,_,yr(i)):s!=null?Th(r,_,yr(s)):u!=null&&r.removeAttribute("value"),h==null&&g!=null&&(r.defaultChecked=!!g),h!=null&&(r.checked=h&&typeof h!="function"&&typeof h!="symbol"),k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"?r.name=""+yr(k):r.removeAttribute("name")}function h0(r,i,s,u,h,g,_,k){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(r.type=g),i!=null||s!=null){if(!(g!=="submit"&&g!=="reset"||i!=null)){Eh(r);return}s=s!=null?""+yr(s):"",i=i!=null?""+yr(i):s,k||i===r.value||(r.value=i),r.defaultValue=i}u=u??h,u=typeof u!="function"&&typeof u!="symbol"&&!!u,r.checked=k?r.checked:!!u,r.defaultChecked=!!u,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(r.name=_),Eh(r)}function Th(r,i,s){i==="number"&&td(r.ownerDocument)===r||r.defaultValue===""+s||(r.defaultValue=""+s)}function Zo(r,i,s,u){if(r=r.options,i){i={};for(var h=0;h<s.length;h++)i["$"+s[h]]=!0;for(s=0;s<r.length;s++)h=i.hasOwnProperty("$"+r[s].value),r[s].selected!==h&&(r[s].selected=h),h&&u&&(r[s].defaultSelected=!0)}else{for(s=""+yr(s),i=null,h=0;h<r.length;h++){if(r[h].value===s){r[h].selected=!0,u&&(r[h].defaultSelected=!0);return}i!==null||r[h].disabled||(i=r[h])}i!==null&&(i.selected=!0)}}function m0(r,i,s){if(i!=null&&(i=""+yr(i),i!==r.value&&(r.value=i),s==null)){r.defaultValue!==i&&(r.defaultValue=i);return}r.defaultValue=s!=null?""+yr(s):""}function g0(r,i,s,u){if(i==null){if(u!=null){if(s!=null)throw Error(a(92));if(ee(u)){if(1<u.length)throw Error(a(93));u=u[0]}s=u}s==null&&(s=""),i=s}s=yr(i),r.defaultValue=s,u=r.textContent,u===s&&u!==""&&u!==null&&(r.value=u),Eh(r)}function Jo(r,i){if(i){var s=r.firstChild;if(s&&s===r.lastChild&&s.nodeType===3){s.nodeValue=i;return}}r.textContent=i}var A2=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 y0(r,i,s){var u=i.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?u?r.setProperty(i,""):i==="float"?r.cssFloat="":r[i]="":u?r.setProperty(i,s):typeof s!="number"||s===0||A2.has(i)?i==="float"?r.cssFloat=s:r[i]=(""+s).trim():r[i]=s+"px"}function v0(r,i,s){if(i!=null&&typeof i!="object")throw Error(a(62));if(r=r.style,s!=null){for(var u in s)!s.hasOwnProperty(u)||i!=null&&i.hasOwnProperty(u)||(u.indexOf("--")===0?r.setProperty(u,""):u==="float"?r.cssFloat="":r[u]="");for(var h in i)u=i[h],i.hasOwnProperty(h)&&s[h]!==u&&y0(r,h,u)}else for(var g in i)i.hasOwnProperty(g)&&y0(r,g,i[g])}function Rh(r){if(r.indexOf("-")===-1)return!1;switch(r){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 N2=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"],["colorRen
48dering","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"],["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-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"]]),k2=/^[\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 nd(r){return k2.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}function Ea(){}var Ch=null;function Oh(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var es=null,ts=null;function b0(r){var i=Ko(r);if(i&&(r=i.stateNode)){var s=r[Sn]||null;e:switch(r=i.stateNode,i.type){case"input":if(wh(r,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),i=s.name,s.type==="radio"&&i!=null){for(s=r;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+vr(""+i)+'"][type="radio"]'),i=0;i<s.length;i++){var u=s[i];if(u!==r&&u.form===r.form){var h=u[Sn]||null;if(!h)throw Error(a(90));wh(u,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(i=0;i<s.length;i++)u=s[i],u.form===r.form&&p0(u)}break e;case"textarea":m0(r,s.value,s.defaultValue);break e;case"select":i=s.value,i!=null&&Zo(r,!!s.multiple,i,!1)}}}var Ah=!1;function S0(r,i,s){if(Ah)return r(i,s);Ah=!0;try{var u=r(i);return u}finally{if(Ah=!1,(es!==null||ts!==null)&&(Fd(),es&&(i=es,r=ts,ts=es=null,b0(i),r)))for(i=0;i<r.length;i++)b0(r[i])}}function ql(r,i){var s=r.stateNode;if(s===null)return null;var u=s[Sn]||null;if(u===null)return null;s=u[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(r=r.type,u=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!u;break e;default:r=!1}if(r)return null;if(s&&typeof s!="function")throw Error(a(231,i,typeof s));return s}var wa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Nh=!1;if(wa)try{var Gl={};Object.defineProperty(Gl,"passive",{get:function(){Nh=!0}}),window.addEventListener("test",Gl,Gl),window.removeEventListener("test",Gl,Gl)}catch{Nh=!1}var si=null,kh=null,rd=null;function x0(){if(rd)return rd;var r,i=kh,s=i.length,u,h="value"in si?si.value:si.textContent,g=h.length;for(r=0;r<s&&i[r]===h[r];r++);var _=s-r;for(u=1;u<=_&&i[s-u]===h[g-u];u++);return rd=h.slice(r,1<u?1-u:void 0)}function ad(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function id(){return!0}function _0(){return!1}function qn(r){function i(s,u,h,g,_){this._reactName=s,this._targetInst=h,this.type=u,this.nativeEvent=g,this.target=_,this.currentTarget=null;for(var k in r)r.hasOwnProperty(k)&&(s=r[k],this[k]=s?s(g):g[k]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?id:_0,this.isPropagationStopped=_0,this}return y(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=id)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=id)},persist:function(){},isPersistent:id}),i}var eo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},od=qn(eo),Wl=y({},eo,{view:0,detail:0}),M2=qn(Wl),Mh,Dh,Vl,sd=y({},Wl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ih,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Vl&&(Vl&&r.type==="mousemove"?(Mh=r.screenX-Vl.screenX,Dh=r.screenY-Vl.screenY):Dh=Mh=0,Vl=r),Mh)},movementY:function(r){return"movementY"in r?r.movementY:Dh}}),E0=qn(sd),D2=y({},sd,{dataTransfer:0}),L2=qn(D2),I2=y({},Wl,{relatedTarget:0}),Lh=qn(I2),j2=y({},eo,{animationName:0,elapsedTime:0,pseudoElement:0}),U2=qn(j2),z2=y({},eo,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),P2=qn(z2),$2=y({},eo,{data:0}),w0=qn($2),B2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},H2={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"},F2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function q2(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=F2[r])?!!i[r]:!1}function Ih(){return q2}var G2=y({},Wl,{key:function(r){if(r.key){var i=B2[r.key]||r.key;if(i!=="Unidentified")return i}
vendor: 5,186 bytes, line 48
48return r.type==="keypress"?(r=ad(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?H2[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ih,charCode:function(r){return r.type==="keypress"?ad(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?ad(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),W2=qn(G2),V2=y({},sd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),T0=qn(V2),Y2=y({},Wl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ih}),K2=qn(Y2),X2=y({},eo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Q2=qn(X2),Z2=y({},sd,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),J2=qn(Z2),eN=y({},eo,{newState:0,oldState:0}),tN=qn(eN),nN=[9,13,27,32],jh=wa&&"CompositionEvent"in window,Yl=null;wa&&"documentMode"in document&&(Yl=document.documentMode);var rN=wa&&"TextEvent"in window&&!Yl,R0=wa&&(!jh||Yl&&8<Yl&&11>=Yl),C0=" ",O0=!1;function A0(r,i){switch(r){case"keyup":return nN.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function N0(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var ns=!1;function aN(r,i){switch(r){case"compositionend":return N0(i);case"keypress":return i.which!==32?null:(O0=!0,C0);case"textInput":return r=i.data,r===C0&&O0?null:r;default:return null}}function iN(r,i){if(ns)return r==="compositionend"||!jh&&A0(r,i)?(r=x0(),rd=kh=si=null,ns=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return R0&&i.locale!=="ko"?null:i.data;default:return null}}var oN={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 k0(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!oN[r.type]:i==="textarea"}function M0(r,i,s,u){es?ts?ts.push(u):ts=[u]:es=u,i=Xd(i,"onChange"),0<i.length&&(s=new od("onChange","change",null,s,u),r.push({event:s,listeners:i}))}var Kl=null,Xl=null;function sN(r){h_(r,0)}function ld(r){var i=Fl(r);if(p0(i))return r}function D0(r,i){if(r==="change")return i}var L0=!1;if(wa){var Uh;if(wa){var zh="oninput"in document;if(!zh){var I0=document.createElement("div");I0.setAttribute("oninput","return;"),zh=typeof I0.oninput=="function"}Uh=zh}else Uh=!1;L0=Uh&&(!document.documentMode||9<document.documentMode)}function j0(){Kl&&(Kl.detachEvent("onpropertychange",U0),Xl=Kl=null)}function U0(r){if(r.propertyName==="value"&&ld(Xl)){var i=[];M0(i,Xl,r,Oh(r)),S0(sN,i)}}function lN(r,i,s){r==="focusin"?(j0(),Kl=i,Xl=s,Kl.attachEvent("onpropertychange",U0)):r==="focusout"&&j0()}function cN(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return ld(Xl)}function uN(r,i){if(r==="click")return ld(i)}function dN(r,i){if(r==="input"||r==="change")return ld(i)}function fN(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var nr=typeof Object.is=="function"?Object.is:fN;function Ql(r,i){if(nr(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var s=Object.keys(r),u=Object.keys(i);if(s.length!==u.length)return!1;for(u=0;u<s.length;u++){var h=s[u];if(!be.call(i,h)||!nr(r[h],i[h]))return!1}return!0}function z0(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function P0(r,i){var s=z0(r);r=0;for(var u;s;){if(s.nodeType===3){if(u=r+s.textContent.length,r<=i&&u>=i)return{node:s,offset:i-r};r=u}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=z0(s)}}function $0(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?$0(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function B0(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var i=td(r.document);i instanceof r.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)r=i.contentWindow;else break;i=td(r.document)}return i}function Ph(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}var pN=wa&&"documentMode"in document&&11>=document.documentMode,rs=null,$h=null,Zl=null,Bh=!1;function H0(r,i,s){var u=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Bh||rs==null||rs!==td(u)||(u=rs,"selectionStart"in u&&Ph(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focu
vendor: 22,273 bytes, line 48
48sNode:u.focusNode,focusOffset:u.focusOffset}),Zl&&Ql(Zl,u)||(Zl=u,u=Xd($h,"onSelect"),0<u.length&&(i=new od("onSelect","select",null,i,s),r.push({event:i,listeners:u}),i.target=rs)))}function to(r,i){var s={};return s[r.toLowerCase()]=i.toLowerCase(),s["Webkit"+r]="webkit"+i,s["Moz"+r]="moz"+i,s}var as={animationend:to("Animation","AnimationEnd"),animationiteration:to("Animation","AnimationIteration"),animationstart:to("Animation","AnimationStart"),transitionrun:to("Transition","TransitionRun"),transitionstart:to("Transition","TransitionStart"),transitioncancel:to("Transition","TransitionCancel"),transitionend:to("Transition","TransitionEnd")},Hh={},F0={};wa&&(F0=document.createElement("div").style,"AnimationEvent"in window||(delete as.animationend.animation,delete as.animationiteration.animation,delete as.animationstart.animation),"TransitionEvent"in window||delete as.transitionend.transition);function no(r){if(Hh[r])return Hh[r];if(!as[r])return r;var i=as[r],s;for(s in i)if(i.hasOwnProperty(s)&&s in F0)return Hh[r]=i[s];return r}var q0=no("animationend"),G0=no("animationiteration"),W0=no("animationstart"),hN=no("transitionrun"),mN=no("transitionstart"),gN=no("transitioncancel"),V0=no("transitionend"),Y0=new Map,Fh="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Fh.push("scrollEnd");function Pr(r,i){Y0.set(r,i),Ji(i,[r])}var cd=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},br=[],is=0,qh=0;function ud(){for(var r=is,i=qh=is=0;i<r;){var s=br[i];br[i++]=null;var u=br[i];br[i++]=null;var h=br[i];br[i++]=null;var g=br[i];if(br[i++]=null,u!==null&&h!==null){var _=u.pending;_===null?h.next=h:(h.next=_.next,_.next=h),u.pending=h}g!==0&&K0(s,h,g)}}function dd(r,i,s,u){br[is++]=r,br[is++]=i,br[is++]=s,br[is++]=u,qh|=u,r.lanes|=u,r=r.alternate,r!==null&&(r.lanes|=u)}function Gh(r,i,s,u){return dd(r,i,s,u),fd(r)}function ro(r,i){return dd(r,null,null,i),fd(r)}function K0(r,i,s){r.lanes|=s;var u=r.alternate;u!==null&&(u.lanes|=s);for(var h=!1,g=r.return;g!==null;)g.childLanes|=s,u=g.alternate,u!==null&&(u.childLanes|=s),g.tag===22&&(r=g.stateNode,r===null||r._visibility&1||(h=!0)),r=g,g=g.return;return r.tag===3?(g=r.stateNode,h&&i!==null&&(h=31-gn(s),r=g.hiddenUpdates,u=r[h],u===null?r[h]=[i]:u.push(i),i.lane=s|536870912),g):null}function fd(r){if(50<Sc)throw Sc=0,eg=null,Error(a(185));for(var i=r.return;i!==null;)r=i,i=r.return;return r.tag===3?r.stateNode:null}var os={};function yN(r,i,s,u){this.tag=r,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rr(r,i,s,u){return new yN(r,i,s,u)}function Wh(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Ta(r,i){var s=r.alternate;return s===null?(s=rr(r.tag,i,r.key,r.mode),s.elementType=r.elementType,s.type=r.type,s.stateNode=r.stateNode,s.alternate=r,r.alternate=s):(s.pendingProps=i,s.type=r.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=r.flags&65011712,s.childLanes=r.childLanes,s.lanes=r.lanes,s.child=r.child,s.memoizedProps=r.memoizedProps,s.memoizedState=r.memoizedState,s.updateQueue=r.updateQueue,i=r.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=r.sibling,s.index=r.index,s.ref=r.ref,s.refCleanup=r.refCleanup,s}function X0(r,i){r.flags&=65011714;var s=r.alternate;return s===null?(r.childLanes=0,r.lanes=i,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=s.childLanes,r.lanes=s.lanes,r.child=s.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=s.memoizedProps,r.memoizedState=s.memoizedState,r.updateQueue=s.updateQueue,r.type=s.type,i=s.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),r}function pd(r,i,s,u,h,g){var _=0;if(u=r,typeof r=="function")Wh(r)&&(_=1);else if(typeof r=="string")_=_k(r,s,oe.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case I:return r=rr(31,s,i,h),r.elementType=I,r.lanes=g,r;case S:return ao(s.children,h,g,i);case C:_=8,h|=24;break;case R:return r=rr(12,s,i,h|2),r.elementType=R,r.lanes=g,r;case O:return r=rr(13,s,i,h),r.elementType=O,r.lanes=g,r;case A:return r=rr(19,s,i,h),r.elementType=A,r.lanes=g,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case D:_=10;break e;case N:_=9;break e;case L:_=11;break e;case w:_=14;break e;case M:_=16,u=null;break e}_=29,s=Error(a(130,r===null?"null":typeof r,"")),u=null}return i=rr(_,s,i,h),i.elementType=r,i.type=u,i.lanes=g,i}function ao(r,i,s,u){return r=rr(7,r,u,i),r.lanes=s,r}function Vh(r,i,s){return r=rr(6,r,null,i),r.lanes=s,r}function Q0(r){var i=rr(18,null,null,0);return i.stateNode=r,i}function Yh(r,i,s){return i=rr(4,r.children!==null?r.children:[],r.key,i),i.lanes=s,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}var Z0=new WeakMap;function Sr(r,i){if(typeof r=="object"&&r!==null){var s=Z0.get(r);return s!==void 0?s:(i={value:r,source:i,stack:ft(i)},Z0.set(r,i),i)}return{value:r,source:i,stack:ft(i)}}var ss=[],ls=0,hd=null,Jl=0,xr=[],_r=0,li=null,ea=1,ta="";function Ra(r,i){ss[ls++]=Jl,ss[ls++]=hd,hd=r,Jl=i}function J0(r,i,s){xr[_r++]=ea,xr[_r++]=ta,xr[_r++]=li,li=r;var u=ea;r=ta;var h=32-gn(u)-1;u&=~(1<<h),s+=1;var g=32-gn(i)+h;if(30<g){var _=h-h%5;g=(u&(1<<_)-1).toString(32),u>>=_,h-=_,ea=1<<32-gn(i)+h|s<<h|u,ta=g+r}else ea=1<<g|s<<h|u,ta=r}function Kh(r){r.return!==null&&(Ra(r,1),J0(r,1,0))}function Xh(r){for(;r===hd;)hd=ss[--ls],ss[ls]=null,Jl=ss[--ls],ss[ls]=null;for(;r===li;)li=xr[--_r],xr[_r]=null,ta=xr[--_r],xr[_r]=null,ea=xr[--_r],xr[_r]=null}function eS(r,i){xr[_r++]=ea,xr[_r++]=ta,xr[_r++]=li,ea=i.id,ta=i.overflow,li=r}var _n=null,At=null,Qe=!1,ci=null,Er=!1,Qh=Error(a(519));function ui(r){var i=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ec(Sr(i,r)),Qh}function tS(r){var i=r.stateNode,s=r.type,u=r.memoizedProps;switch(i[en]=r,i[Sn]=u,s){case"dialog":We("cancel",i),We("close",i);break;case"iframe":case"object":case"embed":We("load",i);break;case"video":case"audio":for(s=0;s<_c.length;s++)We(_c[s],i);break;case"source":We("error",i);break;case"img":case"image":case"link":We("error",i),We("load",i);break;case"details":We("toggle",i);break;case"input":We("invalid",i),h0(i,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":We("invalid",i);break;case"textarea":We("invalid",i),g0(i,u.value,u.defaultValue,u.children)}s=u.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||i.textContent===""+s||u.suppressHydrationWarning===!0||v_(i.textContent,s)?(u.popover!=null&&(We("beforetoggle",i),We("toggle",i)),u.onScroll!=null&&We("scroll",i),u.onScrollEnd!=null&&We("scrollend",i),u.onClick!=null&&(i.onclick=Ea),i=!0):i=!1,i||ui(r,!0)}function nS(r){for(_n=r.return;_n;)switch(_n.tag){case 5:case 31:case 13:Er=!1;return;case 27:case 3:Er=!0;return;default:_n=_n.return}}function cs(r){if(r!==_n)return!1;if(!Qe)return nS(r),Qe=!0,!1;var i=r.tag,s;if((s=i!==3&&i!==27)&&((s=i===5)&&(s=r.type,s=!(s!=="form"&&s!=="button")||mg(r.type,r.memoizedProps)),s=!s),s&&At&&ui(r),nS(r),i===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));At=C_(r)}else if(i===31){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));At=C_(r)}else i===27?(i=At,wi(r.type)?(r=Sg,Sg=null,At=r):At=i):At=_n?Tr(r.stateNode.nextSibling):null;return!0}function io(){At=_n=null,Qe=!1}function Zh(){var r=ci;return r!==null&&(Yn===null?Yn=r:Yn.push.apply(Yn,r),ci=null),r}function ec(r){ci===null?ci=[r]:ci.push(r)}var Jh=j(null),oo=null,Ca=null;function di(r,i,s){le(Jh,i._currentValue),i._currentValue=s}function Oa(r){r._currentValue=Jh.current,X(Jh)}function em(r,i,s){for(;r!==null;){var u=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,u!==null&&(u.childLanes|=i)):u!==null&&(u.childLanes&i)!==i&&(u.childLanes|=i),r===s)break;r=r.return}}function tm(r,i,s,u){var h=r.child;for(h!==null&&(h.return=r);h!==null;){var g=h.dependencies;if(g!==null){var _=h.child;g=g.firstContext;e:for(;g!==null;){var k=g;g=h;for(var z=0;z<i.length;z++)if(k.context===i[z]){g.lanes|=s,k=g.alternate,k!==null&&(k.lanes|=s),em(g.return,s,r),u||(_=null);break e}g=k.next}}else if(h.tag===18){if(_=h.return,_===null)throw Error(a(341));_.lanes|=s,g=_.alternate,g!==null&&(g.lanes|=s),em(_,s,r),_=null}else _=h.child;if(_!==null)_.return=h;else for(_=h;_!==null;){if(_===r){_=null;break}if(h=_.sibling,h!==null){h.return=_.return,_=h;break}_=_.return}h=_}}function us(r,i,s,u){r=null;for(var h=i,g=!1;h!==null;){if(!g){if(h.flags&524288)g=!0;else if(h.flags&262144)break}if(h.tag===10){var _=h.alternate;if(_===null)throw Error(a(387));if(_=_.memoizedProps,_!==null){var k=h.type;nr(h.pendingProps.value,_.value)||(r!==null?r.push(k):r=[k])}}else if(h===Se.current){if(_=h.alternate,_===null)throw Error(a(387));_.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(r!==null?r.push(Cc):r=[Cc])}h=h.return}r!==null&&tm(i,r,s,u),i.flags|=262144}function md(r){for(r=r.firstContext;r!==null;){if(!nr(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function so(r){oo=r,Ca=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function En(r){return rS(oo,r)}function gd(r,i){return oo===null&&so(r),rS(r,i)}function rS(r,i){var s=i._currentValue;if(i={context:i,memoizedValue:s,next:null},Ca===null){if(r===null)throw Error(a(308));Ca=i,r.dependencies={lanes:0,firstContext:i},r.flags|=524288}else Ca=Ca.next=i;return s}var vN=typeof AbortController<"u"?AbortController:function(){var r=[],i=this.signal={aborted:!1,addEventListener:function(s,u){r.push(u)}};this.abort=function(){i.aborted=!0,r.forEach(function(s){return s()})}},bN=e.unstable_scheduleCallback,SN=e.unstable_NormalPriority,tn={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function nm(){return{controller:new vN,data:new Map,refCount:0}}function tc(r){r.refCount--,r.refCount===0&&bN(SN,function(){r.controller.abort()})}var nc=null,rm=0,ds=0,fs=null;function xN(r,i){if(nc===null){var s=nc=[];rm=0,ds=og(),fs={status:"pending",value:void 0,then:function(u){s.push(u)}}}return rm++,i.then(aS,aS),i}function aS(){if(--rm===0&&nc!==null){fs!==null&&(fs.status="fulfilled");var r=nc;nc=null,ds=0,fs=null;for(var i=0;i<r.length;i++)(0,r[i])()}}function _N(r,i){var s=[],u={status:"pending",value:null,reason:null,then:function(h){s.push(h)}};return r.then(function(){u.status="fulfilled",u.value=i;for(var h=0;h<s.length;h++)(0,s[h])(i)},function(h){for(u.status="rejected",u.reason=h,h=0;h<s.length;h++)(0,s[h])(void 0)}),u}var iS=P.S;P.S=function(r,i){Hx=Ye(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&xN(r,i),iS!==null&&iS(r,i)};var lo=j(null);function am(){var r=lo.current;return r!==null?r:Et.pooledCache}function yd(r,i){i===null?le(lo,lo.current):le(lo,i.pool)}function oS(){var r=am();return r===null?null:{parent:tn._currentValue,pool:r}}var ps=Error(a(460)),im=Error(a(474)),vd=Error(a(542)),bd={then:function(){}};function sS(r){return r=r.status,r==="fulfilled"||r==="rejected"}function lS(r,i,s){switch(s=r[s],s===void 0?r.push(i):s!==i&&(i.then(Ea,Ea),i=s),i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,uS(r),r;default:if(typeof i.status=="string")i.then(Ea,Ea);else{if(r=Et,r!==null&&100<r.shellSuspendCounter)throw Error(a(482));r=i,r.status="pending",r.then(function(u){if(i.status==="pending"){var h=i;h.status="fulfilled",h.value=u}},function(u){if(i.status==="pending"){var h=i;h.status="rejected",h.reason=u}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,uS(r),r}throw uo=i,ps}}function co(r){try{var i=r._init;return i(r._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(uo=s,ps):s}}var uo=null;function cS(){if(uo===null)throw Error(a(459));var r=uo;return uo=null,r}function uS(r){if(r===ps||r===vd)throw Error(a(483))}var hs=null,rc=0;function Sd(r){var i=rc;return rc+=1,hs===null&&(hs=[]),lS(hs,r,i)}function ac(r,i){i=i.props.ref,r.ref=i!==void 0?i:null}function xd(r,i){throw i.$$typeof===b?Error(a(525)):(r=Object.prototype.toString.call(i),Error(a(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r)))}function dS(r){function i(F,B){if(r){var G=F.deletions;G===null?(F.deletions=[B],F.flags|=16):G.push(B)}}function s(F,B){if(!r)return null;for(;B!==null;)i(F,B),B=B.sibling;return null}function u(F){for(var B=new Map;F!==null;)F.key!==null?B.set(F.key,F):B.set(F.index,F),F=F.sibling;return B}function h(F,B){return F=Ta(F,B),F.index=0,F.sibling=null,F}function g(F,B,G){return F.index=G,r?(G=F.alternate,G!==null?(G=G.index,G<B?(F.flags|=67108866,B):G):(F.flags|=67108866,B)):(F.flags|=1048576,B)}function _(F){return r&&F.alternate===null&&(F.flags|=67108866),F}function k(F,B,G,te){return B===null||B.tag!==6?(B=Vh(G,F.mode,te),B.return=F,B):(B=h(B,G),B.return=F,B)}function z(F,B,G,te){var Ee=G.type;return Ee===S?Z(F,B,G.props.children,te,G.key):B!==null&&(B.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===M&&co(Ee)===B.type)?(B=h(B,G.props),ac(B,G),B.return=F,B):(B=pd(G.type,G.key,G.props,null,F.mode,te),ac(B,G),B.return=F,B)}function W(F,B,G,te){return B===null||B.tag!==4||B.stateNode.containerInfo!==G.containerInfo||B.stateNode.implementation!==G.implementation?(B=Yh(G,F.mode,te),B.return=F,B):(B=h(B,G.children||[]),B.return=F,B)}function Z(F,B,G,te,Ee){return B===null||B.tag!==7?(B=ao(G,F.mode,te,Ee),B.return=F,B):(B=h(B,G),B.return=F,B)}function re(F,B,G){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return B=Vh(""+B,F.mode,G),B.return=F,B;if(typeof B=="object"&&B!==null){switch(B.$$typeof){case x:return G=pd(B.type,B.key,B.props,null,F.mode,G),ac(G,B),G.return=F,G;case E:return B=Yh(B,F.mode,G),B.return=F,B;case M:return B=co(B),re(F,B,G)}if(ee(B)||ne(B))return B=ao(B,F.mode,G,null),B.return=F,B;if(typeof B.then=="function")return re(F,Sd(B),G);if(B.$$typeof===D)return re(F,gd(F,B),G);xd(F,B)}return null}function V(F,B,G,te){var Ee=B!==null?B.key:null;if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return Ee!==null?null:k(F,B,""+G,te);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case x:return G.key===Ee?z(F,B,G,te):null;case E:return G.key===Ee?W(F,B,G,te):null;case M:return G=co(G),V(F,B,G,te)}if(ee(G)||ne(G))return Ee!==null?null:Z(F,B,G,te,null);if(typeof G.then=="function")return V(F,B,Sd(G),te);if(G.$$typeof===D)return V(F,B,gd(F,G),te);xd(F,G)}return null}function Q(F,B,G,te,Ee){if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return F=F.get(G)||null,k(B,F,""+te,Ee);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case x:return F=F.get(te.key===null?G:te.key)||null,z(B,F,te,Ee);case E:return F=F.get(te.key===null?G:te.key)||null,W(B,F,te,Ee);case M:return te=co(te),Q(F,B,G,te,Ee)}if(ee(te)||ne(te))return F=F.get(G)||null,Z(B,F,te,Ee,null);if(typeof te.then=="function")return Q(F,B,G,Sd(te),Ee);if(te.$$typeof===D)return Q(F,B,G,gd(B,te),Ee);xd(B,te)}return null}function ve(F,B,G,te){for(var Ee=null,nt=null,xe=B,ze=B=0,Xe=null;xe!==null&&ze<G.length;ze++){xe.index>ze?(Xe=xe,xe=null):Xe=xe.sibling;var rt=V(F,xe,G[ze],te);if(rt===null){xe===null&&(xe=Xe);break}r&&xe&&rt.alternate===null&&i(F,xe),B=g(rt,B,ze),nt===null?Ee=rt:nt.sibling=rt,nt=rt,xe=Xe}if(ze===G.length)return s(F,xe),Qe&&Ra(F,ze),Ee;if(xe===null){for(;ze<G.length;ze++)xe=re(F,G[ze],te),xe!==null&&(B=g(xe,B,ze),nt===null?Ee=xe:nt.sibling=xe,nt=xe);return Qe&&Ra(F,ze),Ee}for(xe=u(xe);ze<G.length;ze++)Xe=Q(xe,F,ze,G[ze],te),Xe!==null&&(r&&Xe.alternate!==null&&xe.delete(Xe.key===null?ze:Xe.key),B=g(Xe,B,ze),nt===null?Ee=Xe:nt.sibling=Xe,nt=Xe);return r&&xe.forEach(function(Ai){return i(F,Ai)}),Qe&&Ra(F,ze),Ee}function Te(F,B,G,te){if(G==null)throw Error(a(151));for(var Ee=null,nt=null,xe=B,ze=B=0,Xe=null,rt=G.next();xe!==null&&!rt.done;ze++,rt=G.next()){xe.index>ze?(Xe=xe,xe=null):Xe=xe.sibling;var Ai=V(F,xe,rt.value,te);if(Ai===null){xe===null&&(xe=Xe);break}r&&xe&&Ai.alternate===null&&i(F,xe),B=g(Ai,B,ze),nt===null?Ee=Ai:nt.sibling=Ai,nt=Ai,xe=Xe}if(rt.done)return s(F,xe),Qe&&Ra(F,ze),Ee;if(xe===null){for(;!rt.done;ze++,rt=G.next())rt=re(F,rt.value,te),rt!==null&&(B=g(rt,B,ze),nt===null?Ee=rt:nt.sibling=rt,nt=rt);return Qe&&Ra(F,ze),Ee}for(xe=u(xe);!rt.done;ze++,rt=G.next())rt=Q(xe,F,ze,rt.value,te),rt!==null&&(r&&rt.alternate!==null&&xe.delete(rt.key===null?ze:rt.key),B=g(rt,B,ze),nt===null?Ee=rt:nt.sibling=rt,nt=rt);return r&&xe.forEach(function(Dk){return i(F,Dk)}),Qe&&Ra(F,ze),Ee}function vt(F,B,G,te){if(typeof G=="object"&&G!==null&&G.type===S&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case x:e:{for(var Ee=G.key;B!==null;){if(B.key===Ee){if(Ee=G.type,Ee===S){if(B.tag===7){s(F,B.sibling),te=h(B,G.props.children),te.return=F,F=te;break e}}else if(B.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===M&&co(Ee)===B.type){s(F,B.sibling),te=h(B,G.props),ac(te,G),te.return=F,F=te;break e}s(F,B);break}else i(F,B);B=B.sibling}G.type===S?(te=ao(G.props.children,F.mode,te,G.key),te.return=F,F=te):(te=pd(G.type,G.key,G.props,null,F.mode,te),ac(te,G),te.return=F,F=te)}return _(F);case E:e:{for(Ee=G.key;B!==null;){if(B.key===Ee)if(B.tag===4&&B.stateNode.containerInfo===G.containerInfo&&B.stateNode.implementation===G.implementation){s(F,B.sibling),te=h(B,G.children||[]),te.return=F,F=te;break e}else{s(F,B);break}else i(F,B);B=B.sibling}te=Yh(G,F.mode,te),te.return=F,F=te}return _(F);case M:return G=co(G),vt(F,B,G,te)}if(ee(G))return ve(F,B,G,te);if(ne(G)){if(Ee=ne(G),typeof Ee!="function")throw Error(a(150));return G=Ee.call(G),Te(F,B,G,te)}if(typeof G.then=="function")return vt(F,B,Sd(G),te);if(G.$$typeof===D)return vt(F,B,gd(F,G),te);xd(F,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,B!==null&&B.tag===6?(s(F,B.sibling),te=h(B,G),te.return=F,F=te):(s(F,B),te=Vh(G,F.mode,te),te.return=F,F=te),_(F)):s(F,B)}return function(F,B,G,te){try{rc=0;var Ee=vt(F,B,G,te);return hs=null,Ee}catch(xe){if(xe===ps||xe===vd)throw xe;var nt=rr(29,xe,null,F.mode);return nt.lanes=te,nt.return=F,nt}finally{}}}var fo=dS(!0),fS=dS(!1),fi=!1;function om(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function sm(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function pi(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function hi(r,i,s){var u=r.updateQueue;if(u===null)return null;if(u=u.shared,ot&2){var h=u.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),u.pending=i,i=fd(r),K0(r,null,s),i}return dd(r,u,i,s),fd(r)}function ic(r,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194048)!==0)){var u=i.lanes;u&=r.pendingLanes,s|=u,i.lanes=s,Wo(r,s)}}function lm(r,i){var s=r.updateQueue,u=r.alternate;if(u!==null&&(u=u.updateQueue,s===u)){var h=null,g=null;if(s=s.firstBaseUpdate,s!==null){do{var _={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};g===null?h=g=_:g=g.next=_,s=s.next}while(s!==null);g===null?h=g=i:g=g.next=i}else h=g=i;s={baseState:u.baseState,firstBaseUpdate:h,lastBaseUpdate:g,shared:u.shared,callbacks:u.callbacks},r.updateQueue=s;return}r=s.lastBaseUpdate,r===null?s.firstBaseUpdate=i:r.next=i,s.lastBaseUpdate=i}var cm=!1;function oc(){if(cm){var r=fs;if(r!==null)throw r}}function sc(r,i,s,u){cm=!1;var h=r.updateQueue;fi=!1;var g=h.firstBaseUpdate,_=h.lastBaseUpdate,k=h.shared.pending;if(k!==null){h.shared.pending=null;var z=k,W=z.next;z.next=null,_===null?g=W:_.next=W,_=z;var Z=r.alternate;Z!==null&&(Z=Z.updateQueue,k=Z.lastBaseUpdate,k!==_&&(k===null?Z.firstBaseUpdate=W:k.next=W,Z.lastBaseUpdate=z))}if(g!==null){var re=h.baseState;_=0,Z=W=z=null,k=g;do{var V=k.lane&-536870913,Q=V!==k.lane;if(Q?(Ke&V)===V:(u&V)===V){V!==0&&V===ds&&(cm=!0),Z!==null&&(Z=Z.next={lane:0,tag:k.tag,payload:k.payload,callback:null,next:null});e:{var ve=r,Te=k;V=i;var vt=s;switch(Te.tag){case 1:if(ve=Te.payload,typeof ve=="function"){re=ve.call(vt,re,V);break e}re=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=Te.payload,V=typeof ve=="function"?ve.call(vt,re,V):ve,V==null)break e;re=y({},re,V);break e;case 2:fi=!0}}V=k.callback,V!==null&&(r.flags|=64,Q&&(r.flags|=8192),Q=h.callbacks,Q===null?h.callbacks=[V]:Q.push(V))}else Q={lane:V,tag:k.tag,payload:k.payload,callback:k.callback,next:null},Z===null?(W=Z=Q,z=re):Z=Z.next=Q,_|=V;if(k=k.next,k===null){if(k=h.shared.pending,k===null)break;Q=k,k=Q.next,Q.next=null,h.lastBaseUpdate=Q,h.shared.pending=null}}while(!0);Z===null&&(z=re),h.baseState=z,h.firstBaseUpdate=W,h.lastBaseUpdate=Z,g===null&&(h.shared.lanes=0),bi|=_,r.lanes=_,r.memoizedState=re}}function pS(r,i){if(typeof r!="function")throw Error(a(191,r));r.call(i)}function hS(r,i){var s=r.callbacks;
vendor: 4,984 bytes, line 48
48if(s!==null)for(r.callbacks=null,r=0;r<s.length;r++)pS(s[r],i)}var ms=j(null),_d=j(0);function mS(r,i){r=Ua,le(_d,r),le(ms,i),Ua=r|i.baseLanes}function um(){le(_d,Ua),le(ms,ms.current)}function dm(){Ua=_d.current,X(ms),X(_d)}var ar=j(null),wr=null;function mi(r){var i=r.alternate;le(Yt,Yt.current&1),le(ar,r),wr===null&&(i===null||ms.current!==null||i.memoizedState!==null)&&(wr=r)}function fm(r){le(Yt,Yt.current),le(ar,r),wr===null&&(wr=r)}function gS(r){r.tag===22?(le(Yt,Yt.current),le(ar,r),wr===null&&(wr=r)):gi()}function gi(){le(Yt,Yt.current),le(ar,ar.current)}function ir(r){X(ar),wr===r&&(wr=null),X(Yt)}var Yt=j(0);function Ed(r){for(var i=r;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||vg(s)||bg(s)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Aa=0,je=null,gt=null,nn=null,wd=!1,gs=!1,po=!1,Td=0,lc=0,ys=null,EN=0;function Bt(){throw Error(a(321))}function pm(r,i){if(i===null)return!1;for(var s=0;s<i.length&&s<r.length;s++)if(!nr(r[s],i[s]))return!1;return!0}function hm(r,i,s,u,h,g){return Aa=g,je=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,P.H=r===null||r.memoizedState===null?JS:Am,po=!1,g=s(u,h),po=!1,gs&&(g=vS(i,s,u,h)),yS(r),g}function yS(r){P.H=dc;var i=gt!==null&>.next!==null;if(Aa=0,nn=gt=je=null,wd=!1,lc=0,ys=null,i)throw Error(a(300));r===null||rn||(r=r.dependencies,r!==null&&md(r)&&(rn=!0))}function vS(r,i,s,u){je=r;var h=0;do{if(gs&&(ys=null),lc=0,gs=!1,25<=h)throw Error(a(301));if(h+=1,nn=gt=null,r.updateQueue!=null){var g=r.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}P.H=ex,g=i(s,u)}while(gs);return g}function wN(){var r=P.H,i=r.useState()[0];return i=typeof i.then=="function"?cc(i):i,r=r.useState()[0],(gt!==null?gt.memoizedState:null)!==r&&(je.flags|=1024),i}function mm(){var r=Td!==0;return Td=0,r}function gm(r,i,s){i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~s}function ym(r){if(wd){for(r=r.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}wd=!1}Aa=0,nn=gt=je=null,gs=!1,lc=Td=0,ys=null}function In(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nn===null?je.memoizedState=nn=r:nn=nn.next=r,nn}function Kt(){if(gt===null){var r=je.alternate;r=r!==null?r.memoizedState:null}else r=gt.next;var i=nn===null?je.memoizedState:nn.next;if(i!==null)nn=i,gt=r;else{if(r===null)throw je.alternate===null?Error(a(467)):Error(a(310));gt=r,r={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},nn===null?je.memoizedState=nn=r:nn=nn.next=r}return nn}function Rd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function cc(r){var i=lc;return lc+=1,ys===null&&(ys=[]),r=lS(ys,r,i),i=je,(nn===null?i.memoizedState:nn.next)===null&&(i=i.alternate,P.H=i===null||i.memoizedState===null?JS:Am),r}function Cd(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return cc(r);if(r.$$typeof===D)return En(r)}throw Error(a(438,String(r)))}function vm(r){var i=null,s=je.updateQueue;if(s!==null&&(i=s.memoCache),i==null){var u=je.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(i={data:u.data.map(function(h){return h.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),s===null&&(s=Rd(),je.updateQueue=s),s.memoCache=i,s=i.data[i.index],s===void 0)for(s=i.data[i.index]=Array(r),u=0;u<r;u++)s[u]=$;return i.index++,s}function Na(r,i){return typeof i=="function"?i(r):i}function Od(r){var i=Kt();return bm(i,gt,r)}function bm(r,i,s){var u=r.queue;if(u===null)throw Error(a(311));u.lastRenderedReducer=s;var h=r.baseQueue,g=u.pending;if(g!==null){if(h!==null){var _=h.next;h.next=g.next,g.next=_}i.baseQueue=h=g,u.pending=null}if(g=r.baseState,h===null)r.memoizedState=g;else{i=h.next;var k=_=null,z=null,W=i,Z=!1;do{var re=W.lane&-536870913;if(re!==W.lane?(Ke&re)===re:(Aa&re)===re){var V=W.revertLane;if(V===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),re===ds&&(Z=!0);else if((Aa&V)===V){W=W.next,V===ds&&(Z=!0);continue}else re={lane:0,revertLane:W.revertLane,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},z===null?(k=z=re,_=g):z=z.next=re,je.lanes|=V,bi|=V;re=W.action,po&&s(g,re),g=W.hasEagerState?W.eagerState:s(g,re)}else V={lane:re,revertLane:W.revertLane,gesture:W.gesture,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},z===null?(k=z=V,_=g):z=z.next=V,je.lanes|=re,bi|=re;W=W.next}
vendor: 17,125 bytes, line 48
48while(W!==null&&W!==i);if(z===null?_=g:z.next=k,!nr(g,r.memoizedState)&&(rn=!0,Z&&(s=fs,s!==null)))throw s;r.memoizedState=g,r.baseState=_,r.baseQueue=z,u.lastRenderedState=g}return h===null&&(u.lanes=0),[r.memoizedState,u.dispatch]}function Sm(r){var i=Kt(),s=i.queue;if(s===null)throw Error(a(311));s.lastRenderedReducer=r;var u=s.dispatch,h=s.pending,g=i.memoizedState;if(h!==null){s.pending=null;var _=h=h.next;do g=r(g,_.action),_=_.next;while(_!==h);nr(g,i.memoizedState)||(rn=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),s.lastRenderedState=g}return[g,u]}function bS(r,i,s){var u=je,h=Kt(),g=Qe;if(g){if(s===void 0)throw Error(a(407));s=s()}else s=i();var _=!nr((gt||h).memoizedState,s);if(_&&(h.memoizedState=s,rn=!0),h=h.queue,Em(_S.bind(null,u,h,r),[r]),h.getSnapshot!==i||_||nn!==null&&nn.memoizedState.tag&1){if(u.flags|=2048,vs(9,{destroy:void 0},xS.bind(null,u,h,s,i),null),Et===null)throw Error(a(349));g||Aa&127||SS(u,i,s)}return s}function SS(r,i,s){r.flags|=16384,r={getSnapshot:i,value:s},i=je.updateQueue,i===null?(i=Rd(),je.updateQueue=i,i.stores=[r]):(s=i.stores,s===null?i.stores=[r]:s.push(r))}function xS(r,i,s,u){i.value=s,i.getSnapshot=u,ES(i)&&wS(r)}function _S(r,i,s){return s(function(){ES(i)&&wS(r)})}function ES(r){var i=r.getSnapshot;r=r.value;try{var s=i();return!nr(r,s)}catch{return!0}}function wS(r){var i=ro(r,2);i!==null&&Kn(i,r,2)}function xm(r){var i=In();if(typeof r=="function"){var s=r;if(r=s(),po){tr(!0);try{s()}finally{tr(!1)}}}return i.memoizedState=i.baseState=r,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:r},i}function TS(r,i,s,u){return r.baseState=s,bm(r,gt,typeof u=="function"?u:Na)}function TN(r,i,s,u,h){if(kd(r))throw Error(a(485));if(r=i.action,r!==null){var g={payload:h,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(_){g.listeners.push(_)}};P.T!==null?s(!0):g.isTransition=!1,u(g),s=i.pending,s===null?(g.next=i.pending=g,RS(i,g)):(g.next=s.next,i.pending=s.next=g)}}function RS(r,i){var s=i.action,u=i.payload,h=r.state;if(i.isTransition){var g=P.T,_={};P.T=_;try{var k=s(h,u),z=P.S;z!==null&&z(_,k),CS(r,i,k)}catch(W){_m(r,i,W)}finally{g!==null&&_.types!==null&&(g.types=_.types),P.T=g}}else try{g=s(h,u),CS(r,i,g)}catch(W){_m(r,i,W)}}function CS(r,i,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(u){OS(r,i,u)},function(u){return _m(r,i,u)}):OS(r,i,s)}function OS(r,i,s){i.status="fulfilled",i.value=s,AS(i),r.state=s,i=r.pending,i!==null&&(s=i.next,s===i?r.pending=null:(s=s.next,i.next=s,RS(r,s)))}function _m(r,i,s){var u=r.pending;if(r.pending=null,u!==null){u=u.next;do i.status="rejected",i.reason=s,AS(i),i=i.next;while(i!==u)}r.action=null}function AS(r){r=r.listeners;for(var i=0;i<r.length;i++)(0,r[i])()}function NS(r,i){return i}function kS(r,i){if(Qe){var s=Et.formState;if(s!==null){e:{var u=je;if(Qe){if(At){t:{for(var h=At,g=Er;h.nodeType!==8;){if(!g){h=null;break t}if(h=Tr(h.nextSibling),h===null){h=null;break t}}g=h.data,h=g==="F!"||g==="F"?h:null}if(h){At=Tr(h.nextSibling),u=h.data==="F!";break e}}ui(u)}u=!1}u&&(i=s[0])}}return s=In(),s.memoizedState=s.baseState=i,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:NS,lastRenderedState:i},s.queue=u,s=XS.bind(null,je,u),u.dispatch=s,u=xm(!1),g=Om.bind(null,je,!1,u.queue),u=In(),h={state:i,dispatch:null,action:r,pending:null},u.queue=h,s=TN.bind(null,je,h,g,s),h.dispatch=s,u.memoizedState=r,[i,s,!1]}function MS(r){var i=Kt();return DS(i,gt,r)}function DS(r,i,s){if(i=bm(r,i,NS)[0],r=Od(Na)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var u=cc(i)}catch(_){throw _===ps?vd:_}else u=i;i=Kt();var h=i.queue,g=h.dispatch;return s!==i.memoizedState&&(je.flags|=2048,vs(9,{destroy:void 0},RN.bind(null,h,s),null)),[u,g,r]}function RN(r,i){r.action=i}function LS(r){var i=Kt(),s=gt;if(s!==null)return DS(i,s,r);Kt(),i=i.memoizedState,s=Kt();var u=s.queue.dispatch;return s.memoizedState=r,[i,u,!1]}function vs(r,i,s,u){return r={tag:r,create:s,deps:u,inst:i,next:null},i=je.updateQueue,i===null&&(i=Rd(),je.updateQueue=i),s=i.lastEffect,s===null?i.lastEffect=r.next=r:(u=s.next,s.next=r,r.next=u,i.lastEffect=r),r}function IS(){return Kt().memoizedState}function Ad(r,i,s,u){var h=In();je.flags|=r,h.memoizedState=vs(1|i,{destroy:void 0},s,u===void 0?null:u)}function Nd(r,i,s,u){var h=Kt();u=u===void 0?null:u;var g=h.memoizedState.inst;gt!==null&&u!==null&&pm(u,gt.memoizedState.deps)?h.memoizedState=vs(i,g,s,u):(je.flags|=r,h.memoizedState=vs(1|i,g,s,u))}function jS(r,i){Ad(8390656,8,r,i)}function Em(r,i){Nd(2048,8,r,i)}function CN(r){je.flags|=4;var i=je.updateQueue;if(i===null)i=Rd(),je.updateQueue=i,i.events=[r];else{var s=i.events;s===null?i.events=[r]:s.push(r)}}function US(r){var i=Kt().memoizedState;return CN({ref:i,nextImpl:r}),function(){if(ot&2)throw Error(a(440));return i.impl.apply(void 0,arguments)}}function zS(r,i){return Nd(4,2,r,i)}function PS(r,i){return Nd(4,4,r,i)}function $S(r,i){if(typeof i=="function"){r=r();var s=i(r);return function(){typeof s=="function"?s():i(null)}}if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function BS(r,i,s){s=s!=null?s.concat([r]):null,Nd(4,4,$S.bind(null,i,r),s)}function wm(){}function HS(r,i){var s=Kt();i=i===void 0?null:i;var u=s.memoizedState;return i!==null&&pm(i,u[1])?u[0]:(s.memoizedState=[r,i],r)}function FS(r,i){var s=Kt();i=i===void 0?null:i;var u=s.memoizedState;if(i!==null&&pm(i,u[1]))return u[0];if(u=r(),po){tr(!0);try{r()}finally{tr(!1)}}return s.memoizedState=[u,i],u}function Tm(r,i,s){return s===void 0||Aa&1073741824&&!(Ke&261930)?r.memoizedState=i:(r.memoizedState=s,r=qx(),je.lanes|=r,bi|=r,s)}function qS(r,i,s,u){return nr(s,i)?s:ms.current!==null?(r=Tm(r,s,u),nr(r,i)||(rn=!0),r):!(Aa&42)||Aa&1073741824&&!(Ke&261930)?(rn=!0,r.memoizedState=s):(r=qx(),je.lanes|=r,bi|=r,i)}function GS(r,i,s,u,h){var g=K.p;K.p=g!==0&&8>g?g:8;var _=P.T,k={};P.T=k,Om(r,!1,i,s);try{var z=h(),W=P.S;if(W!==null&&W(k,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var Z=_N(z,u);uc(r,i,Z,lr(r))}else uc(r,i,u,lr(r))}catch(re){uc(r,i,{then:function(){},status:"rejected",reason:re},lr())}finally{K.p=g,_!==null&&k.types!==null&&(_.types=k.types),P.T=_}}function ON(){}function Rm(r,i,s,u){if(r.tag!==5)throw Error(a(476));var h=WS(r).queue;GS(r,h,i,ie,s===null?ON:function(){return VS(r),s(u)})}function WS(r){var i=r.memoizedState;if(i!==null)return i;i={memoizedState:ie,baseState:ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:ie},next:null};var s={};return i.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:s},next:null},r.memoizedState=i,r=r.alternate,r!==null&&(r.memoizedState=i),i}function VS(r){var i=WS(r);i.next===null&&(i=r.alternate.memoizedState),uc(r,i.next.queue,{},lr())}function Cm(){return En(Cc)}function YS(){return Kt().memoizedState}function KS(){return Kt().memoizedState}function AN(r){for(var i=r.return;i!==null;){switch(i.tag){case 24:case 3:var s=lr();r=pi(s);var u=hi(i,r,s);u!==null&&(Kn(u,i,s),ic(u,i,s)),i={cache:nm()},r.payload=i;return}i=i.return}}function NN(r,i,s){var u=lr();s={lane:u,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},kd(r)?QS(i,s):(s=Gh(r,i,s,u),s!==null&&(Kn(s,r,u),ZS(s,i,u)))}function XS(r,i,s){var u=lr();uc(r,i,s,u)}function uc(r,i,s,u){var h={lane:u,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(kd(r))QS(i,h);else{var g=r.alternate;if(r.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var _=i.lastRenderedState,k=g(_,s);if(h.hasEagerState=!0,h.eagerState=k,nr(k,_))return dd(r,i,h,0),Et===null&&ud(),!1}catch{}finally{}if(s=Gh(r,i,h,u),s!==null)return Kn(s,r,u),ZS(s,i,u),!0}return!1}function Om(r,i,s,u){if(u={lane:2,revertLane:og(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},kd(r)){if(i)throw Error(a(479))}else i=Gh(r,s,u,2),i!==null&&Kn(i,r,2)}function kd(r){var i=r.alternate;return r===je||i!==null&&i===je}function QS(r,i){gs=wd=!0;var s=r.pending;s===null?i.next=i:(i.next=s.next,s.next=i),r.pending=i}function ZS(r,i,s){if(s&4194048){var u=i.lanes;u&=r.pendingLanes,s|=u,i.lanes=s,Wo(r,s)}}var dc={readContext:En,use:Cd,useCallback:Bt,useContext:Bt,useEffect:Bt,useImperativeHandle:Bt,useLayoutEffect:Bt,useInsertionEffect:Bt,useMemo:Bt,useReducer:Bt,useRef:Bt,useState:Bt,useDebugValue:Bt,useDeferredValue:Bt,useTransition:Bt,useSyncExternalStore:Bt,useId:Bt,useHostTransitionStatus:Bt,useFormState:Bt,useActionState:Bt,useOptimistic:Bt,useMemoCache:Bt,useCacheRefresh:Bt};dc.useEffectEvent=Bt;var JS={readContext:En,use:Cd,useCallback:function(r,i){return In().memoizedState=[r,i===void 0?null:i],r},useContext:En,useEffect:jS,useImperativeHandle:function(r,i,s){s=s!=null?s.concat([r]):null,Ad(4194308,4,$S.bind(null,i,r),s)},useLayoutEffect:function(r,i){return Ad(4194308,4,r,i)},useInsertionEffect:function(r,i){Ad(4,2,r,i)},useMemo:function(r,i){var s=In();i=i===void 0?null:i;var u=r();if(po){tr(!0);try{r()}finally{tr(!1)}}return s.memoizedState=[u,i],u},useReducer:function(r,i,s){var u=In();if(s!==void 0){var h=s(i);if(po){tr(!0);try{s(i)}finally{tr(!1)}}}else h=i;return u.memoizedState=u.baseState=h,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:h},u.queue=r,r=r.dispatch=NN.bind(null,je,r),[u.memoizedState,r]},useRef:function(r){var i=In();return r={current:r},i.memoizedState=r},useState:function(r){r=xm(r);var i=r.queue,s=XS.bind(null,je,i);return i.dispatch=s,[r.memoizedState,s]},useDebugValue:wm,useDeferredValue:function(r,i){var s=In();return Tm(s,r,i)},useTransition:function(){var r=xm(!1);return r=GS.bind(null,je,r.queue,!0,!1),In().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,i,s){var u=je,h=In();if(Qe){if(s===void 0)throw Error(a(407));s=s()}else{if(s=i(),Et===null)throw Error(a(349));Ke&127||SS(u,i,s)}h.memoizedState=s;var g={value:s,getSnapshot:i};return h.queue=g,jS(_S.bind(null,u,g,r),[r]),u.flags|=2048,vs(9,{destroy:void 0},xS.bind(null,u,g,s,i),null),s},useId:function(){var r=In(),i=Et.identifierPrefix;if(Qe){var s=ta,u=ea;s=(u&~(1<<32-gn(u)-1)).toString(32)+s,i="_"+i+"R_"+s,s=Td++,0<s&&(i+="H"+s.toString(32)),i+="_"}else s=EN++,i="_"+i+"r_"+s.toString(32)+"_";return r.memoizedState=i},useHostTransitionStatus:Cm,useFormState:kS,useActionState:kS,useOptimistic:function(r){var i=In();i.memoizedState=i.baseState=r;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=s,i=Om.bind(null,je,!0,s),s.dispatch=i,[r,i]},useMemoCache:vm,useCacheRefresh:function(){return In().memoizedState=AN.bind(null,je)},useEffectEvent:function(r){var i=In(),s={impl:r};return i.memoizedState=s,function(){if(ot&2)throw Error(a(440));return s.impl.apply(void 0,arguments)}}},Am={readContext:En,use:Cd,useCallback:HS,useContext:En,useEffect:Em,useImperativeHandle:BS,useInsertionEffect:zS,useLayoutEffect:PS,useMemo:FS,useReducer:Od,useRef:IS,useState:function(){return Od(Na)},useDebugValue:wm,useDeferredValue:function(r,i){var s=Kt();return qS(s,gt.memoizedState,r,i)},useTransition:function(){var r=Od(Na)[0],i=Kt().memoizedState;return[typeof r=="boolean"?r:cc(r),i]},useSyncExternalStore:bS,useId:YS,useHostTransitionStatus:Cm,useFormState:MS,useActionState:MS,useOptimistic:function(r,i){var s=Kt();return TS(s,gt,r,i)},useMemoCache:vm,useCacheRefresh:KS};Am.useEffectEvent=US;var ex={readContext:En,use:Cd,useCallback:HS,useContext:En,useEffect:Em,useImperativeHandle:BS,useInsertionEffect:zS,useLayoutEffect:PS,useMemo:FS,useReducer:Sm,useRef:IS,useState:function(){return Sm(Na)},useDebugValue:wm,useDeferredValue:function(r,i){var s=Kt();return gt===null?Tm(s,r,i):qS(s,gt.memoizedState,r,i)},useTransition:function(){var r=Sm(Na)[0],i=Kt().memoizedState;return[typeof r=="boolean"?r:cc(r),i]},useSyncExternalStore:bS,useId:YS,useHostTransitionStatus:Cm,useFormState:LS,useActionState:LS,useOptimistic:function(r,i){var s=Kt();return gt!==null?TS(s,gt,r,i):(s.baseState=r,[r,s.queue.dispatch])},useMemoCache:vm,useCacheRefresh:KS};ex.useEffectEvent=US;function Nm(r,i,s,u){i=r.memoizedState,s=s(u,i),s=s==null?i:y({},i,s),r.memoizedState=s,r.lanes===0&&(r.updateQueue.baseState=s)}var km={enqueueSetState:function(r,i,s){r=r._reactInternals;var u=lr(),h=pi(u);h.payload=i,s!=null&&(h.callback=s),i=hi(r,h,u),i!==null&&(Kn(i,r,u),ic(i,r,u))},enqueueReplaceState:function(r,i,s){r=r._reactInternals;var u=lr(),h=pi(u);h.tag=1,h.payload=i,s!=null&&(h.callback=s),i=hi(r,h,u),i!==null&&(Kn(i,r,u),ic(i,r,u))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var s=lr(),u=pi(s);u.tag=2,i!=null&&(u.callback=i),i=hi(r,u,s),i!==null&&(Kn(i,r,s),ic(i,r,s))}};function tx(r,i,s,u,h,g,_){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(u,g,_):i.prototype&&i.prototype.isPureReactComponent?!Ql(s,u)||!Ql(h,g):!0}function nx(r,i,s,u){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,u),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,u),i.state!==r&&km.enqueueReplaceState(i,i.state,null)}function ho(r,i){var s=i;if("ref"in i){s={};for(var u in i)u!=="ref"&&(s[u]=i[u])}if(r=r.defaultProps){s===i&&(s=y({},s));for(var h in r)s[h]===void 0&&(s[h]=r[h])}return s}function rx(r){cd(r)}function ax(r){console.error(r)}function ix(r){cd(r)}function Md(r,i){try{var s=r.onUncaughtError;s(i.value,{componentStack:i.stack})}catch(u){setTimeout(function(){throw u})}}function ox(r,i,s){try{var u=r.onCaughtError;u(s.value,{componentStack:s.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function Mm(r,i,s){return s=pi(s),s.tag=3,s.payload={element:null},s.callback=function(){Md(r,i)},s}function sx(r){return r=pi(r),r.tag=3,r}function lx(r,i,s,u){var h=s.type.getDerivedStateFromError;if(typeof h=="function"){var g=u.value;r.payload=function(){return h(g)},r.callback=function(){ox(i,s,u)}}var _=s.stateNode;_!==null&&typeof _.componentDidCatch=="function"&&(r.callback=function(){ox(i,s,u),typeof h!="function"&&(Si===null?Si=new Set([this]):Si.add(this));var k=u.stack;this.componentDidCatch(u.value,{componentStack:k!==null?k:""})})}function kN(r,i,s,u,h){if(s.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(i=s.alternate,i!==null&&us(i,s,h,!0),s=ar.current,s!==null){switch(s.tag){case 31:case 13:return wr===null?qd():s.alternate===null&&Ht===0&&(Ht=3),s.flags&=-257,s.flags|=65536,s.lanes=h,u===bd?s.flags|=16384:(i=s.updateQueue,i===null?s.updateQueue=new Set([u]):i.add(u),rg(r,u,h)),!1;case 22:return s.flags|=65536,u===bd?s.flags|=16384:(i=s.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([u])},s.updateQueue=i):(s=i.retryQueue,s===null?i.retryQueue=new Set([u]):s.add(u)),rg(r,u,h)),!1}throw Error(a(435,s.tag))}return rg(r,u,h),qd(),!1}if(Qe)return i=ar.current,i!==null?(!(i.flags&65536)&&(i.flags|=256),i.flags|=65536,i.lanes=h,u!==Qh&&(r=Error(a(422),{cause:u}),ec(Sr(r,s)))):(u!==Qh&&(i=Error(a(423),{cause:u}),ec(Sr(i,s))),r=r.current.alternate,r.flags|=65536,h&=-h,r.lanes|=h,u=Sr(u,s),h=Mm(r.stateNode,u,h),lm(r,h),Ht!==4&&(Ht=2)),!1;var g=Error(a(520),{cause:u});if(g=Sr(g,s),bc===null?bc=[g]:bc.push(g),Ht!==4&&(Ht=2),i===null)return!0;u=Sr(u,s),s=i;do{switch(s.tag){case 3:return s.flags|=65536,r=h&-h,s.lanes|=r,r=Mm(s.stateNode,u,r),lm(s,r),!1;case 1:if(i=s.type,g=s.stateNode,(s.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Si===null||!Si.has(g))))return s.flags|=65536,h&=-h,s.lanes|=h,h=sx(h),lx(h,r,s,u),lm(s,h),!1}s=s.return}while(s!==null);return!1}var Dm=Error(a(461)),rn=!1;function wn(r,i,s,u){i.child=r===null?fS(i,null,s,u):fo(i,r.child,s,u)}function cx(r,i,s,u,h){s=s.render;var g=i.ref;if("ref"in u){var _={};for(var k in u)k!=="ref"&&(_[k]=u[k])}else _=u;return so(i),u=hm(r,i,s,_,g,h),k=mm(),r!==null&&!rn?(gm(r,i,h),ka(r,i,h)):(Qe&&k&&Kh(i),i.flags|=1,wn(r,i,u,h),i.child)}function ux(r,i,s,u,h){if(r===null){var g=s.type;return typeof g=="function"&&!Wh(g)&&g.defaultProps===void 0&&s.compare===null?(i.tag=15,i.type=g,dx(r,i,g,u,h)):(r=pd(s.type,null,u,i,i.mode,h),r.ref=i.ref,r.return=i,i.child=r)}if(g=r.child,!Bm(r,h)){var _=g.memoizedProps;if(s=s.compare,s=s!==null?s:Ql,s(_,u)&&r.ref===i.ref)return ka(r,i,h)}return i.flags|=1,r=Ta(g,u),r.ref=i.ref,r.return=i,i.child=r}function dx(r,i,s,u,h){if(r!==null){var g=r.memoizedProps;if(Ql(g,u)&&r.ref===i.ref)if(rn=!1,i.pendingProps=u=g,Bm(r,h))r.flags&131072&&(rn=!0);else return i.lanes=r.lanes,ka(r,i,h)}return Lm(r,i,s,u,h)}function fx(r,i,s,u){var h=u.children,g=r!==null?r.memoizedState:null;if(r===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if(i.flags&128){if(g=g!==null?g.baseLanes|s:s,r!==null){for(u=i.child=r.child,h=0;u!==null;)h=h|u.lanes|u.childLanes,u=u.sibling;u=h&~g}else u=0,i.child=null;
vendor: 7,949 bytes, line 48
48return px(r,i,g,s,u)}if(s&536870912)i.memoizedState={baseLanes:0,cachePool:null},r!==null&&yd(i,g!==null?g.cachePool:null),g!==null?mS(i,g):um(),gS(i);else return u=i.lanes=536870912,px(r,i,g!==null?g.baseLanes|s:s,s,u)}else g!==null?(yd(i,g.cachePool),mS(i,g),gi(),i.memoizedState=null):(r!==null&&yd(i,null),um(),gi());return wn(r,i,h,s),i.child}function fc(r,i){return r!==null&&r.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function px(r,i,s,u,h){var g=am();return g=g===null?null:{parent:tn._currentValue,pool:g},i.memoizedState={baseLanes:s,cachePool:g},r!==null&&yd(i,null),um(),gS(i),r!==null&&us(r,i,u,!0),i.childLanes=h,null}function Dd(r,i){return i=Id({mode:i.mode,children:i.children},r.mode),i.ref=r.ref,r.child=i,i.return=r,i}function hx(r,i,s){return fo(i,r.child,null,s),r=Dd(i,i.pendingProps),r.flags|=2,ir(i),i.memoizedState=null,r}function MN(r,i,s){var u=i.pendingProps,h=(i.flags&128)!==0;if(i.flags&=-129,r===null){if(Qe){if(u.mode==="hidden")return r=Dd(i,u),i.lanes=536870912,fc(null,r);if(fm(i),(r=At)?(r=R_(r,Er),r=r!==null&&r.data==="&"?r:null,r!==null&&(i.memoizedState={dehydrated:r,treeContext:li!==null?{id:ea,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},s=Q0(r),s.return=i,i.child=s,_n=i,At=null)):r=null,r===null)throw ui(i);return i.lanes=536870912,null}return Dd(i,u)}var g=r.memoizedState;if(g!==null){var _=g.dehydrated;if(fm(i),h)if(i.flags&256)i.flags&=-257,i=hx(r,i,s);else if(i.memoizedState!==null)i.child=r.child,i.flags|=128,i=null;else throw Error(a(558));else if(rn||us(r,i,s,!1),h=(s&r.childLanes)!==0,rn||h){if(u=Et,u!==null&&(_=Fn(u,s),_!==0&&_!==g.retryLane))throw g.retryLane=_,ro(r,_),Kn(u,r,_),Dm;qd(),i=hx(r,i,s)}else r=g.treeContext,At=Tr(_.nextSibling),_n=i,Qe=!0,ci=null,Er=!1,r!==null&&eS(i,r),i=Dd(i,u),i.flags|=4096;return i}return r=Ta(r.child,{mode:u.mode,children:u.children}),r.ref=i.ref,i.child=r,r.return=i,r}function Ld(r,i){var s=i.ref;if(s===null)r!==null&&r.ref!==null&&(i.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(a(284));(r===null||r.ref!==s)&&(i.flags|=4194816)}}function Lm(r,i,s,u,h){return so(i),s=hm(r,i,s,u,void 0,h),u=mm(),r!==null&&!rn?(gm(r,i,h),ka(r,i,h)):(Qe&&u&&Kh(i),i.flags|=1,wn(r,i,s,h),i.child)}function mx(r,i,s,u,h,g){return so(i),i.updateQueue=null,s=vS(i,u,s,h),yS(r),u=mm(),r!==null&&!rn?(gm(r,i,g),ka(r,i,g)):(Qe&&u&&Kh(i),i.flags|=1,wn(r,i,s,g),i.child)}function gx(r,i,s,u,h){if(so(i),i.stateNode===null){var g=os,_=s.contextType;typeof _=="object"&&_!==null&&(g=En(_)),g=new s(u,g),i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=km,i.stateNode=g,g._reactInternals=i,g=i.stateNode,g.props=u,g.state=i.memoizedState,g.refs={},om(i),_=s.contextType,g.context=typeof _=="object"&&_!==null?En(_):os,g.state=i.memoizedState,_=s.getDerivedStateFromProps,typeof _=="function"&&(Nm(i,s,_,u),g.state=i.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(_=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),_!==g.state&&km.enqueueReplaceState(g,g.state,null),sc(i,u,g,h),oc(),g.state=i.memoizedState),typeof g.componentDidMount=="function"&&(i.flags|=4194308),u=!0}else if(r===null){g=i.stateNode;var k=i.memoizedProps,z=ho(s,k);g.props=z;var W=g.context,Z=s.contextType;_=os,typeof Z=="object"&&Z!==null&&(_=En(Z));var re=s.getDerivedStateFromProps;Z=typeof re=="function"||typeof g.getSnapshotBeforeUpdate=="function",k=i.pendingProps!==k,Z||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(k||W!==_)&&nx(i,g,u,_),fi=!1;var V=i.memoizedState;g.state=V,sc(i,u,g,h),oc(),W=i.memoizedState,k||V!==W||fi?(typeof re=="function"&&(Nm(i,s,re,u),W=i.memoizedState),(z=fi||tx(i,s,z,u,V,W,_))?(Z||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(i.flags|=4194308)):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=u,i.memoizedState=W),g.props=u,g.state=W,g.context=_,u=z):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),u=!1)}else{g=i.stateNode,sm(r,i),_=i.memoizedProps,Z=ho(s,_),g.props=Z,re=i.pendingProps,V=g.context,W=s.contextType,z=os,typeof W=="object"&&W!==null&&(z=En(W)),k=s.getDerivedStateFromProps,(W=typeof k=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(_!==re||V!==z)&&nx(i,g,u,z),fi=!1,V=i.memoizedState,g.state=V,sc(i,u,g,h),oc();var Q=i.memoizedState;_!==re||V!==Q||fi||r!==null&&r.dependencies!==null&&md(r.dependencies)?(typeof k=="function"&&(Nm(i,s,k,u),Q=i.memoizedState),(Z=fi||tx(i,s,Z,u,V,Q,z)||r!==null&&r.dependencies!==null&&md(r.dependencies))?(W||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,Q,z),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,Q,z)),typeof g.componentDidUpdate=="function"&&(i.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof g.componentDidUpdate!="function"||_===r.memoizedProps&&V===r.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||_===r.memoizedProps&&V===r.memoizedState||(i.flags|=1024),i.memoizedProps=u,i.memoizedState=Q),g.props=u,g.state=Q,g.context=z,u=Z):(typeof g.componentDidUpdate!="function"||_===r.memoizedProps&&V===r.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||_===r.memoizedProps&&V===r.memoizedState||(i.flags|=1024),u=!1)}return g=u,Ld(r,i),u=(i.flags&128)!==0,g||u?(g=i.stateNode,s=u&&typeof s.getDerivedStateFromError!="function"?null:g.render(),i.flags|=1,r!==null&&u?(i.child=fo(i,r.child,null,h),i.child=fo(i,null,s,h)):wn(r,i,s,h),i.memoizedState=g.state,r=i.child):r=ka(r,i,h),r}function yx(r,i,s,u){return io(),i.flags|=256,wn(r,i,s,u),i.child}var Im={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function jm(r){return{baseLanes:r,cachePool:oS()}}function Um(r,i,s){return r=r!==null?r.childLanes&~s:0,i&&(r|=sr),r}function vx(r,i,s){var u=i.pendingProps,h=!1,g=(i.flags&128)!==0,_;if((_=g)||(_=r!==null&&r.memoizedState===null?!1:(Yt.current&2)!==0),_&&(h=!0,i.flags&=-129),_=(i.flags&32)!==0,i.flags&=-33,r===null){if(Qe){if(h?mi(i):gi(),(r=At)?(r=R_(r,Er),r=r!==null&&r.data!=="&"?r:null,r!==null&&(i.memoizedState={dehydrated:r,treeContext:li!==null?{id:ea,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},s=Q0(r),s.return=i,i.child=s,_n=i,At=null)):r=null,r===null)throw ui(i);return bg(r)?i.lanes=32:i.lanes=536870912,null}var k=u.children;return u=u.fallback,h?(gi(),h=i.mode,k=Id({mode:"hidden",children:k},h),u=ao(u,h,s,null),k.return=i,u.return=i,k.sibling=u,i.child=k,u=i.child,u.memoizedState=jm(s),u.childLanes=Um(r,_,s),i.memoizedState=Im,fc(null,u)):(mi(i),zm(i,k))}var z=r.memoizedState;if(z!==null&&(k=z.dehydrated,k!==null)){if(g)i.flags&256?(mi(i),i.flags&=-257,i=Pm(r,i,s)):i.memoizedState!==null?(gi(),i.child=r.child,i.flags|=128,i=null):(gi(),k=u.fallback,h=i.mode,u=Id({mode:"visible",children:u.children},h),k=ao(k,h,s,null),k.flags|=2,u.return=i,k.return=i,u.sibling=k,i.child=u,fo(i,r.child,null,s),u=i.child,u.memoizedState=jm(s),u.childLanes=Um(r,_,s),i.memoizedState=Im,i=fc(null,u));else if(mi(i),bg(k)){if(_=k.nextSibling&&k.nextSibling.dataset,_)var W=_.dgst;_=W,u=Error(a(419)),u.stack="",u.digest=_,ec({value:u,source:null,stack:null}),i=Pm(r,i,s)}
vendor: 3,887 bytes, line 48
48else if(rn||us(r,i,s,!1),_=(s&r.childLanes)!==0,rn||_){if(_=Et,_!==null&&(u=Fn(_,s),u!==0&&u!==z.retryLane))throw z.retryLane=u,ro(r,u),Kn(_,r,u),Dm;vg(k)||qd(),i=Pm(r,i,s)}else vg(k)?(i.flags|=192,i.child=r.child,i=null):(r=z.treeContext,At=Tr(k.nextSibling),_n=i,Qe=!0,ci=null,Er=!1,r!==null&&eS(i,r),i=zm(i,u.children),i.flags|=4096);return i}return h?(gi(),k=u.fallback,h=i.mode,z=r.child,W=z.sibling,u=Ta(z,{mode:"hidden",children:u.children}),u.subtreeFlags=z.subtreeFlags&65011712,W!==null?k=Ta(W,k):(k=ao(k,h,s,null),k.flags|=2),k.return=i,u.return=i,u.sibling=k,i.child=u,fc(null,u),u=i.child,k=r.child.memoizedState,k===null?k=jm(s):(h=k.cachePool,h!==null?(z=tn._currentValue,h=h.parent!==z?{parent:z,pool:z}:h):h=oS(),k={baseLanes:k.baseLanes|s,cachePool:h}),u.memoizedState=k,u.childLanes=Um(r,_,s),i.memoizedState=Im,fc(r.child,u)):(mi(i),s=r.child,r=s.sibling,s=Ta(s,{mode:"visible",children:u.children}),s.return=i,s.sibling=null,r!==null&&(_=i.deletions,_===null?(i.deletions=[r],i.flags|=16):_.push(r)),i.child=s,i.memoizedState=null,s)}function zm(r,i){return i=Id({mode:"visible",children:i},r.mode),i.return=r,r.child=i}function Id(r,i){return r=rr(22,r,null,i),r.lanes=0,r}function Pm(r,i,s){return fo(i,r.child,null,s),r=zm(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function bx(r,i,s){r.lanes|=i;var u=r.alternate;u!==null&&(u.lanes|=i),em(r.return,i,s)}function $m(r,i,s,u,h,g){var _=r.memoizedState;_===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:h,treeForkCount:g}:(_.isBackwards=i,_.rendering=null,_.renderingStartTime=0,_.last=u,_.tail=s,_.tailMode=h,_.treeForkCount=g)}function Sx(r,i,s){var u=i.pendingProps,h=u.revealOrder,g=u.tail;u=u.children;var _=Yt.current,k=(_&2)!==0;if(k?(_=_&1|2,i.flags|=128):_&=1,le(Yt,_),wn(r,i,u,s),u=Qe?Jl:0,!k&&r!==null&&r.flags&128)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&bx(r,s,i);else if(r.tag===19)bx(r,s,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}switch(h){case"forwards":for(s=i.child,h=null;s!==null;)r=s.alternate,r!==null&&Ed(r)===null&&(h=s),s=s.sibling;s=h,s===null?(h=i.child,i.child=null):(h=s.sibling,s.sibling=null),$m(i,!1,h,s,g,u);break;case"backwards":case"unstable_legacy-backwards":for(s=null,h=i.child,i.child=null;h!==null;){if(r=h.alternate,r!==null&&Ed(r)===null){i.child=h;break}r=h.sibling,h.sibling=s,s=h,h=r}$m(i,!0,s,null,g,u);break;case"together":$m(i,!1,null,null,void 0,u);break;default:i.memoizedState=null}return i.child}function ka(r,i,s){if(r!==null&&(i.dependencies=r.dependencies),bi|=i.lanes,!(s&i.childLanes))if(r!==null){if(us(r,i,s,!1),(s&i.childLanes)===0)return null}else return null;if(r!==null&&i.child!==r.child)throw Error(a(153));if(i.child!==null){for(r=i.child,s=Ta(r,r.pendingProps),i.child=s,s.return=i;r.sibling!==null;)r=r.sibling,s=s.sibling=Ta(r,r.pendingProps),s.return=i;s.sibling=null}return i.child}function Bm(r,i){return r.lanes&i?!0:(r=r.dependencies,!!(r!==null&&md(r)))}function DN(r,i,s){switch(i.tag){case 3:fe(i,i.stateNode.containerInfo),di(i,tn,r.memoizedState.cache),io();break;case 27:case 5:ut(i);break;case 4:fe(i,i.stateNode.containerInfo);break;case 10:di(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,fm(i),null;break;case 13:var u=i.memoizedState;if(u!==null)return u.dehydrated!==null?(mi(i),i.flags|=128,null):s&i.child.childLanes?vx(r,i,s):(mi(i),r=ka(r,i,s),r!==null?r.sibling:null);mi(i);break;case 19:var h=(r.flags&128)!==0;if(u=(s&i.childLanes)!==0,u||(us(r,i,s,!1),u=(s&i.childLanes)!==0),h){if(u)return Sx(r,i,s);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),le(Yt,Yt.current),u)break;return null;
vendor: 5,281 bytes, line 48
48case 22:return i.lanes=0,fx(r,i,s,i.pendingProps);case 24:di(i,tn,r.memoizedState.cache)}return ka(r,i,s)}function xx(r,i,s){if(r!==null)if(r.memoizedProps!==i.pendingProps)rn=!0;else{if(!Bm(r,s)&&!(i.flags&128))return rn=!1,DN(r,i,s);rn=!!(r.flags&131072)}else rn=!1,Qe&&i.flags&1048576&&J0(i,Jl,i.index);switch(i.lanes=0,i.tag){case 16:e:{var u=i.pendingProps;if(r=co(i.elementType),i.type=r,typeof r=="function")Wh(r)?(u=ho(r,u),i.tag=1,i=gx(null,i,r,u,s)):(i.tag=0,i=Lm(null,i,r,u,s));else{if(r!=null){var h=r.$$typeof;if(h===L){i.tag=11,i=cx(null,i,r,u,s);break e}else if(h===w){i.tag=14,i=ux(null,i,r,u,s);break e}}throw i=ae(r)||r,Error(a(306,i,""))}}return i;case 0:return Lm(r,i,i.type,i.pendingProps,s);case 1:return u=i.type,h=ho(u,i.pendingProps),gx(r,i,u,h,s);case 3:e:{if(fe(i,i.stateNode.containerInfo),r===null)throw Error(a(387));u=i.pendingProps;var g=i.memoizedState;h=g.element,sm(r,i),sc(i,u,null,s);var _=i.memoizedState;if(u=_.cache,di(i,tn,u),u!==g.cache&&tm(i,[tn],s,!0),oc(),u=_.element,g.isDehydrated)if(g={element:u,isDehydrated:!1,cache:_.cache},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){i=yx(r,i,u,s);break e}else if(u!==h){h=Sr(Error(a(424)),i),ec(h),i=yx(r,i,u,s);break e}else{switch(r=i.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(At=Tr(r.firstChild),_n=i,Qe=!0,ci=null,Er=!0,s=fS(i,null,u,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(io(),u===h){i=ka(r,i,s);break e}wn(r,i,u,s)}i=i.child}return i;case 26:return Ld(r,i),r===null?(s=M_(i.type,null,i.pendingProps,null))?i.memoizedState=s:Qe||(s=i.type,r=i.pendingProps,u=Qd(ue.current).createElement(s),u[en]=i,u[Sn]=r,Tn(u,s,r),yn(u),i.stateNode=u):i.memoizedState=M_(i.type,r.memoizedProps,i.pendingProps,r.memoizedState),null;case 27:return ut(i),r===null&&Qe&&(u=i.stateNode=A_(i.type,i.pendingProps,ue.current),_n=i,Er=!0,h=At,wi(i.type)?(Sg=h,At=Tr(u.firstChild)):At=h),wn(r,i,i.pendingProps.children,s),Ld(r,i),r===null&&(i.flags|=4194304),i.child;case 5:return r===null&&Qe&&((h=u=At)&&(u=ck(u,i.type,i.pendingProps,Er),u!==null?(i.stateNode=u,_n=i,At=Tr(u.firstChild),Er=!1,h=!0):h=!1),h||ui(i)),ut(i),h=i.type,g=i.pendingProps,_=r!==null?r.memoizedProps:null,u=g.children,mg(h,g)?u=null:_!==null&&mg(h,_)&&(i.flags|=32),i.memoizedState!==null&&(h=hm(r,i,wN,null,null,s),Cc._currentValue=h),Ld(r,i),wn(r,i,u,s),i.child;case 6:return r===null&&Qe&&((r=s=At)&&(s=uk(s,i.pendingProps,Er),s!==null?(i.stateNode=s,_n=i,At=null,r=!0):r=!1),r||ui(i)),null;case 13:return vx(r,i,s);case 4:return fe(i,i.stateNode.containerInfo),u=i.pendingProps,r===null?i.child=fo(i,null,u,s):wn(r,i,u,s),i.child;case 11:return cx(r,i,i.type,i.pendingProps,s);case 7:return wn(r,i,i.pendingProps,s),i.child;case 8:return wn(r,i,i.pendingProps.children,s),i.child;case 12:return wn(r,i,i.pendingProps.children,s),i.child;case 10:return u=i.pendingProps,di(i,i.type,u.value),wn(r,i,u.children,s),i.child;case 9:return h=i.type._context,u=i.pendingProps.children,so(i),h=En(h),u=u(h),i.flags|=1,wn(r,i,u,s),i.child;case 14:return ux(r,i,i.type,i.pendingProps,s);case 15:return dx(r,i,i.type,i.pendingProps,s);case 19:return Sx(r,i,s);case 31:return MN(r,i,s);case 22:return fx(r,i,s,i.pendingProps);case 24:return so(i),u=En(tn),r===null?(h=am(),h===null&&(h=Et,g=nm(),h.pooledCache=g,g.refCount++,g!==null&&(h.pooledCacheLanes|=s),h=g),i.memoizedState={parent:u,cache:h},om(i),di(i,tn,h)):(r.lanes&s&&(sm(r,i),sc(i,null,null,s),oc()),h=r.memoizedState,g=i.memoizedState,h.parent!==u?(h={parent:u,cache:u},i.memoizedState=h,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=h),di(i,tn,u)):(u=g.cache,di(i,tn,u),u!==h.cache&&tm(i,[tn],s,!0))),wn(r,i,i.pendingProps.children,s),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function Ma(r){r.flags|=4}function Hm(r,i,s,u,h){if((i=(r.mode&32)!==0)&&(i=!1),i){if(r.flags|=16777216,(h&335544128)===h)if(r.stateNode.complete)r.flags|=8192;else if(Yx())r.flags|=8192;else throw uo=bd,im}else r.flags&=-16777217}function _x(r,i){if(i.type!=="stylesheet"||i.state.loading&4)r.flags&=-16777217;else if(r.flags|=16777216,!U_(i))if(Yx())r.flags|=8192;else throw uo=bd,im}function jd(r,i){i!==null&&(r.flags|=4),r.flags&16384&&(i=r.tag!==22?Qu():536870912,r.lanes|=i,_s|=i)}function pc(r,i){if(!Qe)switch(r.tailMode){case"hidden":i=r.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?r.tail=null:s.sibling=null;break;case"collapsed":s=r.tail;for(var u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:u.sibling=null}}function Nt(r){var i=r.alternate!==null&&r.alternate.child===r.child,s=0,u=0;if(i)for(var h=r.child;h!==null;)s|=h.lanes|h.childLanes,u|=h.subtreeFlags&65011712,u|=h.flags&65011712,h.return=r,h=h.sibling;else for(h=r.child;h!==null;)s|=h.lanes|h.childLanes,u|=h.subtreeFlags,u|=h.flags,h.return=r,h=h.sibling;return r.subtreeFlags|=u,r.childLanes=s,i}function LN(r,i,s){var u=i.pendingProps;switch(Xh(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nt(i),null;case 1:return Nt(i),null;case 3:return s=i.stateNode,u=null,r!==null&&(u=r.memoizedState.cache),i.memoizedState.cache!==u&&(i.flags|=2048),Oa(tn),ge(),s.pe
vendor: 5,799 bytes, line 48
48ndingContext&&(s.context=s.pendingContext,s.pendingContext=null),(r===null||r.child===null)&&(cs(i)?Ma(i):r===null||r.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,Zh())),Nt(i),null;case 26:var h=i.type,g=i.memoizedState;return r===null?(Ma(i),g!==null?(Nt(i),_x(i,g)):(Nt(i),Hm(i,h,null,u,s))):g?g!==r.memoizedState?(Ma(i),Nt(i),_x(i,g)):(Nt(i),i.flags&=-16777217):(r=r.memoizedProps,r!==u&&Ma(i),Nt(i),Hm(i,h,r,u,s)),null;case 27:if(Oe(i),s=ue.current,h=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==u&&Ma(i);else{if(!u){if(i.stateNode===null)throw Error(a(166));return Nt(i),null}r=oe.current,cs(i)?tS(i):(r=A_(h,u,s),i.stateNode=r,Ma(i))}return Nt(i),null;case 5:if(Oe(i),h=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==u&&Ma(i);else{if(!u){if(i.stateNode===null)throw Error(a(166));return Nt(i),null}if(g=oe.current,cs(i))tS(i);else{var _=Qd(ue.current);switch(g){case 1:g=_.createElementNS("http://www.w3.org/2000/svg",h);break;case 2:g=_.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;default:switch(h){case"svg":g=_.createElementNS("http://www.w3.org/2000/svg",h);break;case"math":g=_.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;case"script":g=_.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof u.is=="string"?_.createElement("select",{is:u.is}):_.createElement("select"),u.multiple?g.multiple=!0:u.size&&(g.size=u.size);break;default:g=typeof u.is=="string"?_.createElement(h,{is:u.is}):_.createElement(h)}}g[en]=i,g[Sn]=u;e:for(_=i.child;_!==null;){if(_.tag===5||_.tag===6)g.appendChild(_.stateNode);else if(_.tag!==4&&_.tag!==27&&_.child!==null){_.child.return=_,_=_.child;continue}if(_===i)break e;for(;_.sibling===null;){if(_.return===null||_.return===i)break e;_=_.return}_.sibling.return=_.return,_=_.sibling}i.stateNode=g;e:switch(Tn(g,h,u),h){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&Ma(i)}}return Nt(i),Hm(i,i.type,r===null?null:r.memoizedProps,i.pendingProps,s),null;case 6:if(r&&i.stateNode!=null)r.memoizedProps!==u&&Ma(i);else{if(typeof u!="string"&&i.stateNode===null)throw Error(a(166));if(r=ue.current,cs(i)){if(r=i.stateNode,s=i.memoizedProps,u=null,h=_n,h!==null)switch(h.tag){case 27:case 5:u=h.memoizedProps}r[en]=i,r=!!(r.nodeValue===s||u!==null&&u.suppressHydrationWarning===!0||v_(r.nodeValue,s)),r||ui(i,!0)}else r=Qd(r).createTextNode(u),r[en]=i,i.stateNode=r}return Nt(i),null;case 31:if(s=i.memoizedState,r===null||r.memoizedState!==null){if(u=cs(i),s!==null){if(r===null){if(!u)throw Error(a(318));if(r=i.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(557));r[en]=i}else io(),!(i.flags&128)&&(i.memoizedState=null),i.flags|=4;Nt(i),r=!1}else s=Zh(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=s),r=!0;if(!r)return i.flags&256?(ir(i),i):(ir(i),null);if(i.flags&128)throw Error(a(558))}return Nt(i),null;case 13:if(u=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(h=cs(i),u!==null&&u.dehydrated!==null){if(r===null){if(!h)throw Error(a(318));if(h=i.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(a(317));h[en]=i}else io(),!(i.flags&128)&&(i.memoizedState=null),i.flags|=4;Nt(i),h=!1}else h=Zh(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=h),h=!0;if(!h)return i.flags&256?(ir(i),i):(ir(i),null)}return ir(i),i.flags&128?(i.lanes=s,i):(s=u!==null,r=r!==null&&r.memoizedState!==null,s&&(u=i.child,h=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(h=u.alternate.memoizedState.cachePool.pool),g=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(g=u.memoizedState.cachePool.pool),g!==h&&(u.flags|=2048)),s!==r&&s&&(i.child.flags|=8192),jd(i,i.updateQueue),Nt(i),null);case 4:return ge(),r===null&&ug(i.stateNode.containerInfo),Nt(i),null;case 10:return Oa(i.type),Nt(i),null;case 19:if(X(Yt),u=i.memoizedState,u===null)return Nt(i),null;if(h=(i.flags&128)!==0,g=u.rendering,g===null)if(h)pc(u,!1);else{if(Ht!==0||r!==null&&r.flags&128)for(r=i.child;r!==null;){if(g=Ed(r),g!==null){for(i.flags|=128,pc(u,!1),r=g.updateQueue,i.updateQueue=r,jd(i,r),i.subtreeFlags=0,r=s,s=i.child;s!==null;)X0(s,r),s=s.sibling;return le(Yt,Yt.current&1|2),Qe&&Ra(i,u.treeForkCount),i.child}r=r.sibling}u.tail!==null&&Ye()>Bd&&(i.flags|=128,h=!0,pc(u,!1),i.lanes=4194304)}else{if(!h)if(r=Ed(g),r!==null){if(i.flags|=128,h=!0,r=r.updateQueue,i.updateQueue=r,jd(i,r),pc(u,!0),u.tail===null&&u.tailMode==="hidden"&&!g.alternate&&!Qe)return Nt(i),null}else 2*Ye()-u.renderingStartTime>Bd&&s!==536870912&&(i.flags|=128,h=!0,pc(u,!1),i.lanes=4194304);u.isBackwards?(g.sibling=i.child,i.child=g):(r=u.last,r!==null?r.sibling=g:i.child=g,u.last=g)}return u.tail!==null?(r=u.tail,u.rendering=r,u.tail=r.sibling,u.renderingStartTime=Ye(),r.sibling=null,s=Yt.current,le(Yt,h?s&1|2:s&1),Qe&&Ra(i,u.treeForkCount),r):(Nt(i),null);case 22:case 23:return ir(i),dm(),u=i.memoizedState!==null,r!==null?r.memoizedState!==null!==u&&(i.flags|=8192):u&&(i.flags|=8192),u?s&536870912&&!(i.flags&128)&&(Nt(i),i.subtreeFlags&6&&(i.flags|=8192)):Nt(i),s=i.updateQueue,s!==null&&jd(i,s.retryQueue),s=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),u=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),u!==s&&(i.flags|=2048),r!==null&&X(lo),null;case 24:return s=null,r!==null&&(s=r.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),Oa(tn),Nt(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function IN(r,i){switch(Xh(i),i.tag){case 1:return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;
vendor: 22,717 bytes, line 48
48case 3:return Oa(tn),ge(),r=i.flags,r&65536&&!(r&128)?(i.flags=r&-65537|128,i):null;case 26:case 27:case 5:return Oe(i),null;case 31:if(i.memoizedState!==null){if(ir(i),i.alternate===null)throw Error(a(340));io()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 13:if(ir(i),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(a(340));io()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return X(Yt),null;case 4:return ge(),null;case 10:return Oa(i.type),null;case 22:case 23:return ir(i),dm(),r!==null&&X(lo),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 24:return Oa(tn),null;case 25:return null;default:return null}}function Ex(r,i){switch(Xh(i),i.tag){case 3:Oa(tn),ge();break;case 26:case 27:case 5:Oe(i);break;case 4:ge();break;case 31:i.memoizedState!==null&&ir(i);break;case 13:ir(i);break;case 19:X(Yt);break;case 10:Oa(i.type);break;case 22:case 23:ir(i),dm(),r!==null&&X(lo);break;case 24:Oa(tn)}}function hc(r,i){try{var s=i.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var h=u.next;s=h;do{if((s.tag&r)===r){u=void 0;var g=s.create,_=s.inst;u=g(),_.destroy=u}s=s.next}while(s!==h)}}catch(k){ht(i,i.return,k)}}function yi(r,i,s){try{var u=i.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var g=h.next;u=g;do{if((u.tag&r)===r){var _=u.inst,k=_.destroy;if(k!==void 0){_.destroy=void 0,h=i;var z=s,W=k;try{W()}catch(Z){ht(h,z,Z)}}}u=u.next}while(u!==g)}}catch(Z){ht(i,i.return,Z)}}function wx(r){var i=r.updateQueue;if(i!==null){var s=r.stateNode;try{hS(i,s)}catch(u){ht(r,r.return,u)}}}function Tx(r,i,s){s.props=ho(r.type,r.memoizedProps),s.state=r.memoizedState;try{s.componentWillUnmount()}catch(u){ht(r,i,u)}}function mc(r,i){try{var s=r.ref;if(s!==null){switch(r.tag){case 26:case 27:case 5:var u=r.stateNode;break;case 30:u=r.stateNode;break;default:u=r.stateNode}typeof s=="function"?r.refCleanup=s(u):s.current=u}}catch(h){ht(r,i,h)}}function na(r,i){var s=r.ref,u=r.refCleanup;if(s!==null)if(typeof u=="function")try{u()}catch(h){ht(r,i,h)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(h){ht(r,i,h)}else s.current=null}function Rx(r){var i=r.type,s=r.memoizedProps,u=r.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":s.autoFocus&&u.focus();break e;case"img":s.src?u.src=s.src:s.srcSet&&(u.srcset=s.srcSet)}}catch(h){ht(r,r.return,h)}}function Fm(r,i,s){try{var u=r.stateNode;rk(u,r.type,s,i),u[Sn]=i}catch(h){ht(r,r.return,h)}}function Cx(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&wi(r.type)||r.tag===4}function qm(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Cx(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&wi(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Gm(r,i,s){var u=r.tag;if(u===5||u===6)r=r.stateNode,i?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(r,i):(i=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,i.appendChild(r),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=Ea));else if(u!==4&&(u===27&&wi(r.type)&&(s=r.stateNode,i=null),r=r.child,r!==null))for(Gm(r,i,s),r=r.sibling;r!==null;)Gm(r,i,s),r=r.sibling}function Ud(r,i,s){var u=r.tag;if(u===5||u===6)r=r.stateNode,i?s.insertBefore(r,i):s.appendChild(r);else if(u!==4&&(u===27&&wi(r.type)&&(s=r.stateNode),r=r.child,r!==null))for(Ud(r,i,s),r=r.sibling;r!==null;)Ud(r,i,s),r=r.sibling}function Ox(r){var i=r.stateNode,s=r.memoizedProps;try{for(var u=r.type,h=i.attributes;h.length;)i.removeAttributeNode(h[0]);Tn(i,u,s),i[en]=r,i[Sn]=s}catch(g){ht(r,r.return,g)}}var Da=!1,an=!1,Wm=!1,Ax=typeof WeakSet=="function"?WeakSet:Set,vn=null;function jN(r,i){if(r=r.containerInfo,pg=af,r=B0(r),Ph(r)){if("selectionStart"in r)var s={start:r.selectionStart,end:r.selectionEnd};else e:{s=(s=r.ownerDocument)&&s.defaultView||window;var u=s.getSelection&&s.getSelection();if(u&&u.rangeCount!==0){s=u.anchorNode;var h=u.anchorOffset,g=u.focusNode;u=u.focusOffset;try{s.nodeType,g.nodeType}catch{s=null;break e}var _=0,k=-1,z=-1,W=0,Z=0,re=r,V=null;t:for(;;){for(var Q;re!==s||h!==0&&re.nodeType!==3||(k=_+h),re!==g||u!==0&&re.nodeType!==3||(z=_+u),re.nodeType===3&&(_+=re.nodeValue.length),(Q=re.firstChild)!==null;)V=re,re=Q;for(;;){if(re===r)break t;if(V===s&&++W===h&&(k=_),V===g&&++Z===u&&(z=_),(Q=re.nextSibling)!==null)break;re=V,V=re.parentNode}re=Q}s=k===-1||z===-1?null:{start:k,end:z}}else s=null}s=s||{start:0,end:0}}else s=null;for(hg={focusedElem:r,selectionRange:s},af=!1,vn=i;vn!==null;)if(i=vn,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,vn=r;else for(;vn!==null;){switch(i=vn,g=i.alternate,r=i.flags,i.tag){case 0:if(r&4&&(r=i.updateQueue,r=r!==null?r.events:null,r!==null))for(s=0;s<r.length;s++)h=r[s],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:if(r&1024&&g!==null){r=void 0,s=i,h=g.memoizedProps,g=g.memoizedState,u=s.stateNode;try{var ve=ho(s.type,h);r=u.getSnapshotBeforeUpdate(ve,g),u.__reactInternalSnapshotBeforeUpdate=r}catch(Te){ht(s,s.return,Te)}}break;case 3:if(r&1024){if(r=i.stateNode.containerInfo,s=r.nodeType,s===9)yg(r);else if(s===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":yg(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(r&1024)throw Error(a(163))}if(r=i.sibling,r!==null){r.return=i.return,vn=r;break}vn=i.return}}function Nx(r,i,s){var u=s.flags;switch(s.tag){case 0:case 11:case 15:Ia(r,s),u&4&&hc(5,s);break;case 1:if(Ia(r,s),u&4)if(r=s.stateNode,i===null)try{r.componentDidMount()}catch(_){ht(s,s.return,_)}else{var h=ho(s.type,i.memoizedProps);i=i.memoizedState;try{r.componentDidUpdate(h,i,r.__reactInternalSnapshotBeforeUpdate)}catch(_){ht(s,s.return,_)}}u&64&&wx(s),u&512&&mc(s,s.return);break;case 3:if(Ia(r,s),u&64&&(r=s.updateQueue,r!==null)){if(i=null,s.child!==null)switch(s.child.tag){case 27:case 5:i=s.child.stateNode;break;case 1:i=s.child.stateNode}try{hS(r,i)}catch(_){ht(s,s.return,_)}}break;case 27:i===null&&u&4&&Ox(s);case 26:case 5:Ia(r,s),i===null&&u&4&&Rx(s),u&512&&mc(s,s.return);break;case 12:Ia(r,s);break;case 31:Ia(r,s),u&4&&Dx(r,s);break;case 13:Ia(r,s),u&4&&Lx(r,s),u&64&&(r=s.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(s=GN.bind(null,s),dk(r,s))));break;case 22:if(u=s.memoizedState!==null||Da,!u){i=i!==null&&i.memoizedState!==null||an,h=Da;var g=an;Da=u,(an=i)&&!g?ja(r,s,(s.subtreeFlags&8772)!==0):Ia(r,s),Da=h,an=g}break;case 30:break;default:Ia(r,s)}}function kx(r){var i=r.alternate;i!==null&&(r.alternate=null,kx(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&xn(i)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var It=null,Gn=!1;function La(r,i,s){for(s=s.child;s!==null;)Mx(r,i,s),s=s.sibling}function Mx(r,i,s){if(An&&typeof An.onCommitFiberUnmount=="function")try{An.onCommitFiberUnmount(Ur,s)}catch{}switch(s.tag){case 26:an||na(s,i),La(r,i,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:an||na(s,i);var u=It,h=Gn;wi(s.type)&&(It=s.stateNode,Gn=!1),La(r,i,s),wc(s.stateNode),It=u,Gn=h;break;case 5:an||na(s,i);case 6:if(u=It,h=Gn,It=null,La(r,i,s),It=u,Gn=h,It!==null)if(Gn)try{(It.nodeType===9?It.body:It.nodeName==="HTML"?It.ownerDocument.body:It).removeChild(s.stateNode)}catch(g){ht(s,i,g)}else try{It.removeChild(s.stateNode)}catch(g){ht(s,i,g)}break;case 18:It!==null&&(Gn?(r=It,w_(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,s.stateNode),Ns(r)):w_(It,s.stateNode));break;case 4:u=It,h=Gn,It=s.stateNode.containerInfo,Gn=!0,La(r,i,s),It=u,Gn=h;break;case 0:case 11:case 14:case 15:yi(2,s,i),an||yi(4,s,i),La(r,i,s);break;case 1:an||(na(s,i),u=s.stateNode,typeof u.componentWillUnmount=="function"&&Tx(s,i,u)),La(r,i,s);break;case 21:La(r,i,s);break;case 22:an=(u=an)||s.memoizedState!==null,La(r,i,s),an=u;break;default:La(r,i,s)}}function Dx(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null))){r=r.dehydrated;try{Ns(r)}catch(s){ht(i,i.return,s)}}}function Lx(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Ns(r)}catch(s){ht(i,i.return,s)}}function UN(r){switch(r.tag){case 31:case 13:case 19:var i=r.stateNode;return i===null&&(i=r.stateNode=new Ax),i;case 22:return r=r.stateNode,i=r._retryCache,i===null&&(i=r._retryCache=new Ax),i;default:throw Error(a(435,r.tag))}}function zd(r,i){var s=UN(r);i.forEach(function(u){if(!s.has(u)){s.add(u);var h=WN.bind(null,r,u);u.then(h,h)}})}function Wn(r,i){var s=i.deletions;if(s!==null)for(var u=0;u<s.length;u++){var h=s[u],g=r,_=i,k=_;e:for(;k!==null;){switch(k.tag){case 27:if(wi(k.type)){It=k.stateNode,Gn=!1;break e}break;case 5:It=k.stateNode,Gn=!1;break e;case 3:case 4:It=k.stateNode.containerInfo,Gn=!0;break e}k=k.return}if(It===null)throw Error(a(160));Mx(g,_,h),It=null,Gn=!1,g=h.alternate,g!==null&&(g.return=null),h.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)Ix(i,r),i=i.sibling}var $r=null;function Ix(r,i){var s=r.alternate,u=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:Wn(i,r),Vn(r),u&4&&(yi(3,r,r.return),hc(3,r),yi(5,r,r.return));break;case 1:Wn(i,r),Vn(r),u&512&&(an||s===null||na(s,s.return)),u&64&&Da&&(r=r.updateQueue,r!==null&&(u=r.callbacks,u!==null&&(s=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=s===null?u:s.concat(u))));break;case 26:var h=$r;if(Wn(i,r),Vn(r),u&512&&(an||s===null||na(s,s.return)),u&4){var g=s!==null?s.memoizedState:null;if(u=r.memoizedState,s===null)if(u===null)if(r.stateNode===null){e:{u=r.type,s=r.memoizedProps,h=h.ownerDocument||h;t:switch(u){case"title":g=h.getElementsByTagName("title")[0],(!g||g[Ie]||g[en]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=h.createElement(u),h.head.insertBefore(g,h.querySelector("head > title"))),Tn(g,u,s),g[en]=r,yn(g),u=g;break e;case"link":var _=I_("link","href",h).get(u+(s.href||""));if(_){for(var k=0;k<_.length;k++)if(g=_[k],g.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&g.getAttribute("rel")===(s.rel==null?null:s.rel)&&g.getAttribute("title")===(s.title==null?null:s.title)&&g.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){_.splice(k,1);break t}}g=h.createElement(u),Tn(g,u,s),h.head.appendChild(g);break;case"meta":if(_=I_("meta","content",h).get(u+(s.content||""))){for(k=0;k<_.length;k++)if(g=_[k],g.getAttribute("content")===(s.content==null?null:""+s.content)&&g.getAttribute("name")===(s.name==null?null:s.name)&&g.getAttribute("property")===(s.property==null?null:s.property)&&g.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&g.getAttribute("charset")===(s.charSet==null?null:s.charSet)){_.splice(k,1);break t}}g=h.createElement(u),Tn(g,u,s),h.head.appendChild(g);break;default:throw Error(a(468,u))}g[en]=r,yn(g),u=g}r.stateNode=u}else j_(h,r.type,r.stateNode);else r.stateNode=L_(h,u,r.memoizedProps);else g!==u?(g===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):g.count--,u===null?j_(h,r.type,r.stateNode):L_(h,u,r.memoizedProps)):u===null&&r.stateNode!==null&&Fm(r,r.memoizedProps,s.memoizedProps)}break;case 27:Wn(i,r),Vn(r),u&512&&(an||s===null||na(s,s.return)),s!==null&&u&4&&Fm(r,r.memoizedProps,s.memoizedProps);break;case 5:if(Wn(i,r),Vn(r),u&512&&(an||s===null||na(s,s.return)),r.flags&32){h=r.stateNode;try{Jo(h,"")}catch(ve){ht(r,r.return,ve)}}u&4&&r.stateNode!=null&&(h=r.memoizedProps,Fm(r,h,s!==null?s.memoizedProps:h)),u&1024&&(Wm=!0);break;case 6:if(Wn(i,r),Vn(r),u&4){if(r.stateNode===null)throw Error(a(162));u=r.memoizedProps,s=r.stateNode;try{s.nodeValue=u}catch(ve){ht(r,r.return,ve)}}break;case 3:if(ef=null,h=$r,$r=Zd(i.containerInfo),Wn(i,r),$r=h,Vn(r),u&4&&s!==null&&s.memoizedState.isDehydrated)try{Ns(i.containerInfo)}catch(ve){ht(r,r.return,ve)}Wm&&(Wm=!1,jx(r));break;case 4:u=$r,$r=Zd(r.stateNode.containerInfo),Wn(i,r),Vn(r),$r=u;break;case 12:Wn(i,r),Vn(r);break;case 31:Wn(i,r),Vn(r),u&4&&(u=r.updateQueue,u!==null&&(r.updateQueue=null,zd(r,u)));break;case 13:Wn(i,r),Vn(r),r.child.flags&8192&&r.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&($d=Ye()),u&4&&(u=r.updateQueue,u!==null&&(r.updateQueue=null,zd(r,u)));break;case 22:h=r.memoizedState!==null;var z=s!==null&&s.memoizedState!==null,W=Da,Z=an;if(Da=W||h,an=Z||z,Wn(i,r),an=Z,Da=W,Vn(r),u&8192)e:for(i=r.stateNode,i._visibility=h?i._visibility&-2:i._visibility|1,h&&(s===null||z||Da||an||mo(r)),s=null,i=r;;){if(i.tag===5||i.tag===26){if(s===null){z=s=i;try{if(g=z.stateNode,h)_=g.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none";else{k=z.stateNode;var re=z.memoizedProps.style,V=re!=null&&re.hasOwnProperty("display")?re.display:null;k.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(ve){ht(z,z.return,ve)}}}else if(i.tag===6){if(s===null){z=i;try{z.stateNode.nodeValue=h?"":z.memoizedProps}catch(ve){ht(z,z.return,ve)}}}else if(i.tag===18){if(s===null){z=i;try{var Q=z.stateNode;h?T_(Q,!0):T_(z.stateNode,!1)}catch(ve){ht(z,z.return,ve)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===r)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break e;for(;i.sibling===null;){if(i.return===null||i.return===r)break e;s===i&&(s=null),i=i.return}s===i&&(s=null),i.sibling.return=i.return,i=i.sibling}u&4&&(u=r.updateQueue,u!==null&&(s=u.retryQueue,s!==null&&(u.retryQueue=null,zd(r,s))));break;case 19:Wn(i,r),Vn(r),u&4&&(u=r.updateQueue,u!==null&&(r.updateQueue=null,zd(r,u)));break;case 30:break;case 21:break;default:Wn(i,r),Vn(r)}}function Vn(r){var i=r.flags;if(i&2){try{for(var s,u=r.return;u!==null;){if(Cx(u)){s=u;break}u=u.return}if(s==null)throw Error(a(160));switch(s.tag){case 27:var h=s.stateNode,g=qm(r);Ud(r,g,h);break;case 5:var _=s.stateNode;s.flags&32&&(Jo(_,""),s.flags&=-33);var k=qm(r);Ud(r,k,_);break;case 3:case 4:var z=s.stateNode.containerInfo,W=qm(r);Gm(r,W,z);break;default:throw Error(a(161))}}catch(Z){ht(r,r.return,Z)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function jx(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var i=r;jx(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),r=r.sibling}}function Ia(r,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)Nx(r,i.alternate,i),i=i.sibling}function mo(r){for(r=r.child;r!==null;){var i=r;switch(i.tag){case 0:case 11:case 14:case 15:yi(4,i,i.return),mo(i);break;case 1:na(i,i.return);var s=i.stateNode;typeof s.componentWillUnmount=="function"&&Tx(i,i.return,s),mo(i);break;case 27:wc(i.stateNode);case 26:case 5:na(i,i.return),mo(i);break;case 22:i.memoizedState===null&&mo(i);break;case 30:mo(i);break;default:mo(i)}r=r.sibling}}function ja(r,i,s){for(s=s&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var u=i.alternate,h=r,g=i,_=g.flags;switch(g.tag){case 0:case 11:case 15:ja(h,g,s),hc(4,g);break;case 1:if(ja(h,g,s),u=g,h=u.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(W){ht(u,u.return,W)}if(u=g,h=u.updateQueue,h!==null){var k=u.stateNode;try{var z=h.shared.hiddenCallbacks;if(z!==null)for(h.shared.hiddenCallbacks=null,h=0;h<z.length;h++)pS(z[h],k)}catch(W){ht(u,u.return,W)}}s&&_&64&&wx(g),mc(g,g.return);break;case 27:Ox(g);case 26:case 5:ja(h,g,s),s&&u===null&&_&4&&Rx(g),mc(g,g.return);break;case 12:ja(h,g,s);break;case 31:ja(h,g,s),s&&_&4&&Dx(h,g);break;case 13:ja(h,g,s),s&&_&4&&Lx(h,g);break;case 22:g.memoizedState===null&&ja(h,g,s),mc(g,g.return);break;case 30:break;default:ja(h,g,s)}i=i.sibling}}function Vm(r,i){var s=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==s&&(r!=null&&r.refCount++,s!=null&&tc(s))}function Ym(r,i){r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&tc(r))}function Br(r,i,s,u){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Ux(r,i,s,u),i=i.sibling}function Ux(r,i,s,u){var h=i.flags;switch(i.tag){case 0:case 11:case 15:Br(r,i,s,u),h&2048&&hc(9,i);break;case 1:Br(r,i,s,u);break;case 3:Br(r,i,s,u),h&2048&&(r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&tc(r)));break;case 12:if(h&2048){Br(r,i,s,u),r=i.stateNode;try{var g=i.memoizedProps,_=g.id,k=g.onPostCommit;typeof k=="function"&&k(_,i.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(z){ht(i,i.return,z)}}else Br(r,i,s,u);break;case 31:Br(r,i,s,u);break;case 13:Br(r,i,s,u);break;case 23:break;case 22:g=i.stateNode,_=i.alternate,i.memoizedState!==null?g._visibility&2?Br(r,i,s,u):gc(r,i):g._visibility&2?Br(r,i,s,u):(g._visibility|=2,bs(r,i,s,u,(i.subtreeFlags&10256)!==0||!1)),h&2048&&Vm(_,i);break;case 24:Br(r,i,s,u),h&2048&&Ym(i.alternate,i);break;default:Br(r,i,s,u)}}function bs(r,i,s,u,h){for(h=h&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var g=r,_=i,k=s,z=u,W=_.flags;switch(_.tag){case 0:case 11:case 15:bs(g,_,k,z,h),hc(8,_);break;case 23:break;case 22:var Z=_.stateNode;_.memoizedState!==null?Z._visibility&2?bs(g,_,k,z,h):gc(g,_):(Z._visibility|=2,bs(g,_,k,z,h)),h&&W&2048&&Vm(_.alternate,_);break;case 24:bs(g,_,k,z,h),h&&W&2048&&Ym(_.alternate,_);break;default:bs(g,_,k,z,h)}i=i.sibling}}function gc(r,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var s=r,u=i,h=u.flags;switch(u.tag){case 22:gc(s,u),h&2048&&Vm(u.alternate,u);break;case 24:gc(s,u),h&2048&&Ym(u.alternate,u);break;default:gc(s,u)}i=i.sibling}}var yc=8192;function Ss(r,i,s){if(r.subtreeFlags&yc)for(r=r.child;r!==null;)zx(r,i,s),r=r.sibling}function zx(r,i,s){switch(r.tag){case 26:Ss(r,i,s),r.flags&yc&&r.memoizedState!==null&&Ek(s,$r,r.memoizedState,r.memoizedProps);break;case 5:Ss(r,i,s);break;case 3:case 4:var u=$r;$r=Zd(r.stateNode.containerInfo),Ss(r,i,s),$r=u;break;case 22:r.memoizedState===null&&(u=r.alternate,u!==null&&u.memoizedState!==null?(u=yc,yc=16777216,Ss(r,i,s),yc=u):Ss(r,i,s));break;default:Ss(r,i,s)}}function Px(r){var i=r.alternate;if(i!==null&&(r=i.child,r!==null)){i.child=null;do i=r.sibling,r.sibling=null,r=i;while(r!==null)}}function vc(r){var i=r.deletions;if(r.flags&16){if(i!==null)for(var s=0;s<i.length;s++){var u=i[s];vn=u,Bx(u,r)}Px(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)$x(r),r=r.sibling}function $x(r){switch(r.tag){case 0:case 11:case 15:vc(r),r.flags&2048&&yi(9,r,r.return);break;case 3:vc(r);break;case 12:vc(r);break;case 22:var i=r.stateNode;r.memoizedState!==null&&i._visibility&2&&(r.return===null||r.return.tag!==13)?(i._visibility&=-3,Pd(r)):vc(r);break;default:vc(r)}}function Pd(r){var i=r.deletions;if(r.flags&16){if(i!==null)for(var s=0;s<i.length;s++){var u=i[s];vn=u,Bx(u,r)}Px(r)}for(r=r.child;r!==null;){switch(i=r,i.tag){case 0:case 11:case 15:yi(8,i,i.return),Pd(i);break;case 22:s=i.stateNode,s._visibility&2&&(s._visibility&=-3,Pd(i));break;default:Pd(i)}r=r.sibling}}function Bx(r,i){for(;vn!==null;){var s=vn;switch(s.tag){case 0:case 11:case 15:yi(8,s,i);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var u=s.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:tc(s.memoizedState.cache)}if(u=s.child,u!==null)u.return=s,vn=u;else e:for(s=r;vn!==null;){u=vn;var h=u.sibling,g=u.return;if(kx(u),u===s){vn=null;break e}if(h!==null){h.return=g,vn=h;break e}vn=g}}}var zN={getCacheForType:function(r){var i=En(tn),s=i.data.get(r);return s===void 0&&(s=r(),i.data.set(r,s)),s},cacheSignal:function(){return En(tn).controller.signal}},PN=typeof WeakMap=="function"?WeakMap:Map,ot=0,Et=null,Ge=null,Ke=0,pt=0,or=null,vi=!1,xs=!1,Km=!1,Ua=0,Ht=0,bi=0,go=0,Xm=0,sr=0,_s=0,bc=null,Yn=null,Qm=!1,$d=0,Hx=0,Bd=1/0,Hd=null,Si=null,fn=0,xi=null,Es=null,za=0,Zm=0,Jm=null,Fx=null,Sc=0,eg=null;function lr(){return ot&2&&Ke!==0?Ke&-Ke:P.T!==null?og():oi()}function qx(){if(sr===0)if(!(Ke&536870912)||Qe){var r=Go;Go<<=1,!(Go&3932160)&&(Go=262144),sr=r}else sr=536870912;return r=ar.current,r!==null&&(r.flags|=32),sr}function Kn(r,i,s){(r===Et&&(pt===2||pt===9)||r.cancelPendingCommit!==null)&&(ws(r,0),_i(r,Ke,sr,!1)),ba(r,s),(!(ot&2)||r!==Et)&&(r===Et&&(!(ot&2)&&(go|=s),Ht===4&&_i(r,Ke,sr,!1)),ra(r))}function Gx(r,i,s){if(ot&6)throw Error(a(327));var u=!s&&(i&127)===0&&(i&r.expiredLanes)===0||ai(r,i),h=u?HN(r,i):ng(r,i,!0),g=u;do{if(h===0){xs&&!u&&_i(r,i,0,!1);break}else{if(s=r.current.alternate,g&&!$N(s)){h=ng(r,i,!1),g=!1;continue}if(h===2){if(g=i,r.errorRecoveryDisabledLanes&g)var _=0;else _=r.pendingLanes&-536870913,_=_!==0?_:_&536870912?536870912:0;if(_!==0){i=_;e:{var k=r;h=bc;var z=k.current.memoizedState.isDehydrated;if(z&&(ws(k,_).flags|=256),_=ng(k,_,!1),_!==2){if(Km&&!z){k.errorRecoveryDisabledLanes|=g,go|=g,h=4;break e}g=Yn,Yn=h,g!==null&&(Yn===null?Yn=g:Yn.push.apply(Yn,g))}h=_}if(g=!1,h!==2)continue}}if(h===1){ws(r,0),_i(r,i,0,!0);break}e:{switch(u=r,g=h,g){case 0:case 1:throw Error(a(345));case 4:if((i&4194048)!==i)break;case 6:_i(u,i,sr,!vi);break e;case 2:Yn=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(h=$d+300-Ye(),10<h)){if(_i(u,i,sr,!vi),Zi(u,0,!0)!==0)break e;za=i,u.timeoutHandle=__(Wx.bind(null,u,s,Yn,Hd,Qm,i,sr,go,_s,vi,g,"Throttled",-0,0),h);break e}Wx(u,s,Yn,Hd,Qm,i,sr,go,_s,vi,g,null,-0,0)}}break}while(!0);ra(r)}function Wx(r,i,s,u,h,g,_,k,z,W,Z,re,V,Q){if(r.timeoutHandle=-1,re=i.subtreeFlags,re&8192||(re&16785408)===16785408){re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ea},zx(i,g,re);var ve=(g&62914560)===g?$d-Ye():(g&4194048)===g?Hx-Ye():0;if(ve=wk(re,ve),ve!==null){za=g,r.cancelPendingCommit=ve(e_.bind(null,r,i,g,s,u,h,_,k,z,Z,re,null,V,Q)),_i(r,g,_,!W);return}}e_(r,i,g,s,u,h,_,k,z)}function $N(r){for(var i=r;;){var s=i.tag;if((s===0||s===11||s===15)&&i.flags&16384&&(s=i.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var u=0;u<s.length;u++){var h=s[u],g=h.getSnapshot;h=h.value;try{if(!nr(g(),h))return!1}catch{return!1}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function _i(r,i,s,u){i&=~Xm,i&=~go,r.suspendedLanes|=i,r.pingedLanes&=~i,u&&(r.warmLanes|=i),u=r.expirationTimes;for(var h=i;0<h;){var g=31-gn(h),_=1<<g;u[g]=-1,h&=~_}s!==0&&ii(r,s,i)}function Fd(){return ot&6?!0:(xc(0),!1)}
vendor: 9,115 bytes, line 48
48function tg(){if(Ge!==null){if(pt===0)var r=Ge.return;else r=Ge,Ca=oo=null,ym(r),hs=null,rc=0,r=Ge;for(;r!==null;)Ex(r.alternate,r),r=r.return;Ge=null}}function ws(r,i){var s=r.timeoutHandle;s!==-1&&(r.timeoutHandle=-1,ok(s)),s=r.cancelPendingCommit,s!==null&&(r.cancelPendingCommit=null,s()),za=0,tg(),Et=r,Ge=s=Ta(r.current,null),Ke=i,pt=0,or=null,vi=!1,xs=ai(r,i),Km=!1,_s=sr=Xm=go=bi=Ht=0,Yn=bc=null,Qm=!1,i&8&&(i|=i&32);var u=r.entangledLanes;if(u!==0)for(r=r.entanglements,u&=i;0<u;){var h=31-gn(u),g=1<<h;i|=r[h],u&=~g}return Ua=i,ud(),s}function Vx(r,i){je=null,P.H=dc,i===ps||i===vd?(i=cS(),pt=3):i===im?(i=cS(),pt=4):pt=i===Dm?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,or=i,Ge===null&&(Ht=1,Md(r,Sr(i,r.current)))}function Yx(){var r=ar.current;return r===null?!0:(Ke&4194048)===Ke?wr===null:(Ke&62914560)===Ke||Ke&536870912?r===wr:!1}function Kx(){var r=P.H;return P.H=dc,r===null?dc:r}function Xx(){var r=P.A;return P.A=zN,r}function qd(){Ht=4,vi||(Ke&4194048)!==Ke&&ar.current!==null||(xs=!0),!(bi&134217727)&&!(go&134217727)||Et===null||_i(Et,Ke,sr,!1)}function ng(r,i,s){var u=ot;ot|=2;var h=Kx(),g=Xx();(Et!==r||Ke!==i)&&(Hd=null,ws(r,i)),i=!1;var _=Ht;e:do try{if(pt!==0&&Ge!==null){var k=Ge,z=or;switch(pt){case 8:tg(),_=6;break e;case 3:case 2:case 9:case 6:ar.current===null&&(i=!0);var W=pt;if(pt=0,or=null,Ts(r,k,z,W),s&&xs){_=0;break e}break;default:W=pt,pt=0,or=null,Ts(r,k,z,W)}}BN(),_=Ht;break}catch(Z){Vx(r,Z)}while(!0);return i&&r.shellSuspendCounter++,Ca=oo=null,ot=u,P.H=h,P.A=g,Ge===null&&(Et=null,Ke=0,ud()),_}function BN(){for(;Ge!==null;)Qx(Ge)}function HN(r,i){var s=ot;ot|=2;var u=Kx(),h=Xx();Et!==r||Ke!==i?(Hd=null,Bd=Ye()+500,ws(r,i)):xs=ai(r,i);e:do try{if(pt!==0&&Ge!==null){i=Ge;var g=or;t:switch(pt){case 1:pt=0,or=null,Ts(r,i,g,1);break;case 2:case 9:if(sS(g)){pt=0,or=null,Zx(i);break}i=function(){pt!==2&&pt!==9||Et!==r||(pt=7),ra(r)},g.then(i,i);break e;case 3:pt=7;break e;case 4:pt=5;break e;case 7:sS(g)?(pt=0,or=null,Zx(i)):(pt=0,or=null,Ts(r,i,g,7));break;case 5:var _=null;switch(Ge.tag){case 26:_=Ge.memoizedState;case 5:case 27:var k=Ge;if(_?U_(_):k.stateNode.complete){pt=0,or=null;var z=k.sibling;if(z!==null)Ge=z;else{var W=k.return;W!==null?(Ge=W,Gd(W)):Ge=null}break t}}pt=0,or=null,Ts(r,i,g,5);break;case 6:pt=0,or=null,Ts(r,i,g,6);break;case 8:tg(),Ht=6;break e;default:throw Error(a(462))}}FN();break}catch(Z){Vx(r,Z)}while(!0);return Ca=oo=null,P.H=u,P.A=h,ot=s,Ge!==null?0:(Et=null,Ke=0,ud(),Ht)}function FN(){for(;Ge!==null&&!it();)Qx(Ge)}function Qx(r){var i=xx(r.alternate,r,Ua);r.memoizedProps=r.pendingProps,i===null?Gd(r):Ge=i}function Zx(r){var i=r,s=i.alternate;switch(i.tag){case 15:case 0:i=mx(s,i,i.pendingProps,i.type,void 0,Ke);break;case 11:i=mx(s,i,i.pendingProps,i.type.render,i.ref,Ke);break;case 5:ym(i);default:Ex(s,i),i=Ge=X0(i,Ua),i=xx(s,i,Ua)}r.memoizedProps=r.pendingProps,i===null?Gd(r):Ge=i}function Ts(r,i,s,u){Ca=oo=null,ym(i),hs=null,rc=0;var h=i.return;try{if(kN(r,h,i,s,Ke)){Ht=1,Md(r,Sr(s,r.current)),Ge=null;return}}catch(g){if(h!==null)throw Ge=h,g;Ht=1,Md(r,Sr(s,r.current)),Ge=null;return}i.flags&32768?(Qe||u===1?r=!0:xs||Ke&536870912?r=!1:(vi=r=!0,(u===2||u===9||u===3||u===6)&&(u=ar.current,u!==null&&u.tag===13&&(u.flags|=16384))),Jx(i,r)):Gd(i)}function Gd(r){var i=r;do{if(i.flags&32768){Jx(i,vi);return}r=i.return;var s=LN(i.alternate,i,Ua);if(s!==null){Ge=s;return}if(i=i.sibling,i!==null){Ge=i;return}Ge=i=r}while(i!==null);Ht===0&&(Ht=5)}function Jx(r,i){do{var s=IN(r.alternate,r);if(s!==null){s.flags&=32767,Ge=s;return}if(s=r.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!i&&(r=r.sibling,r!==null)){Ge=r;return}Ge=r=s}while(r!==null);Ht=6,Ge=null}function e_(r,i,s,u,h,g,_,k,z){r.cancelPendingCommit=null;do Wd();while(fn!==0);if(ot&6)throw Error(a(327));if(i!==null){if(i===r.current)throw Error(a(177));if(g=i.lanes|i.childLanes,g|=qh,Sh(r,s,g,_,k,z),r===Et&&(Ge=Et=null,Ke=0),Es=i,xi=r,za=s,Zm=g,Jm=h,Fx=u,i.subtreeFlags&10256||i.flags&10256?(r.callbackNode=null,r.callbackPriority=0,VN(tt,function(){return i_(),null})):(r.callbackNode=null,r.callbackPriority=0),u=(i.flags&13878)!==0,i.subtreeFlags&13878||u){u=P.T,P.T=null,h=K.p,K.p=2,_=ot,ot|=4;try{jN(r,i,s)}finally{ot=_,K.p=h,P.T=u}}fn=1,t_(),n_(),r_()}}function t_(){if(fn===1){fn=0;var r=xi,i=Es,s=(i.flags&13878)!==0;if(i.subtreeFlags&13878||s){s=P.T,P.T=null;var u=K.p;K.p=2;var h=ot;ot|=4;try{Ix(i,r);var g=hg,_=B0(r.containerInfo),k=g.focusedElem,z=g.selectionRange;if(_!==k&&k&&k.ownerDocument&&$0(k.ownerDocument.documentElement,k)){if(z!==null&&Ph(k)){var W=z.start,Z=z.end;if(Z===void 0&&(Z=W),"selectionStart"in k)k.selectionStart=W,k.selectionEnd=Math.min(Z,k.value.length);else{var re=k.ownerDocument||document,V=re&&re.defaultView||window;if(V.getSelection){var Q=V.getSelection(),ve=k.textContent.length,Te=Math.min(z.start,ve),vt=z.end===void 0?Te:Math.min(z.end,ve);!Q.extend&&Te>vt&&(_=vt,vt=Te,Te=_);var F=P0(k,Te),B=P0(k,vt);if(F&&B&&(Q.rangeCount!==1||Q.anchorNode!==F.node||Q.anchorOffset!==F.offset||Q.focusNode!==B.node||Q.focusOffset!==B.offset)){var G=re.createRange();G.setStart(F.node,F.offset),Q.removeAllRanges(),Te>vt?(Q.addRange(G),Q.extend(B.node,B.offset)):(G.setEnd(B.node,B.offset),Q.addRange(G))}}}}for(re=[],Q=k;Q=Q.parentNode;)Q.nodeType===1&&re.push({element:Q,left:Q.scrollLeft,top:Q.scrollTop});for(typeof k.focus=="function"&&k.focus(),k=0;k<re.length;k++){var te=re[k];te.element.scrollLeft=te.left,te.element.scrollTop=te.top}}af=!!pg,hg=pg=null}finally{ot=h,K.p=u,P.T=s}}r.current=i,fn=2}}function n_(){if(fn===2){fn=0;var r=xi,i=Es,s=(i.flags&8772)!==0;if(i.subtreeFlags&8772||s){s=P.T,P.T=null;var u=K.p;K.p=2;var h=ot;ot|=4;try{Nx(r,i.alternate,i)}finally{ot=h,K.p=u,P.T=s}}fn=3}}function r_(){if(fn===4||fn===3){fn=0,ke();var r=xi,i=Es,s=za,u=Fx;i.subtreeFlags&10256||i.flags&10256?fn=5:(fn=0,Es=xi=null,a_(r,r.pendingLanes));var h=r.pendingLanes;if(h===0&&(Si=null),Bl(s),i=i.stateNode,An&&typeof An.onCommitFiberRoot=="function")try{An.onCommitFiberRoot(Ur,i,void 0,(i.current.flags&128)===128)}catch{}if(u!==null){i=P.T,h=K.p,K.p=2,P.T=null;try{for(var g=r.onRecoverableError,_=0;_<u.length;_++){var k=u[_];g(k.value,{componentStack:k.stack})}}finally{P.T=i,K.p=h}}za&3&&Wd(),ra(r),h=r.pendingLanes,s&261930&&h&42?r===eg?Sc++:(Sc=0,eg=r):Sc=0,xc(0)}}function a_(r,i){(r.pooledCacheLanes&=i)===0&&(i=r.pooledCache,i!=null&&(r.pooledCache=null,tc(i)))}function Wd(){return t_(),n_(),r_(),i_()}function i_(){if(fn!==5)return!1;var r=xi,i=Zm;Zm=0;var s=Bl(za),u=P.T,h=K.p;try{K.p=32>s?32:s,P.T=null,s=Jm,Jm=null;var g=xi,_=za;if(fn=0,Es=xi=null,za=0,ot&6)throw Error(a(331));var k=ot;if(ot|=4,$x(g.current),Ux(g,g.current,_,s),ot=k,xc(0,!1),An&&typeof An.onPostCommitFiberRoot=="function")try{An.onPostCommitFiberRoot(Ur,g)}catch{}return!0}finally{K.p=h,P.T=u,a_(r,i)}}function o_(r,i,s){i=Sr(s,i),i=Mm(r.stateNode,i,2),r=hi(r,i,2),r!==null&&(ba(r,2),ra(r))}function ht(r,i,s){if(r.tag===3)o_(r,r,s);else for(;i!==null;){if(i.tag===3){o_(i,r,s);break}else if(i.tag===1){var u=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Si===null||!Si.has(u))){r=Sr(s,r),s=sx(2),u=hi(i,s,2),u!==null&&(lx(s,u,i,r),ba(u,2),ra(u));break}}i=i.return}}function rg(r,i,s){var u=r.pingCache;if(u===null){u=r.pingCache=new PN;var h=new Set;u.set(i,h)}else h=u.get(i),h===void 0&&(h=new Set,u.set(i,h));h.has(s)||(Km=!0,h.add(s),r=qN.bind(null,r,i,s),i.then(r,r))}function qN(r,i,s){var u=r.pingCache;u!==null&&u.delete(i),r.pingedLanes|=r.suspendedLanes&s,r.warmLanes&=~s,Et===r&&(Ke&s)===s&&(Ht===4||Ht===3&&(Ke&62914560)===Ke&&300>Ye()-$d?!(ot&2)&&ws(r,0):Xm|=s,_s===Ke&&(_s=0)),ra(r)}function s_(r,i){i===0&&(i=Qu()),r=ro(r,i),r!==null&&(ba(r,i),ra(r))}function GN(r){var i=r.memoizedState,s=0;i!==null&&(s=i.retryLane),s_(r,s)}function WN(r,i){var s=0;switch(r.tag){case 31:case 13:var u=r.stateNode,h=r.memoizedState;h!==null&&(s=h.retryLane);break;case 19:u=r.stateNode;break;case 22:u=r.stateNode._retryCache;break;default:throw Error(a(314))}u!==null&&u.delete(i),s_(r,s)}function VN(r,i){return He(r,i)}var Vd=null,Rs=null,ag=!1,Yd=!1,ig=!1,Ei=0;function ra(r){r!==Rs&&r.next===null&&(Rs===null?Vd=Rs=r:Rs=Rs.next=r),Yd=!0,ag||(ag=!0,KN())}function xc(r,i){if(!ig&&Yd){ig=!0;do for(var s=!1,u=Vd;u!==null;){if(r!==0){var h=u.pendingLanes;if(h===0)var g=0;else{var _=u.suspendedLanes,k=u.pingedLanes;g=(1<<31-gn(42|r)+1)-1,g&=h&~(_&~k),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(s=!0,d_(u,g))}else g=Ke,g=Zi(u,u===Et?g:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),!(g&3)||ai(u,g)||(s=!0,d_(u,g));u=u.next}while(s);ig=!1}}function YN(){l_()}function l_(){Yd=ag=!1;var r=0;Ei!==0&&ik()&&(r=Ei);for(var i=Ye(),s=null,u=Vd;u!==null;){var h=u.next,g=c_(u,i);g===0?(u.next=null,s===null?Vd=h:s.next=h,h===null&&(Rs=s)):(s=u,(r!==0||g&3)&&(Yd=!0)),u=h}fn!==0&&fn!==5||xc(r),Ei!==0&&(Ei=0)}function c_(r,i){for(var s=r.suspendedLanes,u=r.pingedLanes,h=r.expirationTimes,g=r.pendingLanes&-62914561;0<g;){var _=31-gn(g),k=1<<_,z=h[_];z===-1?(!(k&s)||k&u)&&(h[_]=bh(k,i)):z<=i&&(r.expiredLanes|=k),g&=~k}
vendor: 8,439 bytes, line 48
48if(i=Et,s=Ke,s=Zi(r,r===i?s:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),u=r.callbackNode,s===0||r===i&&(pt===2||pt===9)||r.cancelPendingCommit!==null)return u!==null&&u!==null&&_e(u),r.callbackNode=null,r.callbackPriority=0;if(!(s&3)||ai(r,s)){if(i=s&-s,i===r.callbackPriority)return i;switch(u!==null&&_e(u),Bl(s)){case 2:case 8:s=Hn;break;case 32:s=tt;break;case 268435456:s=mn;break;default:s=tt}return u=u_.bind(null,r),s=He(s,u),r.callbackPriority=i,r.callbackNode=s,i}return u!==null&&u!==null&&_e(u),r.callbackPriority=2,r.callbackNode=null,2}function u_(r,i){if(fn!==0&&fn!==5)return r.callbackNode=null,r.callbackPriority=0,null;var s=r.callbackNode;if(Wd()&&r.callbackNode!==s)return null;var u=Ke;return u=Zi(r,r===Et?u:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),u===0?null:(Gx(r,u,i),c_(r,Ye()),r.callbackNode!=null&&r.callbackNode===s?u_.bind(null,r):null)}function d_(r,i){if(Wd())return null;Gx(r,i,!0)}function KN(){sk(function(){ot&6?He(On,YN):l_()})}function og(){if(Ei===0){var r=ds;r===0&&(r=qo,qo<<=1,!(qo&261888)&&(qo=256)),Ei=r}return Ei}function f_(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:nd(""+r)}function p_(r,i){var s=i.ownerDocument.createElement("input");return s.name=i.name,s.value=i.value,r.id&&s.setAttribute("form",r.id),i.parentNode.insertBefore(s,i),r=new FormData(r),s.parentNode.removeChild(s),r}function XN(r,i,s,u,h){if(i==="submit"&&s&&s.stateNode===h){var g=f_((h[Sn]||null).action),_=u.submitter;_&&(i=(i=_[Sn]||null)?f_(i.formAction):_.getAttribute("formAction"),i!==null&&(g=i,_=null));var k=new od("action","action",null,u,h);r.push({event:k,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Ei!==0){var z=_?p_(h,_):new FormData(h);Rm(s,{pending:!0,data:z,method:h.method,action:g},null,z)}}else typeof g=="function"&&(k.preventDefault(),z=_?p_(h,_):new FormData(h),Rm(s,{pending:!0,data:z,method:h.method,action:g},g,z))},currentTarget:h}]})}}for(var sg=0;sg<Fh.length;sg++){var lg=Fh[sg],QN=lg.toLowerCase(),ZN=lg[0].toUpperCase()+lg.slice(1);Pr(QN,"on"+ZN)}Pr(q0,"onAnimationEnd"),Pr(G0,"onAnimationIteration"),Pr(W0,"onAnimationStart"),Pr("dblclick","onDoubleClick"),Pr("focusin","onFocus"),Pr("focusout","onBlur"),Pr(hN,"onTransitionRun"),Pr(mN,"onTransitionStart"),Pr(gN,"onTransitionCancel"),Pr(V0,"onTransitionEnd"),Qo("onMouseEnter",["mouseout","mouseover"]),Qo("onMouseLeave",["mouseout","mouseover"]),Qo("onPointerEnter",["pointerout","pointerover"]),Qo("onPointerLeave",["pointerout","pointerover"]),Ji("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ji("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ji("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ji("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ji("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ji("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _c="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(" "),JN=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(_c));function h_(r,i){i=(i&4)!==0;for(var s=0;s<r.length;s++){var u=r[s],h=u.event;u=u.listeners;e:{var g=void 0;if(i)for(var _=u.length-1;0<=_;_--){var k=u[_],z=k.instance,W=k.currentTarget;if(k=k.listener,z!==g&&h.isPropagationStopped())break e;g=k,h.currentTarget=W;try{g(h)}catch(Z){cd(Z)}h.currentTarget=null,g=z}else for(_=0;_<u.length;_++){if(k=u[_],z=k.instance,W=k.currentTarget,k=k.listener,z!==g&&h.isPropagationStopped())break e;g=k,h.currentTarget=W;try{g(h)}catch(Z){cd(Z)}h.currentTarget=null,g=z}}}}function We(r,i){var s=i[Hl];s===void 0&&(s=i[Hl]=new Set);var u=r+"__bubble";s.has(u)||(m_(i,r,2,!1),s.add(u))}function cg(r,i,s){var u=0;i&&(u|=4),m_(s,r,u,i)}var Kd="_reactListening"+Math.random().toString(36).slice(2);function ug(r){if(!r[Kd]){r[Kd]=!0,l0.forEach(function(s){s!=="selectionchange"&&(JN.has(s)||cg(s,!1,r),cg(s,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[Kd]||(i[Kd]=!0,cg("selectionchange",!1,i))}}function m_(r,i,s,u){switch(q_(i)){case 2:var h=Ck;break;case 8:h=Ok;break;default:h=Tg}s=h.bind(null,i,s,r),h=void 0,!Nh||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),u?h!==void 0?r.addEventListener(i,s,{capture:!0,passive:h}):r.addEventListener(i,s,!0):h!==void 0?r.addEventListener(i,s,{passive:h}):r.addEventListener(i,s,!1)}function dg(r,i,s,u,h){var g=u;if(!(i&1)&&!(i&2)&&u!==null)e:for(;;){if(u===null)return;var _=u.tag;if(_===3||_===4){var k=u.stateNode.containerInfo;if(k===h)break;if(_===4)for(_=u.return;_!==null;){var z=_.tag;if((z===3||z===4)&&_.stateNode.containerInfo===h)return;_=_.return}for(;k!==null;){if(_=Yo(k),_===null)return;if(z=_.tag,z===5||z===6||z===26||z===27){u=g=_;continue e}k=k.parentNode}}u=u.return}S0(function(){var W=g,Z=Oh(s),re=[];e:{var V=Y0.get(r);if(V!==void 0){var Q=od,ve=r;switch(r){case"keypress":if(ad(s)===0)break e;case"keydown":case"keyup":Q=W2;break;case"focusin":ve="focus",Q=Lh;break;case"focusout":ve="blur",Q=Lh;break;case"beforeblur":case"afterblur":Q=Lh;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Q=E0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=L2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=K2;break;case q0:case G0:case W0:Q=U2;break;case V0:Q=Q2;break;case"scroll":case"scrollend":Q=M2;break;case"wheel":Q=J2;break;case"copy":case"cut":case"paste":Q=P2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=T0;break;case"toggle":case"beforetoggle":Q=tN}var Te=(i&4)!==0,vt=!Te&&(r==="scroll"||r==="scrollend"),F=Te?V!==null?V+"Capture":null:V;Te=[];for(var B=W,G;B!==null;){var te=B;if(G=te.stateNode,te=te.tag,te!==5&&te!==26&&te!==27||G===null||F===null||(te=ql(B,F),te!=null&&Te.push(Ec(B,te,G))),vt)break;B=B.return}0<Te.length&&(V=new Q(V,ve,null,s,Z),re.push({event:V,listeners:Te}))}}if(!(i&7)){e:{if(V=r==="mouseover"||r==="pointerover",Q=r==="mouseout"||r==="pointerout",V&&s!==Ch&&(ve=s.relatedTarget||s.fromElement)&&(Yo(ve)||ve[xa]))break e;if((Q||V)&&(V=Z.window===Z?Z:(V=Z.ownerDocument)?V.defaultView||V.parentWindow:window,Q?(ve=s.relatedTarget||s.toElement,Q=W,ve=ve?Yo(ve):null,ve!==null&&(vt=l(ve),Te=ve.tag,ve!==vt||Te!==5&&Te!==27&&Te!==6)&&(ve=null)):(Q=null,ve=W),Q!==ve)){if(Te=E0,te="onMouseLeave",F="onMouseEnter",B="mouse",(r==="pointerout"||r==="pointerover")&&(Te=T0,te="onPointerLeave",F="onPointerEnter",B="pointer"),vt=Q==null?V:Fl(Q),G=ve==null?V:Fl(ve),V=new Te(te,B+"leave",Q,s,Z),V.target=vt,V.relatedTarget=G,te=null,Yo(Z)===W&&(Te=new Te(F,B+"enter",ve,s,Z),Te.target=G,Te.relatedTarget=vt,te=Te),vt=te,Q&&ve)t:{for(Te=ek,F=Q,B=ve,G=0,te=F;te;te=Te(te))G++;te=0;for(var Ee=B;Ee;Ee=Te(Ee))te++;for(;0<G-te;)F=Te(F),G--;for(;0<te-G;)B=Te(B),te--;for(;G--;){if(F===B||B!==null&&F===B.alternate){Te=F;break t}F=Te(F),B=Te(B)}Te=null}else Te=null;Q!==null&&g_(re,V,Q,Te,!1),ve!==null&&vt!==null&&g_(re,vt,ve,Te,!0)}}e:{if(V=W?Fl(W):window,Q=V.nodeName&&V.nodeName.toLowerCase(),Q==="select"||Q==="input"&&V.type==="file")var nt=D0;else if(k0(V))if(L0)nt=dN;else{nt=cN;var xe=lN}else Q=V.nodeName,!Q||Q.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?W&&Rh(W.elementType)&&(nt=D0):nt=uN;if(nt&&(nt=nt(r,W))){M0(re,nt,s,Z);break e}xe&&xe(r,V,W),r==="focusout"&&W&&V.type==="number"&&W.memoizedProps.value!=null&&Th(V,"number",V.value)}switch(xe=W?Fl(W):window,r){case"focusin":(k0(xe)||xe.contentEditable==="true")&&(rs=xe,$h=W,Zl=null);break;case"focusout":Zl=$h=rs=null;break;case"mousedown":Bh=!0;break;case"contextmenu":case"mouseup":case"dragend":Bh=!1,H0(re,s,Z);break;case"selectionchange":if(pN)break;case"keydown":case"keyup":H0(re,s,Z)}var ze;if(jh)e:{switch(r){case"compositionstart":var Xe="onCompositionStart";break e;case"compositionend":Xe="onCompositionEnd";break e;
vendor: 4,317 bytes, lines 48-49
48case"compositionupdate":Xe="onCompositionUpdate";break e}Xe=void 0}else ns?A0(r,s)&&(Xe="onCompositionEnd"):r==="keydown"&&s.keyCode===229&&(Xe="onCompositionStart");Xe&&(R0&&s.locale!=="ko"&&(ns||Xe!=="onCompositionStart"?Xe==="onCompositionEnd"&&ns&&(ze=x0()):(si=Z,kh="value"in si?si.value:si.textContent,ns=!0)),xe=Xd(W,Xe),0<xe.length&&(Xe=new w0(Xe,r,null,s,Z),re.push({event:Xe,listeners:xe}),ze?Xe.data=ze:(ze=N0(s),ze!==null&&(Xe.data=ze)))),(ze=rN?aN(r,s):iN(r,s))&&(Xe=Xd(W,"onBeforeInput"),0<Xe.length&&(xe=new w0("onBeforeInput","beforeinput",null,s,Z),re.push({event:xe,listeners:Xe}),xe.data=ze)),XN(re,r,W,s,Z)}h_(re,i)})}function Ec(r,i,s){return{instance:r,listener:i,currentTarget:s}}function Xd(r,i){for(var s=i+"Capture",u=[];r!==null;){var h=r,g=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||g===null||(h=ql(r,s),h!=null&&u.unshift(Ec(r,h,g)),h=ql(r,i),h!=null&&u.push(Ec(r,h,g))),r.tag===3)return u;r=r.return}return[]}function ek(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function g_(r,i,s,u,h){for(var g=i._reactName,_=[];s!==null&&s!==u;){var k=s,z=k.alternate,W=k.stateNode;if(k=k.tag,z!==null&&z===u)break;k!==5&&k!==26&&k!==27||W===null||(z=W,h?(W=ql(s,g),W!=null&&_.unshift(Ec(s,W,z))):h||(W=ql(s,g),W!=null&&_.push(Ec(s,W,z)))),s=s.return}_.length!==0&&r.push({event:i,listeners:_})}var tk=/\r\n?/g,nk=/\u0000|\uFFFD/g;function y_(r){return(typeof r=="string"?r:""+r).replace(tk,` 49`).replace(nk,"")}function v_(r,i){return i=y_(i),y_(r)===i}function yt(r,i,s,u,h,g){switch(s){case"children":typeof u=="string"?i==="body"||i==="textarea"&&u===""||Jo(r,u):(typeof u=="number"||typeof u=="bigint")&&i!=="body"&&Jo(r,""+u);break;case"className":ed(r,"class",u);break;case"tabIndex":ed(r,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":ed(r,s,u);break;case"style":v0(r,u,g);break;case"data":if(i!=="object"){ed(r,"data",u);break}case"src":case"href":if(u===""&&(i!=="a"||s!=="href")){r.removeAttribute(s);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){r.removeAttribute(s);break}u=nd(""+u),r.setAttribute(s,u);break;case"action":case"formAction":if(typeof u=="function"){r.setAttribute(s,"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 g=="function"&&(s==="formAction"?(i!=="input"&&yt(r,i,"name",h.name,h,null),yt(r,i,"formEncType",h.formEncType,h,null),yt(r,i,"formMethod",h.formMethod,h,null),yt(r,i,"formTarget",h.formTarget,h,null)):(yt(r,i,"encType",h.encType,h,null),yt(r,i,"method",h.method,h,null),yt(r,i,"target",h.target,h,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){r.removeAttribute(s);break}u=nd(""+u),r.setAttribute(s,u);break;case"onClick":u!=null&&(r.onclick=Ea);break;case"onScroll":u!=null&&We("scroll",r);break;case"onScrollEnd":u!=null&&We("scrollend",r);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(a(61));if(s=u.__html,s!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=s}}break;case"multiple":r.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":r.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){r.removeAttribute("xlink:href");break}s=nd(""+u),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?r.setAttribute(s,""+u):r.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?r.setAttribute(s,""):r.removeAttribute(s);break;case"capture":case"download":u===!0?r.setAttribute(s,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?r.setAttribute(s,u):r.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?r.setAttribute(s,u):r.removeAttribute(s);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?r.removeAttribute(s):r.setAttribute(s,u);break;case"popover":We("beforetoggle",r),We("toggle",r),Ju(r,"popover",u);break;case"xlinkActuate":_a(r,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":_a(r,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":_a(r,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":_a(r,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":_a(r,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":_a(r,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":_a(r,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":_a(r,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":_a(r,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Ju(r,"is",u);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=N2.get(s)||s,Ju(r,s,u))}}function fg(r,i,s,u,h,g){switch(s){case"style":v0(r,u,g);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(a(61));if(s=u.__html,s!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=s}}break;case"children":typeof u=="string"?Jo(r,u):(typeof u=="number"||typeof u=="bigint")&&Jo(r,""+u);break;case"onScroll":u!=null&&We("scroll",r);break;case"onScrollEnd":u!=null&&We("scrollend",r);break;case"onClick":u!=null&&(r.onclick=Ea);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!c0.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(h=s.endsWith("Capture"),i=s.slice(2,h?s.length-7:void 0),g=r[Sn]||null,g=g!=null?g[s]:null,typeof g=="function"&&r.removeEventListener(i,g,h),typeof u=="function")){typeof g!="function"&&g!==null&&(s in r?r[s]=null:r.hasAttribute(s)&&r.removeAttribute(s)),r.addEventListener(i,u,h);break e}s in r?r[s]=u:u===!0?r.setAttribute(s,""):Ju(r,s,u)}}}function Tn(r,i,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":We("error",r),We("load",r);var u=!1,h=!1,g;for(g in s)if(s.hasOwnProperty(g)){var _=s[g];if(_!=null)switch(g){case"src":u=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:yt(r,i,g,_,s,null)}}h&&yt(r,i,"srcSet",s.srcSet,s,null),u&&yt(r,i,"src",s.src,s,null);return;case"input":We("invalid",r);var k=g=_=h=null,z=null,W=null;for(u in s)if(s.hasOwnProperty(u)){var Z=s[u];if(Z!=null)switch(u){case"name":h=Z;break;case"type":_=Z;break;case"checked":z=Z;break;case"defaultChecked":W=Z;break;case"value":g=Z;break;case"defaultValue":k=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(a(137,i));break;default:yt(r,i,u,Z,s,null)}}h0(r,g,k,z,W,_,h,!1);return;case"select":We("invalid",r),u=_=g=null;for(h in s)if(s.hasOwnProperty(h)&&(k=s[h],k!=null))switch(h){case"value":g=k;break;case"defaultValue":_=k;break;case"multiple":u=k;default:yt(r,i,h,k,s,null)}i=g,s=_,r.multiple=!!u,i!=null?Zo(r,!!u,i,!1):s!=null&&Zo(r,!!u,s,!0);return;case"textarea":We("invalid",r),g=h=u=null;for(_ in s)if(s.hasOwnProperty(_)&&(k=s[_],k!=null))switch(_){case"value":u=k;break;case"defaultValue":h=k;break;case"children":g=k;break;case"dangerouslySetInnerHTML":if(k!=null)throw Error(a(91));break;default:yt(r,i,_,k,s,null)}g0(r,u,h,g);return;case"option":for(z in s)if(s.hasOwnProperty(z)&&(u=s[z],u!=null))switch(z){case"selected":r.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:yt(r,i,z,u,s,null)}return;case"dialog":We("beforetoggle",r),We("toggle",r),We("cancel",r),We("close",r);break;case"iframe":case"object":We("load",r);break;case"video":case"audio":for(u=0;
vendor: 5,849 bytes, line 49
49u<_c.length;u++)We(_c[u],r);break;case"image":We("error",r),We("load",r);break;case"details":We("toggle",r);break;case"embed":case"source":case"link":We("error",r),We("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(W in s)if(s.hasOwnProperty(W)&&(u=s[W],u!=null))switch(W){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:yt(r,i,W,u,s,null)}return;default:if(Rh(i)){for(Z in s)s.hasOwnProperty(Z)&&(u=s[Z],u!==void 0&&fg(r,i,Z,u,s,void 0));return}}for(k in s)s.hasOwnProperty(k)&&(u=s[k],u!=null&&yt(r,i,k,u,s,null))}function rk(r,i,s,u){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,g=null,_=null,k=null,z=null,W=null,Z=null;for(Q in s){var re=s[Q];if(s.hasOwnProperty(Q)&&re!=null)switch(Q){case"checked":break;case"value":break;case"defaultValue":z=re;default:u.hasOwnProperty(Q)||yt(r,i,Q,null,u,re)}}for(var V in u){var Q=u[V];if(re=s[V],u.hasOwnProperty(V)&&(Q!=null||re!=null))switch(V){case"type":g=Q;break;case"name":h=Q;break;case"checked":W=Q;break;case"defaultChecked":Z=Q;break;case"value":_=Q;break;case"defaultValue":k=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(a(137,i));break;default:Q!==re&&yt(r,i,V,Q,u,re)}}wh(r,_,k,z,W,Z,g,h);return;case"select":Q=_=k=V=null;for(g in s)if(z=s[g],s.hasOwnProperty(g)&&z!=null)switch(g){case"value":break;case"multiple":Q=z;default:u.hasOwnProperty(g)||yt(r,i,g,null,u,z)}for(h in u)if(g=u[h],z=s[h],u.hasOwnProperty(h)&&(g!=null||z!=null))switch(h){case"value":V=g;break;case"defaultValue":k=g;break;case"multiple":_=g;default:g!==z&&yt(r,i,h,g,u,z)}i=k,s=_,u=Q,V!=null?Zo(r,!!s,V,!1):!!u!=!!s&&(i!=null?Zo(r,!!s,i,!0):Zo(r,!!s,s?[]:"",!1));return;case"textarea":Q=V=null;for(k in s)if(h=s[k],s.hasOwnProperty(k)&&h!=null&&!u.hasOwnProperty(k))switch(k){case"value":break;case"children":break;default:yt(r,i,k,null,u,h)}for(_ in u)if(h=u[_],g=s[_],u.hasOwnProperty(_)&&(h!=null||g!=null))switch(_){case"value":V=h;break;case"defaultValue":Q=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(a(91));break;default:h!==g&&yt(r,i,_,h,u,g)}m0(r,V,Q);return;case"option":for(var ve in s)if(V=s[ve],s.hasOwnProperty(ve)&&V!=null&&!u.hasOwnProperty(ve))switch(ve){case"selected":r.selected=!1;break;default:yt(r,i,ve,null,u,V)}for(z in u)if(V=u[z],Q=s[z],u.hasOwnProperty(z)&&V!==Q&&(V!=null||Q!=null))switch(z){case"selected":r.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:yt(r,i,z,V,u,Q)}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 Te in s)V=s[Te],s.hasOwnProperty(Te)&&V!=null&&!u.hasOwnProperty(Te)&&yt(r,i,Te,null,u,V);for(W in u)if(V=u[W],Q=s[W],u.hasOwnProperty(W)&&V!==Q&&(V!=null||Q!=null))switch(W){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(a(137,i));break;default:yt(r,i,W,V,u,Q)}return;default:if(Rh(i)){for(var vt in s)V=s[vt],s.hasOwnProperty(vt)&&V!==void 0&&!u.hasOwnProperty(vt)&&fg(r,i,vt,void 0,u,V);for(Z in u)V=u[Z],Q=s[Z],!u.hasOwnProperty(Z)||V===Q||V===void 0&&Q===void 0||fg(r,i,Z,V,u,Q);return}}for(var F in s)V=s[F],s.hasOwnProperty(F)&&V!=null&&!u.hasOwnProperty(F)&&yt(r,i,F,null,u,V);for(re in u)V=u[re],Q=s[re],!u.hasOwnProperty(re)||V===Q||V==null&&Q==null||yt(r,i,re,V,u,Q)}function b_(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ak(){if(typeof performance.getEntriesByType=="function"){for(var r=0,i=0,s=performance.getEntriesByType("resource"),u=0;u<s.length;u++){var h=s[u],g=h.transferSize,_=h.initiatorType,k=h.duration;if(g&&k&&b_(_)){for(_=0,k=h.responseEnd,u+=1;u<s.length;u++){var z=s[u],W=z.startTime;if(W>k)break;var Z=z.transferSize,re=z.initiatorType;Z&&b_(re)&&(z=z.responseEnd,_+=Z*(z<k?1:(k-W)/(z-W)))}if(--u,i+=8*(g+_)/(h.duration/1e3),r++,10<r)break}}if(0<r)return i/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}var pg=null,hg=null;function Qd(r){return r.nodeType===9?r:r.ownerDocument}function S_(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function x_(r,i){if(r===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&i==="foreignObject"?0:r}function mg(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var gg=null;function ik(){var r=window.event;return r&&r.type==="popstate"?r===gg?!1:(gg=r,!0):(gg=null,!1)}var __=typeof setTimeout=="function"?setTimeout:void 0,ok=typeof clearTimeout=="function"?clearTimeout:void 0,E_=typeof Promise=="function"?Promise:void 0,sk=typeof queueMicrotask=="function"?queueMicrotask:typeof E_<"u"?function(r){return E_.resolve(null).then(r).catch(lk)}:__;function lk(r){setTimeout(function(){throw r})}function wi(r){return r==="head"}function w_(r,i){var s=i,u=0;do{var h=s.nextSibling;if(r.removeChild(s),h&&h.nodeType===8)if(s=h.data,s==="/$"||s==="/&"){if(u===0){r.removeChild(h),Ns(i);return}u--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")u++;else if(s==="html")wc(r.ownerDocument.documentElement);else if(s==="head"){s=r.ownerDocument.head,wc(s);for(var g=s.firstChild;g;){var _=g.nextSibling,k=g.nodeName;g[Ie]||k==="SCRIPT"||k==="STYLE"||k==="LINK"&&g.rel.toLowerCase()==="stylesheet"||s.removeChild(g),g=_}}else s==="body"&&wc(r.ownerDocument.body);s=h}while(s);Ns(i)}function T_(r,i){var s=r;r=0;do{var u=s.nextSibling;
vendor: 5,665 bytes, line 49
49if(s.nodeType===1?i?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(i?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),u&&u.nodeType===8)if(s=u.data,s==="/$"){if(r===0)break;r--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||r++;s=u}while(s)}function yg(r){var i=r.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var s=i;switch(i=i.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":yg(s),xn(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}r.removeChild(s)}}function ck(r,i,s,u){for(;r.nodeType===1;){var h=s;if(r.nodeName.toLowerCase()!==i.toLowerCase()){if(!u&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(u){if(!r[Ie])switch(i){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(g=r.getAttribute("rel"),g==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(g!==h.rel||r.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||r.getAttribute("title")!==(h.title==null?null:h.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(g=r.getAttribute("src"),(g!==(h.src==null?null:h.src)||r.getAttribute("type")!==(h.type==null?null:h.type)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&g&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(i==="input"&&r.type==="hidden"){var g=h.name==null?null:""+h.name;if(h.type==="hidden"&&r.getAttribute("name")===g)return r}else return r;if(r=Tr(r.nextSibling),r===null)break}return null}function uk(r,i,s){if(i==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!s||(r=Tr(r.nextSibling),r===null))return null;return r}function R_(r,i){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!i||(r=Tr(r.nextSibling),r===null))return null;return r}function vg(r){return r.data==="$?"||r.data==="$~"}function bg(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState!=="loading"}function dk(r,i){var s=r.ownerDocument;if(r.data==="$~")r._reactRetry=i;else if(r.data!=="$?"||s.readyState!=="loading")i();else{var u=function(){i(),s.removeEventListener("DOMContentLoaded",u)};s.addEventListener("DOMContentLoaded",u),r._reactRetry=u}}function Tr(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return r}var Sg=null;function C_(r){r=r.nextSibling;for(var i=0;r;){if(r.nodeType===8){var s=r.data;if(s==="/$"||s==="/&"){if(i===0)return Tr(r.nextSibling);i--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||i++}r=r.nextSibling}return null}function O_(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var s=r.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(i===0)return r;i--}else s!=="/$"&&s!=="/&"||i++}r=r.previousSibling}return null}function A_(r,i,s){switch(i=Qd(s),r){case"html":if(r=i.documentElement,!r)throw Error(a(452));return r;case"head":if(r=i.head,!r)throw Error(a(453));return r;case"body":if(r=i.body,!r)throw Error(a(454));return r;default:throw Error(a(451))}}function wc(r){for(var i=r.attributes;i.length;)r.removeAttributeNode(i[0]);xn(r)}var Rr=new Map,N_=new Set;function Zd(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Pa=K.d;K.d={f:fk,r:pk,D:hk,C:mk,L:gk,m:yk,X:bk,S:vk,M:Sk};function fk(){var r=Pa.f(),i=Fd();return r||i}function pk(r){var i=Ko(r);i!==null&&i.tag===5&&i.type==="form"?VS(i):Pa.r(r)}var Cs=typeof document>"u"?null:document;function k_(r,i,s){var u=Cs;if(u&&typeof i=="string"&&i){var h=vr(i);h='link[rel="'+r+'"][href="'+h+'"]',typeof s=="string"&&(h+='[crossorigin="'+s+'"]'),N_.has(h)||(N_.add(h),r={rel:r,crossOrigin:s,href:i},u.querySelector(h)===null&&(i=u.createElement("link"),Tn(i,"link",r),yn(i),u.head.appendChild(i)))}}function hk(r){Pa.D(r),k_("dns-prefetch",r,null)}function mk(r,i){Pa.C(r,i),k_("preconnect",r,i)}function gk(r,i,s){Pa.L(r,i,s);var u=Cs;if(u&&r&&i){var h='link[rel="preload"][as="'+vr(i)+'"]';i==="image"&&s&&s.imageSrcSet?(h+='[imagesrcset="'+vr(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(h+='[imagesizes="'+vr(s.imageSizes)+'"]')):h+='[href="'+vr(r)+'"]';var g=h;switch(i){case"style":g=Os(r);break;case"script":g=As(r)}Rr.has(g)||(r=y({rel:"preload",href:i==="image"&&s&&s.imageSrcSet?void 0:r,as:i},s),Rr.set(g,r),u.querySelector(h)!==null||i==="style"&&u.querySelector(Tc(g))||i==="script"&&u.querySelector(Rc(g))||(i=u.createElement("link"),Tn(i,"link",r),yn(i),u.head.appendChild(i)))}}function yk(r,i){Pa.m(r,i);var s=Cs;if(s&&r){var u=i&&typeof i.as=="string"?i.as:"script",h='link[rel="modulepreload"][as="'+vr(u)+'"][href="'+vr(r)+'"]',g=h;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=As(r)}if(!Rr.has(g)&&(r=y({rel:"modulepreload",href:r},i),Rr.set(g,r),s.querySelector(h)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Rc(g)))return}u=s.createElement("link"),Tn(u,"link",r),yn(u),s.head.appendChild(u)}}}function vk(r,i,s){Pa.S(r,i,s);var u=Cs;if(u&&r){var h=Xo(u).hoistableStyles,g=Os(r);i=i||"default";var _=h.get(g);if(!_){var k={loading:0,preload:null};if(_=u.querySelector(Tc(g)))k.loading=5;
vendor: 4,122 bytes, line 49
49else{r=y({rel:"stylesheet",href:r,"data-precedence":i},s),(s=Rr.get(g))&&xg(r,s);var z=_=u.createElement("link");yn(z),Tn(z,"link",r),z._p=new Promise(function(W,Z){z.onload=W,z.onerror=Z}),z.addEventListener("load",function(){k.loading|=1}),z.addEventListener("error",function(){k.loading|=2}),k.loading|=4,Jd(_,i,u)}_={type:"stylesheet",instance:_,count:1,state:k},h.set(g,_)}}}function bk(r,i){Pa.X(r,i);var s=Cs;if(s&&r){var u=Xo(s).hoistableScripts,h=As(r),g=u.get(h);g||(g=s.querySelector(Rc(h)),g||(r=y({src:r,async:!0},i),(i=Rr.get(h))&&_g(r,i),g=s.createElement("script"),yn(g),Tn(g,"link",r),s.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(h,g))}}function Sk(r,i){Pa.M(r,i);var s=Cs;if(s&&r){var u=Xo(s).hoistableScripts,h=As(r),g=u.get(h);g||(g=s.querySelector(Rc(h)),g||(r=y({src:r,async:!0,type:"module"},i),(i=Rr.get(h))&&_g(r,i),g=s.createElement("script"),yn(g),Tn(g,"link",r),s.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(h,g))}}function M_(r,i,s,u){var h=(h=ue.current)?Zd(h):null;if(!h)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(i=Os(s.href),s=Xo(h).hoistableStyles,u=s.get(i),u||(u={type:"style",instance:null,count:0,state:null},s.set(i,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){r=Os(s.href);var g=Xo(h).hoistableStyles,_=g.get(r);if(_||(h=h.ownerDocument||h,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(r,_),(g=h.querySelector(Tc(r)))&&!g._p&&(_.instance=g,_.state.loading=5),Rr.has(r)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Rr.set(r,s),g||xk(h,r,s,_.state))),i&&u===null)throw Error(a(528,""));return _}if(i&&u!==null)throw Error(a(529,""));return null;case"script":return i=s.async,s=s.src,typeof s=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=As(s),s=Xo(h).hoistableScripts,u=s.get(i),u||(u={type:"script",instance:null,count:0,state:null},s.set(i,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function Os(r){return'href="'+vr(r)+'"'}function Tc(r){return'link[rel="stylesheet"]['+r+"]"}function D_(r){return y({},r,{"data-precedence":r.precedence,precedence:null})}function xk(r,i,s,u){r.querySelector('link[rel="preload"][as="style"]['+i+"]")?u.loading=1:(i=r.createElement("link"),u.preload=i,i.addEventListener("load",function(){return u.loading|=1}),i.addEventListener("error",function(){return u.loading|=2}),Tn(i,"link",s),yn(i),r.head.appendChild(i))}function As(r){return'[src="'+vr(r)+'"]'}function Rc(r){return"script[async]"+r}function L_(r,i,s){if(i.count++,i.instance===null)switch(i.type){case"style":var u=r.querySelector('style[data-href~="'+vr(s.href)+'"]');if(u)return i.instance=u,yn(u),u;var h=y({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return u=(r.ownerDocument||r).createElement("style"),yn(u),Tn(u,"style",h),Jd(u,s.precedence,r),i.instance=u;case"stylesheet":h=Os(s.href);var g=r.querySelector(Tc(h));if(g)return i.state.loading|=4,i.instance=g,yn(g),g;u=D_(s),(h=Rr.get(h))&&xg(u,h),g=(r.ownerDocument||r).createElement("link"),yn(g);var _=g;return _._p=new Promise(function(k,z){_.onload=k,_.onerror=z}),Tn(g,"link",u),i.state.loading|=4,Jd(g,s.precedence,r),i.instance=g;case"script":return g=As(s.src),(h=r.querySelector(Rc(g)))?(i.instance=h,yn(h),h):(u=s,(h=Rr.get(g))&&(u=y({},s),_g(u,h)),r=r.ownerDocument||r,h=r.createElement("script"),yn(h),Tn(h,"link",u),r.head.appendChild(h),i.instance=h);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&!(i.state.loading&4)&&(u=i.instance,i.state.loading|=4,Jd(u,s.precedence,r));return i.instance}function Jd(r,i,s){for(var u=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=u.length?u[u.length-1]:null,g=h,_=0;_<u.length;_++){var k=u[_];
vendor: 1,762 bytes, line 49
49if(k.dataset.precedence===i)g=k;else if(g!==h)break}g?g.parentNode.insertBefore(r,g.nextSibling):(i=s.nodeType===9?s.head:s,i.insertBefore(r,i.firstChild))}function xg(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.title==null&&(r.title=i.title)}function _g(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.integrity==null&&(r.integrity=i.integrity)}var ef=null;function I_(r,i,s){if(ef===null){var u=new Map,h=ef=new Map;h.set(s,u)}else h=ef,u=h.get(s),u||(u=new Map,h.set(s,u));if(u.has(r))return u;for(u.set(r,null),s=s.getElementsByTagName(r),h=0;h<s.length;h++){var g=s[h];if(!(g[Ie]||g[en]||r==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var _=g.getAttribute(i)||"";_=r+_;var k=u.get(_);k?k.push(g):u.set(_,[g])}}return u}function j_(r,i,s){r=r.ownerDocument||r,r.head.insertBefore(s,i==="title"?r.querySelector("head > title"):null)}function _k(r,i,s){if(s===1||i.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return r=i.disabled,typeof i.precedence=="string"&&r==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function U_(r){return!(r.type==="stylesheet"&&!(r.state.loading&3))}function Ek(r,i,s,u){if(s.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&
vendor: 5,069 bytes, line 49
49!(s.state.loading&4)){if(s.instance===null){var h=Os(u.href),g=i.querySelector(Tc(h));if(g){i=g._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(r.count++,r=tf.bind(r),i.then(r,r)),s.state.loading|=4,s.instance=g,yn(g);return}g=i.ownerDocument||i,u=D_(u),(h=Rr.get(h))&&xg(u,h),g=g.createElement("link"),yn(g);var _=g;_._p=new Promise(function(k,z){_.onload=k,_.onerror=z}),Tn(g,"link",u),s.instance=g}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(s,i),(i=s.state.preload)&&!(s.state.loading&3)&&(r.count++,s=tf.bind(r),i.addEventListener("load",s),i.addEventListener("error",s))}}var Eg=0;function wk(r,i){return r.stylesheets&&r.count===0&&rf(r,r.stylesheets),0<r.count||0<r.imgCount?function(s){var u=setTimeout(function(){if(r.stylesheets&&rf(r,r.stylesheets),r.unsuspend){var g=r.unsuspend;r.unsuspend=null,g()}},6e4+i);0<r.imgBytes&&Eg===0&&(Eg=62500*ak());var h=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&rf(r,r.stylesheets),r.unsuspend)){var g=r.unsuspend;r.unsuspend=null,g()}},(r.imgBytes>Eg?50:800)+i);return r.unsuspend=s,function(){r.unsuspend=null,clearTimeout(u),clearTimeout(h)}}:null}function tf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)rf(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var nf=null;function rf(r,i){r.stylesheets=null,r.unsuspend!==null&&(r.count++,nf=new Map,i.forEach(Tk,r),nf=null,tf.call(r))}function Tk(r,i){if(!(i.state.loading&4)){var s=nf.get(r);if(s)var u=s.get(null);else{s=new Map,nf.set(r,s);for(var h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<h.length;g++){var _=h[g];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(s.set(_.dataset.precedence,_),u=_)}u&&s.set(null,u)}h=i.instance,_=h.getAttribute("data-precedence"),g=s.get(_)||u,g===u&&s.set(null,h),s.set(_,h),this.count++,u=tf.bind(this),h.addEventListener("load",u),h.addEventListener("error",u),g?g.parentNode.insertBefore(h,g.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(h,r.firstChild)),i.state.loading|=4}}var Cc={$$typeof:D,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function Rk(r,i,s,u,h,g,_,k,z){this.tag=1,this.containerInfo=r,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=$l(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$l(0),this.hiddenUpdates=$l(null),this.identifierPrefix=u,this.onUncaughtError=h,this.onCaughtError=g,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function z_(r,i,s,u,h,g,_,k,z,W,Z,re){return r=new Rk(r,i,s,_,z,W,Z,re,k),i=1,g===!0&&(i|=24),g=rr(3,null,null,i),r.current=g,g.stateNode=r,i=nm(),i.refCount++,r.pooledCache=i,i.refCount++,g.memoizedState={element:u,isDehydrated:s,cache:i},om(g),r}function P_(r){return r?(r=os,r):os}function $_(r,i,s,u,h,g){h=P_(h),u.context===null?u.context=h:u.pendingContext=h,u=pi(i),u.payload={element:s},g=g===void 0?null:g,g!==null&&(u.callback=g),s=hi(r,u,i),s!==null&&(Kn(s,r,i),ic(s,r,i))}function B_(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var s=r.retryLane;r.retryLane=s!==0&&s<i?s:i}}function wg(r,i){B_(r,i),(r=r.alternate)&&B_(r,i)}function H_(r){if(r.tag===13||r.tag===31){var i=ro(r,67108864);i!==null&&Kn(i,r,67108864),wg(r,67108864)}}function F_(r){if(r.tag===13||r.tag===31){var i=lr();i=Sa(i);var s=ro(r,i);s!==null&&Kn(s,r,i),wg(r,i)}}var af=!0;function Ck(r,i,s,u){var h=P.T;P.T=null;var g=K.p;try{K.p=2,Tg(r,i,s,u)}finally{K.p=g,P.T=h}}function Ok(r,i,s,u){var h=P.T;P.T=null;var g=K.p;try{K.p=8,Tg(r,i,s,u)}finally{K.p=g,P.T=h}}function Tg(r,i,s,u){if(af){var h=Rg(u);if(h===null)dg(r,i,u,of,s),G_(r,u);else if(Nk(h,r,i,s,u))u.stopPropagation();else if(G_(r,u),i&4&&-1<Ak.indexOf(r)){for(;h!==null;){var g=Ko(h);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var _=Jr(g.pendingLanes);if(_!==0){var k=g;for(k.pendingLanes|=2,k.entangledLanes|=2;_;){var z=1<<31-gn(_);k.entanglements[1]|=z,_&=~z}ra(g),!(ot&6)&&(Bd=Ye()+500,xc(0))}}break;case 31:case 13:k=ro(g,2),k!==null&&Kn(k,g,2),Fd(),wg(g,2)}if(g=Rg(u),g===null&&dg(r,i,u,of,s),g===h)break;h=g}h!==null&&u.stopPropagation()}else dg(r,i,u,null,s)}}function Rg(r){return r=Oh(r),Cg(r)}var of=null;function Cg(r){if(of=null,r=Yo(r),r!==null){var i=l(r);if(i===null)r=null;else{var s=i.tag;if(s===13){if(r=c(i),r!==null)return r;r=null}else if(s===31){if(r=d(i),r!==null)return r;r=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return of=r,null}function q_(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 3,289 bytes, line 49
49:case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"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"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"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(dn()){case On:return 2;case Hn:return 8;case tt:case Ne:return 32;case mn:return 268435456;default:return 32}default:return 32}}var Og=!1,Ti=null,Ri=null,Ci=null,Oc=new Map,Ac=new Map,Oi=[],Ak="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 G_(r,i){switch(r){case"focusin":case"focusout":Ti=null;break;case"dragenter":case"dragleave":Ri=null;break;case"mouseover":case"mouseout":Ci=null;break;case"pointerover":case"pointerout":Oc.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ac.delete(i.pointerId)}}function Nc(r,i,s,u,h,g){return r===null||r.nativeEvent!==g?(r={blockedOn:i,domEventName:s,eventSystemFlags:u,nativeEvent:g,targetContainers:[h]},i!==null&&(i=Ko(i),i!==null&&H_(i)),r):(r.eventSystemFlags|=u,i=r.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),r)}function Nk(r,i,s,u,h){switch(i){case"focusin":return Ti=Nc(Ti,r,i,s,u,h),!0;case"dragenter":return Ri=Nc(Ri,r,i,s,u,h),!0;case"mouseover":return Ci=Nc(Ci,r,i,s,u,h),!0;case"pointerover":var g=h.pointerId;return Oc.set(g,Nc(Oc.get(g)||null,r,i,s,u,h)),!0;case"gotpointercapture":return g=h.pointerId,Ac.set(g,Nc(Ac.get(g)||null,r,i,s,u,h)),!0}return!1}function W_(r){var i=Yo(r.target);if(i!==null){var s=l(i);if(s!==null){if(i=s.tag,i===13){if(i=c(s),i!==null){r.blockedOn=i,Vo(r.priority,function(){F_(s)});return}}else if(i===31){if(i=d(s),i!==null){r.blockedOn=i,Vo(r.priority,function(){F_(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){r.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}r.blockedOn=null}function sf(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var s=Rg(r.nativeEvent);if(s===null){s=r.nativeEvent;var u=new s.constructor(s.type,s);Ch=u,s.target.dispatchEvent(u),Ch=null}else return i=Ko(s),i!==null&&H_(i),r.blockedOn=s,!1;i.shift()}return!0}function V_(r,i,s){sf(r)&&s.delete(i)}function kk(){Og=!1,Ti!==null&&sf(Ti)&&(Ti=null),Ri!==null&&sf(Ri)&&(Ri=null),Ci!==null&&sf(Ci)&&(Ci=null),Oc.forEac
vendor: 4,814 bytes, lines 49-58
49h(V_),Ac.forEach(V_)}function lf(r,i){r.blockedOn===i&&(r.blockedOn=null,Og||(Og=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,kk)))}var cf=null;function Y_(r){cf!==r&&(cf=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){cf===r&&(cf=null);for(var i=0;i<r.length;i+=3){var s=r[i],u=r[i+1],h=r[i+2];if(typeof u!="function"){if(Cg(u||s)===null)continue;break}var g=Ko(s);g!==null&&(r.splice(i,3),i-=3,Rm(g,{pending:!0,data:h,method:s.method,action:u},u,h))}}))}function Ns(r){function i(z){return lf(z,r)}Ti!==null&&lf(Ti,r),Ri!==null&&lf(Ri,r),Ci!==null&&lf(Ci,r),Oc.forEach(i),Ac.forEach(i);for(var s=0;s<Oi.length;s++){var u=Oi[s];u.blockedOn===r&&(u.blockedOn=null)}for(;0<Oi.length&&(s=Oi[0],s.blockedOn===null);)W_(s),s.blockedOn===null&&Oi.shift();if(s=(r.ownerDocument||r).$$reactFormReplay,s!=null)for(u=0;u<s.length;u+=3){var h=s[u],g=s[u+1],_=h[Sn]||null;if(typeof g=="function")_||Y_(s);else if(_){var k=null;if(g&&g.hasAttribute("formAction")){if(h=g,_=g[Sn]||null)k=_.formAction;else if(Cg(h)!==null)continue}else k=_.action;typeof k=="function"?s[u+1]=k:(s.splice(u,3),u-=3),Y_(s)}}}function K_(){function r(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(_){return h=_})},focusReset:"manual",scroll:"manual"})}function i(){h!==null&&(h(),h=null),u||setTimeout(s,20)}function s(){if(!u&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,h=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(s,100),function(){u=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),h!==null&&(h(),h=null)}}}function Ag(r){this._internalRoot=r}uf.prototype.render=Ag.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(a(409));var s=i.current,u=lr();$_(s,u,r,i,null,null)},uf.prototype.unmount=Ag.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;$_(r.current,2,null,r,null,null),Fd(),i[xa]=null}};function uf(r){this._internalRoot=r}uf.prototype.unstable_scheduleHydration=function(r){if(r){var i=oi();r={blockedOn:null,target:r,priority:i};for(var s=0;s<Oi.length&&i!==0&&i<Oi[s].priority;s++);Oi.splice(s,0,r),s===0&&W_(r)}};var X_=t.version;if(X_!=="19.2.5")throw Error(a(527,X_,"19.2.5"));K.findDOMNode=function(r){var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=p(i),r=r!==null?m(r):null,r=r===null?null:r.stateNode,r};var Mk={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:P,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var df=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!df.isDisabled&&df.supportsFiber)try{Ur=df.inject(Mk),An=df}catch{}}return Mc.createRoot=function(r,i){if(!o(r))throw Error(a(299));var s=!1,u="",h=rx,g=ax,_=ix;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(u=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(g=i.onCaughtError),i.onRecoverableError!==void 0&&(_=i.onRecoverableError)),i=z_(r,1,!1,null,null,s,u,null,h,g,_,K_),r[xa]=i.current,ug(r),new Ag(i)},Mc.hydrateRoot=function(r,i,s){if(!o(r))throw Error(a(299));var u=!1,h="",g=rx,_=ax,k=ix,z=null;return s!=null&&(s.unstable_strictMode===!0&&(u=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onUncaughtError!==void 0&&(g=s.onUncaughtError),s.onCaughtError!==void 0&&(_=s.onCaughtError),s.onRecoverableError!==void 0&&(k=s.onRecoverableError),s.formState!==void 0&&(z=s.formState)),i=z_(r,1,!0,i,s??null,u,h,z,g,_,k,K_),i.context=P_(null),s=i.current,u=lr(),u=Sa(u),h=pi(u),h.callback=null,hi(s,h,u),s=u,i.current.lanes=s,ba(i,s),ra(i),r[xa]=i.current,ug(r),new uf(i)},Mc.version="19.2.5",Mc}var oE;function Bk(){if(oE)return Mg.exports;oE=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Mg.exports=$k(),Mg.exports}var Hk=Bk();const Fk=Ir(Hk);/** 50 * react-router v7.14.2 51 * 52 * Copyright (c) Remix Software Inc. 53 * 54 * This source code is licensed under the MIT license found in the 55 * LICENSE.md file in the root directory of this source tree. 56 * 57 * @license MIT 58 */var sE="popstate";function lE(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}
58function qk(e={}){function t(a,o){var p;let l=(p=o.state)==null?void 0:p.masked,{pathname:c,search:d,hash:f}=l||a.location;return Cy("",{pathname:c,search:d,hash:f},o.state&&o.state.usr||null,o.state&&o.state.key||"default",l?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function n(a,o){return typeof o=="string"?o:ou(o)}return Wk(t,n,null,e)}function zt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Nr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Gk(){return Math.random().toString(36).substring(2,10)}function cE(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Cy(e,t,n=null,a,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?xl(t):t,state:n,key:t&&t.key||a||Gk(),unstable_mask:o}}function ou({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function xl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let a=e.indexOf("?");a>=0&&(t.search=e.substring(a),e=e.substring(0,a)),e&&(t.pathname=e)}return t}function Wk(e,t,n,a={}){let{window:o=document.defaultView,v5Compat:l=!1}=a,c=o.history,d="POP",f=null,p=m();p==null&&(p=0,c.replaceState({...c.state,idx:p},""));function m(){return(c.state||{idx:null}).idx}function y(){d="POP";let C=m(),R=C==null?null:C-p;p=C,f&&f({action:d,location:S.location,delta:R})}function b(C,R){d="PUSH";let N=lE(C)?C:Cy(S.location,C,R);p=m()+1;let D=cE(N,p),L=S.createHref(N.unstable_mask||N);try{c.pushState(D,"",L)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;o.location.assign(L)}l&&f&&f({action:d,location:S.location,delta:1})}function x(C,R){d="REPLACE";let N=lE(C)?C:Cy(S.location,C,R);p=m();let D=cE(N,p),L=S.createHref(N.unstable_mask||N);c.replaceState(D,"",L),l&&f&&f({action:d,location:S.location,delta:0})}function E(C){return Vk(C)}let S={get action(){return d},get location(){return e(o,c)},listen(C){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(sE,y),f=C,()=>{o.removeEventListener(sE,y),f=null}},createHref(C){return t(o,C)},createURL:E,encodeLocation(C){let R=E(C);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:b,replace:x,go(C){return c.go(C)}};return S}function Vk(e,t=!1){let n="http://localhost";
58typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),zt(n,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:ou(e);return a=a.replace(/ $/,"%20"),!t&&a.startsWith("//")&&(a=n+a),new URL(a,n)}function HT(e,t,n="/"){return Yk(e,t,n,!1)}function Yk(e,t,n,a){let o=typeof t=="string"?xl(t):t,l=Ya(o.pathname||"/",n);if(l==null)return null;let c=FT(e);Kk(c);let d=null;for(let f=0;d==null&&f<c.length;++f){let p=oM(l);d=aM(c[f],p,a)}return d}function FT(e,t=[],n=[],a="",o=!1){let l=(c,d,f=o,p)=>{let m={relativePath:p===void 0?c.path||"":p,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(a)&&f)return;zt(m.relativePath.startsWith(a),`Absolute route path "${m.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(a.length)}let y=qr([a,m.relativePath]),b=n.concat(m);c.children&&c.children.length>0&&(zt(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),FT(c.children,t,b,y,f)),!(c.path==null&&!c.index)&&t.push({path:y,score:nM(y,c.index),routesMeta:b})};return e.forEach((c,d)=>{var f;if(c.path===""||!((f=c.path)!=null&&f.includes("?")))l(c,d);else for(let p of qT(c.path))l(c,d,!0,p)}),t}function qT(e){let t=e.split("/");if(t.length===0)return[];let[n,...a]=t,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(a.length===0)return o?[l,""]:[l];let c=qT(a.join("/")),d=[];return d.push(...c.map(f=>f===""?l:[l,f].join("/"))),o&&d.push(...c),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function Kk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:rM(t.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}var Xk=/^:[\w-]+$/,Qk=3,Zk=2,Jk=1,eM=10,tM=-2,uE=e=>e==="*";function nM(e,t){let n=e.split("/"),a=n.length;return n.some(uE)&&(a+=tM),t&&(a+=Zk),n.filter(o=>!uE(o)).reduce((o,l)=>o+(Xk.test(l)?Qk:l===""?Jk:eM),a)}function rM(e,t){return e.length===t.length&&e.slice(0,-1).every((a,o)=>a===t[o])?e[e.length-1]-t[t.length-1]:0}function aM(e,t,n=!1){let{routesMeta:a}=e,o={},l="/",c=[];for(let d=0;d<a.length;++d){let f=a[d],p=d===a.length-1,m=l==="/"?t:t.slice(l.length)||"/",y=Xf({path:f.relativePath,caseSensitive:f.caseSensitive,end:p},m),b=f.route;if(!y&&p&&n&&!a[a.length-1].route.index&&(y=Xf({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},m)),!y)return null;
58Object.assign(o,y.params),c.push({params:o,pathname:qr([l,y.pathname]),pathnameBase:uM(qr([l,y.pathnameBase])),route:b}),y.pathnameBase!=="/"&&(l=qr([l,y.pathnameBase]))}return c}function Xf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=iM(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let l=o[0],c=l.replace(/(.)\/+$/,"$1"),d=o.slice(1);return{params:a.reduce((p,{paramName:m,isOptional:y},b)=>{if(m==="*"){let E=d[b]||"";c=l.slice(0,l.length-E.length).replace(/(.)\/+$/,"$1")}const x=d[b];return y&&!x?p[m]=void 0:p[m]=(x||"").replace(/%2F/g,"/"),p},{}),pathname:l,pathnameBase:c,pattern:e}}function iM(e,t=!1,n=!0){Nr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let a=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,f,p,m)=>{if(a.push({paramName:d,isOptional:f!=null}),f){let y=m.charAt(p+c.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),a]}function oM(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Nr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ya(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,a=e.charAt(n);return a&&a!=="/"?null:e.slice(n)||"/"}var sM=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function lM(e,t="/"){let{pathname:n,search:a="",hash:o=""}=typeof e=="string"?xl(e):e,l;return n?(n=GT(n),n.startsWith("/")?l=dE(n.substring(1),"/"):l=dE(n,t)):l=t,{pathname:l,search:dM(a),hash:fM(o)}}function dE(e,t){let n=Qf(t).split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function jg(e,t,n,a){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function cM(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Nv(e){let t=cM(e);return t.map((n,a)=>a===t.length-1?n.pathname:n.pathnameBase)}function Rp(e,t,n,a=!1){let o;typeof e=="string"?o=xl(e):(o={...e},zt(!o.pathname||!o.pathname.includes("?"),jg("?","pathname","search",o)),zt(!o.pathname||!o.pathname.includes("#"),jg("#","pathname","hash",o)),zt(!o.search||!o.search.includes("#"),jg("#","search","hash",o)));let l=e===""||o.pathname==="",c=l?"/":o.pathname,d;if(c==null)d=n;else{let y=t.length-1;if(!a&&c.startsWith("..")){let b=c.split("/");for(;b[0]==="..";)b.shift(),y-=1;o.pathname=b.join("/")}d=y>=0?t[y]:"/"}let f=lM(o,d),p=c&&c!=="/"&&c.endsWith("/"),m=(l||c===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||m)&&(f.pathname+="/"),f}var GT=e=>e.replace(/\/\/+/g,"/"),qr=e=>GT(e.join("/")),Qf=e=>e.replace(/\/+$/,""),uM=e=>Qf(e).replace(/^\/*/,"/"),dM=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,fM=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,pM=class{constructor(e,t,n,a=!1){this.status=e,this.statusText=t||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function hM(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function mM(e){let t=e.map(n=>n.route.path).filter(Boolean);return qr(t)||"/"}var WT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function VT(e,t){let n=e;if(typeof n!="string"||!sM.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let a=n,o=!1;if(WT)try{let l=new URL(window.location.href),c=n.startsWith("//")?new URL(l.protocol+n):new URL(n),d=Ya(c.pathname,t);c.origin===l.origin&&d!=null?n=d+c.search+c.hash:o=!0}catch{Nr(!1,`<Link to="${n}">
58 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var YT=["POST","PUT","PATCH","DELETE"];new Set(YT);var gM=["GET",...YT];new Set(gM);var _l=T.createContext(null);_l.displayName="DataRouter";var Cp=T.createContext(null);Cp.displayName="DataRouterState";var KT=T.createContext(!1);function yM(){return T.useContext(KT)}var XT=T.createContext({isTransitioning:!1});XT.displayName="ViewTransition";var vM=T.createContext(new Map);vM.displayName="Fetchers";var bM=T.createContext(null);bM.displayName="Await";var mr=T.createContext(null);mr.displayName="Navigation";var Su=T.createContext(null);Su.displayName="Location";var Vr=T.createContext({outlet:null,matches:[],isDataRoute:!1});Vr.displayName="Route";var kv=T.createContext(null);kv.displayName="RouteError";var QT="REACT_ROUTER_ERROR",SM="REDIRECT",xM="ROUTE_ERROR_RESPONSE";function _M(e){if(e.startsWith(`${QT}:${SM}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function EM(e){if(e.startsWith(`${QT}:${xM}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new pM(t.status,t.statusText,t.data)}catch{}}function wM(e,{relative:t}={}){zt(El(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=T.useContext(mr),{hash:o,pathname:l,search:c}=xu(e,{relative:t}),d=l;return n!=="/"&&(d=l==="/"?n:qr([n,l])),a.createHref({pathname:d,search:c,hash:o})}function El(){return T.useContext(Su)!=null}function Vt(){return zt(El(),"useLocation() may be used only in the context of a <Router> component."),T.useContext(Su).location}var ZT="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function JT(e){T.useContext(mr).static||T.useLayoutEffect(e)}function Yr(){let{isDataRoute:e}=T.useContext(Vr);return e?UM():TM()}function TM(){zt(El(),"useNavigate() may be used only in the context of a <Router> component.");let e=T.useContext(_l),{basename:t,navigator:n}=T.useContext(mr),{matches:a}=T.useContext(Vr),{pathname:o}=Vt(),l=JSON.stringify(Nv(a)),c=T.useRef(!1);return JT(()=>{c.current=!0}),T.useCallback((f,p={})=>{if(Nr(c.current,ZT),!c.current)return;if(typeof f=="number"){n.go(f);return}let m=Rp(f,JSON.parse(l),o,p.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:qr([t,m.pathname])),(p.replace?n.replace:n.push)(m,p.state,p)},[t,n,l,o,e])}T.createContext(null);function Kr(){let{matches:e}=T.useContext(Vr),t=e[e.length-1];return(t==null?void 0:t.params)??{}}function xu(e,{relative:t}={}){let{matches:n}=T.useContext(Vr),{pathname:a}=Vt(),o=JSON.stringify(Nv(n));return T.useMemo(()=>Rp(e,JSON.parse(o),a,t==="path"),[e,o,a,t])}function RM(e,t){return eR(e,t)}function eR(e,t,n){var C;zt(El(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=T.useContext(mr),{matches:o}=T.useContext(Vr),l=o[o.length-1],c=l?l.params:{},d=l?l.pathname:"/",f=l?l.pathnameBase:"/",p=l&&l.route;{let R=p&&p.path||"";nR(d,!p||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${R}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 59 60Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let m=Vt(),y;if(t){let R=typeof t=="string"?xl(t):t;zt(f==="/"||((C=R.pathname)==null?void 0:C.startsWith(f)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${R.pathname}" was given in the \`location\` prop.`),y=R}else y=m;let b=y.pathname||"/",x=b;if(f!=="/"){let R=f.replace(/^\//,"").split("/");x="/"+b.replace(/^\//,"").split("/").slice(R.length).join("/")}let E=HT(e,{pathname:x});Nr(p||E!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Nr(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let S=kM(E&&E.map(R=>Object.assign({},R,{params:Object.assign({},c,R.params),pathname:qr([f,a.encodeLocation?a.encodeLocation(R.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?f:qr([f,a.encodeLocation?a.encodeLocation(R.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),o,n);return t&&S?T.createElement(Su.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...y},navigationType:"POP"}},S):S}function CM(){let e=jM(),t=hM(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:a},l={padding:"2px 4px",backgroundColor:a},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=T.createElement(T.Fragment,null,T.createElement("p",null,"ð¿ Hey developer ð"),T.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",T.createElement("code",{style:l},"ErrorBoundary")," or"," ",T.createElement("code",{style:l},"errorElement")," prop on your route.")),T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application
60Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},t),n?T.createElement("pre",{style:o},n):null,c)}var OM=T.createElement(CM,null),tR=class extends T.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=EM(e.digest);n&&(e=n)}let t=e!==void 0?T.createElement(Vr.Provider,{value:this.props.routeContext},T.createElement(kv.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?T.createElement(AM,{error:e},t):t}};tR.contextType=KT;var Ug=new WeakMap;function AM({children:e,error:t}){let{basename:n}=T.useContext(mr);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let a=_M(t.digest);if(a){let o=Ug.get(t);if(o)throw o;let l=VT(a.location,n);if(WT&&!Ug.get(t))if(l.isExternal||a.reloadDocument)window.location.href=l.absoluteURL||l.to;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(l.to,{replace:a.replace}));throw Ug.set(t,c),c}return T.createElement("meta",{httpEquiv:"refresh",content:`0;url=${l.absoluteURL||l.to}`})}}return e}function NM({routeContext:e,match:t,children:n}){let a=T.useContext(_l);return a&&a.static&&a.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=t.route.id),T.createElement(Vr.Provider,{value:e},n)}function kM(e,t=[],n){let a=n==null?void 0:n.state;if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(t.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let o=e,l=a==null?void 0:a.errors;if(l!=null){let m=o.findIndex(y=>y.route.id&&(l==null?void 0:l[y.route.id])!==void 0);zt(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),o=o.slice(0,Math.min(o.length,m+1))}let c=!1,d=-1;if(n&&a){c=a.renderFallback;for(let m=0;m<o.length;m++){let y=o[m];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(d=m),y.route.id){let{loaderData:b,errors:x}=a,E=y.route.loader&&!b.hasOwnProperty(y.route.id)&&(!x||x[y.route.id]===void 0);if(y.route.lazy||E){n.isStatic&&(c=!0),d>=0?o=o.slice(0,d+1):o=[o[0]];break}}}}let f=n==null?void 0:n.onError,p=a&&f?(m,y)=>{var b,x;f(m,{location:a.location,params:((x=(b=a.matches)==null?void 0:b[0])==null?void 0:x.params)??{},unstable_pattern:mM(a.matches),errorInfo:y})}:void 0;return o.reduceRight((m,y,b)=>{let x,E=!1,S=null,C=null;a&&(x=l&&y.route.id?l[y.route.id]:void 0,S=y.route.errorElement||OM,c&&(d<0&&b===0?(nR("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,C=null):d===b&&(E=!0,C=y.route.hydrateFallbackElement||null)));let R=t.concat(o.slice(0,b+1)),N=()=>{let D;return x?D=S:E?D=C:y.route.Component?D=T.createElement(y.route.Component,null):y.route.element?D=y.route.element:D=m,T.createElement(NM,{match:y,routeContext:{outlet:m,matches:R,isDataRoute:a!=null},children:D})};return a&&(y.route.ErrorBoundary||y.route.errorElement||b===0)?T.createElement(tR,{location:a.location,revalidation:a.revalidation,component:S,error:x,children:N(),routeC
60ontext:{outlet:null,matches:R,isDataRoute:!0},onError:p}):N()},null)}function Mv(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function MM(e){let t=T.useContext(_l);return zt(t,Mv(e)),t}function DM(e){let t=T.useContext(Cp);return zt(t,Mv(e)),t}function LM(e){let t=T.useContext(Vr);return zt(t,Mv(e)),t}function Dv(e){let t=LM(e),n=t.matches[t.matches.length-1];return zt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function IM(){return Dv("useRouteId")}function jM(){var a;let e=T.useContext(kv),t=DM("useRouteError"),n=Dv("useRouteError");return e!==void 0?e:(a=t.errors)==null?void 0:a[n]}function UM(){let{router:e}=MM("useNavigate"),t=Dv("useNavigate"),n=T.useRef(!1);return JT(()=>{n.current=!0}),T.useCallback(async(o,l={})=>{Nr(n.current,ZT),n.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:t,...l}))},[e,t])}var fE={};function nR(e,t,n){!t&&!fE[e]&&(fE[e]=!0,Nr(!1,n))}T.memo(zM);function zM({routes:e,future:t,state:n,isStatic:a,onError:o}){return eR(e,void 0,{state:n,isStatic:a,onError:o})}function PM({to:e,replace:t,state:n,relative:a}){zt(El(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=T.useContext(mr);Nr(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:l}=T.useContext(Vr),{pathname:c}=Vt(),d=Yr(),f=Rp(e,Nv(l),c,a==="path"),p=JSON.stringify(f);return T.useEffect(()=>{d(JSON.parse(p),{replace:t,state:n,relative:a})},[d,p,a,t,n]),null}function sn(e){zt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function $M({basename:e="/",children:t=null,location:n,navigationType:a="POP",navigator:o,static:l=!1,unstable_useTransitions:c}){zt(!El(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),f=T.useMemo(()=>({basename:d,navigator:o,static:l,unstable_useTransitions:c,future:{}}),[d,o,l,c]);typeof n=="string"&&(n=xl(n));let{pathname:p="/",search:m="",hash:y="",state:b=null,key:x="default",unstable_mask:E}=n,S=T.useMemo(()=>{let C=Ya(p,d);return C==null?null:{location:{pathname:C,search:m,hash:y,state:b,key:x,unstable_mask:E},navigationType:a}},[d,p,m,y,b,x,a,E]);
60return Nr(S!=null,`<Router basename="${d}"> is not able to match the URL "${p}${m}${y}" because it does not start with the basename, so the <Router> won't render anything.`),S==null?null:T.createElement(mr.Provider,{value:f},T.createElement(Su.Provider,{children:t,value:S}))}function BM({children:e,location:t}){return RM(Oy(e),t)}function Oy(e,t=[]){let n=[];return T.Children.forEach(e,(a,o)=>{if(!T.isValidElement(a))return;let l=[...t,o];if(a.type===T.Fragment){n.push.apply(n,Oy(a.props.children,l));return}zt(a.type===sn,`[${typeof a.type=="string"?a.type:a.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),zt(!a.props.index||!a.props.children,"An index route cannot have child routes.");let c={id:a.props.id||l.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(c.children=Oy(a.props.children,l)),n.push(c)}),n}var Lf="get",If="application/x-www-form-urlencoded";function Op(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function HM(e){return Op(e)&&e.tagName.toLowerCase()==="button"}function FM(e){return Op(e)&&e.tagName.toLowerCase()==="form"}function qM(e){return Op(e)&&e.tagName.toLowerCase()==="input"}function GM(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function WM(e,t){return e.button===0&&(!t||t==="_self")&&!GM(e)}function Ay(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let a=e[n];return t.concat(Array.isArray(a)?a.map(o=>[n,o]):[[n,a]])},[]))}function VM(e,t){let n=Ay(e);return t&&t.forEach((a,o)=>{n.has(o)||t.getAll(o).forEach(l=>{n.append(o,l)})}),n}var ff=null;function YM(){if(ff===null)try{new FormData(document.createElement("form"),0),ff=!1}catch{ff=!0}return ff}var KM=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function zg(e){return e!=null&&!KM.has(e)?(Nr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${If}"`),null):e}function XM(e,t){let n,a,o,l,c;if(FM(e)){let d=e.getAttribute("action");a=d?Ya(d,t):null,n=e.getAttribute("method")||Lf,o=zg(e.getAttribute("enctype"))||If,l=new FormData(e)}else if(HM(e)||qM(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||d.getAttribute("action");if(a=f?Ya(f,t):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||Lf,o=zg(e.getAttribute("formenctype"))||zg(d.getAttribute("enctype"))||If,l=new FormData(d,e),!YM()){let{name:p,type:m,value:y}=e;if(m==="image"){let b=p?`${p}.`:"";l.append(`${b}x`,"0"),l.append(`${b}y`,"0")}else p&&l.append(p,y)}}else{if(Op(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Lf,a=null,o=If,c=e}return l&&o==="text/plain"&&(c=l,l=void 0),{action:a,method:n.toLowerCase(),encType:o,formData:l,body:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Lv(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function rR(e,t,n,a){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${a}`:o.pathname=`${o.pathname}.${a}`:o.pathname==="/"?o.pathname=`_root.${a}`:t&&Ya(o.pathname,t)==="/"?o.pathname=`${Qf(t)}/_root.${a}`:o.pathname=`${Qf(o.pathname)}.${a}`,o}async function QM(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.
60isSpaMode,window.location.reload(),new Promise(()=>{})}}function ZM(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function JM(e,t,n){let a=await Promise.all(e.map(async o=>{let l=t.routes[o.route.id];if(l){let c=await QM(l,n);return c.links?c.links():[]}return[]}));return rD(a.flat(1).filter(ZM).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function pE(e,t,n,a,o,l){let c=(f,p)=>n[p]?f.route.id!==n[p].route.id:!0,d=(f,p)=>{var m;return n[p].pathname!==f.pathname||((m=n[p].route.path)==null?void 0:m.endsWith("*"))&&n[p].params["*"]!==f.params["*"]};return l==="assets"?t.filter((f,p)=>c(f,p)||d(f,p)):l==="data"?t.filter((f,p)=>{var y;let m=a.routes[f.route.id];if(!m||!m.hasLoader)return!1;if(c(f,p)||d(f,p))return!0;if(f.route.shouldRevalidate){let b=f.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((y=n[0])==null?void 0:y.params)||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function eD(e,t,{includeHydrateFallback:n}={}){return tD(e.map(a=>{let o=t.routes[a.route.id];if(!o)return[];let l=[o.module];return o.clientActionModule&&(l=l.concat(o.clientActionModule)),o.clientLoaderModule&&(l=l.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(l=l.concat(o.hydrateFallbackModule)),o.imports&&(l=l.concat(o.imports)),l}).flat(1))}function tD(e){return[...new Set(e)]}function nD(e){let t={},n=Object.keys(e).sort();for(let a of n)t[a]=e[a];return t}function rD(e,t){let n=new Set;return new Set(t),e.reduce((a,o)=>{let l=JSON.stringify(nD(o));return n.has(l)||(n.add(l),a.push({key:l,link:o})),a},[])}function Iv(){let e=T.useContext(_l);return Lv(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function aD(){let e=T.useContext(Cp);return Lv(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var jv=T.createContext(void 0);jv.displayName="FrameworkContext";function Uv(){let e=T.useContext(jv);return Lv(e,"You must render this element inside a <HydratedRouter> element"),e}function iD(e,t){let n=T.useContext(jv),[a,o]=T.useState(!1),[l,c]=T.useState(!1),{onFocus:d,onBlur:f,onMouseEnter:p,onMouseLeave:m,onTouchStart:y}=t,b=T.useRef(null);T.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let S=R=>{R.forEach(N=>{c(N.isIntersecting)})},C=new IntersectionObserver(S,{threshold:.5});return b.current&&C.observe(b.current),()=>{C.disconnect()}}},[e]),T.useEffect(()=>{if(a){let S=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(S)}}},[a]);let x=()=>{o(!0)},E=()=>{o(!1),c(!1)};return n?e!=="intent"?[l,b,{}]:[l,b,{onFocus:Dc(d,x),onBlur:Dc(f,E),onMouseEnter:Dc(p,x),onMouseLeave:Dc(m,E),onTouchStart:Dc(y,x)}]:[!1,b,{}]}function Dc(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function oD({page:e,...t}){let n=yM(),{router:a}=Iv(),o=T.useMemo(()=>HT(a.routes,e,a.basename),[a.routes,e,a.basename]);return o?n?T.createElement(lD,{page:e,matches:o,...t}):T.createElement(cD,{page:e,matches:o,...t}):null}function sD(e){let{manifest:t,routeModules:n}=Uv(),[a,o]=T.useState([]);return T.useEffect(()=>{let l=!1;return JM(e,t,n).then(c=>{l||o(c)}),()=>{l=!0}},[e,t,n]),a}function lD({page:e,matches:t,...n}){let a=Vt(),{future:o}=Uv(),{basename:l}=Iv(),c=T.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let d=rR(e,l,o.unstable_trailingSlashAwareDataRequests,"rsc"),f=!1,p=[];for(let m of t)typeof m.route.shouldRevalidate=="function"?f=!0:p.push(m.route.id);return f&&p.length>0&&d.searchParams.set("_routes",p.join(",")),[d.pathname+d.search]},[l,o.unstable_trailingSlashAwareDataRequests,e,a,t]);return T.createElement(T.Fragment,null,c.map(d=>T.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...n})))}function cD({page:e,matches:t,...n}){let a=Vt(),{future:o,manifest:l,routeModules:c}=Uv(),{basename:d}=Iv(),{loaderData:f,matches:p}=aD(),m=T.useMemo(()=>pE(e,t,p,l,a,"data"),[e,t,p,l,a]),y=T.useMemo(()=>pE(e,t,p,l,a,"assets"),[e,t,p,l,a]),b=T.useMemo(()=>
60{if(e===a.pathname+a.search+a.hash)return[];let S=new Set,C=!1;if(t.forEach(N=>{var L;let D=l.routes[N.route.id];!D||!D.hasLoader||(!m.some(O=>O.route.id===N.route.id)&&N.route.id in f&&((L=c[N.route.id])!=null&&L.shouldRevalidate)||D.hasClientLoader?C=!0:S.add(N.route.id))}),S.size===0)return[];let R=rR(e,d,o.unstable_trailingSlashAwareDataRequests,"data");return C&&S.size>0&&R.searchParams.set("_routes",t.filter(N=>S.has(N.route.id)).map(N=>N.route.id).join(",")),[R.pathname+R.search]},[d,o.unstable_trailingSlashAwareDataRequests,f,a,l,m,t,e,c]),x=T.useMemo(()=>eD(y,l),[y,l]),E=sD(y);return T.createElement(T.Fragment,null,b.map(S=>T.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...n})),x.map(S=>T.createElement("link",{key:S,rel:"modulepreload",href:S,...n})),E.map(({key:S,link:C})=>T.createElement("link",{key:S,nonce:n.nonce,...C,crossOrigin:C.crossOrigin??n.crossOrigin})))}function uD(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var dD=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{dD&&(window.__reactRouterVersion="7.14.2")}catch{}function fD({basename:e,children:t,unstable_useTransitions:n,window:a}){let o=T.useRef();o.current==null&&(o.current=qk({window:a,v5Compat:!0}));let l=o.current,[c,d]=T.useState({action:l.action,location:l.location}),f=T.useCallback(p=>{n===!1?d(p):T.startTransition(()=>d(p))},[n]);return T.useLayoutEffect(()=>l.listen(f),[l,f]),T.createElement($M,{basename:e,children:t,location:c.location,navigationType:c.action,navigator:l,unstable_useTransitions:n})}var aR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ja=T.forwardRef(function({onClick:t,discover:n="render",prefetch:a="none",relative:o,reloadDocument:l,replace:c,unstable_mask:d,state:f,target:p,to:m,preventScrollReset:y,viewTransition:b,unstable_defaultShouldRevalidate:x,...E},S){let{basename:C,navigator:R,unstable_useTransitions:N}=T.useContext(mr),D=typeof m=="string"&&aR.test(m),L=VT(m,C);m=L.to;let O=wM(m,{relative:o}),A=Vt(),w=null;if(d){let ee=Rp(d,[],A.unstable_mask?A.unstable_mask.pathname:"/",!0);C!=="/"&&(ee.pathname=ee.pathname==="/"?C:qr([C,ee.pathname])),w=R.createHref(ee)}let[M,I,$]=iD(a,E),Y=gD(m,{replace:c,unstable_mask:d,state:f,target:p,preventScrollReset:y,relative:o,viewTransition:b,unstable_defaultShouldRevalidate:x,unstable_useTransitions:N});function ne(ee){t&&t(ee),ee.defaultPrevented||Y(ee)}let se=!(L.isExternal||l),ae=T.createElement("a",{...E,...$,href:(se?w:void 0)||L.absoluteURL||O,onClick:se?ne:t,ref:uD(S,I),target:p,"data-discover":!D&&n==="render"?"true":void 0});return M&&!D?T.createElement(T.Fragment,null,ae,T.createElement(oD,{page:O})):ae});Ja.displayName="Link";var pD=T.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:a="",end:o=!1,style:l,to:c,viewTransition:d,children:f,...p},m){let y=xu(c,{relative:p.relative}),b=Vt(),x=T.useContext(Cp),{navigator:E,basename:S}=T.useContext(mr),C=x!=null&&xD(y)&&d===!0,R=E.encodeLocation?E.encodeLocation(y).pathname:y.pathname,N=b.pathname,D=x&&x.navigation&&x.navigation.location?x.navigation.location.pathname:null;n||(N=N.toLowerCase(),D=D?D.toLowerCase():null,R=R.toLowerCase()),D&&S&&(D=Ya(D,S)||D);const L=R!=="/"&&R.endsWith("/")?R.length-1:R.length;let O=N===R||!o&&N.startsWith(R)&&N.charAt(L)==="/",A=D!=null&&(D===R||!o&&D.startsWith(R)&&D.charAt(R.length)==="/"),w={isActive:O,isPending:A,isTransitioning:C},M=O?t:void 0,I;typeof a=="function"?I=a(w):I=[a,O?"active":null,A?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let $=typeof l=="function"?l(w):l;return T.createElement(Ja,{...p,"aria-current":M,className:I,ref:m,style:$,to:c,viewTransition:d},typeof f=="function"?f(w):f)});pD.displayName="NavLink";var hD=T.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:a,replace:o,state:l,method:c=Lf,action:d,onSubmit:f,relative:p,preventScrollReset:m,viewTransition:y,unstable_defaultShouldRevalidate:b,...x},E)=>{let{unstable_useTransitions:S}=T.useContext(mr),C=bD(),R=SD(d,{relative:p}
60),N=c.toLowerCase()==="get"?"get":"post",D=typeof d=="string"&&aR.test(d),L=O=>{if(f&&f(O),O.defaultPrevented)return;O.preventDefault();let A=O.nativeEvent.submitter,w=(A==null?void 0:A.getAttribute("formmethod"))||c,M=()=>C(A||O.currentTarget,{fetcherKey:t,method:w,navigate:n,replace:o,state:l,relative:p,preventScrollReset:m,viewTransition:y,unstable_defaultShouldRevalidate:b});S&&n!==!1?T.startTransition(()=>M()):M()};return T.createElement("form",{ref:E,method:N,action:R,onSubmit:a?f:L,...x,"data-discover":!D&&e==="render"?"true":void 0})});hD.displayName="Form";function mD(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function iR(e){let t=T.useContext(_l);return zt(t,mD(e)),t}function gD(e,{target:t,replace:n,unstable_mask:a,state:o,preventScrollReset:l,relative:c,viewTransition:d,unstable_defaultShouldRevalidate:f,unstable_useTransitions:p}={}){let m=Yr(),y=Vt(),b=xu(e,{relative:c});return T.useCallback(x=>{if(WM(x,t)){x.preventDefault();let E=n!==void 0?n:ou(y)===ou(b),S=()=>m(e,{replace:E,unstable_mask:a,state:o,preventScrollReset:l,relative:c,viewTransition:d,unstable_defaultShouldRevalidate:f});p?T.startTransition(()=>S()):S()}},[y,m,b,n,a,o,t,e,l,c,d,f,p])}function Io(e){Nr(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=T.useRef(Ay(e)),n=T.useRef(!1),a=Vt(),o=T.useMemo(()=>VM(a.search,n.current?null:t.current),[a.search]),l=Yr(),c=T.useCallback((d,f)=>{const p=Ay(typeof d=="function"?d(new URLSearchParams(o)):d);n.current=!0,l("?"+p,f)},[l,o]);return[o,c]}var yD=0,vD=()=>`__${String(++yD)}__`;function bD(){let{router:e}=iR("useSubmit"),{basename:t}=T.useContext(mr),n=IM(),a=e.fetch,o=e.navigate;return T.useCallback(async(l,c={})=>{let{action:d,method:f,encType:p,formData:m,body:y}=XM(l,t);if(c.navigate===!1){let b=c.fetcherKey||vD();await a(b,n,c.action||d,{unstable_defaultShouldRevalidate:c.unstable_defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:m,body:y,formMethod:c.method||f,formEncType:c.encType||p,flushSync:c.flushSync})}else await o(c.action||d,{unstable_defaultShouldRevalidate:c.unstable_defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:m,body:y,formMethod:c.method||f,formEncType:c.encType||p,replace:c.replace,state:c.state,fromRouteId:n,flushSync:c.flushSync,viewTransition:c.viewTransition})},[a,o,t,n])}function SD(e,{relative:t}={}){let{basename:n}=T.useContext(mr),a=T.useContext(Vr);zt(a,"useFormAction must be used inside a RouteContext");let[o]=a.matches.slice(-1),l={...xu(e||".",{relative:t})},c=Vt();if(e==null){l.search=c.search;let d=new URLSearchParams(l.search),f=d.getAll("index");if(f.some(m=>m==="")){d.delete("index"),f.filter(y=>y).forEach(y=>d.append("index",y));let m=d.toString();l.search=m?`?${m}`:""}}return(!e||e===".")&&o.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(l.pathname=l.pathname==="/"?n:qr([n,l.pathname])),ou(l)}function xD(e,{relative:t}={}){let n=T.useContext(XT);zt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=iR("useViewTransitionState"),o=xu(e,{relative:t});if(!n.isTransitioning)return!1;let l=Ya(n.currentLocation.pathname,a)||n.currentLocation.pathname,c=Ya(n.nextLocation.pathname,a)||n.nextLocation.pathname;return Xf(o.pathname,c)!=null||Xf(o.pathname,l)!=null}const su={black:"#000",white:"#fff"},ks={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ms={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Ds={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ls={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Is={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Lc={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},_D={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function nl(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const ED=Object.freeze(Object.defineProperty({__proto__:null,default:nl},Symbol.toStringTag,{value:"Module"})),Oo="$$material";function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},U.apply(null,arguments)}function Re(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function wD(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function TD(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var RD=function(){function e(n){var a=this;this._insertTag=function(o){var l;a.tags.length===0?a.insertionPoint?l=a.insertionPoint.nextSibling:a.prepend?l=a.container.firstChild:l=a.before:l=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(o,l),a.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(a){a.forEach(this._insertTag)},t.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(TD(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var l=wD(o);try{l.insertRule(a,l.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(a));this.ctr++}
vendor: 5,048 bytes, line 60
60,t.flush=function(){this.tags.forEach(function(a){var o;return(o=a.parentNode)==null?void 0:o.removeChild(a)}),this.tags=[],this.ctr=0},e}(),Mn="-ms-",Zf="-moz-",st="-webkit-",oR="comm",zv="rule",Pv="decl",CD="@import",sR="@keyframes",OD="@layer",AD=Math.abs,Ap=String.fromCharCode,ND=Object.assign;function kD(e,t){return Rn(e,0)^45?(((t<<2^Rn(e,0))<<2^Rn(e,1))<<2^Rn(e,2))<<2^Rn(e,3):0}function lR(e){return e.trim()}function MD(e,t){return(e=t.exec(e))?e[0]:e}function lt(e,t,n){return e.replace(t,n)}function Ny(e,t){return e.indexOf(t)}function Rn(e,t){return e.charCodeAt(t)|0}function lu(e,t,n){return e.slice(t,n)}function oa(e){return e.length}function $v(e){return e.length}function pf(e,t){return t.push(e),e}function DD(e,t){return e.map(t).join("")}var Np=1,rl=1,cR=0,Jn=0,cn=0,wl="";function kp(e,t,n,a,o,l,c){return{value:e,root:t,parent:n,type:a,props:o,children:l,line:Np,column:rl,length:c,return:""}}function Ic(e,t){return ND(kp("",null,null,"",null,null,0),e,{length:-e.length},t)}function LD(){return cn}function ID(){return cn=Jn>0?Rn(wl,--Jn):0,rl--,cn===10&&(rl=1,Np--),cn}function dr(){return cn=Jn<cR?Rn(wl,Jn++):0,rl++,cn===10&&(rl=1,Np++),cn}function pa(){return Rn(wl,Jn)}function jf(){return Jn}function _u(e,t){return lu(wl,e,t)}function cu(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function uR(e){return Np=rl=1,cR=oa(wl=e),Jn=0,[]}function dR(e){return wl="",e}function Uf(e){return lR(_u(Jn-1,ky(e===91?e+2:e===40?e+1:e)))}function jD(e){for(;(cn=pa())&&cn<33;)dr();return cu(e)>2||cu(cn)>3?"":" "}function UD(e,t){for(;--t&&dr()&&!(cn<48||cn>102||cn>57&&cn<65||cn>70&&cn<97););return _u(e,jf()+(t<6&&pa()==32&&dr()==32))}function ky(e){for(;dr();)switch(cn){case e:return Jn;case 34:case 39:e!==34&&e!==39&&ky(cn);break;case 40:e===41&&ky(e);break;case 92:dr();break}return Jn}function zD(e,t){for(;dr()&&e+cn!==57;)if(e+cn===84&&pa()===47)break;return"/*"+_u(t,Jn-1)+"*"+Ap(e===47?e:dr())}function PD(e){for(;!cu(pa());)dr();return _u(e,Jn)}function $D(e){return dR(zf("",null,null,null,[""],e=uR(e),0,[0],e))}function zf(e,t,n,a,o,l,c,d,f){for(var p=0,m=0,y=c,b=0,x=0,E=0,S=1,C=1,R=1,N=0,D="",L=o,O=l,A=a,w=D;C;)switch(E=N,N=dr()){case 40:if(E!=108&&Rn(w,y-1)==58){Ny(w+=lt(Uf(N),"&","&\f"),"&\f")!=-1&&(R=-1);break}case 34:case 39:case 91:w+=Uf(N);break;case 9:case 10:case 13:case 32:w+=jD(E);break;case 92:w+=UD(jf()-1,7);continue;case 47:switch(pa()){case 42:case 47:pf(BD(zD(dr(),jf()),t,n),f);break;default:w+="/"}break;case 123*S:d[p++]=oa(w)*R;case 125*S:case 59:case 0:switch(N){case 0:case 125:C=0;case 59+m:R==-1&&(w=lt(w,/\f/g,"")),x>0&&oa(w)-y&&pf(x>32?mE(w+";",a,n,y-1):mE(lt(w," ","")+";",a,n,y-2),f);break;case 59:w+=";";default:if(pf(A=hE(w,t,n,p,m,o,d,D,L=[],O=[],y),l),N===123)if(m===0)zf(w,t,A,A,L,l,y,d,O);else switch(b===99&&Rn(w,3)===110?100:b){case 100:case 108:case 109:case 115:zf(e,A,A,a&&pf(hE(e,A,A,0,0,o,d,D,o,L=[],y),O),o,O,y,d,a?L:O);break;default:zf(w,A,A,A,[""],O,0,d,O)}}p=m=x=0,S=R=1,D=w="",y=c;break;case 58:y=1+oa(w),x=E;default:if(S<1){if(N==123)--S;else if(N==125&&S++==0&&ID()==125)continue}switch(w+=Ap(N),N*S){case 38:R=m>0?1:(w+="\f",-1);break;case 44:d[p++]=(oa(w)-1)*R,R=1;break;case 64:pa()===45&&(w+=Uf(dr())),b=pa(),m=y=oa(D=w+=PD(jf())),N++;break;case 45:E===45&&oa(w)==2&&(S=0)}}return l}function hE(e,t,n,a,o,l,c,d,f,p,m){for(var y=o-1,b=o===0?l:[""],x=$v(b),E=0,S=0,C=0;E<a;++E)for(var R=0,N=lu(e,y+1,y=AD(S=c[E])),D=e;R<x;++R)(D=lR(S>0?b[R]+" "+N:lt(N,/&\f/g,b[R])))&&(f[C++]=D);return kp(e,t,n,o===0?zv:d,f,p,m)}function BD(e,t,n){return kp(e,t,n,oR,Ap(LD()),lu(e,2,-2),0)}function mE(e,t,n,a){return kp(e,t,n,Pv,lu(e,0,a),lu(e,a+1,-1),a)}function Xs(e,t){for(var n="",a=$v(e),o=0;o<a;o++)n+=t(e[o],o,e,t)||"";return n}function HD(e,t,n,a){switch(e.type){case OD:if(e.children.length)break;case CD:case Pv:return e.return=e.return||e.value;case oR:return"";case sR:return e.return=e.value+"{"+Xs(e.children,a)+"}";case zv:e.value=e.props.join(",")}return oa(n=Xs(e.children,a))?e.return=e.value+"{"+n+"}":""}function FD(e){var t=$v(e);return function(n,a,o,l){for(var c="",d=0;d<t;d++)c+=e[d](n,a,o,l)||"";return c}}function qD(e){return function(t){t.root||(t=t.return)&&e(t)}}function fR(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var GD=function(t,n,a){for(var o=0,l=0;o=l,l=pa(),o===38&&l===12&&(n[a]=1),!cu(l);)dr();return _u(t,Jn)},WD=function(t,n){var a=-1,o=44;do switch(cu(o)){case 0:o===38&&pa()===12&&(n[a]=1),t[a]+=GD(Jn-1,n,a);break;case 2:t[a]+=Uf(o);break;case 4:if(o===44){t[++a]=pa()===58?"&\f":"",n[a]=t[a].length;break}default:t[a]+=Ap(o)}while(o=dr());return t},VD=function(t,n){return dR(WD(uR(t),n))},gE=new WeakMap,YD=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,a=t.parent,o=t.column===a.column&&t.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;
vendor: 6,235 bytes, lines 60-67
60if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!gE.get(a))&&!o){gE.set(t,!0);for(var l=[],c=VD(n,l),d=a.props,f=0,p=0;f<c.length;f++)for(var m=0;m<d.length;m++,p++)t.props[p]=l[f]?c[f].replace(/&\f/g,d[m]):d[m]+" "+c[f]}}},KD=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function pR(e,t){switch(kD(e,t)){case 5103:return st+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return st+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return st+e+Zf+e+Mn+e+e;case 6828:case 4268:return st+e+Mn+e+e;case 6165:return st+e+Mn+"flex-"+e+e;case 5187:return st+e+lt(e,/(\w+).+(:[^]+)/,st+"box-$1$2"+Mn+"flex-$1$2")+e;case 5443:return st+e+Mn+"flex-item-"+lt(e,/flex-|-self/,"")+e;case 4675:return st+e+Mn+"flex-line-pack"+lt(e,/align-content|flex-|-self/,"")+e;case 5548:return st+e+Mn+lt(e,"shrink","negative")+e;case 5292:return st+e+Mn+lt(e,"basis","preferred-size")+e;case 6060:return st+"box-"+lt(e,"-grow","")+st+e+Mn+lt(e,"grow","positive")+e;case 4554:return st+lt(e,/([^-])(transform)/g,"$1"+st+"$2")+e;case 6187:return lt(lt(lt(e,/(zoom-|grab)/,st+"$1"),/(image-set)/,st+"$1"),e,"")+e;case 5495:case 3959:return lt(e,/(image-set\([^]*)/,st+"$1$`$1");case 4968:return lt(lt(e,/(.+:)(flex-)?(.*)/,st+"box-pack:$3"+Mn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+st+e+e;case 4095:case 3583:case 4068:case 2532:return lt(e,/(.+)-inline(.+)/,st+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(oa(e)-1-t>6)switch(Rn(e,t+1)){case 109:if(Rn(e,t+4)!==45)break;case 102:return lt(e,/(.+:)(.+)-([^]+)/,"$1"+st+"$2-$3$1"+Zf+(Rn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ny(e,"stretch")?pR(lt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Rn(e,t+1)!==115)break;case 6444:switch(Rn(e,oa(e)-3-(~Ny(e,"!important")&&10))){case 107:return lt(e,":",":"+st)+e;case 101:return lt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+st+(Rn(e,14)===45?"inline-":"")+"box$3$1"+st+"$2$3$1"+Mn+"$2box$3")+e}break;case 5936:switch(Rn(e,t+11)){case 114:return st+e+Mn+lt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return st+e+Mn+lt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return st+e+Mn+lt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return st+e+Mn+e+e}return e}var XD=function(t,n,a,o){if(t.length>-1&&!t.return)switch(t.type){case Pv:t.return=pR(t.value,t.length);break;case sR:return Xs([Ic(t,{value:lt(t.value,"@","@"+st)})],o);case zv:if(t.length)return DD(t.props,function(l){switch(MD(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xs([Ic(t,{props:[lt(l,/:(read-\w+)/,":"+Zf+"$1")]})],o);case"::placeholder":return Xs([Ic(t,{props:[lt(l,/:(plac\w+)/,":"+st+"input-$1")]}),Ic(t,{props:[lt(l,/:(plac\w+)/,":"+Zf+"$1")]}),Ic(t,{props:[lt(l,/:(plac\w+)/,Mn+"input-$1")]})],o)}return""})}},QD=[XD],hR=function(t){var n=t.key;if(n==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(S){var C=S.getAttribute("data-emotion");C.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var o=t.stylisPlugins||QD,l={},c,d=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var C=S.getAttribute("data-emotion").split(" "),R=1;R<C.length;R++)l[C[R]]=!0;d.push(S)});var f,p=[YD,KD];{var m,y=[HD,qD(function(S){m.insert(S)})],b=FD(p.concat(o,y)),x=function(C){return Xs($D(C),b)};f=function(C,R,N,D){m=N,x(C?C+"{"+R.styles+"}":R.styles),D&&(E.inserted[R.name]=!0)}}var E={key:n,sheet:new RD({key:n,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:l,registered:{},insert:f};return E.sheet.hydrate(d),E},Pg={exports:{}},dt={};/** @license React v16.13.1 61 * react-is.production.min.js 62 * 63 * Copyright (c) Facebook, Inc. and its affiliates. 64 * 65 * This source code is licensed under the MIT license found in the 66 * LICENSE file in the root directory of this source tree. 67 */var yE;function ZD(){if(yE)return dt;yE=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,E=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,R=e?Symbol.for("react.responder"):60118,N=e?Symbol.for("react.scope"):60119;function D(O){if(typeof O=="object"&&O!==null){var A=O.$$typeof;switch(A){case t:switch(O=O.type,O){case f:case p:case a:case l:case o:case y:return O;default:switch(O=O&&O.$$typeof,O){case d:case m:case E:case x:case c:return O;default:return A}}case n:return A}}}function L(O){return D(O)===p}return dt.AsyncMode=f,dt.ConcurrentMode=p,dt.ContextConsumer=d,dt.ContextProvider=c,dt.Element=t,dt.ForwardRef=m,dt.Fragment=a,dt.Lazy=E,dt.Memo=x,dt.Portal=n,dt.Profiler=l,dt.StrictMode=o,dt.Suspense=y,dt.isAsyncMode=function(O){return L(O)||D(O)===f},dt.isConcurrentMode=L,dt.isContextConsumer=function(O){return D(O)===d},dt.isContextProvider=function(O){return D(O)===c},dt.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===t},dt.isForwardRef=function(O){return D(O)===m},dt.isFragment=function(O){return D(O)===a},dt.isLazy=function(O){return D(O)===E},dt.isMemo=function(O){return D(O)===x},dt.isPortal=function(O){return D(O)===n},dt.isProfiler=function(O){return D(O)===l},dt.isStrictMode=function(O){return D(O)===o},dt.isSuspense=function(O){return D(O)===y},dt.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===a||O===p||O===l||O
vendor: 5,401 bytes, line 67
67===o||O===y||O===b||typeof O=="object"&&O!==null&&(O.$$typeof===E||O.$$typeof===x||O.$$typeof===c||O.$$typeof===d||O.$$typeof===m||O.$$typeof===C||O.$$typeof===R||O.$$typeof===N||O.$$typeof===S)},dt.typeOf=D,dt}var vE;function JD(){return vE||(vE=1,Pg.exports=ZD()),Pg.exports}var $g,bE;function eL(){if(bE)return $g;bE=1;var e=JD(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};l[e.ForwardRef]=a,l[e.Memo]=o;function c(E){return e.isMemo(E)?o:l[E.$$typeof]||t}var d=Object.defineProperty,f=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,b=Object.prototype;function x(E,S,C){if(typeof S!="string"){if(b){var R=y(S);R&&R!==b&&x(E,R,C)}var N=f(S);p&&(N=N.concat(p(S)));for(var D=c(E),L=c(S),O=0;O<N.length;++O){var A=N[O];if(!n[A]&&!(C&&C[A])&&!(L&&L[A])&&!(D&&D[A])){var w=m(S,A);try{d(E,A,w)}catch{}}}}return E}return $g=x,$g}eL();var tL=!0;function mR(e,t,n){var a="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(a+=o+" ")}),a}var Bv=function(t,n,a){var o=t.key+"-"+n.name;(a===!1||tL===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},Hv=function(t,n,a){Bv(t,n,a);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var l=n;do t.insert(n===l?"."+o:"",l,t.sheet,!0),l=l.next;while(l!==void 0)}};function nL(e){for(var t=0,n,a=0,o=e.length;o>=4;++a,o-=4)n=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(a+2)&255)<<16;case 2:t^=(e.charCodeAt(a+1)&255)<<8;case 1:t^=e.charCodeAt(a)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var rL={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},aL=/[A-Z]|^ms/g,iL=/_EMO_([^_]+?)_([^]*?)_EMO_/g,gR=function(t){return t.charCodeAt(1)===45},SE=function(t){return t!=null&&typeof t!="boolean"},Bg=fR(function(e){return gR(e)?e:e.replace(aL,"-$&").toLowerCase()}),xE=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(iL,function(a,o,l){return sa={name:o,styles:l,next:sa},o})}return rL[t]!==1&&!gR(t)&&typeof n=="number"&&n!==0?n+"px":n};function uu(e,t,n){if(n==null)return"";var a=n;if(a.__emotion_styles!==void 0)return a;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return sa={name:o.name,styles:o.styles,next:sa},o.name;var l=n;if(l.styles!==void 0){var c=l.next;if(c!==void 0)for(;c!==void 0;)sa={name:c.name,styles:c.styles,next:sa},c=c.next;var d=l.styles+";";return d}return oL(e,t,n)}case"function":{if(e!==void 0){var f=sa,p=n(e);return sa=f,uu(e,t,p)}break}}var m=n;if(t==null)return m;var y=t[m];return y!==void 0?y:m}function oL(e,t,n){var a="";if(Array.isArray(n))for(var o=0;o<n.length;o++)a+=uu(e,t,n[o])+";";else for(var l in n){var c=n[l];if(typeof c!="object"){var d=c;t!=null&&t[d]!==void 0?a+=l+"{"+t[d]+"}":SE(d)&&(a+=Bg(l)+":"+xE(l,d)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var f=0;f<c.length;f++)SE(c[f])&&(a+=Bg(l)+":"+xE(l,c[f])+";");else{var p=uu(e,t,c);switch(l){case"animation":case"animationName":{a+=Bg(l)+":"+p+";";break}default:a+=l+"{"+p+"}"}}}return a}var _E=/label:\s*([^\s;{]+)\s*(;|$)/g,sa;function Eu(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var a=!0,o="";sa=void 0;var l=e[0];if(l==null||l.raw===void 0)a=!1,o+=uu(n,t,l);else{var c=l;o+=c[0]}for(var d=1;d<e.length;d++)if(o+=uu(n,t,e[d]),a){var f=l;o+=f[d]}_E.lastIndex=0;for(var p="",m;(m=_E.exec(o))!==null;)p+="-"+m[1];var y=nL(o)+p;return{name:y,styles:o,next:sa}}var sL=function(t){return t()},yR=Ry.useInsertionEffect?Ry.useInsertionEffect:!1,vR=yR||sL,EE=yR||T.useLayoutEffect,bR=T.createContext(typeof HTMLElement<"u"?hR({key:"css"}):null),lL=bR.Provider,Fv=function(t){return T.forwardRef(function(n,a){var o=T.useContext(bR);return t(n,o,a)})},Tl=T.createContext({}),qv={}.hasOwnProperty,My="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",cL=function(t,n){var a={};for(var o in n)qv.call(n,o)&&(a[o]=n[o]);return a[My]=t,a},uL=function(t){var n=t.cache,a=t.serialized,o=t.isStringTag;return Bv(n,a,o),vR(function(){return Hv(n,a,o)}),null},dL=Fv(function(e,t,n){var a=e.css;
vendor: 6,834 bytes, line 67
67typeof a=="string"&&t.registered[a]!==void 0&&(a=t.registered[a]);var o=e[My],l=[a],c="";typeof e.className=="string"?c=mR(t.registered,l,e.className):e.className!=null&&(c=e.className+" ");var d=Eu(l,void 0,T.useContext(Tl));c+=t.key+"-"+d.name;var f={};for(var p in e)qv.call(e,p)&&p!=="css"&&p!==My&&(f[p]=e[p]);return f.className=c,n&&(f.ref=n),T.createElement(T.Fragment,null,T.createElement(uL,{cache:t,serialized:d,isStringTag:typeof o=="string"}),T.createElement(o,f))}),fL=dL,wE=function(t,n){var a=arguments;if(n==null||!qv.call(n,"css"))return T.createElement.apply(void 0,a);var o=a.length,l=new Array(o);l[0]=fL,l[1]=cL(t,n);for(var c=2;c<o;c++)l[c]=a[c];return T.createElement.apply(null,l)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(wE||(wE={}));var pL=Fv(function(e,t){var n=e.styles,a=Eu([n],void 0,T.useContext(Tl)),o=T.useRef();return EE(function(){var l=t.key+"-global",c=new t.sheet.constructor({key:l,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),d=!1,f=document.querySelector('style[data-emotion="'+l+" "+a.name+'"]');return t.sheet.tags.length&&(c.before=t.sheet.tags[0]),f!==null&&(d=!0,f.setAttribute("data-emotion",l),c.hydrate([f])),o.current=[c,d],function(){c.flush()}},[t]),EE(function(){var l=o.current,c=l[0],d=l[1];if(d){l[1]=!1;return}if(a.next!==void 0&&Hv(t,a.next,!0),c.tags.length){var f=c.tags[c.tags.length-1].nextElementSibling;c.before=f,c.flush()}t.insert("",a,c,!1)},[t,a.name]),null});function jo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Eu(t)}function ei(){var e=jo.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var hL=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,mL=fR(function(e){return hL.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),gL=mL,yL=function(t){return t!=="theme"},TE=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?gL:yL},RE=function(t,n,a){var o;if(n){var l=n.shouldForwardProp;o=t.__emotion_forwardProp&&l?function(c){return t.__emotion_forwardProp(c)&&l(c)}:l}return typeof o!="function"&&a&&(o=t.__emotion_forwardProp),o},vL=function(t){var n=t.cache,a=t.serialized,o=t.isStringTag;return Bv(n,a,o),vR(function(){return Hv(n,a,o)}),null},bL=function e(t,n){var a=t.__emotion_real===t,o=a&&t.__emotion_base||t,l,c;n!==void 0&&(l=n.label,c=n.target);var d=RE(t,n,a),f=d||TE(o),p=!f("as");return function(){var m=arguments,y=a&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&y.push("label:"+l+";"),m[0]==null||m[0].raw===void 0)y.push.apply(y,m);else{var b=m[0];y.push(b[0]);for(var x=m.length,E=1;E<x;
67E++)y.push(m[E],b[E])}var S=Fv(function(C,R,N){var D=p&&C.as||o,L="",O=[],A=C;if(C.theme==null){A={};for(var w in C)A[w]=C[w];A.theme=T.useContext(Tl)}typeof C.className=="string"?L=mR(R.registered,O,C.className):C.className!=null&&(L=C.className+" ");var M=Eu(y.concat(O),R.registered,A);L+=R.key+"-"+M.name,c!==void 0&&(L+=" "+c);var I=p&&d===void 0?TE(D):f,$={};for(var Y in C)p&&Y==="as"||I(Y)&&($[Y]=C[Y]);return $.className=L,N&&($.ref=N),T.createElement(T.Fragment,null,T.createElement(vL,{cache:R,serialized:M,isStringTag:typeof D=="string"}),T.createElement(D,$))});return S.displayName=l!==void 0?l:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=o,S.__emotion_styles=y,S.__emotion_forwardProp=d,Object.defineProperty(S,"toString",{value:function(){return"."+c}}),S.withComponent=function(C,R){var N=e(C,U({},n,R,{shouldForwardProp:RE(S,R,!0)}));return N.apply(void 0,y)},S}},SL=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Dy=bL.bind(null);SL.forEach(function(e){Dy[e]=Dy(e)});function xL(e,t){const n=hR({key:"css",prepend:e});if(t){const a=n.insert;n.insert=(...o)=>(o[1].styles.match(/^@layer\s+[^{]*$/)||(o[1].styles=`@layer mui {${o[1].styles}}`),a(...o))}return n}const Hg=new Map;function _L(e){const{injectFirst:t,enableCssLayer:n,children:a}=e,o=T.useMemo(()=>{const l=`${t}-${n}`;if(typeof document=="object"&&Hg.has(l))return Hg.get(l);const c=xL(t,n);return Hg.set(l,c),c},[t,n]);return t||n?v.jsx(lL,{value:o,children:a}):a}function EL(e){return e==null||Object.keys(e).length===0}function SR(e){const{styles:t,defaultTheme:n={}}=e,a=typeof t=="function"?o=>t(EL(o)?n:o):t;return v.jsx(pL,{styles:a})}function Gv(e,t){return Dy(e,t)}const xR=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},CE=[];function Jf(e){return CE[0]=e,Eu(CE)}const wL=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:SR,StyledEngineProvider:_L,ThemeContext:Tl,css:jo,default:Gv,internal_processStyles:xR,internal_serializeStyles:Jf,keyframes:ei},Symbol.toStringTag,{value:"Module"}));function qa(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function _R(e){if(T.isValidElement(e)||!qa(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=_R(e[n])}),t}function ha(e,t,n={clone:!0}){const a=n.clone?U({},e):e;return qa(e)&&qa(t)&&Object.keys(t).forEach(o=>{T.isValidElement(t[o])?a[o]=t[o]:qa(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&qa(e[o])?a[o]=ha(e[o],t[o],n):n.clone?a[o]=qa(t[o])?_R(t[o]):t[o]:a[o]=t[o]}),a}const TL=Object.freeze(Object.defineProperty({__proto__:null,default:ha,isPlainObject:qa},Symbol.toStringTag,{value:"Module"})),RL=["values","unit","step"],CL=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,a)=>n.val-a.val),t.reduce((n,a)=>U({},n,{[a.key]:a.val}),{})};function ER(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:a=5}=e,o=Re(e,RL),l=CL(t),c=Object.keys(l);function d(b){return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n})`}function f(b){return`@media (max-width:${(typeof t[b]=="number"?t[b]:b)-a/100}${n})`}function p(b,x){const E=c.indexOf(x);return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n}) and (max-width:${(E!==-1&&typeof t[c[E]]=="number"?t[c[E]]:x)-a/100}${n})`}function m(b){return c.indexOf(b)+1<c.length?p(b,c[c.indexOf(b)+1]):d(b)}function y(b){const x=c.indexOf(b);return x===0?d(c[1]):x===c.length-1?f(c[x]):p(b,c[c.indexOf(b)+1]).replace("@media","@media not all and")}return U({keys:c,values:l,up:d,down:f,between:p,only:m,not:y,unit:n},o)}const OL={borderRadius:4};function Zc(e,t){return t?ha(e,t,{clone:!1}):e}const Wv={xs:0,sm:600,md:900,lg:1200,xl:1536},OE={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Wv[e]}px)`};function kr(e,t,n){const a=e.theme||{};if(Array.isArray(t)){const l=a.breakpoints||OE;return t.reduce((c,d,f)=>(c[l.up(l.keys[f])]=n(t[f]),c),{})}if(typeof t=="object"){const l=a.breakpoints||OE;return Object.keys(t).reduce((c,d)=>
67{if(Object.keys(l.values||Wv).indexOf(d)!==-1){const f=l.up(d);c[f]=n(t[d],d)}else{const f=d;c[f]=t[f]}return c},{})}return n(t)}function AL(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((a,o)=>{const l=e.up(o);return a[l]={},a},{}))||{}}function AE(e,t){return e.reduce((n,a)=>{const o=n[a];return(!o||Object.keys(o).length===0)&&delete n[a],n},t)}function NL(e,t){if(typeof e!="object")return{};const n={},a=Object.keys(t);return Array.isArray(e)?a.forEach((o,l)=>{l<e.length&&(n[o]=!0)}):a.forEach(o=>{e[o]!=null&&(n[o]=!0)}),n}function Mp({values:e,breakpoints:t,base:n}){const a=n||NL(e,t),o=Object.keys(a);if(o.length===0)return e;let l;return o.reduce((c,d,f)=>(Array.isArray(e)?(c[d]=e[f]!=null?e[f]:e[l],l=f):typeof e=="object"?(c[d]=e[d]!=null?e[d]:e[l],l=d):c[d]=e,c),{})}function ce(e){if(typeof e!="string")throw new Error(nl(7));return e.charAt(0).toUpperCase()+e.slice(1)}const kL=Object.freeze(Object.defineProperty({__proto__:null,default:ce},Symbol.toStringTag,{value:"Module"}));function Dp(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const a=`vars.${t}`.split(".").reduce((o,l)=>o&&o[l]?o[l]:null,e);if(a!=null)return a}return t.split(".").reduce((a,o)=>a&&a[o]!=null?a[o]:null,e)}function ep(e,t,n,a=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||a:o=Dp(e,n)||a,t&&(o=t(o,a,e)),o}function Jt(e){const{prop:t,cssProperty:n=e.prop,themeKey:a,transform:o}=e,l=c=>{if(c[t]==null)return null;const d=c[t],f=c.theme,p=Dp(f,a)||{};return kr(c,d,y=>{let b=ep(p,o,y);return y===b&&typeof y=="string"&&(b=ep(p,o,`${t}${y==="default"?"":ce(y)}`,y)),n===!1?b:{[n]:b}})};return l.propTypes={},l.filterProps=[t],l}function ML(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const DL={m:"margin",p:"padding"},LL={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},NE={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},IL=ML(e=>{if(e.length>2)if(NE[e])e=NE[e];else return[e];const[t,n]=e.split(""),a=DL[t],o=LL[n]||"";return Array.isArray(o)?o.map(l=>a+l):[a+o]}),Vv=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Yv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Vv,...Yv];function wu(e,t,n,a){var o;const l=(o=Dp(e,t,!1))!=null?o:n;return typeof l=="number"?c=>typeof c=="string"?c:l*c:Array.isArray(l)?c=>typeof c=="string"?c:l[c]:typeof l=="function"?l:()=>{}}function wR(e){return wu(e,"spacing",8)}function Tu(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),a=e(n);return t>=0?a:typeof a=="number"?-a:`-${a}`}function jL(e,t){return n=>e.reduce((a,o)=>(a[o]=Tu(t,n),a),{})}function UL(e,t,n,a){if(t.indexOf(n)===-1)return null;const o=IL(n),l=jL(o,a),c=e[n];return kr(e,c,l)}function TR(e,t){const n=wR(e.theme);return Object.keys(e).map(a=>UL(e,t,a,n)).reduce(Zc,{})}function Ft(e){return TR(e,Vv)}Ft.propTypes={};Ft.filterProps=Vv;function qt(e){return TR(e,Yv)}qt.propTypes={};qt.filterProps=Yv;function zL(e=8){if(e.mui)return e;const t=wR({spacing:e}),n=(...a)=>(a.length===0?[1]:a).map(l=>{const c=t(l);return typeof c=="number"?`${c}px`:c}).join(" ");return n.mui=!0,n}function Lp(...e){const t=e.reduce((a,o)=>(o.filterProps.forEach(l=>{a[l]=o}),a),{}),n=a=>Object.keys(a).reduce((o,l)=>t[l]?Zc(o,t[l](a)):o,{});return n.propTypes={},n.filterProps=e.reduce((a,o)=>a.concat(o.filterProps),[]),n}function Or(e){return typeof e!="number"?e:`${e}px solid`}function jr(e,t){return Jt({prop:e,themeKey:"borders",transform:t})}const PL=jr("border",Or),$L=jr("borderTop",Or),BL=jr("borderRight",Or),HL=jr("borderBottom",Or),FL=jr("borderLeft",Or),qL=jr("borderColor"),GL=jr("borderTopColor"),WL=jr("borderRightColor"),VL=jr("borderBottomColor"),YL=jr("borderLeftColor"),KL=jr("outline",Or),XL=jr("outlineColor"),Ip=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=wu(e.theme,"shape.borderRadius",4),n=a=>({borderRadius:Tu(t,a)});return kr(e,e.borderRadius,n)}return null};Ip.propTypes={};Ip.filterProps=["borderRadius"];Lp(PL,$L,BL,HL,FL,qL,GL,WL,VL,YL,Ip,KL,XL);const jp=e=>{if(e.gap!==void 0&&e.gap!==null){const t=wu(e.theme,"spacing",8),n=a=>({gap:Tu(t,a)});return kr(e,e.gap,n)}return null};jp.propTypes={};jp.filterProps=["gap"];const Up=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=wu(e.theme,"spacing",8),n=a=>({columnGap:Tu(t,a)});return kr(e,e.columnGap,n)}return null};Up.propTypes={};Up.filterProps=["columnGap"];const zp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=wu(e.theme,"spacing",8),n=a=>({rowGap:Tu(t,a)});return kr(e,e.rowGap,n)}return null};zp.propTypes={};zp.filterProps=["rowGap"];const QL=Jt({prop:"gridColumn"}),ZL=Jt({prop:"gridRow"}),JL=Jt({prop:"gridAutoFlow"}),eI=Jt({prop:"gridAutoColumns"}),tI=Jt({prop:"gridAutoRows"}),nI=Jt({prop:"gridTemplateColumns"}),rI=Jt({prop:"gridTemplateRows"}),aI=Jt({prop:"gridTemplateAreas"}
67),iI=Jt({prop:"gridArea"});Lp(jp,Up,zp,QL,ZL,JL,eI,tI,nI,rI,aI,iI);function Qs(e,t){return t==="grey"?t:e}const oI=Jt({prop:"color",themeKey:"palette",transform:Qs}),sI=Jt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Qs}),lI=Jt({prop:"backgroundColor",themeKey:"palette",transform:Qs});Lp(oI,sI,lI);function ur(e){return e<=1&&e!==0?`${e*100}%`:e}const cI=Jt({prop:"width",transform:ur}),Kv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var a,o;const l=((a=e.theme)==null||(a=a.breakpoints)==null||(a=a.values)==null?void 0:a[n])||Wv[n];return l?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${l}${e.theme.breakpoints.unit}`}:{maxWidth:l}:{maxWidth:ur(n)}};return kr(e,e.maxWidth,t)}return null};Kv.filterProps=["maxWidth"];const uI=Jt({prop:"minWidth",transform:ur}),dI=Jt({prop:"height",transform:ur}),fI=Jt({prop:"maxHeight",transform:ur}),pI=Jt({prop:"minHeight",transform:ur});Jt({prop:"size",cssProperty:"width",transform:ur});Jt({prop:"size",cssProperty:"height",transform:ur});const hI=Jt({prop:"boxSizing"});Lp(cI,Kv,uI,dI,fI,pI,hI);const Ru={border:{themeKey:"borders",transform:Or},borderTop:{themeKey:"borders",transform:Or},borderRight:{themeKey:"borders",transform:Or},borderBottom:{themeKey:"borders",transform:Or},borderLeft:{themeKey:"borders",transform:Or},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Or},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ip},color:{themeKey:"palette",transform:Qs},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Qs},backgroundColor:{themeKey:"palette",transform:Qs},p:{style:qt},pt:{style:qt},pr:{style:qt},pb:{style:qt},pl:{style:qt},px:{style:qt},py:{style:qt},padding:{style:qt},paddingTop:{style:qt},paddingRight:{style:qt},paddingBottom:{style:qt},paddingLeft:{style:qt},paddingX:{style:qt},paddingY:{style:qt},paddingInline:{style:qt},paddingInlineStart:{style:qt},paddingInlineEnd:{style:qt},paddingBlock:{style:qt},paddingBlockStart:{style:qt},paddingBlockEnd:{style:qt},m:{style:Ft},mt:{style:Ft},mr:{style:Ft},mb:{style:Ft},ml:{style:Ft},mx:{style:Ft},my:{style:Ft},margin:{style:Ft},marginTop:{style:Ft},marginRight:{style:Ft},marginBottom:{style:Ft},marginLeft:{style:Ft},marginX:{style:Ft},marginY:{style:Ft},marginInline:{style:Ft},marginInlineStart:{style:Ft},marginInlineEnd:{style:Ft},marginBlock:{style:Ft},marginBlockStart:{style:Ft},marginBlockEnd:{style:Ft},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jp},rowGap:{style:zp}
67,columnGap:{style:Up},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ur},maxWidth:{style:Kv},minWidth:{transform:ur},height:{transform:ur},maxHeight:{transform:ur},minHeight:{transform:ur},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function mI(...e){const t=e.reduce((a,o)=>a.concat(Object.keys(o)),[]),n=new Set(t);return e.every(a=>n.size===Object.keys(a).length)}function gI(e,t){return typeof e=="function"?e(t):e}function RR(){function e(n,a,o,l){const c={[n]:a,theme:o},d=l[n];if(!d)return{[n]:a};const{cssProperty:f=n,themeKey:p,transform:m,style:y}=d;if(a==null)return null;if(p==="typography"&&a==="inherit")return{[n]:a};const b=Dp(o,p)||{};return y?y(c):kr(c,a,E=>{let S=ep(b,m,E);return E===S&&typeof E=="string"&&(S=ep(b,m,`${n}${E==="default"?"":ce(E)}`,E)),f===!1?S:{[f]:S}})}function t(n){var a;const{sx:o,theme:l={},nested:c}=n||{};if(!o)return null;const d=(a=l.unstable_sxConfig)!=null?a:Ru;function f(p){let m=p;if(typeof p=="function")m=p(l);else if(typeof p!="object")return p;if(!m)return null;const y=AL(l.breakpoints),b=Object.keys(y);let x=y;return Object.keys(m).forEach(E=>{const S=gI(m[E],l);if(S!=null)if(typeof S=="object")if(d[E])x=Zc(x,e(E,S,l,d));else{const C=kr({theme:l},S,R=>({[E]:R}));mI(C,S)?x[E]=t({sx:S,theme:l,nested:!0}):x=Zc(x,C)}else x=Zc(x,e(E,S,l,d))}),!c&&l.modularCssLayers?{"@layer sx":AE(b,x)}:AE(b,x)}return Array.isArray(o)?o.map(f):f(o)}return t}const Rl=RR();Rl.filterProps=["sx"];function CR(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const yI=["breakpoints","palette","spacing","shape"];function Cu(e={},...t){const{breakpoints:n={},palette:a={},spacing:o,shape:l={}}=e,c=Re(e,yI),d=ER(n),f=zL(o);let p=ha({breakpoints:d,direction:"ltr",components:{},palette:U({mode:"light"},a),spacing:f,shape:U({},OL,l)},c);return p.applyStyles=CR,p=t.reduce((m,y)=>ha(m,y),p),p.unstable_sxConfig=U({},Ru,c==null?void 0:c.unstable_sxConfig),p.unstable_sx=function(y){return Rl({sx:y,theme:this})},p}const vI=Object.freeze(Object.defineProperty({__proto__:null,default:Cu,private_createBreakpoints:ER,unstable_applyStyles:CR},Symbol.toStringTag,{value:"Module"}));function bI(e){return Object.keys(e).length===0}function Pp(e=null){const t=T.useContext(Tl);return!t||bI(t)?e:t}const SI=Cu();function $p(e=SI){return Pp(e)}function Fg(e){const t=Jf(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function OR({styles:e,themeId:t,defaultTheme:n={}}){const a=$p(n),o=t&&a[t]||a;let l=typeof e=="function"?e(o):e;return o.modularCssLayers&&(Array.isArray(l)?l=l.map(c=>Fg(typeof c=="function"?c(o):c)):l=Fg(l)),v.jsx(SR,{styles:l})}const xI=["sx"],_I=e=>{var t,n;const a={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Ru;return Object.keys(e).forEach(l=>{o[l]?a.systemProps[l]=e[l]:a.otherProps[l]=e[l]}),a};function Bp(e){const{sx:t}=e,n=Re(e,xI),{systemProps:a,otherProps:o}=_I(n);let l;return Array.isArray(t)?l=[a,...t]:typeof t=="function"?l=(...c)=>{const d=t(...c);return qa(d)?U({},a,d):a}:l=U({},a,t),U({},o,{sx:l})}const EI=Object.freeze(Object.defineProperty({__proto__:null,default:Rl,extendSxProp:Bp,unstable_createStyleFunctionSx:RR,unstable_defaultSxConfig:Ru},Symbol.toStringTag,{value:"Module"})),kE=e=>e,wI=()=>{let e=kE;return{configure(t){e=t},generate(t){return e(t)},reset(){e=kE}}},Xv=wI();function AR(e){var t,n,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;
67t++)e[t]&&(n=AR(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}function De(){for(var e,t,n=0,a="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=AR(e))&&(a&&(a+=" "),a+=t);return a}const TI=["className","component"];function RI(e={}){const{themeId:t,defaultTheme:n,defaultClassName:a="MuiBox-root",generateClassName:o}=e,l=Gv("div",{shouldForwardProp:d=>d!=="theme"&&d!=="sx"&&d!=="as"})(Rl);return T.forwardRef(function(f,p){const m=$p(n),y=Bp(f),{className:b,component:x="div"}=y,E=Re(y,TI);return v.jsx(l,U({as:x,ref:p,className:De(b,o?o(a):a),theme:t&&m[t]||m},E))})}const NR={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function kt(e,t,n="Mui"){const a=NR[t];return a?`${n}-${a}`:`${Xv.generate(e)}-${t}`}function Mt(e,t,n="Mui"){const a={};return t.forEach(o=>{a[o]=kt(e,o,n)}),a}var qg={exports:{}},bt={};/** 68 * @license React 69 * react-is.production.js 70 * 71 * Copyright (c) Meta Platforms, Inc. and affiliates. 72 * 73 * This source code is licensed under the MIT license found in the 74 * LICENSE file in the root directory of this source tree. 75 */var ME;function CI(){if(ME)return bt;ME=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function E(S){if(typeof S=="object"&&S!==null){var C=S.$$typeof;switch(C){case e:switch(S=S.type,S){case n:case o:case a:case f:case p:case b:return S;default:switch(S=S&&S.$$typeof,S){case c:case d:case y:case m:return S;case l:return S;default:return C}}case t:return C}}}return bt.ContextConsumer=l,bt.ContextProvider=c,bt.Element=e,bt.ForwardRef=d,bt.Fragment=n,bt.Lazy=y,bt.Memo=m,bt.Portal=t,bt.Profiler=o,bt.StrictMode=a,bt.Suspense=f,bt.SuspenseList=p,bt.isContextConsumer=function(S){return E(S)===l},bt.isContextProvider=function(S){return E(S)===c},bt.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===e},bt.isForwardRef=function(S){return E(S)===d},bt.isFragment=function(S){return E(S)===n},bt.isLazy=function(S){return E(S)===y},bt.isMemo=function(S){return E(S)===m},bt.isPortal=function(S){return E(S)===t},bt.isProfiler=function(S){return E(S)===o},bt.isStrictMode=function(S){return E(S)===a},bt.isSuspense=function(S){return E(S)===f},bt.isSuspenseList=function(S){return E(S)===p},bt.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===n||S===o||S===a||S===f||S===p||typeof S=="object"&&S!==null&&(S.$$typeof===y||S.$$typeof===m||S.$$typeof===c||S.$$typeof===l||S.$$typeof===d||S.$$typeof===x||S.getModuleId!==void 0)},bt.typeOf=E,bt}var DE;function OI(){return DE||(DE=1,qg.exports=CI()),qg.exports}var LE=OI();const AI=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function kR(e){const t=`${e}`.match(AI);return t&&t[1]||""}function MR(e,t=""){return e.displayName||e.name||kR(e)||t}function IE(e,t,n){const a=MR(t);return e.displayName||(a!==""?`${n}(${a})`:n)}function NI(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return MR(e,"Component");if(typeof e=="object")switch(e.$$typeof){case LE.ForwardRef:return IE(e,e.render,"ForwardRef");case LE.Memo:return IE(e,e.type,"memo");default:return}}}const kI=Object.freeze(Object.defineProperty({__proto__:null,default:NI,getFunctionName:kR},Symbol.toStringTag,{value:"Module"})),MI=["ownerState"],DI=["variants"],LI=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function II(e){return Object.keys(e).length===0}function jI(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Gg(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}
75function jE(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const UI=Cu(),zI=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function hf({defaultTheme:e,theme:t,themeId:n}){return II(t)?e:t[n]||t}function PI(e){return e?(t,n)=>n[e]:null}function Pf(e,t,n){let{ownerState:a}=t,o=Re(t,MI);const l=typeof e=="function"?e(U({ownerState:a},o)):e;if(Array.isArray(l))return l.flatMap(c=>Pf(c,U({ownerState:a},o),n));if(l&&typeof l=="object"&&Array.isArray(l.variants)){const{variants:c=[]}=l;let f=Re(l,DI);return c.forEach(p=>{let m=!0;if(typeof p.props=="function"?m=p.props(U({ownerState:a},o,a)):Object.keys(p.props).forEach(y=>{(a==null?void 0:a[y])!==p.props[y]&&o[y]!==p.props[y]&&(m=!1)}),m){Array.isArray(f)||(f=[f]);const y=typeof p.style=="function"?p.style(U({ownerState:a},o,a)):p.style;f.push(n?jE(Jf(y),n):y)}}),f}return n?jE(Jf(l),n):l}function $I(e={}){const{themeId:t,defaultTheme:n=UI,rootShouldForwardProp:a=Gg,slotShouldForwardProp:o=Gg}=e,l=c=>Rl(U({},c,{theme:hf(U({},c,{defaultTheme:n,themeId:t}))}));return l.__mui_systemSx=!0,(c,d={})=>{xR(c,A=>A.filter(w=>!(w!=null&&w.__mui_systemSx)));const{name:f,slot:p,skipVariantsResolver:m,skipSx:y,overridesResolver:b=PI(zI(p))}=d,x=Re(d,LI),E=f&&f.startsWith("Mui")||p?"components":"custom",S=m!==void 0?m:p&&p!=="Root"&&p!=="root"||!1,C=y||!1;let R,N=Gg;p==="Root"||p==="root"?N=a:p?N=o:jI(c)&&(N=void 0);const D=Gv(c,U({shouldForwardProp:N,label:R},x)),L=A=>typeof A=="function"&&A.__emotion_real!==A||qa(A)?w=>{const M=hf({theme:w.theme,defaultTheme:n,themeId:t});return Pf(A,U({},w,{theme:M}),M.modularCssLayers?E:void 0)}:A,O=(A,...w)=>{let M=L(A);const I=w?w.map(L):[];f&&b&&I.push(ne=>{const se=hf(U({},ne,{defaultTheme:n,themeId:t}));if(!se.components||!se.components[f]||!se.components[f].styleOverrides)return null;const ae=se.components[f].styleOverrides,ee={};return Object.entries(ae).forEach(([P,K])=>{ee[P]=Pf(K,U({},ne,{theme:se}),se.modularCssLayers?"theme":void 0)}),b(ne,ee)}),f&&!S&&I.push(ne=>{var se;const ae=hf(U({},ne,{defaultTheme:n,themeId:t})),ee=ae==null||(se=ae.components)==null||(se=se[f])==null?void 0:se.variants;return Pf({variants:ee},U({},ne,{theme:ae}),ae.modularCssLayers?"theme":void 0)}),C||I.push(l);const $=I.length-w.length;if(Array.isArray(A)&&$>0){const ne=new Array($).fill("");M=[...A,...ne],M.raw=[...A.raw,...ne]}const Y=D(M,...I);return c.muiName&&(Y.muiName=c.muiName),Y};return D.withConfig&&(O.withConfig=D.withConfig),O}}const BI=$I();function Qv(e,t){const n=U({},t);return Object.keys(e).forEach(a=>{if(a.toString().match(/^(components|slots)$/))n[a]=U({},e[a],n[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){const o=e[a]||{},l=t[a];n[a]={},!l||!Object.keys(l)?n[a]=o:!o||!Object.keys(o)?n[a]=l:(n[a]=U({},l),Object.keys(o).forEach(c=>{n[a][c]=Qv(o[c],l[c])}))}else n[a]===void 0&&(n[a]=e[a])}),n}function DR(e){const{theme:t,name:n,props:a}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?a:Qv(t.components[n].defaultProps,a)}function LR({props:e,name:t,defaultTheme:n,themeId:a}){let o=$p(n);return a&&(o=o[a]||o),DR({theme:o,name:t,props:e})}const Wr=typeof window<"u"?T.useLayoutEffect:T.useEffect;function HI(e,t,n,a,o){const[l,c]=T.useState(()=>o&&n?n(e).matches:a?a(e).matches:t);return Wr(()=>{let d=!0;if(!n)return;const f=n(e),p=()=>{d&&c(f.matches)};return p(),f.addListener(p),()=>{d=!1,f.removeListener(p)}},[e,n]),l}const IR=T.useSyncExternalStore;function FI(e,t,n,a,o){const l=T.useCallback(()=>t,[t]),c=T.useMemo(()=>{if(o&&n)return()=>n(e).matches;if(a!==null){const{matches:m}=a(e);return()=>m}return l},[l,e,a,o,n]),[d,f]=T.useMemo(()=>{if(n===null)return[l,()=>()=>{}];const m=n(e);return[()=>m.matches,y=>(m.addListener(y),()=>{m.removeListener(y)})]},[l,n,e]);return IR(f,d,c)}function Hi(e,t={}){const n=Pp(),a=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:l=a?window.matchMedia:null,ssrMatchMedia:c=null,noSsr:d=!1}=DR({name:"MuiUseMediaQuery",props:t,theme:n});let f=typeof e=="function"?e(n):e;return f=f.replace(/^@media( ?)/m,""),(IR!==void 0?FI:HI)(f,o,l,c,d)}function qI(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const GI=Object.freeze(Object.defineProperty({__proto__:null,default:qI},Symbol.toStringTag,{value:"Module"}));function WI(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function jR(e,t=166){let n;function a(...o){const l=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(l,t)}return a.clear=()=>{clearTimeout(n)},a}function VI(e,t){return()=>null}function $f(e,t){var n,a;return T.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(a=e.type)==null||(a=a._payload)==null||(a=a.value)==null?void 0:a.muiName)!==-1}function wo(e){return e&&e.ownerDocument||document}function Ly(e){return wo(e).defaultView||window}function YI(e,t){return()=>null}function tp(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let UE=0;function KI(e){const[t,n]=T.useState(e),a=e||t;return T.useEffect(()=>{t==null&&(UE+=1,n(`mui-${UE}`))},[t]),a}const zE=Ry.useId;function Zv(e){if(zE!==void 0){const t=zE();return e??t}return KI(e)}function XI(e,t,n,a,o){return null}function UR({controlled:e,default:t,name:n,state:a="value"}){const{current:o}=T.useRef(e!==void 0),[l,c]=T.useState(t),d=o?e:l,f=T.useCallback(p=>{o||c(p)},[]);return[d,f]}function da(e){const t=T.useRef(e);return Wr(()=>{t.current=e}),T.useRef((...n)=>(0,t.current)(...n)).current}function er(...e){return T.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{tp(n,t)})},e)}const PE={};function QI(e,t){const n=T.useRef(PE);return n.current===PE&&(n.current=e(t)),n}const ZI=[];function JI(e){T.useEffect(e,ZI)}class Ou{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Ou}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function So(){const e=QI(Ou.create).current;return JI(e.disposeEffect),e}let Hp=!0,Iy=!1;const ej=new Ou,tj={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function nj(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&tj[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function rj(e){e.metaKey||e.altKey||e.ctrlKey||(Hp=!0)}function Wg(){Hp=!1}function aj(){this.visibilityState==="hidden"&&Iy&&(Hp=!0)}function ij(e){e.addEventListener("keydown",rj,!0),e.addEventListener("mousedown",Wg,!0),e.addEventListener("pointerdown",Wg,!0),e.addEventListener("touchstart",Wg,!0),e.addEventListener("visibilitychange",aj,!0)}function oj(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Hp||nj(t)}function Jv(){const e=T.useCallback(o=>{o!=null&&ij(o.ownerDocument)},[]),t=T.useRef(!1);function n(){return t.current?(Iy=!0,ej.start(100,()=>{Iy=!1}),t.current=!1,!0):!1}function a(o){return oj(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:a,onBlur:n,ref:e}}function Dt(e,t,n=void 0){const a={};return Object.keys(e).forEach(o=>{a[o]=e[o].reduce((l,c)=>{if(c){const d=t(c);d!==""&&l.push(d),n&&n[c]&&l.push(n[c])}return l},[]).join(" ")}),a}const zR=T.createContext(null);function PR(){return T.useContext(zR)}const sj=typeof Symbol=="function"&&Symbol.for,lj=sj?Symbol.for("mui.nested"):"__THEME_NESTED__";function cj(e,t){return typeof t=="function"?t(e):U({},e,t)}function uj(e){const{children:t,theme:n}=e,a=PR(),o=T.useMemo(()=>{const l=a===null?n:cj(a,n);return l!=null&&(l[lj]=a!==null),l},[n,a]);return v.jsx(zR.Provider,{value:o,children:t})}const dj=["value"],$R=T.createContext();function fj(e){let{value:t}=e,n=Re(e,dj);return v.jsx($R.Provider,U({value:t??!0},n))}const BR=()=>{const e=T.useContext($R);return e??!1},pj=T.createContext(void 0);function hj({value:e,children:t}){return v.jsx(pj.Provider,{value:e,children:t})}function mj(e){const t=Pp(),n=Zv()||"",{modularCssLayers:a}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";
75return!a||t!==null?o="":typeof a=="string"?o=a.replace(/mui(?!\.)/g,o):o=`@layer ${o};`,Wr(()=>{const l=document.querySelector("head");if(!l)return;const c=l.firstChild;if(o){var d;if(c&&(d=c.hasAttribute)!=null&&d.call(c,"data-mui-layer-order")&&c.getAttribute("data-mui-layer-order")===n)return;const p=document.createElement("style");p.setAttribute("data-mui-layer-order",n),p.textContent=o,l.prepend(p)}else{var f;(f=l.querySelector(`style[data-mui-layer-order="${n}"]`))==null||f.remove()}},[o,n]),o?v.jsx(OR,{styles:o}):null}const $E={};function BE(e,t,n,a=!1){return T.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const l=n(o),c=e?U({},t,{[e]:l}):l;return a?()=>c:c}return e?U({},t,{[e]:n}):U({},t,n)},[e,t,n,a])}function gj(e){const{children:t,theme:n,themeId:a}=e,o=Pp($E),l=PR()||$E,c=BE(a,o,n),d=BE(a,l,n,!0),f=c.direction==="rtl",p=mj(c);return v.jsx(uj,{theme:d,children:v.jsx(Tl.Provider,{value:c,children:v.jsx(fj,{value:f,children:v.jsxs(hj,{value:c==null?void 0:c.components,children:[p,t]})})})})}const yj=["className","component","disableGutters","fixed","maxWidth","classes"],vj=Cu(),bj=BI("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ce(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),Sj=e=>LR({props:e,name:"MuiContainer",defaultTheme:vj}),xj=(e,t)=>{const n=f=>kt(t,f),{classes:a,fixed:o,disableGutters:l,maxWidth:c}=e,d={root:["root",c&&`maxWidth${ce(String(c))}`,o&&"fixed",l&&"disableGutters"]};return Dt(d,n,a)};function _j(e={}){const{createStyledComponent:t=bj,useThemeProps:n=Sj,componentName:a="MuiContainer"}=e,o=t(({theme:c,ownerState:d})=>U({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!d.disableGutters&&{paddingLeft:c.spacing(2),paddingRight:c.spacing(2),[c.breakpoints.up("sm")]:{paddingLeft:c.spacing(3),paddingRight:c.spacing(3)}}),({theme:c,ownerState:d})=>d.fixed&&Object.keys(c.breakpoints.values).reduce((f,p)=>{const m=p,y=c.breakpoints.values[m];return y!==0&&(f[c.breakpoints.up(m)]={maxWidth:`${y}${c.breakpoints.unit}`}),f},{}),({theme:c,ownerState:d})=>U({},d.maxWidth==="xs"&&{[c.breakpoints.up("xs")]:{maxWidth:Math.max(c.breakpoints.values.xs,444)}},d.maxWidth&&d.maxWidth!=="xs"&&{[c.breakpoints.up(d.maxWidth)]:{maxWidth:`${c.breakpoints.values[d.maxWidth]}${c.breakpoints.unit}`}}));return T.forwardRef(function(d,f){const p=n(d),{className:m,component:y="div",disableGutters:b=!1,fixed:x=!1,maxWidth:E="lg"}=p,S=Re(p,yj),C=U({},p,{component:y,disableGutters:b,fixed:x,maxWidth:E}),R=xj(C,a);return v.jsx(o,U({as:y,ownerState:C,className:De(R.root,m),ref:f},S))})}function Ej(e,t){return U({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Pt={},Vg={exports:{}},HE;function Uo(){return HE||(HE=1,function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Vg)),Vg.exports}const wj=Za(ED),Tj=Za(GI);var FE;function Rj(){if(FE)return Pt;FE=1;var e=Uo();Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.alpha=E,Pt.blend=A,Pt.colorChannel=void 0,Pt.darken=C,Pt.decomposeColor=c,Pt.emphasize=L,Pt.getContrastRatio=x,Pt.getLuminance=b,Pt.hexToRgb=o,Pt.hslToRgb=y,Pt.lighten=N,Pt.private_safeAlpha=S,Pt.private_safeColorChannel=void 0,Pt.private_safeDarken=R,Pt.private_safeEmphasize=O,Pt.private_safeLighten=D,Pt.recomposeColor=p,Pt.rgbToHex=m;var t=e(wj),n=e(Tj);function a(w,M=0,I=1){return(0,n.default)(w,M,I)}function o(w){w=w.slice(1);const M=new RegExp(`.{1,${w.length>=6?2:1}}`,"g");let I=w.match(M);return I&&I[0].length===1&&(I=I.map($=>$+$)),I?`rgb${I.length===4?"a":""}(${I.map(($,Y)=>Y<3?parseInt($,16):Math.round(parseInt($,16)/255*1e3)/1e3).join(", ")})`:""}function l(w){const M=w.toString(16);return M.length===1?`0${M}`:M}function c(w){if(w.type)return w;if(w.charAt(0)==="#")return c(o(w));const M=w.indexOf("("),I=w.substring(0,M);if(["rgb","rgba","hsl","hsla","color"].indexOf(I)===-1)throw new Error((0,t.default)(9,w));let $=w.substring(M+1,w.length-1),Y;
vendor: 5,370 bytes, line 75
75if(I==="color"){if($=$.split(" "),Y=$.shift(),$.length===4&&$[3].charAt(0)==="/"&&($[3]=$[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(Y)===-1)throw new Error((0,t.default)(10,Y))}else $=$.split(",");return $=$.map(ne=>parseFloat(ne)),{type:I,values:$,colorSpace:Y}}const d=w=>{const M=c(w);return M.values.slice(0,3).map((I,$)=>M.type.indexOf("hsl")!==-1&&$!==0?`${I}%`:I).join(" ")};Pt.colorChannel=d;const f=(w,M)=>{try{return d(w)}catch{return w}};Pt.private_safeColorChannel=f;function p(w){const{type:M,colorSpace:I}=w;let{values:$}=w;return M.indexOf("rgb")!==-1?$=$.map((Y,ne)=>ne<3?parseInt(Y,10):Y):M.indexOf("hsl")!==-1&&($[1]=`${$[1]}%`,$[2]=`${$[2]}%`),M.indexOf("color")!==-1?$=`${I} ${$.join(" ")}`:$=`${$.join(", ")}`,`${M}(${$})`}function m(w){if(w.indexOf("#")===0)return w;const{values:M}=c(w);return`#${M.map((I,$)=>l($===3?Math.round(255*I):I)).join("")}`}function y(w){w=c(w);const{values:M}=w,I=M[0],$=M[1]/100,Y=M[2]/100,ne=$*Math.min(Y,1-Y),se=(P,K=(P+I/30)%12)=>Y-ne*Math.max(Math.min(K-3,9-K,1),-1);let ae="rgb";const ee=[Math.round(se(0)*255),Math.round(se(8)*255),Math.round(se(4)*255)];return w.type==="hsla"&&(ae+="a",ee.push(M[3])),p({type:ae,values:ee})}function b(w){w=c(w);let M=w.type==="hsl"||w.type==="hsla"?c(y(w)).values:w.values;return M=M.map(I=>(w.type!=="color"&&(I/=255),I<=.03928?I/12.92:((I+.055)/1.055)**2.4)),Number((.2126*M[0]+.7152*M[1]+.0722*M[2]).toFixed(3))}function x(w,M){const I=b(w),$=b(M);return(Math.max(I,$)+.05)/(Math.min(I,$)+.05)}function E(w,M){return w=c(w),M=a(M),(w.type==="rgb"||w.type==="hsl")&&(w.type+="a"),w.type==="color"?w.values[3]=`/${M}`:w.values[3]=M,p(w)}function S(w,M,I){try{return E(w,M)}catch{return w}}function C(w,M){if(w=c(w),M=a(M),w.type.indexOf("hsl")!==-1)w.values[2]*=1-M;else if(w.type.indexOf("rgb")!==-1||w.type.indexOf("color")!==-1)for(let I=0;I<3;I+=1)w.values[I]*=1-M;return p(w)}function R(w,M,I){try{return C(w,M)}catch{return w}}function N(w,M){if(w=c(w),M=a(M),w.type.indexOf("hsl")!==-1)w.values[2]+=(100-w.values[2])*M;else if(w.type.indexOf("rgb")!==-1)for(let I=0;I<3;I+=1)w.values[I]+=(255-w.values[I])*M;else if(w.type.indexOf("color")!==-1)for(let I=0;I<3;I+=1)w.values[I]+=(1-w.values[I])*M;return p(w)}function D(w,M,I){try{return N(w,M)}catch{return w}}function L(w,M=.15){return b(w)>.5?C(w,M):N(w,M)}function O(w,M,I){try{return L(w,M)}catch{return w}}function A(w,M,I,$=1){const Y=(ee,P)=>Math.round((ee**(1/$)*(1-I)+P**(1/$)*I)**$),ne=c(w),se=c(M),ae=[Y(ne.values[0],se.values[0]),Y(ne.values[1],se.values[1]),Y(ne.values[2],se.values[2])];return p({type:"rgb",values:ae})}return Pt}var ct=Rj();const Cj=["mode","contrastThreshold","tonalOffset"],qE={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:su.white,default:su.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Yg={text:{primary:su.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:su.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function GE(e,t,n,a){const o=a.light||a,l=a.dark||a*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ct.lighten(e.main,o):t==="dark"&&(e.dark=ct.darken(e.main,l)))}function Oj(e="light"){return e==="dark"?{main:Ds[200],light:Ds[50],dark:Ds[400]}:{main:Ds[700],light:Ds[400],dark:Ds[800]}}function Aj(e="light"){return e==="dark"?{main:Ms[200],light:Ms[50],dark:Ms[400]}:{main:Ms[500],light:Ms[300],dark:Ms[700]}}function Nj(e="light"){return e==="dark"?{main:ks[500],light:ks[300],dark:ks[700]}:{main:ks[700],light:ks[400],dark:ks[800]}}function kj(e="light"){return e==="dark"?{main:Ls[400],light:Ls[300],dark:Ls[700]}:{main:Ls[700],light:Ls[500],dark:Ls[900]}}function Mj(e="light"){return e==="dark"?{main:Is[400],light:Is[300],dark:Is[700]}:{main:Is[800],light:Is[500],dark:Is[900]}}function Dj(e="light"){return e==="dark"?{main:Lc[400],light:Lc[300],dark:Lc[700]}:{main:"#ed6c02",light:Lc[500],dark:Lc[900]}}function Lj(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:a=.2}=e,o=Re(e,Cj),l=e.primary||Oj(t),c=e.secondary||Aj(t),d=e.error||Nj(t),f=e.info||kj(t),p=e.success||Mj(t),m=e.warning||Dj(t);function y(S){return ct.getContrastRatio(S,Yg.text.primary)>=n?Yg.text.primary:qE.text.primary}const b=({color:S,name:C,mainShade:R=500,lightShade:N=300,darkShade:D=700})=>{if(S=U({},S),!S.main&&S[R]&&(S.main=S[R]),!S.hasOwnProperty("main"))throw new Error(nl(11,C?` (${C})`:"",R));if(typeof S.main!="string")throw new Error(nl(12,C?` (${C})`:"",JSON.stringify(S.main)));return GE(S,"light",N,a),GE(S,"dark",D,a),S.contrastText||(S.contrastText=y(S.main)),S},x={dark:Yg,light:qE};return ha(U({common:U({},su),mode:t,primary:b({color:l,name:"primary"}
75),secondary:b({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:d,name:"error"}),warning:b({color:m,name:"warning"}),info:b({color:f,name:"info"}),success:b({color:p,name:"success"}),grey:_D,contrastThreshold:n,getContrastText:y,augmentColor:b,tonalOffset:a},x[t]),o)}const Ij=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function jj(e){return Math.round(e*1e5)/1e5}const WE={textTransform:"uppercase"},VE='"Roboto", "Helvetica", "Arial", sans-serif';function Uj(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:a=VE,fontSize:o=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:d=500,fontWeightBold:f=700,htmlFontSize:p=16,allVariants:m,pxToRem:y}=n,b=Re(n,Ij),x=o/14,E=y||(R=>`${R/p*x}rem`),S=(R,N,D,L,O)=>U({fontFamily:a,fontWeight:R,fontSize:E(N),lineHeight:D},a===VE?{letterSpacing:`${jj(L/N)}em`}:{},O,m),C={h1:S(l,96,1.167,-1.5),h2:S(l,60,1.2,-.5),h3:S(c,48,1.167,0),h4:S(c,34,1.235,.25),h5:S(c,24,1.334,0),h6:S(d,20,1.6,.15),subtitle1:S(c,16,1.75,.15),subtitle2:S(d,14,1.57,.1),body1:S(c,16,1.5,.15),body2:S(c,14,1.43,.15),button:S(d,14,1.75,.4,WE),caption:S(c,12,1.66,.4),overline:S(c,12,2.66,1,WE),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ha(U({htmlFontSize:p,pxToRem:E,fontFamily:a,fontSize:o,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:f},C),b,{clone:!1})}const zj=.2,Pj=.14,$j=.12;function jt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${zj})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Pj})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${$j})`].join(",")}const Bj=["none",jt(0,2,1,-1,0,1,1,0,0,1,3,0),jt(0,3,1,-2,0,2,2,0,0,1,5,0),jt(0,3,3,-2,0,3,4,0,0,1,8,0),jt(0,2,4,-1,0,4,5,0,0,1,10,0),jt(0,3,5,-1,0,5,8,0,0,1,14,0),jt(0,3,5,-1,0,6,10,0,0,1,18,0),jt(0,4,5,-2,0,7,10,1,0,2,16,1),jt(0,5,5,-3,0,8,10,1,0,3,14,2),jt(0,5,6,-3,0,9,12,1,0,3,16,2),jt(0,6,6,-3,0,10,14,1,0,4,18,3),jt(0,6,7,-4,0,11,15,1,0,4,20,3),jt(0,7,8,-4,0,12,17,2,0,5,22,4),jt(0,7,8,-4,0,13,19,2,0,5,24,4),jt(0,7,9,-4,0,14,21,2,0,5,26,4),jt(0,8,9,-5,0,15,22,2,0,6,28,5),jt(0,8,10,-5,0,16,24,2,0,6,30,5),jt(0,8,11,-5,0,17,26,2,0,6,32,5),jt(0,9,11,-5,0,18,28,2,0,7,34,6),jt(0,9,12,-6,0,19,29,2,0,7,36,6),jt(0,10,13,-6,0,20,31,3,0,8,38,7),jt(0,10,13,-6,0,21,33,3,0,8,40,7),jt(0,10,14,-6,0,22,35,3,0,8,42,7),jt(0,11,14,-7,0,23,36,3,0,9,44,8),jt(0,11,15,-7,0,24,38,3,0,9,46,8)],Hj=["duration","easing","delay"],Fj={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},qj={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function YE(e){return`${Math.round(e)}ms`}function Gj(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Wj(e){const t=U({},Fj,e.easing),n=U({},qj,e.duration);return U({getAutoHeightDuration:Gj,create:(o=["all"],l={})=>{const{duration:c=n.standard,easing:d=t.easeInOut,delay:f=0}=l;return Re(l,Hj),(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof c=="string"?c:YE(c)} ${d} ${typeof f=="string"?f:YE(f)}`).join(",")}},e,{easing:t,duration:n})}const Vj={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Yj=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function eb(e={},...t){const{mixins:n={},palette:a={},transitions:o={},typography:l={}}=e,c=Re(e,Yj);if(e.vars)throw new Error(nl(18));const d=Lj(a),f=Cu(e);let p=ha(f,{mixins:Ej(f.breakpoints,n),palette:d,shadows:Bj.slice(),typography:Uj(d,l),transitions:Wj(o),zIndex:U({},Vj)});return p=ha(p,c),p=t.reduce((m,y)=>ha(m,y),p),p.unstable_sxConfig=U({},Ru,c==null?void 0:c.unstable_sxConfig),p.unstable_sx=function(y){return Rl({sx:y,theme:this})},p}const Fp=eb();function qp(){const e=$p(Fp);return e[Oo]||e}function Lt({props:e,name:t}){return LR({props:e,name:t,defaultTheme:Fp,themeId:Oo})}var yo={},Kg={exports:{}},KE;function Kj(){return KE||(KE=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var l in o)({}).hasOwnProperty.call(o,l)&&(n[l]=o[l])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}
75e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Kg)),Kg.exports}var Xg={exports:{}},XE;function Xj(){return XE||(XE=1,function(e){function t(n,a){if(n==null)return{};var o={};for(var l in n)if({}.hasOwnProperty.call(n,l)){if(a.indexOf(l)!==-1)continue;o[l]=n[l]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Xg)),Xg.exports}const HR=Za(wL),Qj=Za(TL),Zj=Za(kL),Jj=Za(kI),e3=Za(vI),t3=Za(EI);var QE;function n3(){if(QE)return yo;QE=1;var e=Uo();Object.defineProperty(yo,"__esModule",{value:!0}),yo.default=O,yo.shouldForwardProp=E,yo.systemDefaultTheme=void 0;var t=e(Kj()),n=e(Xj()),a=y(HR),o=Qj;e(Zj),e(Jj);var l=e(e3),c=e(t3);const d=["ownerState"],f=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function m(A){if(typeof WeakMap!="function")return null;var w=new WeakMap,M=new WeakMap;return(m=function(I){return I?M:w})(A)}function y(A,w){if(A&&A.__esModule)return A;if(A===null||typeof A!="object"&&typeof A!="function")return{default:A};var M=m(w);if(M&&M.has(A))return M.get(A);var I={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in A)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(A,Y)){var ne=$?Object.getOwnPropertyDescriptor(A,Y):null;ne&&(ne.get||ne.set)?Object.defineProperty(I,Y,ne):I[Y]=A[Y]}return I.default=A,M&&M.set(A,I),I}function b(A){return Object.keys(A).length===0}function x(A){return typeof A=="string"&&A.charCodeAt(0)>96}function E(A){return A!=="ownerState"&&A!=="theme"&&A!=="sx"&&A!=="as"}function S(A,w){return w&&A&&typeof A=="object"&&A.styles&&!A.styles.startsWith("@layer")&&(A.styles=`@layer ${w}{${String(A.styles)}}`),A}const C=yo.systemDefaultTheme=(0,l.default)(),R=A=>A&&A.charAt(0).toLowerCase()+A.slice(1);function N({defaultTheme:A,theme:w,themeId:M}){return b(w)?A:w[M]||w}function D(A){return A?(w,M)=>M[A]:null}function L(A,w,M){let{ownerState:I}=w,$=(0,n.default)(w,d);const Y=typeof A=="function"?A((0,t.default)({ownerState:I},$)):A;if(Array.isArray(Y))return Y.flatMap(ne=>L(ne,(0,t.default)({ownerState:I},$),M));if(Y&&typeof Y=="object"&&Array.isArray(Y.variants)){const{variants:ne=[]}=Y;let ae=(0,n.default)(Y,f);return ne.forEach(ee=>{let P=!0;if(typeof ee.props=="function"?P=ee.props((0,t.default)({ownerState:I},$,I)):Object.keys(ee.props).forEach(K=>{(I==null?void 0:I[K])!==ee.props[K]&&$[K]!==ee.props[K]&&(P=!1)}),P){Array.isArray(ae)||(ae=[ae]);const K=typeof ee.style=="function"?ee.style((0,t.default)({ownerState:I},$,I)):ee.style;ae.push(M?S((0,a.internal_serializeStyles)(K),M):K)}}),ae}return M?S((0,a.internal_serializeStyles)(Y),M):Y}function O(A={}){const{themeId:w,defaultTheme:M=C,rootShouldForwardProp:I=E,slotShouldForwardProp:$=E}=A,Y=ne=>(0,c.default)((0,t.default)({},ne,{theme:N((0,t.default)({},ne,{defaultTheme:M,themeId:w}))}));return Y.__mui_systemSx=!0,(ne,se={})=>{(0,a.internal_processStyles)(ne,fe=>fe.filter(ge=>!(ge!=null&&ge.__mui_systemSx)));const{name:ae,slot:ee,skipVariantsResolver:P,skipSx:K,overridesResolver:ie=D(R(ee))}=se,de=(0,n.default)(se,p),me=ae&&ae.startsWith("Mui")||ee?"components":"custom",j=P!==void 0?P:ee&&ee!=="Root"&&ee!=="root"||!1,X=K||!1;let le,oe=E;ee==="Root"||ee==="root"?oe=I:ee?oe=$:x(ne)&&(oe=void 0);const pe=(0,a.default)(ne,(0,t.default)({shouldForwardProp:oe,label:le},de)),ue=fe=>typeof fe=="function"&&fe.__emotion_real!==fe||(0,o.isPlainObject)(fe)?ge=>{const ut=N({theme:ge.theme,defaultTheme:M,themeId:w});return L(fe,(0,t.default)({},ge,{theme:ut}),ut.modularCssLayers?me:void 0)}:fe,Se=(fe,...ge)=>{let ut=ue(fe);const Oe=ge?ge.map(ue):[];ae&&ie&&Oe.push(Pe=>{const Ae=N((0,t.default)({},Pe,{defaultTheme:M,themeId:w}));if(!Ae.components||!Ae.components[ae]||!Ae.components[ae].styleOverrides)return null;const ye=Ae.components[ae].styleOverrides,Ze={};return Object.entries(ye).forEach(([ft,be])=>{Ze[ft]=L(be,(0,t.default)({},Pe,{theme:Ae}),Ae.modularCssLayers?"theme":void 0)}),ie(Pe,Ze)}),ae&&!j&&Oe.push(Pe=>{var Ae;const ye=N((0,t.default)({},Pe,{defaultTheme:M,themeId:w})),Ze=ye==null||(Ae=ye.components)==null||(Ae=Ae[ae])==null?void 0:Ae.variants;return L({variants:Ze},(0,t.default)({},Pe,{theme:ye}),ye.modularCssLayers?"theme":void 0)}),X||Oe.push(Y);const qe=Oe.length-ge.length;if(Array.isArray(fe)&&qe>0){const Pe=new Array(qe).fill("");ut=[...fe,...Pe],ut.raw=[...fe.raw,...Pe]}const _t=pe(ut,...Oe);return ne.muiName&&(_t.muiName=ne.muiName),_t};return pe.withConfig&&(Se.withConfig=pe.withConfig),Se}}return yo}var r3=n3();const a3=Ir(r3);function i3(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Au=e=>i3(e)&&e!=="classes",Ce=a3({themeId:Oo,defaultTheme:Fp,rootShouldForwardProp:Au}),o3=["theme"];function s3(e){let{theme:t}=e,n=Re(e,o3);const a=t[Oo];return v.jsx(gj,U({},n,{themeId:a?Oo:void 0,theme:a||t}))}const ZE=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function l3(e){return kt("MuiSvgIcon",e)}Mt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const c3=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],u3=e=>{const{color:t,fontSize:n,classes:a}=e,o={root:["root",t!=="inherit"&&`color${ce(t)}`,`fontSize${ce(n)}`]};return Dt(o,l3,a)},d3=Ce("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ce(n.color)}`],t[`fontSize${ce(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,a,o,l,c,d,f,p,m,y,b,x,E;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(a=n.create)==null?void 0:a.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,20))||"1.25rem",medium:((d=e.typography)==null||(f=d.pxToRem)==null?void 0:f.call(d,24))||"1.5rem",large:((p=e.typography)==null||(m=p.pxToRem)==null?void 0:m.call(p,35))||"2.1875rem"}[t.fontSize],color:(y=(b=(e.vars||e).palette)==null||(b=b[t.color])==null?void 0:b.main)!=null?y:{action:(x=(e.vars||e).palette)==null||(x=x.action)==null?void 0:x.active,disabled:(E=(e.vars||e).palette)==null||(E=E.action)==null?void 0:E.disabled,inherit:void 0}[t.color]}}),jy=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiSvgIcon"}),{children:o,className:l,color:c="inherit",component:d="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:m=!1,titleAccess:y,viewBox:b="0 0 24 24"}=a,x=Re(a,c3),E=T.isValidElement(o)&&o.type==="svg",S=U({},a,{color:c,component:d,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:b,hasSvgAsChild:E}),C={};m||(C.viewBox=b);const R=u3(S);return v.jsxs(d3,U({as:d,className:De(R.root,l),focusable:"false",color:p,"aria-hidden":y?void 0:!0,role:y?"img":void 0,ref:n},C,x,E&&o.props,{ownerState:S,children:[E?o.props.children:o,y?v.jsx("title",{children:y}):null]}))});jy.muiName="SvgIcon";function va(e,t){function n(a,o){return v.jsx(jy,U({"data-testid":`${t}Icon`,ref:o},a,{children:e}))}return n.muiName=jy.muiName,T.memo(T.forwardRef(n))}const f3={configure:e=>{Xv.configure(e)}},p3=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ce,createChainedFunction:WI,createSvgIcon:va,debounce:jR,deprecatedPropType:VI,isMuiElement:$f,ownerDocument:wo,ownerWindow:Ly,requirePropFactory:YI,setRef:tp,unstable_ClassNameGenerator:f3,unstable_useEnhancedEffect:Wr,unstable_useId:Zv,unsupportedProp:XI,useControlled:UR,useEventCallback:da,useForkRef:er,useIsFocusVisible:Jv},Symbol.toStringTag,{value:"Module"}));function FR(e){return Lt}
vendor: 4,400 bytes, line 75
75function Uy(e,t){return Uy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Uy(e,t)}function qR(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Uy(e,t)}var GR=BT();const mf=Ir(GR),JE={disabled:!1},np=Fe.createContext(null);var h3=function(t){return t.scrollTop},Kc="unmounted",vo="exited",bo="entering",$s="entered",zy="exiting",ti=function(e){qR(t,e);function t(a,o){var l;l=e.call(this,a,o)||this;var c=o,d=c&&!c.isMounting?a.enter:a.appear,f;return l.appearStatus=null,a.in?d?(f=vo,l.appearStatus=bo):f=$s:a.unmountOnExit||a.mountOnEnter?f=Kc:f=vo,l.state={status:f},l.nextCallback=null,l}t.getDerivedStateFromProps=function(o,l){var c=o.in;return c&&l.status===Kc?{status:vo}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var l=null;if(o!==this.props){var c=this.state.status;this.props.in?c!==bo&&c!==$s&&(l=bo):(c===bo||c===$s)&&(l=zy)}this.updateStatus(!1,l)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,l,c,d;return l=c=d=o,o!=null&&typeof o!="number"&&(l=o.exit,c=o.enter,d=o.appear!==void 0?o.appear:c),{exit:l,enter:c,appear:d}},n.updateStatus=function(o,l){if(o===void 0&&(o=!1),l!==null)if(this.cancelNextCallback(),l===bo){if(this.props.unmountOnExit||this.props.mountOnEnter){var c=this.props.nodeRef?this.props.nodeRef.current:mf.findDOMNode(this);c&&h3(c)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===vo&&this.setState({status:Kc})},n.performEnter=function(o){var l=this,c=this.props.enter,d=this.context?this.context.isMounting:o,f=this.props.nodeRef?[d]:[mf.findDOMNode(this),d],p=f[0],m=f[1],y=this.getTimeouts(),b=d?y.appear:y.enter;if(!o&&!c||JE.disabled){this.safeSetState({status:$s},function(){l.props.onEntered(p)});return}this.props.onEnter(p,m),this.safeSetState({status:bo},function(){l.props.onEntering(p,m),l.onTransitionEnd(b,function(){l.safeSetState({status:$s},function(){l.props.onEntered(p,m)})})})},n.performExit=function(){var o=this,l=this.props.exit,c=this.getTimeouts(),d=this.props.nodeRef?void 0:mf.findDOMNode(this);if(!l||JE.disabled){this.safeSetState({status:vo},function(){o.props.onExited(d)});return}this.props.onExit(d),this.safeSetState({status:zy},function(){o.props.onExiting(d),o.onTransitionEnd(c.exit,function(){o.safeSetState({status:vo},function(){o.props.onExited(d)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,l){l=this.setNextCallback(l),this.setState(o,l)},n.setNextCallback=function(o){var l=this,c=!0;return this.nextCallback=function(d){c&&(c=!1,l.nextCallback=null,o(d))},this.nextCallback.cancel=function(){c=!1},this.nextCallback},n.onTransitionEnd=function(o,l){this.setNextCallback(l);var c=this.props.nodeRef?this.props.nodeRef.current:mf.findDOMNode(this),d=o==null&&!this.props.addEndListener;if(!c||d){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[c,this.nextCallback],p=f[0],m=f[1];this.props.addEndListener(p,m)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Kc)return null;var l=this.props,c=l.children;l.in,l.mountOnEnter,l.unmountOnExit,l.appear,l.enter,l.exit,l.timeout,l.addEndListener,l.onEnter,l.onEntering,l.onEntered,l.onExit,l.onExiting,l.onExited,l.nodeRef;var d=Re(l,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Fe.createElement(np.Provider,{value:null},typeof c=="function"?c(o,d):Fe.cloneElement(Fe.Children.only(c),d))},t}(Fe.Component);ti.contextType=np;ti.propTypes={};function js(){}ti.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:js,onEntering:js,onEntered:js,onExit:js,onExiting:js,onExited:js};ti.UNMOUNTED=Kc;ti.EXITED=vo;ti.ENTERING=bo;ti.ENTERED=$s;ti.EXITING=zy;function m3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tb(e,t){var n=function(l){return t&&T.isValidElement(l)?t(l):l},a=Object.create(null);return e&&T.Children.map(e,function(o){return o}
vendor: 4,724 bytes, line 75
75).forEach(function(o){a[o.key]=n(o)}),a}function g3(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var a=Object.create(null),o=[];for(var l in e)l in t?o.length&&(a[l]=o,o=[]):o.push(l);var c,d={};for(var f in t){if(a[f])for(c=0;c<a[f].length;c++){var p=a[f][c];d[a[f][c]]=n(p)}d[f]=n(f)}for(c=0;c<o.length;c++)d[o[c]]=n(o[c]);return d}function xo(e,t,n){return n[t]!=null?n[t]:e.props[t]}function y3(e,t){return tb(e.children,function(n){return T.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:xo(n,"appear",e),enter:xo(n,"enter",e),exit:xo(n,"exit",e)})})}function v3(e,t,n){var a=tb(e.children),o=g3(t,a);return Object.keys(o).forEach(function(l){var c=o[l];if(T.isValidElement(c)){var d=l in t,f=l in a,p=t[l],m=T.isValidElement(p)&&!p.props.in;f&&(!d||m)?o[l]=T.cloneElement(c,{onExited:n.bind(null,c),in:!0,exit:xo(c,"exit",e),enter:xo(c,"enter",e)}):!f&&d&&!m?o[l]=T.cloneElement(c,{in:!1}):f&&d&&T.isValidElement(p)&&(o[l]=T.cloneElement(c,{onExited:n.bind(null,c),in:p.props.in,exit:xo(c,"exit",e),enter:xo(c,"enter",e)}))}}),o}var b3=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},S3={component:"div",childFactory:function(t){return t}},nb=function(e){qR(t,e);function t(a,o){var l;l=e.call(this,a,o)||this;var c=l.handleExited.bind(m3(l));return l.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},l}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,l){var c=l.children,d=l.handleExited,f=l.firstRender;return{children:f?y3(o,d):v3(o,c,d),firstRender:!1}},n.handleExited=function(o,l){var c=tb(this.props.children);o.key in c||(o.props.onExited&&o.props.onExited(l),this.mounted&&this.setState(function(d){var f=U({},d.children);return delete f[o.key],{children:f}}))},n.render=function(){var o=this.props,l=o.component,c=o.childFactory,d=Re(o,["component","childFactory"]),f=this.state.contextValue,p=b3(this.state.children).map(c);return delete d.appear,delete d.enter,delete d.exit,l===null?Fe.createElement(np.Provider,{value:f},p):Fe.createElement(np.Provider,{value:f},Fe.createElement(l,d,p))},t}(Fe.Component);nb.propTypes={};nb.defaultProps=S3;const x3=e=>e.scrollTop;function e1(e,t){var n,a;const{timeout:o,easing:l,style:c={}}=e;return{duration:(n=c.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(a=c.transitionTimingFunction)!=null?a:typeof l=="object"?l[t.mode]:l,delay:c.transitionDelay}}function _3(e){return kt("MuiPaper",e)}Mt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const E3=["className","component","elevation","square","variant"],w3=e=>{const{square:t,elevation:n,variant:a,classes:o}=e,l={root:["root",a,!t&&"rounded",a==="elevation"&&`elevation${n}`]};return Dt(l,_3,o)},T3=Ce("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return U({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&U({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${ct.alpha("#fff",ZE(t.elevation))}, ${ct.alpha("#fff",ZE(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),Gp=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiPaper"}),{className:o,component:l="div",elevation:c=1,square:d=!1,variant:f="elevation"}=a,p=Re(a,E3),m=U({},a,{component:l,elevation:c,square:d,variant:f}),y=w3(m);return v.jsx(T3,U({as:l,ownerState:m,className:De(y.root,o),ref:n},p))});function Py(e){return typeof e=="string"}function Fs(e,t,n){return e===void 0||Py(e)?t:U({},t,{ownerState:U({},t.ownerState,n)})}const R3={disableDefaultClasses:!1},C3=T.createContext(R3);function O3(e){const{disableDefaultClasses:t}=T.useContext(C3);return n=>t?"":e(n)}function $y(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(a=>a.match(/^on[A-Z]/)&&typeof e[a]=="function"&&!t.includes(a)).forEac
75h(a=>{n[a]=e[a]}),n}function WR(e,t,n){return typeof e=="function"?e(t,n):e}function t1(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function VR(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:a,externalForwardedProps:o,className:l}=e;if(!t){const x=De(n==null?void 0:n.className,l,o==null?void 0:o.className,a==null?void 0:a.className),E=U({},n==null?void 0:n.style,o==null?void 0:o.style,a==null?void 0:a.style),S=U({},n,o,a);return x.length>0&&(S.className=x),Object.keys(E).length>0&&(S.style=E),{props:S,internalRef:void 0}}const c=$y(U({},o,a)),d=t1(a),f=t1(o),p=t(c),m=De(p==null?void 0:p.className,n==null?void 0:n.className,l,o==null?void 0:o.className,a==null?void 0:a.className),y=U({},p==null?void 0:p.style,n==null?void 0:n.style,o==null?void 0:o.style,a==null?void 0:a.style),b=U({},p,n,f,d);return m.length>0&&(b.className=m),Object.keys(y).length>0&&(b.style=y),{props:b,internalRef:p.ref}}const A3=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function YR(e){var t;const{elementType:n,externalSlotProps:a,ownerState:o,skipResolvingSlotProps:l=!1}=e,c=Re(e,A3),d=l?{}:WR(a,o),{props:f,internalRef:p}=VR(U({},c,{externalSlotProps:d})),m=er(p,d==null?void 0:d.ref,(t=e.additionalProps)==null?void 0:t.ref);return Fs(n,U({},f,{ref:m}),o)}const N3=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],k3=["component","slots","slotProps"],M3=["component"];function By(e,t){const{className:n,elementType:a,ownerState:o,externalForwardedProps:l,getSlotOwnerState:c,internalForwardedProps:d}=t,f=Re(t,N3),{component:p,slots:m={[e]:void 0},slotProps:y={[e]:void 0}}=l,b=Re(l,k3),x=m[e]||a,E=WR(y[e],o),S=VR(U({className:n},f,{externalForwardedProps:e==="root"?b:void 0,externalSlotProps:E})),{props:{component:C},internalRef:R}=S,N=Re(S.props,M3),D=er(R,E==null?void 0:E.ref,t.ref),L=c?c(N):{},O=U({},o,L),A=e==="root"?C||p:C,w=Fs(x,U({},e==="root"&&!p&&!m[e]&&d,e!=="root"&&!m[e]&&d,N,A&&{as:A},{ref:D}),O);return Object.keys(L).forEach(M=>{delete w[M]}),[x,w]}function D3(e){const{className:t,classes:n,pulsate:a=!1,rippleX:o,rippleY:l,rippleSize:c,in:d,onExited:f,timeout:p}=e,[m,y]=T.useState(!1),b=De(t,n.ripple,n.rippleVisible,a&&n.ripplePulsate),x={width:c,height:c,top:-(c/2)+l,left:-(c/2)+o},E=De(n.child,m&&n.childLeaving,a&&n.childPulsate);return!d&&!m&&y(!0),T.useEffect(()=>{if(!d&&f!=null){const S=setTimeout(f,p);return()=>{clearTimeout(S)}}},[f,d,p]),v.jsx("span",{className:b,style:x,children:v.jsx("span",{className:E})})}const Cr=Mt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),L3=["center","classes","className"];let Wp=e=>e,n1,r1,a1,i1;const Hy=550,I3=80,j3=ei(n1||(n1=Wp` 76 0% { 77 transform: scale(0); 78 opacity: 0.1; 79 } 80 81 100% { 82 transform: scale(1); 83 opacity: 0.3; 84 } 85`)),U3=ei(r1||(r1=Wp` 86 0% { 87 opacity: 1; 88 } 89 90 100% { 91 opacity: 0; 92 } 93`)),z3=ei(a1||(a1=Wp` 94 0% { 95 transform: scale(1); 96 } 97 98 50% { 99 transform: scale(0.92); 100 } 101 102 100% { 103 transform: scale(1); 104 } 105`)),P3=Ce("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),$3=Ce(D3,{name:"MuiTouchRipple",slot:"Ripple"})(i1||(i1=Wp` 106 opacity: 0; 107 position: absolute; 108 109 &.${0} { 110 opacity: 0.3; 111 transform: scale(1); 112 animation-name: ${0}; 113 animation-duration: ${0}ms; 114 animation-timing-function: ${0}; 115 } 116 117 &.${0} { 118 animation-duration: ${0}ms; 119 } 120 121 & .${0} { 122 opacity: 1; 123 display: block; 124 width: 100%; 125 height: 100%; 126 border-radius: 50%; 127 background-color: currentColor; 128 } 129 130 & .${0} { 131 opacity: 0; 132 animation-name: ${0}; 133 animation-duration: ${0}ms; 134 animation-timing-function: ${0}; 135 } 136 137 & .${0} { 138 position: absolute; 139 /* @noflip */ 140 left: 0px; 141 top: 0; 142 animation-name: ${0}; 143 animation-duration: 2500ms; 144 animation-timing-function: ${0}; 145 animation-iteration-count: infinite; 146 animation-delay: 200ms; 147 } 148`),Cr.rippleVisible,j3,Hy,({theme:e})=>e.transitions.easing.easeInOut,Cr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Cr.child,Cr.childLeaving,U3,Hy,({theme:e})=>e.transitions.easing.easeInOut,Cr.childPulsate,z3,({theme:e})=>e.transitions.easing.easeInOut),B3=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:l={},className:c}=a,d=Re(a,L3),[f,p]=T.useState([]),m=T.useRef(0),y=T.useRef(null);T.useEffect(()=>{y.current&&(y.current(),y.current=null)},[f]);const b=T.useRef(!1),x=So(),E=T.useRef(null),S=T.useRef(null),C=T.useCallback(L=>{const{pulsate:O,rippleX:A,rippleY:w,rippleSize:M,cb:I}=L;p($=>[...$,v.jsx($3,{classes:{ripple:De(l.ripple,Cr.ripple),rippleVisible:De(l.rippleVisible,Cr.rippleVisible),ripplePulsate:De(l.ripplePulsate,Cr.ripplePulsate),
vendor: 5,174 bytes, line 148
148child:De(l.child,Cr.child),childLeaving:De(l.childLeaving,Cr.childLeaving),childPulsate:De(l.childPulsate,Cr.childPulsate)},timeout:Hy,pulsate:O,rippleX:A,rippleY:w,rippleSize:M},m.current)]),m.current+=1,y.current=I},[l]),R=T.useCallback((L={},O={},A=()=>{})=>{const{pulsate:w=!1,center:M=o||O.pulsate,fakeElement:I=!1}=O;if((L==null?void 0:L.type)==="mousedown"&&b.current){b.current=!1;return}(L==null?void 0:L.type)==="touchstart"&&(b.current=!0);const $=I?null:S.current,Y=$?$.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ne,se,ae;if(M||L===void 0||L.clientX===0&&L.clientY===0||!L.clientX&&!L.touches)ne=Math.round(Y.width/2),se=Math.round(Y.height/2);else{const{clientX:ee,clientY:P}=L.touches&&L.touches.length>0?L.touches[0]:L;ne=Math.round(ee-Y.left),se=Math.round(P-Y.top)}if(M)ae=Math.sqrt((2*Y.width**2+Y.height**2)/3),ae%2===0&&(ae+=1);else{const ee=Math.max(Math.abs(($?$.clientWidth:0)-ne),ne)*2+2,P=Math.max(Math.abs(($?$.clientHeight:0)-se),se)*2+2;ae=Math.sqrt(ee**2+P**2)}L!=null&&L.touches?E.current===null&&(E.current=()=>{C({pulsate:w,rippleX:ne,rippleY:se,rippleSize:ae,cb:A})},x.start(I3,()=>{E.current&&(E.current(),E.current=null)})):C({pulsate:w,rippleX:ne,rippleY:se,rippleSize:ae,cb:A})},[o,C,x]),N=T.useCallback(()=>{R({},{pulsate:!0})},[R]),D=T.useCallback((L,O)=>{if(x.clear(),(L==null?void 0:L.type)==="touchend"&&E.current){E.current(),E.current=null,x.start(0,()=>{D(L,O)});return}E.current=null,p(A=>A.length>0?A.slice(1):A),y.current=O},[x]);return T.useImperativeHandle(n,()=>({pulsate:N,start:R,stop:D}),[N,R,D]),v.jsx(P3,U({className:De(Cr.root,l.root,c),ref:S},d,{children:v.jsx(nb,{component:null,exit:!0,children:f})}))});function H3(e){return kt("MuiButtonBase",e)}const F3=Mt("MuiButtonBase",["root","disabled","focusVisible"]),q3=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],G3=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:a,classes:o}=e,c=Dt({root:["root",t&&"disabled",n&&"focusVisible"]},H3,o);return n&&a&&(c.root+=` ${a}`),c},W3=Ce("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${F3.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),rp=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:l=!1,children:c,className:d,component:f="button",disabled:p=!1,disableRipple:m=!1,disableTouchRipple:y=!1,focusRipple:b=!1,LinkComponent:x="a",onBlur:E,onClick:S,onContextMenu:C,onDragLeave:R,onFocus:N,onFocusVisible:D,onKeyDown:L,onKeyUp:O,onMouseDown:A,onMouseLeave:w,onMouseUp:M,onTouchEnd:I,onTouchMove:$,onTouchStart:Y,tabIndex:ne=0,TouchRippleProps:se,touchRippleRef:ae,type:ee}=a,P=Re(a,q3),K=T.useRef(null),ie=T.useRef(null),de=er(ie,ae),{isFocusVisibleRef:me,onFocus:j,onBlur:X,ref:le}=Jv(),[oe,pe]=T.useState(!1);p&&oe&&pe(!1),T.useImperativeHandle(o,()=>({focusVisible:()=>{pe(!0),K.current.focus()}}),[]);const[ue,Se]=T.useState(!1);T.useEffect(()=>{Se(!0)},[]);const fe=ue&&!m&&!p;T.useEffect(()=>{oe&&b&&!m&&ue&&ie.current.pulsate()},[m,b,oe,ue]);function ge(Ne,mn,Xi=y){return da(Zr=>(mn&&mn(Zr),!Xi&&ie.current&&ie.current[Ne](Zr),!0))}const ut=ge("start",A),Oe=ge("stop",C),qe=ge("stop",R),_t=ge("stop",M),Pe=ge("stop",Ne=>{oe&&Ne.preventDefault(),w&&w(Ne)}),Ae=ge("start",Y),ye=ge("stop",I),Ze=ge("stop",$),ft=ge("stop",Ne=>{X(Ne),me.current===!1&&pe(!1),E&&E(Ne)},!1),be=da(Ne=>{K.current||(K.current=Ne.currentTarget),j(Ne),me.current===!0&&(pe(!0),D&&D(Ne)),N&&N(Ne)}),He=()=>{const Ne=K.current;return f&&f!=="button"&&!(Ne.tagName==="A"&&Ne.href)},_e=T.useRef(!1),it=da(Ne=>{b&&!_e.current&&oe&&ie.current&&Ne.key===" "&&(_e.current=!0,ie.current.stop(Ne,()=>{ie.current.start(Ne)})),Ne.target===Ne.currentTarget&&He()&&Ne.key===" "&&Ne.preventDefault(),L&&L(Ne),Ne.target===Ne.currentTarget&&He()&&Ne.key==="Enter"&&!p&&(Ne.preventDefault(),S&&S(Ne))}),ke=da(Ne=>{b&&Ne.key===" "&&ie.current&&oe&&!Ne.defaultPrevented&&(_e.current=!1,ie.current.stop(Ne,()=>{ie.current.pulsate(Ne)})),O&&O(Ne),S&&Ne.target===Ne.currentTarget&&He()&&Ne.key===" "&&!Ne.defaultPrevented&&S(Ne)});let Ye=f;Ye==="button"&&(P.href||P.to)&&(Ye=x);const dn={};Ye==="button"?(dn.type=ee===void 0?"button":ee,dn.disabled=p):(!P.href&&!P.to&&(dn.role="button"),p&&(dn["aria-disabled"]=p));const On=er(n,le,K),Hn=U({},a,{centerRipple:l,component:f,disabled:p,disableRipple:m,disableTouchRipple:y,focusRipple:b,tabIndex:ne,focu
148sVisible:oe}),tt=G3(Hn);return v.jsxs(W3,U({as:Ye,className:De(tt.root,d),ownerState:Hn,onBlur:ft,onClick:S,onContextMenu:Oe,onFocus:be,onKeyDown:it,onKeyUp:ke,onMouseDown:ut,onMouseLeave:Pe,onMouseUp:_t,onDragLeave:qe,onTouchEnd:ye,onTouchMove:Ze,onTouchStart:Ae,ref:On,tabIndex:p?-1:ne,type:ee},dn,P,{children:[c,fe?v.jsx(B3,U({ref:de,center:l},se)):null]}))});function V3(e){return kt("MuiAlert",e)}const o1=Mt("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Y3(e){return kt("MuiIconButton",e)}const K3=Mt("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),X3=["edge","children","className","color","disabled","disableFocusRipple","size"],Q3=e=>{const{classes:t,disabled:n,color:a,edge:o,size:l}=e,c={root:["root",n&&"disabled",a!=="default"&&`color${ce(a)}`,o&&`edge${ce(o)}`,`size${ce(l)}`]};return Dt(c,Y3,t)},Z3=Ce(rp,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ce(n.color)}`],n.edge&&t[`edge${ce(n.edge)}`],t[`size${ce(n.size)}`]]}})(({theme:e,ownerState:t})=>U({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:ct.alpha(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const a=(n=(e.vars||e).palette)==null?void 0:n[t.color];return U({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&U({color:a==null?void 0:a.main},!t.disableRipple&&{"&:hover":U({},a&&{backgroundColor:e.vars?`rgba(${a.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ct.alpha(a.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${K3.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),J3=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiIconButton"}),{edge:o=!1,children:l,className:c,color:d="default",disabled:f=!1,disableFocusRipple:p=!1,size:m="medium"}=a,y=Re(a,X3),b=U({},a,{edge:o,color:d,disabled:f,disableFocusRipple:p,size:m}),x=Q3(b);return v.jsx(Z3,U({className:De(x.root,c),centerRipple:!0,focusRipple:!p,disabled:f,ref:n},y,{ownerState:b,children:l}))}),e4=va(v.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),t4=va(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),n4=va(v.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),r4=va(v.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),a4=va(v.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),i4=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","
148slots","variant"],o4=FR(),s4=e=>{const{variant:t,color:n,severity:a,classes:o}=e,l={root:["root",`color${ce(n||a)}`,`${t}${ce(n||a)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Dt(l,V3,o)},l4=Ce(Gp,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ce(n.color||n.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?ct.darken:ct.lighten,n=e.palette.mode==="light"?ct.lighten:ct.darken;return U({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,a])=>a.main&&a.light).map(([a])=>({props:{colorSeverity:a,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${a}Color`]:t(e.palette[a].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${a}StandardBg`]:n(e.palette[a].light,.9),[`& .${o1.icon}`]:e.vars?{color:e.vars.palette.Alert[`${a}IconColor`]}:{color:e.palette[a].main}}})),...Object.entries(e.palette).filter(([,a])=>a.main&&a.light).map(([a])=>({props:{colorSeverity:a,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${a}Color`]:t(e.palette[a].light,.6),border:`1px solid ${(e.vars||e).palette[a].light}`,[`& .${o1.icon}`]:e.vars?{color:e.vars.palette.Alert[`${a}IconColor`]}:{color:e.palette[a].main}}})),...Object.entries(e.palette).filter(([,a])=>a.main&&a.dark).map(([a])=>({props:{colorSeverity:a,variant:"filled"},style:U({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${a}FilledColor`],backgroundColor:e.vars.palette.Alert[`${a}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[a].dark:e.palette[a].main,color:e.palette.getContrastText(e.palette[a].main)})}))]})}),c4=Ce("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),u4=Ce("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),s1=Ce("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),l1={success:v.jsx(e4,{fontSize:"inherit"}),warning:v.jsx(t4,{fontSize:"inherit"}),error:v.jsx(n4,{fontSize:"inherit"}),info:v.jsx(r4,{fontSize:"inherit"})},d4=T.forwardRef(function(t,n){const a=o4({props:t,name:"MuiAlert"}),{action:o,children:l,className:c,closeText:d="Close",color:f,components:p={},componentsProps:m={},icon:y,iconMapping:b=l1,onClose:x,role:E="alert",severity:S="success",slotProps:C={},slots:R={},variant:N="standard"}=a,D=Re(a,i4),L=U({},a,{color:f,severity:S,variant:N,colorSeverity:f||S}),O=s4(L),A={slots:U({closeButton:p.CloseButton,closeIcon:p.CloseIcon},R),slotProps:U({},m,C)},[w,M]=By("closeButton",{elementType:J3,externalForwardedProps:A,ownerState:L}),[I,$]=By("closeIcon",{elementType:a4,externalForwardedProps:A,ownerState:L});return v.jsxs(l4,U({role:E,elevation:0,ownerState:L,className:De(O.root,c),ref:n},D,{children:[y!==!1?v.jsx(c4,{ownerState:L,className:O.icon,children:y||b[S]||l1[S]}):null,v.jsx(u4,{ownerState:L,className:O.message,children:l}),o!=null?v.jsx(s1,{ownerState:L,className:O.action,children:o}):null,o==null&&x?v.jsx(s1,{ownerState:L,className:O.action,children:v.jsx(w,U({size:"small","aria-label":d,title:d,color:"inherit",onClick:x},M,{children:v.jsx(I,U({fontSize:"small"},$))}))}):null]}))});function f4(e){return kt("MuiTypography",e)}Mt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const p4=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],h4=e=>{const{align:t,gutterBottom:n,noWrap:a,paragraph:o,variant:l,classes:c}=e,d={root:["root",l,e.align!=="inherit"&&`align${ce(t)}`,n&&"gutterBottom",a&&"noWrap",o&&"paragraph"]};return Dt(d,f4,c)},m4=Ce("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ce(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>U({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}
148)),c1={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},g4={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y4=e=>g4[e]||e,v4=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiTypography"}),o=y4(a.color),l=Bp(U({},a,{color:o})),{align:c="inherit",className:d,component:f,gutterBottom:p=!1,noWrap:m=!1,paragraph:y=!1,variant:b="body1",variantMapping:x=c1}=l,E=Re(l,p4),S=U({},l,{align:c,color:o,className:d,component:f,gutterBottom:p,noWrap:m,paragraph:y,variant:b,variantMapping:x}),C=f||(y?"p":x[b]||c1[b])||"span",R=h4(S);return v.jsx(m4,U({as:C,ref:n,ownerState:S,className:De(R.root,d)},E))}),KR="base";function b4(e){return`${KR}--${e}`}function S4(e,t){return`${KR}-${e}-${t}`}function x4(e,t){const n=NR[t];return n?b4(n):S4(e,t)}function u1(e){return e.substring(2).toLowerCase()}function _4(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function E4(e){const{children:t,disableReactTree:n=!1,mouseEvent:a="onClick",onClickAway:o,touchEvent:l="onTouchEnd"}=e,c=T.useRef(!1),d=T.useRef(null),f=T.useRef(!1),p=T.useRef(!1);T.useEffect(()=>(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const m=er(t.ref,d),y=da(E=>{const S=p.current;p.current=!1;const C=wo(d.current);if(!f.current||!d.current||"clientX"in E&&_4(E,C))return;if(c.current){c.current=!1;return}let R;E.composedPath?R=E.composedPath().indexOf(d.current)>-1:R=!C.documentElement.contains(E.target)||d.current.contains(E.target),!R&&(n||!S)&&o(E)}),b=E=>S=>{p.current=!0;const C=t.props[E];C&&C(S)},x={ref:m};return l!==!1&&(x[l]=b(l)),T.useEffect(()=>{if(l!==!1){const E=u1(l),S=wo(d.current),C=()=>{c.current=!0};return S.addEventListener(E,y),S.addEventListener("touchmove",C),()=>{S.removeEventListener(E,y),S.removeEventListener("touchmove",C)}}},[y,l]),a!==!1&&(x[a]=b(a)),T.useEffect(()=>{if(a!==!1){const E=u1(a),S=wo(d.current);return S.addEventListener(E,y),()=>{S.removeEventListener(E,y)}}},[y,a]),v.jsx(T.Fragment,{children:T.cloneElement(t,x)})}function w4(e){return typeof e=="function"?e():e}const T4=T.forwardRef(function(t,n){const{children:a,container:o,disablePortal:l=!1}=t,[c,d]=T.useState(null),f=er(T.isValidElement(a)?a.ref:null,n);if(Wr(()=>{l||d(w4(o)||document.body)},[o,l]),Wr(()=>{if(c&&!l)return tp(n,c),()=>{tp(n,null)}},[n,c,l]),l){if(T.isValidElement(a)){const p={ref:f};return T.cloneElement(a,p)}return v.jsx(T.Fragment,{children:a})}return v.jsx(T.Fragment,{children:c&&GR.createPortal(a,c)})});var Xn="top",Mr="bottom",Dr="right",Qn="left",rb="auto",Nu=[Xn,Mr,Dr,Qn],al="start",du="end",R4="clippingParents",XR="viewport",jc="popper",C4="reference",d1=Nu.reduce(function(e,t){return e.concat([t+"-"+al,t+"-"+du])},[]),QR=[].concat(Nu,[rb]).reduce(function(e,t){return e.concat([t,t+"-"+al,t+"-"+du])},[]),O4="beforeRead",A4="read",N4="afterRead",k4="beforeMain",M4="main",D4="afterMain",L4="beforeWrite",I4="write",j4="afterWrite",U4=[O4,A4,N4,k4,M4,D4,L4,I4,j4];function ya(e){return e?(e.nodeName||"").toLowerCase():null}function fr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ao(e){var t=fr(e).Element;return e instanceof t||e instanceof Element}function Ar(e){var t=fr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ab(e){if(typeof ShadowRoot>"u")return!1;var t=fr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function z4(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var a=t.styles[n]||{},o=t.attributes[n]||{},l=t.elements[n];!Ar(l)||!ya(l)||(Object.assign(l.style,a),Object.keys(o).forEach(function(c){var d=o[c];d===!1?l.removeAttribute(c):l.setAttribute(c,d===!0?"":d)}))})}function P4(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEac
vendor: 14,674 bytes, line 148
148h(function(a){var o=t.elements[a],l=t.attributes[a]||{},c=Object.keys(t.styles.hasOwnProperty(a)?t.styles[a]:n[a]),d=c.reduce(function(f,p){return f[p]="",f},{});!Ar(o)||!ya(o)||(Object.assign(o.style,d),Object.keys(l).forEach(function(f){o.removeAttribute(f)}))})}}const $4={name:"applyStyles",enabled:!0,phase:"write",fn:z4,effect:P4,requires:["computeStyles"]};function ma(e){return e.split("-")[0]}var To=Math.max,ap=Math.min,il=Math.round;function Fy(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ZR(){return!/^((?!chrome|android).)*safari/i.test(Fy())}function ol(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var a=e.getBoundingClientRect(),o=1,l=1;t&&Ar(e)&&(o=e.offsetWidth>0&&il(a.width)/e.offsetWidth||1,l=e.offsetHeight>0&&il(a.height)/e.offsetHeight||1);var c=Ao(e)?fr(e):window,d=c.visualViewport,f=!ZR()&&n,p=(a.left+(f&&d?d.offsetLeft:0))/o,m=(a.top+(f&&d?d.offsetTop:0))/l,y=a.width/o,b=a.height/l;return{width:y,height:b,top:m,right:p+y,bottom:m+b,left:p,x:p,y:m}}function ib(e){var t=ol(e),n=e.offsetWidth,a=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-a)<=1&&(a=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:a}}function JR(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ab(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Ka(e){return fr(e).getComputedStyle(e)}function B4(e){return["table","td","th"].indexOf(ya(e))>=0}function Gi(e){return((Ao(e)?e.ownerDocument:e.document)||window.document).documentElement}function Vp(e){return ya(e)==="html"?e:e.assignedSlot||e.parentNode||(ab(e)?e.host:null)||Gi(e)}function f1(e){return!Ar(e)||Ka(e).position==="fixed"?null:e.offsetParent}function H4(e){var t=/firefox/i.test(Fy()),n=/Trident/i.test(Fy());if(n&&Ar(e)){var a=Ka(e);if(a.position==="fixed")return null}var o=Vp(e);for(ab(o)&&(o=o.host);Ar(o)&&["html","body"].indexOf(ya(o))<0;){var l=Ka(o);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||t&&l.willChange==="filter"||t&&l.filter&&l.filter!=="none")return o;o=o.parentNode}return null}function ku(e){for(var t=fr(e),n=f1(e);n&&B4(n)&&Ka(n).position==="static";)n=f1(n);return n&&(ya(n)==="html"||ya(n)==="body"&&Ka(n).position==="static")?t:n||H4(e)||t}function ob(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Jc(e,t,n){return To(e,ap(t,n))}function F4(e,t,n){var a=Jc(e,t,n);return a>n?n:a}function eC(){return{top:0,right:0,bottom:0,left:0}}function tC(e){return Object.assign({},eC(),e)}function nC(e,t){return t.reduce(function(n,a){return n[a]=e,n},{})}var q4=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,tC(typeof t!="number"?t:nC(t,Nu))};function G4(e){var t,n=e.state,a=e.name,o=e.options,l=n.elements.arrow,c=n.modifiersData.popperOffsets,d=ma(n.placement),f=ob(d),p=[Qn,Dr].indexOf(d)>=0,m=p?"height":"width";if(!(!l||!c)){var y=q4(o.padding,n),b=ib(l),x=f==="y"?Xn:Qn,E=f==="y"?Mr:Dr,S=n.rects.reference[m]+n.rects.reference[f]-c[f]-n.rects.popper[m],C=c[f]-n.rects.reference[f],R=ku(l),N=R?f==="y"?R.clientHeight||0:R.clientWidth||0:0,D=S/2-C/2,L=y[x],O=N-b[m]-y[E],A=N/2-b[m]/2+D,w=Jc(L,A,O),M=f;n.modifiersData[a]=(t={},t[M]=w,t.centerOffset=w-A,t)}}function W4(e){var t=e.state,n=e.options,a=n.element,o=a===void 0?"[data-popper-arrow]":a;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||JR(t.elements.popper,o)&&(t.elements.arrow=o))}const V4={name:"arrow",enabled:!0,phase:"main",fn:G4,effect:W4,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function sl(e){return e.split("-")[1]}var Y4={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K4(e,t){var n=e.x,a=e.y,o=t.devicePixelRatio||1;return{x:il(n*o)/o||0,y:il(a*o)/o||0}}function p1(e){var t,n=e.popper,a=e.popperRect,o=e.placement,l=e.variation,c=e.offsets,d=e.position,f=e.gpuAcceleration,p=e.adaptive,m=e.roundOffsets,y=e.isFixed,b=c.x,x=b===void 0?0:b,E=c.y,S=E===void 0?0:E,C=typeof m=="function"?m({x,y:S}):{x,y:S};x=C.x,S=C.y;var R=c.hasOwnProperty("x"),N=c.hasOwnProperty("y"),D=Qn,L=Xn,O=window;if(p){var A=ku(n),w="clientHeight",M="clientWidth";if(A===fr(n)&&(A=Gi(n),Ka(A).position!=="static"&&d==="absolute"&&(w="scrollHeight",M="scrollWidth")),A=A,o===Xn||(o===Qn||o===Dr)&&l===du){L=Mr;var I=y&&A===O&&O.visualViewport?O.visualViewport.height:A[w];S-=I-a.height,S*=f?1:-1}if(o===Qn||(o===Xn||o===Mr)&&l===du){D=Dr;var $=y&&A===O&&O.visualViewport?O.visualViewport.width:A[M];x-=$-a.width,x*=f?1:-1}}var Y=Object.assign({position:d},p&&Y4),ne=m===!0?K4({x,y:S},fr(n)):{x,y:S};if(x=ne.x,S=ne.y,f){var se;return Object.assign({},Y,(se={},se[L]=N?"0":"",se[D]=R?"0":"",se.transform=(O.devicePixelRatio||1)<=1?"translate("+x+"px, "+S+"px)":"translate3d("+x+"px, "+S+"px, 0)",se))}return Object.assign({},Y,(t={},t[L]=N?S+"px":"",t[D]=R?x+"px":"",t.transform="",t))}function X4(e){var t=e.state,n=e.options,a=n.gpuAcceleration,o=a===void 0?!0:a,l=n.adaptive,c=l===void 0?!0:l,d=n.roundOffsets,f=d===void 0?!0:d,p={placement:ma(t.placement),variation:sl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,p1(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,p1(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Q4={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:X4,data:{}};var gf={passive:!0};function Z4(e){var t=e.state,n=e.instance,a=e.options,o=a.scroll,l=o===void 0?!0:o,c=a.resize,d=c===void 0?!0:c,f=fr(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&p.forEach(function(m){m.addEventListener("scroll",n.update,gf)}),d&&f.addEventListener("resize",n.update,gf),function(){l&&p.forEach(function(m){m.removeEventListener("scroll",n.update,gf)}),d&&f.removeEventListener("resize",n.update,gf)}}const J4={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Z4,data:{}};var e5={left:"right",right:"left",bottom:"top",top:"bottom"};function Bf(e){return e.replace(/left|right|bottom|top/g,function(t){return e5[t]})}var t5={start:"end",end:"start"};function h1(e){return e.replace(/start|end/g,function(t){return t5[t]})}function sb(e){var t=fr(e),n=t.pageXOffset,a=t.pageYOffset;return{scrollLeft:n,scrollTop:a}}function lb(e){return ol(Gi(e)).left+sb(e).scrollLeft}function n5(e,t){var n=fr(e),a=Gi(e),o=n.visualViewport,l=a.clientWidth,c=a.clientHeight,d=0,f=0;if(o){l=o.width,c=o.height;var p=ZR();(p||!p&&t==="fixed")&&(d=o.offsetLeft,f=o.offsetTop)}return{width:l,height:c,x:d+lb(e),y:f}}function r5(e){var t,n=Gi(e),a=sb(e),o=(t=e.ownerDocument)==null?void 0:t.body,l=To(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=To(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-a.scrollLeft+lb(e),f=-a.scrollTop;return Ka(o||n).direction==="rtl"&&(d+=To(n.clientWidth,o?o.clientWidth:0)-l),{width:l,height:c,x:d,y:f}}function cb(e){var t=Ka(e),n=t.overflow,a=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+a)}function rC(e){return["html","body","#document"].indexOf(ya(e))>=0?e.ownerDocument.body:Ar(e)&&cb(e)?e:rC(Vp(e))}function eu(e,t){var n;t===void 0&&(t=[]);var a=rC(e),o=a===((n=e.ownerDocument)==null?void 0:n.body),l=fr(a),c=o?[l].concat(l.visualViewport||[],cb(a)?a:[]):a,d=t.concat(c);return o?d:d.concat(eu(Vp(c)))}function qy(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function a5(e,t){var n=ol(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function m1(e,t,n){return t===XR?qy(n5(e,n)):Ao(t)?a5(t,n):qy(r5(Gi(e)))}function i5(e){var t=eu(Vp(e)),n=["absolute","fixed"].indexOf(Ka(e).position)>=0,a=n&&Ar(e)?ku(e):e;return Ao(a)?t.filter(function(o){return Ao(o)&&JR(o,a)&&ya(o)!=="body"}):[]}function o5(e,t,n,a){var o=t==="clippingParents"?i5(e):[].concat(t),l=[].concat(o,[n]),c=l[0],d=l.reduce(function(f,p){var m=m1(e,p,a);return f.top=To(m.top,f.top),f.right=ap(m.right,f.right),f.bottom=ap(m.bottom,f.bottom),f.left=To(m.left,f.left),f},m1(e,c,a));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function aC(e){var t=e.reference,n=e.element,a=e.placement,o=a?ma(a):null,l=a?sl(a):null,c=t.x+t.width/2-n.width/2,d=t.y+t.height/2-n.height/2,f;switch(o){case Xn:f={x:c,y:t.y-n.height};break;case Mr:f={x:c,y:t.y+t.height};break;case Dr:f={x:t.x+t.width,y:d};break;case Qn:f={x:t.x-n.width,y:d};break;default:f={x:t.x,y:t.y}}var p=o?ob(o):null;if(p!=null){var m=p==="y"?"height":"width";switch(l){case al:f[p]=f[p]-(t[m]/2-n[m]/2);break;case du:f[p]=f[p]+(t[m]/2-n[m]/2);break}}return f}function fu(e,t){t===void 0&&(t={});var n=t,a=n.placement,o=a===void 0?e.placement:a,l=n.strategy,c=l===void 0?e.strategy:l,d=n.boundary,f=d===void 0?R4:d,p=n.rootBoundary,m=p===void 0?XR:p,y=n.elementContext,b=y===void 0?jc:y,x=n.altBoundary,E=x===void 0?!1:x,S=n.padding,C=S===void 0?0:S,R=tC(typeof C!="number"?C:nC(C,Nu)),N=b===jc?C4:jc,D=e.rects.popper,L=e.elements[E?N:b],O=o5(Ao(L)?L:L.contextElement||Gi(e.elements.popper),f,m,c),A=ol(e.elements.reference),w=aC({reference:A,element:D,placement:o}),M=qy(Object.assign({},D,w)),I=b===jc?M:A,$={top:O.top-I.top+R.top,bottom:I.bottom-O.bottom+R.bottom,left:O.left-I.left+R.left,right:I.right-O.right+R.right},Y=e.modifiersData.offset;if(b===jc&&Y){var ne=Y[o];Object.keys($).forEach(function(se){var ae=[Dr,Mr].indexOf(se)>=0?1:-1,ee=[Xn,Mr].indexOf(se)>=0?"y":"x";$[se]+=ne[ee]*ae})}return $}function s5(e,t){t===void 0&&(t={});var n=t,a=n.placement,o=n.boundary,l=n.rootBoundary,c=n.padding,d=n.flipVariations,f=n.allowedAutoPlacements,p=f===void 0?QR:f,m=sl(a),y=m?d?d1:d1.filter(function(E){return sl(E)===m}):Nu,b=y.filter(function(E){return p.indexOf(E)>=0});b.length===0&&(b=y);var x=b.reduce(function(E,S){return E[S]=fu(e,{placement:S,boundary:o,rootBoundary:l,padding:c})[ma(S)],E},{});return Object.keys(x).sort(function(E,S){return x[E]-x[S]})}function l5(e){if(ma(e)===rb)return[];var t=Bf(e);return[h1(e),t,h1(t)]}function c5(e){var t=e.state,n=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var o=n.mainAxis,l=o===void 0?!0:o,c=n.altAxis,d=c===void 0?!0:c,f=n.fallbackPlacements,p=n.padding,m=n.boundary,y=n.rootBoundary,b=n.altBoundary,x=n.flipVariations,E=x===void 0?!0:x,S=n.allowedAutoPlacements,C=t.options.placement,R=ma(C),N=R===C,D=f||(N||!E?[Bf(C)]:l5(C)),L=[C].concat(D).reduce(function(oe,pe){return oe.concat(ma(pe)===rb?s5(t,{placement:pe,boundary:m,rootBoundary:y,padding:p,flipVariations:E,allowedAutoPlacements:S}):pe)},[]),O=t.rects.reference,A=t.rects.popper,w=new Map,M=!0,I=L[0],$=0;$<L.length;$++){var Y=L[$],ne=ma(Y),se=sl(Y)===al,ae=[Xn,Mr].indexOf(ne)>=0,ee=ae?"width":"height",P=fu(t,{placement:Y,boundary:m,rootBoundary:y,altBoundary:b,padding:p}),K=ae?se?Dr:Qn:se?Mr:Xn;O[ee]>A[ee]&&(K=Bf(K));var ie=Bf(K),de=[];if(l&&de.push(P[ne]<=0),d&&de.push(P[K]<=0,P[ie]<=0),de.every(function(oe){return oe})){I=Y,M=!1;break}w.set(Y,de)}if(M)for(var me=E?3:1,j=function(pe){var ue=L.find(function(Se){var fe=w.get(Se);if(fe)return fe.slice(0,pe).every(function(ge){return ge})});if(ue)return I=ue,"break"},X=me;X>0;X--){var le=j(X);if(le==="break")break}t.placement!==I&&(t.modifiersData[a]._skip=!0,t.placement=I,t.reset=!0)}}const u5={name:"flip",enabled:!0,phase:"main",fn:c5,requiresIfExists:["offset"],data:{_skip:!1}};function g1(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function y1(e){return[Xn,Dr,Mr,Qn].some(function(t){return e[t]>=0})}function d5(e){var t=e.state,n=e.name,a=t.rects.reference,o=t.rects.popper,l=t.modifiersData.preventOverflow,c=fu(t,{elementContext:"reference"}),d=fu(t,{altBoundary:!0}),f=g1(c,a),p=g1(d,o,l),m=y1(f),y=y1(p);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:m,hasPopperEscaped:y},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":y})}const f5={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:d5};function p5(e,t,n){var a=ma(e),o=[Qn,Xn].indexOf(a)>=0?-1:1,l=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=l[0],d=l[1];return c=c||0,d=(d||0)*o,[Qn,Dr].indexOf(a)>=0?{x:d,y:c}:{x:c,y:d}}function h5(e){var t=e.state,n=e.options,a=e.name,o=n.offset,l=o===void 0?[0,0]:o,c=QR.reduce(function(m,y){return m[y]=p5(y,t.rects,l),m},{}),d=c[t.placement],f=d.x,p=d.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[a]=c}const m5={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:h5};function g5(e){var t=e.state,n=e.name;t.modifiersData[n]=aC({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const y5={name:"popperOffsets",enabled:!0,phase:"read",fn:g5,data:{}};function v5(e){return e==="x"?"y":"x"}function b5(e){var t=e.state,n=e.options,a=e.name,o=n.mainAxis,l=o===void 0?!0:o,c=n.altAxis,d=c===void 0?!1:c,f=n.boundary,p=n.rootBoundary,m=n.altBoundary,y=n.padding,b=n.tether,x=b===void 0?!0:b,E=n.tetherOffset,S=E===void 0?0:E,C=fu(t,{boundary:f,rootBoundary:p,padding:y,altBoundary:m}),R=ma(t.placement),N=sl(t.placement),D=!N,L=ob(R),O=v5(L),A=t.modifiersData.popperOffsets,w=t.rects.reference,M=t.rects.popper,I=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,$=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),Y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ne={x:0,y:0};if(A){if(l){var se,ae=L==="y"?Xn:Qn,ee=L==="y"?Mr:Dr,P=L==="y"?"height":"width",K=A[L],ie=K+C[ae],de=K-C[ee],me=x?-M[P]/2:0,j=N===al?w[P]:M[P],X=N===al?-M[P]:-w[P],le=t.elements.arrow,oe=x&&le?ib(le):{width:0,height:0},pe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:eC(),ue=pe[ae],Se=pe[ee],fe=Jc(0,w[P],oe[P]),ge=D?w[P]/2-me-fe-ue-$.mainAxis:j-fe-ue-$.mainAxis,ut=D?
vendor: 4,216 bytes, line 148
148-w[P]/2+me+fe+Se+$.mainAxis:X+fe+Se+$.mainAxis,Oe=t.elements.arrow&&ku(t.elements.arrow),qe=Oe?L==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,_t=(se=Y==null?void 0:Y[L])!=null?se:0,Pe=K+ge-_t-qe,Ae=K+ut-_t,ye=Jc(x?ap(ie,Pe):ie,K,x?To(de,Ae):de);A[L]=ye,ne[L]=ye-K}if(d){var Ze,ft=L==="x"?Xn:Qn,be=L==="x"?Mr:Dr,He=A[O],_e=O==="y"?"height":"width",it=He+C[ft],ke=He-C[be],Ye=[Xn,Qn].indexOf(R)!==-1,dn=(Ze=Y==null?void 0:Y[O])!=null?Ze:0,On=Ye?it:He-w[_e]-M[_e]-dn+$.altAxis,Hn=Ye?He+w[_e]+M[_e]-dn-$.altAxis:ke,tt=x&&Ye?F4(On,He,Hn):Jc(x?On:it,He,x?Hn:ke);A[O]=tt,ne[O]=tt-He}t.modifiersData[a]=ne}}const S5={name:"preventOverflow",enabled:!0,phase:"main",fn:b5,requiresIfExists:["offset"]};function x5(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function _5(e){return e===fr(e)||!Ar(e)?sb(e):x5(e)}function E5(e){var t=e.getBoundingClientRect(),n=il(t.width)/e.offsetWidth||1,a=il(t.height)/e.offsetHeight||1;return n!==1||a!==1}function w5(e,t,n){n===void 0&&(n=!1);var a=Ar(t),o=Ar(t)&&E5(t),l=Gi(t),c=ol(e,o,n),d={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(a||!a&&!n)&&((ya(t)!=="body"||cb(l))&&(d=_5(t)),Ar(t)?(f=ol(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):l&&(f.x=lb(l))),{x:c.left+d.scrollLeft-f.x,y:c.top+d.scrollTop-f.y,width:c.width,height:c.height}}function T5(e){var t=new Map,n=new Set,a=[];e.forEach(function(l){t.set(l.name,l)});function o(l){n.add(l.name);var c=[].concat(l.requires||[],l.requiresIfExists||[]);c.forEach(function(d){if(!n.has(d)){var f=t.get(d);f&&o(f)}}),a.push(l)}return e.forEach(function(l){n.has(l.name)||o(l)}),a}function R5(e){var t=T5(e);return U4.reduce(function(n,a){return n.concat(t.filter(function(o){return o.phase===a}))},[])}function C5(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function O5(e){var t=e.reduce(function(n,a){var o=n[a.name];return n[a.name]=o?Object.assign({},o,a,{options:Object.assign({},o.options,a.options),data:Object.assign({},o.data,a.data)}):a,n},{});return Object.keys(t).map(function(n){return t[n]})}var v1={placement:"bottom",modifiers:[],strategy:"absolute"};function b1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function A5(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,a=n===void 0?[]:n,o=t.defaultOptions,l=o===void 0?v1:o;return function(d,f,p){p===void 0&&(p=l);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},v1,l),modifiersData:{},elements:{reference:d,popper:f},attributes:{},styles:{}},y=[],b=!1,x={state:m,setOptions:function(R){var N=typeof R=="function"?R(m.options):R;S(),m.options=Object.assign({},l,m.options,N),m.scrollParents={reference:Ao(d)?eu(d):d.contextElement?eu(d.contextElement):[],popper:eu(f)};var D=R5(O5([].concat(a,m.options.modifiers)));return m.orderedModifiers=D.filter(function(L){return L.enabled}),E(),x.update()},forceUpdate:function(){if(!b){var R=m.elements,N=R.reference,D=R.popper;if(b1(N,D)){m.rects={reference:w5(N,ku(D),m.options.strategy==="fixed"),popper:ib(D)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach(function($){return m.modifiersData[$.name]=Object.assign({},$.data)});for(var L=0;L<m.orderedModifiers.length;L++){if(m.reset===!0){m.reset=!1,L=-1;continue}var O=m.orderedModifiers[L],A=O.fn,w=O.options,M=w===void 0?{}:w,I=O.name;typeof A=="function"&&(m=A({state:m,options:M,name:I,instance:x})||m)}}}},update:C5(function(){return new Promise(function(C){x.forceUpdate(),C(m)})}),destroy:function(){S(),b=!0}};if(!b1(d,f))return x;x.setOptions(p).then(function(C){!b&&p.onFirstUpdate&&p.onFirstUpdate(C)});function E(){m.orderedModifiers.forEach(function(C){var R=C.name,N=C.options,D=N===void 0?{}:N,L=C.effect;if(typeof L=="function"){var O=L({state:m,name:R,instance:x,options:D}),A=function(){};y.push(O||A)}})}function S(){y.forEach(function(C){return C()}),y=[]}return x}}var N5=[J4,y5,Q4,$4,m5,u5,S5,V4,f5],k5=A5({defaultModifiers:N5});const M5="Popper";function D5(e){return x4(M5,e)}const L5=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","
148slots","TransitionProps","ownerState"],I5=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function j5(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Gy(e){return typeof e=="function"?e():e}function U5(e){return e.nodeType!==void 0}const z5=()=>Dt({root:["root"]},O3(D5)),P5={},$5=T.forwardRef(function(t,n){var a;const{anchorEl:o,children:l,direction:c,disablePortal:d,modifiers:f,open:p,placement:m,popperOptions:y,popperRef:b,slotProps:x={},slots:E={},TransitionProps:S}=t,C=Re(t,L5),R=T.useRef(null),N=er(R,n),D=T.useRef(null),L=er(D,b),O=T.useRef(L);Wr(()=>{O.current=L},[L]),T.useImperativeHandle(b,()=>D.current,[]);const A=j5(m,c),[w,M]=T.useState(A),[I,$]=T.useState(Gy(o));T.useEffect(()=>{D.current&&D.current.forceUpdate()}),T.useEffect(()=>{o&&$(Gy(o))},[o]),Wr(()=>{if(!I||!p)return;const ee=ie=>{M(ie.placement)};let P=[{name:"preventOverflow",options:{altBoundary:d}},{name:"flip",options:{altBoundary:d}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:ie})=>{ee(ie)}}];f!=null&&(P=P.concat(f)),y&&y.modifiers!=null&&(P=P.concat(y.modifiers));const K=k5(I,R.current,U({placement:A},y,{modifiers:P}));return O.current(K),()=>{K.destroy(),O.current(null)}},[I,d,f,p,y,A]);const Y={placement:w};S!==null&&(Y.TransitionProps=S);const ne=z5(),se=(a=E.root)!=null?a:"div",ae=YR({elementType:se,externalSlotProps:x.root,externalForwardedProps:C,additionalProps:{role:"tooltip",ref:N},ownerState:t,className:ne.root});return v.jsx(se,U({},ae,{children:typeof l=="function"?l(Y):l}))}),B5=T.forwardRef(function(t,n){const{anchorEl:a,children:o,container:l,direction:c="ltr",disablePortal:d=!1,keepMounted:f=!1,modifiers:p,open:m,placement:y="bottom",popperOptions:b=P5,popperRef:x,style:E,transition:S=!1,slotProps:C={},slots:R={}}=t,N=Re(t,I5),[D,L]=T.useState(!0),O=()=>{L(!1)},A=()=>{L(!0)};if(!f&&!m&&(!S||D))return null;let w;if(l)w=l;else if(a){const $=Gy(a);w=$&&U5($)?wo($).body:wo(null).body}const M=!m&&f&&(!S||D)?"none":void 0,I=S?{in:m,onEnter:O,onExited:A}:void 0;return v.jsx(T4,{disablePortal:d,container:w,children:v.jsx($5,U({anchorEl:a,direction:c,disablePortal:d,modifiers:p,ref:n,open:S?!D:m,placement:y,popperOptions:b,popperRef:x,slotProps:C,slots:R},N,{style:U({position:"fixed",top:0,left:0,display:M},E),TransitionProps:I,children:o}))})});function H5(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:a,open:o,resumeHideDuration:l}=e,c=So();T.useEffect(()=>{if(!o)return;function R(N){N.defaultPrevented||(N.key==="Escape"||N.key==="Esc")&&(a==null||a(N,"escapeKeyDown"))}return document.addEventListener("keydown",R),()=>{document.removeEventListener("keydown",R)}},[o,a]);const d=da((R,N)=>{a==null||a(R,N)}),f=da(R=>{!a||R==null||c.start(R,()=>{d(null,"timeout")})});T.useEffect(()=>(o&&f(t),c.clear),[o,t,f,c]);const p=R=>{a==null||a(R,"clickaway")},m=c.clear,y=T.useCallback(()=>{t!=null&&f(l??t*.5)},[t,l,f]),b=R=>N=>{const D=R.onBlur;D==null||D(N),y()},x=R=>N=>{const D=R.onFocus;D==null||D(N),m()},E=R=>N=>{const D=R.onMouseEnter;D==null||D(N),m()},S=R=>N=>{const D=R.onMouseLeave;D==null||D(N),y()};return T.useEffect(()=>{if(!n&&o)return window.addEventListener("focus",y),window.addEventListener("blur",m),()=>{window.removeEventListener("focus",y),window.removeEventListener("blur",m)}},[n,o,y,m]),{getRootProps:(R={})=>{const N=U({},$y(e),$y(R));return U({role:"presentation"},R,N,{onBlur:b(N),onFocus:x(N),onMouseEnter:E(N),onMouseLeave:S(N)})},onClickAway:p}}const F5=["onChange","maxRows","minRows","style","value"];function yf(e){return parseInt(e,10)||0}const q5={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function G5(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const W5=T.forwardRef(function(t,n){const{onChange:a,maxRows:o,minRows:l=1,style:c,value:d}=t,f=Re(t,F5),{current:p}=T.useRef(d!=null),m=T.useRef(null),y=er(n,m),b=T.useRef(null),x=T.useCallback(()=>{const C=m.current,N=Ly(C).getComputedStyle(C);if(N.width==="0px")return{outerHeightStyle:0,overflowing:!1};const D=b.current;D.style.width=N.width,D.value=C.value||t.placeholder||"x",D.value.slice(-1)===` 149`&&(D.value+=" ");const L=N.boxSizing,O=yf(N.paddingBottom)+yf(N.paddingTop),A=yf(N.borderBottomWidth)+yf(N.borderTopWidth),w=D.scrollHeight;D.value="x";const M=D.scrollHeight;let I=w;l&&(I=Math.max(Number(l)*M,I)),o&&(I=Math.min(Number(o)*M,I)),I=Math.max(I,M);const $=I+(L==="border-box"?O+A:0),Y=Math.abs(I-w)<=1;return{outerHeightStyle:$,overflowing:Y}},[o,l,t.placeholder]),E=T.useCallback(()=>{const C=x();if(G5(C))return;const R=m.current;R.style.height=`${C.outerHeightStyle}px`,R.style.overflow=C.overflowing?"hidden":""},[x]);Wr(()=>{const C=()=>{E()};let R;const N=jR(C),D=m.current,L=Ly(D);L.addEventListener("resize",N);let O;return typeof ResizeObserver<"u"&&(O=new ResizeObserver(C),O.observe(D)),()=>{N.clear(),cancelAnimationFrame(R),L.removeEventListener("resize",N),O&&O.disconnect()}},[x,E]),Wr(()=>{E()});const S=C=>{p||E(),a&&a(C)};return v.jsxs(T.Fragment,{children:[v.jsx("textarea",U({value:d,onChange:S,ref:y,rows:l,style:c}
149,f)),v.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:b,tabIndex:-1,style:U({},q5.shadow,c,{paddingTop:0,paddingBottom:0})})]})});var Uc={},S1;function V5(){if(S1)return Uc;S1=1,Object.defineProperty(Uc,"__esModule",{value:!0}),Uc.default=void 0;var e=a(Sl()),t=HR;function n(c){if(typeof WeakMap!="function")return null;var d=new WeakMap,f=new WeakMap;return(n=function(p){return p?f:d})(c)}function a(c,d){if(c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var f=n(d);if(f&&f.has(c))return f.get(c);var p={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in c)if(y!=="default"&&Object.prototype.hasOwnProperty.call(c,y)){var b=m?Object.getOwnPropertyDescriptor(c,y):null;b&&(b.get||b.set)?Object.defineProperty(p,y,b):p[y]=c[y]}return p.default=c,f&&f.set(c,p),p}function o(c){return Object.keys(c).length===0}function l(c=null){const d=e.useContext(t.ThemeContext);return!d||o(d)?c:d}return Uc.default=l,Uc}var Y5=V5();const K5=Ir(Y5),X5=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Q5=Ce(B5,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),iC=T.forwardRef(function(t,n){var a;const o=K5(),l=Lt({props:t,name:"MuiPopper"}),{anchorEl:c,component:d,components:f,componentsProps:p,container:m,disablePortal:y,keepMounted:b,modifiers:x,open:E,placement:S,popperOptions:C,popperRef:R,transition:N,slots:D,slotProps:L}=l,O=Re(l,X5),A=(a=D==null?void 0:D.root)!=null?a:f==null?void 0:f.Root,w=U({anchorEl:c,container:m,disablePortal:y,keepMounted:b,modifiers:x,open:E,placement:S,popperOptions:C,popperRef:R,transition:N},O);return v.jsx(Q5,U({as:d,direction:o==null?void 0:o.direction,slots:{root:A},slotProps:L??p},w,{ref:n}))}),Z5=va(v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function J5(e){return kt("MuiChip",e)}const at=Mt("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),eU=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],tU=e=>{const{classes:t,disabled:n,size:a,color:o,iconColor:l,onDelete:c,clickable:d,variant:f}=e,p={root:["root",f,n&&"disabled",`size${ce(a)}`,`color${ce(o)}`,d&&"clickable",d&&`clickableColor${ce(o)}`,c&&"deletable",c&&`deletableColor${ce(o)}`,`${f}${ce(o)}`],label:["label",`label${ce(a)}`],avatar:["avatar",`avatar${ce(a)}`,`avatarColor${ce(o)}`],icon:["icon",`icon${ce(a)}`,`iconColor${ce(l)}`],deleteIcon:["deleteIcon",`deleteIcon${ce(a)}`,`deleteIconColor${ce(o)}`,`deleteIcon${ce(f)}Color${ce(o)}`]};return Dt(p,J5,t)},nU=Ce("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:a,iconColor:o,clickable:l,onDelete:c,size:d,variant:f}=n;return[{[`& .${at.avatar}`]:t.avatar},{[`& .${at.avatar}`]:t[`avatar${ce(d)}`]},{[`& .${at.avatar}`]:t[`avatarColor${ce(a)}`]},{[`& .${at.icon}`]:t.icon},{[`& .${at.icon}`]:t[`icon${ce(d)}`]},{[`& .${at.icon}`]:t[`iconColor${ce(o)}`]},{[`& .${at.deleteIcon}`]:t.deleteIcon},{[`& .${at.deleteIcon}`]:t[`deleteIcon${ce(d)}`]},{[`& .${at.deleteIcon}`]:t[`deleteIconColor${ce(a)}`]},{[`& .${at.deleteIcon}`]:t[`deleteIcon${ce(f)}Color${ce(a)}`]},t.root,t[`size${ce(d)}`],t[`color${ce(a)}`],l&&t.clickable,l&&a!=="default"&&t[`clickableColor${ce(a)})`],c&&t.deletable,c&&a!=="default"&&t[`deletableColor${ce(a)}`],t[f],t[`${f}${ce(a)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return U({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${at.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${at.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${at.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${at.avatarColorSecondary}
149`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${at.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${at.icon}`]:U({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&U({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${at.deleteIcon}`]:U({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:ct.alpha(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:ct.alpha(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:ct.alpha(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${at.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ct.alpha(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${at.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>U({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ct.alpha(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${at.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ct.alpha(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${at.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>U({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${at.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${at.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${at.avatar}`]:{marginLeft:4},[`& .${at.avatarSmall}`]:{marginLeft:2},[`& .${at.icon}`]:{marginLeft:4},[`& .${at.iconSmall}`]:{marginLeft:2},[`& .${at.deleteIcon}`]:{marginRight:5},[`& .${at.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:ct.alpha(e.palette[t.color].main,.7)}`,[`&.${at.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ct.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${at.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:ct.alpha(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${at.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:ct.alpha(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),rU=Ce("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:a}=n;return[t.label,t[`label${ce(a)}`]]}})(({ownerState:e})=>U({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function x1(e){return e.key==="Backspace"||e.key==="Delete"}const Yp=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiChip"}),{avatar:o,className:l,clickable:c,color:d="default",component:f,deleteIcon:p,disabled:m=!1,icon:y,label:b,onClick:x,onDelete:E,onKeyDown:S,onKeyUp:C,size:R="medium",variant:N="filled",tabIndex:D,skipFocusWhenDisabled:L=!1}=a,O=Re(a,eU),A=T.useRef(null),w=er(A,n),M=de=>{de.stopPropagation(),E&&E(de)},I=de=>{de.currentTarget===de.target&&x1(de)&&de.preventDefault(),S&&S(de)},$=de=>{de.currentTarget===de.target&&(E&&x1(de)?E(de):de.key==="Escape"&&A.current&&A.current.blur()),C&&C(de)},Y=c!==!1&&x?!0:c,ne=Y||E?rp:f||"div",se=U({},a,{component:ne,disabled:m,size:R,color:d,iconColor:T.isValidElement(y)&&y.props.color||d,onDelete:!!E,clickable:Y,variant:N}
vendor: 5,762 bytes, line 149
149),ae=tU(se),ee=ne===rp?U({component:f||"div",focusVisibleClassName:ae.focusVisible},E&&{disableRipple:!0}):{};let P=null;E&&(P=p&&T.isValidElement(p)?T.cloneElement(p,{className:De(p.props.className,ae.deleteIcon),onClick:M}):v.jsx(Z5,{className:De(ae.deleteIcon),onClick:M}));let K=null;o&&T.isValidElement(o)&&(K=T.cloneElement(o,{className:De(ae.avatar,o.props.className)}));let ie=null;return y&&T.isValidElement(y)&&(ie=T.cloneElement(y,{className:De(ae.icon,y.props.className)})),v.jsxs(nU,U({as:ne,className:De(ae.root,l),disabled:Y&&m?!0:void 0,onClick:x,onKeyDown:I,onKeyUp:$,ref:w,tabIndex:L&&m?-1:D,ownerState:se},ee,O,{children:[K||ie,v.jsx(rU,{className:De(ae.label),ownerState:se,children:b}),P]}))});function Kp({props:e,states:t,muiFormControl:n}){return t.reduce((a,o)=>(a[o]=e[o],n&&typeof e[o]>"u"&&(a[o]=n[o]),a),{})}const Xp=T.createContext(void 0);function Mu(){return T.useContext(Xp)}function aU(e){return v.jsx(OR,U({},e,{defaultTheme:Fp,themeId:Oo}))}function _1(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Wy(e,t=!1){return e&&(_1(e.value)&&e.value!==""||t&&_1(e.defaultValue)&&e.defaultValue!=="")}function iU(e){return e.startAdornment}function oU(e){return kt("MuiInputBase",e)}const ip=Mt("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),sU=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],oC=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ce(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},sC=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},lU=e=>{const{classes:t,color:n,disabled:a,error:o,endAdornment:l,focused:c,formControl:d,fullWidth:f,hiddenLabel:p,multiline:m,readOnly:y,size:b,startAdornment:x,type:E}=e,S={root:["root",`color${ce(n)}`,a&&"disabled",o&&"error",f&&"fullWidth",c&&"focused",d&&"formControl",b&&b!=="medium"&&`size${ce(b)}`,m&&"multiline",x&&"adornedStart",l&&"adornedEnd",p&&"hiddenLabel",y&&"readOnly"],input:["input",a&&"disabled",E==="search"&&"inputTypeSearch",m&&"inputMultiline",b==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",x&&"inputAdornedStart",l&&"inputAdornedEnd",y&&"readOnly"]};return Dt(S,oU,t)},lC=Ce("div",{name:"MuiInputBase",slot:"Root",overridesResolver:oC})(({theme:e,ownerState:t})=>U({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${ip.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&U({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),cC=Ce("input",{name:"MuiInputBase",slot:"Input",overridesResolver:sC})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",a=U({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},l=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return U({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${ip.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":l,"&:focus::-moz-placeholder":l,"&:focus:-ms-input-placeholder":l,"&:focus::-ms-input-placeholder":l},[`&.${ip.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),cU=v.jsx(aU,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),uU=T.forwardRef(function(t,n){var a;const o=Lt({props:t,name:"MuiInputBase"}),{"aria-describedby":l,autoComplete:c,autoFocus:d,className:f,components:p={},componentsProps:m={},defaultValue:y,disabled:b,disableInjectingGlobalStyles:x,endAdornment:E,fullWidth:S=!1,id:C,inputComponent:R="input",inputProps:N={},inputRef:D,maxRows:L,minRows:O,multiline:A=!1,name:w,onBlur:M,onChange:I,onClick:$,onFocus:Y,onKeyDown:ne,onKeyUp:se,placeholder:ae,readOnly:ee,render
149Suffix:P,rows:K,slotProps:ie={},slots:de={},startAdornment:me,type:j="text",value:X}=o,le=Re(o,sU),oe=N.value!=null?N.value:X,{current:pe}=T.useRef(oe!=null),ue=T.useRef(),Se=T.useCallback(tt=>{},[]),fe=er(ue,D,N.ref,Se),[ge,ut]=T.useState(!1),Oe=Mu(),qe=Kp({props:o,muiFormControl:Oe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});qe.focused=Oe?Oe.focused:ge,T.useEffect(()=>{!Oe&&b&&ge&&(ut(!1),M&&M())},[Oe,b,ge,M]);const _t=Oe&&Oe.onFilled,Pe=Oe&&Oe.onEmpty,Ae=T.useCallback(tt=>{Wy(tt)?_t&&_t():Pe&&Pe()},[_t,Pe]);Wr(()=>{pe&&Ae({value:oe})},[oe,Ae,pe]);const ye=tt=>{if(qe.disabled){tt.stopPropagation();return}Y&&Y(tt),N.onFocus&&N.onFocus(tt),Oe&&Oe.onFocus?Oe.onFocus(tt):ut(!0)},Ze=tt=>{M&&M(tt),N.onBlur&&N.onBlur(tt),Oe&&Oe.onBlur?Oe.onBlur(tt):ut(!1)},ft=(tt,...Ne)=>{if(!pe){const mn=tt.target||ue.current;if(mn==null)throw new Error(nl(1));Ae({value:mn.value})}N.onChange&&N.onChange(tt,...Ne),I&&I(tt,...Ne)};T.useEffect(()=>{Ae(ue.current)},[]);const be=tt=>{ue.current&&tt.currentTarget===tt.target&&ue.current.focus(),$&&$(tt)};let He=R,_e=N;A&&He==="input"&&(K?_e=U({type:void 0,minRows:K,maxRows:K},_e):_e=U({type:void 0,maxRows:L,minRows:O},_e),He=W5);const it=tt=>{Ae(tt.animationName==="mui-auto-fill-cancel"?ue.current:{value:"x"})};T.useEffect(()=>{Oe&&Oe.setAdornedStart(!!me)},[Oe,me]);const ke=U({},o,{color:qe.color||"primary",disabled:qe.disabled,endAdornment:E,error:qe.error,focused:qe.focused,formControl:Oe,fullWidth:S,hiddenLabel:qe.hiddenLabel,multiline:A,size:qe.size,startAdornment:me,type:j}),Ye=lU(ke),dn=de.root||p.Root||lC,On=ie.root||m.root||{},Hn=de.input||p.Input||cC;return _e=U({},_e,(a=ie.input)!=null?a:m.input),v.jsxs(T.Fragment,{children:[!x&&cU,v.jsxs(dn,U({},On,!Py(dn)&&{ownerState:U({},ke,On.ownerState)},{ref:n,onClick:be},le,{className:De(Ye.root,On.className,f,ee&&"MuiInputBase-readOnly"),children:[me,v.jsx(Xp.Provider,{value:null,children:v.jsx(Hn,U({ownerState:ke,"aria-invalid":qe.error,"aria-describedby":l,autoComplete:c,autoFocus:d,defaultValue:y,disabled:qe.disabled,id:C,onAnimationStart:it,name:w,placeholder:ae,readOnly:ee,required:qe.required,rows:K,value:oe,onKeyDown:ne,onKeyUp:se,type:j},_e,!Py(Hn)&&{as:He,ownerState:U({},ke,_e.ownerState)},{ref:fe,className:De(Ye.input,_e.className,ee&&"MuiInputBase-readOnly"),onBlur:Ze,onChange:ft,onFocus:ye}))}),E,P?P(U({},qe,{startAdornment:me})):null]}))]})});function dU(e){return kt("MuiOutlinedInput",e)}const Ni=U({},ip,Mt("MuiOutlinedInput",["root","notchedOutline","input"])),fU=va(v.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function pU(e){return kt("MuiAvatar",e)}Mt("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const hU=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],mU=FR(),gU=e=>{const{classes:t,variant:n,colorDefault:a}=e;return Dt({root:["root",n,a&&"colorDefault"],img:["img"],fallback:["fallback"]},pU,t)},yU=Ce("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:U({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:U({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),vU=Ce("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),bU=Ce(fU,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function SU({crossOrigin:e,referrerPolicy:t,src:n,srcSet:a}){const[o,l]=T.useState(!1);return T.useEffect(()=>{if(!n&&!a)return;l(!1);let c=!0;const d=new Image;return d.onload=()=>{c&&l("loaded")},d.onerror=()=>{c&&l("error")},d.crossOrigin=e,d.referrerPolicy=t,d.src=n,a&&(d.srcset=a),()=>{c=!1}},[e,t,n,a]),o}const xU=T.forwardRef(function(t,n){const a=mU({props:t,name:"MuiAvatar"}),{alt:o,children:l,className:c,component:d="div",slots:f={},slotProps:p={},imgProps:m,sizes:y,src:b,srcSet:x,variant:E="circular"}=a,S=Re(a,hU);let C=null;const R=SU(U({}
vendor: 4,604 bytes, line 149
149,m,{src:b,srcSet:x})),N=b||x,D=N&&R!=="error",L=U({},a,{colorDefault:!D,component:d,variant:E}),O=gU(L),[A,w]=By("img",{className:O.img,elementType:vU,externalForwardedProps:{slots:f,slotProps:{img:U({},m,p.img)}},additionalProps:{alt:o,src:b,srcSet:x,sizes:y},ownerState:L});return D?C=v.jsx(A,U({},w)):l||l===0?C=l:N&&o?C=o[0]:C=v.jsx(bU,{ownerState:L,className:O.fallback}),v.jsx(yU,U({as:d,ownerState:L,className:De(O.root,c),ref:n},S,{children:C}))}),_U=Mt("MuiBox",["root"]),EU=eb(),q=RI({themeId:Oo,defaultTheme:EU,defaultClassName:_U.root,generateClassName:Xv.generate});function wU(e){return kt("MuiButton",e)}const Xc=Mt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),TU=T.createContext({}),RU=T.createContext(void 0),CU=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],OU=e=>{const{color:t,disableElevation:n,fullWidth:a,size:o,variant:l,classes:c}=e,d={root:["root",l,`${l}${ce(t)}`,`size${ce(o)}`,`${l}Size${ce(o)}`,`color${ce(t)}`,n&&"disableElevation",a&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ce(o)}`],endIcon:["icon","endIcon",`iconSize${ce(o)}`]},f=Dt(d,wU,c);return U({},c,f)},uC=e=>U({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),AU=Ce(rp,{shouldForwardProp:e=>Au(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ce(n.color)}`],t[`size${ce(n.size)}`],t[`${n.variant}Size${ce(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,a;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],l=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return U({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":U({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ct.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ct.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ct.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":U({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Xc.focusVisible}`]:U({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Xc.disabled}`]:U({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackgroun
149d}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${ct.alpha(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(a=e.palette).getContrastText)==null?void 0:n.call(a,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Xc.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Xc.disabled}`]:{boxShadow:"none"}}),NU=Ce("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ce(n.size)}`]]}})(({ownerState:e})=>U({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},uC(e))),kU=Ce("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ce(n.size)}`]]}})(({ownerState:e})=>U({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},uC(e))),St=T.forwardRef(function(t,n){const a=T.useContext(TU),o=T.useContext(RU),l=Qv(a,t),c=Lt({props:l,name:"MuiButton"}),{children:d,color:f="primary",component:p="button",className:m,disabled:y=!1,disableElevation:b=!1,disableFocusRipple:x=!1,endIcon:E,focusVisibleClassName:S,fullWidth:C=!1,size:R="medium",startIcon:N,type:D,variant:L="text"}=c,O=Re(c,CU),A=U({},c,{color:f,component:p,disabled:y,disableElevation:b,disableFocusRipple:x,fullWidth:C,size:R,type:D,variant:L}),w=OU(A),M=N&&v.jsx(NU,{className:w.startIcon,ownerState:A,children:N}),I=E&&v.jsx(kU,{className:w.endIcon,ownerState:A,children:E}),$=o||"";return v.jsxs(AU,U({ownerState:A,className:De(a.className,w.root,m,$),component:p,disabled:y,focusRipple:!x,focusVisibleClassName:De(w.focusVisible,S),ref:n,type:D},O,{classes:w,children:[M,d,I]}))});function MU(e){return kt("MuiCircularProgress",e)}Mt("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const DU=["className","color","disableShrink","size","style","thickness","value","variant"];let Qp=e=>e,E1,w1,T1,R1;const ki=44,LU=ei(E1||(E1=Qp` 150 0% { 151 transform: rotate(0deg); 152 } 153 154 100% { 155 transform: rotate(360deg); 156 } 157`)),IU=ei(w1||(w1=Qp` 158 0% { 159 stroke-dasharray: 1px, 200px; 160 stroke-dashoffset: 0; 161 } 162 163 50% { 164 stroke-dasharray: 100px, 200px; 165 stroke-dashoffset: -15px; 166 } 167 168 100% { 169 stroke-dasharray: 100px, 200px; 170 stroke-dashoffset: -125px; 171 } 172`)),jU=e=>{const{classes:t,variant:n,color:a,disableShrink:o}=e,l={root:["root",n,`color${ce(a)}`],svg:["svg"],circle:["circle",`circle${ce(n)}`,o&&"circleDisableShrink"]};return Dt(l,MU,t)},UU=Ce("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${ce(n.color)}`]]}})(({ownerState:e,theme:t})=>
172U({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&jo(T1||(T1=Qp` 173 animation: ${0} 1.4s linear infinite; 174 `),LU)),zU=Ce("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),PU=Ce("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${ce(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>U({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&jo(R1||(R1=Qp` 175 animation: ${0} 1.4s ease-in-out infinite; 176 `),IU)),pr=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiCircularProgress"}),{className:o,color:l="primary",disableShrink:c=!1,size:d=40,style:f,thickness:p=3.6,value:m=0,variant:y="indeterminate"}=a,b=Re(a,DU),x=U({},a,{color:l,disableShrink:c,size:d,thickness:p,value:m,variant:y}),E=jU(x),S={},C={},R={};if(y==="determinate"){const N=2*Math.PI*((ki-p)/2);S.strokeDasharray=N.toFixed(3),R["aria-valuenow"]=Math.round(m),S.strokeDashoffset=`${((100-m)/100*N).toFixed(3)}px`,C.transform="rotate(-90deg)"}return v.jsx(UU,U({className:De(E.root,o),style:U({width:d,height:d},C,f),ownerState:x,ref:n,role:"progressbar"},R,b,{children:v.jsx(zU,{className:E.svg,ownerState:x,viewBox:`${
176ki/2} ${ki/2} ${ki} ${ki}`,children:v.jsx(PU,{className:E.circle,style:S,ownerState:x,cx:ki,cy:ki,r:(ki-p)/2,fill:"none",strokeWidth:p})})}))}),$U=_j({createStyledComponent:Ce("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ce(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Lt({props:e,name:"MuiContainer"})});function BU(e){return kt("MuiDivider",e)}Mt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const HU=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],FU=e=>{const{absolute:t,children:n,classes:a,flexItem:o,light:l,orientation:c,textAlign:d,variant:f}=e;return Dt({root:["root",t&&"absolute",f,l&&"light",c==="vertical"&&"vertical",o&&"flexItem",n&&"withChildren",n&&c==="vertical"&&"withChildrenVertical",d==="right"&&c!=="vertical"&&"textAlignRight",d==="left"&&c!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",c==="vertical"&&"wrapperVertical"]},BU,a)},qU=Ce("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>U({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:ct.alpha(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>U({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>U({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>U({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>U({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),GU=Ce("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>U({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),op=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiDivider"}),{absolute:o=!1,children:l,className:c,component:d=l?"div":"hr",flexItem:f=!1,light:p=!1,orientation:m="horizontal",role:y=d!=="hr"?"separator":void 0,textAlign:b="center",variant:x="fullWidth"}=a,E=Re(a,HU),S=U({},a,{absolute:o,component:d,flexItem:f,light:p,orientation:m,role:y,textAlign:b,variant:x}),C=FU(S);return v.jsx(qU,U({as:d,className:De(C.root,c),role:y,ref:n,ownerState:S},E,{children:l?v.jsx(GU,{className:C.wrapper,ownerState:S,children:l}):null}))});op.muiSkipListHighlight=!0;function WU(e){return kt("MuiFormControl",e)}Mt("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const VU=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],YU=e=>{const{classes:t,margin:n,fullWidth:a}=e,o={root:["root",n!=="none"&&`margin${ce(n)}`,a&&"fullWidth"]};return Dt(o,WU,t)},KU=Ce("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>U({},t.root,t[`margin${ce(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>
vendor: 4,817 bytes, line 176
176U({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),XU=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiFormControl"}),{children:o,className:l,color:c="primary",component:d="div",disabled:f=!1,error:p=!1,focused:m,fullWidth:y=!1,hiddenLabel:b=!1,margin:x="none",required:E=!1,size:S="medium",variant:C="outlined"}=a,R=Re(a,VU),N=U({},a,{color:c,component:d,disabled:f,error:p,fullWidth:y,hiddenLabel:b,margin:x,required:E,size:S,variant:C}),D=YU(N),[L,O]=T.useState(()=>{let se=!1;return o&&T.Children.forEach(o,ae=>{if(!$f(ae,["Input","Select"]))return;const ee=$f(ae,["Select"])?ae.props.input:ae;ee&&iU(ee.props)&&(se=!0)}),se}),[A,w]=T.useState(()=>{let se=!1;return o&&T.Children.forEach(o,ae=>{$f(ae,["Input","Select"])&&(Wy(ae.props,!0)||Wy(ae.props.inputProps,!0))&&(se=!0)}),se}),[M,I]=T.useState(!1);f&&M&&I(!1);const $=m!==void 0&&!f?m:M;let Y;const ne=T.useMemo(()=>({adornedStart:L,setAdornedStart:O,color:c,disabled:f,error:p,filled:A,focused:$,fullWidth:y,hiddenLabel:b,size:S,onBlur:()=>{I(!1)},onEmpty:()=>{w(!1)},onFilled:()=>{w(!0)},onFocus:()=>{I(!0)},registerEffect:Y,required:E,variant:C}),[L,c,f,p,A,$,y,b,Y,E,S,C]);return v.jsx(Xp.Provider,{value:ne,children:v.jsx(KU,U({as:d,ownerState:N,className:De(D.root,l),ref:n},R,{children:o}))})});function QU(e){return kt("MuiFormHelperText",e)}const C1=Mt("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var O1;const ZU=["children","className","component","disabled","error","filled","focused","margin","required","variant"],JU=e=>{const{classes:t,contained:n,size:a,disabled:o,error:l,filled:c,focused:d,required:f}=e,p={root:["root",o&&"disabled",l&&"error",a&&`size${ce(a)}`,n&&"contained",d&&"focused",c&&"filled",f&&"required"]};return Dt(p,QU,t)},ez=Ce("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ce(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>U({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${C1.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${C1.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),dC=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiFormHelperText"}),{children:o,className:l,component:c="p"}=a,d=Re(a,ZU),f=Mu(),p=Kp({props:a,muiFormControl:f,states:["variant","size","disabled","error","filled","focused","required"]}),m=U({},a,{component:c,contained:p.variant==="filled"||p.variant==="outlined",variant:p.variant,size:p.size,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required}),y=JU(m);return v.jsx(ez,U({as:c,ownerState:m,className:De(y.root,l),ref:n},d,{children:o===" "?O1||(O1=v.jsx("span",{className:"notranslate",children:"â"})):o}))});function tz(e){return kt("MuiFormLabel",e)}const Hf=Mt("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),nz=["children","className","color","component","disabled","error","filled","focused","required"],rz=e=>{const{classes:t,color:n,focused:a,disabled:o,error:l,filled:c,required:d}=e,f={root:["root",`color${ce(n)}`,o&&"disabled",l&&"error",c&&"filled",a&&"focused",d&&"required"],asterisk:["asterisk",l&&"error"]};return Dt(f,tz,t)},az=Ce("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>U({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>U({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Hf.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Hf.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Hf.error}`]:{color:(e.vars||e).palette.error.main}})),iz=Ce("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Hf.error}`]:{color:(e.vars||e).palette.error.main}})),oz=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiFormLabel"}),{children:o,className:l,component:c="label"}=a,d=Re(a,nz),f=Mu(),p=Kp({props:a,muiFormControl:f,states:["color","required","focused","disabled","error","filled"]}),m=U({},a,{color:p.color||"primary",component:c,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required}),y=rz(m);return v.jsxs(az,U({as:c,ownerState:m,className:De(y.root,l),ref:n},d,{children:[o,p.required&&v.jsxs(iz,{ownerState:m,"aria-hidden":!0,
176className:y.asterisk,children:["â","*"]})]}))}),A1=T.createContext();function sz(e){return kt("MuiGrid",e)}const lz=[0,1,2,3,4,5,6,7,8,9,10],cz=["column-reverse","column","row-reverse","row"],uz=["nowrap","wrap-reverse","wrap"],zc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],pu=Mt("MuiGrid",["root","container","item","zeroMinWidth",...lz.map(e=>`spacing-xs-${e}`),...cz.map(e=>`direction-xs-${e}`),...uz.map(e=>`wrap-xs-${e}`),...zc.map(e=>`grid-xs-${e}`),...zc.map(e=>`grid-sm-${e}`),...zc.map(e=>`grid-md-${e}`),...zc.map(e=>`grid-lg-${e}`),...zc.map(e=>`grid-xl-${e}`)]),dz=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Zs(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function fz({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((a,o)=>{let l={};if(t[o]&&(n=t[o]),!n)return a;if(n===!0)l={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")l={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const c=Mp({values:t.columns,breakpoints:e.breakpoints.values}),d=typeof c=="object"?c[o]:c;if(d==null)return a;const f=`${Math.round(n/d*1e8)/1e6}%`;let p={};if(t.container&&t.item&&t.columnSpacing!==0){const m=e.spacing(t.columnSpacing);if(m!=="0px"){const y=`calc(${f} + ${Zs(m)})`;p={flexBasis:y,maxWidth:y}}}l=U({flexBasis:f,flexGrow:0,maxWidth:f},p)}return e.breakpoints.values[o]===0?Object.assign(a,l):a[e.breakpoints.up(o)]=l,a},{})}function pz({theme:e,ownerState:t}){const n=Mp({values:t.direction,breakpoints:e.breakpoints.values});return kr({theme:e},n,a=>{const o={flexDirection:a};return a.indexOf("column")===0&&(o[`& > .${pu.item}`]={maxWidth:"none"}),o})}function fC({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(o=>{n===""&&t[o]!==0&&(n=o)});const a=Object.keys(e).sort((o,l)=>e[o]-e[l]);return a.slice(0,a.indexOf(n))}function hz({theme:e,ownerState:t}){const{container:n,rowSpacing:a}=t;let o={};if(n&&a!==0){const l=Mp({values:a,breakpoints:e.breakpoints.values});let c;typeof l=="object"&&(c=fC({breakpoints:e.breakpoints.values,values:l})),o=kr({theme:e},l,(d,f)=>{var p;const m=e.spacing(d);return m!=="0px"?{marginTop:`-${Zs(m)}`,[`& > .${pu.item}`]:{paddingTop:Zs(m)}}:(p=c)!=null&&p.includes(f)?{}:{marginTop:0,[`& > .${pu.item}`]:{paddingTop:0}}})}return o}function mz({theme:e,ownerState:t}){const{container:n,columnSpacing:a}=t;let o={};if(n&&a!==0){const l=Mp({values:a,breakpoints:e.breakpoints.values});let c;typeof l=="object"&&(c=fC({breakpoints:e.breakpoints.values,values:l})),o=kr({theme:e},l,(d,f)=>{var p;const m=e.spacing(d);return m!=="0px"?{width:`calc(100% + ${Zs(m)})`,marginLeft:`-${Zs(m)}`,[`& > .${pu.item}`]:{paddingLeft:Zs(m)}}:(p=c)!=null&&p.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${pu.item}`]:{paddingLeft:0}}})}return o}function gz(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const a=[];return t.forEach(o=>{const l=e[o];Number(l)>0&&a.push(n[`spacing-${o}-${String(l)}`])}),a}const yz=Ce("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:a,direction:o,item:l,spacing:c,wrap:d,zeroMinWidth:f,breakpoints:p}=n;let m=[];a&&(m=gz(c,p,t));const y=[];return p.forEach(b=>{const x=n[b];x&&y.push(t[`grid-${b}-${String(x)}`])}),[t.root,a&&t.container,l&&t.item,f&&t.zeroMinWidth,...m,o!=="row"&&t[`direction-xs-${String(o)}`],d!=="wrap"&&t[`wrap-xs-${String(d)}`],...y]}})(({ownerState:e})=>U({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),pz,hz,mz,fz);function vz(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(a=>{const o=e[a];if(Number(o)>0){const l=`spacing-${a}-${String(o)}`;n.push(l)}}),n}const bz=e=>{const{classes:t,container:n,direction:a,item:o,spacing:l,wrap:c,zeroMinWidth:d,breakpoints:f}=e;let p=[];n&&(p=vz(l,f));const m=[];f.forEach(b=>{const x=e[b];x&&m.push(`grid-${b}-${String(x)}`)});const y={root:["root",n&&"container",o&&"item",d&&"zeroMinWidth",...p,a!=="row"&&`direction-xs-${String(a)}`,c!=="wrap"&&`wrap-xs-${String(c)}`,...m]};return Dt(y,sz,t)},Qg=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiGrid"}),{breakpoints:o}=qp(),l=Bp(a),{className:c,columns:d,columnSpacing:f,component:p="div",container:m=!1,direction:y="row",item:b=!1,rowSpacing:x,spacing:E=0,wrap:S="wrap",zeroMinWidth:C=!1}=l,R=Re(l,dz),N=x||E,D=f||E,L=T.useContext(A1),O=m?d||12:L,A={},w=U({},R);o.keys.forEach($=>{R[$]!=null&&(A[$]=R[$],delete w[$])});const M=U({},l,{columns:O,container:m,direction:y,item:b,rowSpacing:N,columnSpacing:D,wrap:S,zeroMinWidth:C,spacing:E},A,{breakpoints:o.keys}
176),I=bz(M);return v.jsx(A1.Provider,{value:O,children:v.jsx(yz,U({ownerState:M,className:De(I.root,c),as:p,ref:n},w))})}),Sz=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Vy(e){return`scale(${e}, ${e**2})`}const xz={entering:{opacity:1,transform:Vy(1)},entered:{opacity:1,transform:"none"}},Zg=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),sp=T.forwardRef(function(t,n){const{addEndListener:a,appear:o=!0,children:l,easing:c,in:d,onEnter:f,onEntered:p,onEntering:m,onExit:y,onExited:b,onExiting:x,style:E,timeout:S="auto",TransitionComponent:C=ti}=t,R=Re(t,Sz),N=So(),D=T.useRef(),L=qp(),O=T.useRef(null),A=er(O,l.ref,n),w=ee=>P=>{if(ee){const K=O.current;P===void 0?ee(K):ee(K,P)}},M=w(m),I=w((ee,P)=>{x3(ee);const{duration:K,delay:ie,easing:de}=e1({style:E,timeout:S,easing:c},{mode:"enter"});let me;S==="auto"?(me=L.transitions.getAutoHeightDuration(ee.clientHeight),D.current=me):me=K,ee.style.transition=[L.transitions.create("opacity",{duration:me,delay:ie}),L.transitions.create("transform",{duration:Zg?me:me*.666,delay:ie,easing:de})].join(","),f&&f(ee,P)}),$=w(p),Y=w(x),ne=w(ee=>{const{duration:P,delay:K,easing:ie}=e1({style:E,timeout:S,easing:c},{mode:"exit"});let de;S==="auto"?(de=L.transitions.getAutoHeightDuration(ee.clientHeight),D.current=de):de=P,ee.style.transition=[L.transitions.create("opacity",{duration:de,delay:K}),L.transitions.create("transform",{duration:Zg?de:de*.666,delay:Zg?K:K||de*.333,easing:ie})].join(","),ee.style.opacity=0,ee.style.transform=Vy(.75),y&&y(ee)}),se=w(b),ae=ee=>{S==="auto"&&N.start(D.current||0,ee),a&&a(O.current,ee)};return v.jsx(C,U({appear:o,in:d,nodeRef:O,onEnter:I,onEntered:$,onEntering:M,onExit:ne,onExited:se,onExiting:Y,addEndListener:ae,timeout:S==="auto"?null:S},R,{children:(ee,P)=>T.cloneElement(l,U({style:U({opacity:0,transform:Vy(.75),visibility:ee==="exited"&&!d?"hidden":void 0},xz[ee],E,l.props.style),ref:A},P))}))});sp.muiSupportAuto=!0;function _z(e){return kt("MuiIcon",e)}Mt("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ez=["baseClassName","className","color","component","fontSize"],wz=e=>{const{color:t,fontSize:n,classes:a}=e,o={root:["root",t!=="inherit"&&`color${ce(t)}`,`fontSize${ce(n)}`]};return Dt(o,_z,a)},Tz=Ce("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ce(n.color)}`],t[`fontSize${ce(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[t.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[t.color]})),ub=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiIcon"}),{baseClassName:o="material-icons",className:l,color:c="inherit",component:d="span",fontSize:f="medium"}=a,p=Re(a,Ez),m=U({},a,{baseClassName:o,color:c,component:d,fontSize:f}),y=wz(m);return v.jsx(Tz,U({as:d,className:De(o,"notranslate",y.root,l),ownerState:m,"aria-hidden":!0,ref:n},p))});ub.muiName="Icon";function Rz(e){return kt("MuiInputAdornment",e)}const N1=Mt("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var k1;const Cz=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Oz=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ce(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},Az=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:a,position:o,size:l,variant:c}=e,d={root:["root",n&&"disablePointerEvents",o&&`position${ce(o)}`,c,a&&"hiddenLabel",l&&`size${ce(l)}`]};return Dt(d,Rz,t)},Nz=Ce("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Oz})(({theme:e,ownerState:t})=>
vendor: 7,376 bytes, lines 176-229
176U({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${N1.positionStart}&:not(.${N1.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),pC=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiInputAdornment"}),{children:o,className:l,component:c="div",disablePointerEvents:d=!1,disableTypography:f=!1,position:p,variant:m}=a,y=Re(a,Cz),b=Mu()||{};let x=m;m&&b.variant,b&&!x&&(x=b.variant);const E=U({},a,{hiddenLabel:b.hiddenLabel,size:b.size,disablePointerEvents:d,position:p,variant:x}),S=Az(E);return v.jsx(Xp.Provider,{value:null,children:v.jsx(Nz,U({as:c,ownerState:E,className:De(S.root,l),ref:n},y,{children:typeof o=="string"&&!f?v.jsx(v4,{color:"text.secondary",children:o}):v.jsxs(T.Fragment,{children:[p==="start"?k1||(k1=v.jsx("span",{className:"notranslate",children:"â"})):null,o]})}))})});function kz(e){return kt("MuiLinearProgress",e)}Mt("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Mz=["className","color","value","valueBuffer","variant"];let Cl=e=>e,M1,D1,L1,I1,j1,U1;const Yy=4,Dz=ei(M1||(M1=Cl` 177 0% { 178 left: -35%; 179 right: 100%; 180 } 181 182 60% { 183 left: 100%; 184 right: -90%; 185 } 186 187 100% { 188 left: 100%; 189 right: -90%; 190 } 191`)),Lz=ei(D1||(D1=Cl` 192 0% { 193 left: -200%; 194 right: 100%; 195 } 196 197 60% { 198 left: 107%; 199 right: -8%; 200 } 201 202 100% { 203 left: 107%; 204 right: -8%; 205 } 206`)),Iz=ei(L1||(L1=Cl` 207 0% { 208 opacity: 1; 209 background-position: 0 -23px; 210 } 211 212 60% { 213 opacity: 0; 214 background-position: 0 -23px; 215 } 216 217 100% { 218 opacity: 1; 219 background-position: -200px -23px; 220 } 221`)),jz=e=>{const{classes:t,variant:n,color:a}=e,o={root:["root",`color${ce(a)}`,n],dashed:["dashed",`dashedColor${ce(a)}`],bar1:["bar",`barColor${ce(a)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar",n!=="buffer"&&`barColor${ce(a)}`,n==="buffer"&&`color${ce(a)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return Dt(o,kz,t)},db=(e,t)=>t==="inherit"?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?ct.lighten(e.palette[t].main,.62):ct.darken(e.palette[t].main,.5),Uz=Ce("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${ce(n.color)}`],t[n.variant]]}})(({ownerState:e,theme:t})=>U({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:db(t,e.color)},e.color==="inherit"&&e.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},e.variant==="buffer"&&{backgroundColor:"transparent"},e.variant==="query"&&{transform:"rotate(180deg)"})),zz=Ce("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${ce(n.color)}`]]}})(({ownerState:e,theme:t})=>{const n=db(t,e.color);return U({position:"absolute",marginTop:0,height:"100%",width:"100%"},e.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},jo(I1||(I1=Cl` 222 animation: ${0} 3s infinite linear; 223 `),Iz)),Pz=Ce("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${ce(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar1Indeterminate,n.variant==="determinate"&&t.bar1Determinate,n.variant==="buffer"&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>U({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.variant==="determinate"&&{transition:`transform .${Yy}s linear`},e.variant==="buffer"&&{zIndex:1,transition:`transform .${Yy}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&jo(j1||(j1=Cl` 224 width: auto; 225 animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; 226 `),Dz)),$z=Ce("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${ce(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar2Indeterminate,n.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>U({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},e.variant!=="buffer"&&{backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.color==="inherit"&&{opacity:.3},e.variant==="buffer"&&{backgroundColor:db(t,e.color),transition:`transform .${Yy}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&jo(U1||(U1=Cl` 227 width: auto; 228 animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; 229 `),Lz)),Ol=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiLinearProgress"}),{className:o,color:l="primary",value:c,valueBuffer:d,variant:f="indeterminate"}=a,p=Re(a,Mz),m=U({},a,{color:l,variant:f}),y=jz(m),b=BR(),x={},E={bar1:{},bar2:{}};if((f==="determinate"||f==="buffer")&&c!==void 0){x["aria-valuenow"]=Math.round(c),x["aria-valuemin"]=0,x["aria-valuemax"]=100;let S=c-100;b&&(S=-S),E.bar1.transform=`translateX(${S}%)`}if(f==="buffer"&&d!==void 0){let S=(d||0)-100;b&&(S=-S),E.bar2.transform=`translateX(${S}%)`}return v.jsxs(Uz,U({className:De(y.root,o),ownerState:m,role:"progressbar"},x,{ref:n},p,{children:[f==="buffer"?v.jsx(zz,{className:y.dashed,ownerState:m}):null,v.jsx(Pz,{className:y.bar1,ownerState:m,style:E.bar1}),f==="determinate"?null:v.jsx($z,{className:y.bar2,ownerState:m,style:E.bar2})]}))});var z1;const Bz=["children","classes","className","label","notched"],Hz=Ce("fieldset",{shouldForwardProp:Au})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Fz=Ce("legend",{shouldForwardProp:Au})(({ownerState:e,theme:t})=>U({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&U({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function qz(e){const{className:t,label:n,notched:a}=e,o=Re(e,Bz),l=n!=null&&n!=="",c=U({},e,{notched:a,withLabel:l});
vendor: 4,846 bytes, line 229
229return v.jsx(Hz,U({"aria-hidden":!0,className:t,ownerState:c},o,{children:v.jsx(Fz,{ownerState:c,children:l?v.jsx("span",{children:n}):z1||(z1=v.jsx("span",{className:"notranslate",children:"â"}))})}))}const Gz=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Wz=e=>{const{classes:t}=e,a=Dt({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},dU,t);return U({},t,a)},Vz=Ce(lC,{shouldForwardProp:e=>Au(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:oC})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return U({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Ni.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ni.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Ni.focused} .${Ni.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Ni.error} .${Ni.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ni.disabled} .${Ni.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&U({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),Yz=Ce(qz,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),Kz=Ce(cC,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:sC})(({theme:e,ownerState:t})=>U({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),hC=T.forwardRef(function(t,n){var a,o,l,c,d;const f=Lt({props:t,name:"MuiOutlinedInput"}),{components:p={},fullWidth:m=!1,inputComponent:y="input",label:b,multiline:x=!1,notched:E,slots:S={},type:C="text"}=f,R=Re(f,Gz),N=Wz(f),D=Mu(),L=Kp({props:f,muiFormControl:D,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),O=U({},f,{color:L.color||"primary",disabled:L.disabled,error:L.error,focused:L.focused,formControl:D,fullWidth:m,hiddenLabel:L.hiddenLabel,multiline:x,size:L.size,type:C}),A=(a=(o=S.root)!=null?o:p.Root)!=null?a:Vz,w=(l=(c=S.input)!=null?c:p.Input)!=null?l:Kz;return v.jsx(uU,U({slots:{root:A,input:w},renderSuffix:M=>v.jsx(Yz,{ownerState:O,className:N.notchedOutline,label:b!=null&&b!==""&&L.required?d||(d=v.jsxs(T.Fragment,{children:[b,"â","*"]})):b,notched:typeof E<"u"?E:!!(M.startAdornment||M.filled||M.focused)}),fullWidth:m,inputComponent:y,multiline:x,ref:n,type:C},R,{classes:U({},N,{notchedOutline:null})}))});hC.muiName="Input";function Xz(e){return kt("MuiSnackbarContent",e)}Mt("MuiSnackbarContent",["root","message","action"]);const Qz=["action","className","message","role"],Zz=e=>{const{classes:t}=e;return Dt({root:["root"],action:["action"],message:["message"]},Xz,t)},Jz=Ce(Gp,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=ct.emphasize(e.palette.background.default,t);return U({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),eP=Ce("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),tP=Ce("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),nP=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiSnackbarContent"}),{action:o,className:l,message:c,role:d="alert"}=a,f=Re(a,Qz),p=a,m=Zz(p);return v.jsxs(Jz,U({role:d,square:!0,elevation:6,className:De(m.root,l),ownerState:p,ref:n},f,{children:[v.jsx(eP,{className:m.message,ownerState:p,children:c}),o?v.jsx(tP,{className:m.action,ownerState:p,children:o}):null]}))});function rP(e){return kt("MuiSnackbar",e)}
vendor: 7,833 bytes, line 229
229Mt("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const aP=["onEnter","onExited"],iP=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],oP=e=>{const{classes:t,anchorOrigin:n}=e,a={root:["root",`anchorOrigin${ce(n.vertical)}${ce(n.horizontal)}`]};return Dt(a,rP,t)},P1=Ce("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${ce(n.anchorOrigin.vertical)}${ce(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return U({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:U({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),sP=T.forwardRef(function(t,n){const a=Lt({props:t,name:"MuiSnackbar"}),o=qp(),l={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:c,anchorOrigin:{vertical:d,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:m,className:y,ClickAwayListenerProps:b,ContentProps:x,disableWindowBlurListener:E=!1,message:S,open:C,TransitionComponent:R=sp,transitionDuration:N=l,TransitionProps:{onEnter:D,onExited:L}={}}=a,O=Re(a.TransitionProps,aP),A=Re(a,iP),w=U({},a,{anchorOrigin:{vertical:d,horizontal:f},autoHideDuration:p,disableWindowBlurListener:E,TransitionComponent:R,transitionDuration:N}),M=oP(w),{getRootProps:I,onClickAway:$}=H5(U({},w)),[Y,ne]=T.useState(!0),se=YR({elementType:P1,getSlotProps:I,externalForwardedProps:A,ownerState:w,additionalProps:{ref:n},className:[M.root,y]}),ae=P=>{ne(!0),L&&L(P)},ee=(P,K)=>{ne(!1),D&&D(P,K)};return!C&&Y?null:v.jsx(E4,U({onClickAway:$},b,{children:v.jsx(P1,U({},se,{children:v.jsx(R,U({appear:!0,in:C,timeout:N,direction:d==="top"?"down":"up",onEnter:ee,onExited:ae},O,{children:m||v.jsx(nP,U({message:S,action:c},x))}))}))}))});function lP(e){return kt("MuiTooltip",e)}const Ui=Mt("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),cP=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function uP(e){return Math.round(e*1e5)/1e5}const dP=e=>{const{classes:t,disableInteractive:n,arrow:a,touch:o,placement:l}=e,c={popper:["popper",!n&&"popperInteractive",a&&"popperArrow"],tooltip:["tooltip",a&&"tooltipArrow",o&&"touch",`tooltipPlacement${ce(l.split("-")[0])}`],arrow:["arrow"]};return Dt(c,lP,t)},fP=Ce(iC,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>U({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Ui.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ui.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ui.arrow}`]:U({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Ui.arrow}`]:U({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),pP=Ce("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ce(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>U({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:ct.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${uP(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Ui.popper}[data-popper-placement*="left"] &`]:U({transformOrigin:"right center"},t.isRtl?U({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):U({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Ui.popper}[data-popper-placement*="right"] &`]:U({transformOrigin:"left center"},t.isRtl?U({marginRight:"14px"},t.touch&&{marginRight:"24px"}):U({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Ui.popper}[data-popper-placement*="top"] &`]:U({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Ui.popper}[data-popper-placement*="bottom"] &`]:U({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),hP=Ce("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:ct.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let vf=!1;const $1=new Ou;let Pc={x:0,y:0};function bf(e,t){return(n,...a)=>{t&&t(n,...a),e(n,...a)}}const mC=T.forwardRef(function(t,n){var a,o,l,c,d,f,p,m,y,b,x,E,S,C,R,N,D,L,O;const A=Lt({props:t,name:"MuiTooltip"}),{arrow:w=!1,children:M,components:I={},componentsProps:$={},describeChild:Y=!1,disableFocusListener:ne=!1,disableHoverListener:se=!1,disableInteractive:ae=!1,disableTouchListener:ee=!1,enterDelay:P=100,enterNextDelay:K=0,enterTouchDelay:ie=700,followCursor:de=!1,id:me,leaveDelay:j=0,leaveTouchDelay:X=1500,onClose:le,onOpen:oe,open:pe,placement:ue="bottom",PopperComponent:Se,PopperProps:fe={},slotProps:ge={},slots:ut={},title:Oe,TransitionComponent:qe=sp,TransitionProps:_t}=A,Pe=Re(A,cP),Ae=T.isValidElement(M)?M:v.jsx("span",{children:M}),ye=qp(),Ze=BR(),[ft,be]=T.useState(),[He,_e]=T.useState(null),it=T.useRef(!1),ke=ae||de,Ye=So(),dn=So(),On=So(),Hn=So(),[tt,Ne]=UR({controlled:pe,default:!1,name:"Tooltip",state:"open"});let mn=tt;const Xi=Zv(me),Zr=T.useRef(),Ur=da(()=>{Zr.current!==void 0&&(document.body.style.WebkitUserSelect=Zr.current,Zr.current=void 0),Hn.clear()});T.useEffect(()=>Ur,[Ur]);const An=Ie=>{$1.clear(),vf=!0,Ne(!0),oe&&!mn&&oe(Ie)},tr=da(Ie=>{$1.start(800+j,()=>{vf=!1}),Ne(!1),le&&mn&&le(Ie),Ye.start(ye.transitions.duration.shortest,()=>{it.current=!1})}),gn=Ie=>{it.current&&Ie.type!=="touchstart"||(ft&&ft.removeAttribute("title"),dn.
229clear(),On.clear(),P||vf&&K?dn.start(vf?K:P,()=>{An(Ie)}):An(Ie))},Pl=Ie=>{dn.clear(),On.start(j,()=>{tr(Ie)})},{isFocusVisibleRef:Xu,onBlur:vh,onFocus:qo,ref:Go}=Jv(),[,Qi]=T.useState(!1),Jr=Ie=>{vh(Ie),Xu.current===!1&&(Qi(!1),Pl(Ie))},Zi=Ie=>{ft||be(Ie.currentTarget),qo(Ie),Xu.current===!0&&(Qi(!0),gn(Ie))},ai=Ie=>{it.current=!0;const xn=Ae.props;xn.onTouchStart&&xn.onTouchStart(Ie)},bh=Ie=>{ai(Ie),On.clear(),Ye.clear(),Ur(),Zr.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Hn.start(ie,()=>{document.body.style.WebkitUserSelect=Zr.current,gn(Ie)})},Qu=Ie=>{Ae.props.onTouchEnd&&Ae.props.onTouchEnd(Ie),Ur(),On.start(X,()=>{tr(Ie)})};T.useEffect(()=>{if(!mn)return;function Ie(xn){(xn.key==="Escape"||xn.key==="Esc")&&tr(xn)}return document.addEventListener("keydown",Ie),()=>{document.removeEventListener("keydown",Ie)}},[tr,mn]);const $l=er(Ae.ref,Go,be,n);!Oe&&Oe!==0&&(mn=!1);const ba=T.useRef(),Sh=Ie=>{const xn=Ae.props;xn.onMouseMove&&xn.onMouseMove(Ie),Pc={x:Ie.clientX,y:Ie.clientY},ba.current&&ba.current.update()},ii={},Wo=typeof Oe=="string";Y?(ii.title=!mn&&Wo&&!se?Oe:null,ii["aria-describedby"]=mn?Xi:null):(ii["aria-label"]=Wo?Oe:null,ii["aria-labelledby"]=mn&&!Wo?Xi:null);const Fn=U({},ii,Pe,Ae.props,{className:De(Pe.className,Ae.props.className),onTouchStart:ai,ref:$l},de?{onMouseMove:Sh}:{}),Sa={};ee||(Fn.onTouchStart=bh,Fn.onTouchEnd=Qu),se||(Fn.onMouseOver=bf(gn,Fn.onMouseOver),Fn.onMouseLeave=bf(Pl,Fn.onMouseLeave),ke||(Sa.onMouseOver=gn,Sa.onMouseLeave=Pl)),ne||(Fn.onFocus=bf(Zi,Fn.onFocus),Fn.onBlur=bf(Jr,Fn.onBlur),ke||(Sa.onFocus=Zi,Sa.onBlur=Jr));const Bl=T.useMemo(()=>{var Ie;let xn=[{name:"arrow",enabled:!!He,options:{element:He,padding:4}}];return(Ie=fe.popperOptions)!=null&&Ie.modifiers&&(xn=xn.concat(fe.popperOptions.modifiers)),U({},fe.popperOptions,{modifiers:xn})},[He,fe]),oi=U({},A,{isRtl:Ze,arrow:w,disableInteractive:ke,placement:ue,PopperComponentProp:Se,touch:it.current}),Vo=dP(oi),zr=(a=(o=ut.popper)!=null?o:I.Popper)!=null?a:fP,en=(l=(c=(d=ut.transition)!=null?d:I.Transition)!=null?c:qe)!=null?l:sp,Sn=(f=(p=ut.tooltip)!=null?p:I.Tooltip)!=null?f:pP,xa=(m=(y=ut.arrow)!=null?y:I.Arrow)!=null?m:hP,Hl=Fs(zr,U({},fe,(b=ge.popper)!=null?b:$.popper,{className:De(Vo.popper,fe==null?void 0:fe.className,(x=(E=ge.popper)!=null?E:$.popper)==null?void 0:x.className)}),oi),xh=Fs(en,U({},_t,(S=ge.transition)!=null?S:$.transition),oi),_h=Fs(Sn,U({},(C=ge.tooltip)!=null?C:$.tooltip,{className:De(Vo.tooltip,(R=(N=ge.tooltip)!=null?N:$.tooltip)==null?void 0:R.className)}),oi),Zu=Fs(xa,U({},(D=ge.arrow)!=null?D:$.arrow,{className:De(Vo.arrow,(L=(O=ge.arrow)!=null?O:$.arrow)==null?void 0:L.className)}),oi);return v.jsxs(T.Fragment,{children:[T.cloneElement(Ae,Fn),v.jsx(zr,U({as:Se??iC,placement:ue,anchorEl:de?{getBoundingClientRect:()=>({top:Pc.y,left:Pc.x,right:Pc.x,bottom:Pc.y,width:0,height:0})}:ft,popperRef:ba,open:ft?mn:!1,id:Xi,transition:!0},Sa,Hl,{popperOptions:Bl,children:({TransitionProps:Ie})=>v.jsx(en,U({timeout:ye.transitions.duration.shorter},Ie,xh,{children:v.jsxs(Sn,U({},_h,{children:[Oe,w?v.jsx(xa,U({},Zu,{ref:_e})):null]}))}))}))]})}),mP=eb({palette:{primary:{main:"#2475FF"},secondary:{main:"#FF7A00"},action:{disabledBackground:"#B8C7FF",disabled:"#ffffff"}},typography:{fontFamily:["Roboto","sans-serif"].join(",")},components:{MuiDivider:{styleOverrides:{root:{borderBottom:"1px #D3D3D3 dotted"}}},MuiIconButton:{styleOverrides:{colorPrimary:{},sizeLarge:{backgroundColor:"#2475FF",color:"white",border:"1px solid;",borderColor:"black","&:hover":{backgroundColor:"#2475ff"}}}},MuiPaper:{styleOverrides:{rounded:{borderRadius:20}}},MuiTextField:{styleOverrides:{}},MuiOutlinedInput:{styleOverrides:{root:{backgroundColor:"white"}}},MuiInputBase:{styleOverrides:{sizeSmall:{},root:{borderRadius:"20px!important","&.Mui-disabled > fieldset":{borderColor:"rgba(0, 0, 0, 0.23) !important"}}}},MuiInput:{styleOverrides:{root:{}}},MuiTooltip:{styleOverrides:{tooltip:{paddingTop:"10px",paddingBottom:"10px",color:"black",fontSize:14,backgroundColor:"#fae83c"},arrow:{color:"#fae83c"}}},MuiChip:{styleOverrides:{outlinedPrimary:{backgroundColor:"white"},filledPrimary:{backgroundColor:"white"},filledSecondary:{color:"white"},filled:{color:"#2475FF",fontWeight:600},root:{height:24}}},MuiButton:{styleOverrides:{root:{[`&.${Xc.disabled}`]:{border:"none",backgroundColor:"#B8C7FF"},textTransform:"unset"},textPrimary:{borderRadius:20,fontWeight:"bold",borderColor:"black"},sizeMedium:{fontWeight:"bold",height:48,borderRadius:15,fontSize:14},sizeSmall:{fontWeight:"bold",height:26,borderRadius:15,fontSize:12},outlinedPrimary:{backgroundColor:"white",":hover":{backgroundColor:"#F1F1F7"}},outlinedSizeMedium:{":hover":{borderColor:"black"},borderColor:"black"},containedSizeMedium:{":hover":{borderColor:"black"},border:"1px solid;",borderColor:"black"}}}}}),gP={},B1=e=>{let t;const n=new Set,a=(f,p)=>{const m=typeof f=="function"?f(t):f;if(!Object.is(m,t)){const y=t;t=p??typeof m!="object"?m:Object.assign({}
229,t,m),n.forEach(b=>b(t,y))}},o=()=>t,d={setState:a,getState:o,subscribe:f=>(n.add(f),()=>n.delete(f)),destroy:()=>{(gP?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(a,o,d),d},yP=e=>e?B1(e):B1;var Jg={exports:{}},ey={},ty={exports:{}},ny={};/** 230 * @license React 231 * use-sync-external-store-shim.production.min.js 232 * 233 * Copyright (c) Facebook, Inc. and its affiliates. 234 * 235 * This source code is licensed under the MIT license found in the 236 * LICENSE file in the root directory of this source tree. 237 */var H1;function vP(){if(H1)return ny;H1=1;var e=Sl();function t(y,b){return y===b&&(y!==0||1/y===1/b)||y!==y&&b!==b}var n=typeof Object.is=="function"?Object.is:t,a=e.useState,o=e.useEffect,l=e.useLayoutEffect,c=e.useDebugValue;function d(y,b){var x=b(),E=a({inst:{value:x,getSnapshot:b}}),S=E[0].inst,C=E[1];return l(function(){S.value=x,S.getSnapshot=b,f(S)&&C({inst:S})},[y,x,b]),o(function(){return f(S)&&C({inst:S}),y(function(){f(S)&&C({inst:S})})},[y]),c(x),x}function f(y){var b=y.getSnapshot;y=y.value;try{var x=b();return!n(y,x)}catch{return!0}}function p(y,b){return b()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:d;return ny.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,ny}var F1;function bP(){return F1||(F1=1,ty.exports=vP()),ty.exports}/** 238 * @license React 239 * use-sync-external-store-shim/with-selector.production.min.js 240 * 241 * Copyright (c) Facebook, Inc. and its affiliates. 242 * 243 * This source code is licensed under the MIT license found in the 244 * LICENSE file in the root directory of this source tree. 245 */var q1;function SP(){if(q1)return ey;q1=1;var e=Sl(),t=bP();function n(p,m){return p===m&&(p!==0||1/p===1/m)||p!==p&&m!==m}var a=typeof Object.is=="function"?Object.is:n,o=t.useSyncExternalStore,l=e.useRef,c=e.useEffect,d=e.useMemo,f=e.useDebugValue;return ey.useSyncExternalStoreWithSelector=function(p,m,y,b,x){var E=l(null);if(E.current===null){var S={hasValue:!1,value:null};E.current=S}else S=E.current;E=d(function(){function R(A){if(!N){if(N=!0,D=A,A=b(A),x!==void 0&&S.hasValue){var w=S.value;if(x(w,A))return L=w}return L=A}if(w=L,a(D,A))return w;var M=b(A);return x!==void 0&&x(w,M)?w:(D=A,L=M)}var N=!1,D,L,O=y===void 0?null:y;return[function(){return R(m())},O===null?void 0:function(){return R(O())}]},[m,y,b,x]);var C=o(p,E[0],E[1]);return c(function(){S.hasValue=!0,S.value=C},[C]),f(C),C},ey}var G1;function xP(){return G1||(G1=1,Jg.exports=SP()),Jg.exports}var _P=xP();const EP=Ir(_P),gC={},{useDebugValue:wP}=Fe,{useSyncExternalStoreWithSelector:TP}=EP;let W1=!1;function RP(e,t=e.getState,n){(gC?"production":void 0)!=="production"&&n&&!W1&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),W1=!0);const a=TP(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return wP(a),a}const V1=e=>{(gC?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?yP(e):e,n=(a,o)=>RP(t,a,o);return Object.assign(n,t),n},CP=e=>e?V1(e):V1,Du=CP(e=>({snackbar:{open:!1,message:"",type:"info",showCloseIcon:!0},openSnackbar:(t,n,a=!0,o=5e3)=>{e(()=>({snackbar:{open:!0,message:t,type:n,showCloseIcon:a}})),setTimeout(()=>{e(l=>({snackbar:{...l.snackbar,open:!1}}))},o)},closeSnackbar:()=>e(t=>({snackbar:{...t.snackbar,open:!1}}))})),OP=()=>{const{snackbar:e,closeSnackbar:t}=Du();return v.jsx(sP,{anchorOrigin:{vertical:"top",horizontal:"center"},open:e.open,onClose:t,action:e.showCloseIcon?v.jsx(ub,{className:"cursor-pointer",onClick:t,children:"clear"}):null,children:v.jsx(d4,{severity:e.type,onClose:e.showCloseIcon?t:void 0,children:e.message})})}
245,AP="439167645385-j4h6ibor0vv23jga5iadlfg41el36k1d.apps.googleusercontent.com",ry="549045750270-paqg8g8drnabhoo8n5u7p98m4d3oguot.apps.googleusercontent.com",NP={local:"http://localhost:3000",dev:"https://app.nachonacho.co",production:"https://app.nachonacho.com",localProd:"http://localhost:3000"},kP={local:"http://localhost:2200",dev:"https://nachonacho.co",production:"https://nachonacho.com",localProd:"http://localhost:3000"},MP={local:"http://localhost:4002",dev:"https://auth-api.nachonacho.co",production:"https://auth-api.nachonacho.com",localProd:"http://localhost:4002"},DP={local:ry,dev:ry,production:AP,localProd:ry},LP={local:"6LdPp3gjAAAAAOtgBKV6fDxCDZcwQWWcN0NUZ89N",dev:"6LdPp3gjAAAAAOtgBKV6fDxCDZcwQWWcN0NUZ89N",production:"6LdYxkobAAAAAP07Nn-3zkPD9JA6w7Yyf12Iftg6",localProd:"6LdYxkobAAAAAP07Nn-3zkPD9JA6w7Yyf12Iftg6"},IP={local:"https://public.nachonacho.co",dev:"https://public.nachonacho.co",production:"https://public.nachonacho.com",localProd:"https://public.nachonacho.co"},jP={local:"86b4uppnjgf3gy",dev:"86b4uppnjgf3gy",production:"86b4uppnjgf3gy",localProd:"86b4uppnjgf3gy"},UP={local:"http://localhost:3002",dev:"https://connect.nachonacho.co",production:"https://connect.nachonacho.com",localProd:"http://localhost:3002"},zP={local:"https://files.nachonacho.co",dev:"https://files.nachonacho.co",production:"https://files.nachonacho.com",localProd:"https://files.nachonacho.com"},PP={local:"GTM-MD7WQ6D",dev:"GTM-MD7WQ6D",production:"GTM-T8Q8PLN",localProd:"GTM-MD7WQ6D"},Xr="production",$t=NP[Xr],$n=kP[Xr],yC=MP[Xr],$P=DP[Xr],Y1=LP[Xr],BP=IP[Xr],HP=jP[Xr],fb=UP[Xr],FP=zP[Xr],qP=PP[Xr],GP="koeoaeaogagaommgnlinhmhckiibbndd",WP="recaptchatoken",Lr={AUTH_DEVICE:"auth-device",RECAPTCHA_TOKEN:"recaptcha-token",RECAPTCHA_ACTION:"recaptcha-action"};var Sf={},K1;function VP(){if(K1)return Sf;K1=1,Object.defineProperty(Sf,"__esModule",{value:!0});var e=function(n){console.warn("[react-gtm]",n)};return Sf.default=e,Sf}var ay,X1;function YP(){if(X1)return ay;X1=1;var e=VP(),t=n(e);function n(o){return o&&o.__esModule?o:{default:o}}var a={tags:function(l){var c=l.id,d=l.events,f=l.dataLayer,p=l.dataLayerName,m=l.preview,y=l.auth,b=">m_auth="+y,x=">m_preview="+m;c||(0,t.default)("GTM Id is required");var E=` 246 <iframe src="https://www.googletagmanager.com/ns.html?id=`+c+b+x+`>m_cookies_win=x" 247 height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>`,S=` 248 (function(w,d,s,l,i){w[l]=w[l]||[]; 249 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', `+JSON.stringify(d).slice(1,-1)+`}); 250 var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:''; 251 j.async=true;
251j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'`+b+x+`>m_cookies_win=x'; 252 f.parentNode.insertBefore(j,f); 253 })(window,document,'script','`+p+"','"+c+"');",C=this.dataLayer(f,p);return{iframe:E,script:S,dataLayerVar:C}},dataLayer:function(l,c){return` 254 window.`+c+" = window."+c+` || []; 255 window.`+c+".push("+JSON.stringify(l)+")"}};return ay=a,ay}var iy,Q1;function KP(){if(Q1)return iy;Q1=1;var e=YP(),t=n(e);function n(o){return o&&o.__esModule?o:{default:o}}var a={dataScript:function(l){var c=document.createElement("script");return c.innerHTML=l,c},gtm:function(l){var c=t.default.tags(l),d=function(){var y=document.createElement("noscript");return y.innerHTML=c.iframe,y},f=function(){var y=document.createElement("script");return y.innerHTML=c.script,y},p=this.dataScript(c.dataLayerVar);return{noScript:d,script:f,dataScript:p}},initialize:function(l){var c=l.gtmId,d=l.events,f=d===void 0?{}:d,p=l.dataLayer,m=l.dataLayerName,y=m===void 0?"dataLayer":m,b=l.auth,x=b===void 0?"":b,E=l.preview,S=E===void 0?"":E,C=this.gtm({id:c,events:f,dataLayer:p||void 0,dataLayerName:y,auth:x,preview:S});p&&document.head.appendChild(C.dataScript),document.head.insertBefore(C.script(),document.head.childNodes[0]),document.body.insertBefore(C.noScript(),document.body.childNodes[0])},dataLayer:function(l){var c=l.dataLayer,d=l.dataLayerName,f=d===void 0?"dataLayer":d;if(window[f])return window[f].push(c);var p=t.default.dataLayer(c,f),m=this.dataScript(p);document.head.insertBefore(m,document.head.childNodes[0])}};return iy=a,iy}var oy,Z1;function XP(){if(Z1)return oy;Z1=1;var e=KP(),t=n(e);function n(a){return a&&a.__esModule?a:{default:a}}return oy=t.default,oy}var QP=XP();const Lu=Ir(QP),Xt="https://files.nachonacho.com",Ue={LOGO_NN:`${Xt}/sites/oauth/logo/nachonacho-full-blue-horizontal.svg`,LOGO_NN_WHITE:`${Xt}/sites/oauth/nachonacho-logotype.svg`,LOGO_NN_BLUE:`${Xt}/sites/oauth/sign-up/nachonacho-logotype-blue.svg`,GOOGLE_BUTTON_LOGO:`${Xt}/sites/oauth/google-square.svg`,LINKEDIN_BUTTON_LOGO:`${Xt}/sites/oauth/linkedin-icon.svg`,SLACK_BUTTON_LOGO:`${Xt}/sites/oauth/Slack-square.svg`,PASSKEY_LOGO:`${Xt}/sites/oauth/passkey.svg`,GOOGLE_PAGE_LOGO:`${Xt}/sites/oauth/google-logo.png`,LINKEDIN_PAGE_LOGO:`${Xt}/sites/oauth/Linkedin-Logo.png`,SLACK_PAGE_LOGO:`${Xt}/sites/oauth/Slack_RGB.svg`,SPINNING_LOGO:`${Xt}/sites/oauth/spinning-logo-newest.svg`,LOGO_SYMBOL_BLUE_BACKGROUND:`${Xt}/brand/kit-assets/logo/logo_symbol_blue_background.svg`,signUp:{ONE_STOP_SHOP:`${Xt}/sites/oauth/sign-up/OneStopShop.svg`,PUZZLE_PIECES:`${Xt}/sites/oauth/sign-up/PuzzlePieces.svg`,SERVICE_PROVIDERS:`${Xt}/sites/oauth/sign-up/ServiceProviders.svg`},signUpSeller:{PLUGIN:`${Xt}/sites/auth-frontend/plugin.svg`,PROMOTION:`${Xt}/sites/auth-frontend/promotion.svg`,ACQUISITION_CHANNEL:`${Xt}/sites/auth-frontend/acquisition-channel.svg`},signUpTribe:{A:`${Xt}/sites/home/tribes/CoBrand.svg`,B:"https://nachonacho.com/home/YourPerks.svg",C:"https://nachonacho.com/home/Dashboard.svg"},LINKEDIN_SQUARE_LOGO:`${Xt}/sites/auth-frontend/logos/linkedin_square.svg`,SLACK_SQUARE_LOGO:`${Xt}/sites/auth-frontend/logos/slack_square.svg`,cashbackExplainer:{STEP_1:"/cashback-explainer/step-1.svg",STEP_2:"/cashback-explainer/step-2.svg",STEP_3:"/cashback-explainer/step-3.svg"}},ZP={connect:(e,t)=>{const n=`${fb}/google`,a=["https://www.googleapis.com/auth/userinfo.profile","https://www.googleapis.com/auth/userinfo.email"],o=new URLSearchParams({access_type:"offline",scope:a.join(" "),response_type:"code",client_id:$P,redirect_uri:n,state:JSON.stringify(e)});t.onlyBusinessDomain&&o.set("hd","*");const l=`https://accounts.google.com/o/oauth2/v2/auth?${o.toString()}`;window.location.href=l}},pb=e=>{const{textButton:t,typeCreationApp:n}=e,a=n==="SIGN_UP",o=Vt(),{productId:l}=Kr(),c=()=>{Lu.dataLayer({dataLayer:{event:"signupFormUpdate",signupStep:"signup-google"}})},d=()=>{a&&c();const f=new URLSearchParams(o.search),p=l?`${$t}/subscribe/${l}?${f.toString()}`:$t,m={redirectUrl:f.get("redirectUrl")||p,typeCreationApp:n,productId:l,requester:f.get("requester"),overrideDefaultSignupAction:f.get("overrideDefaultSignupAction")??void 0};ZP.connect(m,{onlyBusinessDomain:a})};return v.jsx(St,{onClick:d,id:e.id,variant:"outlined",sx:{width:"100%",textTransform:"none","&, &:hover":{borderColor:"#1445FE"}},children:v.jsxs(q,{display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",children:[v.jsx("img",{alt:"imageSlack",src:Ue.GOOGLE_BUTTON_LOGO,width:"20px"}),v.jsx("span",{className:"link",children:t})]})})},vC={connect:e=>{const n=`https://www.linkedin.com/oauth/v2/authorization?${new URLSearchParams({response_type:"code",client_id:HP,redirect_uri:`${fb}/linkedin`,state:JSON.stringify(e),scope:"openid profile email"}).toString()}`;window.location.href=n}},JP=e=>{const t=Vt(),n=new URLSearchParams(t.search),a=()=>{vC.connect({redirectUrl:n.get("redirectUrl")||$t,requester:n.get("requester"),action:"LOGIN"})};return v.jsx(St,{onClick:a,id:e.id,variant:"outlined",color:"primary",sx:{width:"100%",textTransform:"none","&, &:hover":{borderColor:"#1445FE"}},children:v.jsxs(q,{display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",children:[v.jsx("img",{alt:"linkedin logo",style:{height:"20px"},src:Ue.LINKEDIN_BUTTON_LOGO}),v.jsx("span",{className:"link",children:e.textButton})]})})},bC={connect:async e=>{const t={endpoint:"openid/connect",redirect_uri:`${fb}/slack`,next:e.next,action:e.action,productId:e.productId,requester:e.requester,overrideDefaultSignupAction:e.overrideDefaultSignupAction},n=new URLSearchParams({state:JSON.stringify(t)}),a=`${BP}/slack/directInstallURL?${n.toString()}`;window.location.href=a}},e$=e=>{const t=Vt(),n=()=>{const a=new URLSearchParams(t.search);bC.connect({action:"LOGIN",next:a.get("redirectUrl")||$t,requester:a.get("requester")})};return v.jsx(St,{onClick:n,id:e.id,color:"primary",variant:"outlined",sx:{width:"100%",textTransform:"none","&, &:hover":{borderColor:"var(--blue)"}},children:v.jsxs(q,{display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",children:[v.jsx("img",{alt:"imageSlack",src:Ue.SLACK_BUTTON_LOGO,width:"20px"}),v.jsx("span",{className:"link",children:e.textButton})]})})};var sy={},J1;function t$(){if(J1)return sy;J1=1;var e=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;return sy.validate=function(t){if(!t||t.length>254)return!1;var n=e.test(t);if(!n)return!1;var a=t.split("@");if(a[0].length>64)return!1;var o=a[1].split(".");return!o.some(function(l){return l.length>63})},sy}var n$=t$();const Le={getFullAuthDeviceData:()=>({timeOpened:new Date,timeZoneOffset:new Date().getTimezoneOffset()/60,timeZone:Le.getUserTimeZone(),pageon:window.location.pathname,referrer:document.referrer,previousSites:window.history.length,browserName:navigator.appName,browserEngine:navigator.product,browserVersion1a:navigator.appVersion,browserVersion1b:navigator.userAgent,browserLanguage:navigator.language,browserOnline:navigator.onLine,browserPlatform:navigator.platform,javaEnabled:navigator.javaEnabled(),dataCookiesEnabled:navigator.cookieEnabled,sizeScreenW:window.screen.width,sizeScreenH:window.screen.height,sizeDocW:window.document.body.offsetWidth,sizeDocH:window.document.body.offsetHeight,sizeInW:window.innerWidth,sizeInH:window.innerHeight,sizeAvailW:window.screen.availWi
255dth,sizeAvailH:window.screen.availHeight,scrColorDepth:window.screen.colorDepth,scrPixelDepth:window.screen.pixelDepth}),setChromeExtension:e=>{var t,n;(n=(t=window.chrome)==null?void 0:t.runtime)==null||n.sendMessage(GP,{type:"EXTENSION_LOGIN_TOKEN",token:e,domain:window.location.hostname})},getUserTimeZone(){return Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles"},getDomainCookie:()=>{let e="";return e=".nachonacho.com",e},isValidEmail(e){return n$.validate(e)},getUrlFileMedia(e){return e?e.substring(0,4)==="http"||e.substring(0,7)==="/static"?e:`${FP}/${e}`:""},priceFormatedUSDNoDecimals(e){return e===null?"0":"$"+e.toFixed(0).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}},ew=()=>{window.grecaptcha&&window.grecaptcha.ready(()=>{const e=document.getElementsByClassName("grecaptcha-badge")[0];e&&(e.style.display="block",e.style.zIndex="1")})},r$=()=>{window.grecaptcha&&window.grecaptcha.ready(()=>{const e=document.getElementsByClassName("grecaptcha-badge")[0];e&&(e.style.display="none")})},Al=()=>{const[e,t]=T.useState(!1);return T.useEffect(()=>{if(typeof window>"u"||e)return;if(window.grecaptcha){ew(),t(!0);return}const a=document.createElement("script");a.async=!0,a.src=`https://www.google.com/recaptcha/api.js?render=${Y1}`,a.addEventListener("load",()=>{t(!0),ew()}),document.body.appendChild(a)},[e]),T.useEffect(()=>r$,[]),{reCaptchaLoaded:e,generateReCaptchaToken:a=>new Promise((o,l)=>{if(!e)return l(new Error("ReCaptcha not loaded"));if(typeof window>"u"||!window.grecaptcha)return t(!1),l(new Error("ReCaptcha not loaded"));window.grecaptcha.ready(()=>{window.grecaptcha.execute(Y1,{action:a}).then(c=>{localStorage.setItem(WP,c),o(c)}).catch(c=>{l(c instanceof Error?c:new Error("ReCaptcha execution failed"))})})})}};function SC(e,t){return function(){return e.apply(t,arguments)}}const{toString:a$}=Object.prototype,{getPrototypeOf:ll}=Object,{iterator:Iu,toStringTag:xC}=Symbol,lp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),hu=(e,t)=>{let n=e;const a=[];for(;n!=null&&n!==Object.prototype;){if(a.indexOf(n)!==-1)return!1;if(a.push(n),lp(n,t))return!0;n=ll(n)}return!1},i$=(e,t)=>e!=null&&hu(e,t)?e[t]:void 0,hb=(e=>t=>{const n=a$.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Qr=e=>(e=e.toLowerCase(),t=>hb(t)===e),Zp=e=>t=>typeof t===e,{isArray:No}=Array,cl=Zp("undefined");function Nl(e){return e!==null&&!cl(e)&&e.constructor!==null&&!cl(e.constructor)&&Zn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const _C=Qr("ArrayBuffer");function o$(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&_C(e.buffer),t}const s$=Zp("string"),Zn=Zp("function"),EC=Zp("number"),kl=e=>e!==null&&typeof e=="object",l$=e=>e===!0||e===!1,Ff=e=>{if(!kl(e))return!1;const t=ll(e);return(t===null||t===Object.prototype||ll(t)===null)&&!hu(e,xC)&&!hu(e,Iu)},c$=e=>{if(!kl(e)||Nl(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},u$=Qr("Date"),d$=Qr("File"),f$=e=>!!(e&&typeof e.uri<"u"),p$=e=>e&&typeof e.getParts<"u",h$=Qr("Blob"),m$=Qr("FileList"),g$=e=>kl(e)&&Zn(e.pipe);function y$(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const tw=y$(),nw=typeof tw.FormData<"u"?tw.FormData:void 0,v$=e=>{if(!e)return!1;if(nw&&e instanceof nw)return!0;const t=ll(e);if(!t||t===Object.prototype||!Zn(e.append))return!1;const n=hb(e);return n==="formdata"||n==="object"&&Zn(e.toString)&&e.toString()==="[object FormData]"},b$=Qr("URLSearchParams"),[S$,x$,_$,E$]=["ReadableStream","Request","Response","Headers"].map(Qr),w$=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ju(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let a,o;if(typeof e!="object"&&(e=[e]),No(e))for(a=0,o=e.length;a<o;a++)t.call(null,e[a],a,e);else{if(Nl(e))return;const l=n?Object.getOwnPropertyNames(e):Object.keys(e),c=l.length;let d;for(a=0;a<c;a++)d=l[a],t.call(null,e[d],d,e)}}function wC(e,t){if(Nl(e))return null;t=t.toLowerCase();const n=Object.keys(e);let a=n.length,o;for(;a-- >0;)if(o=n[a],t===o.toLowerCase())return o;return null}const _o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,TC=e=>!cl(e)&&e!==_o;function Ky(...e){const{caseless:t,skipUndefined:n}=TC(this)&&this||{},a={},o=(l,c)=>{if(c==="__proto__"||c==="constructor"||c==="prototype")return;const d=t&&typeof c=="string"&&wC(a,c)||c,f=lp(a,d)?a[d]:void 0;Ff(f)&&Ff(l)?a[d]=Ky(f,l):Ff(l)?a[d]=Ky({},l):No(l)?a[d]=l.slice():(!n||!cl(l))&&(a[d]=l)};for(let l=0,c=e.length;l<c;l++){const d=e[l];
vendor: 7,847 bytes, lines 255-257
255if(!d||Nl(d)||(ju(d,o),typeof d!="object"||No(d)))continue;const f=Object.getOwnPropertySymbols(d);for(let p=0;p<f.length;p++){const m=f[p];j$.call(d,m)&&o(d[m],m)}}return a}const T$=(e,t,n,{allOwnKeys:a}={})=>(ju(t,(o,l)=>{n&&Zn(o)?Object.defineProperty(e,l,{__proto__:null,value:SC(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,l,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:a}),e),R$=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),C$=(e,t,n,a)=>{e.prototype=Object.create(t.prototype,a),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},O$=(e,t,n,a)=>{let o,l,c;const d={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),l=o.length;l-- >0;)c=o[l],(!a||a(c,e,t))&&!d[c]&&(t[c]=e[c],d[c]=!0);e=n!==!1&&ll(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},A$=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const a=e.indexOf(t,n);return a!==-1&&a===n},N$=e=>{if(!e)return null;if(No(e))return e;let t=e.length;if(!EC(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},k$=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ll(Uint8Array)),M$=(e,t)=>{const a=(e&&e[Iu]).call(e);let o;for(;(o=a.next())&&!o.done;){const l=o.value;t.call(e,l[0],l[1])}},D$=(e,t)=>{let n;const a=[];for(;(n=e.exec(t))!==null;)a.push(n);return a},L$=Qr("HTMLFormElement"),I$=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,a,o){return a.toUpperCase()+o}),{propertyIsEnumerable:j$}=Object.prototype,U$=Qr("RegExp"),RC=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};ju(n,(o,l)=>{let c;(c=t(o,l,e))!==!1&&(a[l]=c||o)}),Object.defineProperties(e,a)},z$=e=>{RC(e,(t,n)=>{if(Zn(e)&&["arguments","caller","callee"].includes(n))return!1;const a=e[n];if(Zn(a)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},P$=(e,t)=>{const n={},a=o=>{o.forEach(l=>{n[l]=!0})};return No(e)?a(e):a(String(e).split(t)),n},$$=()=>{},B$=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function H$(e){return!!(e&&Zn(e.append)&&e[xC]==="FormData"&&e[Iu])}const F$=e=>{const t=new WeakSet,n=a=>{if(kl(a)){if(t.has(a))return;if(Nl(a))return a;if(!("toJSON"in a)){t.add(a);const o=No(a)?[]:{};return ju(a,(l,c)=>{const d=n(l);!cl(d)&&(o[c]=d)}),t.delete(a),o}}return a};return n(e)},q$=Qr("AsyncFunction"),G$=e=>e&&(kl(e)||Zn(e))&&Zn(e.then)&&Zn(e.catch),CC=((e,t)=>e?setImmediate:t?((n,a)=>(_o.addEventListener("message",({source:o,data:l})=>{o===_o&&l===n&&a.length&&a.shift()()},!1),o=>{a.push(o),_o.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Zn(_o.postMessage)),W$=typeof queueMicrotask<"u"?queueMicrotask.bind(_o):typeof process<"u"&&process.nextTick||CC,OC=e=>e!=null&&Zn(e[Iu]),V$=e=>e!=null&&hu(e,Iu)&&OC(e),H={isArray:No,isArrayBuffer:_C,isBuffer:Nl,isFormData:v$,isArrayBufferView:o$,isString:s$,isNumber:EC,isBoolean:l$,isObject:kl,isPlainObject:Ff,isEmptyObject:c$,isReadableStream:S$,isRequest:x$,isResponse:_$,isHeaders:E$,isUndefined:cl,isDate:u$,isFile:d$,isReactNativeBlob:f$,isReactNative:p$,isBlob:h$,isRegExp:U$,isFunction:Zn,isStream:g$,isURLSearchParams:b$,isTypedArray:k$,isFileList:m$,forEach:ju,merge:Ky,extend:T$,trim:w$,stripBOM:R$,inherits:C$,toFlatObject:O$,kindOf:hb,kindOfTest:Qr,endsWith:A$,toArray:N$,forEachEntry:M$,matchAll:D$,isHTMLForm:L$,hasOwnProperty:lp,hasOwnProp:lp,hasOwnInPrototypeChain:hu,getSafeProp:i$,reduceDescriptors:RC,freezeMethods:z$,toObjectSet:P$,toCamelCase:I$,noop:$$,toFiniteNumber:B$,findKey:wC,global:_o,isContextDefined:TC,isSpecCompliantForm:H$,toJSONObject:F$,isAsyncFn:q$,isThenable:G$,setImmediate:CC,asap:W$,isIterable:OC,isSafeIterable:V$},Y$=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),K$=e=>{const t={};let n,a,o;return e&&e.split(` 256`).forEach(function(c){o=c.indexOf(":"),n=c.substring(0,o).trim().toLowerCase(),a=c.substring(o+1).trim(),!(!n||t[n]&&Y$[n])&&(n==="set-cookie"?t[n]?t[n].push(a):t[n]=[a]:t[n]=t[n]?t[n]+", "+a:a)}),t};function X$(e){let t=0,n=e.length;for(;t<n;){const a=e.charCodeAt(t);if(a!==9&&a!==32)break;t+=1}for(;n>t;){const a=e.charCodeAt(n-1);if(a!==9&&a!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const Q$=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Z$=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function mb(e,t){return H.isArray(e)?e.map(n=>mb(n,t)):X$(String(e).replace(t,""))}const J$=e=>mb(e,Q$),eB=e=>mb(e,Z$);function AC(e){const t=Object.create(null);return H.forEach(e.toJSON(),(n,a)=>{t[a]=eB(n)}),t}const rw=Symbol("internals");function $c(e){return e&&String(e).trim().toLowerCase()}function qf(e){return e===!1||e==null?e:H.isArray(e)?e.map(qf):J$(String(e))}function tB(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=n.exec(e);)t[a[1]]=a[2];return t}const nB=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ly(e,t,n,a,o){if(H.isFunction(a))return a.call(this,t,n);if(o&&(t=n),!!H.isString(t)){if(H.isString(a))return t.indexOf(a)!==-1;if(H.isRegExp(a))return a.test(t)}}function rB(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,a)=>n.toUpperCase()+a)}function aB(e,t){const n=H.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+n,{__proto__:null,value:function(o,l,c){return this[a].call(this,t,o,l,c)},configurable:!0})})}let Ln=class{constructor(t){t&&this.set(t)}set(t,n,a){const o=this;function l(d,f,p){const m=$c(f);if(!m)return;const y=H.findKey(o,m);(!y||o[y]===void 0||p===!0||p===void 0&&o[y]!==!1)&&(o[y||f]=qf(d))}const c=(d,f)=>H.forEach(d,(p,m)=>l(p,m,f));if(H.isPlainObject(t)||t instanceof this.constructor)c(t,n);else if(H.isString(t)&&(t=t.trim())&&!nB(t))c(K$(t),n);else if(H.isObject(t)&&H.isSafeIterable(t)){let d=Object.create(null),f,p;for(const m of t){if(!H.isArray(m))throw new TypeError("Object iterator must return a key-value pair");p=m[0],H.hasOwnProp(d,p)?(f=d[p],d[p]=H.isArray(f)?[...f,m[1]]:[f,m[1]]):d[p]=m[1]}c(d,n)}else t!=null&&l(n,t,a);return this}get(t,n){if(t=$c(t),t){const a=H.findKey(this,t);if(a){const o=this[a];if(!n)return o;if(n===!0)return tB(o);if(H.isFunction(n))return n.call(this,o,a);if(H.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=$c(t),t){const a=H.findKey(this,t);return!!(a&&this[a]!==void 0&&(!n||ly(this,this[a],a,n)))}return!1}delete(t,n){const a=this;let o=!1;function l(c){if(c=$c(c),c){const d=H.findKey(a,c);d&&(!n||ly(a,a[d],d,n))&&(delete a[d],o=!0)}}return H.isArray(t)?t.forEach(l):l(t),o}clear(t){const n=Object.keys(this);let a=n.length,o=!1;for(;a--;){const l=n[a];(!t||ly(this,this[l],l,t,!0))&&(delete this[l],o=!0)}return o}normalize(t){const n=this,a={};return H.forEach(this,(o,l)=>{const c=H.findKey(a,l);if(c){n[c]=qf(o),delete n[l];return}const d=t?rB(l):String(l).trim();d!==l&&delete n[l],n[d]=qf(o),a[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return H.forEach(this,(a,o)=>{a!=null&&a!==!1&&(n[o]=t&&H.isArray(a)?a.join(", "):a)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` 257`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const a=new this(t);
vendor: 4,487 bytes, line 257
257return n.forEach(o=>a.set(o)),a}static accessor(t){const a=(this[rw]=this[rw]={accessors:{}}).accessors,o=this.prototype;function l(c){const d=$c(c);a[d]||(aB(o,c),a[d]=!0)}return H.isArray(t)?t.forEach(l):l(t),this}};Ln.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);H.reduceDescriptors(Ln.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(a){this[n]=a}}});H.freezeMethods(Ln);const iB="[REDACTED ****]";function oB(e){if(H.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(H.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function sB(e,t){const n=new Set(t.map(l=>String(l).toLowerCase())),a=[],o=l=>{if(l===null||typeof l!="object"||H.isBuffer(l))return l;if(a.indexOf(l)!==-1)return;l instanceof Ln&&(l=l.toJSON()),a.push(l);let c;if(H.isArray(l))c=[],l.forEach((d,f)=>{const p=o(d);H.isUndefined(p)||(c[f]=p)});else{if(!H.isPlainObject(l)&&oB(l))return a.pop(),l;c=Object.create(null);for(const[d,f]of Object.entries(l)){const p=n.has(d.toLowerCase())?iB:o(f);H.isUndefined(p)||(c[d]=p)}}return a.pop(),c};return o(e)}let he=class NC extends Error{static from(t,n,a,o,l,c){const d=new NC(t.message,n||t.code,a,o,l);return Object.defineProperty(d,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),d.name=t.name,t.status!=null&&d.status==null&&(d.status=t.status),c&&Object.assign(d,c),d}constructor(t,n,a,o,l){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),a&&(this.config=a),o&&(this.request=o),l&&(this.response=l,this.status=l.status)}toJSON(){const t=this.config,n=t&&H.hasOwnProp(t,"redact")?t.redact:void 0,a=H.isArray(n)&&n.length>0?sB(t,n):H.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a,code:this.code,status:this.status}}};he.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";he.ERR_BAD_OPTION="ERR_BAD_OPTION";he.ECONNABORTED="ECONNABORTED";he.ETIMEDOUT="ETIMEDOUT";he.ECONNREFUSED="ECONNREFUSED";he.ERR_NETWORK="ERR_NETWORK";he.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";he.ERR_DEPRECATED="ERR_DEPRECATED";he.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";he.ERR_BAD_REQUEST="ERR_BAD_REQUEST";he.ERR_CANCELED="ERR_CANCELED";he.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";he.ERR_INVALID_URL="ERR_INVALID_URL";he.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const lB=null,kC=100;function Xy(e){return H.isPlainObject(e)||H.isArray(e)}function MC(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function cy(e,t,n){return e?e.concat(t).map(function(o,l){return o=MC(o),!n&&l?"["+o+"]":o}).join(n?".":""):t}function cB(e){return H.isArray(e)&&!e.some(Xy)}const uB=H.toFlatObject(H,{},null,function(t){return/^is[A-Z]/.test(t)});function Jp(e,t,n){if(!H.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=H.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(N,D){return!H.isUndefined(D[N])});const a=n.metaTokens,o=n.visitor||E,l=n.dots,c=n.indexes,d=n.Blob||typeof Blob<"u"&&Blob,f=n.maxDepth===void 0?kC:n.maxDepth,p=d&&H.isSpecCompliantForm(t),m=[];if(!H.isFunction(o))throw new TypeError("visitor must be a function");function y(R){if(R===null)return"";if(H.isDate(R))return R.toISOString();if(H.isBoolean(R))return R.toString();if(!p&&H.isBlob(R))throw new he("Blob is not supported. Use a Buffer instead.");if(H.isArrayBuffer(R)||H.isTypedArray(R)){if(p&&typeof d=="function")return new d([R]);if(typeof Buffer<"u")return Buffer.from(R);throw new he("Blob is not supported. Use a Buffer instead.",he.ERR_NOT_SUPPORT)}return R}function b(R){if(R>f)throw new he("Object is too deeply nested ("+R+" levels). Max depth: "+f,he.ERR_FORM_DATA_DEPTH_EXCEEDED)}function x(R,N){if(f===1/0)return JSON.stringify(R);const D=[];return JSON.stringify(R,function(O,A){if(!H.isObject(A))return A;for(;D.length&&D[D.length-1]!==this;)D.pop();return D.push(A),b(N+D.length-1),A})}function E(R,N,D){let L=R;if(H.isReactNative(t)&&H.isReactNativeBlob(R))return t.append(cy(D,N,l),y(R)),!1;if(R&&!D&&typeof R=="object"){if(H.endsWith(N,"{}"))N=a?N:N.slice(0,-2),R=x(R,1);else if(H.isArray(R)&&cB(R)||(H.isFileList(R)||H.endsWith(N,"[]"))&&(L=H.toArray(R)))return N=MC(N),L.forEac
vendor: 4,539 bytes, line 257
257h(function(A,w){!(H.isUndefined(A)||A===null)&&t.append(c===!0?cy([N],w,l):c===null?N:N+"[]",y(A))}),!1}return Xy(R)?!0:(t.append(cy(D,N,l),y(R)),!1)}const S=Object.assign(uB,{defaultVisitor:E,convertValue:y,isVisitable:Xy});function C(R,N,D=0){if(!H.isUndefined(R)){if(b(D),m.indexOf(R)!==-1)throw new Error("Circular reference detected in "+N.join("."));m.push(R),H.forEach(R,function(O,A){(!(H.isUndefined(O)||O===null)&&o.call(t,O,H.isString(A)?A.trim():A,N,S))===!0&&C(O,N?N.concat(A):[A],D+1)}),m.pop()}}if(!H.isObject(e))throw new TypeError("data must be an object");return C(e),t}function aw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(a){return t[a]})}function gb(e,t){this._pairs=[],e&&Jp(e,this,t)}const DC=gb.prototype;DC.append=function(t,n){this._pairs.push([t,n])};DC.toString=function(t){const n=t?a=>t.call(this,a,aw):aw;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function dB(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function LC(e,t,n){if(!t)return e;e=e||"";const a=H.isFunction(n)?{serialize:n}:n,o=H.getSafeProp(a,"encode")||dB,l=H.getSafeProp(a,"serialize");let c;if(l?c=l(t,a):c=H.isURLSearchParams(t)?t.toString():new gb(t,a).toString(o),c){const d=e.indexOf("#");d!==-1&&(e=e.slice(0,d)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class iw{constructor(){this.handlers=[]}use(t,n,a){return this.handlers.push({fulfilled:t,rejected:n,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){H.forEach(this.handlers,function(a){a!==null&&t(a)})}}const yb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},fB=typeof URLSearchParams<"u"?URLSearchParams:gb,pB=typeof FormData<"u"?FormData:null,hB=typeof Blob<"u"?Blob:null,mB={isBrowser:!0,classes:{URLSearchParams:fB,FormData:pB,Blob:hB},protocols:["http","https","file","blob","url","data"]},vb=typeof window<"u"&&typeof document<"u",Qy=typeof navigator=="object"&&navigator||void 0,gB=vb&&(!Qy||["ReactNative","NativeScript","NS"].indexOf(Qy.product)<0),yB=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vB=vb&&window.location.href||"http://localhost",bB=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:vb,hasStandardBrowserEnv:gB,hasStandardBrowserWebWorkerEnv:yB,navigator:Qy,origin:vB},Symbol.toStringTag,{value:"Module"})),Cn={...bB,...mB};function SB(e,t){return Jp(e,new Cn.classes.URLSearchParams,{visitor:function(n,a,o,l){return Cn.isNode&&H.isBuffer(n)?(this.append(a,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)},...t})}const ow=kC;function IC(e){if(e>ow)throw new he("FormData field is too deeply nested ("+e+" levels). Max depth: "+ow,he.ERR_FORM_DATA_DEPTH_EXCEEDED)}function xB(e){const t=[],n=/\w+|\[(\w*)]/g;let a;for(;(a=n.exec(e))!==null;)IC(t.length),t.push(a[0]==="[]"?"":a[1]||a[0]);return t}function _B(e){const t={},n=Object.keys(e);let a;const o=n.length;let l;for(a=0;a<o;a++)l=n[a],t[l]=e[l];return t}function jC(e){function t(n,a,o,l){IC(l);let c=n[l++];if(c==="__proto__")return!0;const d=Number.isFinite(+c),f=l>=n.length;return c=!c&&H.isArray(o)?o.length:c,f?(H.hasOwnProp(o,c)?o[c]=H.isArray(o[c])?o[c].concat(a):[o[c],a]:o[c]=a,!d):((!H.hasOwnProp(o,c)||!H.isObject(o[c]))&&(o[c]=[]),t(n,a,o[c],l)&&H.isArray(o[c])&&(o[c]=_B(o[c])),!d)}if(H.isFormData(e)&&H.isFunction(e.entries)){const n={};return H.forEachEntry(e,(a,o)=>{t(xB(a),o,n,0)}),n}return null}const Us=(e,t)=>e!=null&&H.hasOwnProp(e,t)?e[t]:void 0;function EB(e,t,n){if(H.isString(e))try{return(t||JSON.parse)(e),H.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(n||JSON.stringify)(e)}const Uu={transitional:yb,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const a=n.getContentType()||"",o=a.indexOf("application/json")>-1,l=H.isObject(t);if(l&&H.isHTMLForm(t)&&(t=new FormData(t)),H.isFormData(t))return o?JSON.stringify(jC(t)):t;if(H.isArrayBuffer(t)||H.isBuffer(t)||H.isStream(t)||H.isFile(t)||H.isBlob(t)||H.isReadableStream(t))return t;if(H.isArrayBufferView(t))return t.buffer;if(H.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;
vendor: 11,105 bytes, line 257
257if(l){const f=Us(this,"formSerializer");if(a.indexOf("application/x-www-form-urlencoded")>-1)return SB(t,f).toString();if((d=H.isFileList(t))||a.indexOf("multipart/form-data")>-1){const p=Us(this,"env"),m=p&&p.FormData;return Jp(d?{"files[]":t}:t,m&&new m,f)}}return l||o?(n.setContentType("application/json",!1),EB(t)):t}],transformResponse:[function(t){const n=Us(this,"transitional")||Uu.transitional,a=n&&n.forcedJSONParsing,o=Us(this,"responseType"),l=o==="json";if(H.isResponse(t)||H.isReadableStream(t))return t;if(t&&H.isString(t)&&(a&&!o||l)){const d=!(n&&n.silentJSONParsing)&&l;try{return JSON.parse(t,Us(this,"parseReviver"))}catch(f){if(d)throw f.name==="SyntaxError"?he.from(f,he.ERR_BAD_RESPONSE,this,null,Us(this,"response")):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Cn.classes.FormData,Blob:Cn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch","query"],e=>{Uu.headers[e]={}});function uy(e,t){const n=this||Uu,a=t||n,o=Ln.from(a.headers);let l=a.data;return H.forEach(e,function(d){l=d.call(n,l,o.normalize(),t?t.status:void 0)}),o.normalize(),l}function UC(e){return!!(e&&e.__CANCEL__)}let zu=class extends he{constructor(t,n,a){super(t??"canceled",he.ERR_CANCELED,n,a),this.name="CanceledError",this.__CANCEL__=!0}};function zC(e,t,n){const a=n.config.validateStatus;!n.status||!a||a(n.status)?e(n):t(new he("Request failed with status code "+n.status,n.status>=400&&n.status<500?he.ERR_BAD_REQUEST:he.ERR_BAD_RESPONSE,n.config,n.request,n))}function wB(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function TB(e,t){e=e||10;const n=new Array(e),a=new Array(e);let o=0,l=0,c;return t=t!==void 0?t:1e3,function(f){const p=Date.now(),m=a[l];c||(c=p),n[o]=f,a[o]=p;let y=l,b=0;for(;y!==o;)b+=n[y++],y=y%e;if(o=(o+1)%e,o===l&&(l=(l+1)%e),p-c<t)return;const x=m&&p-m;return x?Math.round(b*1e3/x):void 0}}function RB(e,t){let n=0,a=1e3/t,o,l;const c=(p,m=Date.now())=>{n=m,o=null,l&&(clearTimeout(l),l=null),e(...p)};return[(...p)=>{const m=Date.now(),y=m-n;y>=a?c(p,m):(o=p,l||(l=setTimeout(()=>{l=null,c(o)},a-y)))},()=>o&&c(o)]}const cp=(e,t,n=3)=>{let a=0;const o=TB(50,250);return RB(l=>{if(!l||typeof l.loaded!="number")return;const c=l.loaded,d=l.lengthComputable?l.total:void 0,f=d!=null?Math.min(c,d):c,p=Math.max(0,f-a),m=o(p);a=Math.max(a,f);const y={loaded:f,total:d,progress:d?f/d:void 0,bytes:p,rate:m||void 0,estimated:m&&d?(d-f)/m:void 0,event:l,lengthComputable:d!=null,[t?"download":"upload"]:!0};e(y)},n)},sw=(e,t)=>{const n=e!=null;return[a=>t[0]({lengthComputable:n,total:e,loaded:a}),t[1]]},lw=e=>(...t)=>H.asap(()=>e(...t)),CB=Cn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Cn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Cn.origin),Cn.navigator&&/(msie|trident)/i.test(Cn.navigator.userAgent)):()=>!0,OB=Cn.hasStandardBrowserEnv?{write(e,t,n,a,o,l,c){if(typeof document>"u")return;const d=[`${e}=${encodeURIComponent(t)}`];H.isNumber(n)&&d.push(`expires=${new Date(n).toUTCString()}`),H.isString(a)&&d.push(`path=${a}`),H.isString(o)&&d.push(`domain=${o}`),l===!0&&d.push("secure"),H.isString(c)&&d.push(`SameSite=${c}`),document.cookie=d.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const a=t[n].replace(/^\s+/,""),o=a.indexOf("=");if(o!==-1&&a.slice(0,o)===e)try{return decodeURIComponent(a.slice(o+1))}catch{return a.slice(o+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function AB(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function NB(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const kB=/^https?:(?!\/\/)/i,MB=/[\t\n\r]/g;function DB(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function LB(e){return DB(e).replace(MB,"")}function cw(e,t){if(typeof e=="string"&&kB.test(LB(e)))throw new he('Invalid URL: missing "//" after protocol',he.ERR_INVALID_URL,t)}function PC(e,t,n,a){cw(t,a);let o=!AB(t);return e&&(o||n===!1)?(cw(e,a),NB(e,t)):t}const uw=e=>e instanceof Ln?{...e}:e;function ko(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function a(m,y,b,x){return H.isPlainObject(m)&&H.isPlainObject(y)?H.merge.call({caseless:x},m,y):H.isPlainObject(y)?H.merge({},y):H.isArray(y)?y.slice():y}function o(m,y,b,x){if(H.isUndefined(y)){if(!H.isUndefined(m))return a(void 0,m,b,x)}else return a(m,y,b,x)}function l(m,y){if(!H.isUndefined(y))return a(void 0,y)}function c(m,y){if(H.isUndefined(y)){if(!H.isUndefined(m))return a(void 0,m)}else return a(void 0,y)}function d(m){const y=H.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!H.isUndefined(y))if(H.isPlainObject(y)){if(H.hasOwnProp(y,m))return y[m]}else return;const b=H.hasOwnProp(e,"transitional")?e.transitional:void 0;if(H.isPlainObject(b)&&H.hasOwnProp(b,m))return b[m]}function f(m,y,b){if(H.hasOwnProp(t,b))return a(m,y);if(H.hasOwnProp(e,b))return a(void 0,m)}const p={url:l,method:l,data:l,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,allowedSocketPaths:c,responseEncoding:c,validateStatus:f,headers:(m,y,b)=>o(uw(m),uw(y),b,!0)};return H.forEach(Object.keys({...e,...t}),function(y){if(y==="__proto__"||y==="constructor"||y==="prototype")return;const b=H.hasOwnProp(p,y)?p[y]:o,x=H.hasOwnProp(e,y)?e[y]:void 0,E=H.hasOwnProp(t,y)?t[y]:void 0,S=b(x,E,y);H.isUndefined(S)&&b!==f||(n[y]=S)}),H.hasOwnProp(t,"validateStatus")&&H.isUndefined(t.validateStatus)&&d("validateStatusUndefinedResolves")===!1&&(H.hasOwnProp(e,"validateStatus")?n.validateStatus=a(void 0,e.validateStatus):delete n.validateStatus),n}const IB=["content-type","content-length"];function jB(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([a,o])=>{IB.includes(a.toLowerCase())&&e.set(a,o)})}const UB=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function $C(e){const t=ko({},e),n=b=>H.hasOwnProp(t,b)?t[b]:void 0,a=n("data");let o=n("withXSRFToken");const l=n("xsrfHeaderName"),c=n("xsrfCookieName");let d=n("headers");const f=n("auth"),p=n("baseURL"),m=n("allowAbsoluteUrls"),y=n("url");if(t.headers=d=Ln.from(d),t.url=LC(PC(p,y,m,t),n("params"),n("paramsSerializer")),f){const b=H.getSafeProp(f,"username")||"",x=H.getSafeProp(f,"password")||"";try{d.set("Authorization","Basic "+btoa(b+":"+(x?UB(x):"")))}catch(E){throw he.from(E,he.ERR_BAD_OPTION_VALUE,e)}}if(H.isFormData(a)&&(Cn.hasStandardBrowserEnv||Cn.hasStandardBrowserWebWorkerEnv||H.isReactNative(a)?d.setContentType(void 0):H.isFunction(a.getHeaders)&&jB(d,a.getHeaders(),n("formDataHeaderPolicy"))),Cn.hasStandardBrowserEnv&&(H.isFunction(o)&&(o=o(t)),o===!0||o==null&&CB(t.url))){const x=l&&c&&OB.read(c);x&&d.set(l,x)}return t}const zB=typeof XMLHttpRequest<"u",PB=zB&&function(e){return new Promise(function(n,a){const o=$C(e);let l=o.data;const c=Ln.from(o.headers).normalize();let{responseType:d,onUploadProgress:f,onDownloadProgress:p}=o,m,y,b,x,E;function S(){x&&x(),E&&E(),o.cancelToken&&o.cancelToken.unsubscribe(m),o.signal&&o.signal.removeEventListener("abort",m)}let C=new XMLHttpRequest;C.open(o.method.toUpperCase(),o.url,!0),C.timeout=o.timeout;function R(){if(!C)return;const D=Ln.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),O={data:!d||d==="text"||d==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:D,config:e,request:C};zC(function(w){n(w),S()},function(w){a(w),S()},O),C=null}"onloadend"in C?C.onloadend=R:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.startsWith("file:"))||setTimeout(R)},C.onabort=function(){C&&(a(new he("Request aborted",he.ECONNABORTED,e,C)),S(),C=null)},C.onerror=function(L){const O=L&&L.message?L.message:"Network Error",A=new he(O,he.ERR_NETWORK,e,C);A.event=L||null,a(A),S(),C=null},C.ontimeout=function(){let L=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const O=o.transitional||yb;o.timeoutErrorMessage&&(L=o.timeoutErrorMessage),a(new he(L,O.clarifyTimeoutError?he.ETIMEDOUT:he.ECONNABORTED,e,C)),S(),C=null},l===void 0&&c.setContentType(null),"setRequestHeader"in C&&H.forEach(AC(c),function(L,O){C.setRequestHeader(O,L)}),H.isUndefined(o.withCredentials)||(C.withCredentials=!!o.withCredentials),d&&d!=="json"&&(C.responseType=o.responseType),p&&([b,E]=cp(p,!0),C.addEventListener("progress",b)),f&&C.upload&&([y,x]=cp(f),C.upload.addEventListener("progress",y),C.upload.addEventListener("loadend",x)),(o.cancelToken||o.signal)&&(m=D=>{C&&(a(!D||D.type?new zu(null,e,C):D),C.abort(),S(),C=null)},o.cancelToken&&o.cancelToken.subscribe(m),o.signal&&(o.signal.aborted?m():o.signal.addEventListener("abort",m)));const N=wB(o.url);if(N&&!Cn.protocols.includes(N)){a(new he("Unsupported protocol "+N+":",he.ERR_BAD_REQUEST,e)),S();return}C.send(l||null)})},$B=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let a=!1;const o=function(f){if(!a){a=!0,c();const p=f instanceof Error?f:this.reason;n.abort(p instanceof he?p:new zu(p instanceof Error?p.message:p))}};let l=t&&setTimeout(()=>{l=null,o(new he(`timeout of ${t}ms exceeded`,he.ETIMEDOUT))},t);const c=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(o):f.removeEventListener("abort",o)}),e=null)};e.forEach(f=>f.addEventListener("abort",o,{once:!0}));const{signal:d}=n;return d.unsubscribe=()=>H.asap(c),d},BB=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let a=0,o;for(;a<n;)o=a+t,yield e.slice(a,o),a=o},HB=async function*(e,t){for await(const n of FB(e))yield*BB(n,t)},FB=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:a}=await t.read();if(n)break;yield a}}finally{await t.cancel()}},dw=(e,t,n,a)=>{const o=HB(e,t);let l=0,c,d=f=>{c||(c=!0,a&&a(f))};return new ReadableStream({async pull(f){try{const{done:p,value:m}=await o.next();if(p){d(),f.close();return}let y=m.byteLength;if(n){let b=l+=y;n(b)}f.enqueue(new Uint8Array(m))}catch(p){throw d(p),p}},cancel(f){return d(f),o.return()}},{highWaterMark:2})},up=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,qB=(e,t,n)=>t+2<n&&up(e.charCodeAt(t+1))&&up(e.charCodeAt(t+2));function GB(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),a=e.slice(t+1);if(/;base64/i.test(n)){let c=a.length;const d=a.length;for(let x=0;x<d;
vendor: 4,815 bytes, line 257
257x++)if(a.charCodeAt(x)===37&&x+2<d){const E=a.charCodeAt(x+1),S=a.charCodeAt(x+2);up(E)&&up(S)&&(c-=2,x+=2)}let f=0,p=d-1;const m=x=>x>=2&&a.charCodeAt(x-2)===37&&a.charCodeAt(x-1)===51&&(a.charCodeAt(x)===68||a.charCodeAt(x)===100);p>=0&&(a.charCodeAt(p)===61?(f++,p--):m(p)&&(f++,p-=3)),f===1&&p>=0&&(a.charCodeAt(p)===61||m(p))&&f++;const b=Math.floor(c/4)*3-(f||0);return b>0?b:0}let l=0;for(let c=0,d=a.length;c<d;c++){const f=a.charCodeAt(c);if(f===37&&qB(a,c,d))l+=1,c+=2;else if(f<128)l+=1;else if(f<2048)l+=2;else if(f>=55296&&f<=56319&&c+1<d){const p=a.charCodeAt(c+1);p>=56320&&p<=57343?(l+=4,c++):l+=3}else l+=3}return l}const bb="1.18.1",fw=64*1024,{isFunction:xf}=H,WB=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),pw=e=>{if(!H.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},hw=(e,...t)=>{try{return!!e(...t)}catch{return!1}},VB=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},YB=e=>{const t=H.global!==void 0&&H.global!==null?H.global:globalThis,{ReadableStream:n,TextEncoder:a}=t;e=H.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:l,Response:c}=e,d=o?xf(o):typeof fetch=="function",f=xf(l),p=xf(c);if(!d)return!1;const m=d&&xf(n),y=d&&(typeof a=="function"?(R=>N=>R.encode(N))(new a):async R=>new Uint8Array(await new l(R).arrayBuffer())),b=f&&m&&hw(()=>{let R=!1;const N=new l(Cn.origin,{body:new n,method:"POST",get duplex(){return R=!0,"half"}}),D=N.headers.has("Content-Type");return N.body!=null&&N.body.cancel(),R&&!D}),x=p&&m&&hw(()=>H.isReadableStream(new c("").body)),E={stream:x&&(R=>R.body)};d&&["text","arrayBuffer","blob","formData","stream"].forEach(R=>{!E[R]&&(E[R]=(N,D)=>{let L=N&&N[R];if(L)return L.call(N);throw new he(`Response type '${R}' is not supported`,he.ERR_NOT_SUPPORT,D)})});const S=async R=>{if(R==null)return 0;if(H.isBlob(R))return R.size;if(H.isSpecCompliantForm(R))return(await new l(Cn.origin,{method:"POST",body:R}).arrayBuffer()).byteLength;if(H.isArrayBufferView(R)||H.isArrayBuffer(R))return R.byteLength;if(H.isURLSearchParams(R)&&(R=R+""),H.isString(R))return(await y(R)).byteLength},C=async(R,N)=>{const D=H.toFiniteNumber(R.getContentLength());return D??S(N)};return async R=>{let{url:N,method:D,data:L,signal:O,cancelToken:A,timeout:w,onDownloadProgress:M,onUploadProgress:I,responseType:$,headers:Y,withCredentials:ne="same-origin",fetchOptions:se,maxContentLength:ae,maxBodyLength:ee}=$C(R);const P=H.isNumber(ae)&&ae>-1,K=H.isNumber(ee)&&ee>-1,ie=ue=>H.hasOwnProp(R,ue)?R[ue]:void 0;let de=o||fetch;$=$?($+"").toLowerCase():"text";let me=$B([O,A&&A.toAbortSignal()],w),j=null;const X=me&&me.unsubscribe&&(()=>{me.unsubscribe()});let le,oe=null;const pe=()=>new he("Request body larger than maxBodyLength limit",he.ERR_BAD_REQUEST,R,j);try{let ue;const Se=ie("auth");if(Se){const ye=H.getSafeProp(Se,"username")||"",Ze=H.getSafeProp(Se,"password")||"";ue={username:ye,password:Ze}}if(VB(N)){const ye=new URL(N,Cn.origin);if(!ue&&(ye.username||ye.password)){const Ze=pw(ye.username),ft=pw(ye.password);ue={username:Ze,password:ft}}(ye.username||ye.password)&&(ye.username="",ye.password="",N=ye.href)}if(ue&&(Y.delete("authorization"),Y.set("Authorization","Basic "+btoa(WB((ue.username||"")+":"+(ue.password||""))))),P&&typeof N=="string"&&N.startsWith("data:")&&GB(N)>ae)throw new he("maxContentLength size of "+ae+" exceeded",he.ERR_BAD_RESPONSE,R,j);if(K&&D!=="get"&&D!=="head"){const ye=await S(L);if(typeof ye=="number"&&isFinite(ye)&&(le=ye,ye>ee))throw pe()}const fe=K&&(H.isReadableStream(L)||H.isStream(L)),ge=(ye,Ze,ft)=>dw(ye,fw,be=>{if(K&&be>ee)throw oe=pe();Ze&&Ze(be)},ft);if(b&&D!=="get"&&D!=="head"&&(I||fe)){if(le=le??await C(Y,L),le!==0||fe){let ye=new l(N,{method:"POST",body:L,duplex:"half"}),Ze;if(H.isFormData(L)&&(Ze=ye.headers.get("content-type"))&&Y.setContentType(Ze),ye.body){const[ft,be]=I&&sw(le,cp(lw(I)))||[];L=ge(ye.body,ft,be)}}}else if(fe&&!f&&m&&D!=="get"&&D!=="head")L=ge(L);else if(fe&&f&&!b&&D!=="get"&&D!=="head")throw new he("Stream request bodies are not supported by the current fetch implementation",he.ERR_NOT_SUPPORT,R,j);H.isString(ne)||(ne=ne?"include":"omit");const ut=f&&"credentials"in l.prototype;if(H.isFormData(L)){const ye=Y.getContentType();ye&&/^multipart\/form-data/i.test(ye)&&!/boundary=/i.test(ye)&&Y.delete("content-type")}Y.set("User-Agent","axios/"+bb,!1);const Oe={...se,signal:me,method:D.toUpperCase(),headers:AC(Y.normalize()),body:L,duplex:"half",credentials:ut?ne:void 0};j=f&&new l(N,Oe);let qe=await(f?de(j,se):de(N,Oe));const _t=Ln.from(qe.headers);if(P){const ye=H.toFiniteNumber(_t.getContentLength());if(ye!=null&&ye>ae)throw new he("maxContentLength size of "+ae+" exceeded",he.ERR_BAD_RESPONSE,R,j)}
vendor: 4,802 bytes, lines 257-259
257const Pe=x&&($==="stream"||$==="response");if(x&&qe.body&&(M||P||Pe&&X)){const ye={};["status","statusText","headers"].forEach(it=>{ye[it]=qe[it]});const Ze=H.toFiniteNumber(_t.getContentLength()),[ft,be]=M&&sw(Ze,cp(lw(M),!0))||[];let He=0;const _e=it=>{if(P&&(He=it,He>ae))throw new he("maxContentLength size of "+ae+" exceeded",he.ERR_BAD_RESPONSE,R,j);ft&&ft(it)};qe=new c(dw(qe.body,fw,_e,()=>{be&&be(),X&&X()}),ye)}$=$||"text";let Ae=await E[H.findKey(E,$)||"text"](qe,R);if(P&&!x&&!Pe){let ye;if(Ae!=null&&(typeof Ae.byteLength=="number"?ye=Ae.byteLength:typeof Ae.size=="number"?ye=Ae.size:typeof Ae=="string"&&(ye=typeof a=="function"?new a().encode(Ae).byteLength:Ae.length)),typeof ye=="number"&&ye>ae)throw new he("maxContentLength size of "+ae+" exceeded",he.ERR_BAD_RESPONSE,R,j)}return!Pe&&X&&X(),await new Promise((ye,Ze)=>{zC(ye,Ze,{data:Ae,headers:Ln.from(qe.headers),status:qe.status,statusText:qe.statusText,config:R,request:j})})}catch(ue){if(X&&X(),me&&me.aborted&&me.reason instanceof he){const Se=me.reason;throw Se.config=R,j&&(Se.request=j),ue!==Se&&Object.defineProperty(Se,"cause",{__proto__:null,value:ue,writable:!0,enumerable:!1,configurable:!0}),Se}if(oe)throw j&&!oe.request&&(oe.request=j),oe;if(ue instanceof he)throw j&&!ue.request&&(ue.request=j),ue;if(ue&&ue.name==="TypeError"&&/Load failed|fetch/i.test(ue.message)){const Se=new he("Network Error",he.ERR_NETWORK,R,j,ue&&ue.response);throw Object.defineProperty(Se,"cause",{__proto__:null,value:ue.cause||ue,writable:!0,enumerable:!1,configurable:!0}),Se}throw he.from(ue,ue&&ue.code,R,j,ue&&ue.response)}}},KB=new Map,BC=e=>{let t=e&&e.env||{};const{fetch:n,Request:a,Response:o}=t,l=[a,o,n];let c=l.length,d=c,f,p,m=KB;for(;d--;)f=l[d],p=m.get(f),p===void 0&&m.set(f,p=d?new Map:YB(t)),m=p;return p};BC();const Sb={http:lB,xhr:PB,fetch:{get:BC}};H.forEach(Sb,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const mw=e=>`- ${e}`,XB=e=>H.isFunction(e)||e===null||e===!1;function QB(e,t){e=H.isArray(e)?e:[e];const{length:n}=e;let a,o;const l={};for(let c=0;c<n;c++){a=e[c];let d;if(o=a,!XB(a)&&(o=Sb[(d=String(a)).toLowerCase()],o===void 0))throw new he(`Unknown adapter '${d}'`);if(o&&(H.isFunction(o)||(o=o.get(t))))break;l[d||"#"+c]=o}if(!o){const c=Object.entries(l).map(([f,p])=>`adapter ${f} `+(p===!1?"is not supported by the environment":"is not available in the build"));let d=n?c.length>1?`since : 258`+c.map(mw).join(` 259`):" "+mw(c[0]):"as no adapter specified";throw new he("There is no suitable adapter to dispatch the request "+d,he.ERR_NOT_SUPPORT)}return o}const HC={getAdapter:QB,adapters:Sb};function dy(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zu(null,e)}function gw(e){return dy(e),e.headers=Ln.from(e.headers),e.data=uy.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),HC.getAdapter(e.adapter||Uu.adapter,e)(e).then(function(a){dy(e),e.response=a;try{a.data=uy.call(e,e.transformResponse,a)}finally{delete e.response}return a.headers=Ln.from(a.headers),a},function(a){if(!UC(a)&&(dy(e),a&&a.response)){e.response=a.response;try{a.response.data=uy.call(e,e.transformResponse,a.response)}finally{delete e.response}a.response.headers=Ln.from(a.response.headers)}return Promise.reject(a)})}const eh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eh[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const yw={};eh.transitional=function(t,n,a){function o(l,c){return"[Axios v"+bb+"] Transitional option '"+l+"'"+c+(a?". "+a:"")}return(l,c,d)=>{if(t===!1)throw new he(o(c," has been removed"+(n?" in "+n:"")),he.ERR_DEPRECATED);return n&&!yw[c]&&(yw[c]=!0,console.warn(o(c," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,c,d):!0}};eh.spelling=function(t){return(n,a)=>(console.warn(`${a} is likely a misspelling of ${t}`),!0)};function ZB(e,t,n){if(typeof e!="object"||e===null)throw new he("options must be an object",he.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let o=a.length;for(;o-- >0;){const l=a[o],c=Object.prototype.hasOwnProperty.call(t,l)?t[l]:void 0;if(c){const d=e[l],f=d===void 0||c(d,l,e);if(f!==!0)throw new he("option "+l+" must be "+f,he.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new he("Unknown option "+l,he.ERR_BAD_OPTION)}}const Gf={assertOptions:ZB,validators:eh},kn=Gf.validators;let Ro=class{constructor(t){this.defaults=t||{},this.interceptors={request:new iw,response:new iw}}async request(t,n){try{return await this._request(t,n)}catch(a){if(a instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const l=(()=>
vendor: 3,918 bytes, lines 259-263
259{if(!o.stack)return"";const c=o.stack.indexOf(` 260`);return c===-1?"":o.stack.slice(c+1)})();try{if(!a.stack)a.stack=l;else if(l){const c=l.indexOf(` 261`),d=c===-1?-1:l.indexOf(` 262`,c+1),f=d===-1?"":l.slice(d+1);String(a.stack).endsWith(f)||(a.stack+=` 263`+l)}}catch{}}throw a}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ko(this.defaults,n);const{transitional:a,paramsSerializer:o,headers:l}=n;a!==void 0&&Gf.assertOptions(a,{silentJSONParsing:kn.transitional(kn.boolean),forcedJSONParsing:kn.transitional(kn.boolean),clarifyTimeoutError:kn.transitional(kn.boolean),legacyInterceptorReqResOrdering:kn.transitional(kn.boolean),advertiseZstdAcceptEncoding:kn.transitional(kn.boolean),validateStatusUndefinedResolves:kn.transitional(kn.boolean)},!1),o!=null&&(H.isFunction(o)?n.paramsSerializer={serialize:o}:Gf.assertOptions(o,{encode:kn.function,serialize:kn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Gf.assertOptions(n,{baseUrl:kn.spelling("baseURL"),withXsrfToken:kn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let c=l&&H.merge(l.common,l[n.method]);l&&H.forEach(["delete","get","head","post","put","patch","query","common"],E=>{delete l[E]}),n.headers=Ln.concat(c,l);const d=[];let f=!0;this.interceptors.request.forEach(function(S){if(typeof S.runWhen=="function"&&S.runWhen(n)===!1)return;f=f&&S.synchronous;const C=n.transitional||yb;C&&C.legacyInterceptorReqResOrdering?d.unshift(S.fulfilled,S.rejected):d.push(S.fulfilled,S.rejected)});const p=[];this.interceptors.response.forEach(function(S){p.push(S.fulfilled,S.rejected)});let m,y=0,b;if(!f){const E=[gw.bind(this),void 0];for(E.unshift(...d),E.push(...p),b=E.length,m=Promise.resolve(n);y<b;)m=m.then(E[y++],E[y++]);return m}b=d.length;let x=n;for(;y<b;){const E=d[y++],S=d[y++];try{x=E(x)}catch(C){S.call(this,C);break}}try{m=gw.call(this,x)}catch(E){return Promise.reject(E)}for(y=0,b=p.length;y<b;)m=m.then(p[y++],p[y++]);return m}getUri(t){t=ko(this.defaults,t);const n=PC(t.baseURL,t.url,t.allowAbsoluteUrls,t);return LC(n,t.params,t.paramsSerializer)}};H.forEach(["delete","get","head","options"],function(t){Ro.prototype[t]=function(n,a){return this.request(ko(a||{},{method:t,url:n,data:a&&H.hasOwnProp(a,"data")?a.data:void 0}))}});H.forEach(["post","put","patch","query"],function(t){function n(a){return function(l,c,d){return this.request(ko(d||{},{method:t,headers:a?{"Content-Type":"multipart/form-data"}:{},url:l,data:c}))}}Ro.prototype[t]=n(),t!=="query"&&(Ro.prototype[t+"Form"]=n(!0))});let JB=class FC{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const a=this;this.promise.then(o=>{if(!a._listeners)return;let l=a._listeners.length;for(;l-- >0;)a._listeners[l](o);a._listeners=null}),this.promise.then=o=>{let l;const c=new Promise(d=>{a.subscribe(d),l=d}).then(o);return c.cancel=function(){a.unsubscribe(l)},c},t(function(l,c,d){a.reason||(a.reason=new zu(l,c,d),n(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=a=>{t.abort(a)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new FC(function(o){t=o}),cancel:t}}};function e6(e){return function(n){return e.apply(null,n)}}function t6(e){return H.isObject(e)&&e.isAxiosError===!0}const Zy={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
263alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Zy).forEach(([e,t])=>{Zy[t]=e});function qC(e){const t=new Ro(e),n=SC(Ro.prototype.request,t);return H.extend(n,Ro.prototype,t,{allOwnKeys:!0}),H.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return qC(ko(e,o))},n}const Qt=qC(Uu);Qt.Axios=Ro;Qt.CanceledError=zu;Qt.CancelToken=JB;Qt.isCancel=UC;Qt.VERSION=bb;Qt.toFormData=Jp;Qt.AxiosError=he;Qt.Cancel=Qt.CanceledError;Qt.all=function(t){return Promise.all(t)};Qt.spread=e6;Qt.isAxiosError=t6;Qt.mergeConfig=ko;Qt.AxiosHeaders=Ln;Qt.formToJSON=e=>jC(H.isHTMLForm(e)?new FormData(e):e);Qt.getAdapter=HC.getAdapter;Qt.HttpStatusCode=Zy;Qt.default=Qt;const{Axios:cY,AxiosError:n6,CanceledError:uY,isCancel:dY,CancelToken:fY,VERSION:pY,all:hY,Cancel:mY,isAxiosError:gY,spread:yY,toFormData:vY,AxiosHeaders:bY,HttpStatusCode:SY,formToJSON:xY,getAdapter:_Y,mergeConfig:EY,create:wY}=Qt,xt=Qt.create({baseURL:yC,timeout:2e4,withCredentials:!0}),Rt=e=>{const{id:t,label:n,helperText:a,sx:o,...l}=e;return v.jsxs(XU,{fullWidth:!0,sx:{minHeight:96,...o},children:[v.jsx(oz,{htmlFor:t,sx:{textAlign:"left",color:"black",fontWeight:700,mb:"5px",fontSize:"14px"},children:n}),v.jsx(hC,{id:t,...l,sx:{height:48}}),e.error&&a&&v.jsx(dC,{error:e.error,sx:{textAlign:"left"},children:a})]})},vw=6,Wi=e=>{const{onKeyDownEnter:t,label:n,validate:a=!0}=e,[o,l]=Fe.useState(""),[c,d]=Fe.useState(!1),[f,p]=Fe.useState(!1),m=T.useCallback(E=>{const S=[];return E.length>=vw||S.push(`Must be at least ${vw} characters long`),E.toUpperCase()!==E||S.push("Must have at least one lowercase letter"),E.toLowerCase()!==E||S.push("Must have at least one uppercase letter"),/\d/.test(E)||S.push("Must have at least one number"),S},[]),y=T.useMemo(()=>m(o).length===0,[m,o]),b=E=>{const S=E.target.value,C=m(S).length===0;l(S),e.onChange({value:S,isValid:C})},x=a&&f&&!y;return v.jsxs(q,{children:[v.jsx(Rt,{id:"password",size:"small",label:n,value:o,onBlur:()=>p(!0),onFocus:()=>p(!0),onChange:b,autoComplete:e.autoComplete,type:c?"text":"password",endAdornment:v.jsx(pC,{position:"end",children:v.jsx(ub,{className:"cursor-pointer",onClick:()=>d(E=>!E),children:c?"visibility_off":"visibility"})}),onKeyDown:({key:E})=>{E==="Enter"&&(t==null||t())},error:x,inputRef:e.focusOnLoad?E=>E==null?void 0:E.focus():void 0,sx:{...!a&&{minHeight:"80px"}}}),x&&v.jsx(dC,{sx:{mt:"-12px"},className:"text-red",dangerouslySetInnerHTML:{__html:m(o).map(E=>"- "+E).join("<br />")}})]})},r6=e=>({INVALID_EMAIL:"Work email required. If you would like an exception to our policy, please contact us."})[e]||e,un=()=>{const{openSnackbar:e}=Du();return Fe.useCallback((t,n)=>{var o,l;let a="";t instanceof n6?a=((l=(o=t.response)==null?void 0:o.data)==null?void 0:l.message)||t.message:t instanceof Error?a=t.message:a="An unexpected error has occurred. Please try again or contact us.",a=r6(a),n?n(a):e(a,"error")},[e])};var Bc={},fy={};const a6=Za(p3);var bw;function Pu(){return bw||(bw=1,function(e){"use client";
263Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=a6}(fy)),fy}var Sw;function i6(){if(Sw)return Bc;Sw=1;var e=Uo();Object.defineProperty(Bc,"__esModule",{value:!0}),Bc.default=void 0;var t=e(Pu()),n=bl();return Bc.default=(0,t.default)((0,n.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear"),Bc}var o6=i6();const s6=Ir(o6);function l6(e){return new TextEncoder().encode(e)}function Ga(e){const t=new Uint8Array(e);let n="";for(const o of t)n+=String.fromCharCode(o);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function xb(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),n=(4-t.length%4)%4,a=t.padEnd(t.length+n,"="),o=atob(a),l=new ArrayBuffer(o.length),c=new Uint8Array(l);for(let d=0;d<o.length;d++)c[d]=o.charCodeAt(d);return l}function _b(){return(window==null?void 0:window.PublicKeyCredential)!==void 0&&typeof window.PublicKeyCredential=="function"}function GC(e){const{id:t}=e;return{...e,id:xb(t),transports:e.transports}}function WC(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}class Dn extends Error{constructor({message:t,code:n,cause:a,name:o}){super(t,{cause:a}),this.name=o??a.name,this.code=n}}function c6({error:e,options:t}){var a,o;const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Dn({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((a=n.authenticatorSelection)==null?void 0:a.requireResidentKey)===!0)return new Dn({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(((o=n.authenticatorSelection)==null?void 0:o.userVerification)==="required")return new Dn({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new Dn({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new Dn({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return n.pubKeyCredParams.filter(c=>c.type==="public-key").length===0?new Dn({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new Dn({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const l=window.location.hostname;if(WC(l)){if(n.rp.id!==l)return new Dn({message:`The RP ID "${n.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Dn({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(n.user.id.byteLength<1||n.user.id.byteLength>64)return new Dn({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new Dn({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}class u6{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const VC=new u6,d6=["cross-platform","platform"];function YC(e){if(e&&!(d6.indexOf(e)<0))return e}async function f6(e){var b;if(!_b())throw new Error("WebAuthn is not supported in this browser");const n={publicKey:{...e,challenge:xb(e.challenge),user:{...e.user,id:l6(e.user.id)},excludeCredentials:(b=e.excludeCredentials)==null?void 0:b.map(GC)}};n.signal=VC.createNewAbortSignal();let a;try{a=await navigator.credentials.create(n)}catch(x){throw c6({error:x,options:n})}if(!a)throw new Error("Registration was not completed");const{id:o,rawId:l,response:c,type:d}=a;let f;typeof c.getTransports=="function"&&(f=c.getTransports());let p;if(typeof c.getPublicKeyAlgorithm=="function")try{p=c.getPublicKeyAlgorithm()}catch(x){py("getPublicKeyAlgorithm()",x)}let m;if(typeof c.getPublicKey=="function")try{const x=c.getPublicKey();x!==null&&(m=Ga(x))}catch(x){py("getPublicKey()",x)}let y;if(typeof c.getAuthenticatorData=="function")try{y=Ga(c.getAuthenticatorData())}catch(x){py("getAuthenticatorData()",x)}return{id:o,rawId:Ga(l),response:{attestationObject:Ga(c.attestationObject),clientDataJSON:Ga(c.clientDataJSON),transports:f,publicKeyAlgorithm:p,publicKey:m,authenticatorData:y},type:d,clientExtensionResults:a.getClientExtensionResults(),authenticatorAttachment:YC(a.authenticatorAttachment)}}function py(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them. 264`,t)}function p6(e){return new TextDecoder("utf-8").decode(e)}function h6(){const e=window.PublicKeyCredential;return e.isConditionalMediationAvailable===void 0?new Promise(t=>t(!1)):e.isConditionalMediationAvailable()}function m6({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Dn({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new Dn({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const a=window.location.hostname;if(WC(a)){if(n.rpId!==a)return new Dn({message:`The RP ID "${n.rpId}
264" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Dn({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new Dn({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}async function g6(e,t=!1){var y,b;if(!_b())throw new Error("WebAuthn is not supported in this browser");let n;((y=e.allowCredentials)==null?void 0:y.length)!==0&&(n=(b=e.allowCredentials)==null?void 0:b.map(GC));const a={...e,challenge:xb(e.challenge),allowCredentials:n},o={};if(t){if(!await h6())throw Error("Browser does not support WebAuthn autofill");if(document.querySelectorAll("input[autocomplete$='webauthn']").length<1)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');o.mediation="conditional",a.allowCredentials=[]}o.publicKey=a,o.signal=VC.createNewAbortSignal();let l;try{l=await navigator.credentials.get(o)}catch(x){throw m6({error:x,options:o})}if(!l)throw new Error("Authentication was not completed");const{id:c,rawId:d,response:f,type:p}=l;let m;return f.userHandle&&(m=p6(f.userHandle)),{id:c,rawId:Ga(d),response:{authenticatorData:Ga(f.authenticatorData),clientDataJSON:Ga(f.clientDataJSON),signature:Ga(f.signature),userHandle:m},type:p,clientExtensionResults:l.getClientExtensionResults(),authenticatorAttachment:YC(l.authenticatorAttachment)}}const y6={login:async e=>{const{data:t}=await xt.post("/passkey/generateAuthenticationOptions",{email:e});console.log("options",t.options);const n=await g6(t.options);console.log("authentication",n);const a=new URLSearchParams(location.search),o=a.get("requester")==="chrome-extension",l=await xt.post("/passkey/verifyAuthenticationResponse",{authentication:n,userId:t.userId,redirectUrl:a.get("redirectUrl")}),{authDevice:c}=l.data;if(o){Le.setChromeExtension(c.deviceToken);return}window.location.href=l.data.redirectUrl}};var Hc={},xw;function v6(){if(xw)return Hc;xw=1;var e=Uo();Object.defineProperty(Hc,"__esModule",{value:!0}),Hc.default=void 0;var t=e(Pu()),n=bl();return Hc.default=(0,t.default)((0,n.jsx)("path",{d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m-9-2V7H4v3H1v2h3v3h2v-3h3v-2zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"PersonAdd"),Hc}var b6=v6();const S6=Ir(b6),x6=e=>{const{authDevices:t,useAnotherAccount:n}=e,a=Vt(),o=un(),l=T.useMemo(()=>new URLSearchParams(a.search),[a.search]),{reCaptchaLoaded:c,generateReCaptchaToken:d}=Al(),f=l.get("requester"),p=f==="chrome-extension",[m,y]=Fe.useState(""),[b,x]=Fe.useState(""),[E,S]=Fe.useState("EMAIL"),[C,R]=Fe.useState(""),[N,D]=Fe.useState(!1),L=async(w,M)=>{if(!Le.isValidEmail(w))return R("Invalid email");if(y(w),M)try{e.setLoading(!0),await y6.login(w)}catch{S("PASSWORD"),e.setLoading(!1)}else S("PASSWORD")},O=async()=>{try{if(!b)throw new Error("Please enter your password");D(!0);const w=Le.getFullAuthDeviceData(),M=await d("login"),{data:I}=await xt.post("/login",{email:m,password:b,authDevice:w,redirectUrl:l.get("redirectUrl"),requester:f},{headers:{[Lr.RECAPTCHA_TOKEN]:M,[Lr.RECAPTCHA_ACTION]:"login"}});if(!I)return;const $=I.authDevice;if(p){Le.setChromeExtension(I.token);return}const Y=localStorage.getItem(`passkey-skip-${$.id}`);!I.hasPasskeyAuthenticator&&!Y&&_b()?e.setPasskeyDialog($.id,I.redirectUrl):window.location.href=I.redirectUrl}catch(w){o(w),D(!1)}},A=T.useMemo(()=>{let w="/request-password-reset";if(m){const M=new URLSearchParams({email:m});w+=`?${M.toString()}`}return w},[m]);return v.jsxs(q,{children:[E==="EMAIL"&&v.jsxs(v.Fragment,{children:[t.length===0&&v.jsxs(q,{children:[v.jsx(Rt,{label:"Email",value:m,onChange:w=>{y(w.target.value),R("")},type:"email",id:"email",size:"small",autoComplete:"username",onFocus:()=>R(""),onKeyDown:w=>w.key==="Enter"&&L(w.target.value,!1),error:!!C,helperText:C}),v.jsx(St,{id:"next-button",fullWidth:!0,color:"primary",variant:"contained",disabled:N||!c||!m,onClick:()=>L(m,!1),children:N?v.jsx(pr,{size:20}):"Next"})]}),t.length>0&&v.jsxs(q,{border:"1px solid var(--light-grey-3)",borderRadius:"12px",children:[t.map(({id:w,user:M,hasPasskeyAuthenticator:I})=>v.jsxs(Fe.Fragment,{children:[v.jsxs(q,{display:"flex",gap:"12px",alignItems:"center",p:"12px 16px",sx:{cursor:"pointer","&:hover":{backgroundColor:"var(--light-grey-3)"}},onClick:()=>L(M.email,I),children:[v.jsx(xU,{src:Le.getUrlFileMedia(M.nameFile),alt:M.name,sx:{width:32,height:32}}),v.jsxs(q,{textAlign:"left",overflow:"hidden",children:[v.jsx(q,{className:"fw-700",mb:"8px",children:M.name}),v.jsx(q,{className:"text-dark-grey-1 fs-14",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:M.email})]})]}),v.jsx(op,{className:"bg-light-grey-3"})]},w)),v.jsxs(q,{display:"flex",gap:"12px",alignItems:"center",p:"12px 16px",sx:{cursor:"pointer","&:hover":{backgroundColor:"var(--light-grey-3)"}},onClick:n,children:[v.jsx(q,{width:"32px",children:v.jsx(S6,{className:"text-light-grey-2"})}),v.jsx(q,{textAlign:"left",className:"fs-14 text-dark-grey-1",children:"Use another account"})]})]})]}),E==="PASSWORD"&&v.jsxs(v.Fragment,{children:[v.jsx(Rt,{id:"email",disabled:!0,value:m,type:"email",size:"small",autoComplete:"username",label:"Email",endAdornment:v.jsx(pC,{position:"end",children:v.jsx(s6,{sx:{cursor:"pointer"},onClick:()=>{y(""),S("EMAIL")}})})}),v.jsx(Wi,{label:"Password",onChange:w=>x(w.value),validate:!1,onKeyDownEnter:O,focusOnLoad:!0,autoComplete:"current-password"}),v.jsx(q,{textAlign:"left",mb:"12px",children:v.jsx(Ja,{to:A,children:v.jsx(St,{size:"small",id:"btn-forgot-password",children:"Forgot Password?"})})}),v.jsxs(q,{children:[v.jsx(St,{id:"login-button",fullWidth:!0,color:"primary",variant:"contained",disabled:N||!c,onClick:O,children:N?v.jsx(pr,{size:20}):"Log In"}),v.jsx(q,{className:"text-red",mt:"8px",children:C})]})]})]})},Eb=()=>v.jsxs(q,{my:"30px",display:"flex",alignItems:"center",gap:"16px",children:[v.jsx(q,{flex:"1",children:v.jsx(op,{})}),v.jsx(q,{children:v.jsx("span",{style:{fontWeight:700,fontSize:"20px"},children:"or"})}),v.jsx(q,{flex:"1",children:v.jsx(op,{})})]}),KC=()=>{const[e,t]=T.useState({width:0,height:0});return T.useEffect(()=>{function n(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",n),n(),()=>window.removeEventListener("resize",n)},[]),e},XC=380,QC=()=>{const e=Hi(n=>n.breakpoints.down("md")),{width:t}=KC();return t<XC?v.jsx(q,{display:"flex",justifyContent:"center",alignItems:"center",height:"144px",children:v.jsx("img",{src:Ue.LOGO_NN_WHITE,alt:"logo",width:"210px"})}):v.jsxs(q,{sx:{width:"100%",height:"100%",maxWidth:"90%",maxHeight:e?"80%":"60%",objectFit:"contain"},children:[v.jsx("img",{src:Ue.SPINNING_LOGO,alt:"logo",width:"100%",height:"100%",style:{...e&&{transform:"translateY(-10%)"}}}),v.jsx("a",{href:$n,children:v.jsx("img",{src:Ue.LOGO_NN_WHITE,style:{position:"absolute",bottom:e?"15px":"50px",left:"50%",transform:"translate(-50%, 0)",width:e?"200px":"250px"}})})]})},ZC=({container1:e,container2:t})=>{const n=Hi(o=>o.breakpoints.down("md")),{width:a}=KC();return n?v.jsxs(q,{children:[v.jsx(q,{sx:{bgcolor:"#2475FF",height:a<XC?"144px":"240px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",position:"relative",...e.sx},children:e.content}),v.jsx(q,{sx:{textAlign:"center",p:"24px",flex:1,...t.sx},children:t.content})]}):v.jsxs(q,{display:"flex",height:"100vh",children:[v.jsx(q,{sx:{flex:"1",bgcolor:"var(--light-blue)",height:"100%",width:"50%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",...e.sx},children:e.content}),v.jsx(q,{sx:{width:"50%",minWidth:"40%",maxWidth:"598px",textAlign:"center",height:"100%",boxSizing:"border-box",bgcolor:"var(--light-blue)",...t.sx},children:v.jsx(q,{sx:{borderRadius:"16px 0 0 16px",bgcolor:"white",p:"24px",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"center",overflowY:"scroll"},children:t.content})})]})};var Fc={},_w;
264function _6(){if(_w)return Fc;_w=1;var e=Uo();Object.defineProperty(Fc,"__esModule",{value:!0}),Fc.default=void 0;var t=e(Pu()),n=bl();return Fc.default=(0,t.default)((0,n.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),Fc}var E6=_6();const w6=Ir(E6),T6=e=>{const t=Yr(),n=()=>{t("/passkey/connect")},a=()=>{localStorage.setItem(`passkey-skip-${e.deviceId}`,"true"),window.location.href=e.redirectUrl},o=()=>{window.location.href=e.redirectUrl};return v.jsx(v.Fragment,{children:v.jsxs(q,{height:"100%",display:"flex",padding:"10px",marginTop:"30px",boxSizing:"border-box",flexDirection:"column",justifyContent:"center",alignItems:"center",children:[v.jsx("div",{style:{height:"150px"},children:v.jsx("img",{src:Ue.PASSKEY_LOGO,alt:"logo",width:"150px"})}),v.jsxs("p",{style:{fontSize:"14px",lineHeight:"22px"},children:["Set up your Passkey so you'll be able to ",v.jsx("b",{children:"log in with your fingerprint"})," on your mobile device. No password required!"]}),v.jsx(St,{id:"set-passkey",style:{marginTop:"20px"},fullWidth:!0,color:"primary",variant:"contained",onClick:()=>n(),children:"Set up Passkey"}),v.jsx(St,{id:"set-passkey",style:{marginTop:"10px"},fullWidth:!0,color:"primary",variant:"outlined",onClick:()=>a(),children:"Don't ask me again"}),v.jsx(St,{id:"set-passkey",style:{marginTop:"10px"},fullWidth:!0,color:"primary",variant:"text",onClick:()=>o(),children:"Skip for now"})]})})},R6=()=>{const e=un(),[t,n]=Io(),[a,o]=Fe.useState(!0),[l,c]=Fe.useState(!1),[d,f]=Fe.useState([]),[p,m]=Fe.useState(!1),[y,b]=Fe.useState(""),[x,E]=Fe.useState(""),S=t.get("redirectUrl"),C=t.get("requester")||"",R=C==="chrome-extension";Fe.useEffect(()=>{S||n({redirectUrl:$t,requester:C})},[S,n,C]),T.useEffect(()=>{if(!S)return;(async()=>{try{if(c(!0),R)return;const{data:L}=await xt.post("/login/status",{redirectUrl:S});L.isLoggedIn?window.location.href=L.redirectUrl:f(L.authDevices)}catch(L){e(L)}finally{c(!1)}})()},[S,R,e]);const N=v.jsxs(q,{width:"100%",maxWidth:"350px",mx:"auto",maxHeight:"100%",display:l?"none":"block",children:[v.jsx("h1",{style:{fontSize:"18px",marginBottom:"28px"},children:"Log in to NachoNacho"}),p&&v.jsx(T6,{deviceId:y,redirectUrl:x}),!p&&v.jsxs(v.Fragment,{children:[v.jsx(q,{mb:"16px",children:v.jsx(pb,{id:"btn-login-google",textButton:"Log In with Google",typeCreationApp:"LOGIN"})}),a?v.jsxs(q,{children:[v.jsx(q,{mb:"16px",children:v.jsx(JP,{id:"btn-login-linkedin",textButton:"Log In with Linkedin"})}),v.jsx(q,{mb:"16px",children:v.jsx(e$,{id:"btn-login-slack",textButton:"Log In with Slack"})})]}):v.jsxs(St,{id:"btn-login-options",onClick:()=>o(!0),children:["Other log in options ",v.jsx(w6,{sx:{fontSize:"16px",ml:"2px",fill:"#1445fe"}})]}),v.jsx(Eb,{}),v.jsx(x6,{authDevices:d,useAnotherAccount:()=>f([]),setLoading:c,setPasskeyDialog:(D,L)=>{b(D),E(L),m(!0)}}),v.jsx(q,{py:"20px",children:v.jsxs("span",{className:"fs-14",children:["New to NachoNacho?"," ",v.jsx(Ja,{to:"/signup",className:"link",children:"Sign up"})]})})]})]});return v.jsx(ZC,{container1:{content:v.jsx(QC,{})},container2:{content:v.jsxs(v.Fragment,{children:[v.jsx(pr,{size:50,sx:{mx:"auto",display:l?"block":"none"}}),N]})}})},ni=e=>v.jsx($U,{sx:{py:"16px"},children:v.jsxs(q,{children:[v.jsx(q,{display:"flex",justifyContent:"center",p:"24px",children:v.jsx("a",{href:$n,children:v.jsx("img",{alt:"logo",style:{width:"min(100%, 400px)"},src:Ue.LOGO_NN})})}),v.jsx(Gp,{variant:"outlined",sx:{p:"24px",textAlign:"center"},children:e.children})]})}),JC="%[a-f0-9]{2}",Ew=new RegExp("("+JC+")|([^%]+?)","gi"),ww=new RegExp("("+JC+")+","gi");function Jy(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;const n=e.slice(0,t),a=e.slice(t);return Array.prototype.concat.call([],Jy(n),Jy(a))}function C6(e){try{return decodeURIComponent(e)}catch{let t=e.match(Ew)||[];for(let n=1;n<t.length;n++)e=Jy(t,n).join(""),t=e.match(Ew)||[];return e}}function O6(e){const t={"%FE%FF":"��","%FF%FE":"��"};let n=ww.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{const o=C6(n[0]);o!==n[0]&&(t[n[0]]=o)}n=ww.exec(e)}t["%C2"]="�";const a=Object.keys(t);for(const o of a)e=e.replace(new RegExp(o,"g"),t[o]);return e}function A6(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return O6(e)}}function eO(e,t){if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e===""||t==="")return[];const n=e.indexOf(t);return n===-1?[]:[e.slice(0,n),e.slice(n+t.length)]}function N6(e,t){const n={};if(Array.isArray(t))for(const a of t){const o=Object.getOwnPropertyDescriptor(e,a);o!=null&&o.enumerable&&Object.defineProperty(n,a,o)}else for(const a of Reflect.ownKeys(e)){const o=Object.getOwnPropertyDescriptor(e,a);if(o.enumerable){const l=e[a];t(a,l,e)&&Object.defineProperty(n,a,o)}}return n}const k6=e=>e==null,M6=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),ev=Symbol("encodeFragmentIdentifier");function D6(e){switch(e.arrayFormat){case"index":return t=>(n,a)=>{const o=n.length;return a===void 0||e.skipNull&&a===null||e.skipEmptyString&&a===""?n:a===null?[...n,[ln(t,e),"[",o,"]"].join("")]:[...n,[ln(t,e),"[",ln(o,e),"]=",ln(a,e)].join("")]};case"bracket":return t=>(n,a)=>a===void 0||e.skipNull&&a===null||e.skipEmptyString&&a===""?n:a===null?[...n,[ln(t,e),"[]"].join("")]:[...n,[ln(t,e),"[]=",ln(a,e)].join("")];case"colon-list-separator":return t=>(n,a)=>a===void 0||e.skipNull&&a===null||e.skipEmptyString&&a===""?n:a===null?[...n,[ln(t,e),":list="].join("")]:[...n,[ln(t,e),":list=",ln(a,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t=e.arrayFormat==="bracket-separator"?"[]=":"=";return n=>(a,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?a:(o=o===null?"":o,a.length===0?[[ln(n,e),t,ln(o,e)].join("")]:[[a,ln(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,a)=>a===void 0||e.skipNull&&a===null||e.skipEmptyString&&a===""?n:a===null?[...n,ln(t,e)]:[...n,[ln(t,e),"=",ln(a,e)].join("")]}}function L6(e){let t;switch(e.arrayFormat){case"index":return(n,a,o)=>
264{if(t=/\[(\d*)]$/.exec(n),n=n.replace(/\[\d*]$/,""),!t){o[n]=a;return}o[n]===void 0&&(o[n]={}),o[n][t[1]]=a};case"bracket":return(n,a,o)=>{if(t=/(\[])$/.exec(n),n=n.replace(/\[]$/,""),!t){o[n]=a;return}if(o[n]===void 0){o[n]=[a];return}o[n]=[...o[n],a]};case"colon-list-separator":return(n,a,o)=>{if(t=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!t){o[n]=a;return}if(o[n]===void 0){o[n]=[a];return}o[n]=[...o[n],a]};case"comma":case"separator":return(n,a,o)=>{const l=typeof a=="string"&&a.includes(e.arrayFormatSeparator),c=typeof a=="string"&&!l&&Ha(a,e).includes(e.arrayFormatSeparator);a=c?Ha(a,e):a;const d=l||c?a.split(e.arrayFormatSeparator).map(f=>Ha(f,e)):a===null?a:Ha(a,e);o[n]=d};case"bracket-separator":return(n,a,o)=>{const l=/(\[])$/.test(n);if(n=n.replace(/\[]$/,""),!l){o[n]=a&&Ha(a,e);return}const c=a===null?[]:a.split(e.arrayFormatSeparator).map(d=>Ha(d,e));if(o[n]===void 0){o[n]=c;return}o[n]=[...o[n],...c]};default:return(n,a,o)=>{if(o[n]===void 0){o[n]=a;return}o[n]=[...[o[n]].flat(),a]}}}function tO(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function ln(e,t){return t.encode?t.strict?M6(e):encodeURIComponent(e):e}function Ha(e,t){return t.decode?A6(e):e}function nO(e){return Array.isArray(e)?e.sort():typeof e=="object"?nO(Object.keys(e)).sort((t,n)=>Number(t)-Number(n)).map(t=>e[t]):e}function rO(e){const t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function I6(e){let t="";const n=e.indexOf("#");return n!==-1&&(t=e.slice(n)),t}function Tw(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function wb(e){e=rO(e);const t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function Tb(e,t){t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t},tO(t.arrayFormatSeparator);const n=L6(t),a=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return a;for(const o of e.split("&")){if(o==="")continue;const l=t.decode?o.replace(/\+/g," "):o;let[c,d]=eO(l,"=");c===void 0&&(c=l),d=d===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?d:Ha(d,t),n(Ha(c,t),d,a)}for(const[o,l]of Object.entries(a))if(typeof l=="object"&&l!==null)for(const[c,d]of Object.entries(l))l[c]=Tw(d,t);else a[o]=Tw(l,t);return t.sort===!1?a:(t.sort===!0?Object.keys(a).sort():Object.keys(a).sort(t.sort)).reduce((o,l)=>{const c=a[l];return c&&typeof c=="object"&&!Array.isArray(c)?o[l]=nO(c):o[l]=c,o},Object.create(null))}function aO(e,t){if(!e)return"";t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t},tO(t.arrayFormatSeparator);const n=c=>t.skipNull&&k6(e[c])||t.skipEmptyString&&e[c]==="",a=D6(t),o={};for(const[c,d]of Object.entries(e))n(c)||(o[c]=d);const l=Object.keys(o);return t.sort!==!1&&l.sort(t.sort),l.map(c=>{const d=e[c];return d===void 0?"":d===null?ln(c,t):Array.isArray(d)?d.length===0&&t.arrayFormat==="bracket-separator"?ln(c,t)+"[]":d.reduce(a(c),[]).join("&"):ln(c,t)+"="+ln(d,t)}).filter(c=>c.length>0).join("&")}function iO(e,t){var o;t={decode:!0,...t};let[n,a]=eO(e,"#");return n===void 0&&(n=e),{url:((o=n==null?void 0:n.split("?"))==null?void 0:o[0])??"",query:Tb(wb(e),t),...t&&t.parseFragmentIdentifier&&a?{fragmentIdentifier:Ha(a,t)}:{}}}function oO(e,t){t={encode:!0,strict:!0,[ev]:!0,...t};const n=rO(e.url).split("?")[0]||"",a=wb(e.url),o={...Tb(a,{sort:!1}),...e.query};let l=aO(o,t);l&&(l=`?${l}`);let c=I6(e.url);if(e.fragmentIdentifier){const d=new URL(n);d.hash=e.fragmentIdentifier,c=t[ev]?d.hash:`#${e.fragmentIdentifier}`}return`${n}${l}${c}`}function sO(e,t,n){n={parseFragmentIdentifier:!0,[ev]:!1,...n};const{url:a,query:o,fragmentIdentifier:l}=iO(e,n);return oO({url:a,query:N6(o,t),fragmentIdentifier:l},n)}function j6(e,t,n){const a=Array.isArray(t)?o=>!t.includes(o):(o,l)=>!t(o,l);return sO(e,a,n)}const Co=Object.freeze(Object.defineProperty({__proto__:null,exclude:j6,extract:wb,parse:Tb,parseUrl:iO,pick:sO,stringify:aO,stringifyUrl:oO},Symbol.toStringTag,{value:"Module"})),ri=e=>{const t=T.useRef(!1);T.useEffect(()=>{if(!t.current)return t.current=!0,e()},[])},U6=()=>{const e=un(),t=Yr(),n=Vt(),[a,o]=T.useState("Loading..."),[l,c]=T.useState(!0),d=T.useMemo(()=>{let f="/",p="",m="",y,b;const{state:x,code:E}=Co.parse(n.search);try{const S=JSON.parse(x);f=S.redirectUrl,p=S.typeCreationApp,b=S.productId,m=S.requester||"",y=S.overrideDefaultSignupAction}catch(S){e(S)}return{state:x,code:E,redirectUrl:f,typeCreationApp:p,productId:b,requester:m,overrideDefaultSignupAction:y}},[n.search,e]);return ri(()=>{const{state:f,code:p,redirectUrl:m,typeCreationApp:y,productId:b,requester:x,overrideDefaultSignupAction:E}=d,S=x==="chrome-extension",C=async()=>{try{const N=await xt.post("/google/login",{code:p,authDevice:Le.getFullAuthDeviceData(),redirectUrl:m});if(c(!1),o("Redirecting..."),!(N!=null&&N.data))throw new Error("Bad response");const{authDevice:D}=N.data;if(S){Le.setChromeExtension(D.deviceToken);return}window.location.href=N.data.redirectUrl}catch(N){e(N),t("/login")}},R=async()=>{try{const N=await xt.post("/google/sign-up",{code:p,authDevice:Le.getFullAuthDeviceData(),productId:b,overrideDefaultSignupAction:E,redirectUrl:m});if(c(!1),o("Redirecting..."),!(N!=null&&N.data))throw new Error("Bad response");const{authDevice:D}=N.data;if(S){Le.setChromeExtension(D.deviceToken);return}window.location.href=N.data.redirectUrl||$t}catch(N){e(N),t("/signup")}};if(!p||!f||!y)return t("/login");y==="LOGIN"&&C(),y==="SIGN_UP"&&R()}),{message:a,loading:l}},z6=()=>{const{message:e,loading:t}=U6();return v.jsxs(ni,{children:[v.jsx("img",{alt:"Google logo",style:{width:"40%",maxWidth:"250px"},src:Ue.GOOGLE_PAGE_LOGO}),t&&v.jsx(Ol,{sx:{my:"40px",maxWidth:"400px",mx:"auto"}}),v.jsx("p",{children:e})]})},P6=()=>{const e=un(),t=Yr(),[n,a]=Fe.useState("Loading..."),[o,l]=Fe.useState(!0),c=Vt(),d=Co.parse(c.search);return ri(()=>{try{if(d.error&&d.error_description)throw new Error(d.error_description);if(!d.code)throw new Error("No code");const f=JSON.parse(d.state),p=f.requester==="chrome-extension",m=async()=>{try{const{data:b}=await xt.post("/linkedin/login",{code:d.code,authDevice:Le.getFullAuthDeviceData(),redirectUrl:f.redirectUrl});if(!b)throw new Error("No data");if(l(!1),a("Success!"),p){Le.setChromeExtension(b.authDevice.deviceToken);return}window.location.href=b.redirectUrl}catch(b){e(b),t("/login")}},y=async()=>{try{const{data:b}=await xt.post("/linkedin/sign-up",{code:d.code,authDevice:Le.getFullAuthDeviceData(),productId:f.productId,overrideDefaultSignupAction:f.overrideDefaultSignupAction});if(!b)throw new Error("No data");if(l(!1),a("Success!"),p){Le.setChromeExtension(b.authDevice.deviceToken);return}window.location.href=$t}catch(b){e(b),t("/signup")}};f.action==="LOGIN"&&m(),f.action==="SIGNUP"&&y()}catch(f){e(f)}}),v.jsx(ni,{children:v.jsxs("div",{className:"tac",children:[v.jsx("img",{alt:"Linkedin logo",style:{width:"40%",maxWidth:"250px"},src:Ue.LINKEDIN_PAGE_LOGO}),o&&v.jsx(Ol,{sx:{my:"40px",maxWidth:"400px",mx:"auto"}}),v.jsx("p",{children:n})]})})},$6=()=>{const e=un(),[t,n]=Fe.useState("Loading..."),[a,o]=Fe.useState(!0),l=Yr(),c=Vt(),d=Co.parse(c.search);return ri(()=>
264{if(!d.code||!d.state)throw new Error("No code or state");const f=JSON.parse(d.state),p=f.requester==="chrome-extension",m=async()=>{try{const{data:b}=await xt.post("/slack/login",{code:d.code,slackRedirectUri:f.redirect_uri,redirectUrl:f.next,authDevice:Le.getFullAuthDeviceData()});if(!b)throw new Error("No data");const{authDevice:x}=b;if(n("Success!"),p){Le.setChromeExtension(x.deviceToken);return}window.location.href=b.redirectUrl}catch(b){e(b),l("/login")}finally{o(!1)}},y=async()=>{try{const{data:b}=await xt.post("/slack/sign-up",{code:d.code,slackRedirectUri:f.redirect_uri,authDevice:Le.getFullAuthDeviceData(),productId:f.productId,overrideDefaultSignupAction:f.overrideDefaultSignupAction});if(!b)throw new Error("No data");const{authDevice:x}=b;if(n("Success!"),p){Le.setChromeExtension(x.deviceToken);return}window.location.href=f.next}catch(b){e(b),l("/signup")}finally{o(!1)}};f.action==="LOGIN"&&m(),f.action==="SIGNUP"&&y()}),v.jsx(ni,{children:v.jsxs("div",{className:"tac",children:[v.jsx("img",{alt:"Slack logo",style:{width:"40%",maxWidth:"250px"},src:Ue.SLACK_PAGE_LOGO}),a&&v.jsx(Ol,{sx:{my:"40px",maxWidth:"400px",mx:"auto"}}),v.jsx("p",{children:t})]})})},B6=()=>{const e=un(),t=Yr(),n=Vt(),a=Co.parse(n.search);return T.useEffect(()=>{a.mode||(a.mode=["app","home"],t({search:Co.stringify(a)}))},[t,a]),T.useEffect(()=>{if(!a.mode)return;(async()=>{try{const l=a.mode;await xt.post("/logout",{mode:Array.isArray(l)?l:[l]})}catch(l){e(l)}finally{delete a.mode,t({pathname:"/login",search:Co.stringify(a)})}})()},[t,a,e]),v.jsxs(ni,{children:[v.jsx("h1",{className:"fs-18",children:"Logging Out"}),v.jsx(Ol,{sx:{my:"40px",maxWidth:"400px",mx:"auto"}})]})},H6=()=>{const{openSnackbar:e}=Du(),t=un(),[n]=Io(),a=Yr(),o=n.get("token"),l=n.get("email"),c=n.get("redirectUrl")||$t;ri(()=>{(async()=>{try{if(!o||!l)throw new Error("Missing token or email");await xt.post("/verify-email",{token:o,email:l,redirectUrl:c}),e("Email verified!","success",!1),await d(c)}catch(p){t(p),a("/login")}})()});const d=async f=>{const{data:p}=await xt.post("/login/status",{redirectUrl:f});if(p.isLoggedIn)window.location.href=p.redirectUrl;else{const m=new URLSearchParams({redirectUrl:f});a(`/login?${m.toString()}`)}};return v.jsxs(ni,{children:[v.jsx("h1",{className:"fs-18",children:"Verifying Email"}),v.jsx(Ol,{sx:{my:"40px",maxWidth:"400px",mx:"auto"}})]})},F6=()=>v.jsx(ni,{children:v.jsxs(q,{textAlign:"center",children:[v.jsx("h1",{children:"404"}),v.jsx("h2",{style:{marginBottom:40},children:"Page not found"}),v.jsx(St,{href:"/login",className:"link",children:"Go to Log In page"})]})}),lO=va(v.jsx("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),cO=va(v.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),q6=()=>{const{productId:e}=Kr(),[t]=Io(),n=()=>{Lu.dataLayer({dataLayer:{event:"signupFormUpdate",signupStep:"signup-linkedin"}})},a=()=>{n(),vC.connect({redirectUrl:$t,action:"SIGNUP",productId:e,overrideDefaultSignupAction:t.get("overrideDefaultSignupAction")??void 0})};return v.jsx(mC,{title:"Sign up with LinkedIn",children:v.jsx(St,{onClick:a,variant:"outlined",sx:{"&, &:hover":{borderColor:"#1445FE"},borderRadius:"99px",width:"40px",height:"40px",p:0,minWidth:0},children:v.jsx("img",{src:Ue.LINKEDIN_SQUARE_LOGO,alt:"LinkedIn logo",style:{width:"20px",height:"20px"}})})})},G6=()=>{const{productId:e}=Kr(),[t]=Io(),n=()=>{Lu.dataLayer({dataLayer:{event:"signupFormUpdate",signupStep:"signup-slack"}})},a=()=>{n(),bC.connect({action:"SIGNUP",next:$t,productId:e,overrideDefaultSignupAction:t.get("overrideDefaultSignupAction")??void 0})};return v.jsx(mC,{title:"Sign up with Slack",children:v.jsx(St,{onClick:a,variant:"outlined",sx:{"&, &:hover":{borderColor:"#1445FE"},borderRadius:"99px",width:"40px",height:"40px",p:0,minWidth:0},children:v.jsx("img",{src:Ue.SLACK_SQUARE_LOGO,alt:"Slack logo",style:{width:"20px",height:"20px"}})})})},W6=()=>{const{productId:e}=Kr(),[t]=Io(),n=un(),{reCaptchaLoaded:a,generateReCaptchaToken:o}=Al(),[l,c]=T.useState({value:"",error:!0,touched:!1}),[d,f]=T.useState({value:"",error:!0,touched:!1}),[p,m]=T.useState({value:"",error:!0,touched:!1}),[y,b]=T.useState({value:"",error:!0,touched:!1}),[x,E]=T.useState({value:"",error:!0}
264),[S,C]=T.useState(!1),R=T.useCallback(w=>{const M=w.length>0;return c(I=>({...I,error:!M})),M},[]),N=T.useCallback(w=>{const M=w.length>0;return f(I=>({...I,error:!M})),M},[]),D=T.useCallback(w=>{const M=w.length>0;return m(I=>({...I,error:!M})),M},[]),L=T.useCallback(w=>{const M=Le.isValidEmail(w);return b(I=>({...I,error:!M})),M},[]),O=T.useMemo(()=>{const w=R(l.value),M=N(d.value),I=D(p.value),$=L(y.value),Y=!x.error;return w&&M&&I&&$&&Y},[R,l.value,N,d.value,D,p.value,L,y.value,x.error]),A=()=>{(async()=>{if(O){C(!0);try{const M=Le.getFullAuthDeviceData(),I=await o("signUp"),{data:$}=await xt.post("/sign-up",{firstName:l.value,lastName:d.value,companieName:p.value,email:y.value,password:x.value,authDevice:M,productId:e,invitedById:t.get("invitedById")??void 0,overrideDefaultSignupAction:t.get("overrideDefaultSignupAction")??void 0},{headers:{[Lr.RECAPTCHA_TOKEN]:I,[Lr.RECAPTCHA_ACTION]:"signUp"}});if($){Lu.dataLayer({dataLayer:{event:"signupFormUpdate",signupStep:"signup-form"}});const Y=$.authDevice;if(new URLSearchParams(window.location.search).get("requester")==="chrome-extension"){Le.setChromeExtension(Y.deviceToken);return}window.location.href=$t;return}}catch(M){n(M),C(!1)}}})()};return v.jsxs(q,{mb:"16px",children:[v.jsxs(q,{display:"flex",gap:"8px",children:[v.jsx(Rt,{id:"first-name",label:"First name",placeholder:"John",value:l.value,onChange:w=>c(M=>({...M,value:w.target.value})),onFocus:()=>c(w=>({...w,touched:!1})),onBlur:w=>{c(M=>({...M,touched:!0,error:!R(w.target.value)}))},error:l.touched&&l.error,helperText:"First name is required"}),v.jsx(Rt,{id:"last-name",label:"Last name",placeholder:"Doe",value:d.value,onChange:w=>f(M=>({...M,value:w.target.value})),onFocus:()=>f(w=>({...w,touched:!1})),onBlur:w=>{f(M=>({...M,touched:!0,error:!N(w.target.value)}))},error:d.touched&&d.error,helperText:"Last name is required"})]}),v.jsx(Rt,{id:"company-name",label:"Company name",placeholder:"Acme Corp",value:p.value,onChange:w=>m(M=>({...M,value:w.target.value})),onFocus:()=>m(w=>({...w,touched:!1})),onBlur:w=>{m(M=>({...M,touched:!0,error:!D(w.target.value)}))},error:p.touched&&p.error,helperText:"Company name is required"}),v.jsx(Rt,{id:"email",label:"Email",type:"email",placeholder:"[email protected]",value:y.value,onChange:w=>b(M=>({...M,value:w.target.value})),onFocus:()=>b(w=>({...w,touched:!1})),onBlur:w=>{b(M=>({...M,touched:!0,error:!L(w.target.value)}))},error:y.touched&&y.error,helperText:y.value.length>0?"Email is invalid":"Email is required"}),v.jsx(Wi,{label:"Password",onChange:w=>{E({value:w.value,error:!w.isValid})},onKeyDownEnter:A}),v.jsx(St,{variant:"contained",fullWidth:!0,disabled:!O||!a||S,onClick:A,sx:{mt:"16px"},children:S?v.jsx(pr,{size:"20px"}):"Sign up"}),v.jsxs(q,{display:"flex",justifyContent:"center",gap:"16px",mt:"16px",children:[v.jsx(q6,{}),v.jsx(G6,{})]})]})},th=()=>{const{productId:e}=Kr(),t=Hi(l=>l.breakpoints.down("md")),[n,a]=Fe.useState(!1),o=T.useMemo(()=>{const{searchParams:l}=new URL(window.location.href);return e&&l.set("redirectUrl",`${$t}/subscribe/${e}?${l.toString()}`),`/login?${l.toString()}`},[e]);return v.jsxs(q,{p:"24px",textAlign:"center",width:"100%",maxWidth:"350px",mx:"auto",children:[t&&v.jsx("img",{src:Ue.LOGO_NN_BLUE,alt:"logo nachonacho",style:{width:290}}),v.jsx(Yp,{size:"small",sx:{bgcolor:"var(--dark-blue)",mt:"10px",px:"10px","& > span":{color:"white"}},label:"Buyer Account"}),v.jsx("div",{style:{height:40}}),v.jsx(pb,{textButton:"Sign Up with Google",typeCreationApp:"SIGN_UP"}),v.jsx(q,{height:"12px"}),v.jsx(q,{children:v.jsxs("span",{className:"fs-14",children:["Already have an account?"," ",v.jsx(Ja,{to:o,className:"link",children:"Login"})]})}),v.jsx(Eb,{}),!n&&v.jsx(St,{id:"btn-signup-options",onClick:()=>a(!0),children:v.jsxs("span",{className:"fs-14 text-blue",children:["Other sign up options ",v.jsx(cO,{className:"blue",sx:{mb:"-8px"}})]})}),n&&v.jsxs(q,{children:[v.jsx(St,{id:"btn-signup-options",onClick:()=>a(!1),children:v.jsxs("span",{className:"fs-14 text-blue",children:["Hide other sign up options ",v.jsx(lO,{className:"blue",sx:{mb:"-8px"}})]})}),v.jsx(q,{height:"16px"}),v.jsx(W6,{})]}),v.jsx(q,{maxWidth:"265px",mx:"auto",mt:"24px",children:v.jsxs("span",{className:"fs-14",children:["By signing up, you agree to NachoNacho's"," ",v.jsx("a",{href:`${$n}/terms-of-use`,className:"link",children:"Terms of Use"})," ","and"," ",v.jsx("a",{href:`${$n}/privacy-policy`,className:"link",children:"Privacy Policy"})]})})]})},zo=e=>{const{centerRight:t}=e,n=Hi(d=>d.breakpoints.down("md")),a={minHeight:"100vh",alignItems:"stretch"},o={bgcolor:"#FAF8F7",p:{xs:"40px",lg:"60px"}},l={...t?{display:"flex",alignItems:"center",minHeight:"100vh"}:{}},c={width:"598px",maxWidth:"50vw",...t?{}:{paddingTop:10}};return n?v.jsx(q,{sx:l,children:e.right}):v.jsxs(Qg,{container:!0,sx:a,children:[v.jsx(Qg,{item:!0,xs:!0,sx:o,children:v.jsx(q,{maxWidth:{lg:"515px",md:"fit-content",xl:"fit-content"},mx:"auto",children:e.left})}),v.jsx(Qg,{item:!0,xs:"auto",sx:l,children:v.jsx(q,{sx:c,children:e.right})})]})},Po=e=>
264{const t=Vt(),n=un(),[a,o]=T.useState(!0);return T.useEffect(()=>{const c=new URLSearchParams(t.search).get("redirectUrl")||$t;console.log("redirectUrl",e),(async()=>{try{o(!0);const{data:f}=await xt.post("/login/status",{redirectUrl:c});f.isLoggedIn?e?window.location.href=e:window.location.href=f.redirectUrl:o(!1)}catch(f){n(f),o(!1)}})()},[t.search,n]),{loading:a}},$o=()=>v.jsx(q,{sx:{width:"100vw",height:"100vh",display:"flex",justifyContent:"center",alignItems:"center"},children:v.jsx(pr,{size:50})}),V6=e=>{const t=un(),[n,a]=T.useState(0);return ri(()=>{(async()=>{try{const l="/sign-up/totalSaving",{data:c}=await xt.get(l);console.log(c),a(c.saving)}catch(l){t(l)}})()}),v.jsxs(q,{sx:{...e.sx,background:"var(--yellow)",color:"black",fontSize:"15px",width:"fit-content",boxSizing:"border-box",fontWeight:"400",marginBottom:"20px",borderRadius:"28px",padding:"8px 15px"},children:["Total savings of"," ",v.jsxs(q,{component:"span",sx:{fontWeight:"700"},children:[Le.priceFormatedUSDNoDecimals(n),"/year"]})," ","available!"]})},Y6=[{image:Ue.cashbackExplainer.STEP_1,alt:"All the brands you love",title:"All the brands you love",text:"NachoNacho partners directly with the biggest brands in software and brings you the best pricing."},{image:Ue.cashbackExplainer.STEP_2,alt:"Same software, less cost",title:"Same software, less cost",text:"Get the same support from your favorite software brandsâjust pay less or get monthly discounts."},{image:Ue.cashbackExplainer.STEP_3,alt:"Save on every product",title:"Save on every product",text:"Get instant savings, usage credits, cashbacks or discounts (often lifetime) on every single product in the marketplace."}],uO=()=>v.jsxs(v.Fragment,{children:[v.jsx(q,{display:"flex",justifyContent:"center",mt:"85px",children:v.jsx("img",{src:Ue.LOGO_SYMBOL_BLUE_BACKGROUND,alt:"logo",style:{width:"110px",height:"110px"}})}),v.jsx(q,{height:"38px"}),v.jsx(q,{display:"flex",justifyContent:"center",children:v.jsxs(q,{width:"100%",maxWidth:"520px",children:[v.jsxs(q,{display:"flex",flexDirection:"column",alignItems:"center",children:[v.jsx("h2",{className:"ff-new-kansas fs-32 m-0",style:{color:"#060452",textAlign:"center"},children:"Massive discounts on hundreds of SaaS products!"}),v.jsx(q,{height:"16px"}),v.jsx(V6,{})]}),v.jsx(q,{height:"55px"}),v.jsx(q,{display:"flex",flexDirection:"column",gap:"32px",children:Y6.map((e,t)=>v.jsxs(q,{display:"flex",gap:"32px",alignItems:"flex-start",children:[v.jsx(q,{flex:"0 0 140px",height:"110px",overflow:"visible",children:v.jsx("img",{src:e.image,alt:e.alt,style:{width:t===0?"112%":"100%",height:"100%",objectFit:"contain",objectPosition:"top"}})}),v.jsxs(q,{children:[v.jsx("h4",{className:"ff-new-kansas fw-700 fs-21 m-0",style:{marginBottom:"16px",color:"#000000"},children:e.title}),v.jsx("span",{className:"fs-14",children:e.text})]})]},t))})]})}),v.jsx(q,{height:"57px"}),v.jsx(q,{display:"flex",justifyContent:"center",children:v.jsx("img",{src:Ue.LOGO_NN_BLUE,style:{width:"197px"}})})]}),K6=()=>{const{loading:e}=Po(),t=Hi(n=>n.breakpoints.down("md"));return e?v.jsx($o,{}):v.jsx(zo,{left:v.jsx(uO,{}),right:v.jsx(th,{}),centerRight:!t})};var qc={},Rw;function X6(){if(Rw)return qc;Rw=1;var e=Uo();Object.defineProperty(qc,"__esModule",{value:!0}),qc.default=void 0;var t=e(Pu()),n=bl();return qc.default=(0,t.default)((0,n.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),qc}var Q6=X6();const Rb=Ir(Q6),Z6=()=>{const e=un(),{reCaptchaLoaded:t,generateReCaptchaToken:n}=Al(),[a,o]=T.useState({value:"",error:!1,touched:!1}),[l,c]=T.useState({value:"",error:!1,touched:!1}),[d,f]=T.useState({value:"",error:!1,touched:!1}),[p,m]=T.useState({value:"",error:!1,touched:!1}),[y,b]=T.useState({value:"",error:!1}),[x,E]=T.useState(!1),S=T.useCallback(()=>{const O=a.value.length>0;return o(A=>({...A,error:!O})),O},[a.value]),C=T.useCallback(()=>{const O=l.value.length>0;return c(A=>({...A,error:!O})),O},[l.value]),R=T.useCallback(()=>{const O=d.value.length>0;return f(A=>({...A,error:!O})),O},[d.value]),N=T.useCallback(()=>{const O=Le.isValidEmail(p.value);return m(A=>({...A,error:!O})),O},[p.value]),D=T.useMemo(()=>{const O=S(),A=C(),w=R(),M=N(),I=!y.error;return O&&A&&w&&M&&I}
264,[S,C,R,N,y.error]),L=()=>{(async()=>{if(D){E(!0);try{const A=Le.getFullAuthDeviceData(),w=await n("signUpSeller"),{data:M}=await xt.post("/sign-up/seller",{firstName:a.value,lastName:l.value,companieName:d.value,email:p.value,password:y.value,authDevice:A},{headers:{[Lr.RECAPTCHA_TOKEN]:w,[Lr.RECAPTCHA_ACTION]:"signUpSeller"}});if(M){const I=M.authDevice;if(new URLSearchParams(window.location.search).get("requester")==="chrome-extension"){Le.setChromeExtension(I.deviceToken);return}window.location.href=$t;return}}catch(A){e(A),E(!1)}}})()};return v.jsxs(q,{width:"100%",maxWidth:"350px",mx:"auto",textAlign:"center",children:[v.jsxs(q,{textAlign:"center",children:[v.jsx("img",{src:Ue.LOGO_NN_BLUE,alt:"logo nachonacho seller",style:{width:290}}),v.jsx(Yp,{size:"small",sx:{bgcolor:"var(--dark-blue)",mt:"10px",px:"10px","& > span":{color:"white"}},label:"Seller Station"})]}),v.jsx(q,{height:"24px"}),v.jsx(q,{children:v.jsxs("span",{className:"fs-14",children:["Already have an account?"," ",v.jsx(Ja,{to:`/login${window.location.search}`,className:"link",children:"Login"})]})}),v.jsx(q,{height:"24px"}),v.jsxs(q,{display:"flex",gap:"8px",children:[v.jsx(Rt,{id:"first-name",label:"First name",placeholder:"John",value:a.value,onChange:O=>o(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>o(O=>({...O,touched:!1})),onBlur:()=>o(O=>({...O,touched:!0})),error:a.touched&&a.error,helperText:"First name is required"}),v.jsx(Rt,{id:"last-name",label:"Last name",placeholder:"Doe",value:l.value,onChange:O=>c(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>o(O=>({...O,touched:!1})),onBlur:()=>c(O=>({...O,touched:!0})),error:l.touched&&l.error,helperText:"Last name is required"})]}),v.jsx(Rt,{id:"company-name",label:"Company legal name",placeholder:"Acme Corp",value:d.value,onChange:O=>f(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>f(O=>({...O,touched:!1})),onBlur:()=>f(O=>({...O,touched:!0})),error:d.touched&&d.error,helperText:"Company name is required"}),v.jsx(Rt,{id:"email",label:"Email",type:"email",placeholder:"[email protected]",value:p.value,onChange:O=>m(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>m(O=>({...O,touched:!1})),onBlur:()=>m(O=>({...O,touched:!0})),error:p.touched&&p.error,helperText:p.value.length>0?"Email is invalid":"Email is required"}),v.jsx(Wi,{label:"Password",onChange:O=>{b({value:O.value,error:!O.isValid})}}),v.jsx(St,{variant:"contained",fullWidth:!0,disabled:!D||!t||x,onClick:L,sx:{mt:"16px"},children:x?v.jsx(pr,{size:"20px"}):"Sign up"}),v.jsx(q,{maxWidth:"265px",mx:"auto",mt:"24px",children:v.jsxs("span",{className:"fs-14",children:["By signing up, you agree to NachoNacho's"," ",v.jsx("a",{href:`${$n}/terms-of-use`,className:"link",children:"Terms of Use"})," ","and"," ",v.jsx("a",{href:`${$n}/privacy-policy`,className:"link",children:"Privacy Policy"})]})})]})},nh=e=>v.jsx(q,{sx:{bgcolor:"var(--yellow)",p:"5px 10px",borderRadius:"99px",width:"fit-content",fontSize:e.fontSize??"12px"},children:e.children});var Gc={},Cw;function J6(){if(Cw)return Gc;Cw=1;var e=Uo();Object.defineProperty(Gc,"__esModule",{value:!0}),Gc.default=void 0;var t=e(Pu()),n=bl();return Gc.default=(0,t.default)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle"),Gc}var e8=J6();const t8=Ir(e8),$u=({advantages:e})=>{var l;const t=Hi(c=>c.breakpoints.down("lg")),n=Hi(c=>c.breakpoints.between("lg","xl")),a=!!((l=e[0])!=null&&l.title),o=c=>a?v.jsxs(q,{maxWidth:"250px",children:[v.jsx("h4",{className:"fs-21 fw-400 ff-new-kansas m-0",dangerouslySetInnerHTML:{__html:c.title},style:{marginBottom:"16px"}}),v.jsx("span",{className:"fs-14",dangerouslySetInnerHTML:{__html:c.text}})]}):v.jsxs(q,{display:"flex",gap:"8px",maxWidth:"250px",children:[v.jsx(t8,{sx:{fill:"#159312"}}),v.jsx("span",{className:"fs-14",dangerouslySetInnerHTML:{__html:c.text}})]});return t?v.jsx(q,{display:"flex",gap:"32px",flexWrap:"wrap",flexDirection:"column",children:e.map((c,d)=>v.jsxs(q,{maxWidth:"344px",children:[v.jsxs(q,{display:"flex",children:[!a&&v.jsx(q,{width:"32px"}),v.jsx("img",{style:{width:"auto",height:"100px",objectFit:"contain",marginBottom:"16
264px"},src:c.image,alt:c.alt})]}),o(c)]},d))}):n?v.jsx(q,{display:"flex",gap:"32px",flexWrap:"wrap",flexDirection:"column",children:e.map((c,d)=>v.jsxs(q,{display:"flex",gap:"32px",alignItems:"center",children:[v.jsx(q,{flex:"0 0 180px",height:"114px",children:v.jsx("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c.image,alt:c.alt})}),o(c)]},d))}):v.jsx(q,{display:"flex",gap:"32px",flexWrap:"wrap",children:e.map((c,d)=>v.jsxs(q,{maxWidth:"220px",children:[v.jsxs(q,{display:"flex",width:"100%",height:"180px",mb:"24px",children:[v.jsx(q,{flexBasis:"32px"}),v.jsx(q,{flex:"1",height:"100%",children:v.jsx("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:c.image,alt:c.alt})})]}),o(c)]},d))})},n8=[{image:Ue.signUpSeller.PLUGIN,alt:"Painless listing",title:"<strong>Painless</strong> listing",text:"Listing a product takes less than 30 minutes and requires no API integration or other development work."},{image:Ue.signUpSeller.PROMOTION,alt:"Amplify your brand",title:"Amplify <strong>your brand</strong>",text:"NachoNacho proactively promotes your product on multiple channels, including social media, and throughout our marketplace."},{image:Ue.signUpSeller.ACQUISITION_CHANNEL,alt:"New user acquisition channel",title:"New user <strong>acquisition channel</strong>",text:"We'll do all the work and promotions to bring highly qualified buyers directly to you."}],r8=()=>{const{loading:e}=Po();return e?v.jsx($o,{}):v.jsx(zo,{left:v.jsxs(v.Fragment,{children:[v.jsx("img",{src:Ue.LOGO_SYMBOL_BLUE_BACKGROUND,alt:"logo",style:{width:"110px",height:"110px"}}),v.jsx(q,{height:"30px"}),v.jsxs(q,{children:[v.jsx("h2",{className:"text-dark-blue fs-32 fw-700 m-0",children:"The World's Largest"}),v.jsx("h2",{className:"text-blue fs-32 fw-700 m-0",children:"B2B SaaS Marketplace"})]}),v.jsx(q,{my:"16px",children:v.jsxs(nh,{fontSize:"14px",children:["Get in front of ",v.jsx("strong",{children:"300,000+ businesses"})]})}),v.jsx(q,{maxWidth:"393px",children:v.jsx("p",{className:"m-0 fs-14",children:"List your product in the NachoNacho SaaS Marketplace and get discovered by thousands of businesses."})}),v.jsx(q,{height:"54px"}),v.jsx($u,{advantages:n8}),v.jsx(q,{height:"41px"}),v.jsxs(St,{href:`${$n}/seller-meeting`,variant:"text",className:"fs-14 text-blue",children:["Request a video call",v.jsx(Rb,{className:"blue",fontSize:"small",sx:{ml:"3px"}})]})]}),right:v.jsx(Z6,{})})},a8=e=>{var o;const t=un(),[n,a]=T.useState(null);return ri(()=>{(async()=>{try{let c=`/sign-up/reviewer/${e.productId}`;e.invitedById&&(c+=`?invitedById=${e.invitedById}`);const{data:d}=await xt.get(c);console.log(d),a(d)}catch(c){t(c)}})()}),n?v.jsxs(q,{textAlign:"center",children:[n.nameFile&&v.jsx("img",{src:Le.getUrlFileMedia(n.nameFile),alt:n.name,style:{width:"100px",height:"100px",borderRadius:"18px",border:"1px solid var(--black)",marginBottom:"24px"}}),v.jsxs(q,{fontSize:"21px",children:[v.jsx("h3",{className:"m-0 text-dark-blue",children:n.user?v.jsxs(v.Fragment,{children:[(o=n.user)==null?void 0:o.name," is inviting you to"]}):"Sign up to"}),v.jsxs("h3",{className:"m-0 text-blue",children:["review ",n.name]})]})]}):null},i8=e=>{const{invitedById:t}=Kr(),n=un(),{reCaptchaLoaded:a,generateReCaptchaToken:o}=Al(),[l,c]=T.useState({value:"",error:!1,touched:!1}),[d,f]=T.useState({value:"",error:!1,touched:!1}),[p,m]=T.useState({value:"",error:!1,touched:!1}),[y,b]=T.useState({value:"",error:!1,touched:!1}),[x,E]=T.useState({value:"",error:!1}),[S,C]=T.useState(!1),R=T.useCallback(()=>{const w=l.value.length>0;return c(M=>({...M,error:!w})),w},[l.value]),N=T.useCallback(()=>{const w=d.value.length>0;return f(M=>({...M,error:!w})),w},[d.value]),D=T.useCallback(()=>{const w=p.value.length>0;return m(M=>({...M,error:!w})),w},[p.value]),L=T.useCallback(()=>{const w=Le.isValidEmail(y.value);return b(M=>({...M,error:!w})),w},[y.value]),O=T.useMemo(()=>{const w=R(),M=N(),I=D(),$=L(),Y=!x.error;return w&&M&&I&&$&&Y},[R,N,D,L,x.error]),A=()=>{(async()=>{if(O){C(!0);try{const M=Le.getFullAuthDeviceData(),I=await o("signUp"),{data:$}=await xt.post("/sign-up/reviewer",{firstName:l.value,lastName:d.value,companieName:p.value,email:y.value,productId:e.productId,password:x.value,authDevice:M,invitedById:t},{headers:{[Lr.RECAPTCHA_TOKEN]:I,[Lr.RECAPTCHA_ACTION]:"signUp"}});if($){const Y=$.authDevice;if(new URLSearchParams(window.location.search).get("requester")==="chrome-extension"){Le.setChromeExtension(Y.deviceToken);return}window.location.href=$t;return}}catch(M){n(M),C(!1)}}})()};return v.jsxs(q,{mb:"16px",children:[v.jsxs(q,{display:"flex",gap:"8px",children:[v.jsx(Rt,{id:"first-name",label:"First name",placeholder:"John",value:l.value,onChange:w=>c(M=>({...M,value:w.target.value,error:!1})),onFocus:()=>c(w=>({...w,touched:!1})),onBlur:()=>c(w=>({...w,touched:!0})),error:l.touched&&l.error,helperText:"First name is required"}),v.jsx(Rt,{id:"last-name",label:"Last name",placeholder:"Doe",value:d.value,onChange:w=>f(M=>({...M,value:w.target.value,error:!1})),onFocus:()=>c(w=>({...w,touched:!1})),onBlur:()=>f(w=>({...w,touched:!0})),error:d.touched&&d.error,helperText:"Last name is required"})]}),v.jsx(Rt,{id:"company-name",label:"Company name",placeholder:"Acme Corp",value:p.value,onChange:w=>m(M=>({...M,value:w.target.value,error:!1})),onFocus:()=>m(w=>({...w,touched:!1})),onBlur:()=>m(w=>({...w,touched:!0})),error:p.touched&&p.error,helperText:"Company name is required"}),v.jsx(Rt,{id:"email",label:"Email",type:"email",placeholder:"[email protected]",value:y.value,onChange:w=>b(M=>({...M,value:w.target.value,error:!1})),onFocus:()=>b(w=>({...w,touched:!1})),onBlur:()=>b(w=>({...w,touched:!0})),error:y.touched&&y.error,helperText:y.value.length>
2640?"Email is invalid":"Email is required"}),v.jsx(Wi,{label:"Password",onChange:w=>{E({value:w.value,error:!w.isValid})},onKeyDownEnter:A}),v.jsx(St,{variant:"contained",fullWidth:!0,disabled:!O||!a||S,onClick:A,sx:{mt:"16px"},children:S?v.jsx(pr,{size:"20px"}):"Sign up"})]})},o8=e=>{const{productId:t}=Kr(),[n,a]=Fe.useState(!1),o=T.useMemo(()=>{const{searchParams:l}=new URL(window.location.href);return t&&l.set("redirectUrl",`${$t}/subscribe/${t}?${l.toString()}`),`/login?${l.toString()}`},[t]);return v.jsxs(q,{p:"24px",textAlign:"center",width:"100%",maxWidth:"350px",mx:"auto",children:[v.jsx(pb,{textButton:"Sign Up with Google",typeCreationApp:"SIGN_UP"}),v.jsx(q,{height:"12px"}),v.jsx(q,{children:v.jsxs("span",{className:"fs-14",children:["Already have an account?"," ",v.jsx(Ja,{to:o,className:"link",children:"Login"})]})}),v.jsx(Eb,{}),!n&&v.jsx(St,{id:"btn-signup-options",onClick:()=>a(!0),children:v.jsxs("span",{className:"fs-14 text-blue",children:["Other sign up options ",v.jsx(cO,{className:"blue",sx:{mb:"-8px"}})]})}),n&&v.jsxs(q,{children:[v.jsx(St,{id:"btn-signup-options",onClick:()=>a(!1),children:v.jsxs("span",{className:"fs-14 text-blue",children:["Hide other sign up options ",v.jsx(lO,{className:"blue",sx:{mb:"-8px"}})]})}),v.jsx(q,{height:"16px"}),v.jsx(i8,{productId:e.productId})]}),v.jsx(q,{maxWidth:"265px",mx:"auto",mt:"24px",children:v.jsxs("span",{className:"fs-14",children:["By signing up, you agree to NachoNacho's"," ",v.jsx("a",{href:`${$n}/terms-of-use`,className:"link",children:"Terms of Use"})," ","and"," ",v.jsx("a",{href:`${$n}/privacy-policy`,className:"link",children:"Privacy Policy"})]})})]})},s8=()=>{const{loading:e}=Po(),{productId:t}=Kr(),n=Co.parse(location.search),a=n.invitedById?n.invitedById.toString():void 0,o=v.jsxs(v.Fragment,{children:[t&&v.jsx(a8,{productId:t,invitedById:a}),t&&v.jsx(o8,{productId:t})]});return e?v.jsx($o,{}):v.jsx(ZC,{container1:{content:v.jsx(QC,{})},container2:{content:o}})},l8=({data:e,acceptInvitation:t})=>{const{user:n}=e,[a,o]=T.useState({value:"",error:!1,touched:!1}),[l,c]=T.useState({value:"",error:!1,touched:!1}),[d,f]=T.useState({value:"",error:!1}),[p,m]=T.useState(!0);T.useEffect(()=>{n&&(o(S=>({...S,value:n.firstName})),c(S=>({...S,value:n.lastName})),m(!1))},[n]);const y=T.useCallback(()=>{const S=a.value.length>0;return o(C=>({...C,error:!S})),S},[a.value]),b=T.useCallback(()=>{const S=l.value.length>0;return c(C=>({...C,error:!S})),S},[l.value]),x=T.useMemo(()=>{const S=y(),C=b(),R=!d.error;return S&&C&&R},[y,b,d.error]),E=async()=>{!x||!n||(m(!0),await t({firstName:a.value,lastName:l.value,password:d.value}),m(!1))};return v.jsxs(q,{mb:"16px",children:[v.jsx(Rt,{id:"first-name",label:"First name",placeholder:"John",value:a.value,onChange:S=>o(C=>({...C,value:S.target.value,error:!1})),onFocus:()=>o(S=>({...S,touched:!1})),onBlur:()=>o(S=>({...S,touched:!0})),error:a.touched&&a.error,helperText:"First name is required",autoComplete:"given-name"}),v.jsx(Rt,{id:"last-name",label:"Last name",placeholder:"Doe",value:l.value,onChange:S=>c(C=>({...C,value:S.target.value,error:!1})),onFocus:()=>o(S=>({...S,touched:!1})),onBlur:()=>c(S=>({...S,touched:!0})),error:l.touched&&l.error,helperText:"Last name is required",autoComplete:"family-name"}),v.jsx(Rt,{id:"email",label:"Email",type:"email",value:(n==null?void 0:n.email)||"",disabled:!0}),v.jsx(Wi,{label:"Password",onChange:S=>{f({value:S.value,error:!S.isValid})},autoComplete:"new-password",onKeyDownEnter:()=>{x&&!p&&E()}}),v.jsx(St,{variant:"contained",fullWidth:!0,disabled:!x||p,onClick:E,sx:{mt:"16px"},children:p?v.jsx(pr,{size:"20px"}):"OK"})]})},c8=()=>{const{invitationToken:e}=Kr(),t=un(),n=Yr(),[a,o]=T.useState({mode:"DEFAULT",user:null,isNewUser:!1,companieId:"",product:null}),[l,c]=T.useState(!0);ri(()=>{(async()=>{try{c(!0);const{data:p}=await xt.get(`/invitation/${e}`);o(p),p.isNewUser?c(!1):await d(p,null)}catch(p){t(p),n("/login")}})()});const d=async(f,p)=>{const m=`${$t}/?companyContext=${f.companieId}`,{user:y}=f;if(y)try{const b=Le.getFullAuthDeviceData(),x=await xt.post("/invitation/accept",{firstName:p==null?void 0:p.firstName,lastName:p==null?void 0:p.lastName,password:p==null?void 0:p.password,authDevice:b,invitationToken:e});if(x.data){const E=x.data.authDevice;if(new URLSearchParams(window.location.search).get("requester")==="chrome-extension"){Le.setChromeExtension(E.deviceToken);return}window.location.href=m}}catch(b){t(b),n("/login")}};return e?v.jsx(q,{p:"24px",bgcolor:"#faf8f7",minHeight:"100vh",children:v.jsxs(q,{maxWidth:"433px",mx:"auto",textAlign:"center",children:[v.jsxs("div",{style:{marginBottom:"10px"},children:[v.jsx("img",{src:Ue.LOGO_NN_BLUE,alt:"logo",style:{width:"250px",height:"auto",marginBottom:"10px"}}),v.jsx("div",{children:a.product&&v.jsx("img",{src:Le.getUrlFileMedia(a.product.nameFile),style:{width:"80px",height:"80px",borderRadius:"18px",border:"1px solid var(--black)"}})})]}),v.jsxs(Gp,{variant:"outlined",sx:{p:"20px"},children:[l&&v.jsx(pr,{size:40}),!l&&v.jsxs(v.Fragment,{children:[v.jsxs("h4",{className:"fs-21 fw-400 m-0",style:{marginBottom:"24px"},children:[a.mode==="DEFAULT"&&"Accept invitation to NachoNacho",a.mode==="REVIEW"&&a.product&&`Accept invitation to write a review for ${a.product.name}`]}),v.jsx(l8,{data:a,acceptInvitation:f=>d(a,f)})]})]})]})}):(t("Missing invitation token"),n("/login"),null)},u8=()=>{const e=un();return ri(()=>{(async()=>{try{const{data:n}=await xt.post("/passkey/generateRegistrationOptions");
264if(!n)throw new Error("No optionsData");console.log("options",n.options);const a=await f6(n.options);console.log("registration",a);const{data:o}=await xt.post("/passkey/createPasskeyAuthenticator",{registration:a});o.success&&(window.location.href=`${$t}/settings/user?mode=security`)}catch{e("Error. Couldn't connect your passkey"),setTimeout(()=>{window.location.href=`${$t}/settings/user?mode=security`},2e3)}})()}),v.jsxs(ni,{children:[v.jsx("h1",{children:"Connect Your Passkey"}),v.jsx(Ol,{sx:{my:"40px",maxWidth:"400px",mx:"auto"}})]})},d8=()=>{const e=un(),{openSnackbar:t}=Du(),n=Vt(),a=T.useMemo(()=>new URLSearchParams(n.search),[n.search]),[o,l]=T.useState({value:"",error:!1}),[c,d]=T.useState(!1),f=T.useMemo(()=>!o.error,[o.error]),p=async()=>{if(!(!o||o.error)){d(!0);try{await xt.post("/reset-password",{resetPasswordToken:a.get("token"),authDevice:Le.getFullAuthDeviceData(),password:o.value}),t("Password reset successfully! Redirecting... ","success"),setTimeout(()=>{window.location.href=$t},2e3)}catch(m){e(m),d(!1)}}};return v.jsx(ni,{children:v.jsxs(q,{mb:"16px",maxWidth:"400px",mx:"auto",children:[v.jsx("h2",{style:{marginTop:0,marginBottom:32},children:"Reset password"}),v.jsx(Wi,{label:"New password",onChange:m=>{l({value:m.value,error:!m.isValid})}}),v.jsx(St,{variant:"contained",fullWidth:!0,disabled:!f||c,onClick:p,sx:{mt:"16px"},children:c?v.jsx(pr,{size:"20px"}):"OK"})]})})},f8=()=>{const e=Vt(),t=un(),{openSnackbar:n}=Du(),a=T.useMemo(()=>new URLSearchParams(e.search),[e.search]),[o,l]=Fe.useState(a.get("email")||""),[c,d]=Fe.useState(!1),f=async()=>{if(!o)return t(new Error("Please enter your email address"));if(!Le.isValidEmail(o))return t(new Error("Please enter a valid email address"));d(!0);try{const{data:p}=await xt.get(`/reset-password/${o}`);p.success&&(n("If your email address is registered, you will receive an email with instructions to reset your password","success",!1,1e4),l(""))}catch(p){t(p)}finally{d(!1)}};return v.jsx(ni,{children:v.jsxs(q,{mb:"16px",maxWidth:"400px",mx:"auto",children:[v.jsx("h2",{style:{marginTop:0,marginBottom:32},children:"Reset password"}),v.jsx(Rt,{id:"email",label:"Email",value:o,onChange:p=>l(p.target.value),autoComplete:"username"}),v.jsx(St,{variant:"contained",fullWidth:!0,disabled:c||!Le.isValidEmail(o),onClick:f,sx:{mt:"16px"},children:c?v.jsx(pr,{size:"20px"}):"OK"})]})})},p8=()=>{const e=un(),{reCaptchaLoaded:t,generateReCaptchaToken:n}=Al(),[a,o]=T.useState({value:"",error:!1,touched:!1}),[l,c]=T.useState({value:"",error:!1,touched:!1}),[d,f]=T.useState({value:"",error:!1,touched:!1}),[p,m]=T.useState({value:"",error:!1,touched:!1}),[y,b]=T.useState({value:"",error:!1}),[x,E]=T.useState(!1),S=T.useCallback(()=>{const O=a.value.length>0;return o(A=>({...A,error:!O})),O},[a.value]),C=T.useCallback(()=>{const O=l.value.length>0;return c(A=>({...A,error:!O})),O},[l.value]),R=T.useCallback(()=>{const O=d.value.length>0;return f(A=>({...A,error:!O})),O},[d.value]),N=T.useCallback(()=>{const O=Le.isValidEmail(p.value);return m(A=>({...A,error:!O})),O},[p.value]),D=T.useMemo(()=>{const O=S(),A=C(),w=R();console.log("validCompanieName",w);const M=N(),I=!y.error;return O&&A&&w&&M&&I},[S,C,R,N,y.error]),L=()=>{(async()=>{if(D){E(!0);try{const A=Le.getFullAuthDeviceData(),w=await n("signUpMaven"),{data:M}=await xt.post("/sign-up/maven",{firstName:a.value,lastName:l.value,companieName:d.value,email:p.value,password:y.value,authDevice:A},{headers:{[Lr.RECAPTCHA_TOKEN]:w,[Lr.RECAPTCHA_ACTION]:"signUpMaven"}});if(M){const I=M.authDevice;if(new URLSearchParams(window.location.search).get("requester")==="chrome-extension"){Le.setChromeExtension(I.deviceToken);return}window.location.href=$t;return}}catch(A){e(A),E(!1)}}})()};return v.jsxs(q,{width:"100%",maxWidth:"350px",mx:"auto",textAlign:"center",children:[v.jsxs(q,{textAlign:"center",children:[v.jsx("img",{src:Ue.LOGO_NN_BLUE,alt:"logo nachonacho maven",style:{width:290}}),v.jsx(Yp,{size:"small",sx:{bgcolor:"var(--dark-blue)",mt:"10px",px:"10px","& > span":{color:"white"}},label:"Maven Account"})]}),v.jsx(q,{height:"24px"}),v.jsx(q,{children:v.jsxs("span",{className:"fs-14",children:["Already have an account?"," ",v.jsx(Ja,{to:`/login${window.location.search}`,className:"link",children:"Login"})]})}),v.jsx(q,{height:"24px"}),v.jsxs(q,{display:"flex",gap:"8px",children:[v.jsx(Rt,{id:"first-name",label:"First name",placeholder:"John",value:a.value,onChange:O=>o(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>o(O=>({...O,touched:!1})),onBlur:()=>o(O=>({...O,touched:!0})),error:a.touched&&a.error,helperText:"First name is required"}),v.jsx(Rt,{id:"last-name",label:"Last name",placeholder:"Doe",value:l.value,onChange:O=>c(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>o(O=>({...O,touched:!1})),onBlur:()=>c(O=>({...O,touched:!0})),error:l.touched&&l.error,helperText:"Last name is required"})]}),v.jsx(Rt,{id:"company-name",label:"Company name",placeholder:"Acme Corp",value:d.value,onChange:O=>f(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>f(O=>({...O,touched:!1})),onBlur:()=>f(O=>({...O,touched:!0})),error:d.touched&&d.error,helperText:"Company name is required"}),v.jsx(Rt,{id:"email",label:"Email",type:"email",placeholder:"[email protected]",value:p.value,onChange:O=>m(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>m(O=>({...O,touched:!1})),onBlur:()=>m(O=>({...O,touched:!0})),error:p.touched&&p.error,helperText:p.value.length>
2640?"Email is invalid":"Email is required"}),v.jsx(Wi,{label:"Password",onChange:O=>{b({value:O.value,error:!O.isValid})}}),v.jsx(St,{variant:"contained",fullWidth:!0,disabled:!D||!t||x,onClick:L,sx:{mt:"16px"},children:x?v.jsx(pr,{size:"20px"}):"Sign up"}),v.jsx(q,{maxWidth:"265px",mx:"auto",mt:"24px",children:v.jsxs("span",{className:"fs-14",children:["By signing up, you agree to NachoNacho's"," ",v.jsx("a",{href:`${$n}/terms-of-use`,className:"link",children:"Terms of Use"})," ","and"," ",v.jsx("a",{href:`${$n}/privacy-policy`,className:"link",children:"Privacy Policy"})]})})]})},h8=[{image:Ue.signUpSeller.PLUGIN,alt:"Painless listing",title:"<strong>Painless</strong> listing",text:"Create your company or freelancer profile in minutes. Brag about your expertise and track record."},{image:Ue.signUpSeller.PROMOTION,alt:"Amplify your brand",title:"Amplify <strong>your brand</strong>",text:"NachoNacho reaches hundreds of thousands of businesses through various ecosystems. Become discoverable by those businesses."},{image:Ue.signUpSeller.ACQUISITION_CHANNEL,alt:"Ideal matchmaking",title:"Ideal <strong>matchmaking</strong>",text:"NachoNacho has direct relationships with software buyers and first party data on their software stack. Your expertise will be offered to them in the right place at the right time."}],m8=()=>{const{loading:e}=Po();return e?v.jsx($o,{}):v.jsx(zo,{left:v.jsxs(v.Fragment,{children:[v.jsx("img",{src:Ue.LOGO_SYMBOL_BLUE_BACKGROUND,alt:"logo",style:{width:"110px",height:"110px"}}),v.jsx(q,{height:"30px"}),v.jsxs(q,{children:[v.jsx("h2",{className:"text-dark-blue fs-32 fw-700 m-0",children:"The World's Largest"}),v.jsx("h2",{className:"text-blue fs-32 fw-700 m-0",children:"Software & Professional Services"}),v.jsx("h2",{className:"text-dark-blue fs-32 fw-700 m-0",children:"Marketplace"})]}),v.jsx(q,{my:"16px",children:v.jsxs(nh,{fontSize:"14px",children:["Reach ",v.jsx("strong",{children:"new and relevant"})," customers"]})}),v.jsx(q,{maxWidth:"393px",children:v.jsx("p",{className:"m-0 fs-14",children:"List your services in the NachoNacho Marketplace and get discovered by businesses specifically looking for your expertise."})}),v.jsx(q,{height:"54px"}),v.jsx($u,{advantages:h8})]}),right:v.jsx(p8,{})})},g8=({product:e})=>{const{name:t,nameFile:n}=e;return v.jsxs(q,{textAlign:"center",children:[v.jsx("div",{style:{height:50}}),v.jsx(q,{height:"100px",mb:"24px",children:n&&v.jsx("img",{src:Le.getUrlFileMedia(n),alt:t,style:{width:"100px",height:"100px",borderRadius:"18px",border:"1px solid var(--black)"}})}),v.jsxs(q,{fontSize:"21px",children:[v.jsx("h3",{className:"m-0 text-blue",children:t}),v.jsx("h3",{className:"m-0 text-dark-blue",children:"Sign up to request Proposal"})]})]})},y8=[{image:Ue.signUp.ONE_STOP_SHOP,alt:"Software and services",title:"<strong>One-stop shop</strong> for software & services!",text:"Buy software products at massive discounts. And find service providers who can help you operate your company. All in one place."},{image:Ue.signUp.SERVICE_PROVIDERS,alt:"Service providers",title:"Choose from <strong>thousands of service providers</strong>",text:"Browse, search and filter. Learn about their specific skill sets. Read reviews from past or current customers."},{image:Ue.signUp.PUZZLE_PIECES,alt:"Get matched",title:"<strong>Get matched</strong> with your ideal service provider",text:"NachoNacho's deep knowledge of both businesses like you as well as service providers facilitates perfect match-making."}],v8=({product:e})=>{const t=Kr();return v.jsx(zo,{left:v.jsxs(q,{style:{textAlign:"center"},children:[v.jsx("img",{src:Ue.LOGO_SYMBOL_BLUE_BACKGROUND,alt:"logo",style:{width:"110px",height:"110px"}}),v.jsx(q,{height:"38px"}),v.jsx(q,{className:"fs-32",children:v.jsx("h2",{className:"text-dark-blue fs-32 m-0 d-inline",children:"Get your business serviced!"})}),v.jsx(q,{className:"fs-20",mt:"16px",lineHeight:"30px",maxWidth:"512px",mx:"auto",children:"NachoNacho Mavens is the premier destination for service providers to offer their services to businesses."}),v.jsx(q,{height:"55px"}),v.jsx($u,{advantages:y8}),v.jsx(q,{height:"57px"}),v.jsx("img",{src:Ue.LOGO_NN_BLUE,style:{width:"197px"}})]}),right:v.jsxs(v.Fragment,{children:[t.productId&&v.jsx(g8,{product:e}),v.jsx(th,{})]})})},b8=e=>T.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},T.createElement("circle",{cx:20,cy:20,r:19.5,fill:"#6A24FF"}),T.createElement("path",{d:"M12.9863 10.5L26.0137 10.5L30.5 18.2647L19.8595 31.5654L19.1405 31.5654L8.5 18.2647L12.9863 10.5ZM14.683 12.6569H14.2229L11.6922 17.0425H16.8686L14.683 12.6569ZM17.1275 12.6569L19.2987 17.0425H19.7013L21.8725 12.6569H17.1275ZM22.1314 17.0425L27.3078 17.0425L24.7771 12.6569H24.317L22.1314 17.0425ZM11.9797 19.1993L19.5 28.4595L27.0203 19.1993L11.9797 19.1993Z",fill:"white"})),S8=e=>T.createElement("svg",{width:1069,height:1069,viewBox:"0 0 1069 1069",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},T.createElement("circle",{cx:534.421,cy:534.421,r:534.421,fill:"#6A24FF"}),T.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M433.584 299.143C433.584 281.315 440.667 264.216 453.273 251.61C465.88 239.003 482.978 231.921 500.806 231.921H568.028C585.857 231.921 602.955 239.003 615.562 251.61C628.168 264.216 635.25 281.315 635.25 299.143V433.587H769.695C787.523 433.587 804.621 440.669 817.228 453.276C829.834 465.883 836.917 482.981 836.917 500.809V568.031C836.917 585.86 829.834 602.958 817.228 615.564C804.621 628.171 787.523 635.253 769.695 635.253H635.25V769.698C635.25 787.526 628.168 804.624 615.562 817.231C602.955 829.837 585.857 836.92 568.028 836.92H500.806C482.978 836.92 465.88 829.837 453.273 817.231C440.667 804.624 433.584 787.526 433.584 769.698V635.253H299.14C281.312 635.253 264.213 628.171 251.607 615.564C239 602.958 231.918 585.86 231.918 568.031V500.809C231.918 482.981 239 465.883 251.607 453.276C264.213 440.669 281.312 433.587 299.14 433.587H433.584V299.143Z",fill:"white"})),x8=({product:e})=>{const[t]=Io(),a=t.get("overrideDefaultSignupAction")==="CONTACT";if(!e)return null;const{name:o,nameFile:l,visibility:c}
264=e;return v.jsxs(q,{textAlign:"center",children:[v.jsx("div",{style:{height:50}}),v.jsx(q,{height:"100px",mb:"24px",children:l&&v.jsx(q,{display:"flex",justifyContent:"center",children:v.jsxs(q,{position:"relative",children:[c==="PUBLIC"&&v.jsx(q,{position:"absolute",left:"80px",top:"-10px",children:v.jsx(b8,{height:"30px"})}),c==="BASIC_PLUS"&&v.jsx(q,{position:"absolute",left:"80px",top:"-10px",children:v.jsx(S8,{height:"30px"})}),v.jsx(q,{width:"100px",children:v.jsx("img",{src:Le.getUrlFileMedia(l),alt:o,style:{width:"100px",height:"100px",borderRadius:"18px",border:"1px solid var(--black)"}})})]})})}),e.offer?v.jsx(v.Fragment,{children:v.jsxs(q,{fontSize:"21px",children:[v.jsx("h3",{className:"m-0 text-blue",children:o}),v.jsx(q,{display:"flex",justifyContent:"center",mt:"8px",children:v.jsx(nh,{children:v.jsx("strong",{children:e.offer})})}),v.jsx(q,{mt:"10px",children:v.jsx("h3",{className:"m-0 text-dark-blue",children:a?v.jsx(v.Fragment,{children:"Sign up to contact vendor"}):v.jsx(v.Fragment,{children:"Sign up to get this offer!"})})})]})}):v.jsxs(q,{fontSize:"21px",children:[v.jsx("h3",{className:"m-0 text-blue",children:o}),v.jsxs("h3",{className:"m-0 text-dark-blue",children:["Sign up to ",a?"contact":"subscribe"]})]})]})},_8=({product:e})=>{const t=Hi(n=>n.breakpoints.down("md"));return v.jsx(zo,{left:v.jsx(uO,{}),right:v.jsxs(q,{position:"relative",children:[v.jsx(q,{sx:t?{}:{position:"absolute",bottom:"100%",left:0,right:0},children:v.jsx(x8,{product:e})}),v.jsx(th,{})]}),centerRight:!t})},E8=()=>{const e=Kr(),[t]=Io(),{loading:n}=Po(`${$t}/subscribe/${e.productId}?${t.toString()}`),a=un(),o=Yr(),[l,c]=Fe.useState(null);return ri(()=>{(async()=>{try{const{data:f}=await xt.get(`/sign-up/product/${e.productId}`);if(!f)throw new Error("Product not found");c(f)}catch(f){a(f),o("/signup")}})()}),!l||n?v.jsx($o,{}):l.visibility==="MAVEN"?v.jsx(v8,{product:l}):v.jsx(_8,{product:l})},dO=Object.prototype.toString;function fO(e){switch(dO.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Xa(e,Error)}}function Ml(e,t){return dO.call(e)===`[object ${t}]`}function Cb(e){return Ml(e,"ErrorEvent")}function Ow(e){return Ml(e,"DOMError")}function w8(e){return Ml(e,"DOMException")}function ga(e){return Ml(e,"String")}function Ob(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Ab(e){return e===null||Ob(e)||typeof e!="object"&&typeof e!="function"}function ul(e){return Ml(e,"Object")}function rh(e){return typeof Event<"u"&&Xa(e,Event)}function T8(e){return typeof Element<"u"&&Xa(e,Element)}function R8(e){return Ml(e,"RegExp")}function ah(e){return!!(e&&e.then&&typeof e.then=="function")}function C8(e){return ul(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function pO(e){return typeof e=="number"&&e!==e}function Xa(e,t){try{return e instanceof t}catch{return!1}}function hO(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function Js(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Aw(e,t){if(!Array.isArray(e))return"";const n=[];for(let a=0;a<e.length;a++){const o=e[a];try{hO(o)?n.push("[VueViewModel]"):n.push(String(o))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function O8(e,t,n=!1){return ga(e)?R8(t)?t.test(e):ga(t)?n?e===t:e.includes(t):!1:!1}function Dl(e,t=[],n=!1){return t.some(a=>O8(e,a,n))}function A8(e,t,n=250,a,o,l,c){if(!l.exception||!l.exception.values||!c||!Xa(c.originalException,Error))return;const d=l.exception.values.length>0?l.exception.values[l.exception.values.length-1]:void 0;d&&(l.exception.values=N8(tv(e,t,o,c.originalException,a,l.exception.values,d,0),n))}function tv(e,t,n,a,o,l,c,d){if(l.length>=n+1)return l;let f=[...l];if(Xa(a[o],Error)){Nw(c,d);const p=e(t,a[o]),m=f.length;kw(p,o,m,d),f=tv(e,t,n,a[o],o,[p,...f],p,m)}return Array.isArray(a.errors)&&a.errors.forEach((p,m)=>{if(Xa(p,Error)){Nw(c,d);const y=e(t,p),b=f.length;kw(y,`errors[${m}]`,b,d),f=tv(e,t,n,p,o,[y,...f],y,b)}}),f}function Nw(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0}
264,exception_id:t}}function kw(e,t,n,a){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:a}}function N8(e,t){return e.map(n=>(n.value&&(n.value=Js(n.value,t)),n))}function _f(e){return e&&e.Math==Math?e:void 0}const et=typeof globalThis=="object"&&_f(globalThis)||typeof window=="object"&&_f(window)||typeof self=="object"&&_f(self)||typeof global=="object"&&_f(global)||function(){return this}()||{};function Nb(){return et}function mO(e,t,n){const a=n||et,o=a.__SENTRY__=a.__SENTRY__||{};return o[e]||(o[e]=t())}const el=Nb(),k8=80;function Fi(e,t={}){if(!e)return"<unknown>";try{let n=e;const a=5,o=[];let l=0,c=0;const d=" > ",f=d.length;let p;const m=Array.isArray(t)?t:t.keyAttrs,y=!Array.isArray(t)&&t.maxStringLength||k8;for(;n&&l++<a&&(p=M8(n,m),!(p==="html"||l>1&&c+o.length*f+p.length>=y));)o.push(p),c+=p.length,n=n.parentNode;return o.reverse().join(d)}catch{return"<unknown>"}}function M8(e,t){const n=e,a=[];let o,l,c,d,f;if(!n||!n.tagName)return"";if(el.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;a.push(n.tagName.toLowerCase());const p=t&&t.length?t.filter(y=>n.getAttribute(y)).map(y=>[y,n.getAttribute(y)]):null;if(p&&p.length)p.forEach(y=>{a.push(`[${y[0]}="${y[1]}"]`)});else if(n.id&&a.push(`#${n.id}`),o=n.className,o&&ga(o))for(l=o.split(/\s+/),f=0;f<l.length;f++)a.push(`.${l[f]}`);const m=["aria-label","type","name","title","alt"];for(f=0;f<m.length;f++)c=m[f],d=n.getAttribute(c),d&&a.push(`[${c}="${d}"]`);return a.join("")}function D8(){try{return el.document.location.href}catch{return""}}function L8(e){return el.document&&el.document.querySelector?el.document.querySelector(e):null}function gO(e){if(!el.HTMLElement)return null;let t=e;const n=5;for(let a=0;a<n;a++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}const Ll=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,I8="Sentry Logger ",nv=["debug","info","warn","error","log","assert","trace"],dp={};function Mo(e){if(!("console"in et))return e();const t=et.console,n={},a=Object.keys(dp);a.forEach(o=>{const l=dp[o];n[o]=t[o],t[o]=l});try{return e()}finally{a.forEach(o=>{t[o]=n[o]})}}function j8(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Ll?nv.forEach(n=>{t[n]=(...a)=>{e&&Mo(()=>{et.console[n](`${I8}[${n}]:`,...a)})}}):nv.forEach(n=>{t[n]=()=>{}}),t}const J=j8(),U8=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function z8(e){return e==="http"||e==="https"}function Il(e,t=!1){const{host:n,path:a,pass:o,port:l,projectId:c,protocol:d,publicKey:f}=e;return`${d}://${f}${t&&o?`:${o}`:""}@${n}${l?`:${l}`:""}/${a&&`${a}/`}${c}`}function P8(e){const t=U8.exec(e);if(!t){Mo(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,a,o="",l,c="",d]=t.slice(1);let f="",p=d;const m=p.split("/");if(m.length>1&&(f=m.slice(0,-1).join("/"),p=m.pop()),p){const y=p.match(/^\d+/);y&&(p=y[0])}return yO({host:l,pass:o,path:f,projectId:p,port:c,protocol:n,publicKey:a})}function yO(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function $8(e){if(!Ll)return!0;const{port:t,projectId:n,protocol:a}=e;return["protocol","publicKey","host","projectId"].find(c=>e[c]?!1:(J.error(`Invalid Sentry Dsn: ${c} missing`),!0))?!1:n.match(/^\d+$/)?z8(a)?t&&isNaN(parseInt(t,10))?(J.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(J.error(`Invalid Sentry Dsn: Invalid protocol ${a}`),!1):(J.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function B8(e){const t=typeof e=="string"?P8(e):yO(e);if(!(!t||!$8(t)))return t}
264class ua extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function bn(e,t,n){if(!(t in e))return;const a=e[t],o=n(a);typeof o=="function"&&vO(o,a),e[t]=o}function Do(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Ll&&J.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function vO(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Do(e,"__sentry_original__",t)}catch{}}function kb(e){return e.__sentry_original__}function H8(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function bO(e){if(fO(e))return{message:e.message,name:e.name,stack:e.stack,...Dw(e)};if(rh(e)){const t={type:e.type,target:Mw(e.target),currentTarget:Mw(e.currentTarget),...Dw(e)};return typeof CustomEvent<"u"&&Xa(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Mw(e){try{return T8(e)?Fi(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Dw(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function F8(e,t=40){const n=Object.keys(bO(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Js(n[0],t);for(let a=n.length;a>0;a--){const o=n.slice(0,a).join(", ");if(!(o.length>t))return a===n.length?o:Js(o,t)}return""}function Pn(e){return rv(e,new Map)}function rv(e,t){if(q8(e)){const n=t.get(e);if(n!==void 0)return n;const a={};t.set(e,a);for(const o of Object.keys(e))typeof e[o]<"u"&&(a[o]=rv(e[o],t));return a}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const a=[];return t.set(e,a),e.forEach(o=>{a.push(rv(o,t))}),a}return e}function q8(e){if(!ul(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const SO=50,Lw=/\(error: (.*)\)/,Iw=/captureMessage|captureException/;function xO(...e){const t=e.sort((n,a)=>n[0]-a[0]).map(n=>n[1]);return(n,a=0)=>{const o=[],l=n.split(` 265`);for(let c=a;c<l.length;c++){const d=l[c];if(d.length>1024)continue;const f=Lw.test(d)?d.replace(Lw,"$1"):d;if(!f.match(/\S*Error: /)){for(const p of t){const m=p(f);if(m){o.push(m);break}}if(o.length>=SO)break}}return W8(o)}}function G8(e){return Array.isArray(e)?xO(...e):e}function W8(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),Iw.test(t[t.length-1].function||"")&&(t.pop(),Iw.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,SO).map(n=>({...n,filename:n.filename||t[t.length-1].filename,function:n.function||"?"}))}const hy="<anonymous>";function Qa(e){try{return!e||typeof e!="function"?hy:e.name||hy}catch{return hy}}const Wf={},jw={};function Bo(e,t){Wf[e]=Wf[e]||[],Wf[e].push(t)}function Ho(e,t){jw[e]||(t(),jw[e]=!0)}function Gr(e,t){const n=e&&Wf[e];if(n)for(const a of n)try{a(t)}catch(o){Ll&&J.error(`Error while triggering instrumentation handler. 266Type: ${e} 267Name: ${Qa(a)} 268Error:`,o)}}function V8(e){const t="console";Bo(t,e),Ho(t,Y8)}function Y8(){"console"in et&&nv.forEach(function(e){e in et.console&&bn(et.console,e,function(t){return dp[e]=t,function(...n){Gr("console",{args:n,level:e});const o=dp[e];o&&o.apply(et.console,n)}})})}function Wt(){const e=et,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const a=new Uint8Array(1);return t.getRandomValues(a),a[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,a=>(a^(n()&15)>>a/4).toString(16))}function _O(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function ji(e){const{message:t,event_id:n}=e;if(t)return t;const a=_O(e);return a?a.type&&a.value?`${a.type}: ${a.value}`:a.type||a.value||n||"<unknown>":n||"<unknown>"}function av(e,t,n){const a=e.exception=e.exception||{},o=a.values=a.values||[],l=o[0]=o[0]||{};l.value||(l.value=t||""),l.type||(l.type="Error")}function mu(e,t){const n=_O(e);if(!n)return;const a={type:"generic",handled:!0},o=n.mechanism;if(n.mechanism={...a,...o,...t},t&&"data"in t){const l={...o&&o.data,...t.data};n.mechanism.data=l}}function Uw(e){if(e&&e.__sentry_captured__)return!0;try{Do(e,"__sentry_captured__",!0)}catch{}return!1}function EO(e){return Array.isArray(e)?e:[e]}const Bs=et,K8=1e3;let zw,iv,ov;function wO(e){const t="dom";Bo(t,e),Ho(t,X8)}function X8(){if(!Bs.document)return;const e=Gr.bind(null,"dom"),t=Pw(e,!0);Bs.document.addEventListener("click",t,!1),Bs.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const a=Bs[n]&&Bs[n].prototype;!a||!a.hasOwnProperty||!a.hasOwnProperty("addEventListener")||(bn(a,"addEventListener",function(o){return function(l,c,d){if(l==="click"||l=="keypress")try{const f=this,p=f.__sentry_instrumentation_handlers__=f.__sentry_instrumentation_handlers__||{},m=p[l]=p[l]||{refCount:0};if(!m.handler){const y=Pw(e);m.handler=y,o.call(this,l,y,d)}m.refCount++}catch{}return o.call(this,l,c,d)}}),bn(a,"removeEventListener",function(o){return function(l,c,d){if(l==="click"||l=="keypress")try{const f=this,p=f.__sentry_instrumentation_handlers__||{},m=p[l];m&&(m.refCount--,m.refCount<=0&&(o.call(this,l,m.handler,d),m.handler=void 0,delete p[l]),Object.keys(p).length===0&&delete f.__sentry_instrumentation_handlers__)}catch{}return o.call(this,l,c,d)}}))})}function Q8(e){if(e.type!==iv)return!1;try{if(!e.target||e.target._sentryId!==ov)return!1}catch{}return!0}function Z8(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function Pw(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const a=J8(n);if(Z8(n.type,a))return;Do(n,"_sentryCaptured",!0),a&&!a._sentryId&&Do(a,"_sentryId",Wt());
268const o=n.type==="keypress"?"input":n.type;Q8(n)||(e({event:n,name:o,global:t}),iv=n.type,ov=a?a._sentryId:void 0),clearTimeout(zw),zw=Bs.setTimeout(()=>{ov=void 0,iv=void 0},K8)}}function J8(e){try{return e.target}catch{return null}}const sv=Nb();function TO(){if(!("fetch"in sv))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function lv(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function eH(){if(typeof EdgeRuntime=="string")return!0;if(!TO())return!1;if(lv(sv.fetch))return!0;let e=!1;const t=sv.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=lv(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){Ll&&J.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function Mb(e){const t="fetch";Bo(t,e),Ho(t,tH)}function tH(){eH()&&bn(et,"fetch",function(e){return function(...t){const{method:n,url:a}=nH(t),o={args:t,fetchData:{method:n,url:a},startTimestamp:Date.now()};return Gr("fetch",{...o}),e.apply(et,t).then(l=>{const c={...o,endTimestamp:Date.now(),response:l};return Gr("fetch",c),l},l=>{const c={...o,endTimestamp:Date.now(),error:l};throw Gr("fetch",c),l})}})}function cv(e,t){return!!e&&typeof e=="object"&&!!e[t]}function $w(e){return typeof e=="string"?e:e?cv(e,"url")?e.url:e.toString?e.toString():"":""}function nH(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,a]=e;return{url:$w(n),method:cv(a,"method")?String(a.method).toUpperCase():"GET"}}const t=e[0];return{url:$w(t),method:cv(t,"method")?String(t.method).toUpperCase():"GET"}}let Ef=null;function RO(e){const t="error";Bo(t,e),Ho(t,rH)}function rH(){Ef=et.onerror,et.onerror=function(e,t,n,a,o){return Gr("error",{column:a,error:o,line:n,msg:e,url:t}),Ef&&!Ef.__SENTRY_LOADER__?Ef.apply(this,arguments):!1},et.onerror.__SENTRY_INSTRUMENTED__=!0}let wf=null;function CO(e){const t="unhandledrejection";Bo(t,e),Ho(t,aH)}function aH(){wf=et.onunhandledrejection,et.onunhandledrejection=function(e){return Gr("unhandledrejection",e),wf&&!wf.__SENTRY_LOADER__?wf.apply(this,arguments):!0},et.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Tf=Nb();function iH(){const e=Tf.chrome,t=e&&e.app&&e.app.runtime,n="history"in Tf&&!!Tf.history.pushState&&!!Tf.history.replaceState;return!t&&n}const Wc=et;let Rf;function ih(e){const t="history";Bo(t,e),Ho(t,oH)}function oH(){if(!iH())return;const e=Wc.onpopstate;Wc.onpopstate=function(...n){const a=Wc.location.href,o=Rf;if(Rf=a,Gr("history",{from:o,to:a}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...a){const o=a.length>2?a[2]:void 0;if(o){const l=Rf,c=String(o);Rf=c,Gr("history",{from:l,to:c})}return n.apply(this,a)}}bn(Wc.history,"pushState",t),bn(Wc.history,"replaceState",t)}const sH=et,zi="__sentry_xhr_v3__";function Db(e){const t="xhr";Bo(t,e),Ho(t,lH)}function lH(){if(!sH.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;bn(e,"open",function(t){return function(...n){const a=Date.now(),o=ga(n[0])?n[0].toUpperCase():void 0,l=cH(n[1]);if(!o||!l)return t.apply(this,n);this[zi]={method:o,url:l,request_headers:{}},o==="POST"&&l.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const c=()=>{const d=this[zi];if(d&&this.readyState===4){try{d.status_code=this.status}catch{}const f={args:[o,l],endTimestamp:Date.now(),startTimestamp:a,xhr:this};Gr("xhr",f)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?bn(this,"onreadystatechange",function(d){return function(...f){return c(),d.apply(this,f)}}):this.addEventListener("readystatechange",c),bn(this,"setRequestHeader",function(d){return function(...f){const[p,m]=f,y=this[zi];return y&&ga(p)&&ga(m)&&(y.request_headers[p.toLowerCase()]=m),d.apply(this,f)}}),t.apply(this,n)}}),bn(e,"send",function(t){return function(...n){const a=this[zi];if(!a)return t.apply(this,n);n[0]!==void 0&&(a.body=n[0]);const o={args:[a.method,a.url],startTimestamp:Date.now(),xhr:this};return Gr("xhr",o),t.apply(this,n)}})}function cH(e){if(ga(e))return e;try{return e.toString()}catch{}}function uH(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function dH(){return"npm"}function fH(){return!uH()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}
268function Bw(){return typeof window<"u"&&(!fH()||pH())}function pH(){return et.process!==void 0&&et.process.type==="renderer"}function hH(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(o){if(e)return t.has(o)?!0:(t.add(o),!1);for(let l=0;l<t.length;l++)if(t[l]===o)return!0;return t.push(o),!1}function a(o){if(e)t.delete(o);else for(let l=0;l<t.length;l++)if(t[l]===o){t.splice(l,1);break}}return[n,a]}function la(e,t=100,n=1/0){try{return uv("",e,t,n)}catch(a){return{ERROR:`**non-serializable** (${a})`}}}function OO(e,t=3,n=100*1024){const a=la(e,t);return vH(a)>n?OO(e,t-1,n):a}function uv(e,t,n=1/0,a=1/0,o=hH()){const[l,c]=o;if(t==null||["number","boolean","string"].includes(typeof t)&&!pO(t))return t;const d=mH(e,t);if(!d.startsWith("[object "))return d;if(t.__sentry_skip_normalization__)return t;const f=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(f===0)return d.replace("object ","");if(l(t))return"[Circular ~]";const p=t;if(p&&typeof p.toJSON=="function")try{const x=p.toJSON();return uv("",x,f-1,a,o)}catch{}const m=Array.isArray(t)?[]:{};let y=0;const b=bO(t);for(const x in b){if(!Object.prototype.hasOwnProperty.call(b,x))continue;if(y>=a){m[x]="[MaxProperties ~]";break}const E=b[x];m[x]=uv(x,E,f-1,a,o),y++}return c(t),m}function mH(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(hO(t))return"[VueViewModel]";if(C8(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${Qa(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=gH(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function gH(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function yH(e){return~-encodeURI(e).split(/%..|./).length}function vH(e){return yH(JSON.stringify(e))}var Ba;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const a=2;e[e.REJECTED=a]="REJECTED"})(Ba||(Ba={}));function dl(e){return new cr(t=>{t(e)})}function Lb(e){return new cr((t,n)=>{n(e)})}class cr{constructor(t){cr.prototype.__init.call(this),cr.prototype.__init2.call(this),cr.prototype.__init3.call(this),cr.prototype.__init4.call(this),this._state=Ba.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new cr((a,o)=>{this._handlers.push([!1,l=>{if(!t)a(l);else try{a(t(l))}catch(c){o(c)}},l=>{if(!n)o(l);else try{a(n(l))}catch(c){o(c)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new cr((n,a)=>{let o,l;return this.then(c=>{l=!1,o=c,t&&t()},c=>{l=!0,o=c,t&&t()}).then(()=>{if(l){a(o);return}n(o)})})}__init(){this._resolve=t=>{this._setResult(Ba.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(Ba.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===Ba.PENDING){if(ah(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Ba.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Ba.RESOLVED&&n[1](this._value),this._state===Ba.REJECTED&&n[2](this._value),n[0]=!0)})}}}function bH(e){const t=[];function n(){return e===void 0||t.length<e}function a(c){return t.splice(t.indexOf(c),1)[0]}function o(c){if(!n())return Lb(new ua("Not adding Promise because buffer limit was reached."));const d=c();return t.indexOf(d)===-1&&t.push(d),d.then(()=>a(d)).then(null,()=>a(d).then(null,()=>{})),d}function l(c){return new cr((d,f)=>{let p=t.length;if(!p)return d(!0);const m=setTimeout(()=>{c&&c>0&&d(!1)},c);t.forEach(y=>{dl(y).then(()=>{--p||(clearTimeout(m),d(!0))},f)})})}return{$:t,add:o,drain:l}}function Vf(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",a=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:a,relative:t[5]+n+a}}const SH=["fatal","error","warning","log","info","debug"];function xH(e){return e==="warn"?"warning":SH.includes(e)?e:"log"}const AO=1e3;function Bu(){return Date.now()/AO}function _H(){const{performance:e}=et;if(!e||!e.now)return Bu;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/AO}const Hu=_H(),hr=(()=>{const{performance:e}=et;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),a=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-a):t,l=o<t,c=e.timing&&e.timing.navigationStart,f=typeof c=="number"?Math.abs(c+n-a):t,p=f<t;return l||p?o<=f?e.timeOrigin:c:a})(),dv="baggage",NO="sentry-",EH=/^sentry-/,wH=8192;function TH(e){if(!ga(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((a,o)=>{const l=Hw(o);for(const c of Object.keys(l))a[c]=l[c];return a},{});else{if(!e)return;t=Hw(e)}const n=Object.entries(t).reduce((a,[o,l])=>{if(o.match(EH)){const c=o.slice(NO.length);a[c]=l}return a},{});if(Object.keys(n).length>0)return n}function kO(e){if(!e)return;const t=Object.entries(e).reduce((n,[a,o])=>(o&&(n[`${NO}${a}`]=o),n),{});return RH(t)}function Hw(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,a])=>(t[n]=a,t),{})}function RH(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,a],o)=>{const l=`${encodeURIComponent(n)}=${encodeURIComponent(a)}`,c=o===0?l:`${t},${l}`;return c.length>wH?(Ll&&J.warn(`Not adding key: ${n} with val: ${a} to baggage header due to exceeding baggage size limits.`),t):c},"")}const CH=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function OH(e){if(!e)return;const t=e.match(CH);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function AH(e,t){const n=OH(e),a=TH(t),{traceId:o,parentSpanId:l,parentSampled:c}=n||{};return n?{traceId:o||Wt(),parentSpanId:l||Wt().substring(16),spanId:Wt().substring(16),sampled:c,dsc:a||{}}:{traceId:o||Wt(),spanId:Wt().substring(16)}}function Ib(e=Wt(),t=Wt().substring(16),n){let a="";return n!==void 0&&(a=n?"-1":"-0"),`${e}-${t}${a}`}function Vi(e,t=[]){return[e,t]}function NH(e,t){const[n,a]=e;return[n,[...a,t]]}function Fw(e,t){const n=e[1];for(const a of n){const o=a[0].type;if(t(a,o))return!0}return!1}function fv(e,t){return(t||new TextEncoder).encode(e)}function kH(e,t){const[n,a]=e;let o=JSON.stringify(n);
268function l(c){typeof o=="string"?o=typeof c=="string"?o+c:[fv(o,t),c]:o.push(typeof c=="string"?fv(c,t):c)}for(const c of a){const[d,f]=c;if(l(` 269${JSON.stringify(d)} 270`),typeof f=="string"||f instanceof Uint8Array)l(f);else{let p;try{p=JSON.stringify(f)}catch{p=JSON.stringify(la(f))}l(p)}}return typeof o=="string"?o:MH(o)}function MH(e){const t=e.reduce((o,l)=>o+l.length,0),n=new Uint8Array(t);let a=0;for(const o of e)n.set(o,a),a+=o.length;return n}function DH(e,t){const n=typeof e.data=="string"?fv(e.data,t):e.data;return[Pn({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const LH={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"statsd"};function qw(e){return LH[e]}function jb(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function MO(e,t,n,a){const o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&a&&{dsn:Il(a)},...o&&{trace:Pn({...o})}}}function IH(e,t,n){const a=[{type:"client_report"},{timestamp:Bu(),discarded_events:e}];return Vi(t?{dsn:t}:{},[a])}const jH=60*1e3;function UH(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const a=Date.parse(`${e}`);return isNaN(a)?jH:a-t}function zH(e,t){return e[t]||e.all||0}function DO(e,t,n=Date.now()){return zH(e,t)>n}function LO(e,{statusCode:t,headers:n},a=Date.now()){const o={...e},l=n&&n["x-sentry-rate-limits"],c=n&&n["retry-after"];if(l)for(const d of l.trim().split(",")){const[f,p]=d.split(":",2),m=parseInt(f,10),y=(isNaN(m)?60:m)*1e3;if(!p)o.all=a+y;else for(const b of p.split(";"))o[b]=a+y}else c?o.all=a+UH(c,a):t===429&&(o.all=a+60*1e3);return o}function PH(e,t){return e??t()}function my(e){let t,n=e[0],a=1;for(;a<e.length;){const o=e[a],l=e[a+1];if(a+=2,(o==="optionalAccess"||o==="optionalCall")&&n==null)return;o==="access"||o==="optionalAccess"?(t=n,n=l(n)):(o==="call"||o==="optionalCall")&&(n=l((...c)=>n.call(t,...c)),t=void 0)}return n}const we=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,oh="production";function Ub(){return mO("globalEventProcessors",()=>[])}function $H(e){Ub().push(e)}function fp(e,t,n,a=0){return new cr((o,l)=>{const c=e[a];if(t===null||typeof c!="function")o(t);else{const d=c({...t},n);we&&c.id&&d===null&&J.log(`Event processor "${c.id}" dropped event`),ah(d)?d.then(f=>fp(e,f,n,a+1).then(o)).then(null,l):fp(e,d,n,a+1).then(o).then(null,l)}})}function IO(e){const t=Hu(),n={sid:Wt(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>BH(n)};return e&&Lo(n,e),n}function Lo(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Hu(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Wt()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function jO(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Lo(e,n)}function BH(e){return Pn({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const HH=0,UO=1;function zb(e){const{spanId:t,traceId:n}=e.spanContext(),{data:a,op:o,parent_span_id:l,status:c,tags:d,origin:f}=Zt(e);return Pn({data:a,op:o,parent_span_id:l,span_id:t,status:c,tags:d,trace_id:n,origin:f})}function sh(e){const{traceId:t,spanId:n}=e.spanContext(),a=Pb(e);return Ib(t,n,a)}function lh(e){return typeof e=="number"?Gw(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Gw(e.getTime()):Hu()}function Gw(e){return e>9999999999?e/1e3:e}function Zt(e){return FH(e)?e.getSpanJSON():typeof e.toJSON=="function"?e.toJSON():{}}function FH(e){return typeof e.getSpanJSON=="function"}function Pb(e){const{traceFlags:t}=e.spanContext();return!!(t&UO)}function zO(e,t,n,a,o,l){const{normalizeDepth:c=3,normalizeMaxBreadth:d=1e3}=e,f={...t,event_id:t.event_id||n.event_id||Wt(),timestamp:t.timestamp||Bu()},p=n.integrations||e.integrations.map(C=>C.name);qH(f,e),VH(f,p),t.type===void 0&&GH(f,e.stackParser);const m=KH(a,n.captureContext);n.mechanism&&mu(f,n.mechanism);const y=o&&o.getEventProcessors?o.getEventProcessors():[],b=aF().getScopeData();if(l){const C=l.getScopeData();Kw(b,C)}if(m){const C=m.getScopeData();Kw(b,C)}const x=[...n.attachments||[],...b.attachments];
270x.length&&(n.attachments=x),HO(f,b);const E=[...y,...Ub(),...b.eventProcessors];return fp(E,f,n).then(C=>(C&&WH(C),typeof c=="number"&&c>0?YH(C,c,d):C))}function qH(e,t){const{environment:n,release:a,dist:o,maxValueLength:l=250}=t;"environment"in e||(e.environment="environment"in t?n:oh),e.release===void 0&&a!==void 0&&(e.release=a),e.dist===void 0&&o!==void 0&&(e.dist=o),e.message&&(e.message=Js(e.message,l));const c=e.exception&&e.exception.values&&e.exception.values[0];c&&c.value&&(c.value=Js(c.value,l));const d=e.request;d&&d.url&&(d.url=Js(d.url,l))}const Ww=new WeakMap;function GH(e,t){const n=et._sentryDebugIds;if(!n)return;let a;const o=Ww.get(t);o?a=o:(a=new Map,Ww.set(t,a));const l=Object.keys(n).reduce((c,d)=>{let f;const p=a.get(d);p?f=p:(f=t(d),a.set(d,f));for(let m=f.length-1;m>=0;m--){const y=f[m];if(y.filename){c[y.filename]=n[d];break}}return c},{});try{e.exception.values.forEach(c=>{c.stacktrace.frames.forEach(d=>{d.filename&&(d.debug_id=l[d.filename])})})}catch{}}function WH(e){const t={};try{e.exception.values.forEach(a=>{a.stacktrace.frames.forEach(o=>{o.debug_id&&(o.abs_path?t[o.abs_path]=o.debug_id:o.filename&&(t[o.filename]=o.debug_id),delete o.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach(a=>{n.push({type:"sourcemap",code_file:a,debug_id:t[a]})})}function VH(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function YH(e,t,n){if(!e)return null;const a={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(o=>({...o,...o.data&&{data:la(o.data,t,n)}}))},...e.user&&{user:la(e.user,t,n)},...e.contexts&&{contexts:la(e.contexts,t,n)},...e.extra&&{extra:la(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&a.contexts&&(a.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(a.contexts.trace.data=la(e.contexts.trace.data,t,n))),e.spans&&(a.spans=e.spans.map(o=>{const l=Zt(o).data;return l&&(o.data=la(l,t,n)),o})),a}function KH(e,t){if(!t)return e;const n=e?e.clone():new Pi;return n.update(t),n}function $b(e,t){return Bn().captureException(e,void 0)}function PO(e,t){return Bn().captureEvent(e,t)}function qi(e,t){Bn().addBreadcrumb(e,t)}function XH(e,t){Bn().setContext(e,t)}function QH(...e){const t=Bn();if(e.length===2){const[n,a]=e;return n?t.withScope(()=>(t.getStackTop().scope=n,a(n))):t.withScope(a)}return t.withScope(e[0])}function mt(){return Bn().getClient()}function gr(){return Bn().getScope()}function Vw(e){const t=mt(),n=Yi(),a=gr(),{release:o,environment:l=oh}=t&&t.getOptions()||{},{userAgent:c}=et.navigator||{},d=IO({release:o,environment:l,user:a.getUser()||n.getUser(),...c&&{userAgent:c},...e}),f=n.getSession();return f&&f.status==="ok"&&Lo(f,{status:"exited"}),$O(),n.setSession(d),a.setSession(d),d}function $O(){const e=Yi(),t=gr(),n=t.getSession()||e.getSession();n&&jO(n),BO(),e.setSession(),t.setSession()}function BO(){const e=Yi(),t=gr(),n=mt(),a=t.getSession()||e.getSession();a&&n&&n.captureSession&&n.captureSession(a)}function Yw(e=!1){if(e){$O();return}BO()}function pp(e){return e.transaction}function ch(e,t,n){const a=t.getOptions(),{publicKey:o}=t.getDsn()||{},{segment:l}=n&&n.getUser()||{},c=Pn({environment:a.environment||oh,release:a.release,user_segment:l,public_key:o,trace_id:e});return t.emit&&t.emit("createDsc",c),c}function fl(e){const t=mt();if(!t)return{};const n=ch(Zt(e).trace_id||"",t,gr()),a=pp(e);if(!a)return n;const o=a&&a._frozenDynamicSamplingContext;if(o)return o;const{sampleRate:l,source:c}=a.metadata;l!=null&&(n.sample_rate=`${l}`);const d=Zt(a);return c&&c!=="url"&&(n.transaction=d.description),n.sampled=String(Pb(a)),t.emit&&t.emit("createDsc",n),n}function HO(e,t){const{fingerprint:n,span:a,breadcrumbs:o,sdkProcessingMetadata:l}=t;ZH(e,t),a&&tF(e,a),nF(e,n),JH(e,o),eF(e,l)}function Kw(e,t){const{extra:n,tags:a,user:o,contexts:l,level:c,sdkProcessingMetadata:d,breadcrumbs:f,fingerprint:p,eventProcessors:m,attachments:y,propagationContext:b,transactionName:x,span:E}=t;Vc(e,"extra",n),Vc(e,"tags",a),Vc(e,"user",o),Vc(e,"contexts",l),Vc(e,"sdkProcessingMetadata",d),c&&(e.level=c),x&&(e.transactionName=x),E&&(e.span=E),f.length&&(e.breadcrumbs=[...e.breadcrumbs,...f]),p.length&&(e.fingerprint=[...e.fingerprint,...p]),m.length&&(e.eventProcessors=[...e.eventProcessors,...m]),y.length&&(e.attachments=[...e.attachments,...y]),e.propagationContext={...e.propagationContext,...b}}function Vc(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[t][a]=n[a])}}function ZH(e,t){const{extra:n,tags:a,user:o,contexts:l,level:c,transactionName:d}=t,f=Pn(n);f&&Object.keys(f).length&&(e.extra={...f,...e.extra});const p=Pn(a);p&&Object.keys(p).length&&(e.tags={...p,...e.tags});const m=Pn(o);m&&Object.keys(m).length&&(e.user={...m,...e.user});const y=Pn(l);y&&Object.keys(y).length&&(e.contexts={...y,...e.contexts}),c&&(e.level=c),d&&(e.transaction=d)}function JH(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function eF(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function tF(e,t){e.contexts={trace:zb(t),...e.contexts};const n=pp(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:fl(t),...e.sdkProcessingMetadata};const a=Zt(n).description;a&&(e.tags={transaction:a,...e.tags})}}function nF(e,t){e.fingerprint=e.fingerprint?EO(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}const rF=100;let gy;class Pi{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Xw()}static clone(t){return t?t.clone():new Pi}clone(){const t=new Pi;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&Lo(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this._span;return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t;
270if(n instanceof Pi){const a=n.getScopeData();this._tags={...this._tags,...a.tags},this._extra={...this._extra,...a.extra},this._contexts={...this._contexts,...a.contexts},a.user&&Object.keys(a.user).length&&(this._user=a.user),a.level&&(this._level=a.level),a.fingerprint.length&&(this._fingerprint=a.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),a.propagationContext&&(this._propagationContext=a.propagationContext)}else if(ul(n)){const a=t;this._tags={...this._tags,...a.tags},this._extra={...this._extra,...a.extra},this._contexts={...this._contexts,...a.contexts},a.user&&(this._user=a.user),a.level&&(this._level=a.level),a.fingerprint&&(this._fingerprint=a.fingerprint),a.requestSession&&(this._requestSession=a.requestSession),a.propagationContext&&(this._propagationContext=a.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=Xw(),this}addBreadcrumb(t,n){const a=typeof n=="number"?n:rF;if(a<=0)return this;const o={timestamp:Bu(),...t},l=this._breadcrumbs;return l.push(o),this._breadcrumbs=l.length>a?l.slice(-a):l,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:t,_attachments:n,_contexts:a,_tags:o,_extra:l,_user:c,_level:d,_fingerprint:f,_eventProcessors:p,_propagationContext:m,_sdkProcessingMetadata:y,_transactionName:b,_span:x}=this;return{breadcrumbs:t,attachments:n,contexts:a,tags:o,extra:l,user:c,level:d,fingerprint:f||[],eventProcessors:p,propagationContext:m,sdkProcessingMetadata:y,transactionName:b,span:x}}applyToEvent(t,n={},a=[]){HO(t,this.getScopeData());const o=[...a,...Ub(),...this._eventProcessors];return fp(o,t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const a=n&&n.event_id?n.event_id:Wt();if(!this._client)return J.warn("No client configured on scope - will not capture exception!"),a;const o=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:o,...n,event_id:a},this),a}captureMessage(t,n,a){const o=a&&a.event_id?a.event_id:Wt();if(!this._client)return J.warn("No client configured on scope - will not capture message!"),o;const l=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:l,...a,event_id:o},this),o}captureEvent(t,n){const a=n&&n.event_id?n.event_id:Wt();return this._client?(this._client.captureEvent(t,{...n,event_id:a},this),a):(J.warn("No client configured on scope - will not capture event!"),a)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function aF(){return gy||(gy=new Pi),gy}function Xw(){return{traceId:Wt(),spanId:Wt().substring(16)}}const pv="7.109.0",FO=parseFloat(pv),iF=100;class qO{constructor(t,n,a,o=FO){this._version=o;let l;n?l=n:(l=new Pi,l.setClient(t));let c;a?c=a:(c=new Pi,c.setClient(t)),this._stack=[{scope:l}],t&&this.bindClient(t),this._isolationScope=c}isOlderThan(t){return this._version<t}bindClient(t){const n=this.getStackTop();n.client=t,n.scope.setClient(t),t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){const n=this.pushScope();let a;try{a=t(n)}catch(o){throw this.popScope(),o}return ah(a)?a.then(o=>(this.popScope(),o),o=>{throw this.popScope(),o}):(this.popScope(),a)}
270getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){const a=this._lastEventId=n&&n.event_id?n.event_id:Wt(),o=new Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:o,...n,event_id:a}),a}captureMessage(t,n,a){const o=this._lastEventId=a&&a.event_id?a.event_id:Wt(),l=new Error(t);return this.getScope().captureMessage(t,n,{originalException:t,syntheticException:l,...a,event_id:o}),o}captureEvent(t,n){const a=n&&n.event_id?n.event_id:Wt();return t.type||(this._lastEventId=a),this.getScope().captureEvent(t,{...n,event_id:a}),a}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:a,client:o}=this.getStackTop();if(!o)return;const{beforeBreadcrumb:l=null,maxBreadcrumbs:c=iF}=o.getOptions&&o.getOptions()||{};if(c<=0)return;const f={timestamp:Bu(),...t},p=l?Mo(()=>l(f,n)):f;p!==null&&(o.emit&&o.emit("beforeAddBreadcrumb",p,n),a.addBreadcrumb(p,c))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n),this.getIsolationScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n),this.getIsolationScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n),this.getIsolationScope().setContext(t,n)}configureScope(t){const{scope:n,client:a}=this.getStackTop();a&&t(n)}run(t){const n=Qw(this);try{t(this)}finally{Qw(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return we&&J.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const a=this._callExtensionMethod("startTransaction",t,n);return we&&!a&&(this.getClient()?J.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': 271Sentry.addTracingExtensions(); 272Sentry.init({...}); 273`):J.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),a}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,a=n.getSession();a&&jO(a),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:a}=this.getStackTop(),{release:o,environment:l=oh}=a&&a.getOptions()||{},{userAgent:c}=et.navigator||{},d=IO({release:o,environment:l,user:n.getUser(),...c&&{userAgent:c},...t}),f=n.getSession&&n.getSession();return f&&f.status==="ok"&&Lo(f,{status:"exited"}),this.endSession(),n.setSession(d),d}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),a=t.getSession();a&&n&&n.captureSession&&n.captureSession(a)}_callExtensionMethod(t,...n){const o=Fu().__SENTRY__;if(o&&o.extensions&&typeof o.extensions[t]=="function")return o.extensions[t].apply(this,n);we&&J.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function Fu(){return et.__SENTRY__=et.__SENTRY__||{extensions:{},hub:void 0},et}function Qw(e){const t=Fu(),n=hv(t);return GO(t,e),n}function Bn(){const e=Fu();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return oF(e)}function Yi(){return Bn().getIsolationScope()}function oF(e=Fu()){return(!sF(e)||hv(e).isOlderThan(FO))&&GO(e,new qO),hv(e)}function sF(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function hv(e){return mO("hub",()=>new qO,e)}function GO(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function Fo(e){return Bn().getScope().getTransaction()}let Zw=!1;function lF(){Zw||(Zw=!0,RO(mv),CO(mv))}function mv(){const e=Fo();if(e){const t="internal_error";we&&J.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}mv.tag="sentry_tracingErrorCallback";var Jw;(function(e){const t="ok";e.Ok=t;const n="deadline_exceeded";e.DeadlineExceeded=n;const a="unauthenticated";e.Unauthenticated=a;const o="permission_denied";e.PermissionDenied=o;const l="not_found";e.NotFound=l;const c="resource_exhausted";e.ResourceExhausted=c;const d="invalid_argument";e.InvalidArgument=d;const f="unimplemented";e.Unimplemented=f;const p="unavailable";e.Unavailable=p;const m="internal_error";e.InternalError=m;const y="unknown_error";e.UnknownError=y;const b="cancelled";e.Cancelled=b;const x="already_exists";e.AlreadyExists=x;const E="failed_precondition";e.FailedPrecondition=E;const S="aborted";e.Aborted=S;const C="out_of_range";e.OutOfRange=C;const R="data_loss";e.DataLoss=R})(Jw||(Jw={}));function cF(e){if(e<400&&e>=100)return"ok";if(e>
273=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}function Bb(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);const n=cF(t);n!=="unknown_error"&&e.setStatus(n)}function jl(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=mt(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function WO(e){if(!jl())return;const t=dF(e),n=Bn(),a=e.scope?e.scope.getSpan():Hb();if(e.onlyIfParent&&!a)return;const c=(e.scope||gr()).clone();return uF(n,{parentSpan:a,spanContext:t,forceTransaction:e.forceTransaction,scope:c})}function Hb(){return gr().getSpan()}function uF(e,{parentSpan:t,spanContext:n,forceTransaction:a,scope:o}){if(!jl())return;const l=Yi();let c;if(t&&!a)c=t.startChild(n);else if(t){const d=fl(t),{traceId:f,spanId:p}=t.spanContext(),m=Pb(t);c=e.startTransaction({traceId:f,parentSpanId:p,parentSampled:m,...n,metadata:{dynamicSamplingContext:d,...n.metadata}})}else{const{traceId:d,dsc:f,parentSpanId:p,sampled:m}={...l.getPropagationContext(),...o.getPropagationContext()};c=e.startTransaction({traceId:d,parentSpanId:p,parentSampled:m,...n,metadata:{dynamicSamplingContext:f,...n.metadata}})}return o.setSpan(c),fF(c,o,l),c}function dF(e){if(e.startTime){const t={...e};return t.startTimestamp=lh(e.startTime),delete t.startTime,t}return e}const VO="_sentryScope",YO="_sentryIsolationScope";function fF(e,t,n){e&&(Do(e,YO,n),Do(e,VO,t))}function pF(e){return{scope:e[VO],isolationScope:e[YO]}}const Va="sentry.source",qs="sentry.sample_rate",Cf="sentry.op",Gs="sentry.origin",hF="profile_id";class KO{constructor(t=1e3){this._maxlen=t,this.spans=[]}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class uh{constructor(t={}){this._traceId=t.traceId||Wt(),this._spanId=t.spanId||Wt().substring(16),this._startTime=t.startTimestamp||Hu(),this.tags=t.tags?{...t.tags}:{},this.data=t.data?{...t.data}:{},this.instrumenter=t.instrumenter||"sentry",this._attributes={},this.setAttributes({[Gs]:t.origin||"manual",[Cf]:t.op,...t.attributes}),this._name=t.name||t.description,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.status&&(this._status=t.status),t.endTimestamp&&(this._endTime=t.endTimestamp),t.exclusiveTime&&(this._exclusiveTime=t.exclusiveTime),this._measurements=t.measurements?{...t.measurements}:{}}get name(){return this._name||""}set name(t){this.updateName(t)}get description(){return this._name}set description(t){this._name=t}get traceId(){return this._traceId}set traceId(t){this._traceId=t}get spanId(){return this._spanId}set spanId(t){this._spanId=t}set parentSpanId(t){this._parentSpanId=t}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(t){this._sampled=t}get attributes(){return this._attributes}set attributes(t){this._attributes=t}get startTimestamp(){return this._startTime}set startTimestamp(t){this._startTime=t}get endTimestamp(){return this._endTime}set endTimestamp(t){this._endTime=t}get status(){return this._status}set status(t){this._status=t}get op(){return this._attributes[Cf]}set op(t){this.setAttribute(Cf,t)}get origin(){return this._attributes[Gs]}set origin(t){this.setAttribute(Gs,t)}spanContext(){const{_spanId:t,_traceId:n,_sampled:a}=this;return{spanId:t,traceId:n,traceFlags:a?UO:HH}}startChild(t){const n=new uh({...t,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n);const a=pp(this);if(n.transaction=a,we&&a){const o=t&&t.op||"< unknown op >",l=Zt(n).description||"< unknown name >",c=a.spanContext().spanId,d=`[Tracing] Starting '${o}' span on transaction '${l}' (${c}).`;J.log(d),this._logMessage=d}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setAttribute(t,n){n===void 0?delete this._attributes[t]:this._attributes[t]=n}setAttributes(t){Object.keys(t).forEach(n=>this.setAttribute(n,t[n]))}setStatus(t){return this._status=t,this}setHttpStatus(t){return Bb(this,t),this}setName(t){this.updateName(t)}updateName(t){return this._name=t,this}isSuccess(){return this._status==="ok"}finish(t){return this.end(t)}end(t){if(this._endTime)return;const n=pp(this);if(we&&n&&n.spanContext().spanId!==this._spanId){const a=this._logMessage;a&&J.log(a.replace("Starting","Finishing"))}this._endTime=lh(t)}toTraceparent(){return sh(this)}toContext(){return Pn({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(t){return this.data=t.data||{},this._name=t.name||t.description,this._endTime=t.endTimestamp,this.op=t.op,this._parentSpanId=t.parentSpanId,this._sampled=t.sampled,this._spanId=t.spanId||this._spanId,this._startTime=t.startTimestamp||this._startTime,this._status=t.status,this.tags=t.tags||{},this._traceId=t.traceId||this._traceId,this}getTraceContext(){return zb(this)}getSpanJSON(){return Pn({data:this._getData(),description:this._name,op:this._attributes[Cf],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Gs],_metrics_summary:void 0,profile_id:this._attributes[hF],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}
273toJSON(){return this.getSpanJSON()}_getData(){const{data:t,_attributes:n}=this,a=Object.keys(t).length>0,o=Object.keys(n).length>0;if(!(!a&&!o))return a&&o?{...t,...n}:a?t:n}}class XO extends uh{constructor(t,n){super(t),this._contexts={},this._hub=n||Bn(),this._name=t.name||"",this._metadata={...t.metadata},this._trimEnd=t.trimEnd,this.transaction=this;const a=this._metadata.dynamicSamplingContext;a&&(this._frozenDynamicSamplingContext={...a})}get name(){return this._name}set name(t){this.setName(t)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[Va]&&{source:this._attributes[Va]},...this._attributes[qs]&&{sampleRate:this._attributes[qs]}}}set metadata(t){this._metadata=t}setName(t,n="custom"){this._name=t,this.setAttribute(Va,n)}updateName(t){return this._name=t,this}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new KO(t)),this.spanRecorder.add(this)}setContext(t,n){n===null?delete this._contexts[t]:this._contexts[t]=n}setMeasurement(t,n,a=""){this._measurements[t]={value:n,unit:a}}setMetadata(t){this._metadata={...this._metadata,...t}}end(t){const n=lh(t),a=this._finishTransaction(n);if(a)return this._hub.captureEvent(a)}toContext(){const t=super.toContext();return Pn({...t,name:this._name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this._name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){return fl(this)}setHub(t){this._hub=t}getProfileId(){if(this._contexts!==void 0&&this._contexts.profile!==void 0)return this._contexts.profile.profile_id}_finishTransaction(t){if(this._endTime!==void 0)return;this._name||(we&&J.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>"),super.end(t);const n=this._hub.getClient();if(n&&n.emit&&n.emit("finishTransaction",this),this._sampled!==!0){we&&J.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}const a=this.spanRecorder?this.spanRecorder.spans.filter(m=>m!==this&&Zt(m).timestamp):[];if(this._trimEnd&&a.length>0){const m=a.map(y=>Zt(y).timestamp).filter(Boolean);this._endTime=m.reduce((y,b)=>y>b?y:b)}const{scope:o,isolationScope:l}=pF(this),{metadata:c}=this,{source:d}=c,f={contexts:{...this._contexts,trace:zb(this)},spans:a,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...c,capturedSpanScope:o,capturedSpanIsolationScope:l,...Pn({dynamicSamplingContext:fl(this)})},_metrics_summary:void 0,...d&&{transaction_info:{source:d}}};return Object.keys(this._measurements).length>0&&(we&&J.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),f.measurements=this._measurements),we&&J.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),f}}const Yf={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},mF="finishReason",zs=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class gF extends KO{constructor(t,n,a,o){super(o),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=a}add(t){if(t.spanContext().spanId!==this.transactionSpanId){const n=t.end;t.end=(...a)=>(this._popActivity(t.spanContext().spanId),n.apply(t,a)),Zt(t).timestamp===void 0&&this._pushActivity(t.spanContext().spanId)}super.add(t)}}class yF extends XO{constructor(t,n,a=Yf.idleTimeout,o=Yf.finalTimeout,l=Yf.heartbeatInterval,c=!1,d=!1){super(t,n),this._idleHub=n,this._idleTimeout=a,this._finalTimeout=o,this._heartbeatInterval=l,this._onScope=c,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=zs[4],this._autoFinishAllowed=!d,c&&(we&&J.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),n.getScope().setSpan(this)),d||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=zs[3],this.end())},this._finalTimeout)}end(t){const n=lh(t);
273if(this._finished=!0,this.activities={},this.op==="ui.action.click"&&this.setAttribute(mF,this._finishReason),this.spanRecorder){we&&J.log("[Tracing] finishing IdleTransaction",new Date(n*1e3).toISOString(),this.op);for(const a of this._beforeFinishCallbacks)a(this,n);this.spanRecorder.spans=this.spanRecorder.spans.filter(a=>{if(a.spanContext().spanId===this.spanContext().spanId)return!0;Zt(a).timestamp||(a.setStatus("cancelled"),a.end(n),we&&J.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(a,void 0,2)));const{start_timestamp:o,timestamp:l}=Zt(a),c=o&&o<n,d=(this._finalTimeout+this._idleTimeout)/1e3,f=l&&o&&l-o<d;if(we){const p=JSON.stringify(a,void 0,2);c?f||J.log("[Tracing] discarding Span since it finished after Transaction final timeout",p):J.log("[Tracing] discarding Span since it happened after Transaction was finished",p)}return c&&f}),we&&J.log("[Tracing] flushing IdleTransaction")}else we&&J.log("[Tracing] No active IdleTransaction");if(this._onScope){const a=this._idleHub.getScope();a.getTransaction()===this&&a.setSpan(void 0)}return super.end(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const n=o=>{this._finished||this._pushActivity(o)},a=o=>{this._finished||this._popActivity(o)};this.spanRecorder=new gF(n,a,this.spanContext().spanId,t),we&&J.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:n}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=n===!1,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&(this._finishReason=zs[5],this.end(t)))}setFinishReason(t){this._finishReason=t}sendAutoFinishSignal(){this._autoFinishAllowed||(we&&J.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&(this._finishReason=zs[1],this.end(t))},this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),we&&J.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,we&&J.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(we&&J.log(`[Tracing] popActivity ${t}`),delete this.activities[t],we&&J.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const n=Hu();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=zs[5],this.end(n)):this._restartIdleTimeout(n+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?this._autoFinishAllowed&&(we&&J.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=zs[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){we&&J.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function QO(e,t,n){if(!jl(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setAttribute(qs,Number(e.sampled)),e;let a;return typeof t.tracesSampler=="function"?(a=t.tracesSampler(n),e.setAttribute(qs,Number(a))):n.parentSampled!==void 0?a=n.parentSampled:typeof t.tracesSampleRate<"u"?(a=t.tracesSampleRate,e.setAttribute(qs,Number(a))):(a=1,e.setAttribute(qs,a)),ZO(a)?a?(e.sampled=Math.random()<a,e.sampled?(we&&J.log(`[Tracing] starting ${e.op} transaction - ${Zt(e).description}`),e):(we&&J.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(a)})`),e)):(we&&J.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):(we&&J.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function ZO(e){return pO(e)||!(typeof e=="number"||typeof e=="boolean")?(we&&J.warn(`[Tracing] Given sample rate is invali
273d. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?(we&&J.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function vF(){const t=this.getScope().getSpan();return t?{"sentry-trace":sh(t)}:{}}function bF(e,t){const n=this.getClient(),a=n&&n.getOptions()||{},o=a.instrumenter||"sentry",l=e.instrumenter||"sentry";o!==l&&(we&&J.error(`A transaction was started with instrumenter=\`${l}\`, but the SDK is configured with the \`${o}\` instrumenter. 274The transaction will not be sampled. Please use the ${o} instrumentation to start transactions.`),e.sampled=!1);let c=new XO(e,this);return c=QO(c,a,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t}),c.isRecording()&&c.initSpanRecorder(a._experiments&&a._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",c),c}function JO(e,t,n,a,o,l,c,d=!1){const f=e.getClient(),p=f&&f.getOptions()||{};let m=new yF(t,e,n,a,c,o,d);return m=QO(m,p,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...l}),m.isRecording()&&m.initSpanRecorder(p._experiments&&p._experiments.maxSpans),f&&f.emit&&f.emit("startTransaction",m),m}function SF(){const e=Fu();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=bF),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=vF),lF())}function xF(e,t,n){const a=Fo();a&&a.setMeasurement(e,t,n)}function _F(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function EF(e,t,n,a){const o=jb(n),l={sent_at:new Date().toISOString(),...o&&{sdk:o},...!!a&&t&&{dsn:Il(t)}},c="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Vi(l,[c])}function wF(e,t,n,a){const o=jb(n),l=e.type&&e.type!=="replay_event"?e.type:"event";_F(e,n&&n.sdk);const c=MO(e,o,a,t);return delete e.sdkProcessingMetadata,Vi(c,[[{type:l},e]])}const TF="7";function RF(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function CF(e){return`${RF(e)}${e.projectId}/envelope/`}function OF(e,t){return H8({sentry_key:e.publicKey,sentry_version:TF,...t&&{sentry_client:`${t.name}/${t.version}`}})}function AF(e,t={}){const n=typeof t=="string"?t:t.tunnel,a=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${CF(e)}?${OF(e,a)}`}const eT=[];function NF(e){const t={};return e.forEach(n=>{const{name:a}=n,o=t[a];o&&!o.isDefaultInstance&&n.isDefaultInstance||(t[a]=n)}),Object.keys(t).map(n=>t[n])}function kF(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(c=>{c.isDefaultInstance=!0});let a;Array.isArray(n)?a=[...t,...n]:typeof n=="function"?a=EO(n(t)):a=t;const o=NF(a),l=DF(o,c=>c.name==="Debug");if(l!==-1){const[c]=o.splice(l,1);o.push(c)}return o}function MF(e,t){const n={};return t.forEach(a=>{a&&eA(e,a,n)}),n}function tT(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function eA(e,t,n){if(n[t.name]){we&&J.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,eT.indexOf(t.name)===-1&&(t.setupOnce($H,Bn),eT.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),e.on&&typeof t.preprocessEvent=="function"){const a=t.preprocessEvent.bind(t);e.on("preprocessEvent",(o,l)=>a(o,l,e))}if(e.addEventProcessor&&typeof t.processEvent=="function"){const a=t.processEvent.bind(t),o=Object.assign((l,c)=>a(l,c,e),{id:t.name});e.addEventProcessor(o)}we&&J.log(`Integration installed: ${t.name}`)}function DF(e,t){for(let n=0;n<e.length;n++)if(t(e[n])===!0)return n;return-1}function Ki(e,t){return Object.assign(function(...a){return t(...a)},{id:e})}function LF(e){let t="";for(const n of e){const a=Object.entries(n.tags),o=a.length>0?`|#${a.map(([l,c])=>`${l}:${c}`).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${o}|T${n.timestamp} 275`}return t}function IF(e,t,n,a){const o={sent_at:new Date().toISOString()};n&&n.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),a&&t&&(o.dsn=Il(t));const l=jF(e);return Vi(o,[l])}function jF(e){const t=LF(e);return[{type:"statsd",length:t.length},t]}const nT="Not capturing exception because it's already been captured.";class UF{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=B8(t.dsn):we&&J.warn("No DSN provided, client will not send events."),this._dsn){const n=AF(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}}captureException(t,n,a){if(Uw(t)){we&&J.log(nT);return}let o=n&&n.event_id;return this._process(this.eventFromException(t,n).then(l=>this._captureEvent(l,n,a)).then(l=>{o=l})),o}captureMessage(t,n,a,o){let l=a&&a.event_id;const c=Ob(t)?t:String(t),d=Ab(t)?this.eventFromMessage(c,n,a):this.eventFromException(t,a);return this._process(d.then(f=>this._captureEvent(f,a,o)).then(f=>{l=f})),l}captureEvent(t,n,a){if(n&&n.originalException&&Uw(n.originalException)){we&&J.log(nT);return}let o=n&&n.event_id;const c=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,n,c||a).then(d=>{o=d})),o}captureSession(t){typeof t.release!="string"?we&&J.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Lo(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isCl
275ientDoneProcessing(t).then(a=>n.flush(t).then(o=>a&&o))):dl(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(t){return this.getIntegrationByName(t)}getIntegrationByName(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return we&&J.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){const n=this._integrations[t.name];eA(this,t,this._integrations),n||tT(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let a=wF(t,this._dsn,this._options._metadata,this._options.tunnel);for(const l of n.attachments||[])a=NH(a,DH(l,this._options.transportOptions&&this._options.transportOptions.textEncoder));const o=this._sendEnvelope(a);o&&o.then(l=>this.emit("afterSendEvent",t,l),null)}sendSession(t){const n=EF(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}recordDroppedEvent(t,n,a){if(this._options.sendClientReports){const o=`${t}:${n}`;we&&J.log(`Adding outcome: "${o}"`),this._outcomes[o]=this._outcomes[o]+1||1}}captureAggregateMetrics(t){we&&J.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);const n=IF(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}on(t,n){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(n)}emit(t,...n){this._hooks[t]&&this._hooks[t].forEach(a=>a(...n))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=MF(this,t),tT(this,t),this._integrationsInitialized=!0}_updateSessionFromEvent(t,n){let a=!1,o=!1;const l=n.exception&&n.exception.values;if(l){o=!0;for(const f of l){const p=f.mechanism;if(p&&p.handled===!1){a=!0;break}}}const c=t.status==="ok";(c&&t.errors===0||c&&a)&&(Lo(t,{...a&&{status:"crashed"},errors:t.errors||Number(o||a)}),this.captureSession(t))}_isClientDoneProcessing(t){return new cr(n=>{let a=0;const o=1,l=setInterval(()=>{this._numProcessing==0?(clearInterval(l),n(!0)):(a+=o,t&&a>=t&&(clearInterval(l),n(!1)))},o)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,a,o=Yi()){const l=this.getOptions(),c=Object.keys(this._integrations);return!n.integrations&&c.length>0&&(n.integrations=c),this.emit("preprocessEvent",t,n),zO(l,t,n,a,this,o).then(d=>{if(d===null)return d;const f={...o.getPropagationContext(),...a?a.getPropagationContext():void 0};if(!(d.contexts&&d.contexts.trace)&&f){const{traceId:m,spanId:y,parentSpanId:b,dsc:x}=f;d.contexts={trace:{trace_id:m,span_id:y,parent_span_id:b},...d.contexts};const E=x||ch(m,this,a);d.sdkProcessingMetadata={dynamicSamplingContext:E,...d.sdkProcessingMetadata}}return d})}_captureEvent(t,n={},a){return this._processEvent(t,n,a).then(o=>o.event_id,o=>{if(we){const l=o;l.logLevel==="log"?J.log(l.message):J.warn(l)}})}_processEvent(t,n,a){const o=this.getOptions(),{sampleRate:l}=o,c=nA(t),d=tA(t),f=t.type||"error",p=`before send for type \`${f}\``;if(d&&typeof l=="number"&&Math.random()>l)return this.recordDroppedEvent("sample_rate","error",t),Lb(new ua(`Discarding event because it's not included in the random sample (sampling rate = ${l})`,"log"));const m=f==="replay_event"?"replay":f,b=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,n,a,b).then(x=>{if(x===null)throw this.recordDroppedEvent("event_processor",m,t),new ua("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return x;const S=PF(o,x,n);return zF(S,p)}).then(x=>{if(x===null)throw this.recordDroppedEvent("before_send",m,t),new ua(`${p} returned \`null\`, will not send event.`,"log");const E=a&&a.getSession();!c&&E&&this._updateSessionFromEvent(E,x);const S=x.transaction_info;if(c&&S&&x.transaction!==t.transaction){const C="custom";x.transaction_info={...S,source:C}}return this.sendEvent(x,n),x}).then(null,x=>{throw x instanceof ua?x:(this.captureException(x,{data:{__sentry__:!0},originalException:x}),new ua(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 276Reason: ${x}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}
276_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,n=>{we&&J.error("Error while sending event:",n)});we&&J.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[a,o]=n.split(":");return{reason:a,category:o,quantity:t[n]}})}}function zF(e,t){const n=`${t} must return \`null\` or a valid event.`;if(ah(e))return e.then(a=>{if(!ul(a)&&a!==null)throw new ua(n);return a},a=>{throw new ua(`${t} rejected with ${a}`)});if(!ul(e)&&e!==null)throw new ua(n);return e}function PF(e,t,n){const{beforeSend:a,beforeSendTransaction:o}=e;return tA(t)&&a?a(t,n):nA(t)&&o?o(t,n):t}function tA(e){return e.type===void 0}function nA(e){return e.type==="transaction"}function $F(e){const t=mt();!t||!t.addEventProcessor||t.addEventProcessor(e)}function BF(e,t){t.debug===!0&&(we?J.enable():Mo(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),gr().update(t.initialScope);const a=new e(t);HF(a),FF(a)}function HF(e){const n=Bn().getStackTop();n.client=e,n.scope.setClient(e)}function FF(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}const qF=30;function rA(e,t,n=bH(e.bufferSize||qF)){let a={};const o=c=>n.drain(c);function l(c){const d=[];if(Fw(c,(y,b)=>{const x=qw(b);if(DO(a,x)){const E=rT(y,b);e.recordDroppedEvent("ratelimit_backoff",x,E)}else d.push(y)}),d.length===0)return dl();const f=Vi(c[0],d),p=y=>{Fw(f,(b,x)=>{const E=rT(b,x);e.recordDroppedEvent(y,qw(x),E)})},m=()=>t({body:kH(f,e.textEncoder)}).then(y=>(y.statusCode!==void 0&&(y.statusCode<200||y.statusCode>=300)&&we&&J.warn(`Sentry responded with status code ${y.statusCode} to sent event.`),a=LO(a,y),y),y=>{throw p("network_error"),y});return n.add(m).then(y=>y,y=>{if(y instanceof ua)return we&&J.error("Skipped sending event because buffer is full."),p("queue_overflow"),dl();throw y})}return l.__sentry__baseTransport__=!0,{send:l,flush:o}}function rT(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}function GF(e,t){const n={sent_at:new Date().toISOString()};t&&(n.dsn=Il(t));const a=e.map(WF);return Vi(n,a)}function WF(e){return[{type:"span"},e]}function VF(e,t){const n=t&&XF(t)?t.getClient():t,a=n&&n.getDsn(),o=n&&n.getOptions().tunnel;return KF(e,a)||YF(e,o)}function YF(e,t){return t?aT(e)===aT(t):!1}function KF(e,t){return t?e.includes(t.host):!1}function aT(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function XF(e){return e.getClient!==void 0}function aA(e,t,n=[t],a="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map(l=>({name:`${a}:@sentry/${l}`,version:pv})),version:pv}),e._metadata=o}const QF=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],ZF=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],iA="InboundFilters",JF=(e={})=>({name:iA,setupOnce(){},processEvent(t,n,a){const o=a.getOptions(),l=e9(e,o);return t9(t,l)?null:t}}),oA=JF;Ki(iA,oA);function e9(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:QF],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:ZF],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function t9(e,t){return t.ignoreInternal&&s9(e)?(we&&J.warn(`Event dropped due to being internal Sentry Error. 277Event: ${ji(e)}`),!0):n9(e,t.ignoreErrors)?(we&&J.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 278Event: ${ji(e)}`),!0):r9(e,t.ignoreTransactions)?(we&&J.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 279Event: ${ji(e)}`),!0):a9(e,t.denyUrls)?(we&&J.warn(`Event dropped due to being matched by \`denyUrls\` option. 280Event: ${ji(e)}. 281Url: ${hp(e)}`),!0):i9(e,t.allowUrls)?!1:(we&&J.warn(`Event dropped due to not being matched by \`allowUrls\` option. 282Event: ${ji(e)}. 283Url: ${hp(e)}`),!0)}function n9(e,t){return e.type||!t||!t.length?!1:o9(e).some(n=>Dl(n,t))}function r9(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?Dl(n,t):!1}function a9(e,t){if(!t||!t.length)return!1;const n=hp(e);return n?Dl(n,t):!1}function i9(e,t){if(!t||!t.length)return!0;const n=hp(e);return n?Dl(n,t):!0}function o9(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch{}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),we&&t.length===0&&J.error(`Could not extract message for event ${ji(e)}`),t}function s9(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function l9(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function hp(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?l9(t):null}catch{return we&&J.error(`Cannot extract url for event ${ji(e)}`),null}}let iT;const sA="FunctionToString",oT=new WeakMap,c9=()=>({name:sA,setupOnce(){iT=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=kb(this),n=oT.has(mt())&&t!==void 0?t:this;return iT.apply(n,e)}}catch{}},setup(e){oT.set(e,!0)}}),lA=c9;Ki(sA,lA);const Ut=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ve=et;function u9(){Ve&&Ve.document?Ve.document.addEventListener("visibilitychange",()=>{const e=Fo();if(Ve.document.hidden&&e){const t="cancelled",{op:n,status:a}=Zt(e);Ut&&J.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),a||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}}):Ut&&J.warn("[Tracing] Could not set up background tab detection due to lack of global document")}
283const qu=(e,t,n)=>{let a,o;return l=>{t.value>=0&&(l||n)&&(o=t.value-(a||0),(o||a===void 0)&&(a=t.value,t.delta=o,e(t)))}},d9=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,f9=()=>{const e=Ve.performance.timing,t=Ve.performance.navigation.type,n={entryType:"navigation",startTime:0,type:t==2?"back_forward":t===1?"reload":"navigate"};for(const a in e)a!=="navigationStart"&&a!=="toJSON"&&(n[a]=Math.max(e[a]-e.navigationStart,0));return n},dh=()=>Ve.__WEB_VITALS_POLYFILL__?Ve.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||f9()):Ve.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],Fb=()=>{const e=dh();return e&&e.activationStart||0},Gu=(e,t)=>{const n=dh();let a="navigate";return n&&(Ve.document.prerendering||Fb()>0?a="prerender":a=n.type.replace(/_/g,"-")),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:d9(),navigationType:a}},Ul=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const a=new PerformanceObserver(o=>{t(o.getEntries())});return a.observe(Object.assign({type:e,buffered:!0},n||{})),a}}catch{}},Wu=(e,t)=>{const n=a=>{(a.type==="pagehide"||Ve.document.visibilityState==="hidden")&&(e(a),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},p9=e=>{const t=Gu("CLS",0);let n,a=0,o=[];const l=d=>{d.forEach(f=>{if(!f.hadRecentInput){const p=o[0],m=o[o.length-1];a&&o.length!==0&&f.startTime-m.startTime<1e3&&f.startTime-p.startTime<5e3?(a+=f.value,o.push(f)):(a=f.value,o=[f]),a>t.value&&(t.value=a,t.entries=o,n&&n())}})},c=Ul("layout-shift",l);if(c){n=qu(e,t);const d=()=>{l(c.takeRecords()),n(!0)};return Wu(d),d}};let Kf=-1;const h9=()=>Ve.document.visibilityState==="hidden"&&!Ve.document.prerendering?0:1/0,m9=()=>{Wu(({timeStamp:e})=>{Kf=e},!0)},qb=()=>(Kf<0&&(Kf=h9(),m9()),{get firstHiddenTime(){return Kf}}),g9=e=>{const t=qb(),n=Gu("FID");let a;const o=d=>{d.startTime<t.firstHiddenTime&&(n.value=d.processingStart-d.startTime,n.entries.push(d),a(!0))},l=d=>{d.forEach(o)},c=Ul("first-input",l);a=qu(e,n),c&&Wu(()=>{l(c.takeRecords()),c.disconnect()},!0)};let cA=0,yy=1/0,Of=0;const y9=e=>{e.forEach(t=>{t.interactionId&&(yy=Math.min(yy,t.interactionId),Of=Math.max(Of,t.interactionId),cA=Of?(Of-yy)/7+1:0)})};let gv;const v9=()=>gv?cA:performance.interactionCount||0,b9=()=>{"interactionCount"in performance||gv||(gv=Ul("event",y9,{type:"event",buffered:!0,durationThreshold:0}))},uA=()=>v9(),sT=10,Fa=[],vy={},lT=e=>{const t=Fa[Fa.length-1],n=vy[e.interactionId];if(n||Fa.length<sT||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const a={id:e.interactionId,latency:e.duration,entries:[e]};vy[a.id]=a,Fa.push(a)}Fa.sort((a,o)=>o.latency-a.latency),Fa.splice(sT).forEach(a=>{delete vy[a.id]})}},S9=()=>{const e=Math.min(Fa.length-1,Math.floor(uA()/50));return Fa[e]},x9=(e,t)=>{t=t||{},b9();const n=Gu("INP");let a;const o=c=>{c.forEach(f=>{f.interactionId&&lT(f),f.entryType==="first-input"&&!Fa.some(m=>m.entries.some(y=>f.duration===y.duration&&f.startTime===y.startTime))&&lT(f)});const d=S9();d&&d.latency!==n.value&&(n.value=d.latency,n.entries=d.entries,a())},l=Ul("event",o,{durationThreshold:t.durationThreshold||40});a=qu(e,n,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),Wu(()=>{o(l.takeRecords()),n.value<0&&uA()>0&&(n.value=0,n.entries=[]),a(!0)}))},cT={},_9=e=>{const t=qb(),n=Gu("LCP");let a;const o=c=>{const d=c[c.length-1];if(d){const f=Math.max(d.startTime-Fb(),0);f<t.firstHiddenTime&&(n.value=f,n.entries=[d],a())}},l=Ul("largest-contentful-paint",o);if(l){a=qu(e,n);const c=()=>{cT[n.id]||(o(l.takeRecords()),l.disconnect(),cT[n.id]=!0,a(!0))};return["keydown","click"].forEach(d=>{addEventListener(d,c,{once:!0,capture:!0})}),Wu(c,!0),c}},yv=e=>{Ve.document&&(Ve.document.prerendering?addEventListener("prerenderingchange",()=>yv(e),!0):Ve.document.readyState!=="complete"?addEventListener("load",()=>yv(e),!0):setTimeout(e,0))},E9=(e,t)=>{t=t||{};
283const n=Gu("TTFB"),a=qu(e,n,t.reportAllChanges);yv(()=>{const o=dh();if(o){if(n.value=Math.max(o.responseStart-Fb(),0),n.value<0||n.value>performance.now())return;n.entries=[o],a(!0)}})},tu={},mp={};let dA,fA,pA,hA,mA;function w9(e,t=!1){return Vu("cls",e,O9,dA,t)}function gA(e,t=!1){return Vu("lcp",e,N9,pA,t)}function T9(e){return Vu("ttfb",e,k9,hA)}function R9(e){return Vu("fid",e,A9,fA)}function C9(e){return Vu("inp",e,M9,mA)}function pl(e,t){return yA(e,t),mp[e]||(D9(e),mp[e]=!0),vA(e,t)}function zl(e,t){const n=tu[e];if(!(!n||!n.length))for(const a of n)try{a(t)}catch(o){Ut&&J.error(`Error while triggering instrumentation handler. 284Type: ${e} 285Name: ${Qa(a)} 286Error:`,o)}}function O9(){return p9(e=>{zl("cls",{metric:e}),dA=e})}function A9(){return g9(e=>{zl("fid",{metric:e}),fA=e})}function N9(){return _9(e=>{zl("lcp",{metric:e}),pA=e})}function k9(){return E9(e=>{zl("ttfb",{metric:e}),hA=e})}function M9(){return x9(e=>{zl("inp",{metric:e}),mA=e})}function Vu(e,t,n,a,o=!1){yA(e,t);let l;return mp[e]||(l=n(),mp[e]=!0),a&&t({metric:a}),vA(e,t,o?l:void 0)}function D9(e){const t={};e==="event"&&(t.durationThreshold=0),Ul(e,n=>{zl(e,{entries:n})},t)}function yA(e,t){tu[e]=tu[e]||[],tu[e].push(t)}function vA(e,t,n){return()=>{n&&n();const a=tu[e];if(!a)return;const o=a.indexOf(t);o!==-1&&a.splice(o,1)}}function by(e){return typeof e=="number"&&isFinite(e)}function hl(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}const L9=2147483647;function hn(e){return e/1e3}function Gb(){return Ve&&Ve.addEventListener&&Ve.performance}let uT=0,Gt={},ia,nu;function I9(){const e=Gb();if(e&&hr){e.mark&&Ve.performance.mark("sentry-tracing-init");const t=B9(),n=P9(),a=$9(),o=H9();return()=>{t(),n(),a(),o()}}return()=>{}}function j9(){pl("longtask",({entries:e})=>{for(const t of e){const n=Fo();if(!n)return;const a=hn(hr+t.startTime),o=hn(t.duration);n.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:a,endTimestamp:a+o})}})}function U9(){pl("event",({entries:e})=>{for(const t of e){const n=Fo();if(!n)return;if(t.name==="click"){const a=hn(hr+t.startTime),o=hn(t.duration),l={description:Fi(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:a,endTimestamp:a+o},c=gO(t.target);c&&(l.attributes={"ui.component_name":c}),n.startChild(l)}}})}function z9(e){if(Gb()&&hr){const n=F9(e);return()=>{n()}}return()=>{}}function P9(){return w9(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Ut&&J.log("[Measurements] Adding CLS"),Gt.cls={value:e.value,unit:""},nu=t)},!0)}function $9(){return gA(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Ut&&J.log("[Measurements] Adding LCP"),Gt.lcp={value:e.value,unit:"millisecond"},ia=t)},!0)}function B9(){return R9(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=hn(hr),a=hn(t.startTime);Ut&&J.log("[Measurements] Adding FID"),Gt.fid={value:e.value,unit:"millisecond"},Gt["mark.fid"]={value:n+a,unit:"second"}})}function H9(){return T9(({metric:e})=>{e.entries[e.entries.length-1]&&(Ut&&J.log("[Measurements] Adding TTFB"),Gt.ttfb={value:e.value,unit:"millisecond"})})}const dT={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function F9(e){return C9(({metric:t})=>{if(t.value===void 0)return;const n=t.entries.find(N=>N.duration===t.value&&dT[N.name]!==void 0),a=mt();if(!n||!a)return;const o=dT[n.name],l=a.getOptions(),c=hn(hr+n.startTime),d=hn(t.value),f=n.interactionId!==void 0?e[n.interactionId]:void 0;if(f===void 0)return;const{routeName:p,parentContext:m,activeTransaction:y,user:b,replayId:x}=f,E=b!==void 0?b.email||b.id||b.ip_address:void 0,S=y!==void 0?y.getProfileId():void 0,C=new uh({startTimestamp:c,endTimestamp:c+d,op:`ui.interaction.${o}`,name:Fi(n.target),attributes:{release:l.release,environment:l.environment,transaction:p,...E!==void 0&&E!==""?{user:E}:{},...S!==void 0?{profile_id:S}:{},...x!==void 0?{replay_id:x}:{}},exclusiveTime:t.value,measurements:{inp:{value:t.value,unit:"millisecond"}}}),R=Z9(m,l);if(R&&Math.random()<R){const N=C?GF([C],a.getDsn()):void 0,D=a&&a.getTransport();D&&N&&D.send(N).then(null,L=>{Ut&&J.error("Error while sending interaction:",L)});return}})}function q9(e){const t=Gb();if(!t||!Ve.performance.getEntries||!hr)return;Ut&&J.log("[Tracing] Adding & adjusting spans using Performance API");const n=hn(hr),a=t.getEntries(),{op:o,start_timestamp:l}=Zt(e);
286if(a.slice(uT).forEach(c=>{const d=hn(c.startTime),f=hn(c.duration);if(!(e.op==="navigation"&&l&&n+d<l))switch(c.entryType){case"navigation":{W9(e,c,n);break}case"mark":case"paint":case"measure":{G9(e,c,d,f,n);const p=qb(),m=c.startTime<p.firstHiddenTime;c.name==="first-paint"&&m&&(Ut&&J.log("[Measurements] Adding FP"),Gt.fp={value:c.startTime,unit:"millisecond"}),c.name==="first-contentful-paint"&&m&&(Ut&&J.log("[Measurements] Adding FCP"),Gt.fcp={value:c.startTime,unit:"millisecond"});break}case"resource":{Y9(e,c,c.name,d,f,n);break}}}),uT=Math.max(a.length-1,0),K9(e),o==="pageload"){Q9(Gt),["fcp","fp","lcp"].forEach(d=>{if(!Gt[d]||!l||n>=l)return;const f=Gt[d].value,p=n+hn(f),m=Math.abs((p-l)*1e3),y=m-f;Ut&&J.log(`[Measurements] Normalized ${d} from ${f} to ${m} (${y})`),Gt[d].value=m});const c=Gt["mark.fid"];c&&Gt.fid&&(hl(e,{description:"first input delay",endTimestamp:c.value+hn(Gt.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:c.value}),delete Gt["mark.fid"]),"fcp"in Gt||delete Gt.cls,Object.keys(Gt).forEach(d=>{xF(d,Gt[d].value,Gt[d].unit)}),X9(e)}ia=void 0,nu=void 0,Gt={}}function G9(e,t,n,a,o){const l=o+n,c=l+a;return hl(e,{description:t.name,endTimestamp:c,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:l}),l}function W9(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(a=>{Af(e,t,a,n)}),Af(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),Af(e,t,"fetch",n,"cache","domainLookupStart"),Af(e,t,"domainLookup",n,"DNS"),V9(e,t,n)}function Af(e,t,n,a,o,l){const c=l?t[l]:t[`${n}End`],d=t[`${n}Start`];!d||!c||hl(e,{op:"browser",origin:"auto.browser.browser.metrics",description:o||n,startTimestamp:a+hn(d),endTimestamp:a+hn(c)})}function V9(e,t,n){t.responseEnd&&(hl(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+hn(t.requestStart),endTimestamp:n+hn(t.responseEnd)}),hl(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+hn(t.responseStart),endTimestamp:n+hn(t.responseEnd)}))}function Y9(e,t,n,a,o,l){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const c=Vf(n),d={};Sy(d,t,"transferSize","http.response_transfer_size"),Sy(d,t,"encodedBodySize","http.response_content_length"),Sy(d,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(d["resource.render_blocking_status"]=t.renderBlockingStatus),c.protocol&&(d["url.scheme"]=c.protocol.split(":").pop()),c.host&&(d["server.address"]=c.host),d["url.same_origin"]=n.includes(Ve.location.origin);const f=l+a,p=f+o;hl(e,{description:n.replace(Ve.location.origin,""),endTimestamp:p,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:f,data:d})}function K9(e){const t=Ve.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),by(n.rtt)&&(Gt["connection.rtt"]={value:n.rtt,unit:"millisecond"})),by(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),by(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}function X9(e){ia&&(Ut&&J.log("[Measurements] Adding LCP Data"),ia.element&&e.setTag("lcp.element",Fi(ia.element)),ia.id&&e.setTag("lcp.id",ia.id),ia.url&&e.setTag("lcp.url",ia.url.trim().slice(0,200)),e.setTag("lcp.size",ia.size)),nu&&nu.sources&&(Ut&&J.log("[Measurements] Adding CLS Data"),nu.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,Fi(t.node))))}function Sy(e,t,n,a){const o=t[n];o!=null&&o<L9&&(e[a]=o)}function Q9(e){const t=dh();if(!t)return;const{responseStart:n,requestStart:a}=t;a<=n&&(Ut&&J.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-a,unit:"millisecond"})}function Z9(e,t){if(!jl(t))return!1;let n;return e!==void 0&&typeof t.tracesSampler=="function"?n=t.tracesSampler({transactionContext:e,name:e.name,parentSampled:e.parentSampled,attributes:{...e.data,...e.attributes},location:Ve.location}):e!==void 0&&e.sampled!==void 0?n=e.sampled:typeof t.tracesSampleRate<"u"?n=t.tracesSampleRate:n=1,ZO(n)?n:(Ut&&J.warn("[Tracing] Discarding transaction because of invalid sample rate."),!1)}function J9(e,t,n,a,o="auto.http.browser"){if(!jl()||!e.fetchData)return;const l=t(e.fetchData.url);if(e.endTimestamp&&l){const y=e.fetchData.__span;if(!y)return;const b=a[y];if(b){if(e.response){Bb(b,e.response.status);const x=e.response&&e.response.headers&&e.response.headers.get("content-length");if(x){const E=parseInt(x);E>0&&b.setAttribute("http.response_content_length",E)}}else e.error&&b.setStatus("internal_error");b.end(),delete a[y]}return}const c=gr(),d=mt(),{method:f,url:p}=e.fetchData,m=l?WO({name:`${f} ${p}`,onlyIfParent:!0,attributes:{url:p,type:"fetch","http.method":f,[Gs]:o},op:"http.client"}):void 0;if(m&&(e.fetchData.__span=m.spanContext().spanId,a[m.spanContext().spanId]=m),n(e.fetchData.url)&&d){const y=e.args[0];e.args[1]=e.args[1]||{};const b=e.args[1];b.headers=e7(y,d,c,b,m)}return m}function e7(e,t,n,a,o){const l=o||n.getSpan(),c=Yi(),{traceId:d,spanId:f,sampled:p,dsc:m}={...c.getPropagationContext(),...n.getPropagationContext()},y=l?sh(l):Ib(d,f,p),b=kO(m||(l?fl(l):ch(d,t,n))),x=a.headers||(typeof Request<"u"&&Xa(e,Request)?e.headers:void 0);if(x)if(typeof Headers<"u"&&Xa(x,Headers)){const E=new Headers(x);return E.append("sentry-trace",y),b&&E.append(dv,b),E}else if(Array.isArray(x)){const E=[...x,["sentry-trace",y]];return b&&E.push([dv,b]),E}else{const E="baggage"in x?x.baggage:void 0,S=[];return Array.isArray(E)?S.push(...E):E&&S.push(E),b&&S.push(b),{...x,"sentry-trace":y,baggage:S.length>0?S.join(","):void 0}}else return{"sentry-trace":y,baggage:b}}const vv=["localhost",/^\/(?!\/)/],bv={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:vv,tracePropagationTargets:vv};function t7(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:a,tracingOrigins:o,shouldCreateSpanForRequest:l,enableHTTPTimings:c}={traceFetch:bv.traceFetch,traceXHR:bv.traceXHR,...e},d=typeof l=="function"?l:m=>!0,f=m=>i7(m,a||o),p={};t&&Mb(m=>{const y=J9(m,d,f,p);c&&y&&fT(y)}),n&&Db(m=>{const y=o7(m,d,f,p);c&&y&&fT(y)})}function n7(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.
286initiatorType==="xmlhttprequest")}function fT(e){const{url:t}=Zt(e).data||{};if(!t||typeof t!="string")return;const n=pl("resource",({entries:a})=>{a.forEach(o=>{n7(o)&&o.name.endsWith(t)&&(a7(o).forEach(c=>e.setAttribute(...c)),setTimeout(n))})})}function r7(e){let t="unknown",n="unknown",a="";for(const o of e){if(o==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(o))){t=a==="h"?"http":a,n=e.split(a)[1];break}a+=o}return a===e&&(t=a),{name:t,version:n}}function aa(e=0){return((hr||performance.timeOrigin)+e)/1e3}function a7(e){const{name:t,version:n}=r7(e.nextHopProtocol),a=[];return a.push(["network.protocol.version",n],["network.protocol.name",t]),hr?[...a,["http.request.redirect_start",aa(e.redirectStart)],["http.request.fetch_start",aa(e.fetchStart)],["http.request.domain_lookup_start",aa(e.domainLookupStart)],["http.request.domain_lookup_end",aa(e.domainLookupEnd)],["http.request.connect_start",aa(e.connectStart)],["http.request.secure_connection_start",aa(e.secureConnectionStart)],["http.request.connection_end",aa(e.connectEnd)],["http.request.request_start",aa(e.requestStart)],["http.request.response_start",aa(e.responseStart)],["http.request.response_end",aa(e.responseEnd)]]:a}function i7(e,t){return Dl(e,t||vv)}function o7(e,t,n,a){const o=e.xhr,l=o&&o[zi];if(!jl()||!o||o.__sentry_own_request__||!l)return;const c=t(l.url);if(e.endTimestamp&&c){const y=o.__sentry_xhr_span_id__;if(!y)return;const b=a[y];b&&l.status_code!==void 0&&(Bb(b,l.status_code),b.end(),delete a[y]);return}const d=gr(),f=Yi(),p=c?WO({name:`${l.method} ${l.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":l.method,url:l.url,[Gs]:"auto.http.browser"},op:"http.client"}):void 0;p&&(o.__sentry_xhr_span_id__=p.spanContext().spanId,a[o.__sentry_xhr_span_id__]=p);const m=mt();if(o.setRequestHeader&&n(l.url)&&m){const{traceId:y,spanId:b,sampled:x,dsc:E}={...f.getPropagationContext(),...d.getPropagationContext()},S=p?sh(p):Ib(y,b,x),C=kO(E||(p?fl(p):ch(y,m,d)));s7(o,S,C)}return p}
286function s7(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(dv,n)}catch{}}const l7="BrowserTracing",c7={...Yf,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,_experiments:{},...bv},u7=(e={})=>{const t=Ut?!!(e.tracePropagationTargets||e.tracingOrigins):!1;SF(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);const n={...c7,...e},a=I9(),o={};n.enableInp&&z9(o),n.enableLongTask&&j9(),n._experiments.enableInteractions&&U9();const l={name:void 0,context:void 0};function c(d){const f=Bn(),{beforeStartSpan:p,idleTimeout:m,finalTimeout:y,heartbeatInterval:b}=n,x=d.op==="pageload";let E;if(x){const N=x?pT("sentry-trace"):"",D=x?pT("baggage"):void 0,{traceId:L,dsc:O,parentSpanId:A,sampled:w}=AH(N,D);E={traceId:L,parentSpanId:A,parentSampled:w,...d,metadata:{...d.metadata,dynamicSamplingContext:O},trimEnd:!0}}else E={trimEnd:!0,...d};const S=p?p(E):E;S.metadata=S.name!==E.name?{...S.metadata,source:"custom"}:S.metadata,l.name=S.name,l.context=S,S.sampled===!1&&Ut&&J.log(`[Tracing] Will not send ${S.op} transaction because of beforeNavigate.`),Ut&&J.log(`[Tracing] Starting ${S.op} transaction on scope`);const{location:C}=Ve,R=JO(f,S,m,y,!0,{location:C},b,x);return x&&Ve.document&&(Ve.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(Ve.document.readyState)&&R.sendAutoFinishSignal()}),["interactive","complete"].includes(Ve.document.readyState)&&R.sendAutoFinishSignal()),R.registerBeforeFinishCallback(N=>{a(),q9(N)}),R}return{name:l7,setupOnce:()=>{},afterAllSetup(d){const f=d.getOptions(),{markBackgroundSpan:p,traceFetch:m,traceXHR:y,shouldCreateSpanForRequest:b,enableHTTPTimings:x,_experiments:E}=n,S=f&&f.tracePropagationTargets,C=S||n.tracePropagationTargets;Ut&&t&&S&&J.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let R,N=Ve.location&&Ve.location.href;if(d.on&&(d.on("startNavigationSpan",D=>{R&&(Ut&&J.log(`[Tracing] Finishing current transaction with op: ${Zt(R).op}`),R.end()),R=c({op:"navigation",...D})}),d.on("startPageLoadSpan",D=>{R&&(Ut&&J.log(`[Tracing] Finishing current transaction with op: ${Zt(R).op}`),R.end()),R=c({op:"pageload",...D})})),n.instrumentPageLoad&&d.emit&&Ve.location){const D={name:Ve.location.pathname,startTimestamp:hr?hr/1e3:void 0,origin:"auto.pageload.browser",attributes:{[Va]:"url"}};d7(d,D)}n.instrumentNavigation&&d.emit&&Ve.location&&ih(({to:D,from:L})=>{if(L===void 0&&N&&N.indexOf(D)!==-1){N=void 0;return}if(L!==D){N=void 0;const O={name:Ve.location.pathname,origin:"auto.navigation.browser",attributes:{[Va]:"url"}};f7(d,O)}}),p&&u9(),E.enableInteractions&&p7(n,l),n.enableInp&&m7(o,l),t7({traceFetch:m,traceXHR:y,tracePropagationTargets:C,shouldCreateSpanForRequest:b,enableHTTPTimings:x})},options:n}};function d7(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);const n=Hb();return(n&&Zt(n).op)==="pageload"?n:void 0}function f7(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);const n=Hb();return(n&&Zt(n).op)==="navigation"?n:void 0}function pT(e){const t=L8(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function p7(e,t){let n;const a=()=>{const{idleTimeout:o,finalTimeout:l,heartbeatInterval:c}=e,d="ui.action.click",f=Fo();if(f&&f.op&&["navigation","pageload"].includes(f.op)){Ut&&J.warn(`[Tracing] Did not create ${d} transaction because a pageload or navigation transaction is in progress.`);return}if(n&&(n.setFinishReason("interactionInterrupted"),n.end(),n=void 0),!t.name){Ut&&J.warn(`[Tracing] Did not create ${d} transaction because _latestRouteName is missing.`);return}const{location:p}=Ve,m={name:t.name,op:d,trimEnd:!0,data:{[Va]:t.context?g7(t.context):"url"}};n=JO(Bn(),m,o,l,!0,{location:p},c)};["click"].forEach(o=>{addEventListener(o,a,{once:!1,capture:!0})})}function h7(e){return"duration"in e}const hT=10;function m7(e,t){const n=({entries:a})=>{const o=mt(),l=o!==void 0&&o.getIntegrationByName!==void 0?o.getIntegrationByName("Replay"):void 0,c=l!==void 0?l.getReplayId():void 0,d=Fo(),f=gr(),p=f!==void 0?f.getUser():void 0;a.forEach(m=>{if(h7(m)){const y=m.interactionId;if(y===void 0)return;const b=e[y],x=m.duration,E=m.startTime,S=Object.keys(e),C=S.length>0?S.reduce((R,N)=>e[R].duration<e[N].duration?R:N):void 0;if(m.entryType==="first-input"&&S.map(N=>e[N]).some(N=>N.duration===x&&N.startTime===E)||!y)return;if(b)b.duration=Math.max(b.duration,x);else if(S.length<hT||C===void 0||x>e[C].duration){const R=t.name,N=t.context;R&&N&&(C&&Object.keys(e).length>=hT&&delete e[C],e[y]={routeName:R,duration:x,parentContext:N,user:p,activeTransaction:d,replayId:c,startTime:E})}}})};pl("event",n),pl("first-input",n)}function g7(e){const t=e.attributes&&e.attributes[Va],n=e.data&&e.data[Va],a=e.metadata&&e.metadata.source;return t||n||a}const wt=et;let Sv=0;function bA(){return Sv>0}function y7(){Sv++,setTimeout(()=>{Sv--})}function ml(e,t={}
286,n){if(typeof e!="function")return e;try{const o=e.__sentry_wrapped__;if(o)return o;if(kb(e))return e}catch{return e}const a=function(){const o=Array.prototype.slice.call(arguments);try{const l=o.map(c=>ml(c,t));return e.apply(this,l)}catch(l){throw y7(),QH(c=>{c.addEventProcessor(d=>(t.mechanism&&(av(d,void 0),mu(d,t.mechanism)),d.extra={...d.extra,arguments:o},d)),$b(l)}),l}};try{for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}catch{}vO(a,e),Do(e,"__sentry_wrapped__",a);try{Object.getOwnPropertyDescriptor(a,"name").configurable&&Object.defineProperty(a,"name",{get(){return e.name}})}catch{}return a}const Wa=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function SA(e,t){const n=Wb(e,t),a={type:t&&t.name,value:x7(t)};return n.length&&(a.stacktrace={frames:n}),a.type===void 0&&a.value===""&&(a.value="Unrecoverable error caught"),a}function v7(e,t,n,a){const o=mt(),l=o&&o.getOptions().normalizeDepth,c={exception:{values:[{type:rh(t)?t.constructor.name:a?"UnhandledRejection":"Error",value:w7(t,{isUnhandledRejection:a})}]},extra:{__serialized__:OO(t,l)}};if(n){const d=Wb(e,n);d.length&&(c.exception.values[0].stacktrace={frames:d})}return c}function xy(e,t){return{exception:{values:[SA(e,t)]}}}function Wb(e,t){const n=t.stacktrace||t.stack||"",a=S7(t);try{return e(n,a)}catch{}return[]}const b7=/Minified React error #\d+;/i;function S7(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(b7.test(e.message))return 1}return 0}function x7(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function _7(e,t,n,a){const o=n&&n.syntheticException||void 0,l=Vb(e,t,o,a);return mu(l),l.level="error",n&&n.event_id&&(l.event_id=n.event_id),dl(l)}function E7(e,t,n="info",a,o){const l=a&&a.syntheticException||void 0,c=xv(e,t,l,o);return c.level=n,a&&a.event_id&&(c.event_id=a.event_id),dl(c)}function Vb(e,t,n,a,o){let l;if(Cb(t)&&t.error)return xy(e,t.error);if(Ow(t)||w8(t)){const c=t;if("stack"in t)l=xy(e,t);else{const d=c.name||(Ow(c)?"DOMError":"DOMException"),f=c.message?`${d}: ${c.message}`:d;l=xv(e,f,n,a),av(l,f)}return"code"in c&&(l.tags={...l.tags,"DOMException.code":`${c.code}`}),l}return fO(t)?xy(e,t):ul(t)||rh(t)?(l=v7(e,t,n,o),mu(l,{synthetic:!0}),l):(l=xv(e,t,n,a),av(l,`${t}`),mu(l,{synthetic:!0}),l)}function xv(e,t,n,a){const o={};if(a&&n){const l=Wb(e,n);l.length&&(o.exception={values:[{value:t,stacktrace:{frames:l}}]})}if(Ob(t)){const{__sentry_template_string__:l,__sentry_template_values__:c}=t;return o.logentry={message:l,params:c},o}return o.message=t,o}function w7(e,{isUnhandledRejection:t}){const n=F8(e),a=t?"promise rejection":"exception";return Cb(e)?`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``:rh(e)?`Event \`${T7(e)}\` (type=${e.type}) captured as ${a}`:`Object captured as ${a} with keys: ${n}`}function T7(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function R7(e,{metadata:t,tunnel:n,dsn:a}){const o={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!a&&{dsn:Il(a)}},l=C7(e);return Vi(o,[l])}function C7(e){return[{type:"user_report"},e]}class O7 extends UF{constructor(t){const n=wt.SENTRY_SDK_SOURCE||dH();aA(t,"browser",["browser"],n),super(t),t.sendClientReports&&wt.document&&wt.document.addEventListener("visibilitychange",()=>{wt.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return _7(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",a){return E7(this._options.stackParser,t,n,a,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){Wa&&J.warn("SDK not enabled, will not capture user feedback.");return}const n=R7(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(n)}_prepareEvent(t,n,a){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,a)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){Wa&&J.log("No outcomes to send");return}if(!this._dsn){Wa&&J.log("No dsn provided, will not send outcomes");return}Wa&&J.log("Sending outcomes:",t);const n=IH(t,this._options.tunnel&&Il(this._dsn));this._sendEnvelope(n)}}let Qc;function A7(){if(Qc)return Qc;if(lv(wt.fetch))return Qc=wt.fetch.bind(wt);const e=wt.document;let t=wt.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const a=n.contentWindow;a&&a.fetch&&(t=a.fetch),e.head.removeChild(n)}catch(n){Wa&&J.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n
286)}return Qc=t.bind(wt)}function N7(){Qc=void 0}function k7(e,t=A7()){let n=0,a=0;function o(l){const c=l.body.length;n+=c,a++;const d={body:l.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&a<15,...e.fetchOptions};try{return t(e.url,d).then(f=>(n-=c,a--,{statusCode:f.status,headers:{"x-sentry-rate-limits":f.headers.get("X-Sentry-Rate-Limits"),"retry-after":f.headers.get("Retry-After")}}))}catch(f){return N7(),n-=c,a--,Lb(f)}}return rA(e,o)}const M7=4;function D7(e){function t(n){return new cr((a,o)=>{const l=new XMLHttpRequest;l.onerror=o,l.onreadystatechange=()=>{l.readyState===M7&&a({statusCode:l.status,headers:{"x-sentry-rate-limits":l.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":l.getResponseHeader("Retry-After")}})},l.open("POST",e.url);for(const c in e.headers)Object.prototype.hasOwnProperty.call(e.headers,c)&&l.setRequestHeader(c,e.headers[c]);l.send(n.body)})}return rA(e,t)}const fh="?",L7=30,I7=40,j7=50;function Yb(e,t,n,a){const o={filename:e,function:t,in_app:!0};return n!==void 0&&(o.lineno=n),a!==void 0&&(o.colno=a),o}const U7=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,z7=/\((\S*)(?::(\d+))(?::(\d+))\)/,P7=e=>{const t=U7.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const l=z7.exec(t[2]);l&&(t[2]=l[1],t[3]=l[2],t[4]=l[3])}const[a,o]=xA(t[1]||fh,t[2]);return Yb(o,a,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},$7=[L7,P7],B7=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,H7=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,F7=e=>{const t=B7.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const l=H7.exec(t[3]);l&&(t[1]=t[1]||"eval",t[3]=l[1],t[4]=l[2],t[5]="")}let a=t[3],o=t[1]||fh;return[o,a]=xA(o,a),Yb(a,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},q7=[j7,F7],G7=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,W7=e=>{const t=G7.exec(e);return t?Yb(t[2],t[1]||fh,+t[3],t[4]?+t[4]:void 0):void 0},V7=[I7,W7],Y7=[$7,q7,V7],K7=xO(...Y7),xA=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,a=e.indexOf("safari-web-extension")!==-1;return n||a?[e.indexOf("@")!==-1?e.split("@")[0]:fh,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Nf=1024,_A="Breadcrumbs",X7=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:_A,setupOnce(){},setup(n){t.console&&V8(J7(n)),t.dom&&wO(Z7(n,t.dom)),t.xhr&&Db(eq(n)),t.fetch&&Mb(tq(n)),t.history&&ih(nq(n)),t.sentry&&n.on&&n.on("beforeSendEvent",Q7(n))}}},EA=X7;Ki(_A,EA);function Q7(e){return function(n){mt()===e&&qi({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:ji(n)},{event:n})}}function Z7(e,t){return function(a){if(mt()!==e)return;let o,l,c=typeof t=="object"?t.serializeAttribute:void 0,d=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;d&&d>Nf&&(Wa&&J.warn(`\`dom.maxStringLength\` cannot exceed ${Nf}, but a value of ${d} was configured. Sentry will use ${Nf} instead.`),d=Nf),typeof c=="string"&&(c=[c]);try{const p=a.event,m=rq(p)?p.target:p;o=Fi(m,{keyAttrs:c,maxStringLength:d}),l=gO(m)}catch{o="<unknown>"}if(o.length===0)return;const f={category:`ui.${a.name}`,message:o};l&&(f.data={"ui.component_name":l}),qi(f,{event:a.event,name:a.name,global:a.global})}}function J7(e){return function(n){if(mt()!==e)return;const a={category:"console",data:{arguments:n.args,logger:"console"},level:xH(n.level),message:Aw(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)a.message=`Assertion failed: ${Aw(n.args.slice(1)," ")||"console.assert"}`,a.data.arguments=n.args.slice(1);else return;qi(a,{input:n.args,level:n.level})}}function eq(e){return function(n){if(mt()!==e)return;const{startTimestamp:a,endTimestamp:o}=n,l=n.xhr[zi];if(!a||!o||!l)return;const{method:c,url:d,status_code:f,body:p}=l,m={method:c,url:d,status_code:f},y={xhr:n.xhr,input:p,startTimestamp:a,endTimestamp:o};qi({category:"xhr",data:m,type:"http"},y)}}function tq(e){return function(n){if(mt()!==e)return;const{startTimestamp:a,endTimestamp:o}=n;
286if(o&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const l=n.fetchData,c={data:n.error,input:n.args,startTimestamp:a,endTimestamp:o};qi({category:"fetch",data:l,level:"error",type:"http"},c)}else{const l=n.response,c={...n.fetchData,status_code:l&&l.status},d={input:n.args,response:l,startTimestamp:a,endTimestamp:o};qi({category:"fetch",data:c,type:"http"},d)}}}function nq(e){return function(n){if(mt()!==e)return;let a=n.from,o=n.to;const l=Vf(wt.location.href);let c=a?Vf(a):void 0;const d=Vf(o);(!c||!c.path)&&(c=l),l.protocol===d.protocol&&l.host===d.host&&(o=d.relative),l.protocol===c.protocol&&l.host===c.host&&(a=c.relative),qi({category:"navigation",data:{from:a,to:o}})}}function rq(e){return!!e&&!!e.target}const wA="Dedupe",aq=()=>{let e;return{name:wA,setupOnce(){},processEvent(t){if(t.type)return t;try{if(iq(t,e))return Wa&&J.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},TA=aq;Ki(wA,TA);function iq(e,t){return t?!!(oq(e,t)||sq(e,t)):!1}function oq(e,t){const n=e.message,a=t.message;return!(!n&&!a||n&&!a||!n&&a||n!==a||!CA(e,t)||!RA(e,t))}function sq(e,t){const n=mT(t),a=mT(e);return!(!n||!a||n.type!==a.type||n.value!==a.value||!CA(e,t)||!RA(e,t))}function RA(e,t){let n=gT(e),a=gT(t);if(!n&&!a)return!0;if(n&&!a||!n&&a||(n=n,a=a,a.length!==n.length))return!1;for(let o=0;o<a.length;o++){const l=a[o],c=n[o];if(l.filename!==c.filename||l.lineno!==c.lineno||l.colno!==c.colno||l.function!==c.function)return!1}return!0}function CA(e,t){let n=e.fingerprint,a=t.fingerprint;if(!n&&!a)return!0;if(n&&!a||!n&&a)return!1;n=n,a=a;try{return n.join("")===a.join("")}catch{return!1}}function mT(e){return e.exception&&e.exception.values&&e.exception.values[0]}function gT(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}const OA="GlobalHandlers",lq=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:OA,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(cq(n),yT("onerror")),t.onunhandledrejection&&(uq(n),yT("onunhandledrejection"))}}},AA=lq;Ki(OA,AA);function cq(e){RO(t=>{const{stackParser:n,attachStacktrace:a}=kA();if(mt()!==e||bA())return;const{msg:o,url:l,line:c,column:d,error:f}=t,p=f===void 0&&ga(o)?pq(o,l,c,d):NA(Vb(n,f||o,void 0,a,!1),l,c,d);p.level="error",PO(p,{originalException:f,mechanism:{handled:!1,type:"onerror"}})})}function uq(e){CO(t=>{const{stackParser:n,attachStacktrace:a}=kA();if(mt()!==e||bA())return;const o=dq(t),l=Ab(o)?fq(o):Vb(n,o,void 0,a,!0);l.level="error",PO(l,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function dq(e){if(Ab(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return e}function fq(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function pq(e,t,n,a){const o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let l=Cb(e)?e.message:e,c="Error";const d=l.match(o);return d&&(c=d[1],l=d[2]),NA({exception:{values:[{type:c,value:l}]}},t,n,a)}function NA(e,t,n,a){const o=e.exception=e.exception||{},l=o.values=o.values||[],c=l[0]=l[0]||{},d=c.stacktrace=c.stacktrace||{},f=d.frames=d.frames||[],p=isNaN(parseInt(a,10))?void 0:a,m=isNaN(parseInt(n,10))?void 0:n,y=ga(t)&&t.length>0?t:D8();return f.length===0&&f.push({colno:p,filename:y,function:"?",in_app:!0,lineno:m}),e}function yT(e){Wa&&J.log(`Global Handler attached: ${e}`)}function kA(){const e=mt();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const MA="HttpContext",hq=()=>({name:MA,setupOnce(){},preprocessEvent(e){if(!wt.navigator&&!wt.location&&!wt.document)return;const t=e.request&&e.request.url||wt.location&&wt.location.href,{referrer:n}=wt.document||{},{userAgent:a}=wt.navigator||{},o={...e.request&&e.request.headers,...n&&{Referer:n},...a&&{"User-Agent":a}},l={...e.request,...t&&{url:t},headers:o};e.request=l}}),DA=hq;Ki(MA,DA);const mq="cause",gq=5,LA="LinkedErrors",yq=(e={})=>{const t=e.limit||gq,n=e.key||mq;return{name:LA,setupOnce(){},preprocessEvent(a,o,l){const c=l.getOptions();A8(SA,c.stackParser,c.maxValueLength,n,t,a,o)}}},IA=yq;Ki(LA,IA);const vq=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],jA="TryCatch",bq=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:jA,setupOnce(){t.setTimeout&&bn(wt,"setTimeout",vT),t.setInterval&&bn(wt,"setInterval",vT),t.requestAnimationFrame&&bn(wt,"requestAnimationFrame",Sq),t.XMLHttpRequest&&"XMLHttpRequest"in wt&&bn(XMLHttpRequest.prototype,"send",xq);const n=t.eventTarget;n&&(Array.isArray(n)?n:vq).forEach(_q)}}},UA=bq;Ki(jA,UA);function vT(e){return function(...t){const n=t[0];return t[0]=ml(n,{mechanism:{data:{function:Qa(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function Sq(e){return function(t){return e.apply(this,[ml(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Qa(e)},handled:!1,type:"instrument"}})])}}function xq(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in n&&typeof n[o]=="function"&&bn(n,o,function(l){const c={mechanism:{data:{function:o,handler:Qa(l)},handled:!1,type:"instrument"}},d=kb(l);return d&&(c.mechanism.data.handler=Qa(d)),ml(l,c)})}),e.apply(this,t)}}function _q(e){const t=wt,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(bn(n,"addEventListener",function(a){return function(o,l,c){try{typeof l.handleEvent=="function"&&(l.handleEvent=ml(l.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Qa(l),target:e},handled:!1,type:"instrument"}}))}catch{}return a.apply(this,[o,ml(l,{mechanism:{data:{function:"addEventListener",handler:Qa(l),target:e},handled:!1,type:"instrument"}}),c])}}),bn(n,"removeEventListener",function(a){return function(o,l,c){const d=l;try{const f=d&&d.__sentry_wrapped__;f&&a.call(this,o,f,c)}catch{}return a.call(this,o,d,c)}}))}const Eq=[oA(),lA(),UA(),EA(),AA(),IA(),TA(),DA()];function wq(e){return[...Eq]}function Tq(e={}){e.defaultIntegrations===void 0&&(e.defaultIntegrations=wq()),e.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(e.release=__SENTRY_RELEASE__),wt.SENTRY_RELEASE&&wt.SENTRY_RELEASE.id&&(e.release=wt.SENTRY_RELEASE.id)),e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);const t={...e,stackParser:G8(e.stackParser||K7),integrations:kF(e),transport:e.transport||(TO()?k7:D7)};BF(O7,t),e.autoSessionTracking&&Rq()}
286function Rq(){if(typeof wt.document>"u"){Wa&&J.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}Vw({ignoreDuration:!0}),Yw(),ih(({from:e,to:t})=>{e!==void 0&&e!==t&&(Vw({ignoreDuration:!0}),Yw())})}const Ot=et,Kb="sentryReplaySession",Cq="replay_event",Xb="Unable to send Replay",Oq=3e5,Aq=9e5,Nq=5e3,kq=5500,Mq=6e4,Dq=5e3,Lq=3,bT=15e4,kf=5e3,Iq=3e3,jq=300,Qb=2e7,Uq=4999,zq=15e3,ST=36e5;function Pq(e,t){return e??t()}function gp(e){let t,n=e[0],a=1;for(;a<e.length;){const o=e[a],l=e[a+1];if(a+=2,(o==="optionalAccess"||o==="optionalCall")&&n==null)return;o==="access"||o==="optionalAccess"?(t=n,n=l(n)):(o==="call"||o==="optionalCall")&&(n=l((...c)=>n.call(t,...c)),t=void 0)}return n}var pn;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(pn||(pn={}));function $q(e){return e.nodeType===e.ELEMENT_NODE}function ru(e){const t=gp([e,"optionalAccess",n=>n.host]);return gp([t,"optionalAccess",n=>n.shadowRoot])===e}function au(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function Bq(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),e}function Hq(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}function yp(e){try{const t=e.rules||e.cssRules;return t?Bq(Array.from(t,zA).join("")):null}catch{return null}}function zA(e){let t;if(qq(e))try{t=yp(e.styleSheet)||Hq(e)}catch{}else if(Gq(e)&&e.selectorText.includes(":"))return Fq(e.cssText);return t||e.cssText}function Fq(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function qq(e){return"styleSheet"in e}function Gq(e){return"selectorText"in e}class PA{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(t){if(!t)return-1;const n=gp([this,"access",a=>a.getMeta,"call",a=>a(t),"optionalAccess",a=>a.id]);return Pq(n,()=>-1)}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&&t.childNodes.forEach(a=>this.removeNodeFromMap(a))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const a=n.id;this.idNodeMap.set(a,t),this.nodeMetaMap.set(t,n)}replace(t,n){const a=this.getNode(t);if(a){const o=this.nodeMetaMap.get(a);o&&this.nodeMetaMap.set(n,o)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Wq(){return new PA}function ph({maskInputOptions:e,tagName:t,type:n}){return t==="OPTION"&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||n==="password"||t==="INPUT"&&!n&&e.text)}function gu({isMasked:e,element:t,value:n,maskInputFn:a}){let o=n||"";return e?(a&&(o=a(o,t)),"*".repeat(o.length)):o}function gl(e){return e.toLowerCase()}function _v(e){return e.toUpperCase()}const xT="__rrweb_original__";function Vq(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let a=0;a<e.width;a+=n)for(let o=0;o<e.height;o+=n){const l=t.getImageData,c=xT in l?l[xT]:l;if(new Uint32Array(c.call(t,a,o,Math.min(n,e.width-a),Math.min(n,e.height-o)).data.buffer).some(f=>f!==0))return!1}return!0}function Zb(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?gl(t):null}function vp(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}let Yq=1;const Kq=new RegExp("[^a-z0-9-_:]"),yu=-2;function Jb(){return Yq++}function Xq(e){if(e instanceof HTMLFormElement)return"form";const t=gl(e.tagName);return Kq.test(t)?"div":t}function Qq(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let Ps,_T;const Zq=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Jq=/^(?:[a-z+]+:)?\/\//i,eG=/^www\..*/i,tG=/^(data:)([^,]*),(.*)/i;function bp(e,t){return(e||"").replace(Zq,(n,a,o,l,c,d)=>{const f=o||c||d,p=a||l||"";if(!f)return n;if(Jq.test(f)||eG.test(f))return`url(${p}${f}${p})`;if(tG.test(f))return`url(${p}${f}${p})`;if(f[0]==="/")return`url(${p}${Qq(t)+f}${p}
286)`;const m=t.split("/"),y=f.split("/");m.pop();for(const b of y)b!=="."&&(b===".."?m.pop():m.push(b));return`url(${p}${m.join("/")}${p})`})}const nG=/^[^ \t\n\r\u000c]+/,rG=/^[, \t\n\r\u000c]+/;function aG(e,t){if(t.trim()==="")return t;let n=0;function a(l){let c;const d=l.exec(t.substring(n));return d?(c=d[0],n+=c.length,c):""}const o=[];for(;a(rG),!(n>=t.length);){let l=a(nG);if(l.slice(-1)===",")l=Ws(e,l.substring(0,l.length-1)),o.push(l);else{let c="";l=Ws(e,l);let d=!1;for(;;){const f=t.charAt(n);if(f===""){o.push((l+c).trim());break}else if(d)f===")"&&(d=!1);else if(f===","){n+=1,o.push((l+c).trim());break}else f==="("&&(d=!0);c+=f,n+=1}}}return o.join(", ")}function Ws(e,t){if(!t||t.trim()==="")return t;const n=e.createElement("a");return n.href=t,n.href}function iG(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function e0(){const e=document.createElement("a");return e.href="",e.href}function $A(e,t,n,a,o,l){return a&&(n==="src"||n==="href"&&!(t==="use"&&a[0]==="#")||n==="xlink:href"&&a[0]!=="#"||n==="background"&&(t==="table"||t==="td"||t==="th")?Ws(e,a):n==="srcset"?aG(e,a):n==="style"?bp(a,e0()):t==="object"&&n==="data"?Ws(e,a):typeof l=="function"?l(n,a,o):a)}function BA(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function oG(e,t,n,a){try{if(a&&e.matches(a))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let o=e.classList.length;o--;){const l=e.classList[o];if(t.test(l))return!0}if(n)return e.matches(n)}catch{}return!1}function sG(e,t){for(let n=e.classList.length;n--;){const a=e.classList[n];if(t.test(a))return!0}return!1}function Eo(e,t,n=1/0,a=0){return!e||e.nodeType!==e.ELEMENT_NODE||a>n?-1:t(e)?a:Eo(e.parentNode,t,n,a+1)}function Vs(e,t){return n=>{const a=n;if(a===null)return!1;try{if(e){if(typeof e=="string"){if(a.matches(`.${e}`))return!0}else if(sG(a,e))return!0}return!!(t&&a.matches(t))}catch{return!1}}}function yl(e,t,n,a,o,l){try{const c=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(c===null)return!1;if(c.tagName==="INPUT"){const p=c.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(p))return!0}let d=-1,f=-1;if(l){if(f=Eo(c,Vs(a,o)),f<0)return!0;d=Eo(c,Vs(t,n),f>=0?f:1/0)}else{if(d=Eo(c,Vs(t,n)),d<0)return!1;f=Eo(c,Vs(a,o),d>=0?d:1/0)}return d>=0?f>=0?d<=f:!0:f>=0?!1:!!l}catch{}return!!l}function lG(e,t,n){const a=e.contentWindow;if(!a)return;let o=!1,l;try{l=a.document.readyState}catch{return}if(l!=="complete"){const d=setTimeout(()=>{o||(t(),o=!0)},n);e.addEventListener("load",()=>{clearTimeout(d),o=!0,t()});return}const c="about:blank";if(a.location.href!==c||e.src===c||e.src==="")return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function cG(e,t,n){let a=!1,o;try{o=e.sheet}catch{return}if(o)return;const l=setTimeout(()=>{a||(t(),a=!0)},n);e.addEventListener("load",()=>{clearTimeout(l),a=!0,t()})}function uG(e,t){const{doc:n,mirror:a,blockClass:o,blockSelector:l,unblockSelector:c,maskAllText:d,maskAttributeFn:f,maskTextClass:p,unmaskTextClass:m,maskTextSelector:y,unmaskTextSelector:b,inlineStylesheet:x,maskInputOptions:E={},maskTextFn:S,maskInputFn:C,dataURLOptions:R={},inlineImages:N,recordCanvas:D,keepIframeSrcFn:L,newlyAddedElement:O=!1}=t,A=dG(n,a);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:pn.Document,childNodes:[],compatMode:e.compatMode}:{type:pn.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:pn.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:A};case e.ELEMENT_NODE:return pG(e,{doc:n,blockClass:o,blockSelector:l,unblockSelector:c,inlineStylesheet:x,maskAttributeFn:f,maskInputOptions:E,maskInputFn:C,dataURLOptions:R,inlineImages:N,recordCanvas:D,keepIframeSrcFn:L,newlyAddedElement:O,rootId:A,maskTextClass:p,unmaskTextClass:m,maskTextSelector:y,unmaskTextSelector:b});case e.TEXT_NODE:return fG(e,{maskAllText:d,maskTextClass:p,unmaskTextClass:m,maskTextSelector:y,unmaskTextSelector:b,maskTextFn:S,maskInputOptions:E,maskInputFn:C,rootId:A});case e.CDATA_SECTION_NODE:return{type:pn.CDATA,textContent:"",rootId:A};case e.COMMENT_NODE:return{type:pn.Comment,textContent:e.textContent||"",rootId:A};default:return!1}}function dG(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function fG(e,t){const{maskAllText:n,maskTextClass:a,unmaskTextClass:o,maskTextSelector:l,unmaskTextSelector:c,maskTextFn:d,maskInputOptions:f,maskInputFn:p,rootId:m}=t,y=e.parentNode&&e.parentNode.tagName;let b=e.textContent;const x=y==="STYLE"?!0:void 0,E=y==="SCRIPT"?!0:void 0,S=y==="TEXTAREA"?!0:void 0;if(x&&b){try{e.nextSibling||e.previousSibling||gp([e,"access",R=>R.parentNode,"access",R=>R.sheet,"optionalAccess",R=>R.cssRules])&&(b=yp(e.parentNode.sheet))}catch(R){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${R}`,e)}
286b=bp(b,e0())}E&&(b="SCRIPT_PLACEHOLDER");const C=yl(e,a,l,o,c,n);if(!x&&!E&&!S&&b&&C&&(b=d?d(b):b.replace(/[\S]/g,"*")),S&&b&&(f.textarea||C)&&(b=p?p(b,e.parentNode):b.replace(/[\S]/g,"*")),y==="OPTION"&&b){const R=ph({type:null,tagName:y,maskInputOptions:f});b=gu({isMasked:yl(e,a,l,o,c,R),element:e,value:b,maskInputFn:p})}return{type:pn.Text,textContent:b||"",isStyle:x,rootId:m}}function pG(e,t){const{doc:n,blockClass:a,blockSelector:o,unblockSelector:l,inlineStylesheet:c,maskInputOptions:d={},maskAttributeFn:f,maskInputFn:p,dataURLOptions:m={},inlineImages:y,recordCanvas:b,keepIframeSrcFn:x,newlyAddedElement:E=!1,rootId:S,maskTextClass:C,unmaskTextClass:R,maskTextSelector:N,unmaskTextSelector:D}=t,L=oG(e,a,o,l),O=Xq(e);let A={};const w=e.attributes.length;for(let I=0;I<w;I++){const $=e.attributes[I];$.name&&!BA(O,$.name,$.value)&&(A[$.name]=$A(n,O,gl($.name),$.value,e,f))}if(O==="link"&&c){const I=Array.from(n.styleSheets).find(Y=>Y.href===e.href);let $=null;I&&($=yp(I)),$&&(delete A.rel,delete A.href,A._cssText=bp($,I.href))}if(O==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const I=yp(e.sheet);I&&(A._cssText=bp(I,e0()))}if(O==="input"||O==="textarea"||O==="select"||O==="option"){const I=e,$=Zb(I),Y=vp(I,_v(O),$),ne=I.checked;if($!=="submit"&&$!=="button"&&Y){const se=yl(I,C,N,R,D,ph({type:$,tagName:_v(O),maskInputOptions:d}));A.value=gu({isMasked:se,element:I,value:Y,maskInputFn:p})}ne&&(A.checked=ne)}if(O==="option"&&(e.selected&&!d.select?A.selected=!0:delete A.selected),O==="canvas"&&b){if(e.__context==="2d")Vq(e)||(A.rr_dataURL=e.toDataURL(m.type,m.quality));else if(!("__context"in e)){const I=e.toDataURL(m.type,m.quality),$=document.createElement("canvas");$.width=e.width,$.height=e.height;const Y=$.toDataURL(m.type,m.quality);I!==Y&&(A.rr_dataURL=I)}}if(O==="img"&&y){Ps||(Ps=n.createElement("canvas"),_T=Ps.getContext("2d"));const I=e,$=I.crossOrigin;I.crossOrigin="anonymous";const Y=()=>{I.removeEventListener("load",Y);try{Ps.width=I.naturalWidth,Ps.height=I.naturalHeight,_T.drawImage(I,0,0),A.rr_dataURL=Ps.toDataURL(m.type,m.quality)}catch(ne){console.warn(`Cannot inline img src=${I.currentSrc}! Error: ${ne}`)}$?A.crossOrigin=$:I.removeAttribute("crossorigin")};I.complete&&I.naturalWidth!==0?Y():I.addEventListener("load",Y)}if((O==="audio"||O==="video")&&(A.rr_mediaState=e.paused?"paused":"played",A.rr_mediaCurrentTime=e.currentTime),E||(e.scrollLeft&&(A.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(A.rr_scrollTop=e.scrollTop)),L){const{width:I,height:$}=e.getBoundingClientRect();A={class:A.class,rr_width:`${I}px`,rr_height:`${$}px`}}O==="iframe"&&!x(A.src)&&(e.contentDocument||(A.rr_src=A.src),delete A.src);let M;try{customElements.get(O)&&(M=!0)}catch{}return{type:pn.Element,tagName:O,attributes:A,childNodes:[],isSVG:iG(e)||void 0,needBlock:L,rootId:S,isCustom:M}}function Ct(e){return e==null?"":e.toLowerCase()}function hG(e,t){if(t.comment&&e.type===pn.Comment)return!0;if(e.type===pn.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")&&e.attributes.as==="script"||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(Ct(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Ct(e.attributes.name)==="application-name"||Ct(e.attributes.rel)==="icon"||Ct(e.attributes.rel)==="apple-touch-icon"||Ct(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&Ct(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Ct(e.attributes.property).match(/^(og|twitter|fb):/)||Ct(e.attributes.name).match(/^(og|twitter):/)||Ct(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(Ct(e.attributes.name)==="robots"||Ct(e.attributes.name)==="googlebot"||Ct(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(Ct(e.attributes.name)==="author"||Ct(e.attributes.name)==="generator"||Ct(e.attributes.name)==="framework"||Ct(e.attributes.name)==="publisher"||Ct(e.attributes.name)==="progid"||Ct(e.attributes.property).match(/^article:/)||Ct(e.attributes.property).match(/^product:/)))return!0;
vendor: 4,813 bytes, line 286
286if(t.headMetaVerification&&(Ct(e.attributes.name)==="google-site-verification"||Ct(e.attributes.name)==="yandex-verification"||Ct(e.attributes.name)==="csrf-token"||Ct(e.attributes.name)==="p:domain_verify"||Ct(e.attributes.name)==="verify-v1"||Ct(e.attributes.name)==="verification"||Ct(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Ys(e,t){const{doc:n,mirror:a,blockClass:o,blockSelector:l,unblockSelector:c,maskAllText:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:y,skipChild:b=!1,inlineStylesheet:x=!0,maskInputOptions:E={},maskAttributeFn:S,maskTextFn:C,maskInputFn:R,slimDOMOptions:N,dataURLOptions:D={},inlineImages:L=!1,recordCanvas:O=!1,onSerialize:A,onIframeLoad:w,iframeLoadTimeout:M=5e3,onStylesheetLoad:I,stylesheetLoadTimeout:$=5e3,keepIframeSrcFn:Y=()=>!1,newlyAddedElement:ne=!1}=t;let{preserveWhiteSpace:se=!0}=t;const ae=uG(e,{doc:n,mirror:a,blockClass:o,blockSelector:l,maskAllText:d,unblockSelector:c,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:y,inlineStylesheet:x,maskInputOptions:E,maskAttributeFn:S,maskTextFn:C,maskInputFn:R,dataURLOptions:D,inlineImages:L,recordCanvas:O,keepIframeSrcFn:Y,newlyAddedElement:ne});if(!ae)return console.warn(e,"not serialized"),null;let ee;a.hasNode(e)?ee=a.getId(e):hG(ae,N)||!se&&ae.type===pn.Text&&!ae.isStyle&&!ae.textContent.replace(/^\s+|\s+$/gm,"").length?ee=yu:ee=Jb();const P=Object.assign(ae,{id:ee});if(a.add(e,P),ee===yu)return null;A&&A(e);let K=!b;if(P.type===pn.Element){K=K&&!P.needBlock,delete P.needBlock;const ie=e.shadowRoot;ie&&au(ie)&&(P.isShadowHost=!0)}if((P.type===pn.Document||P.type===pn.Element)&&K){N.headWhitespace&&P.type===pn.Element&&P.tagName==="head"&&(se=!1);const ie={doc:n,mirror:a,blockClass:o,blockSelector:l,maskAllText:d,unblockSelector:c,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:y,skipChild:b,inlineStylesheet:x,maskInputOptions:E,maskAttributeFn:S,maskTextFn:C,maskInputFn:R,slimDOMOptions:N,dataURLOptions:D,inlineImages:L,recordCanvas:O,preserveWhiteSpace:se,onSerialize:A,onIframeLoad:w,iframeLoadTimeout:M,onStylesheetLoad:I,stylesheetLoadTimeout:$,keepIframeSrcFn:Y};for(const de of Array.from(e.childNodes)){const me=Ys(de,ie);me&&P.childNodes.push(me)}if($q(e)&&e.shadowRoot)for(const de of Array.from(e.shadowRoot.childNodes)){const me=Ys(de,ie);me&&(au(e.shadowRoot)&&(me.isShadow=!0),P.childNodes.push(me))}}return e.parentNode&&ru(e.parentNode)&&au(e.parentNode)&&(P.isShadow=!0),P.type===pn.Element&&P.tagName==="iframe"&&lG(e,()=>{const ie=e.contentDocument;if(ie&&w){const de=Ys(ie,{doc:ie,mirror:a,blockClass:o,blockSelector:l,unblockSelector:c,maskAllText:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:y,skipChild:!1,inlineStylesheet:x,maskInputOptions:E,maskAttributeFn:S,maskTextFn:C,maskInputFn:R,slimDOMOptions:N,dataURLOptions:D,inlineImages:L,recordCanvas:O,preserveWhiteSpace:se,onSerialize:A,onIframeLoad:w,iframeLoadTimeout:M,onStylesheetLoad:I,stylesheetLoadTimeout:$,keepIframeSrcFn:Y});de&&w(e,de)}},M),P.type===pn.Element&&P.tagName==="link"&&P.attributes.rel==="stylesheet"&&cG(e,()=>{if(I){const ie=Ys(e,{doc:n,mirror:a,blockClass:o,blockSelector:l,unblockSelector:c,maskAllText:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:y,skipChild:!1,inlineStylesheet:x,maskInputOptions:E,maskAttributeFn:S,maskTextFn:C,maskInputFn:R,slimDOMOptions:N,dataURLOptions:D,inlineImages:L,recordCanvas:O,preserveWhiteSpace:se,onSerialize:A,onIframeLoad:w,iframeLoadTimeout:M,onStylesheetLoad:I,stylesheetLoadTimeout:$,keepIframeSrcFn:Y});ie&&I(e,ie)}},$),P}function mG(e,t){const{mirror:n=new PA,blockClass:a="rr-block",blockSelector:o=null,unblockSelector:l=null,maskAllText:c=!1,maskTextClass:d="rr-mask",unmaskTextClass:f=null,maskTextSelector:p=null,unmaskTextSelector:m=null,inlineStylesheet:y=!0,inlineImages:b=!1,recordCanvas:x=!1,maskAllInputs:E=!1,maskAttributeFn:S,maskTextFn:C,maskInputFn:R,slimDOM:N=!1,dataURLOptions:D,preserveWhiteSpace:L,onSerialize:O,onIframeLoad:A,iframeLoadTimeout:w,onStylesheetLoad:M,stylesheetLoadTimeout:I,keepIframeSrcFn:$=()=>!1}=t||{};return Ys(e,{doc:e,mirror:n,blockClass:a,blockSelector:o,unblockSelector:l,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:m,skipChild:!1,inlineStylesheet:y,maskInputOptions:E===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:E===!1?{}:E,maskAttributeFn:S,maskTextFn:C,maskInputFn:R,slimDOMOptions:N===!0||N==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:N==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
286:N===!1?{}:N,dataURLOptions:D,inlineImages:b,recordCanvas:x,preserveWhiteSpace:L,onSerialize:O,onIframeLoad:A,iframeLoadTimeout:w,onStylesheetLoad:M,stylesheetLoadTimeout:I,keepIframeSrcFn:$,newlyAddedElement:!1})}function Mi(e){let t,n=e[0],a=1;for(;a<e.length;){const o=e[a],l=e[a+1];if(a+=2,(o==="optionalAccess"||o==="optionalCall")&&n==null)return;o==="access"||o==="optionalAccess"?(t=n,n=l(n)):(o==="call"||o==="optionalCall")&&(n=l((...c)=>n.call(t,...c)),t=void 0)}return n}function zn(e,t,n=document){const a={capture:!0,passive:!0};return n.addEventListener(e,t,a),()=>n.removeEventListener(e,t,a)}const Hs=`Please stop import mirror directly. Instead of that,\r 287now you can use replayer.getMirror() to access the mirror instance of a replayer,\r 288or you can use record.mirror to access the mirror instance during recording.`;let ET={map:{},getId(){return console.error(Hs),-1},getNode(){return console.error(Hs),null},removeNodeFromMap(){console.error(Hs)},has(){return console.error(Hs),!1},reset(){console.error(Hs)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(ET=new Proxy(ET,{get(e,t,n){return t==="map"&&console.error(Hs),Reflect.get(e,t,n)}}));function vu(e,t,n={}){let a=null,o=0;return function(...l){const c=Date.now();!o&&n.leading===!1&&(o=c);const d=t-(c-o),f=this;d<=0||d>t?(a&&(clearTimeout(a),a=null),o=c,e.apply(f,l)):!a&&n.trailing!==!1&&(a=setTimeout(()=>{o=n.leading===!1?0:Date.now(),a=null,e.apply(f,l)},d))}}function HA(e,t,n,a,o=window){const l=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,a?n:{set(c){setTimeout(()=>{n.set.call(this,c)},0),l&&l.set&&l.set.call(this,c)}}),()=>HA(e,t,l||{},!0)}function t0(e,t,n){try{if(!(t in e))return()=>{};const a=e[t],o=n(a);return typeof o=="function"&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:a}})),e[t]=o,()=>{e[t]=a}}catch{return()=>{}}}let Sp=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Sp=()=>new Date().getTime());function FA(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:Mi([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollLeft])||Mi([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollLeft])||Mi([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:Mi([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollTop])||Mi([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollTop])||Mi([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollTop])||0}}function qA(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function GA(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Fr(e,t,n,a,o){if(!e)return!1;const l=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!l)return!1;const c=Vs(t,n);if(!o){const p=a&&l.matches(a);return c(l)&&!p}const d=Eo(l,c);let f=-1;return d<0?!1:(a&&(f=Eo(l,Vs(null,a))),d>-1&&f<0?!0:d<f)}function gG(e,t){return t.getId(e)!==-1}function _y(e,t){return t.getId(e)===yu}function WA(e,t){if(ru(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?WA(e.parentNode,t):!0:!0}function Ev(e){return!!e.changedTouches}function yG(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=>{let n=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}function VA(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function YA(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function wv(e){return!!Mi([e,"optionalAccess",t=>t.shadowRoot])}class vG{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return PH(this.styleIDMap.get(t),()=>-1)}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let a;return n===void 0?a=this.id++:a=n,this.styleIDMap.set(t,a),this.idStyleMap.set(a,t),a}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function KA(e){let t=null;return Mi([e,"access",n=>n.getRootNode,"optionalCall",n=>n(),"optionalAccess",n=>n.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function bG(e){let t=e,n;for(;n=KA(t);)t=n;return t}function SG(e){const t=e.ownerDocument;if(!t)return!1;const n=bG(e);return t.contains(n)}function XA(e){const t=e.ownerDocument;return t?t.contains(e)||SG(e):!1}let Ey;function xG(){if(Ey)return Ey;const e=window.document;let t=window.requestAnimationFrame;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const a=n.contentWindow;a&&a.requestAnimationFrame&&(t=a.requestAnimationFrame),e.head.removeChild(n)}catch{}return Ey=t.bind(window)}function _G(...e){return xG()(...e)}var $e=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))($e||{}),Be=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(Be||{}),jn=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(jn||{}),$a=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))($a||{});function EG(e){let t,n=e[0],a=1;for(;a<e.length;){const o=e[a],l=e[a+1];if(a+=2,(o==="optionalAccess"||o==="optionalCall")&&n==null)return;o==="access"||o==="optionalAccess"?(t=n,n=l(n)):(o==="call"||o==="optionalCall")&&(n=l((...c)=>n.call(t,...c)),t=void 0)}return n}function wT(e){return"__ln"in e}class wG{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let a=0;a<t;a++)n=EG([n,"optionalAccess",o=>
vendor: 6,042 bytes, line 288
288o.next])||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&wT(t.previousSibling)){const a=t.previousSibling.__ln.next;n.next=a,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,a&&(a.previous=n)}else if(t.nextSibling&&wT(t.nextSibling)&&t.nextSibling.__ln.previous){const a=t.nextSibling.__ln.previous;n.previous=a,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,a&&(a.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const TT=(e,t)=>`${e}@${t}`;class TG{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],n=new Set,a=new wG,o=f=>{let p=f,m=yu;for(;m===yu;)p=p&&p.nextSibling,m=p&&this.mirror.getId(p);return m},l=f=>{if(!f.parentNode||!XA(f))return;const p=ru(f.parentNode)?this.mirror.getId(KA(f)):this.mirror.getId(f.parentNode),m=o(f);if(p===-1||m===-1)return a.addNode(f);const y=Ys(f,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:b=>{VA(b,this.mirror)&&this.iframeManager.addIframe(b),YA(b,this.mirror)&&this.stylesheetManager.trackLinkElement(b),wv(f)&&this.shadowDomManager.addShadowRoot(f.shadowRoot,this.doc)},onIframeLoad:(b,x)=>{this.iframeManager.attachIframe(b,x),this.shadowDomManager.observeAttachShadow(b)},onStylesheetLoad:(b,x)=>{this.stylesheetManager.attachLinkElement(b,x)}});y&&(t.push({parentId:p,nextId:m,node:y}),n.add(y.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const f of this.movedSet)RT(this.removes,f,this.mirror)&&!this.movedSet.has(f.parentNode)||l(f);for(const f of this.addedSet)!CT(this.droppedSet,f)&&!RT(this.removes,f,this.mirror)||CT(this.movedSet,f)?l(f):this.droppedSet.add(f);let c=null;for(;a.length;){let f=null;if(c){const p=this.mirror.getId(c.value.parentNode),m=o(c.value);p!==-1&&m!==-1&&(f=c)}if(!f){let p=a.tail;for(;p;){const m=p;if(p=p.previous,m){const y=this.mirror.getId(m.value.parentNode);if(o(m.value)===-1)continue;if(y!==-1){f=m;break}else{const x=m.value;if(x.parentNode&&x.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const E=x.parentNode.host;if(this.mirror.getId(E)!==-1){f=m;break}}}}}}if(!f){for(;a.head;)a.removeNode(a.head.value);break}c=f.previous,a.removeNode(f.value),l(f.value)}const d={texts:this.texts.map(f=>({id:this.mirror.getId(f.node),value:f.value})).filter(f=>!n.has(f.id)).filter(f=>this.mirror.has(f.id)),attributes:this.attributes.map(f=>{const{attributes:p}=f;if(typeof p.style=="string"){const m=JSON.stringify(f.styleDiff),y=JSON.stringify(f._unchangedStyles);m.length<p.style.length&&(m+y).split("var(").length===p.style.split("var(").length&&(p.style=f.styleDiff)}return{id:this.mirror.getId(f.node),attributes:p}}).filter(f=>!n.has(f.id)).filter(f=>this.mirror.has(f.id)),removes:this.removes,adds:t};!d.texts.length&&!d.attributes.length&&!d.removes.length&&!d.adds.length||(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(d))},this.processMutation=t=>{if(_y(t.target,this.mirror))return;let n;try{n=document.implementation.createHTMLDocument()}catch{n=this.doc}switch(t.type){case"characterData":{const a=t.target.textContent;!Fr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&a!==t.oldValue&&this.texts.push({value:yl(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&a?this.maskTextFn?this.maskTextFn(a):a.replace(/[\S]/g,"*"):a,node:t.target});break}case"attributes":{const a=t.target;let o=t.attributeName,l=t.target.getAttribute(o);if(o==="value"){const d=Zb(a),f=a.tagName;l=vp(a,f,d);const p=ph({maskInputOptions:this.maskInputOptions,tagName:f,type:d}),m=yl(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,p);l=gu({isMasked:m,element:a,value:l,maskInputFn:this.maskInputFn})}if(Fr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||l===t.oldValue)return;let c=this.attributes.find(d=>d.node===t.target);if(a.tagName==="IFRAME"&&o==="src"&&!this.keepIframeSrcFn(l))if(!a.contentDocument)o="rr_src";else return;if(c||(c={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(c)),o==="type"&&a.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&a.setAttribute("data-rr-is-password","true"),!BA(a.tagName,o)&&(c.attributes[o]=$A(this.doc,gl(a.tagName),gl(o),l,a,this.maskAttributeFn),o==="style")){const d=n.createElement("span");t.oldValue&&d.setAttribute("style",t.oldValue);for(const f of Array.from(a.style)){const p=a.style.getPropertyValue(f),m=a.style.getPropertyPriority(f);p!==d.style.getPropertyValue(f)||m!==d.style.getPropertyPriority(f)?m===""?c.styleDiff[f]=p:c.styleDiff[f]=[p,m]:c._unchangedStyles[f]=[p,m]}for(const f of Array.from(d.style))a.style.getPropertyValue(f)===""&&(c.styleDiff[f]=!1)}break}
288case"childList":{if(Fr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(a=>this.genAdds(a,t.target)),t.removedNodes.forEach(a=>{const o=this.mirror.getId(a),l=ru(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);Fr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||_y(a,this.mirror)||!gG(a,this.mirror)||(this.addedSet.has(a)?(Tv(this.addedSet,a),this.droppedSet.add(a)):this.addedSet.has(t.target)&&o===-1||WA(t.target,this.mirror)||(this.movedSet.has(a)&&this.movedMap[TT(o,l)]?Tv(this.movedSet,a):this.removes.push({parentId:l,id:o,isShadow:ru(t.target)&&au(t.target)?!0:void 0})),this.mapRemoves.push(a))});break}}},this.genAdds=(t,n)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(_y(t,this.mirror))return;this.movedSet.add(t);let a=null;n&&this.mirror.hasNode(n)&&(a=this.mirror.getId(n)),a&&a!==-1&&(this.movedMap[TT(this.mirror.getId(t),a)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Fr(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes.forEach(a=>this.genAdds(a)),wv(t)&&t.shadowRoot.childNodes.forEach(a=>{this.processedNodeManager.add(a,this),this.genAdds(a,t)}))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(n=>{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Tv(e,t){e.delete(t),t.childNodes.forEach(n=>Tv(e,n))}function RT(e,t,n){return e.length===0?!1:QA(e,t,n)}function QA(e,t,n){const{parentNode:a}=t;if(!a)return!1;const o=n.getId(a);return e.some(l=>l.id===o)?!0:QA(e,a,n)}function CT(e,t){return e.size===0?!1:ZA(e,t)}function ZA(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:ZA(e,n):!1}let iu;function RG(e){iu=e}function CG(){iu=void 0}const Je=e=>iu?(...n)=>{try{return e(...n)}catch(a){if(iu&&iu(a)===!0)return()=>{};throw a}}:e;function ca(e){let t,n=e[0],a=1;for(;a<e.length;){const o=e[a],l=e[a+1];if(a+=2,(o==="optionalAccess"||o==="optionalCall")&&n==null)return;o==="access"||o==="optionalAccess"?(t=n,n=l(n)):(o==="call"||o==="optionalCall")&&(n=l((...c)=>n.call(t,...c)),t=void 0)}return n}const Ks=[];function Yu(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function JA(e,t){const n=new TG;Ks.push(n),n.init(e);let a=window.MutationObserver||window.__rrMutationObserver;const o=ca([window,"optionalAccess",c=>c.Zone,"optionalAccess",c=>c.__symbol__,"optionalCall",c=>c("MutationObserver")]);o&&window[o]&&(a=window[o]);const l=new a(Je(c=>{e.onMutation&&e.onMutation(c)===!1||n.processMutations.bind(n)(c)}));return l.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),l}function OG({mousemoveCb:e,sampling:t,doc:n,mirror:a}){if(t.mousemove===!1)return()=>{};const o=typeof t.mousemove=="number"?t.mousemove:50,l=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let c=[],d;const f=vu(Je(y=>{const b=Date.now()-d;e(c.map(x=>(x.timeOffset-=b,x)),y),c=[],d=null}),l),p=Je(vu(Je(y=>{const b=Yu(y),{clientX:x,clientY:E}=Ev(y)?y.changedTouches[0]:y;d||(d=Sp()),c.push({x,y:E,id:a.getId(b),timeOffset:Sp()-d}),f(typeof DragEvent<"u"&&y instanceof DragEvent?Be.Drag:y instanceof MouseEvent?Be.MouseMove:Be.TouchMove)}),o,{trailing:!1})),m=[zn("mousemove",p,n),zn("touchmove",p,n),zn("drag",p,n)];return Je(()=>{m.forEach(y=>y())})}function AG({mouseInteractionCb:e,doc:t,mirror:n,blockClass:a,blockSelector:o,unblockSelector:l,sampling:c}){if(c.mouseInteraction===!1)return()=>{};const d=c.mouseInteraction===!0||c.mouseInteraction===void 0?{}:c.mouseInteraction,f=[];let p=null;const m=y=>b=>{const x=Yu(b);if(Fr(x,a,o,l,!0))return;let E=null,S=y;if("pointerType"in b){switch(b.pointerType){case"mouse":E=$a.Mouse;break;case"touch":E=$a.Touch;break;case"pen":E=$a.Pen;break}E===$a.Touch?jn[y]===jn.MouseDown?S="TouchStart":jn[y]===jn.MouseUp&&(S="TouchEnd"):$a.Pen}else Ev(b)&&(E=$a.Touch);E!==null?(p=E,(S.startsWith("Touch")&&E===$a.Touch||S.startsWith("Mouse")&&E===$a.Mouse)&&(E=null)):jn[y]===jn.Click&&(E=p,p=null);const C=Ev(b)?b.changedTouches[0]:b;if(!C)return;
vendor: 4,137 bytes, line 288
288const R=n.getId(x),{clientX:N,clientY:D}=C;Je(e)({type:jn[S],id:R,x:N,y:D,...E!==null&&{pointerType:E}})};return Object.keys(jn).filter(y=>Number.isNaN(Number(y))&&!y.endsWith("_Departed")&&d[y]!==!1).forEach(y=>{let b=gl(y);const x=m(y);if(window.PointerEvent)switch(jn[y]){case jn.MouseDown:case jn.MouseUp:b=b.replace("mouse","pointer");break;case jn.TouchStart:case jn.TouchEnd:return}f.push(zn(b,x,t))}),Je(()=>{f.forEach(y=>y())})}function e2({scrollCb:e,doc:t,mirror:n,blockClass:a,blockSelector:o,unblockSelector:l,sampling:c}){const d=Je(vu(Je(f=>{const p=Yu(f);if(!p||Fr(p,a,o,l,!0))return;const m=n.getId(p);if(p===t&&t.defaultView){const y=FA(t.defaultView);e({id:m,x:y.left,y:y.top})}else e({id:m,x:p.scrollLeft,y:p.scrollTop})}),c.scroll||100));return zn("scroll",d,t)}function NG({viewportResizeCb:e},{win:t}){let n=-1,a=-1;const o=Je(vu(Je(()=>{const l=qA(),c=GA();(n!==l||a!==c)&&(e({width:Number(c),height:Number(l)}),n=l,a=c)}),200));return zn("resize",o,t)}const kG=["INPUT","TEXTAREA","SELECT"],OT=new WeakMap;function MG({inputCb:e,doc:t,mirror:n,blockClass:a,blockSelector:o,unblockSelector:l,ignoreClass:c,ignoreSelector:d,maskInputOptions:f,maskInputFn:p,sampling:m,userTriggeredOnInput:y,maskTextClass:b,unmaskTextClass:x,maskTextSelector:E,unmaskTextSelector:S}){function C(w){let M=Yu(w);const I=w.isTrusted,$=M&&_v(M.tagName);if($==="OPTION"&&(M=M.parentElement),!M||!$||kG.indexOf($)<0||Fr(M,a,o,l,!0))return;const Y=M;if(Y.classList.contains(c)||d&&Y.matches(d))return;const ne=Zb(M);let se=vp(Y,$,ne),ae=!1;const ee=ph({maskInputOptions:f,tagName:$,type:ne}),P=yl(M,b,E,x,S,ee);(ne==="radio"||ne==="checkbox")&&(ae=M.checked),se=gu({isMasked:P,element:M,value:se,maskInputFn:p}),R(M,y?{text:se,isChecked:ae,userTriggered:I}:{text:se,isChecked:ae});const K=M.name;ne==="radio"&&K&&ae&&t.querySelectorAll(`input[type="radio"][name="${K}"]`).forEach(ie=>{if(ie!==M){const de=gu({isMasked:P,element:ie,value:vp(ie,$,ne),maskInputFn:p});R(ie,y?{text:de,isChecked:!ae,userTriggered:!1}:{text:de,isChecked:!ae})}})}function R(w,M){const I=OT.get(w);if(!I||I.text!==M.text||I.isChecked!==M.isChecked){OT.set(w,M);const $=n.getId(w);Je(e)({...M,id:$})}}const D=(m.input==="last"?["change"]:["input","change"]).map(w=>zn(w,Je(C),t)),L=t.defaultView;if(!L)return()=>{D.forEach(w=>w())};const O=L.Object.getOwnPropertyDescriptor(L.HTMLInputElement.prototype,"value"),A=[[L.HTMLInputElement.prototype,"value"],[L.HTMLInputElement.prototype,"checked"],[L.HTMLSelectElement.prototype,"value"],[L.HTMLTextAreaElement.prototype,"value"],[L.HTMLSelectElement.prototype,"selectedIndex"],[L.HTMLOptionElement.prototype,"selected"]];return O&&O.set&&D.push(...A.map(w=>HA(w[0],w[1],{set(){Je(C)({target:this,isTrusted:!1})}},!1,L))),Je(()=>{D.forEach(w=>w())})}function xp(e){const t=[];function n(a,o){if(Mf("CSSGroupingRule")&&a.parentRule instanceof CSSGroupingRule||Mf("CSSMediaRule")&&a.parentRule instanceof CSSMediaRule||Mf("CSSSupportsRule")&&a.parentRule instanceof CSSSupportsRule||Mf("CSSConditionRule")&&a.parentRule instanceof CSSConditionRule){const c=Array.from(a.parentRule.cssRules).indexOf(a);o.unshift(c)}else if(a.parentStyleSheet){const c=Array.from(a.parentStyleSheet.cssRules).indexOf(a);o.unshift(c)}return o}return n(e,t)}function Di(e,t,n){let a,o;return e?(e.ownerNode?a=t.getId(e.ownerNode):o=n.getId(e),{styleId:o,id:a}):{}}function DG({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:a}){if(!a.CSSStyleSheet||!a.CSSStyleSheet.prototype)return()=>{};const o=a.CSSStyleSheet.prototype.insertRule;a.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:Je((m,y,b)=>{const[x,E]=b,{id:S,styleId:C}=Di(y,t,n.styleMirror);return(S&&S!==-1||C&&C!==-1)&&e({id:S,styleId:C,adds:[{rule:x,index:E}]}),m.apply(y,b)})});const l=a.CSSStyleSheet.prototype.deleteRule;a.CSSStyleSheet.prototype.deleteRule=new Proxy(l,{apply:Je((m,y,b)=>{const[x]=b,{id:E,styleId:S}=Di(y,t,n.styleMirror);return(E&&E!==-1||S&&S!==-1)&&e({id:E,styleId:S,removes:[{index:x}]}),m.apply(y,b)})});let c;a.CSSStyleSheet.prototype.replace&&(c=a.CSSStyleSheet.prototype.replace,a.CSSStyleSheet.prototype.replace=new Proxy(c,{apply:Je
288((m,y,b)=>{const[x]=b,{id:E,styleId:S}=Di(y,t,n.styleMirror);return(E&&E!==-1||S&&S!==-1)&&e({id:E,styleId:S,replace:x}),m.apply(y,b)})}));let d;a.CSSStyleSheet.prototype.replaceSync&&(d=a.CSSStyleSheet.prototype.replaceSync,a.CSSStyleSheet.prototype.replaceSync=new Proxy(d,{apply:Je((m,y,b)=>{const[x]=b,{id:E,styleId:S}=Di(y,t,n.styleMirror);return(E&&E!==-1||S&&S!==-1)&&e({id:E,styleId:S,replaceSync:x}),m.apply(y,b)})}));const f={};Df("CSSGroupingRule")?f.CSSGroupingRule=a.CSSGroupingRule:(Df("CSSMediaRule")&&(f.CSSMediaRule=a.CSSMediaRule),Df("CSSConditionRule")&&(f.CSSConditionRule=a.CSSConditionRule),Df("CSSSupportsRule")&&(f.CSSSupportsRule=a.CSSSupportsRule));const p={};return Object.entries(f).forEach(([m,y])=>{p[m]={insertRule:y.prototype.insertRule,deleteRule:y.prototype.deleteRule},y.prototype.insertRule=new Proxy(p[m].insertRule,{apply:Je((b,x,E)=>{const[S,C]=E,{id:R,styleId:N}=Di(x.parentStyleSheet,t,n.styleMirror);return(R&&R!==-1||N&&N!==-1)&&e({id:R,styleId:N,adds:[{rule:S,index:[...xp(x),C||0]}]}),b.apply(x,E)})}),y.prototype.deleteRule=new Proxy(p[m].deleteRule,{apply:Je((b,x,E)=>{const[S]=E,{id:C,styleId:R}=Di(x.parentStyleSheet,t,n.styleMirror);return(C&&C!==-1||R&&R!==-1)&&e({id:C,styleId:R,removes:[{index:[...xp(x),S]}]}),b.apply(x,E)})})}),Je(()=>{a.CSSStyleSheet.prototype.insertRule=o,a.CSSStyleSheet.prototype.deleteRule=l,c&&(a.CSSStyleSheet.prototype.replace=c),d&&(a.CSSStyleSheet.prototype.replaceSync=d),Object.entries(f).forEach(([m,y])=>{y.prototype.insertRule=p[m].insertRule,y.prototype.deleteRule=p[m].deleteRule})})}function t2({mirror:e,stylesheetManager:t},n){let a=null;n.nodeName==="#document"?a=e.getId(n):a=e.getId(n.host);const o=n.nodeName==="#document"?ca([n,"access",c=>c.defaultView,"optionalAccess",c=>c.Document]):ca([n,"access",c=>c.ownerDocument,"optionalAccess",c=>c.defaultView,"optionalAccess",c=>c.ShadowRoot]),l=ca([o,"optionalAccess",c=>c.prototype])?Object.getOwnPropertyDescriptor(ca([o,"optionalAccess",c=>c.prototype]),"adoptedStyleSheets"):void 0;return a===null||a===-1||!o||!l?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get(){return ca([l,"access",c=>c.get,"optionalAccess",c=>c.call,"call",c=>c(this)])},set(c){const d=ca([l,"access",f=>f.set,"optionalAccess",f=>f.call,"call",f=>f(this,c)]);if(a!==null&&a!==-1)try{t.adoptStyleSheets(c,a)}catch{}return d}}),Je(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get:l.get,set:l.set})}))}function LG({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:a},{win:o}){const l=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(l,{apply:Je((d,f,p)=>{const[m,y,b]=p;if(n.has(m))return l.apply(f,[m,y,b]);const{id:x,styleId:E}=Di(ca([f,"access",S=>S.parentRule,"optionalAccess",S=>S.parentStyleSheet]),t,a.styleMirror);return(x&&x!==-1||E&&E!==-1)&&e({id:x,styleId:E,set:{property:m,value:y,priority:b},index:xp(f.parentRule)}),d.apply(f,p)})});const c=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(c,{apply:Je((d,f,p)=>{const[m]=p;if(n.has(m))return c.apply(f,[m]);const{id:y,styleId:b}=Di(ca([f,"access",x=>x.parentRule,"optionalAccess",x=>x.parentStyleSheet]),t,a.styleMirror);return(y&&y!==-1||b&&b!==-1)&&e({id:y,styleId:b,remove:{property:m},index:xp(f.parentRule)}),d.apply(f,p)})}),Je(()=>{o.CSSStyleDeclaration.prototype.setProperty=l,o.CSSStyleDeclaration.prototype.removeProperty=c})}function IG({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:a,mirror:o,sampling:l,doc:c}){const d=Je(p=>vu(Je(m=>{const y=Yu(m);if(!y||Fr(y,t,n,a,!0))return;const{currentTime:b,volume:x,muted:E,playbackRate:S}=y;e({type:p,id:o.getId(y),currentTime:b,volume:x,muted:E,playbackRate:S})}),l.media||500)),f=[zn("play",d(0),c),zn("pause",d(1),c),zn("seeked",d(2),c),zn("volumechange",d(3),c),zn("ratechange",d(4),c)];return Je(()=>{f.forEach(p=>p())})}function jG({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const a=[],o=new WeakMap,l=n.FontFace;n.FontFace=function(f,p,m){const y=new l(f,p,m);return o.set(y,{family:f,buffer:typeof p!="string",descriptors:m,fontSource:typeof p=="string"?p:JSON.stringify(Array.from(new Uint8Array(p)))}),y};const c=t0(t.fonts,"add",function(d){return function(f){return setTimeout(Je(()=>{const p=o.get(f);p&&(e(p),o.delete(f))}),0),d.apply(this,[f])}});return a.push(()=>{n.FontFace=l}),a.push(c),Je(()=>{a.forEach(d=>d())})}function UG(e){const{doc:t,mirror:n,blockClass:a,blockSelector:o,unblockSelector:l,selectionCb:c}=e;let d=!0;const f=Je(()=>{const p=t.getSelection();if(!p||d&&ca([p,"optionalAccess",b=>b.isCollapsed]))return;d=p.isCollapsed||!1;const m=[],y=p.rangeCount||0;for(let b=0;b<y;b++){const x=p.getRangeAt(b),{startContainer:E,startOffset:S,endContainer:C,endOffset:R}=x;Fr(E,a,o,l,!0)||Fr(C,a,o,l,!0)||m.push({start:n.getId(E),startOffset:S,end:n.getId(C),endOffset:R})}c({ranges:m})});return f(),zn("selectionchange",f)}function zG({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:t0(n.customElements,"define",function(o){return function(l,c,d){try{t({define:{name:l}})}catch{}return o.apply(this,[l,c,d])}})}function PG(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};const a=JA(e,e.doc),o=OG(e),l=AG(e),c=e2(e),d=NG(e,{win:n}),f=MG(e),p=IG(e),m=DG(e,{win:n}),y=t2(e,e.doc),b=LG(e,{win:n}),x=e.collectFonts?jG(e):()=>{},E=UG(e),S=zG(e),C=[];for(const R of e.plugins)C.push(R.observer(R.callback,n,R.options));return Je(()=>{Ks.forEach(R=>R.reset()),a.disconnect(),o(),l(),c(),d(),f(),p(),m(),y(),b(),x(),E(),S(),C.forEac
288h(R=>R())})}function Mf(e){return typeof window[e]<"u"}function Df(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Rv{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,a,o){const l=a||this.getIdToRemoteIdMap(t),c=o||this.getRemoteIdToIdMap(t);let d=l.get(n);return d||(d=this.generateIdFn(),l.set(n,d),c.set(d,n)),d}getIds(t,n){const a=this.getIdToRemoteIdMap(t),o=this.getRemoteIdToIdMap(t);return n.map(l=>this.getId(t,l,a,o))}getRemoteId(t,n,a){const o=a||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const l=o.get(n);return l||-1}getRemoteIds(t,n){const a=this.getRemoteIdToIdMap(t);return n.map(o=>this.getRemoteId(t,o,a))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}function AT(e){let t,n=e[0],a=1;for(;a<e.length;){const o=e[a],l=e[a+1];if(a+=2,(o==="optionalAccess"||o==="optionalCall")&&n==null)return;o==="access"||o==="optionalAccess"?(t=n,n=l(n)):(o==="call"||o==="optionalCall")&&(n=l((...c)=>n.call(t,...c)),t=void 0)}return n}class $G{constructor(){this.crossOriginIframeMirror=new Rv(Jb),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class BG{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Rv(Jb),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Rv(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),AT([this,"access",a=>a.loadListener,"optionalCall",a=>a(t)]),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const o=this.crossOriginIframeMap.get(t.source);if(!o)return;const l=this.transformCrossOriginEvent(o,n.data.event);l&&this.wrappedEmit(l,n.data.isCheckout)}transformCrossOriginEvent(t,n){switch(n.type){case $e.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const a=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,a),this.patchRootIdOnNode(n.data.node,a),{timestamp:n.timestamp,type:$e.IncrementalSnapshot,data:{source:Be.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case $e.Meta:case $e.Load:case $e.DomContentLoaded:return!1;case $e.Plugin:return n;case $e.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case $e.IncrementalSnapshot:switch(n.data.source){case Be.Mutation:return n.data.adds.forEach(a=>{this.replaceIds(a,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(a.node,t);const o=this.crossOriginIframeRootIdMap.get(t);o&&this.patchRootIdOnNode(a.node,o)}),n.data.removes.forEach(a=>{this.replaceIds(a,t,["parentId","id"])}),n.data.attributes.forEach(a=>{this.replaceIds(a,t,["id"])}
288),n.data.texts.forEach(a=>{this.replaceIds(a,t,["id"])}),n;case Be.Drag:case Be.TouchMove:case Be.MouseMove:return n.data.positions.forEach(a=>{this.replaceIds(a,t,["id"])}),n;case Be.ViewportResize:return!1;case Be.MediaInteraction:case Be.MouseInteraction:case Be.Scroll:case Be.CanvasMutation:case Be.Input:return this.replaceIds(n.data,t,["id"]),n;case Be.StyleSheetRule:case Be.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case Be.Font:return n;case Be.Selection:return n.data.ranges.forEach(a=>{this.replaceIds(a,t,["start","end"])}),n;case Be.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),AT([n,"access",a=>a.data,"access",a=>a.styles,"optionalAccess",a=>a.forEach,"call",a=>a(o=>{this.replaceStyleIds(o,t,["styleId"])})]),n}}return!1}replace(t,n,a,o){for(const l of o)!Array.isArray(n[l])&&typeof n[l]!="number"||(Array.isArray(n[l])?n[l]=t.getIds(a,n[l]):n[l]=t.getId(a,n[l]));return n}replaceIds(t,n,a){return this.replace(this.crossOriginIframeMirror,t,n,a)}replaceStyleIds(t,n,a){return this.replace(this.crossOriginIframeStyleMirror,t,n,a)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(a=>{this.replaceIdOnNode(a,n)})}patchRootIdOnNode(t,n){t.type!==pn.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(a=>{this.patchRootIdOnNode(a,n)})}}class HG{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class FG{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!au(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t);const a=JA({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>a.disconnect()),this.restoreHandlers.push(e2({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),setTimeout(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(t2({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,n){const a=this;this.restoreHandlers.push(t0(t.prototype,"attachShadow",function(o){return function(l){const c=o.call(this,l);return this.shadowRoot&&XA(this)&&a.addShadowRoot(this.shadowRoot,n),c}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class NT{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class qG{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new vG,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const a={id:n,styleIds:[]},o=[];for(const l of t){let c;this.styleMirror.has(l)?c=this.styleMirror.getId(l):(c=this.styleMirror.add(l),o.push({styleId:c,rules:Array.from(l.rules||CSSRule,(d,f)=>({rule:zA(d),index:f}))})),a.styleIds.push(c)}o.length>0&&(a.styles=o),this.adoptedStyleSheetCb(a)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class GG{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){_G(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(t,n){const a=this.nodeMap.get(t);return a&&Array.from(a).some(o=>o!==n)}add(t,n){this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}function on(e){const t=e;return t.timestamp=Sp(),t}let _p;const Hr=Wq();function $i(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:a,blockClass:o="rr-block",blockSelector:l=null,unblockSelector:c=null,ignoreClass:d="rr-ignore",ignoreSelector:f=null,maskAllText:p=!1,maskTextClass:m="rr-mask",unmaskTextClass:y=null,maskTextSelector:b=null,unmaskTextSelector:x=null,inlineStylesheet:E=!0,maskAllInputs:S,maskInputOptions:C,slimDOMOptions:R,maskAttributeFn:N,maskInputFn:D,maskTextFn:L,packFn:O,sampling:A={},dataURLOptions:w={},mousemoveWait:M,recordCanvas:I=!1,recordCrossOriginIframes:$=!1,recordAfter:Y=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:ne=!1,collectFonts:se=!1,inlineImages:ae=!1,plugins:ee,keepIframeSrcFn:P=()=>!1,ignoreCSSAttributes:K=new Set([]),errorHandler:ie,onMutation:de,getCanvasManager:me}=e;RG(ie);const j=$?window.parent===window:!0;let X=!1;if(!j)try{window.parent.document&&(X=!1)}catch{X=!0}if(j&&!t)throw new Error("emit function is required");M!==void 0&&A.mousemove===void 0&&(A.mousemove=M),Hr.reset();const le=S===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:C!==void 0?C:{},oe=R===!0||R==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:R==="all",headMetaDescKeywords:R==="all"}:R||{};yG();let pe,ue=0;const Se=be=>{for(const He of ee||[])He.eventProcessor&&(be=He.eventProcessor(be));return O&&!X&&(be=O(be)),be},fe=(be,He)=>{if(my([Ks,"access",_e=>_e[0],"optionalAccess",_e=>_e.isFrozen,"call",_e=>_e()])&&be.type!==$e.FullSnapshot&&!(be.type===$e.IncrementalSnapshot&&be.data.source===Be.Mutation)&&Ks.forEach(_e=>_e.unfreeze()),j)my([t,"optionalCall",_e=>_e(Se(be),He)]);else if(X){const _e={type:"rrweb",event:Se(be),origin:window.location.origin,isCheckout:He};window.parent.postMessage(_e,"*")}if(be.type===$e.FullSnapshot)pe=be,ue=0;else if(be.type===$e.IncrementalSnapshot){if(be.data.source===Be.Mutation&&be.data.isAttachIframe)return;ue++;const _e=a&&ue>=a,it=n&&pe&&be.timestamp-pe.timestamp>n;(_e||it)&&ft(!0)}},ge=be=>{fe(on({type:$e.IncrementalSnapshot,data:{source:Be.Mutation,...be}}))},ut=be=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.Scroll,...be}})),Oe=be=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.CanvasMutation,...be}})),qe=be=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.AdoptedStyleSheet,...be}})),_t=new qG({mutationCb:ge,adoptedStyleSheetCb:qe}),Pe=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new $G:new BG({mirror:Hr,mutationCb:ge,stylesheetManager:_t,recordCrossOriginIframes:$,wrappedEmit:fe});for(const be of ee||[])be.getMirror&&be.getMirror({nodeMirror:Hr,crossOriginIframeMirror:Pe.crossOriginIframeMirror,crossOriginIframeStyleMirror:Pe.crossOriginIframeStyleMirror});const Ae=new GG,ye=VG(me,{mirror:Hr,win:window,mutationCb:be=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.CanvasMutation,...be}})),recordCanvas:I,blockClass:o,blockSelector:l,unblockSelector:c,sampling:A.canvas,dataURLOptions:w,errorHandler:ie}),Ze=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new HG:new FG({mutationCb:ge,scrollCb:ut,bypassOptions:{onMutation:de,blockClass:o,blockSelector:l,unblockSelector:c,maskAllText:p,maskTextClass:m,unmaskTextClass:y,maskTextSelector:b,unmaskTextSelector:x,inlineStylesheet:E,maskInputOptions:le,dataURLOptions:w,maskAttributeFn:N,maskTextFn:L,maskInputFn:D,recordCanvas:I,inlineImages:ae,sampling:A,slimDOMOptions:oe,iframeManager:Pe,stylesheetManager:_t,canvasManager:ye,keepIframeSrcFn:P,processedNodeManager:Ae},mirror:Hr}),ft=(be=!1)=>{fe(on({type:$e.Meta,data:{href:window.location.href,width:GA(),height:qA()}}),be),_t.reset(),Ze.init(),Ks.forEach(_e=>_e.lock());const He=mG(document,{mirror:Hr,blockClass:o,blockSelector:l,unblockSelector:c,maskAllText:p,maskTextClass:m,unmaskTextClass:y,maskTextSelector:b,unmaskTextSelector:x,inlineStylesheet:E,maskAllInputs:le,maskAttributeFn:N,maskInputFn:D,maskTextFn:L,slimDOM:oe,dataURLOptions:w,recordCanvas:I,inlineImages:ae,onSerialize:_e=>{VA(_e,Hr)&&Pe.addIframe(_e),YA(_e,Hr)&&_t.trackLinkElement(_e),wv(_e)&&Ze.addShadowRoot(_e.shadowRoot,document)},onIframeLoad:(_e,it)=>{Pe.attachIframe(_e,it),Ze.observeAttachShadow(_e)},onStylesheetLoad:(_e,it)=>{_t.attachLinkElement(_e,it)},keepIframeSrcFn:P});if(!He)return console.warn("Failed to snapshot the document");fe(on({type:$e.FullSnapshot,data:{node:He,initialOffset:FA(window)}})),Ks.forEach(_e=>_e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&_t.adoptStyleSheets(document.adoptedStyleSheets,Hr.getId(document))};_p=ft;try{const be=[],He=it=>Je(PG)({onMutation:de,mutationCb:ge,mousemoveCb:(ke,Ye)=>fe(on({type:$e.IncrementalSnapshot,data:{source:Ye,positions:ke}})),mouseInteractionCb:ke=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.MouseInteraction,...ke}})),scrollCb:ut,viewportResizeCb:ke=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.ViewportResize,...ke}})),inputCb:ke=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.Input,...ke}})),mediaInteractionCb:ke=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.MediaInteraction,...ke}})),styleSheetRuleCb:ke=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.StyleSheetRule,...ke}})),styleDeclarationCb:ke=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.StyleDeclaration,...ke}})),canvasMutationCb:Oe,fontCb:ke=>fe(on({type:$e.IncrementalSnapshot,data:{source:Be.Font,...ke}})),selectionCb:ke=>{fe(on({type:$e.IncrementalSnapshot,data:{source:Be.Selection,...ke}}))},customElementCb:ke=>{fe(on({type:$e.IncrementalSnapshot,data:{source:Be.CustomElement,...ke}}))},blockClass:o,ignoreClass:d,ignoreSelector:f,maskAllText:p,maskTextClass:m,unmaskTextClass:y,maskTextSelector:b,unmaskTextSelector:x,maskInputOptions:le,inlineStylesheet:E,sampling:A,recordCanvas:I,inlineImages:ae,userTriggeredOnInput:ne,collectFonts:se,doc:it,maskAttributeFn:N,maskInputFn:D,maskTextFn:L,keepIframeSrcFn:P,blockSelector:l,unblockSelector:c,slimDOMOptions:oe,dataURLOptions:w,mirror:Hr,iframeManager:Pe,stylesheetManager:_t,shadowDomManager:Ze,processedNodeManager:Ae,canvasManager:ye,ignoreCSSAttributes:K,plugins:my([ee,"optionalAccess",ke=>ke.filter,"call",ke=>ke(Ye=>Ye.observer),"optionalAccess",ke=>ke.map,"call",ke=>ke(Ye=>({observer:Ye.observer,options:Ye.options,callback:dn=>fe(on({type:$e.Plugin,data:{plugin:Ye.name,payload:dn}}))}))])||[]},{});Pe.addLoadListener(it=>{try{be.push(He(it.contentDocument))}catch(ke){console.warn(ke)}});const _e=()=>{ft(),be.push(He(document))};return document.readyState==="interactive"||document.readyState==="complete"?_e():(be.push(zn("DOMContentLoaded",()=>{fe(on({type:$e.DomContentLoaded,data:{}})),Y==="DOMContentLoaded"&&_e()})),be.push(zn("load",()=>{fe(on({type:$e.Load,data:{}})),Y==="load"&&_e()}
288,window))),()=>{be.forEach(it=>it()),Ae.destroy(),_p=void 0,CG()}}catch(be){console.warn(be)}}function WG(e){if(!_p)throw new Error("please take full snapshot after start recording");_p(e)}$i.mirror=Hr;$i.takeFullSnapshot=WG;function VG(e,t){try{return e?e(t):new NT}catch{return console.warn("Unable to initialize CanvasManager"),new NT}}const YG=3,KG=5;function n0(e){return e>9999999999?e:e*1e3}function wy(e){return e>9999999999?e/1e3:e}function Ku(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:$e.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:la(t,10,1e3)}}),t.category==="console")))}const XG="button,a";function n2(e){return e.closest(XG)||e}function r2(e){const t=a2(e);return!t||!(t instanceof Element)?t:n2(t)}function a2(e){return QG(e)?e.target:e}function QG(e){return typeof e=="object"&&!!e&&"target"in e}let Li;function ZG(e){return Li||(Li=[],JG()),Li.push(e),()=>{const t=Li?Li.indexOf(e):-1;t>-1&&Li.splice(t,1)}}function JG(){bn(Ot,"open",function(e){return function(...t){if(Li)try{Li.forEach(n=>n())}catch{}return e.apply(Ot,t)}})}function eW(e,t,n){e.handleClick(t,n)}class tW{constructor(t,n,a=Ku){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=a}addListeners(){const t=ZG(()=>{this._lastMutation=kT()});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,n){if(rW(n,this._ignoreSelector)||!aW(t))return;const a={timestamp:wy(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.some(o=>o.node===a.node&&Math.abs(o.timestamp-a.timestamp)<1)||(this._clicks.push(a),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(t=Date.now()){this._lastMutation=wy(t)}registerScroll(t=Date.now()){this._lastScroll=wy(t)}registerClick(t){const n=n2(t);this._handleMultiClick(n)}_handleMultiClick(t){this._getClicks(t).forEach(n=>{n.clickCount++})}_getClicks(t){return this._clicks.filter(n=>n.node===t)}_checkClicks(){const t=[],n=kT();this._clicks.forEach(a=>{!a.mutationAfter&&this._lastMutation&&(a.mutationAfter=a.timestamp<=this._lastMutation?this._lastMutation-a.timestamp:void 0),!a.scrollAfter&&this._lastScroll&&(a.scrollAfter=a.timestamp<=this._lastScroll?this._lastScroll-a.timestamp:void 0),a.timestamp+this._timeout<=n&&t.push(a)});for(const a of t){const o=this._clicks.indexOf(a);o>-1&&(this._generateBreadcrumbs(a),this._clicks.splice(o,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,a=t.scrollAfter&&t.scrollAfter<=this._scollTimeout,o=t.mutationAfter&&t.mutationAfter<=this._threshold,l=!a&&!o,{clickCount:c,clickBreadcrumb:d}=t;if(l){const f=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,p=f<this._timeout*1e3?"mutation":"timeout",m={type:"default",message:d.message,timestamp:d.timestamp,category:"ui.slowClickDetected",data:{...d.data,url:Ot.location.href,route:n.getCurrentRoute(),timeAfterClickMs:f,endReason:p,clickCount:c||1}};this._addBreadcrumbEvent(n,m);return}if(c>1){const f={type:"default",message:d.message,timestamp:d.timestamp,category:"ui.multiClick",data:{...d.data,url:Ot.location.href,route:n.getCurrentRoute(),clickCount:c,metric:!0}};this._addBreadcrumbEvent(n,f)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(()=>this._checkClicks(),1e3)}}const nW=["A","BUTTON","INPUT"];function rW(e,t){return!!(!nW.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function aW(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function kT(){return Date.now()/1e3}function iW(e,t){try{if(!oW(t))return;const{source:n}=t.data;if(n===Be.Mutation&&e.registerMutation(t.timestamp),n===Be.Scroll&&e.registerScroll(t.timestamp),sW(t)){const{type:a,id:o}=t.data,l=$i.mirror.getNode(o);l instanceof HTMLElement&&a===jn.Click&&e.registerClick(l)}}catch{}}function oW(e){return e.type===YG}function sW(e){return e.data.source===Be.MouseInteraction}function fa(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var Ep;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(Ep||(Ep={}));const lW=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function cW(e){const t={};for(const n in e)if(lW.has(n)){let a=n;(n==="data-testid"||n==="data-test-id")&&(a="testId"),t[a]=e[n]}return t}const uW=e=>t=>{if(!e.isEnabled())return;const n=dW(t);if(!n)return;const a=t.name==="click",o=a?t.event:void 0;
288a&&e.clickDetector&&o&&o.target&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&eW(e.clickDetector,n,r2(t.event)),Ku(e,n)};function i2(e,t){const n=$i.mirror.getId(e),a=n&&$i.mirror.getNode(n),o=a&&$i.mirror.getMeta(a),l=o&&pW(o)?o:null;return{message:t,data:l?{nodeId:n,node:{id:n,tagName:l.tagName,textContent:Array.from(l.childNodes).map(c=>c.type===Ep.Text&&c.textContent).filter(Boolean).map(c=>c.trim()).join(""),attributes:cW(l.attributes)}}:{}}}function dW(e){const{target:t,message:n}=fW(e);return fa({category:`ui.${e.name}`,...i2(t,n)})}function fW(e){const t=e.name==="click";let n,a=null;try{a=t?r2(e.event):a2(e.event),n=Fi(a,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:a,message:n}}function pW(e){return e.type===Ep.Element}function hW(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=mW(t);n&&Ku(e,n)}function mW(e){const{metaKey:t,shiftKey:n,ctrlKey:a,altKey:o,key:l,target:c}=e;if(!c||gW(c)||!l)return null;const d=t||a||o,f=l.length===1;if(!d&&f)return null;const p=Fi(c,{maxStringLength:200})||"<unknown>",m=i2(c,p);return fa({category:"ui.keyDown",message:p,data:{...m.data,metaKey:t,shiftKey:n,ctrlKey:a,altKey:o,key:l}})}function gW(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const MT={resource:xW,paint:bW,navigation:SW};function yW(e){return e.map(vW).filter(Boolean)}function vW(e){return MT[e.entryType]?MT[e.entryType](e):null}function vl(e){return((hr||Ot.performance.timeOrigin)+e)/1e3}function bW(e){const{duration:t,entryType:n,name:a,startTime:o}=e,l=vl(o);return{type:n,name:a,start:l,end:l+t,data:void 0}}function SW(e){const{entryType:t,name:n,decodedBodySize:a,duration:o,domComplete:l,encodedBodySize:c,domContentLoadedEventStart:d,domContentLoadedEventEnd:f,domInteractive:p,loadEventStart:m,loadEventEnd:y,redirectCount:b,startTime:x,transferSize:E,type:S}=e;return o===0?null:{type:`${t}.${S}`,start:vl(x),end:vl(l),name:n,data:{size:E,decodedBodySize:a,encodedBodySize:c,duration:o,domInteractive:p,domContentLoadedEventStart:d,domContentLoadedEventEnd:f,loadEventStart:m,loadEventEnd:y,domComplete:l,redirectCount:b}}}function xW(e){const{entryType:t,initiatorType:n,name:a,responseEnd:o,startTime:l,decodedBodySize:c,encodedBodySize:d,responseStatus:f,transferSize:p}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:vl(l),end:vl(o),name:a,data:{size:p,statusCode:f,decodedBodySize:c,encodedBodySize:d}}}function _W(e){const t=e.entries,n=t[t.length-1],a=n?n.element:void 0,o=e.value,l=vl(o);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:l,end:l,data:{value:o,size:o,nodeId:a?$i.mirror.getId(a):void 0}}}function EW(e){function t(o){e.performanceEntries.includes(o)||e.performanceEntries.push(o)}function n({entries:o}){o.forEach(t)}const a=[];return["navigation","paint","resource"].forEach(o=>{a.push(pl(o,n))}),a.push(gA(({metric:o})=>{e.replayPerformanceEntries.push(_W(o))})),()=>{a.forEach(o=>o())}}const Tt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,wW='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))}
vendor: 4,465 bytes, line 288
288,M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;
288++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function TW(){const e=new Blob([wW]);return URL.createObjectURL(e)}function Un(e,t){Tt&&(J.info(e),t&&o2(e))}function tl(e,t){Tt&&(J.info(e),t&&setTimeout(()=>{o2(e)},0))}function o2(e){qi({category:"console",data:{logger:"replay"},level:"info",message:e},{level:"info"})}
288class r0 extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Qb}.`)}}class s2{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const n=JSON.stringify(t).length;if(this._totalSize+=n,this._totalSize>Qb)throw new r0;this.events.push(t)}finish(){return new Promise(t=>{const n=this.events;this.clear(),t(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const t=this.events.map(n=>n.timestamp).sort()[0];return t?n0(t):null}}class RW{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=>{this._worker.addEventListener("message",({data:a})=>{a.success?t():n()},{once:!0}),this._worker.addEventListener("error",a=>{n(a)},{once:!0})}),this._ensureReadyPromise)}destroy(){Un("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const a=this._getAndIncrementId();return new Promise((o,l)=>{const c=({data:d})=>{const f=d;if(f.method===t&&f.id===a){if(this._worker.removeEventListener("message",c),!f.success){Tt&&J.error("[Replay]",f.response),l(new Error("Error in compression worker"));return}o(f.response)}};this._worker.addEventListener("message",c),this._worker.postMessage({id:a,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class CW{constructor(t){this._worker=new RW(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const n=n0(t.timestamp);(!this._earliestTimestamp||n<this._earliestTimestamp)&&(this._earliestTimestamp=n);const a=JSON.stringify(t);return this._totalSize+=a.length,this._totalSize>Qb?Promise.reject(new r0):this._sendEventToWorker(a)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{Tt&&J.warn('[Replay] Sending "clear" message to worker failed',t)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class OW{constructor(t){this._fallback=new s2,this._compression=new CW(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(t){this._used.hasCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch{Un("[Replay] Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:n}=this._fallback,a=[];for(const o of t)a.push(this._compression.addEvent(o));this._compression.hasCheckout=n,this._used=this._compression;try{await Promise.all(a)}catch(o){Tt&&J.warn("[Replay] Failed to add events when switching buffers.",o)}}}function AW({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=NW(t);if(n)return n}return Un("[Replay] Using simple buffer"),new s2}function NW(e){try{const t=e||kW();if(!t)return;Un(`[Replay] Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new OW(n)}catch{Un("[Replay] Failed to create compression worker")}}function kW(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?TW():""}function a0(){try{return"sessionStorage"in Ot&&!!Ot.sessionStorage}catch{return!1}}function MW(e){DW(),e.session=void 0}function DW(){if(a0())try{Ot.sessionStorage.removeItem(Kb)}catch{}}function l2(e){return e===void 0?!1:Math.random()<e}function c2(e){const t=Date.now(),n=e.id||Wt(),a=e.started||t,o=e.lastActivity||t,l=e.segmentId||0,c=e.sampled,d=e.previousSessionId;return{id:n,started:a,lastActivity:o,segmentId:l,sampled:c,previousSessionId:d}}function i0(e){if(a0())try{Ot.sessionStorage.setItem(Kb,JSON.stringify(e))}catch{}}function LW(e,t){return l2(e)?"session":t?"buffer":!1}function DT({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:a}={}){const o=LW(e,t),l=c2({sampled:o,previousSessionId:a});return n&&i0(l),l}function IW(e){if(!a0())return null;try{const t=Ot.sessionStorage.getItem(Kb);if(!t)return null;const n=JSON.parse(t);return tl("[Replay] Loading existing session",e),c2(n)}catch{return null}}function Cv(e,t,n=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=n}function u2(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:a=Date.now()}){return Cv(e.started,t,a)||Cv(e.lastActivity,n,a)}function d2(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!u2(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled==="buffer"&&e.segmentId===0)}function Ty({traceInternals:e,sessionIdleExpire:t,maxReplayDuration:n,previousSessionId:a},o){const l=o.stickySession&&IW(e);return l?d2(l,{sessionIdleExpire:t,maxReplayDuration:n})?(tl("[Replay] Session in sessionStorage is expired, creating new one..."),DT(o,{previousSessionId:l.id})):l:(tl("[Replay] Creating new session",e),DT(o,{previousSessionId:a}))}function jW(e){return e.type===$e.Custom}function o0(e,t,n){return p2(e,t)?(f2(e,t,n),!0):!1}function UW(e,t,n){return p2(e,t)?f2(e,t,n):Promise.resolve(null)}async function f2(e,t,n){if(!e.eventBuffer)return null;try{n&&e.recordingMode==="buffer"&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);const a=e.getOptions(),o=zW(t,a.beforeAddRecordingEvent);return o?await e.eventBuffer.addEvent(o):void 0}catch(a){const o=a&&a instanceof r0?"addEventSizeExceeded":"addEvent";Tt&&J.error(a),await e.stop({reason:o});const l=mt();l&&l.recordDroppedEvent("internal_sdk_error","replay")}}
288function p2(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=n0(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(Un(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),!1):!0}function zW(e,t){try{if(typeof t=="function"&&jW(e))return t(e)}catch(n){return Tt&&J.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",n),null}return e}function s0(e){return!e.type}function Ov(e){return e.type==="transaction"}function PW(e){return e.type==="replay_event"}function LT(e){return e.type==="feedback"}function h2(e){const t=HW();return(n,a)=>{if(!e.isEnabled()||!s0(n)&&!Ov(n))return;const o=a&&a.statusCode;if(!(t&&(!o||o<200||o>=300))){if(Ov(n)){$W(e,n);return}BW(e,n)}}}function $W(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}function BW(e,t){const n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),e.recordingMode!=="buffer"||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:a}=e.getOptions();typeof a=="function"&&!a(t)||setTimeout(()=>{e.sendBufferedReplayOrFlush()})}function HW(){const e=mt();if(!e)return!1;const t=e.getTransport();return t&&t.send.__sentry__baseTransport__||!1}function FW(e){return t=>{!e.isEnabled()||!s0(t)||qW(e,t)}}function qW(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0].value;if(typeof n=="string"&&(n.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const a=fa({category:"replay.hydrate-error"});Ku(e,a)}}function GW(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!(t.originalException&&t.originalException.__rrweb__)}function WW(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:$e.Custom,timestamp:t.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1):!0)}function VW(e,t){return e.recordingMode!=="buffer"||t.message===Xb||!t.exception||t.type?!1:l2(e.getOptions().errorSampleRate)}function YW(e,t=!1){const n=t?h2(e):void 0;return Object.assign((a,o)=>e.isEnabled()?PW(a)?(delete a.breadcrumbs,a):!s0(a)&&!Ov(a)&&!LT(a)||!e.checkAndHandleExpiredSession()?a:LT(a)?(e.flush(),a.contexts.feedback.replay_id=e.getSessionId(),WW(e,a),a):GW(a,o)&&!e.getOptions()._experiments.captureExceptions?(Tt&&J.log("[Replay] Ignoring error from rrweb internals",a),null):((VW(e,a)||e.recordingMode==="session")&&(a.tags={...a.tags,replayId:e.getSessionId()}),n&&n(a,{statusCode:200}),a):a,{id:"Replay"})}function hh(e,t){return t.map(({type:n,start:a,end:o,name:l,data:c})=>{const d=e.throttledAddEvent({type:$e.Custom,timestamp:a,data:{tag:"performanceSpan",payload:{op:n,description:l,startTimestamp:a,endTimestamp:o,data:c}}});return typeof d=="string"?Promise.resolve(null):d})}function KW(e){const{from:t,to:n}=e,a=Date.now()/1e3;return{type:"navigation.push",start:a,end:a,name:n,data:{previous:t}}}function XW(e){return t=>{if(!e.isEnabled())return;const n=KW(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(hh(e,[n]),!1)))}}function QW(e,t){return Tt&&e.getOptions()._experiments.traceInternals?!1:VF(t,mt())}function mh(e,t){e.isEnabled()&&t!==null&&(QW(e,t.name)||e.addUpdate(()=>(hh(e,[t]),!0)))}function ZW(e){const{startTimestamp:t,endTimestamp:n,fetchData:a,response:o}=e;if(!n)return null;const{method:l,url:c}=a;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:c,data:{method:l,statusCode:o?o.status:void 0}}}function JW(e){return t=>{if(!e.isEnabled())return;const n=ZW(t);mh(e,n)}}function eV(e){const{startTimestamp:t,endTimestamp:n,xhr:a}=e,o=a[zi];if(!t||!n||!o)return null;const{method:l,url:c,status_code:d}=o;return c===void 0?null:{type:"resource.xhr",name:c,start:t/1e3,end:n/1e3,data:{method:l,statusCode:d}}}function tV(e){return t=>{if(!e.isEnabled())return;const n=eV(t);mh(e,n)}}function gh(e,t){if(e)try{if(typeof e=="string")return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=v2(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function m2(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function g2(e){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[v2(e)];if(!e)return[void 0]}catch{return Tt&&J.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Tt&&J.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function wp(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},a=n.warnings||[];return n.warnings=[...a,t],e._meta=n,e}function y2(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:a,url:o,method:l,statusCode:c,request:d,response:f}=t;return{type:e,start:n/1e3,end:a/1e3,name:o,data:Pn({method:l,statusCode:c,request:d,response:f})}}function bu(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function Bi(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const a={headers:e,size:t},{body:o,warnings:l}=nV(n);return a.body=o,l&&l.length>0&&(a._meta={warnings:l}),a}function Av(e,t){return Object.keys(e).reduce((n,a)=>{const o=a.toLowerCase();return t.includes(o)&&e[a]&&(n[o]=e[a]),n},{})}function v2(e){return new URLSearchParams(e).toString()}function nV(e){if(!e||typeof e!="string")return{body:e};const t=e.length>bT,n=rV(e);if(t){const a=e.slice(0,bT);return n?{body:a,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${a}â¦`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function rV(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function Tp(e,t){const n=aV(e);return Dl(n,t)}function aV(e,t=Ot.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(Ot.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const a=n.href;return!e.endsWith("/")&&a.endsWith("/")?a.slice(0,-1):a}async function iV(e,t,n){try{const a=await sV(e,t,n),o=y2("resource.fetch",a);mh(n.replay,o)}catch(a){Tt&&J.error("[Replay] Failed to capture fetch breadcrumb",a)}}function oV(e,t,n){const{input:a,response:o}=t,l=a?b2(a):void 0,c=gh(l,n.textEncoder),d=o?m2(o.headers.get("content-length")):void 0;c!==void 0&&(e.data.request_body_size=c),d!==void 0&&(e.data.response_body_size=d)}async function sV(e,t,n){const a=Date.now(),{startTimestamp:o=a,endTimestamp:l=a}=t,{url:c,method:d,status_code:f=0,request_body_size:p,response_body_size:m}=e.data,y=Tp(c,n.networkDetailAllowUrls)&&!Tp(c,n.networkDetailDenyUrls),b=y?lV(n,t.input,p):bu(p),x=await cV(y,n,t.response,m);return{startTimestamp:o,endTimestamp:l,url:c,method:d,statusCode:f,request:b,response:x}}function lV({networkCaptureBodies:e,networkRequestHeaders:t},n,a){const o=n?fV(n,t):{};if(!e)return Bi(o,a,void 0);const l=b2(n),[c,d]=g2(l),f=Bi(o,a,c);return d?wp(f,d):f}async function cV(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:a},o,l){if(!e&&l!==void 0)return bu(l);const c=o?S2(o.headers,a):{};if(!o||!t&&l!==void 0)return Bi(c,l,void 0);const[d,f]=await dV(o),p=uV(d,{networkCaptureBodies:t,textEncoder:n,responseBodySize:l,captureDetails:e,headers:c});return f?wp(p,f):p}function uV(e,{networkCaptureBodies:t,textEncoder:n,responseBodySize:a,captureDetails:o,headers:l}){try{const c=e&&e.length&&a===void 0?gh(e,n):a;return o?t?Bi(l,c,e):Bi(l,c,void 0):bu(c)}catch(c){return Tt&&J.warn("[Replay] Failed to serialize response body",c),Bi(l,a,void 0)}}async function dV(e){const t=pV(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await hV(t)]}catch(n){return Tt&&J.warn("[Replay] Failed to get text body from response",n),[void 0,"BODY_PARSE_ERROR"]}}function b2(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function S2(e,t){const n={};return t.forEach(a=>{e.get(a)&&(n[a]=e.get(a))}),n}
288function fV(e,t){return e.length===1&&typeof e[0]!="string"?IT(e[0],t):e.length===2?IT(e[1],t):{}}function IT(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?S2(n,t):Array.isArray(n)?{}:Av(n,t):{}}function pV(e){try{return e.clone()}catch(t){Tt&&J.warn("[Replay] Failed to clone response body",t)}}function hV(e){return new Promise((t,n)=>{const a=setTimeout(()=>n(new Error("Timeout while trying to read response body")),500);mV(e).then(o=>t(o),o=>n(o)).finally(()=>clearTimeout(a))})}async function mV(e){return await e.text()}async function gV(e,t,n){try{const a=vV(e,t,n),o=y2("resource.xhr",a);mh(n.replay,o)}catch(a){Tt&&J.error("[Replay] Failed to capture xhr breadcrumb",a)}}function yV(e,t,n){const{xhr:a,input:o}=t;if(!a)return;const l=gh(o,n.textEncoder),c=a.getResponseHeader("content-length")?m2(a.getResponseHeader("content-length")):_V(a.response,a.responseType,n.textEncoder);l!==void 0&&(e.data.request_body_size=l),c!==void 0&&(e.data.response_body_size=c)}function vV(e,t,n){const a=Date.now(),{startTimestamp:o=a,endTimestamp:l=a,input:c,xhr:d}=t,{url:f,method:p,status_code:m=0,request_body_size:y,response_body_size:b}=e.data;if(!f)return null;if(!d||!Tp(f,n.networkDetailAllowUrls)||Tp(f,n.networkDetailDenyUrls)){const A=bu(y),w=bu(b);return{startTimestamp:o,endTimestamp:l,url:f,method:p,statusCode:m,request:A,response:w}}const x=d[zi],E=x?Av(x.request_headers,n.networkRequestHeaders):{},S=Av(bV(d),n.networkResponseHeaders),[C,R]=n.networkCaptureBodies?g2(c):[void 0],[N,D]=n.networkCaptureBodies?SV(d):[void 0],L=Bi(E,y,C),O=Bi(S,b,N);return{startTimestamp:o,endTimestamp:l,url:f,method:p,statusCode:m,request:R?wp(L,R):L,response:D?wp(O,D):O}}function bV(e){const t=e.getAllResponseHeaders();return t?t.split(`\r 289`).reduce((n,a)=>{const[o,l]=a.split(": ");return n[o.toLowerCase()]=l,n},{}):{}}function SV(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return xV(e.response,e.responseType)}catch(n){t.push(n)}return Tt&&J.warn("[Replay] Failed to get xhr response body",...t),[void 0]}function xV(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&&e&&typeof e=="object")return[JSON.stringify(e)];if(!e)return[void 0]}catch{return Tt&&J.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Tt&&J.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function _V(e,t,n){try{const a=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return gh(a,n)}catch{return}}function EV(e){const t=mt();try{const n=new TextEncoder,{networkDetailAllowUrls:a,networkDetailDenyUrls:o,networkCaptureBodies:l,networkRequestHeaders:c,networkResponseHeaders:d}=e.getOptions(),f={replay:e,textEncoder:n,networkDetailAllowUrls:a,networkDetailDenyUrls:o,networkCaptureBodies:l,networkRequestHeaders:c,networkResponseHeaders:d};t&&t.on?t.on("beforeAddBreadcrumb",(p,m)=>wV(f,p,m)):(Mb(JW(e)),Db(tV(e)))}catch{}}function wV(e,t,n){if(t.data)try{TV(t)&&CV(n)&&(yV(t,n,e),gV(t,n,e)),RV(t)&&OV(n)&&(oV(t,n,e),iV(t,n,e))}catch{Tt&&J.warn("Error when enriching network breadcrumb")}}function TV(e){return e.category==="xhr"}function RV(e){return e.category==="fetch"}function CV(e){return e&&e.xhr}function OV(e){return e&&e.response}let jT=null;function AV(e){return!!e.category}const NV=e=>t=>{if(!e.isEnabled())return;const n=kV(t);n&&Ku(e,n)};function kV(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return jT===t||!t||(jT=t,!AV(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))?null:t.category==="console"?MV(t):fa(t)}function MV(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return fa(e);let n=!1;const a=t.map(o=>{if(!o)return o;if(typeof o=="string")return o.length>kf?(n=!0,`${o.slice(0,kf)}â¦`):o;if(typeof o=="object")try{const l=la(o,7);return JSON.stringify(l).length>kf?(n=!0,`${JSON.stringify(l,null,2).slice(0,kf)}â¦`):l}catch{}return o});return fa({...e,data:{...e.data,arguments:a,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function DV(e){const t=gr(),n=mt();t.addScopeListener(NV(e)),wO(uW(e)),ih(XW(e)),EV(e);const a=YW(e,!UT(n));n&&n.addEventProcessor?n.addEventProcessor(a):$F(a),UT(n)&&(n.on("beforeSendEvent",FW(e)),n.on("afterSendEvent",h2(e)),n.on("createDsc",o=>{const l=e.getSessionId();l&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(o.replay_id=l)}),n.on("startTransaction",o=>{e.lastTransaction=o}),n.on("finishTransaction",o=>{e.lastTransaction=o}),n.on("beforeSendFeedback",(o,l)=>{const c=e.getSessionId();l&&l.includeReplay&&e.isEnabled()&&c&&o.contexts&&o.contexts.feedback&&(o.contexts.feedback.replay_id=c)}))}function UT(e){return!!(e&&e.on)}async function LV(e){try{return Promise.all(hh(e,[IV(Ot.performance.memory)]))}catch{return[]}}function IV(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:a}=e,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:a}}}}function jV(e,t,n){let a,o,l;const c=n&&n.maxWait?Math.max(n.maxWait,t):0;function d(){return f(),a=e(),a}function f(){o!==void 0&&clearTimeout(o),l!==void 0&&clearTimeout(l),o=l=void 0}function p(){return o!==void 0||l!==void 0?d():a}function m(){return o&&clearTimeout(o),o=setTimeout(d,t),c&&l===void 0&&(l=setTimeout(d,c)),a}return m.cancel=f,m.flush=p,m}function UV(e){let t=!1;return(n,a)=>
289{if(!e.checkAndHandleExpiredSession()){Tt&&J.warn("[Replay] Received replay event after session expired.");return}const o=a||!t;t=!0,e.clickDetector&&iW(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&o&&e.setInitialState(),!o0(e,n,o))return!0;if(!o)return!1;if(PV(e,o),e.session&&e.session.previousSessionId)return!0;if(e.recordingMode==="buffer"&&e.session&&e.eventBuffer){const l=e.eventBuffer.getEarliestTimestamp();l&&(Un(`[Replay] Updating session start time to earliest event in buffer to ${new Date(l)}`,e.getOptions()._experiments.traceInternals),e.session.started=l,e.getOptions().stickySession&&i0(e.session))}return e.recordingMode==="session"&&e.flush(),!0})}}function zV(e){const t=e.getOptions();return{type:$e.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function PV(e,t){!t||!e.session||e.session.segmentId!==0||o0(e,zV(e),!1)}function $V(e,t,n,a){return Vi(MO(e,jb(e),a,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function BV({recordingData:e,headers:t}){let n;const a=`${JSON.stringify(t)} 290`;if(typeof e=="string")n=`${a}${e}`;else{const l=new TextEncoder().encode(a);n=new Uint8Array(l.length+e.length),n.set(l),n.set(e,l.length)}return n}async function HV({client:e,scope:t,replayId:n,event:a}){const o=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,l={event_id:n,integrations:o};e.emit&&e.emit("preprocessEvent",a,l);const c=await zO(e.getOptions(),a,l,t,e,Yi());if(!c)return null;c.platform=c.platform||"javascript";const d=e.getSdkMetadata&&e.getSdkMetadata(),{name:f,version:p}=d&&d.sdk||{};return c.sdk={...c.sdk,name:f||"sentry.javascript.unknown",version:p||"0.0.0"},c}async function FV({recordingData:e,replayId:t,segmentId:n,eventContext:a,timestamp:o,session:l}){const c=BV({recordingData:e,headers:{segment_id:n}}),{urls:d,errorIds:f,traceIds:p,initialTimestamp:m}=a,y=mt(),b=gr(),x=y&&y.getTransport(),E=y&&y.getDsn();if(!y||!x||!E||!l.sampled)return;const S={type:Cq,replay_start_timestamp:m/1e3,timestamp:o/1e3,error_ids:f,trace_ids:p,urls:d,replay_id:t,segment_id:n,replay_type:l.sampled},C=await HV({scope:b,client:y,replayId:t,event:S});if(!C){y.recordDroppedEvent("event_processor","replay",S),Un("An event processor returned `null`, will not send event.");return}delete C.sdkProcessingMetadata;const R=$V(C,c,E,y.getOptions().tunnel);let N;try{N=await x.send(R)}catch(L){const O=new Error(Xb);try{O.cause=L}catch{}throw O}if(!N)return N;if(typeof N.statusCode=="number"&&(N.statusCode<200||N.statusCode>=300))throw new x2(N.statusCode);const D=LO({},N);if(DO(D,"replay"))throw new _2(D);return N}class x2 extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class _2 extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function E2(e,t={count:0,interval:Dq}){const{recordingData:n,options:a}=e;if(n.length)try{return await FV(e),!0}catch(o){if(o instanceof x2||o instanceof _2)throw o;if(XH("Replays",{_retryCount:t.count}),Tt&&a._experiments&&a._experiments.captureExceptions&&$b(o),t.count>=Lq){const l=new Error(`${Xb} - max retries exceeded`);try{l.cause=o}catch{}throw l}return t.interval*=++t.count,new Promise((l,c)=>{setTimeout(async()=>{try{await E2(e,t),l(!0)}catch(d){c(d)}},t.interval)})}}const w2="__THROTTLED",qV="__SKIPPED";function GV(e,t,n){const a=new Map,o=d=>{const f=d-n;a.forEach((p,m)=>{m<f&&a.delete(m)})},l=()=>[...a.values()].reduce((d,f)=>d+f,0);let c=!1;return(...d)=>{const f=Math.floor(Date.now()/1e3);if(o(f),l()>=t){const m=c;return c=!0,m?qV:w2}c=!1;const p=a.get(f)||0;return a.set(f,p+1),e(...d)}}class Ii{constructor({options:t,recordingOptions:n}){Ii.prototype.__init.call(this),Ii.prototype.__init2.call(this),Ii.prototype.__init3.call(this),Ii.prototype.__init4.call(this),Ii.prototype.__init5.call(this),Ii.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:Oq,sessionIdleExpire:Aq},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=n,this._options=t,this._debouncedFlush=jV(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=GV((c,d)=>UW(this,c,d),300,5);const{slowClickTimeout:a,slowClickIgnoreSelectors:o}=this.getOptions(),l=a?{threshold:Math.min(Iq,a),timeout:a,scrollTimeout:jq,ignoreSelector:o?o.join(","):""}:void 0;l&&(this.clickDetector=new tW(this,l))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}initializeSampling(t){const{errorSampleRate:n,sessionSampleRate:a}=this._options;if(!(n<=0&&a<=0)){if(this._initializeSessionForSampling(t),!this.session){this._handleException(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",tl(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording())}}
290start(){if(this._isEnabled&&this.recordingMode==="session")throw new Error("Replay recording is already in progress");if(this._isEnabled&&this.recordingMode==="buffer")throw new Error("Replay buffering is in progress, call `flush()` to save the replay");tl("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);const t=Ty({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");tl("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const t=Ty({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=$i({...this._recordingOptions,...this.recordingMode==="buffer"&&{checkoutEveryNms:Mq},emit:UV(this),onMutation:this._onMutationHandler,...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(t){this._handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this._handleException(t),!1}}async stop({forceFlush:t=!1,reason:n}={}){if(this._isEnabled){this._isEnabled=!1;try{Un(`[Replay] Stopping Replay${n?` triggered by ${n}`:""}`,this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,MW(this)}catch(a){this._handleException(a)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Un("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),Un("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();Un("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();const a=this.stopRecording();!t||!a||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(t){const n=t();this.recordingMode!=="buffer"&&n!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&Cv(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${Ot.location.pathname}${Ot.location.hash}${Ot.location.search}`,n=`${Ot.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const a=this._throttledAddEvent(t,n);if(a===w2){const o=fa({category:"replay.throttled"});this.addUpdate(()=>!o0(this,{type:KG,timestamp:o.timestamp||0,data:{tag:"breadcrumb",payload:o,metric:!0}}))}return a}getCurrentRoute(){const t=this.lastTransaction||gr().getTransaction(),a=(t&&Zt(t).data||{})[Va];if(!(!t||!a||!["route","custom"].includes(a)))return Zt(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=AW({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(t){Tt&&J.error("[Replay]",t),Tt&&this._options._experiments&&this._options._experiments.captureExceptions&&$b(t)}_initializeSessionForSampling(t){const n=this._options.errorSampleRate>0,a=Ty({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=a}_checkSession(){if(!this.session)return!1;const t=this.session;return d2(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(t),!1):!0}async _refreshSession(t){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(t.id))}_addListeners(){try{Ot.document.addEventListener("visibilitychange",this._handleVisibilityChange),Ot.addEventListener("blur",this._handleWindowBlur),Ot.addEventListener("focus",this._handleWindowFocus),Ot.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(DV(this),this._hasInitializedCoreListeners=!0)}catch(t){this._handleException(t)}this._performanceCleanupCallback=EW(this)}_removeListeners(){try{Ot.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Ot.removeEventListener("blur",this._handleWindowBlur),Ot.removeEventListener("focus",this._handleWindowFocus),Ot.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this._handleException(t)}}__init(){this._handleVisibilityChange=()=>{Ot.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroun
290dTasks()}}__init2(){this._handleWindowBlur=()=>{const t=fa({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init3(){this._handleWindowFocus=()=>{const t=fa({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init4(){this._handleKeyboardEvent=t=>{hW(this,t)}}_doChangeToBackgroundTasks(t){!this.session||u2(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(t&&this._createCustomBreadcrumb(t),this.conditionalFlush())}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){Un("[Replay] Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:$e.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){const t=yW(this.performanceEntries).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(hh(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||t.segmentId)return;const a=n.getEarliestTimestamp();a&&a<this._context.initialTimestamp&&(this._context.initialTimestamp=a)}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){const t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){Tt&&J.error("[Replay] No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await LV(this),!!this.eventBuffer&&t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const n=Date.now();if(n-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const a=this._popEventContext(),o=this.session.segmentId++;this._maybeSaveSession();const l=await this.eventBuffer.finish();await E2({replayId:t,recordingData:l,segmentId:o,eventContext:a,session:this.session,options:this.getOptions(),timestamp:n})}catch(n){this._handleException(n),this.stop({reason:"sendReplay"});const a=mt();a&&a.recordDroppedEvent("send_error","replay")}}__init5(){this._flush=async({force:t=!1}={})=>{if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){Tt&&J.error("[Replay] Attempting to finish replay event after session expired.");return}if(!this.session)return;const n=this.session.started,o=Date.now()-n;this._debouncedFlush.cancel();const l=o<this._options.minReplayDuration,c=o>this._options.maxReplayDuration+5e3;if(l||c){Un(`[Replay] Session duration (${Math.floor(o/1e3)}s) is too ${l?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),l&&this._debouncedFlush();return}const d=this.eventBuffer;if(d&&this.session.segmentId===0&&!d.hasCheckout&&Un("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=void 0;return}try{await this._flushLock}catch(f){Tt&&J.error(f)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&i0(this.session)}__init6(){this._onMutationHandler=t=>{const n=t.length,a=this._options.mutationLimit,o=this._options.mutationBreadcrumbLimit,l=a&&n>a;if(n>o||l){const c=fa({category:"replay.mutations",data:{count:n,limit:l}});this._createCustomBreadcrumb(c)}return l?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}}function Yc(e,t,n,a){const o=typeof a=="string"?a.split(","):[],l=[...e,...o,...t];return typeof n<"u"&&(typeof n=="string"&&l.push(`.${n}`),Mo(()=>{console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")})),l.join(",")}function WV({mask:e,unmask:t,block:n,unblock:a,ignore:o,blockClass:l,blockSelector:c,maskTextClass:d,maskTextSelector:f,ignoreClass:p}){const m=['base[href="/"]'],y=Yc(e,[".sentry-mask","[data-sentry-mask]"],d,f),b=Yc(t,[".sentry-unmask","[data-sentry-unmask]"]),x={maskTextSelector:y,unmaskTextSelector:b,blockSelector:Yc(n,[".sentry-block","[data-sentry-block]",...m],l,c),unblockSelector:Yc(a,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:Yc(o,[".sentry-ignore","[data-sentry-ignore]",'
290input[type="file"]'],p)};return l instanceof RegExp&&(x.blockClass=l),d instanceof RegExp&&(x.maskTextClass=d),x}function VV({el:e,key:t,maskAttributes:n,maskAllText:a,privacyOptions:o,value:l}){return!a||o.unmaskTextSelector&&e.matches(o.unmaskTextSelector)?l:n.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"")?l.replace(/[\S]/g,"*"):l}const zT='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',YV=["content-length","content-type","accept"];let PT=!1;const KV=e=>new yh(e);class yh{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:t=Nq,flushMaxDelay:n=kq,minReplayDuration:a=Uq,maxReplayDuration:o=ST,stickySession:l=!0,useCompression:c=!0,workerUrl:d,_experiments:f={},sessionSampleRate:p,errorSampleRate:m,maskAllText:y=!0,maskAllInputs:b=!0,blockAllMedia:x=!0,mutationBreadcrumbLimit:E=750,mutationLimit:S=1e4,slowClickTimeout:C=7e3,slowClickIgnoreSelectors:R=[],networkDetailAllowUrls:N=[],networkDetailDenyUrls:D=[],networkCaptureBodies:L=!0,networkRequestHeaders:O=[],networkResponseHeaders:A=[],mask:w=[],maskAttributes:M=["title","placeholder"],unmask:I=[],block:$=[],unblock:Y=[],ignore:ne=[],maskFn:se,beforeAddRecordingEvent:ae,beforeErrorSampling:ee,blockClass:P,blockSelector:K,maskInputOptions:ie,maskTextClass:de,maskTextSelector:me,ignoreClass:j}={}){this.name=yh.id;const X=WV({mask:w,unmask:I,block:$,unblock:Y,ignore:ne,blockClass:P,blockSelector:K,maskTextClass:de,maskTextSelector:me,ignoreClass:j});if(this._recordingOptions={maskAllInputs:b,maskAllText:y,maskInputOptions:{...ie||{},password:!0},maskTextFn:se,maskInputFn:se,maskAttributeFn:(le,oe,pe)=>VV({maskAttributes:M,maskAllText:y,privacyOptions:X,key:le,value:oe,el:pe}),...X,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:le=>{try{le.__rrweb__=!0}catch{}}},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(a,zq),maxReplayDuration:Math.min(o,ST),stickySession:l,sessionSampleRate:p,errorSampleRate:m,useCompression:c,workerUrl:d,blockAllMedia:x,maskAllInputs:b,maskAllText:y,mutationBreadcrumbLimit:E,mutationLimit:S,slowClickTimeout:C,slowClickIgnoreSelectors:R,networkDetailAllowUrls:N,networkDetailDenyUrls:D,networkCaptureBodies:L,networkRequestHeaders:$T(O),networkResponseHeaders:$T(A),beforeAddRecordingEvent:ae,beforeErrorSampling:ee,_experiments:f},typeof p=="number"&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration. 291This option is deprecated and will be removed soon. 292Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.: 293Sentry.init({ replaysSessionSampleRate: ${p} })`),this._initialOptions.sessionSampleRate=p),typeof m=="number"&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration. 294This option is deprecated and will be removed soon. 295Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.: 296Sentry.init({ replaysOnErrorSampleRate: ${m} })`),this._initialOptions.errorSampleRate=m),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${zT}`:zT),this._isInitialized&&Bw())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return PT}set _isInitialized(t){PT=t}setupOnce(){Bw()&&(this._setup(),setTimeout(()=>this._initialize()))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(t){return!this._replay||!this._replay.isEnabled()?Promise.resolve():this._replay.sendBufferedReplayOrFlush(t)}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const t=XV(this._initialOptions);this._replay=new Ii({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const n=mt().getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}yh.__initStatic();function XV(e){const t=mt(),n=t&&t.getOptions(),a={sessionSampleRate:0,errorSampleRate:0,...Pn(e)};return n?(e.sessionSampleRate==null&&e.errorSampleRate==null&&n.replaysSessionSampleRate==null&&n.replaysOnErrorSampleRate==null&&Mo(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),typeof n.replaysSessionSampleRate=="number"&&(a.sessionSampleRate=n.replaysSessionSampleRate),typeof n.replaysOnErrorSampleRate=="number"&&(a.errorSampleRate=n.replaysOnErrorSampleRate),a):(Mo(()=>{console.warn("SDK client is not available.")}),a)}function $T(e){return[...YV,...e.map(t=>t.toLowerCase())]}function QV(e){const t={...e};aA(t,"react"),Tq(t)}const ZV=()=>{const e=un(),{reCaptchaLoaded:t,generateReCaptchaToken:n}=Al(),[a,o]=T.useState({value:"",error:!1,touched:!1}),[l,c]=T.useState({value:"",error:!1,touched:!1}),[d,f]=T.useState({value:"",error:!1,touched:!1}),[p,m]=T.useState({value:"",error:!1,touched:!1}),[y,b]=T.useState({value:"",error:!1}),[x,E]=T.useState(!1),S=T.useCallback(()=>{const O=a.value.length>0;return o(A=>({...A,error:!O})),O},[a.value]),C=T.useCallback(()=>{const O=l.value.length>0;return c(A=>({...A,error:!O})),O},[l.value]),R=T.useCallback(()=>{const O=d.value.length>0;return f(A=>({...A,error:!O})),O},[d.value]),N=T.useCallback(()=>{const O=Le.isValidEmail(p.value);return m(A=>({...A,error:!O})),O},[p.value]),D=T.useMemo(()=>{const O=S(),A=C(),w=R(),M=N(),I=!y.error;return O&&A&&w&&M&&I}
296,[S,C,R,N,y.error]),L=()=>{(async()=>{if(D){E(!0);try{const A=Le.getFullAuthDeviceData(),w=await n("signUpTribe"),{data:M}=await xt.post("/sign-up/tribe",{firstName:a.value,lastName:l.value,companieName:d.value,email:p.value,password:y.value,authDevice:A},{headers:{[Lr.RECAPTCHA_TOKEN]:w,[Lr.RECAPTCHA_ACTION]:"signUpTribe"}});if(M){const I=M.authDevice;if(new URLSearchParams(window.location.search).get("requester")==="chrome-extension"){Le.setChromeExtension(I.deviceToken);return}window.location.href=$t;return}}catch(A){e(A),E(!1)}}})()};return v.jsxs(q,{width:"100%",maxWidth:"350px",mx:"auto",textAlign:"center",children:[v.jsxs(q,{textAlign:"center",children:[v.jsx("img",{src:Ue.LOGO_NN_BLUE,alt:"logo nachonacho Tribe",style:{width:290}}),v.jsx(Yp,{size:"small",sx:{bgcolor:"var(--dark-blue)",mt:"10px",px:"10px","& > span":{color:"white"}},label:"Tribe"})]}),v.jsx(q,{height:"24px"}),v.jsx(q,{children:v.jsxs("span",{className:"fs-14",children:["Already have an account?"," ",v.jsx(Ja,{to:`/login${window.location.search}`,className:"link",children:"Login"})]})}),v.jsx(q,{height:"24px"}),v.jsxs(q,{display:"flex",gap:"8px",children:[v.jsx(Rt,{id:"first-name",label:"First name",placeholder:"John",value:a.value,onChange:O=>o(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>o(O=>({...O,touched:!1})),onBlur:()=>o(O=>({...O,touched:!0})),error:a.touched&&a.error,helperText:"First name is required"}),v.jsx(Rt,{id:"last-name",label:"Last name",placeholder:"Doe",value:l.value,onChange:O=>c(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>o(O=>({...O,touched:!1})),onBlur:()=>c(O=>({...O,touched:!0})),error:l.touched&&l.error,helperText:"Last name is required"})]}),v.jsx(Rt,{id:"company-name",label:"Company legal name",placeholder:"Acme Corp",value:d.value,onChange:O=>f(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>f(O=>({...O,touched:!1})),onBlur:()=>f(O=>({...O,touched:!0})),error:d.touched&&d.error,helperText:"Company name is required"}),v.jsx(Rt,{id:"email",label:"Email",type:"email",placeholder:"[email protected]",value:p.value,onChange:O=>m(A=>({...A,value:O.target.value,error:!1})),onFocus:()=>m(O=>({...O,touched:!1})),onBlur:()=>m(O=>({...O,touched:!0})),error:p.touched&&p.error,helperText:p.value.length>0?"Email is invalid":"Email is required"}),v.jsx(Wi,{label:"Password",onChange:O=>{b({value:O.value,error:!O.isValid})}}),v.jsx(St,{variant:"contained",fullWidth:!0,disabled:!D||!t||x,onClick:L,sx:{mt:"16px"},children:x?v.jsx(pr,{size:"20px"}):"Sign up"}),v.jsx(q,{maxWidth:"265px",mx:"auto",mt:"24px",children:v.jsxs("span",{className:"fs-14",children:["By signing up, you agree to NachoNacho's"," ",v.jsx("a",{href:`${$n}/terms-of-use`,className:"link",children:"Terms of Use"})," ","and"," ",v.jsx("a",{href:`${$n}/privacy-policy`,className:"link",children:"Privacy Policy"})]})})]})},JV=[{image:Ue.signUpTribe.A,alt:"Low-code and fully customizable",title:"<strong>Low-code</strong> and fully customizable",text:"White-label the discounts/perks platform for your community, fostering your brand further."},{image:Ue.signUpTribe.B,alt:"Add and manage your own perks",title:"Add and manage your <strong>own</strong> perks",text:"<strong>Add your own perks</strong> in a private space just for your member companies."},{image:Ue.signUpTribe.C,alt:"All-in-one perk dashboard",title:"<strong>All-in-one</strong> perk dashboard",text:"Consolidate all discounts and perks <strong>in one dashboard</strong> seamlessly."}],eY=()=>{const{loading:e}=Po();return e?v.jsx($o,{}):v.jsx(zo,{left:v.jsxs(v.Fragment,{children:[v.jsx("img",{src:Ue.LOGO_SYMBOL_BLUE_BACKGROUND,alt:"logo",style:{width:"110px",height:"110px"}}),v.jsx(q,{height:"30px"}),v.jsxs(q,{children:[v.jsx("h2",{className:"text-dark-blue fs-32 fw-700 m-0",children:"NachoNacho Tribes"}),v.jsx("h2",{className:"text-blue fs-32 fw-700 m-0",children:"B2B SaaS discounts for your members"})]}),v.jsx(q,{my:"16px",children:v.jsxs(nh,{fontSize:"14px",children:["800+ perks and ",v.jsx("strong",{children:"$4.5 million in savings"})]})}),v.jsx(q,{height:"54px"}),v.jsx($u,{advantages:JV}),v.jsx(q,{height:"41px"}),v.jsxs(St,{href:`${$n}/seller-meeting`,variant:"text",className:"fs-14 text-blue",children:["Request a video call",v.jsx(Rb,{className:"blue",fontSize:"small",sx:{ml:"3px"}})]})]}),right:v.jsx(ZV,{})})},tY="/assets/service-providers-Cg1ENcZ5.svg",nY="/assets/one-stop-CXUcMvIU.svg",rY=[{image:nY,alt:"One-stop shop for software & services!",title:"<strong>One-stop shop</strong> for software & services!",text:"Buy software products at massive discounts. And find service providers who can help you operate your company. All in one place."},{image:tY,alt:"Choose from thousands of service providers",title:"Cho
296ose from <strong>thousands of service providers</strong>",text:"Browse, search and filter. Learn about their specific skill sets. Read reviews from past or current customers."},{image:Ue.signUpSeller.PLUGIN,alt:"Get matched with your ideal service provider",title:"<strong>Get matched</strong> with your ideal service provider",text:"NachoNacho's deep knowledge of both businesses like you as well as service providers facilitates perfect match-making."}],aY=()=>{const{loading:e}=Po();return e?v.jsx($o,{}):v.jsx(zo,{left:v.jsxs(v.Fragment,{children:[v.jsx("img",{src:Ue.LOGO_SYMBOL_BLUE_BACKGROUND,alt:"logo",style:{width:"110px",height:"110px"}}),v.jsx(q,{height:"30px"}),v.jsx(q,{children:v.jsx("h2",{className:"text-dark-blue fs-32 fw-700 m-0",children:"Get capital for your business!"})}),v.jsx(q,{maxWidth:"393px",children:v.jsx("p",{className:"m-6 fs-14",children:"NachoNacho is the premier destination for companies to access capital to grow."})}),v.jsx(q,{height:"54px"}),v.jsx($u,{advantages:rY}),v.jsx(q,{height:"41px"}),v.jsxs(St,{href:`${$n}/seller-meeting`,variant:"text",className:"fs-14 text-blue",children:["Request a video call",v.jsx(Rb,{className:"blue",fontSize:"small",sx:{ml:"3px"}})]})]}),right:v.jsx(th,{})})};QV({dsn:"https://[email protected]/4507052739592192",environment:Xr,integrations:[u7(),KV({maskAllText:!1,blockAllMedia:!1})],tracesSampleRate:1,tracePropagationTargets:[yC],replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1});const iY=Fk.createRoot(document.getElementById("root"));Lu.initialize({gtmId:qP});iY.render(v.jsx(Fe.StrictMode,{children:v.jsxs(s3,{theme:mP,children:[v.jsx(fD,{children:v.jsxs(BM,{children:[v.jsx(sn,{path:"/",element:v.jsx(PM,{to:"/login",replace:!0})}),v.jsx(sn,{path:"/login",element:v.jsx(R6,{})}),v.jsx(sn,{path:"/signup",element:v.jsx(K6,{})}),v.jsx(sn,{path:"/signup-financing",element:v.jsx(aY,{})}),v.jsx(sn,{path:"/signup-seller",element:v.jsx(r8,{})}),v.jsx(sn,{path:"/signup-tribe",element:v.jsx(eY,{})}),v.jsx(sn,{path:"/signup-maven",element:v.jsx(m8,{})}),v.jsx(sn,{path:"/signup-product/:productId",element:v.jsx(E8,{})}),v.jsx(sn,{path:"/signup-reviewer/:productId",element:v.jsx(s8,{})}),v.jsx(sn,{path:"/google",element:v.jsx(z6,{})}),v.jsx(sn,{path:"/linkedin",element:v.jsx(P6,{})}),v.jsx(sn,{path:"/slack",element:v.jsx($6,{})}),v.jsx(sn,{path:"/logout",element:v.jsx(B6,{})}),v.jsx(sn,{path:"/verify-email",element:v.jsx(H6,{})}),v.jsx(sn,{path:"/invitation/:invitationToken",element:v.jsx(c8,{})}),v.jsx(sn,{path:"/passkey/connect",element:v.jsx(u8,{})}),v.jsx(sn,{path:"/reset-password",element:v.jsx(d8,{})}),v.jsx(sn,{path:"/request-password-reset",element:v.jsx(f8,{})}),v.jsx(sn,{path:"*",element:v.jsx(F6,{})})]})}),v.jsx(OP,{})]})}));
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.