@dcl/jump-site 0.0.3 → 0.0.4-15333861590.commit-7791f49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{auto-track-CESKe-vL.js → auto-track-gUISXGcj.js} +1 -1
- package/assets/background--i0ipWGU.webp +0 -0
- package/assets/background-invalid-events-page-4wvWf0ma.webp +0 -0
- package/assets/background-invalid-places-page-HmsH9QxH.webp +0 -0
- package/assets/card-creator-placeholder-BobX3Kvq.webp +0 -0
- package/assets/card-events-placeholder-bdYGw8BY.webp +0 -0
- package/assets/card-places-placeholder-DtbWTTXg.webp +0 -0
- package/assets/fortmatic-DI7qAwX5.js +13 -0
- package/assets/index-6IktTxwk.js +1 -0
- package/assets/index-BXSf0Myo.js +2 -0
- package/assets/index-BshNlYaQ.js +895 -0
- package/assets/index-CAlTFrLe.js +1 -0
- package/assets/index-Cc3z1Wfu.js +2 -0
- package/assets/index-CjLG8mEj.js +1 -0
- package/assets/index-D1BqgSK5.js +1 -0
- package/assets/index-DkX7ayb-.js +12 -0
- package/assets/index-HUqkoREA.js +5 -0
- package/assets/index-hYuGvrPG.js +1 -0
- package/assets/{index-BcyYnbGB.js → index-hgpWmtXw.js} +1 -1
- package/assets/index.es-Dfb5Cko7.js +4865 -0
- package/assets/{index.umd-DNNVL3en.js → index.umd-D3byEp8e.js} +1 -1
- package/assets/secp256k1-Bb9aSLWc.js +1 -0
- package/index.html +1 -1
- package/package.json +3 -3
- package/assets/background-v4-CcTBZUhV.jpg +0 -0
- package/assets/dcl-CSCjwju1.webp +0 -0
- package/assets/index-BfYbKzUW.js +0 -1
- package/assets/index-BiLuWLjK.js +0 -2
- package/assets/index-D76Uxjzx.js +0 -1
- package/assets/index-DGSVm7Cr.js +0 -1
- package/assets/index-DVdcljqq.js +0 -2
- package/assets/index-DqK5yzRc.js +0 -831
package/assets/index-DqK5yzRc.js
DELETED
|
@@ -1,831 +0,0 @@
|
|
|
1
|
-
function XA(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var ie=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ES(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Yi(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?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(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var CS={exports:{}},rm={},SS={exports:{}},tt={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var lf=Symbol.for("react.element"),JA=Symbol.for("react.portal"),QA=Symbol.for("react.fragment"),eP=Symbol.for("react.strict_mode"),tP=Symbol.for("react.profiler"),nP=Symbol.for("react.provider"),rP=Symbol.for("react.context"),oP=Symbol.for("react.forward_ref"),iP=Symbol.for("react.suspense"),aP=Symbol.for("react.memo"),sP=Symbol.for("react.lazy"),g6=Symbol.iterator;function lP(e){return e===null||typeof e!="object"?null:(e=g6&&e[g6]||e["@@iterator"],typeof e=="function"?e:null)}var wS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xS=Object.assign,MS={};function Uc(e,t,n){this.props=e,this.context=t,this.refs=MS,this.updater=n||wS}Uc.prototype.isReactComponent={};Uc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Uc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function RS(){}RS.prototype=Uc.prototype;function G3(e,t,n){this.props=e,this.context=t,this.refs=MS,this.updater=n||wS}var K3=G3.prototype=new RS;K3.constructor=G3;xS(K3,Uc.prototype);K3.isPureReactComponent=!0;var y6=Array.isArray,TS=Object.prototype.hasOwnProperty,Y3={current:null},kS={key:!0,ref:!0,__self:!0,__source:!0};function IS(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)TS.call(t,r)&&!kS.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:lf,type:e,key:i,ref:a,props:o,_owner:Y3.current}}function cP(e,t){return{$$typeof:lf,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Z3(e){return typeof e=="object"&&e!==null&&e.$$typeof===lf}function uP(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var v6=/\/+/g;function eg(e,t){return typeof e=="object"&&e!==null&&e.key!=null?uP(""+e.key):t.toString(36)}function i1(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case lf:case JA:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+eg(a,0):r,y6(o)?(n="",e!=null&&(n=e.replace(v6,"$&/")+"/"),i1(o,t,n,"",function(c){return c})):o!=null&&(Z3(o)&&(o=cP(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(v6,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",y6(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+eg(i,s);a+=i1(i,t,n,l,o)}else if(l=lP(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+eg(i,s++),a+=i1(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Zf(e,t,n){if(e==null)return e;var r=[],o=0;return i1(e,r,"","",function(i){return t.call(n,i,o++)}),r}function dP(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var rr={current:null},a1={transition:null},fP={ReactCurrentDispatcher:rr,ReactCurrentBatchConfig:a1,ReactCurrentOwner:Y3};function LS(){throw Error("act(...) is not supported in production builds of React.")}tt.Children={map:Zf,forEach:function(e,t,n){Zf(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Zf(e,function(){t++}),t},toArray:function(e){return Zf(e,function(t){return t})||[]},only:function(e){if(!Z3(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};tt.Component=Uc;tt.Fragment=QA;tt.Profiler=tP;tt.PureComponent=G3;tt.StrictMode=eP;tt.Suspense=iP;tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fP;tt.act=LS;tt.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=xS({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Y3.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)TS.call(t,l)&&!kS.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:lf,type:e.type,key:o,ref:i,props:r,_owner:a}};tt.createContext=function(e){return e={$$typeof:rP,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:nP,_context:e},e.Consumer=e};tt.createElement=IS;tt.createFactory=function(e){var t=IS.bind(null,e);return t.type=e,t};tt.createRef=function(){return{current:null}};tt.forwardRef=function(e){return{$$typeof:oP,render:e}};tt.isValidElement=Z3;tt.lazy=function(e){return{$$typeof:sP,_payload:{_status:-1,_result:e},_init:dP}};tt.memo=function(e,t){return{$$typeof:aP,type:e,compare:t===void 0?null:t}};tt.startTransition=function(e){var t=a1.transition;a1.transition={};try{e()}finally{a1.transition=t}};tt.unstable_act=LS;tt.useCallback=function(e,t){return rr.current.useCallback(e,t)};tt.useContext=function(e){return rr.current.useContext(e)};tt.useDebugValue=function(){};tt.useDeferredValue=function(e){return rr.current.useDeferredValue(e)};tt.useEffect=function(e,t){return rr.current.useEffect(e,t)};tt.useId=function(){return rr.current.useId()};tt.useImperativeHandle=function(e,t,n){return rr.current.useImperativeHandle(e,t,n)};tt.useInsertionEffect=function(e,t){return rr.current.useInsertionEffect(e,t)};tt.useLayoutEffect=function(e,t){return rr.current.useLayoutEffect(e,t)};tt.useMemo=function(e,t){return rr.current.useMemo(e,t)};tt.useReducer=function(e,t,n){return rr.current.useReducer(e,t,n)};tt.useRef=function(e){return rr.current.useRef(e)};tt.useState=function(e){return rr.current.useState(e)};tt.useSyncExternalStore=function(e,t,n){return rr.current.useSyncExternalStore(e,t,n)};tt.useTransition=function(){return rr.current.useTransition()};tt.version="18.3.1";SS.exports=tt;var M=SS.exports;const Y=ES(M),V1=XA({__proto__:null,default:Y},[M]);/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.production.min.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var pP=M,hP=Symbol.for("react.element"),mP=Symbol.for("react.fragment"),gP=Object.prototype.hasOwnProperty,yP=pP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,vP={key:!0,ref:!0,__self:!0,__source:!0};function OS(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)gP.call(t,r)&&!vP.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:hP,type:e,key:i,ref:a,props:o,_owner:yP.current}}rm.Fragment=mP;rm.jsx=OS;rm.jsxs=OS;CS.exports=rm;var f=CS.exports,AS={exports:{}},Pr={},PS={exports:{}},NS={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.min.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/(function(e){function t(B,ee){var $=B.length;B.push(ee);e:for(;0<$;){var P=$-1>>>1,N=B[P];if(0<o(N,ee))B[P]=ee,B[$]=N,$=P;else break e}}function n(B){return B.length===0?null:B[0]}function r(B){if(B.length===0)return null;var ee=B[0],$=B.pop();if($!==ee){B[0]=$;e:for(var P=0,N=B.length,O=N>>>1;P<O;){var x=2*(P+1)-1,k=B[x],j=x+1,J=B[j];if(0>o(k,$))j<N&&0>o(J,k)?(B[P]=J,B[j]=$,P=j):(B[P]=k,B[x]=$,P=x);else if(j<N&&0>o(J,$))B[P]=J,B[j]=$,P=j;else break e}}return ee}function o(B,ee){var $=B.sortIndex-ee.sortIndex;return $!==0?$:B.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,d=null,p=3,h=!1,g=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(B){for(var ee=n(c);ee!==null;){if(ee.callback===null)r(c);else if(ee.startTime<=B)r(c),ee.sortIndex=ee.expirationTime,t(l,ee);else break;ee=n(c)}}function w(B){if(v=!1,E(B),!g)if(n(l)!==null)g=!0,H(S);else{var ee=n(c);ee!==null&&re(w,ee.startTime-B)}}function S(B,ee){g=!1,v&&(v=!1,m(R),R=-1),h=!0;var $=p;try{for(E(ee),d=n(l);d!==null&&(!(d.expirationTime>ee)||B&&!D());){var P=d.callback;if(typeof P=="function"){d.callback=null,p=d.priorityLevel;var N=P(d.expirationTime<=ee);ee=e.unstable_now(),typeof N=="function"?d.callback=N:d===n(l)&&r(l),E(ee)}else r(l);d=n(l)}if(d!==null)var O=!0;else{var x=n(c);x!==null&&re(w,x.startTime-ee),O=!1}return O}finally{d=null,p=$,h=!1}}var _=!1,C=null,R=-1,T=5,I=-1;function D(){return!(e.unstable_now()-I<T)}function F(){if(C!==null){var B=e.unstable_now();I=B;var ee=!0;try{ee=C(!0,B)}finally{ee?q():(_=!1,C=null)}}else _=!1}var q;if(typeof y=="function")q=function(){y(F)};else if(typeof MessageChannel<"u"){var W=new MessageChannel,Q=W.port2;W.port1.onmessage=F,q=function(){Q.postMessage(null)}}else q=function(){b(F,0)};function H(B){C=B,_||(_=!0,q())}function re(B,ee){R=b(function(){B(e.unstable_now())},ee)}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(B){B.callback=null},e.unstable_continueExecution=function(){g||h||(g=!0,H(S))},e.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(B){switch(p){case 1:case 2:case 3:var ee=3;break;default:ee=p}var $=p;p=ee;try{return B()}finally{p=$}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(B,ee){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var $=p;p=B;try{return ee()}finally{p=$}},e.unstable_scheduleCallback=function(B,ee,$){var P=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?P+$:P):$=P,B){case 1:var N=-1;break;case 2:N=250;break;case 5:N=1073741823;break;case 4:N=1e4;break;default:N=5e3}return N=$+N,B={id:u++,callback:ee,priorityLevel:B,startTime:$,expirationTime:N,sortIndex:-1},$>P?(B.sortIndex=$,t(c,B),n(l)===null&&B===n(c)&&(v?(m(R),R=-1):v=!0,re(w,$-P))):(B.sortIndex=N,t(l,B),g||h||(g=!0,H(S))),B},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(B){var ee=p;return function(){var $=p;p=ee;try{return B.apply(this,arguments)}finally{p=$}}}})(NS);PS.exports=NS;var _P=PS.exports;/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.min.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var bP=M,Lr=_P;function ce(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var $S=new Set,xd={};function zs(e,t){oc(e,t),oc(e+"Capture",t)}function oc(e,t){for(xd[e]=t,e=0;e<t.length;e++)$S.add(t[e])}var Li=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ry=Object.prototype.hasOwnProperty,EP=/^[: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]*$/,_6={},b6={};function CP(e){return ry.call(b6,e)?!0:ry.call(_6,e)?!1:EP.test(e)?b6[e]=!0:(_6[e]=!0,!1)}function SP(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function wP(e,t,n,r){if(t===null||typeof t>"u"||SP(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function or(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var An={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){An[e]=new or(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];An[t]=new or(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){An[e]=new or(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){An[e]=new or(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){An[e]=new or(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){An[e]=new or(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){An[e]=new or(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){An[e]=new or(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){An[e]=new or(e,5,!1,e.toLowerCase(),null,!1,!1)});var X3=/[\-:]([a-z])/g;function J3(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(X3,J3);An[t]=new or(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(X3,J3);An[t]=new or(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(X3,J3);An[t]=new or(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){An[e]=new or(e,1,!1,e.toLowerCase(),null,!1,!1)});An.xlinkHref=new or("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){An[e]=new or(e,1,!1,e.toLowerCase(),null,!0,!0)});function Q3(e,t,n,r){var o=An.hasOwnProperty(t)?An[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(wP(t,n,o,r)&&(n=null),r||o===null?CP(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Zi=bP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Xf=Symbol.for("react.element"),wl=Symbol.for("react.portal"),xl=Symbol.for("react.fragment"),e4=Symbol.for("react.strict_mode"),oy=Symbol.for("react.profiler"),jS=Symbol.for("react.provider"),DS=Symbol.for("react.context"),t4=Symbol.for("react.forward_ref"),iy=Symbol.for("react.suspense"),ay=Symbol.for("react.suspense_list"),n4=Symbol.for("react.memo"),ca=Symbol.for("react.lazy"),BS=Symbol.for("react.offscreen"),E6=Symbol.iterator;function fu(e){return e===null||typeof e!="object"?null:(e=E6&&e[E6]||e["@@iterator"],typeof e=="function"?e:null)}var qt=Object.assign,tg;function Bu(e){if(tg===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);tg=t&&t[1]||""}return`
|
|
34
|
-
`+tg+e}var ng=!1;function rg(e,t){if(!e||ng)return"";ng=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
|
35
|
-
`),i=r.stack.split(`
|
|
36
|
-
`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
|
|
37
|
-
`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{ng=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bu(e):""}function xP(e){switch(e.tag){case 5:return Bu(e.type);case 16:return Bu("Lazy");case 13:return Bu("Suspense");case 19:return Bu("SuspenseList");case 0:case 2:case 15:return e=rg(e.type,!1),e;case 11:return e=rg(e.type.render,!1),e;case 1:return e=rg(e.type,!0),e;default:return""}}function sy(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xl:return"Fragment";case wl:return"Portal";case oy:return"Profiler";case e4:return"StrictMode";case iy:return"Suspense";case ay:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case DS:return(e.displayName||"Context")+".Consumer";case jS:return(e._context.displayName||"Context")+".Provider";case t4:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case n4:return t=e.displayName||null,t!==null?t:sy(e.type)||"Memo";case ca:t=e._payload,e=e._init;try{return sy(e(t))}catch{}}return null}function MP(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return sy(t);case 8:return t===e4?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ba(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function FS(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function RP(e){var t=FS(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Jf(e){e._valueTracker||(e._valueTracker=RP(e))}function US(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=FS(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function z1(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ly(e,t){var n=t.checked;return qt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function C6(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ba(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function HS(e,t){t=t.checked,t!=null&&Q3(e,"checked",t,!1)}function cy(e,t){HS(e,t);var n=Ba(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?uy(e,t.type,n):t.hasOwnProperty("defaultValue")&&uy(e,t.type,Ba(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function S6(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function uy(e,t,n){(t!=="number"||z1(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Fu=Array.isArray;function Wl(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ba(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function dy(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(ce(91));return qt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function w6(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(ce(92));if(Fu(n)){if(1<n.length)throw Error(ce(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ba(n)}}function VS(e,t){var n=Ba(t.value),r=Ba(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function x6(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function zS(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fy(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?zS(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Qf,WS=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Qf=Qf||document.createElement("div"),Qf.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Qf.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Md(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ju={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},TP=["Webkit","ms","Moz","O"];Object.keys(Ju).forEach(function(e){TP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ju[t]=Ju[e]})});function qS(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ju.hasOwnProperty(e)&&Ju[e]?(""+t).trim():t+"px"}function GS(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=qS(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var kP=qt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function py(e,t){if(t){if(kP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ce(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ce(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ce(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ce(62))}}function hy(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var my=null;function r4(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gy=null,ql=null,Gl=null;function M6(e){if(e=df(e)){if(typeof gy!="function")throw Error(ce(280));var t=e.stateNode;t&&(t=lm(t),gy(e.stateNode,e.type,t))}}function KS(e){ql?Gl?Gl.push(e):Gl=[e]:ql=e}function YS(){if(ql){var e=ql,t=Gl;if(Gl=ql=null,M6(e),t)for(e=0;e<t.length;e++)M6(t[e])}}function ZS(e,t){return e(t)}function XS(){}var og=!1;function JS(e,t,n){if(og)return e(t,n);og=!0;try{return ZS(e,t,n)}finally{og=!1,(ql!==null||Gl!==null)&&(XS(),YS())}}function Rd(e,t){var n=e.stateNode;if(n===null)return null;var r=lm(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(ce(231,t,typeof n));return n}var yy=!1;if(Li)try{var pu={};Object.defineProperty(pu,"passive",{get:function(){yy=!0}}),window.addEventListener("test",pu,pu),window.removeEventListener("test",pu,pu)}catch{yy=!1}function IP(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Qu=!1,W1=null,q1=!1,vy=null,LP={onError:function(e){Qu=!0,W1=e}};function OP(e,t,n,r,o,i,a,s,l){Qu=!1,W1=null,IP.apply(LP,arguments)}function AP(e,t,n,r,o,i,a,s,l){if(OP.apply(this,arguments),Qu){if(Qu){var c=W1;Qu=!1,W1=null}else throw Error(ce(198));q1||(q1=!0,vy=c)}}function Ws(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function QS(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function R6(e){if(Ws(e)!==e)throw Error(ce(188))}function PP(e){var t=e.alternate;if(!t){if(t=Ws(e),t===null)throw Error(ce(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return R6(o),e;if(i===r)return R6(o),t;i=i.sibling}throw Error(ce(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a)throw Error(ce(189))}}if(n.alternate!==r)throw Error(ce(190))}if(n.tag!==3)throw Error(ce(188));return n.stateNode.current===n?e:t}function ew(e){return e=PP(e),e!==null?tw(e):null}function tw(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=tw(e);if(t!==null)return t;e=e.sibling}return null}var nw=Lr.unstable_scheduleCallback,T6=Lr.unstable_cancelCallback,NP=Lr.unstable_shouldYield,$P=Lr.unstable_requestPaint,Qt=Lr.unstable_now,jP=Lr.unstable_getCurrentPriorityLevel,o4=Lr.unstable_ImmediatePriority,rw=Lr.unstable_UserBlockingPriority,G1=Lr.unstable_NormalPriority,DP=Lr.unstable_LowPriority,ow=Lr.unstable_IdlePriority,om=null,Zo=null;function BP(e){if(Zo&&typeof Zo.onCommitFiberRoot=="function")try{Zo.onCommitFiberRoot(om,e,void 0,(e.current.flags&128)===128)}catch{}}var To=Math.clz32?Math.clz32:HP,FP=Math.log,UP=Math.LN2;function HP(e){return e>>>=0,e===0?32:31-(FP(e)/UP|0)|0}var ep=64,tp=4194304;function Uu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function K1(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=Uu(s):(i&=a,i!==0&&(r=Uu(i)))}else a=n&~o,a!==0?r=Uu(a):i!==0&&(r=Uu(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-To(t),o=1<<n,r|=e[n],t&=~o;return r}function VP(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function zP(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-To(i),s=1<<a,l=o[a];l===-1?(!(s&n)||s&r)&&(o[a]=VP(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function _y(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function iw(){var e=ep;return ep<<=1,!(ep&4194240)&&(ep=64),e}function ig(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function cf(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-To(t),e[t]=n}function WP(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-To(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function i4(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-To(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var mt=0;function aw(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var sw,a4,lw,cw,uw,by=!1,np=[],Ra=null,Ta=null,ka=null,Td=new Map,kd=new Map,ha=[],qP="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function k6(e,t){switch(e){case"focusin":case"focusout":Ra=null;break;case"dragenter":case"dragleave":Ta=null;break;case"mouseover":case"mouseout":ka=null;break;case"pointerover":case"pointerout":Td.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":kd.delete(t.pointerId)}}function hu(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=df(t),t!==null&&a4(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function GP(e,t,n,r,o){switch(t){case"focusin":return Ra=hu(Ra,e,t,n,r,o),!0;case"dragenter":return Ta=hu(Ta,e,t,n,r,o),!0;case"mouseover":return ka=hu(ka,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Td.set(i,hu(Td.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,kd.set(i,hu(kd.get(i)||null,e,t,n,r,o)),!0}return!1}function dw(e){var t=vs(e.target);if(t!==null){var n=Ws(t);if(n!==null){if(t=n.tag,t===13){if(t=QS(n),t!==null){e.blockedOn=t,uw(e.priority,function(){lw(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function s1(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ey(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);my=r,n.target.dispatchEvent(r),my=null}else return t=df(n),t!==null&&a4(t),e.blockedOn=n,!1;t.shift()}return!0}function I6(e,t,n){s1(e)&&n.delete(t)}function KP(){by=!1,Ra!==null&&s1(Ra)&&(Ra=null),Ta!==null&&s1(Ta)&&(Ta=null),ka!==null&&s1(ka)&&(ka=null),Td.forEach(I6),kd.forEach(I6)}function mu(e,t){e.blockedOn===t&&(e.blockedOn=null,by||(by=!0,Lr.unstable_scheduleCallback(Lr.unstable_NormalPriority,KP)))}function Id(e){function t(o){return mu(o,e)}if(0<np.length){mu(np[0],e);for(var n=1;n<np.length;n++){var r=np[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ra!==null&&mu(Ra,e),Ta!==null&&mu(Ta,e),ka!==null&&mu(ka,e),Td.forEach(t),kd.forEach(t),n=0;n<ha.length;n++)r=ha[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<ha.length&&(n=ha[0],n.blockedOn===null);)dw(n),n.blockedOn===null&&ha.shift()}var Kl=Zi.ReactCurrentBatchConfig,Y1=!0;function YP(e,t,n,r){var o=mt,i=Kl.transition;Kl.transition=null;try{mt=1,s4(e,t,n,r)}finally{mt=o,Kl.transition=i}}function ZP(e,t,n,r){var o=mt,i=Kl.transition;Kl.transition=null;try{mt=4,s4(e,t,n,r)}finally{mt=o,Kl.transition=i}}function s4(e,t,n,r){if(Y1){var o=Ey(e,t,n,r);if(o===null)mg(e,t,r,Z1,n),k6(e,r);else if(GP(o,e,t,n,r))r.stopPropagation();else if(k6(e,r),t&4&&-1<qP.indexOf(e)){for(;o!==null;){var i=df(o);if(i!==null&&sw(i),i=Ey(e,t,n,r),i===null&&mg(e,t,r,Z1,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else mg(e,t,r,null,n)}}var Z1=null;function Ey(e,t,n,r){if(Z1=null,e=r4(r),e=vs(e),e!==null)if(t=Ws(e),t===null)e=null;else if(n=t.tag,n===13){if(e=QS(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Z1=e,null}function fw(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(jP()){case o4:return 1;case rw:return 4;case G1:case DP:return 16;case ow:return 536870912;default:return 16}default:return 16}}var _a=null,l4=null,l1=null;function pw(){if(l1)return l1;var e,t=l4,n=t.length,r,o="value"in _a?_a.value:_a.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[i-r];r++);return l1=o.slice(e,1<r?1-r:void 0)}function c1(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function rp(){return!0}function L6(){return!1}function Nr(e){function t(n,r,o,i,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?rp:L6,this.isPropagationStopped=L6,this}return qt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=rp)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=rp)},persist:function(){},isPersistent:rp}),t}var Hc={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},c4=Nr(Hc),uf=qt({},Hc,{view:0,detail:0}),XP=Nr(uf),ag,sg,gu,im=qt({},uf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:u4,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==gu&&(gu&&e.type==="mousemove"?(ag=e.screenX-gu.screenX,sg=e.screenY-gu.screenY):sg=ag=0,gu=e),ag)},movementY:function(e){return"movementY"in e?e.movementY:sg}}),O6=Nr(im),JP=qt({},im,{dataTransfer:0}),QP=Nr(JP),eN=qt({},uf,{relatedTarget:0}),lg=Nr(eN),tN=qt({},Hc,{animationName:0,elapsedTime:0,pseudoElement:0}),nN=Nr(tN),rN=qt({},Hc,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),oN=Nr(rN),iN=qt({},Hc,{data:0}),A6=Nr(iN),aN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sN={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"},lN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cN(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=lN[e])?!!t[e]:!1}function u4(){return cN}var uN=qt({},uf,{key:function(e){if(e.key){var t=aN[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=c1(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?sN[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:u4,charCode:function(e){return e.type==="keypress"?c1(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?c1(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),dN=Nr(uN),fN=qt({},im,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),P6=Nr(fN),pN=qt({},uf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:u4}),hN=Nr(pN),mN=qt({},Hc,{propertyName:0,elapsedTime:0,pseudoElement:0}),gN=Nr(mN),yN=qt({},im,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),vN=Nr(yN),_N=[9,13,27,32],d4=Li&&"CompositionEvent"in window,ed=null;Li&&"documentMode"in document&&(ed=document.documentMode);var bN=Li&&"TextEvent"in window&&!ed,hw=Li&&(!d4||ed&&8<ed&&11>=ed),N6=" ",$6=!1;function mw(e,t){switch(e){case"keyup":return _N.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ml=!1;function EN(e,t){switch(e){case"compositionend":return gw(t);case"keypress":return t.which!==32?null:($6=!0,N6);case"textInput":return e=t.data,e===N6&&$6?null:e;default:return null}}function CN(e,t){if(Ml)return e==="compositionend"||!d4&&mw(e,t)?(e=pw(),l1=l4=_a=null,Ml=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return hw&&t.locale!=="ko"?null:t.data;default:return null}}var SN={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 j6(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!SN[e.type]:t==="textarea"}function yw(e,t,n,r){KS(r),t=X1(t,"onChange"),0<t.length&&(n=new c4("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var td=null,Ld=null;function wN(e){Tw(e,0)}function am(e){var t=kl(e);if(US(t))return e}function xN(e,t){if(e==="change")return t}var vw=!1;if(Li){var cg;if(Li){var ug="oninput"in document;if(!ug){var D6=document.createElement("div");D6.setAttribute("oninput","return;"),ug=typeof D6.oninput=="function"}cg=ug}else cg=!1;vw=cg&&(!document.documentMode||9<document.documentMode)}function B6(){td&&(td.detachEvent("onpropertychange",_w),Ld=td=null)}function _w(e){if(e.propertyName==="value"&&am(Ld)){var t=[];yw(t,Ld,e,r4(e)),JS(wN,t)}}function MN(e,t,n){e==="focusin"?(B6(),td=t,Ld=n,td.attachEvent("onpropertychange",_w)):e==="focusout"&&B6()}function RN(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return am(Ld)}function TN(e,t){if(e==="click")return am(t)}function kN(e,t){if(e==="input"||e==="change")return am(t)}function IN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Lo=typeof Object.is=="function"?Object.is:IN;function Od(e,t){if(Lo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!ry.call(t,o)||!Lo(e[o],t[o]))return!1}return!0}function F6(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function U6(e,t){var n=F6(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=F6(n)}}function bw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?bw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ew(){for(var e=window,t=z1();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=z1(e.document)}return t}function f4(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function LN(e){var t=Ew(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&bw(n.ownerDocument.documentElement,n)){if(r!==null&&f4(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=U6(n,i);var a=U6(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ON=Li&&"documentMode"in document&&11>=document.documentMode,Rl=null,Cy=null,nd=null,Sy=!1;function H6(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sy||Rl==null||Rl!==z1(r)||(r=Rl,"selectionStart"in r&&f4(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),nd&&Od(nd,r)||(nd=r,r=X1(Cy,"onSelect"),0<r.length&&(t=new c4("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Rl)))}function op(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Tl={animationend:op("Animation","AnimationEnd"),animationiteration:op("Animation","AnimationIteration"),animationstart:op("Animation","AnimationStart"),transitionend:op("Transition","TransitionEnd")},dg={},Cw={};Li&&(Cw=document.createElement("div").style,"AnimationEvent"in window||(delete Tl.animationend.animation,delete Tl.animationiteration.animation,delete Tl.animationstart.animation),"TransitionEvent"in window||delete Tl.transitionend.transition);function sm(e){if(dg[e])return dg[e];if(!Tl[e])return e;var t=Tl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Cw)return dg[e]=t[n];return e}var Sw=sm("animationend"),ww=sm("animationiteration"),xw=sm("animationstart"),Mw=sm("transitionend"),Rw=new Map,V6="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function qa(e,t){Rw.set(e,t),zs(t,[e])}for(var fg=0;fg<V6.length;fg++){var pg=V6[fg],AN=pg.toLowerCase(),PN=pg[0].toUpperCase()+pg.slice(1);qa(AN,"on"+PN)}qa(Sw,"onAnimationEnd");qa(ww,"onAnimationIteration");qa(xw,"onAnimationStart");qa("dblclick","onDoubleClick");qa("focusin","onFocus");qa("focusout","onBlur");qa(Mw,"onTransitionEnd");oc("onMouseEnter",["mouseout","mouseover"]);oc("onMouseLeave",["mouseout","mouseover"]);oc("onPointerEnter",["pointerout","pointerover"]);oc("onPointerLeave",["pointerout","pointerover"]);zs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));zs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));zs("onBeforeInput",["compositionend","keypress","textInput","paste"]);zs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));zs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));zs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hu="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(" "),NN=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hu));function z6(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,AP(r,t,void 0,e),e.currentTarget=null}function Tw(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;z6(o,s,c),i=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;z6(o,s,c),i=l}}}if(q1)throw e=vy,q1=!1,vy=null,e}function At(e,t){var n=t[Ty];n===void 0&&(n=t[Ty]=new Set);var r=e+"__bubble";n.has(r)||(kw(t,e,2,!1),n.add(r))}function hg(e,t,n){var r=0;t&&(r|=4),kw(n,e,r,t)}var ip="_reactListening"+Math.random().toString(36).slice(2);function Ad(e){if(!e[ip]){e[ip]=!0,$S.forEach(function(n){n!=="selectionchange"&&(NN.has(n)||hg(n,!1,e),hg(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ip]||(t[ip]=!0,hg("selectionchange",!1,t))}}function kw(e,t,n,r){switch(fw(t)){case 1:var o=YP;break;case 4:o=ZP;break;default:o=s4}n=o.bind(null,t,n,e),o=void 0,!yy||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function mg(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;if(s===o||s.nodeType===8&&s.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;a=a.return}for(;s!==null;){if(a=vs(s),a===null)return;if(l=a.tag,l===5||l===6){r=i=a;continue e}s=s.parentNode}}r=r.return}JS(function(){var c=i,u=r4(n),d=[];e:{var p=Rw.get(e);if(p!==void 0){var h=c4,g=e;switch(e){case"keypress":if(c1(n)===0)break e;case"keydown":case"keyup":h=dN;break;case"focusin":g="focus",h=lg;break;case"focusout":g="blur",h=lg;break;case"beforeblur":case"afterblur":h=lg;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=O6;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=QP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=hN;break;case Sw:case ww:case xw:h=nN;break;case Mw:h=gN;break;case"scroll":h=XP;break;case"wheel":h=vN;break;case"copy":case"cut":case"paste":h=oN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=P6}var v=(t&4)!==0,b=!v&&e==="scroll",m=v?p!==null?p+"Capture":null:p;v=[];for(var y=c,E;y!==null;){E=y;var w=E.stateNode;if(E.tag===5&&w!==null&&(E=w,m!==null&&(w=Rd(y,m),w!=null&&v.push(Pd(y,w,E)))),b)break;y=y.return}0<v.length&&(p=new h(p,g,null,n,u),d.push({event:p,listeners:v}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&n!==my&&(g=n.relatedTarget||n.fromElement)&&(vs(g)||g[Oi]))break e;if((h||p)&&(p=u.window===u?u:(p=u.ownerDocument)?p.defaultView||p.parentWindow:window,h?(g=n.relatedTarget||n.toElement,h=c,g=g?vs(g):null,g!==null&&(b=Ws(g),g!==b||g.tag!==5&&g.tag!==6)&&(g=null)):(h=null,g=c),h!==g)){if(v=O6,w="onMouseLeave",m="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(v=P6,w="onPointerLeave",m="onPointerEnter",y="pointer"),b=h==null?p:kl(h),E=g==null?p:kl(g),p=new v(w,y+"leave",h,n,u),p.target=b,p.relatedTarget=E,w=null,vs(u)===c&&(v=new v(m,y+"enter",g,n,u),v.target=E,v.relatedTarget=b,w=v),b=w,h&&g)t:{for(v=h,m=g,y=0,E=v;E;E=nl(E))y++;for(E=0,w=m;w;w=nl(w))E++;for(;0<y-E;)v=nl(v),y--;for(;0<E-y;)m=nl(m),E--;for(;y--;){if(v===m||m!==null&&v===m.alternate)break t;v=nl(v),m=nl(m)}v=null}else v=null;h!==null&&W6(d,p,h,v,!1),g!==null&&b!==null&&W6(d,b,g,v,!0)}}e:{if(p=c?kl(c):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var S=xN;else if(j6(p))if(vw)S=kN;else{S=RN;var _=MN}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(S=TN);if(S&&(S=S(e,c))){yw(d,S,n,u);break e}_&&_(e,p,c),e==="focusout"&&(_=p._wrapperState)&&_.controlled&&p.type==="number"&&uy(p,"number",p.value)}switch(_=c?kl(c):window,e){case"focusin":(j6(_)||_.contentEditable==="true")&&(Rl=_,Cy=c,nd=null);break;case"focusout":nd=Cy=Rl=null;break;case"mousedown":Sy=!0;break;case"contextmenu":case"mouseup":case"dragend":Sy=!1,H6(d,n,u);break;case"selectionchange":if(ON)break;case"keydown":case"keyup":H6(d,n,u)}var C;if(d4)e:{switch(e){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else Ml?mw(e,n)&&(R="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(hw&&n.locale!=="ko"&&(Ml||R!=="onCompositionStart"?R==="onCompositionEnd"&&Ml&&(C=pw()):(_a=u,l4="value"in _a?_a.value:_a.textContent,Ml=!0)),_=X1(c,R),0<_.length&&(R=new A6(R,e,null,n,u),d.push({event:R,listeners:_}),C?R.data=C:(C=gw(n),C!==null&&(R.data=C)))),(C=bN?EN(e,n):CN(e,n))&&(c=X1(c,"onBeforeInput"),0<c.length&&(u=new A6("onBeforeInput","beforeinput",null,n,u),d.push({event:u,listeners:c}),u.data=C))}Tw(d,t)})}function Pd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function X1(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Rd(e,n),i!=null&&r.unshift(Pd(e,i,o)),i=Rd(e,t),i!=null&&r.push(Pd(e,i,o))),e=e.return}return r}function nl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function W6(e,t,n,r,o){for(var i=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&c!==null&&(s=c,o?(l=Rd(n,i),l!=null&&a.unshift(Pd(n,l,s))):o||(l=Rd(n,i),l!=null&&a.push(Pd(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var $N=/\r\n?/g,jN=/\u0000|\uFFFD/g;function q6(e){return(typeof e=="string"?e:""+e).replace($N,`
|
|
38
|
-
`).replace(jN,"")}function ap(e,t,n){if(t=q6(t),q6(e)!==t&&n)throw Error(ce(425))}function J1(){}var wy=null,xy=null;function My(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ry=typeof setTimeout=="function"?setTimeout:void 0,DN=typeof clearTimeout=="function"?clearTimeout:void 0,G6=typeof Promise=="function"?Promise:void 0,BN=typeof queueMicrotask=="function"?queueMicrotask:typeof G6<"u"?function(e){return G6.resolve(null).then(e).catch(FN)}:Ry;function FN(e){setTimeout(function(){throw e})}function gg(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Id(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Id(t)}function Ia(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function K6(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Vc=Math.random().toString(36).slice(2),Wo="__reactFiber$"+Vc,Nd="__reactProps$"+Vc,Oi="__reactContainer$"+Vc,Ty="__reactEvents$"+Vc,UN="__reactListeners$"+Vc,HN="__reactHandles$"+Vc;function vs(e){var t=e[Wo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Oi]||n[Wo]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=K6(e);e!==null;){if(n=e[Wo])return n;e=K6(e)}return t}e=n,n=e.parentNode}return null}function df(e){return e=e[Wo]||e[Oi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function kl(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ce(33))}function lm(e){return e[Nd]||null}var ky=[],Il=-1;function Ga(e){return{current:e}}function Nt(e){0>Il||(e.current=ky[Il],ky[Il]=null,Il--)}function Lt(e,t){Il++,ky[Il]=e.current,e.current=t}var Fa={},Vn=Ga(Fa),hr=Ga(!1),Os=Fa;function ic(e,t){var n=e.type.contextTypes;if(!n)return Fa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function mr(e){return e=e.childContextTypes,e!=null}function Q1(){Nt(hr),Nt(Vn)}function Y6(e,t,n){if(Vn.current!==Fa)throw Error(ce(168));Lt(Vn,t),Lt(hr,n)}function Iw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(ce(108,MP(e)||"Unknown",o));return qt({},n,r)}function eh(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fa,Os=Vn.current,Lt(Vn,e),Lt(hr,hr.current),!0}function Z6(e,t,n){var r=e.stateNode;if(!r)throw Error(ce(169));n?(e=Iw(e,t,Os),r.__reactInternalMemoizedMergedChildContext=e,Nt(hr),Nt(Vn),Lt(Vn,e)):Nt(hr),Lt(hr,n)}var gi=null,cm=!1,yg=!1;function Lw(e){gi===null?gi=[e]:gi.push(e)}function VN(e){cm=!0,Lw(e)}function Ka(){if(!yg&&gi!==null){yg=!0;var e=0,t=mt;try{var n=gi;for(mt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}gi=null,cm=!1}catch(o){throw gi!==null&&(gi=gi.slice(e+1)),nw(o4,Ka),o}finally{mt=t,yg=!1}}return null}var Ll=[],Ol=0,th=null,nh=0,Wr=[],qr=0,As=null,vi=1,_i="";function ls(e,t){Ll[Ol++]=nh,Ll[Ol++]=th,th=e,nh=t}function Ow(e,t,n){Wr[qr++]=vi,Wr[qr++]=_i,Wr[qr++]=As,As=e;var r=vi;e=_i;var o=32-To(r)-1;r&=~(1<<o),n+=1;var i=32-To(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,vi=1<<32-To(t)+o|n<<o|r,_i=i+e}else vi=1<<i|n<<o|r,_i=e}function p4(e){e.return!==null&&(ls(e,1),Ow(e,1,0))}function h4(e){for(;e===th;)th=Ll[--Ol],Ll[Ol]=null,nh=Ll[--Ol],Ll[Ol]=null;for(;e===As;)As=Wr[--qr],Wr[qr]=null,_i=Wr[--qr],Wr[qr]=null,vi=Wr[--qr],Wr[qr]=null}var kr=null,Tr=null,Dt=!1,Co=null;function Aw(e,t){var n=Zr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function X6(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,kr=e,Tr=Ia(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,kr=e,Tr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=As!==null?{id:vi,overflow:_i}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Zr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,kr=e,Tr=null,!0):!1;default:return!1}}function Iy(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ly(e){if(Dt){var t=Tr;if(t){var n=t;if(!X6(e,t)){if(Iy(e))throw Error(ce(418));t=Ia(n.nextSibling);var r=kr;t&&X6(e,t)?Aw(r,n):(e.flags=e.flags&-4097|2,Dt=!1,kr=e)}}else{if(Iy(e))throw Error(ce(418));e.flags=e.flags&-4097|2,Dt=!1,kr=e}}}function J6(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;kr=e}function sp(e){if(e!==kr)return!1;if(!Dt)return J6(e),Dt=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!My(e.type,e.memoizedProps)),t&&(t=Tr)){if(Iy(e))throw Pw(),Error(ce(418));for(;t;)Aw(e,t),t=Ia(t.nextSibling)}if(J6(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ce(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Tr=Ia(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Tr=null}}else Tr=kr?Ia(e.stateNode.nextSibling):null;return!0}function Pw(){for(var e=Tr;e;)e=Ia(e.nextSibling)}function ac(){Tr=kr=null,Dt=!1}function m4(e){Co===null?Co=[e]:Co.push(e)}var zN=Zi.ReactCurrentBatchConfig;function yu(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(ce(309));var r=n.stateNode}if(!r)throw Error(ce(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var s=o.refs;a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(ce(284));if(!n._owner)throw Error(ce(290,e))}return e}function lp(e,t){throw e=Object.prototype.toString.call(t),Error(ce(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Q6(e){var t=e._init;return t(e._payload)}function Nw(e){function t(m,y){if(e){var E=m.deletions;E===null?(m.deletions=[y],m.flags|=16):E.push(y)}}function n(m,y){if(!e)return null;for(;y!==null;)t(m,y),y=y.sibling;return null}function r(m,y){for(m=new Map;y!==null;)y.key!==null?m.set(y.key,y):m.set(y.index,y),y=y.sibling;return m}function o(m,y){return m=Pa(m,y),m.index=0,m.sibling=null,m}function i(m,y,E){return m.index=E,e?(E=m.alternate,E!==null?(E=E.index,E<y?(m.flags|=2,y):E):(m.flags|=2,y)):(m.flags|=1048576,y)}function a(m){return e&&m.alternate===null&&(m.flags|=2),m}function s(m,y,E,w){return y===null||y.tag!==6?(y=wg(E,m.mode,w),y.return=m,y):(y=o(y,E),y.return=m,y)}function l(m,y,E,w){var S=E.type;return S===xl?u(m,y,E.props.children,w,E.key):y!==null&&(y.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ca&&Q6(S)===y.type)?(w=o(y,E.props),w.ref=yu(m,y,E),w.return=m,w):(w=g1(E.type,E.key,E.props,null,m.mode,w),w.ref=yu(m,y,E),w.return=m,w)}function c(m,y,E,w){return y===null||y.tag!==4||y.stateNode.containerInfo!==E.containerInfo||y.stateNode.implementation!==E.implementation?(y=xg(E,m.mode,w),y.return=m,y):(y=o(y,E.children||[]),y.return=m,y)}function u(m,y,E,w,S){return y===null||y.tag!==7?(y=Ms(E,m.mode,w,S),y.return=m,y):(y=o(y,E),y.return=m,y)}function d(m,y,E){if(typeof y=="string"&&y!==""||typeof y=="number")return y=wg(""+y,m.mode,E),y.return=m,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Xf:return E=g1(y.type,y.key,y.props,null,m.mode,E),E.ref=yu(m,null,y),E.return=m,E;case wl:return y=xg(y,m.mode,E),y.return=m,y;case ca:var w=y._init;return d(m,w(y._payload),E)}if(Fu(y)||fu(y))return y=Ms(y,m.mode,E,null),y.return=m,y;lp(m,y)}return null}function p(m,y,E,w){var S=y!==null?y.key:null;if(typeof E=="string"&&E!==""||typeof E=="number")return S!==null?null:s(m,y,""+E,w);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Xf:return E.key===S?l(m,y,E,w):null;case wl:return E.key===S?c(m,y,E,w):null;case ca:return S=E._init,p(m,y,S(E._payload),w)}if(Fu(E)||fu(E))return S!==null?null:u(m,y,E,w,null);lp(m,E)}return null}function h(m,y,E,w,S){if(typeof w=="string"&&w!==""||typeof w=="number")return m=m.get(E)||null,s(y,m,""+w,S);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Xf:return m=m.get(w.key===null?E:w.key)||null,l(y,m,w,S);case wl:return m=m.get(w.key===null?E:w.key)||null,c(y,m,w,S);case ca:var _=w._init;return h(m,y,E,_(w._payload),S)}if(Fu(w)||fu(w))return m=m.get(E)||null,u(y,m,w,S,null);lp(y,w)}return null}function g(m,y,E,w){for(var S=null,_=null,C=y,R=y=0,T=null;C!==null&&R<E.length;R++){C.index>R?(T=C,C=null):T=C.sibling;var I=p(m,C,E[R],w);if(I===null){C===null&&(C=T);break}e&&C&&I.alternate===null&&t(m,C),y=i(I,y,R),_===null?S=I:_.sibling=I,_=I,C=T}if(R===E.length)return n(m,C),Dt&&ls(m,R),S;if(C===null){for(;R<E.length;R++)C=d(m,E[R],w),C!==null&&(y=i(C,y,R),_===null?S=C:_.sibling=C,_=C);return Dt&&ls(m,R),S}for(C=r(m,C);R<E.length;R++)T=h(C,m,R,E[R],w),T!==null&&(e&&T.alternate!==null&&C.delete(T.key===null?R:T.key),y=i(T,y,R),_===null?S=T:_.sibling=T,_=T);return e&&C.forEach(function(D){return t(m,D)}),Dt&&ls(m,R),S}function v(m,y,E,w){var S=fu(E);if(typeof S!="function")throw Error(ce(150));if(E=S.call(E),E==null)throw Error(ce(151));for(var _=S=null,C=y,R=y=0,T=null,I=E.next();C!==null&&!I.done;R++,I=E.next()){C.index>R?(T=C,C=null):T=C.sibling;var D=p(m,C,I.value,w);if(D===null){C===null&&(C=T);break}e&&C&&D.alternate===null&&t(m,C),y=i(D,y,R),_===null?S=D:_.sibling=D,_=D,C=T}if(I.done)return n(m,C),Dt&&ls(m,R),S;if(C===null){for(;!I.done;R++,I=E.next())I=d(m,I.value,w),I!==null&&(y=i(I,y,R),_===null?S=I:_.sibling=I,_=I);return Dt&&ls(m,R),S}for(C=r(m,C);!I.done;R++,I=E.next())I=h(C,m,R,I.value,w),I!==null&&(e&&I.alternate!==null&&C.delete(I.key===null?R:I.key),y=i(I,y,R),_===null?S=I:_.sibling=I,_=I);return e&&C.forEach(function(F){return t(m,F)}),Dt&&ls(m,R),S}function b(m,y,E,w){if(typeof E=="object"&&E!==null&&E.type===xl&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Xf:e:{for(var S=E.key,_=y;_!==null;){if(_.key===S){if(S=E.type,S===xl){if(_.tag===7){n(m,_.sibling),y=o(_,E.props.children),y.return=m,m=y;break e}}else if(_.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ca&&Q6(S)===_.type){n(m,_.sibling),y=o(_,E.props),y.ref=yu(m,_,E),y.return=m,m=y;break e}n(m,_);break}else t(m,_);_=_.sibling}E.type===xl?(y=Ms(E.props.children,m.mode,w,E.key),y.return=m,m=y):(w=g1(E.type,E.key,E.props,null,m.mode,w),w.ref=yu(m,y,E),w.return=m,m=w)}return a(m);case wl:e:{for(_=E.key;y!==null;){if(y.key===_)if(y.tag===4&&y.stateNode.containerInfo===E.containerInfo&&y.stateNode.implementation===E.implementation){n(m,y.sibling),y=o(y,E.children||[]),y.return=m,m=y;break e}else{n(m,y);break}else t(m,y);y=y.sibling}y=xg(E,m.mode,w),y.return=m,m=y}return a(m);case ca:return _=E._init,b(m,y,_(E._payload),w)}if(Fu(E))return g(m,y,E,w);if(fu(E))return v(m,y,E,w);lp(m,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,y!==null&&y.tag===6?(n(m,y.sibling),y=o(y,E),y.return=m,m=y):(n(m,y),y=wg(E,m.mode,w),y.return=m,m=y),a(m)):n(m,y)}return b}var sc=Nw(!0),$w=Nw(!1),rh=Ga(null),oh=null,Al=null,g4=null;function y4(){g4=Al=oh=null}function v4(e){var t=rh.current;Nt(rh),e._currentValue=t}function Oy(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Yl(e,t){oh=e,g4=Al=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(pr=!0),e.firstContext=null)}function oo(e){var t=e._currentValue;if(g4!==e)if(e={context:e,memoizedValue:t,next:null},Al===null){if(oh===null)throw Error(ce(308));Al=e,oh.dependencies={lanes:0,firstContext:e}}else Al=Al.next=e;return t}var _s=null;function _4(e){_s===null?_s=[e]:_s.push(e)}function jw(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,_4(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ai(e,r)}function Ai(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ua=!1;function b4(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dw(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function wi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function La(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ct&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ai(e,n)}return o=r.interleaved,o===null?(t.next=t,_4(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ai(e,n)}function u1(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,i4(e,n)}}function e8(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ih(e,t,n,r){var o=e.updateQueue;ua=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?i=c:a.next=c,a=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==a&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;a=0,u=c=l=null,s=i;do{var p=s.lane,h=s.eventTime;if((r&p)===p){u!==null&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,v=s;switch(p=t,h=n,v.tag){case 1:if(g=v.payload,typeof g=="function"){d=g.call(h,d,p);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,p=typeof g=="function"?g.call(h,d,p):g,p==null)break e;d=qt({},d,p);break e;case 2:ua=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=h,l=d):u=u.next=h,a|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(u===null&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Ns|=a,e.lanes=a,e.memoizedState=d}}function t8(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(ce(191,o));o.call(r)}}}var ff={},Xo=Ga(ff),$d=Ga(ff),jd=Ga(ff);function bs(e){if(e===ff)throw Error(ce(174));return e}function E4(e,t){switch(Lt(jd,t),Lt($d,e),Lt(Xo,ff),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fy(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=fy(t,e)}Nt(Xo),Lt(Xo,t)}function lc(){Nt(Xo),Nt($d),Nt(jd)}function Bw(e){bs(jd.current);var t=bs(Xo.current),n=fy(t,e.type);t!==n&&(Lt($d,e),Lt(Xo,n))}function C4(e){$d.current===e&&(Nt(Xo),Nt($d))}var zt=Ga(0);function ah(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var vg=[];function S4(){for(var e=0;e<vg.length;e++)vg[e]._workInProgressVersionPrimary=null;vg.length=0}var d1=Zi.ReactCurrentDispatcher,_g=Zi.ReactCurrentBatchConfig,Ps=0,Wt=null,cn=null,hn=null,sh=!1,rd=!1,Dd=0,WN=0;function $n(){throw Error(ce(321))}function w4(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Lo(e[n],t[n]))return!1;return!0}function x4(e,t,n,r,o,i){if(Ps=i,Wt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,d1.current=e===null||e.memoizedState===null?YN:ZN,e=n(r,o),rd){i=0;do{if(rd=!1,Dd=0,25<=i)throw Error(ce(301));i+=1,hn=cn=null,t.updateQueue=null,d1.current=XN,e=n(r,o)}while(rd)}if(d1.current=lh,t=cn!==null&&cn.next!==null,Ps=0,hn=cn=Wt=null,sh=!1,t)throw Error(ce(300));return e}function M4(){var e=Dd!==0;return Dd=0,e}function Uo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return hn===null?Wt.memoizedState=hn=e:hn=hn.next=e,hn}function io(){if(cn===null){var e=Wt.alternate;e=e!==null?e.memoizedState:null}else e=cn.next;var t=hn===null?Wt.memoizedState:hn.next;if(t!==null)hn=t,cn=e;else{if(e===null)throw Error(ce(310));cn=e,e={memoizedState:cn.memoizedState,baseState:cn.baseState,baseQueue:cn.baseQueue,queue:cn.queue,next:null},hn===null?Wt.memoizedState=hn=e:hn=hn.next=e}return hn}function Bd(e,t){return typeof t=="function"?t(e):t}function bg(e){var t=io(),n=t.queue;if(n===null)throw Error(ce(311));n.lastRenderedReducer=e;var r=cn,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var s=a=null,l=null,c=i;do{var u=c.lane;if((Ps&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=d,a=r):l=l.next=d,Wt.lanes|=u,Ns|=u}c=c.next}while(c!==null&&c!==i);l===null?a=r:l.next=s,Lo(r,t.memoizedState)||(pr=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,Wt.lanes|=i,Ns|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Eg(e){var t=io(),n=t.queue;if(n===null)throw Error(ce(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);Lo(i,t.memoizedState)||(pr=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Fw(){}function Uw(e,t){var n=Wt,r=io(),o=t(),i=!Lo(r.memoizedState,o);if(i&&(r.memoizedState=o,pr=!0),r=r.queue,R4(zw.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||hn!==null&&hn.memoizedState.tag&1){if(n.flags|=2048,Fd(9,Vw.bind(null,n,r,o,t),void 0,null),yn===null)throw Error(ce(349));Ps&30||Hw(n,t,o)}return o}function Hw(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Wt.updateQueue,t===null?(t={lastEffect:null,stores:null},Wt.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vw(e,t,n,r){t.value=n,t.getSnapshot=r,Ww(t)&&qw(e)}function zw(e,t,n){return n(function(){Ww(t)&&qw(e)})}function Ww(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Lo(e,n)}catch{return!0}}function qw(e){var t=Ai(e,1);t!==null&&ko(t,e,1,-1)}function n8(e){var t=Uo();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Bd,lastRenderedState:e},t.queue=e,e=e.dispatch=KN.bind(null,Wt,e),[t.memoizedState,e]}function Fd(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Wt.updateQueue,t===null?(t={lastEffect:null,stores:null},Wt.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Gw(){return io().memoizedState}function f1(e,t,n,r){var o=Uo();Wt.flags|=e,o.memoizedState=Fd(1|t,n,void 0,r===void 0?null:r)}function um(e,t,n,r){var o=io();r=r===void 0?null:r;var i=void 0;if(cn!==null){var a=cn.memoizedState;if(i=a.destroy,r!==null&&w4(r,a.deps)){o.memoizedState=Fd(t,n,i,r);return}}Wt.flags|=e,o.memoizedState=Fd(1|t,n,i,r)}function r8(e,t){return f1(8390656,8,e,t)}function R4(e,t){return um(2048,8,e,t)}function Kw(e,t){return um(4,2,e,t)}function Yw(e,t){return um(4,4,e,t)}function Zw(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Xw(e,t,n){return n=n!=null?n.concat([e]):null,um(4,4,Zw.bind(null,t,e),n)}function T4(){}function Jw(e,t){var n=io();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&w4(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qw(e,t){var n=io();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&w4(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ex(e,t,n){return Ps&21?(Lo(n,t)||(n=iw(),Wt.lanes|=n,Ns|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,pr=!0),e.memoizedState=n)}function qN(e,t){var n=mt;mt=n!==0&&4>n?n:4,e(!0);var r=_g.transition;_g.transition={};try{e(!1),t()}finally{mt=n,_g.transition=r}}function tx(){return io().memoizedState}function GN(e,t,n){var r=Aa(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},nx(e))rx(t,n);else if(n=jw(e,t,n,r),n!==null){var o=er();ko(n,e,r,o),ox(n,t,r)}}function KN(e,t,n){var r=Aa(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(nx(e))rx(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Lo(s,a)){var l=t.interleaved;l===null?(o.next=o,_4(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=jw(e,t,o,r),n!==null&&(o=er(),ko(n,e,r,o),ox(n,t,r))}}function nx(e){var t=e.alternate;return e===Wt||t!==null&&t===Wt}function rx(e,t){rd=sh=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ox(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,i4(e,n)}}var lh={readContext:oo,useCallback:$n,useContext:$n,useEffect:$n,useImperativeHandle:$n,useInsertionEffect:$n,useLayoutEffect:$n,useMemo:$n,useReducer:$n,useRef:$n,useState:$n,useDebugValue:$n,useDeferredValue:$n,useTransition:$n,useMutableSource:$n,useSyncExternalStore:$n,useId:$n,unstable_isNewReconciler:!1},YN={readContext:oo,useCallback:function(e,t){return Uo().memoizedState=[e,t===void 0?null:t],e},useContext:oo,useEffect:r8,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,f1(4194308,4,Zw.bind(null,t,e),n)},useLayoutEffect:function(e,t){return f1(4194308,4,e,t)},useInsertionEffect:function(e,t){return f1(4,2,e,t)},useMemo:function(e,t){var n=Uo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Uo();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=GN.bind(null,Wt,e),[r.memoizedState,e]},useRef:function(e){var t=Uo();return e={current:e},t.memoizedState=e},useState:n8,useDebugValue:T4,useDeferredValue:function(e){return Uo().memoizedState=e},useTransition:function(){var e=n8(!1),t=e[0];return e=qN.bind(null,e[1]),Uo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Wt,o=Uo();if(Dt){if(n===void 0)throw Error(ce(407));n=n()}else{if(n=t(),yn===null)throw Error(ce(349));Ps&30||Hw(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,r8(zw.bind(null,r,i,e),[e]),r.flags|=2048,Fd(9,Vw.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Uo(),t=yn.identifierPrefix;if(Dt){var n=_i,r=vi;n=(r&~(1<<32-To(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Dd++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=WN++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ZN={readContext:oo,useCallback:Jw,useContext:oo,useEffect:R4,useImperativeHandle:Xw,useInsertionEffect:Kw,useLayoutEffect:Yw,useMemo:Qw,useReducer:bg,useRef:Gw,useState:function(){return bg(Bd)},useDebugValue:T4,useDeferredValue:function(e){var t=io();return ex(t,cn.memoizedState,e)},useTransition:function(){var e=bg(Bd)[0],t=io().memoizedState;return[e,t]},useMutableSource:Fw,useSyncExternalStore:Uw,useId:tx,unstable_isNewReconciler:!1},XN={readContext:oo,useCallback:Jw,useContext:oo,useEffect:R4,useImperativeHandle:Xw,useInsertionEffect:Kw,useLayoutEffect:Yw,useMemo:Qw,useReducer:Eg,useRef:Gw,useState:function(){return Eg(Bd)},useDebugValue:T4,useDeferredValue:function(e){var t=io();return cn===null?t.memoizedState=e:ex(t,cn.memoizedState,e)},useTransition:function(){var e=Eg(Bd)[0],t=io().memoizedState;return[e,t]},useMutableSource:Fw,useSyncExternalStore:Uw,useId:tx,unstable_isNewReconciler:!1};function bo(e,t){if(e&&e.defaultProps){t=qt({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ay(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:qt({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var dm={isMounted:function(e){return(e=e._reactInternals)?Ws(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=er(),o=Aa(e),i=wi(r,o);i.payload=t,n!=null&&(i.callback=n),t=La(e,i,o),t!==null&&(ko(t,e,o,r),u1(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=er(),o=Aa(e),i=wi(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=La(e,i,o),t!==null&&(ko(t,e,o,r),u1(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=er(),r=Aa(e),o=wi(n,r);o.tag=2,t!=null&&(o.callback=t),t=La(e,o,r),t!==null&&(ko(t,e,r,n),u1(t,e,r))}};function o8(e,t,n,r,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!Od(n,r)||!Od(o,i):!0}function ix(e,t,n){var r=!1,o=Fa,i=t.contextType;return typeof i=="object"&&i!==null?i=oo(i):(o=mr(t)?Os:Vn.current,r=t.contextTypes,i=(r=r!=null)?ic(e,o):Fa),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=dm,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function i8(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&dm.enqueueReplaceState(t,t.state,null)}function Py(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},b4(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=oo(i):(i=mr(t)?Os:Vn.current,o.context=ic(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ay(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&dm.enqueueReplaceState(o,o.state,null),ih(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function cc(e,t){try{var n="",r=t;do n+=xP(r),r=r.return;while(r);var o=n}catch(i){o=`
|
|
39
|
-
Error generating stack: `+i.message+`
|
|
40
|
-
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Cg(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ny(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var JN=typeof WeakMap=="function"?WeakMap:Map;function ax(e,t,n){n=wi(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){uh||(uh=!0,Wy=r),Ny(e,t)},n}function sx(e,t,n){n=wi(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Ny(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Ny(e,t),typeof r!="function"&&(Oa===null?Oa=new Set([this]):Oa.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function a8(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new JN;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=f$.bind(null,e,t,n),t.then(e,e))}function s8(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function l8(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wi(-1,1),t.tag=2,La(n,t,1))),n.lanes|=1),e)}var QN=Zi.ReactCurrentOwner,pr=!1;function Gn(e,t,n,r){t.child=e===null?$w(t,null,n,r):sc(t,e.child,n,r)}function c8(e,t,n,r,o){n=n.render;var i=t.ref;return Yl(t,o),r=x4(e,t,n,r,i,o),n=M4(),e!==null&&!pr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Pi(e,t,o)):(Dt&&n&&p4(t),t.flags|=1,Gn(e,t,r,o),t.child)}function u8(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!$4(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,lx(e,t,i,r,o)):(e=g1(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:Od,n(a,r)&&e.ref===t.ref)return Pi(e,t,o)}return t.flags|=1,e=Pa(i,r),e.ref=t.ref,e.return=t,t.child=e}function lx(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Od(i,r)&&e.ref===t.ref)if(pr=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(pr=!0);else return t.lanes=e.lanes,Pi(e,t,o)}return $y(e,t,n,r,o)}function cx(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Lt(Nl,Sr),Sr|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Lt(Nl,Sr),Sr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Lt(Nl,Sr),Sr|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Lt(Nl,Sr),Sr|=r;return Gn(e,t,o,n),t.child}function ux(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function $y(e,t,n,r,o){var i=mr(n)?Os:Vn.current;return i=ic(t,i),Yl(t,o),n=x4(e,t,n,r,i,o),r=M4(),e!==null&&!pr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Pi(e,t,o)):(Dt&&r&&p4(t),t.flags|=1,Gn(e,t,n,o),t.child)}function d8(e,t,n,r,o){if(mr(n)){var i=!0;eh(t)}else i=!1;if(Yl(t,o),t.stateNode===null)p1(e,t),ix(t,n,r),Py(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=oo(c):(c=mr(n)?Os:Vn.current,c=ic(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==c)&&i8(t,a,r,c),ua=!1;var p=t.memoizedState;a.state=p,ih(t,r,a,o),l=t.memoizedState,s!==r||p!==l||hr.current||ua?(typeof u=="function"&&(Ay(t,n,u,r),l=t.memoizedState),(s=ua||o8(t,n,s,r,p,l,c))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Dw(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:bo(t.type,s),a.props=c,d=t.pendingProps,p=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=oo(l):(l=mr(n)?Os:Vn.current,l=ic(t,l));var h=n.getDerivedStateFromProps;(u=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||p!==l)&&i8(t,a,r,l),ua=!1,p=t.memoizedState,a.state=p,ih(t,r,a,o);var g=t.memoizedState;s!==d||p!==g||hr.current||ua?(typeof h=="function"&&(Ay(t,n,h,r),g=t.memoizedState),(c=ua||o8(t,n,c,r,p,g,l)||!1)?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,g,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,g,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),a.props=r,a.state=g,a.context=l,r=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return jy(e,t,n,r,i,o)}function jy(e,t,n,r,o,i){ux(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&Z6(t,n,!1),Pi(e,t,i);r=t.stateNode,QN.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=sc(t,e.child,null,i),t.child=sc(t,null,s,i)):Gn(e,t,s,i),t.memoizedState=r.state,o&&Z6(t,n,!0),t.child}function dx(e){var t=e.stateNode;t.pendingContext?Y6(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Y6(e,t.context,!1),E4(e,t.containerInfo)}function f8(e,t,n,r,o){return ac(),m4(o),t.flags|=256,Gn(e,t,n,r),t.child}var Dy={dehydrated:null,treeContext:null,retryLane:0};function By(e){return{baseLanes:e,cachePool:null,transitions:null}}function fx(e,t,n){var r=t.pendingProps,o=zt.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Lt(zt,o&1),e===null)return Ly(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=hm(a,r,0,null),e=Ms(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=By(n),t.memoizedState=Dy,e):k4(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return e$(e,t,a,r,s,o,n);if(i){i=r.fallback,a=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:r.children};return!(a&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Pa(o,l),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=Pa(s,i):(i=Ms(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?By(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=Dy,r}return i=e.child,e=i.sibling,r=Pa(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function k4(e,t){return t=hm({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function cp(e,t,n,r){return r!==null&&m4(r),sc(t,e.child,null,n),e=k4(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function e$(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=Cg(Error(ce(422))),cp(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=hm({mode:"visible",children:r.children},o,0,null),i=Ms(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&sc(t,e.child,null,a),t.child.memoizedState=By(a),t.memoizedState=Dy,i);if(!(t.mode&1))return cp(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(ce(419)),r=Cg(i,r,void 0),cp(e,t,a,r)}if(s=(a&e.childLanes)!==0,pr||s){if(r=yn,r!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|a)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Ai(e,o),ko(r,e,o,-1))}return N4(),r=Cg(Error(ce(421))),cp(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=p$.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Tr=Ia(o.nextSibling),kr=t,Dt=!0,Co=null,e!==null&&(Wr[qr++]=vi,Wr[qr++]=_i,Wr[qr++]=As,vi=e.id,_i=e.overflow,As=t),t=k4(t,r.children),t.flags|=4096,t)}function p8(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Oy(e.return,t,n)}function Sg(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function px(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Gn(e,t,r.children,n),r=zt.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&p8(e,n,t);else if(e.tag===19)p8(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Lt(zt,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&ah(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Sg(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ah(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Sg(t,!0,n,null,i);break;case"together":Sg(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function p1(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Pi(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ns|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(ce(153));if(t.child!==null){for(e=t.child,n=Pa(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Pa(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function t$(e,t,n){switch(t.tag){case 3:dx(t),ac();break;case 5:Bw(t);break;case 1:mr(t.type)&&eh(t);break;case 4:E4(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Lt(rh,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Lt(zt,zt.current&1),t.flags|=128,null):n&t.child.childLanes?fx(e,t,n):(Lt(zt,zt.current&1),e=Pi(e,t,n),e!==null?e.sibling:null);Lt(zt,zt.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return px(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Lt(zt,zt.current),r)break;return null;case 22:case 23:return t.lanes=0,cx(e,t,n)}return Pi(e,t,n)}var hx,Fy,mx,gx;hx=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Fy=function(){};mx=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,bs(Xo.current);var i=null;switch(n){case"input":o=ly(e,o),r=ly(e,r),i=[];break;case"select":o=qt({},o,{value:void 0}),r=qt({},r,{value:void 0}),i=[];break;case"textarea":o=dy(e,o),r=dy(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=J1)}py(n,r);var a;n=null;for(c in o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var s=o[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(xd.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var l=r[c];if(s=o!=null?o[c]:void 0,r.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(i||(i=[]),i.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(xd.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&At("scroll",e),i||s===l||(i=[])):(i=i||[]).push(c,l))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};gx=function(e,t,n,r){n!==r&&(t.flags|=4)};function vu(e,t){if(!Dt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function jn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function n$(e,t,n){var r=t.pendingProps;switch(h4(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jn(t),null;case 1:return mr(t.type)&&Q1(),jn(t),null;case 3:return r=t.stateNode,lc(),Nt(hr),Nt(Vn),S4(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(sp(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Co!==null&&(Ky(Co),Co=null))),Fy(e,t),jn(t),null;case 5:C4(t);var o=bs(jd.current);if(n=t.type,e!==null&&t.stateNode!=null)mx(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(ce(166));return jn(t),null}if(e=bs(Xo.current),sp(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Wo]=t,r[Nd]=i,e=(t.mode&1)!==0,n){case"dialog":At("cancel",r),At("close",r);break;case"iframe":case"object":case"embed":At("load",r);break;case"video":case"audio":for(o=0;o<Hu.length;o++)At(Hu[o],r);break;case"source":At("error",r);break;case"img":case"image":case"link":At("error",r),At("load",r);break;case"details":At("toggle",r);break;case"input":C6(r,i),At("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},At("invalid",r);break;case"textarea":w6(r,i),At("invalid",r)}py(n,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];a==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&ap(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&ap(r.textContent,s,e),o=["children",""+s]):xd.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&At("scroll",r)}switch(n){case"input":Jf(r),S6(r,i,!0);break;case"textarea":Jf(r),x6(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=J1)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=zS(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Wo]=t,e[Nd]=r,hx(e,t,!1,!1),t.stateNode=e;e:{switch(a=hy(n,r),n){case"dialog":At("cancel",e),At("close",e),o=r;break;case"iframe":case"object":case"embed":At("load",e),o=r;break;case"video":case"audio":for(o=0;o<Hu.length;o++)At(Hu[o],e);o=r;break;case"source":At("error",e),o=r;break;case"img":case"image":case"link":At("error",e),At("load",e),o=r;break;case"details":At("toggle",e),o=r;break;case"input":C6(e,r),o=ly(e,r),At("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=qt({},r,{value:void 0}),At("invalid",e);break;case"textarea":w6(e,r),o=dy(e,r),At("invalid",e);break;default:o=r}py(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?GS(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&WS(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Md(e,l):typeof l=="number"&&Md(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(xd.hasOwnProperty(i)?l!=null&&i==="onScroll"&&At("scroll",e):l!=null&&Q3(e,i,l,a))}switch(n){case"input":Jf(e),S6(e,r,!1);break;case"textarea":Jf(e),x6(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ba(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Wl(e,!!r.multiple,i,!1):r.defaultValue!=null&&Wl(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=J1)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return jn(t),null;case 6:if(e&&t.stateNode!=null)gx(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(ce(166));if(n=bs(jd.current),bs(Xo.current),sp(t)){if(r=t.stateNode,n=t.memoizedProps,r[Wo]=t,(i=r.nodeValue!==n)&&(e=kr,e!==null))switch(e.tag){case 3:ap(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ap(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Wo]=t,t.stateNode=r}return jn(t),null;case 13:if(Nt(zt),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Dt&&Tr!==null&&t.mode&1&&!(t.flags&128))Pw(),ac(),t.flags|=98560,i=!1;else if(i=sp(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(ce(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(ce(317));i[Wo]=t}else ac(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;jn(t),i=!1}else Co!==null&&(Ky(Co),Co=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||zt.current&1?dn===0&&(dn=3):N4())),t.updateQueue!==null&&(t.flags|=4),jn(t),null);case 4:return lc(),Fy(e,t),e===null&&Ad(t.stateNode.containerInfo),jn(t),null;case 10:return v4(t.type._context),jn(t),null;case 17:return mr(t.type)&&Q1(),jn(t),null;case 19:if(Nt(zt),i=t.memoizedState,i===null)return jn(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)vu(i,!1);else{if(dn!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=ah(e),a!==null){for(t.flags|=128,vu(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Lt(zt,zt.current&1|2),t.child}e=e.sibling}i.tail!==null&&Qt()>uc&&(t.flags|=128,r=!0,vu(i,!1),t.lanes=4194304)}else{if(!r)if(e=ah(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Dt)return jn(t),null}else 2*Qt()-i.renderingStartTime>uc&&n!==1073741824&&(t.flags|=128,r=!0,vu(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Qt(),t.sibling=null,n=zt.current,Lt(zt,r?n&1|2:n&1),t):(jn(t),null);case 22:case 23:return P4(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Sr&1073741824&&(jn(t),t.subtreeFlags&6&&(t.flags|=8192)):jn(t),null;case 24:return null;case 25:return null}throw Error(ce(156,t.tag))}function r$(e,t){switch(h4(t),t.tag){case 1:return mr(t.type)&&Q1(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return lc(),Nt(hr),Nt(Vn),S4(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return C4(t),null;case 13:if(Nt(zt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ce(340));ac()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Nt(zt),null;case 4:return lc(),null;case 10:return v4(t.type._context),null;case 22:case 23:return P4(),null;case 24:return null;default:return null}}var up=!1,Fn=!1,o$=typeof WeakSet=="function"?WeakSet:Set,ge=null;function Pl(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Xt(e,t,r)}else n.current=null}function Uy(e,t,n){try{n()}catch(r){Xt(e,t,r)}}var h8=!1;function i$(e,t){if(wy=Y1,e=Ew(),f4(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,u=0,d=e,p=null;t:for(;;){for(var h;d!==n||o!==0&&d.nodeType!==3||(s=a+o),d!==i||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(h=d.firstChild)!==null;)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++c===o&&(s=a),p===i&&++u===r&&(l=a),(h=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(xy={focusedElem:e,selectionRange:n},Y1=!1,ge=t;ge!==null;)if(t=ge,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ge=e;else for(;ge!==null;){t=ge;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var v=g.memoizedProps,b=g.memoizedState,m=t.stateNode,y=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:bo(t.type,v),b);m.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ce(163))}}catch(w){Xt(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,ge=e;break}ge=t.return}return g=h8,h8=!1,g}function od(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Uy(t,n,i)}o=o.next}while(o!==r)}}function fm(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Hy(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function yx(e){var t=e.alternate;t!==null&&(e.alternate=null,yx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Wo],delete t[Nd],delete t[Ty],delete t[UN],delete t[HN])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function vx(e){return e.tag===5||e.tag===3||e.tag===4}function m8(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vx(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vy(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=J1));else if(r!==4&&(e=e.child,e!==null))for(Vy(e,t,n),e=e.sibling;e!==null;)Vy(e,t,n),e=e.sibling}function zy(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(zy(e,t,n),e=e.sibling;e!==null;)zy(e,t,n),e=e.sibling}var Tn=null,Eo=!1;function ta(e,t,n){for(n=n.child;n!==null;)_x(e,t,n),n=n.sibling}function _x(e,t,n){if(Zo&&typeof Zo.onCommitFiberUnmount=="function")try{Zo.onCommitFiberUnmount(om,n)}catch{}switch(n.tag){case 5:Fn||Pl(n,t);case 6:var r=Tn,o=Eo;Tn=null,ta(e,t,n),Tn=r,Eo=o,Tn!==null&&(Eo?(e=Tn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Tn.removeChild(n.stateNode));break;case 18:Tn!==null&&(Eo?(e=Tn,n=n.stateNode,e.nodeType===8?gg(e.parentNode,n):e.nodeType===1&&gg(e,n),Id(e)):gg(Tn,n.stateNode));break;case 4:r=Tn,o=Eo,Tn=n.stateNode.containerInfo,Eo=!0,ta(e,t,n),Tn=r,Eo=o;break;case 0:case 11:case 14:case 15:if(!Fn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Uy(n,t,a),o=o.next}while(o!==r)}ta(e,t,n);break;case 1:if(!Fn&&(Pl(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Xt(n,t,s)}ta(e,t,n);break;case 21:ta(e,t,n);break;case 22:n.mode&1?(Fn=(r=Fn)||n.memoizedState!==null,ta(e,t,n),Fn=r):ta(e,t,n);break;default:ta(e,t,n)}}function g8(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new o$),t.forEach(function(r){var o=h$.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function go(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:Tn=s.stateNode,Eo=!1;break e;case 3:Tn=s.stateNode.containerInfo,Eo=!0;break e;case 4:Tn=s.stateNode.containerInfo,Eo=!0;break e}s=s.return}if(Tn===null)throw Error(ce(160));_x(i,a,o),Tn=null,Eo=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){Xt(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)bx(t,e),t=t.sibling}function bx(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(go(t,e),$o(e),r&4){try{od(3,e,e.return),fm(3,e)}catch(v){Xt(e,e.return,v)}try{od(5,e,e.return)}catch(v){Xt(e,e.return,v)}}break;case 1:go(t,e),$o(e),r&512&&n!==null&&Pl(n,n.return);break;case 5:if(go(t,e),$o(e),r&512&&n!==null&&Pl(n,n.return),e.flags&32){var o=e.stateNode;try{Md(o,"")}catch(v){Xt(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&HS(o,i),hy(s,a);var c=hy(s,i);for(a=0;a<l.length;a+=2){var u=l[a],d=l[a+1];u==="style"?GS(o,d):u==="dangerouslySetInnerHTML"?WS(o,d):u==="children"?Md(o,d):Q3(o,u,d,c)}switch(s){case"input":cy(o,i);break;case"textarea":VS(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?Wl(o,!!i.multiple,h,!1):p!==!!i.multiple&&(i.defaultValue!=null?Wl(o,!!i.multiple,i.defaultValue,!0):Wl(o,!!i.multiple,i.multiple?[]:"",!1))}o[Nd]=i}catch(v){Xt(e,e.return,v)}}break;case 6:if(go(t,e),$o(e),r&4){if(e.stateNode===null)throw Error(ce(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){Xt(e,e.return,v)}}break;case 3:if(go(t,e),$o(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Id(t.containerInfo)}catch(v){Xt(e,e.return,v)}break;case 4:go(t,e),$o(e);break;case 13:go(t,e),$o(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(O4=Qt())),r&4&&g8(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,e.mode&1?(Fn=(c=Fn)||u,go(t,e),Fn=c):go(t,e),$o(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!u&&e.mode&1)for(ge=e,u=e.child;u!==null;){for(d=ge=u;ge!==null;){switch(p=ge,h=p.child,p.tag){case 0:case 11:case 14:case 15:od(4,p,p.return);break;case 1:Pl(p,p.return);var g=p.stateNode;if(typeof g.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(v){Xt(r,n,v)}}break;case 5:Pl(p,p.return);break;case 22:if(p.memoizedState!==null){v8(d);continue}}h!==null?(h.return=p,ge=h):v8(d)}u=u.sibling}e:for(u=null,d=e;;){if(d.tag===5){if(u===null){u=d;try{o=d.stateNode,c?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=d.stateNode,l=d.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=qS("display",a))}catch(v){Xt(e,e.return,v)}}}else if(d.tag===6){if(u===null)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(v){Xt(e,e.return,v)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:go(t,e),$o(e),r&4&&g8(e);break;case 21:break;default:go(t,e),$o(e)}}function $o(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(vx(n)){var r=n;break e}n=n.return}throw Error(ce(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Md(o,""),r.flags&=-33);var i=m8(e);zy(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,s=m8(e);Vy(e,s,a);break;default:throw Error(ce(161))}}catch(l){Xt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function a$(e,t,n){ge=e,Ex(e)}function Ex(e,t,n){for(var r=(e.mode&1)!==0;ge!==null;){var o=ge,i=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||up;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||Fn;s=up;var c=Fn;if(up=a,(Fn=l)&&!c)for(ge=o;ge!==null;)a=ge,l=a.child,a.tag===22&&a.memoizedState!==null?_8(o):l!==null?(l.return=a,ge=l):_8(o);for(;i!==null;)ge=i,Ex(i),i=i.sibling;ge=o,up=s,Fn=c}y8(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,ge=i):y8(e)}}function y8(e){for(;ge!==null;){var t=ge;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fn||fm(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fn)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:bo(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&t8(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}t8(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&Id(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ce(163))}Fn||t.flags&512&&Hy(t)}catch(p){Xt(t,t.return,p)}}if(t===e){ge=null;break}if(n=t.sibling,n!==null){n.return=t.return,ge=n;break}ge=t.return}}function v8(e){for(;ge!==null;){var t=ge;if(t===e){ge=null;break}var n=t.sibling;if(n!==null){n.return=t.return,ge=n;break}ge=t.return}}function _8(e){for(;ge!==null;){var t=ge;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{fm(4,t)}catch(l){Xt(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){Xt(t,o,l)}}var i=t.return;try{Hy(t)}catch(l){Xt(t,i,l)}break;case 5:var a=t.return;try{Hy(t)}catch(l){Xt(t,a,l)}}}catch(l){Xt(t,t.return,l)}if(t===e){ge=null;break}var s=t.sibling;if(s!==null){s.return=t.return,ge=s;break}ge=t.return}}var s$=Math.ceil,ch=Zi.ReactCurrentDispatcher,I4=Zi.ReactCurrentOwner,eo=Zi.ReactCurrentBatchConfig,ct=0,yn=null,ln=null,On=0,Sr=0,Nl=Ga(0),dn=0,Ud=null,Ns=0,pm=0,L4=0,id=null,dr=null,O4=0,uc=1/0,fi=null,uh=!1,Wy=null,Oa=null,dp=!1,ba=null,dh=0,ad=0,qy=null,h1=-1,m1=0;function er(){return ct&6?Qt():h1!==-1?h1:h1=Qt()}function Aa(e){return e.mode&1?ct&2&&On!==0?On&-On:zN.transition!==null?(m1===0&&(m1=iw()),m1):(e=mt,e!==0||(e=window.event,e=e===void 0?16:fw(e.type)),e):1}function ko(e,t,n,r){if(50<ad)throw ad=0,qy=null,Error(ce(185));cf(e,n,r),(!(ct&2)||e!==yn)&&(e===yn&&(!(ct&2)&&(pm|=n),dn===4&&ma(e,On)),gr(e,r),n===1&&ct===0&&!(t.mode&1)&&(uc=Qt()+500,cm&&Ka()))}function gr(e,t){var n=e.callbackNode;zP(e,t);var r=K1(e,e===yn?On:0);if(r===0)n!==null&&T6(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&T6(n),t===1)e.tag===0?VN(b8.bind(null,e)):Lw(b8.bind(null,e)),BN(function(){!(ct&6)&&Ka()}),n=null;else{switch(aw(r)){case 1:n=o4;break;case 4:n=rw;break;case 16:n=G1;break;case 536870912:n=ow;break;default:n=G1}n=kx(n,Cx.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Cx(e,t){if(h1=-1,m1=0,ct&6)throw Error(ce(327));var n=e.callbackNode;if(Zl()&&e.callbackNode!==n)return null;var r=K1(e,e===yn?On:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=fh(e,r);else{t=r;var o=ct;ct|=2;var i=wx();(yn!==e||On!==t)&&(fi=null,uc=Qt()+500,xs(e,t));do try{u$();break}catch(s){Sx(e,s)}while(!0);y4(),ch.current=i,ct=o,ln!==null?t=0:(yn=null,On=0,t=dn)}if(t!==0){if(t===2&&(o=_y(e),o!==0&&(r=o,t=Gy(e,o))),t===1)throw n=Ud,xs(e,0),ma(e,r),gr(e,Qt()),n;if(t===6)ma(e,r);else{if(o=e.current.alternate,!(r&30)&&!l$(o)&&(t=fh(e,r),t===2&&(i=_y(e),i!==0&&(r=i,t=Gy(e,i))),t===1))throw n=Ud,xs(e,0),ma(e,r),gr(e,Qt()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(ce(345));case 2:cs(e,dr,fi);break;case 3:if(ma(e,r),(r&130023424)===r&&(t=O4+500-Qt(),10<t)){if(K1(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){er(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ry(cs.bind(null,e,dr,fi),t);break}cs(e,dr,fi);break;case 4:if(ma(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-To(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=Qt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*s$(r/1960))-r,10<r){e.timeoutHandle=Ry(cs.bind(null,e,dr,fi),r);break}cs(e,dr,fi);break;case 5:cs(e,dr,fi);break;default:throw Error(ce(329))}}}return gr(e,Qt()),e.callbackNode===n?Cx.bind(null,e):null}function Gy(e,t){var n=id;return e.current.memoizedState.isDehydrated&&(xs(e,t).flags|=256),e=fh(e,t),e!==2&&(t=dr,dr=n,t!==null&&Ky(t)),e}function Ky(e){dr===null?dr=e:dr.push.apply(dr,e)}function l$(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Lo(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ma(e,t){for(t&=~L4,t&=~pm,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-To(t),r=1<<n;e[n]=-1,t&=~r}}function b8(e){if(ct&6)throw Error(ce(327));Zl();var t=K1(e,0);if(!(t&1))return gr(e,Qt()),null;var n=fh(e,t);if(e.tag!==0&&n===2){var r=_y(e);r!==0&&(t=r,n=Gy(e,r))}if(n===1)throw n=Ud,xs(e,0),ma(e,t),gr(e,Qt()),n;if(n===6)throw Error(ce(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,cs(e,dr,fi),gr(e,Qt()),null}function A4(e,t){var n=ct;ct|=1;try{return e(t)}finally{ct=n,ct===0&&(uc=Qt()+500,cm&&Ka())}}function $s(e){ba!==null&&ba.tag===0&&!(ct&6)&&Zl();var t=ct;ct|=1;var n=eo.transition,r=mt;try{if(eo.transition=null,mt=1,e)return e()}finally{mt=r,eo.transition=n,ct=t,!(ct&6)&&Ka()}}function P4(){Sr=Nl.current,Nt(Nl)}function xs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,DN(n)),ln!==null)for(n=ln.return;n!==null;){var r=n;switch(h4(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Q1();break;case 3:lc(),Nt(hr),Nt(Vn),S4();break;case 5:C4(r);break;case 4:lc();break;case 13:Nt(zt);break;case 19:Nt(zt);break;case 10:v4(r.type._context);break;case 22:case 23:P4()}n=n.return}if(yn=e,ln=e=Pa(e.current,null),On=Sr=t,dn=0,Ud=null,L4=pm=Ns=0,dr=id=null,_s!==null){for(t=0;t<_s.length;t++)if(n=_s[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=o,r.next=a}n.pending=r}_s=null}return e}function Sx(e,t){do{var n=ln;try{if(y4(),d1.current=lh,sh){for(var r=Wt.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}sh=!1}if(Ps=0,hn=cn=Wt=null,rd=!1,Dd=0,I4.current=null,n===null||n.return===null){dn=1,Ud=t,ln=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=On,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=s,d=u.tag;if(!(u.mode&1)&&(d===0||d===11||d===15)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var h=s8(a);if(h!==null){h.flags&=-257,l8(h,a,s,i,t),h.mode&1&&a8(i,c,t),t=h,l=c;var g=t.updateQueue;if(g===null){var v=new Set;v.add(l),t.updateQueue=v}else g.add(l);break e}else{if(!(t&1)){a8(i,c,t),N4();break e}l=Error(ce(426))}}else if(Dt&&s.mode&1){var b=s8(a);if(b!==null){!(b.flags&65536)&&(b.flags|=256),l8(b,a,s,i,t),m4(cc(l,s));break e}}i=l=cc(l,s),dn!==4&&(dn=2),id===null?id=[i]:id.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=ax(i,l,t);e8(i,m);break e;case 1:s=l;var y=i.type,E=i.stateNode;if(!(i.flags&128)&&(typeof y.getDerivedStateFromError=="function"||E!==null&&typeof E.componentDidCatch=="function"&&(Oa===null||!Oa.has(E)))){i.flags|=65536,t&=-t,i.lanes|=t;var w=sx(i,s,t);e8(i,w);break e}}i=i.return}while(i!==null)}Mx(n)}catch(S){t=S,ln===n&&n!==null&&(ln=n=n.return);continue}break}while(!0)}function wx(){var e=ch.current;return ch.current=lh,e===null?lh:e}function N4(){(dn===0||dn===3||dn===2)&&(dn=4),yn===null||!(Ns&268435455)&&!(pm&268435455)||ma(yn,On)}function fh(e,t){var n=ct;ct|=2;var r=wx();(yn!==e||On!==t)&&(fi=null,xs(e,t));do try{c$();break}catch(o){Sx(e,o)}while(!0);if(y4(),ct=n,ch.current=r,ln!==null)throw Error(ce(261));return yn=null,On=0,dn}function c$(){for(;ln!==null;)xx(ln)}function u$(){for(;ln!==null&&!NP();)xx(ln)}function xx(e){var t=Tx(e.alternate,e,Sr);e.memoizedProps=e.pendingProps,t===null?Mx(e):ln=t,I4.current=null}function Mx(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=r$(n,t),n!==null){n.flags&=32767,ln=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{dn=6,ln=null;return}}else if(n=n$(n,t,Sr),n!==null){ln=n;return}if(t=t.sibling,t!==null){ln=t;return}ln=t=e}while(t!==null);dn===0&&(dn=5)}function cs(e,t,n){var r=mt,o=eo.transition;try{eo.transition=null,mt=1,d$(e,t,n,r)}finally{eo.transition=o,mt=r}return null}function d$(e,t,n,r){do Zl();while(ba!==null);if(ct&6)throw Error(ce(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(ce(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(WP(e,i),e===yn&&(ln=yn=null,On=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||dp||(dp=!0,kx(G1,function(){return Zl(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=eo.transition,eo.transition=null;var a=mt;mt=1;var s=ct;ct|=4,I4.current=null,i$(e,n),bx(n,e),LN(xy),Y1=!!wy,xy=wy=null,e.current=n,a$(n),$P(),ct=s,mt=a,eo.transition=i}else e.current=n;if(dp&&(dp=!1,ba=e,dh=o),i=e.pendingLanes,i===0&&(Oa=null),BP(n.stateNode),gr(e,Qt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(uh)throw uh=!1,e=Wy,Wy=null,e;return dh&1&&e.tag!==0&&Zl(),i=e.pendingLanes,i&1?e===qy?ad++:(ad=0,qy=e):ad=0,Ka(),null}function Zl(){if(ba!==null){var e=aw(dh),t=eo.transition,n=mt;try{if(eo.transition=null,mt=16>e?16:e,ba===null)var r=!1;else{if(e=ba,ba=null,dh=0,ct&6)throw Error(ce(331));var o=ct;for(ct|=4,ge=e.current;ge!==null;){var i=ge,a=i.child;if(ge.flags&16){var s=i.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(ge=c;ge!==null;){var u=ge;switch(u.tag){case 0:case 11:case 15:od(8,u,i)}var d=u.child;if(d!==null)d.return=u,ge=d;else for(;ge!==null;){u=ge;var p=u.sibling,h=u.return;if(yx(u),u===c){ge=null;break}if(p!==null){p.return=h,ge=p;break}ge=h}}}var g=i.alternate;if(g!==null){var v=g.child;if(v!==null){g.child=null;do{var b=v.sibling;v.sibling=null,v=b}while(v!==null)}}ge=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,ge=a;else e:for(;ge!==null;){if(i=ge,i.flags&2048)switch(i.tag){case 0:case 11:case 15:od(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,ge=m;break e}ge=i.return}}var y=e.current;for(ge=y;ge!==null;){a=ge;var E=a.child;if(a.subtreeFlags&2064&&E!==null)E.return=a,ge=E;else e:for(a=y;ge!==null;){if(s=ge,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:fm(9,s)}}catch(S){Xt(s,s.return,S)}if(s===a){ge=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,ge=w;break e}ge=s.return}}if(ct=o,Ka(),Zo&&typeof Zo.onPostCommitFiberRoot=="function")try{Zo.onPostCommitFiberRoot(om,e)}catch{}r=!0}return r}finally{mt=n,eo.transition=t}}return!1}function E8(e,t,n){t=cc(n,t),t=ax(e,t,1),e=La(e,t,1),t=er(),e!==null&&(cf(e,1,t),gr(e,t))}function Xt(e,t,n){if(e.tag===3)E8(e,e,n);else for(;t!==null;){if(t.tag===3){E8(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Oa===null||!Oa.has(r))){e=cc(n,e),e=sx(t,e,1),t=La(t,e,1),e=er(),t!==null&&(cf(t,1,e),gr(t,e));break}}t=t.return}}function f$(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=er(),e.pingedLanes|=e.suspendedLanes&n,yn===e&&(On&n)===n&&(dn===4||dn===3&&(On&130023424)===On&&500>Qt()-O4?xs(e,0):L4|=n),gr(e,t)}function Rx(e,t){t===0&&(e.mode&1?(t=tp,tp<<=1,!(tp&130023424)&&(tp=4194304)):t=1);var n=er();e=Ai(e,t),e!==null&&(cf(e,t,n),gr(e,n))}function p$(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Rx(e,n)}function h$(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(ce(314))}r!==null&&r.delete(t),Rx(e,n)}var Tx;Tx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||hr.current)pr=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pr=!1,t$(e,t,n);pr=!!(e.flags&131072)}else pr=!1,Dt&&t.flags&1048576&&Ow(t,nh,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;p1(e,t),e=t.pendingProps;var o=ic(t,Vn.current);Yl(t,n),o=x4(null,t,r,e,o,n);var i=M4();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,mr(r)?(i=!0,eh(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,b4(t),o.updater=dm,t.stateNode=o,o._reactInternals=t,Py(t,r,e,n),t=jy(null,t,r,!0,i,n)):(t.tag=0,Dt&&i&&p4(t),Gn(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(p1(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=g$(r),e=bo(r,e),o){case 0:t=$y(null,t,r,e,n);break e;case 1:t=d8(null,t,r,e,n);break e;case 11:t=c8(null,t,r,e,n);break e;case 14:t=u8(null,t,r,bo(r.type,e),n);break e}throw Error(ce(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bo(r,o),$y(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bo(r,o),d8(e,t,r,o,n);case 3:e:{if(dx(t),e===null)throw Error(ce(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Dw(e,t),ih(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=cc(Error(ce(423)),t),t=f8(e,t,r,n,o);break e}else if(r!==o){o=cc(Error(ce(424)),t),t=f8(e,t,r,n,o);break e}else for(Tr=Ia(t.stateNode.containerInfo.firstChild),kr=t,Dt=!0,Co=null,n=$w(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ac(),r===o){t=Pi(e,t,n);break e}Gn(e,t,r,n)}t=t.child}return t;case 5:return Bw(t),e===null&&Ly(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,My(r,o)?a=null:i!==null&&My(r,i)&&(t.flags|=32),ux(e,t),Gn(e,t,a,n),t.child;case 6:return e===null&&Ly(t),null;case 13:return fx(e,t,n);case 4:return E4(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=sc(t,null,r,n):Gn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bo(r,o),c8(e,t,r,o,n);case 7:return Gn(e,t,t.pendingProps,n),t.child;case 8:return Gn(e,t,t.pendingProps.children,n),t.child;case 12:return Gn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Lt(rh,r._currentValue),r._currentValue=a,i!==null)if(Lo(i.value,a)){if(i.children===o.children&&!hr.current){t=Pi(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=wi(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Oy(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(ce(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Oy(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Gn(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Yl(t,n),o=oo(o),r=r(o),t.flags|=1,Gn(e,t,r,n),t.child;case 14:return r=t.type,o=bo(r,t.pendingProps),o=bo(r.type,o),u8(e,t,r,o,n);case 15:return lx(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bo(r,o),p1(e,t),t.tag=1,mr(r)?(e=!0,eh(t)):e=!1,Yl(t,n),ix(t,r,o),Py(t,r,o,n),jy(null,t,r,!0,e,n);case 19:return px(e,t,n);case 22:return cx(e,t,n)}throw Error(ce(156,t.tag))};function kx(e,t){return nw(e,t)}function m$(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Zr(e,t,n,r){return new m$(e,t,n,r)}function $4(e){return e=e.prototype,!(!e||!e.isReactComponent)}function g$(e){if(typeof e=="function")return $4(e)?1:0;if(e!=null){if(e=e.$$typeof,e===t4)return 11;if(e===n4)return 14}return 2}function Pa(e,t){var n=e.alternate;return n===null?(n=Zr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function g1(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")$4(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case xl:return Ms(n.children,o,i,t);case e4:a=8,o|=8;break;case oy:return e=Zr(12,n,t,o|2),e.elementType=oy,e.lanes=i,e;case iy:return e=Zr(13,n,t,o),e.elementType=iy,e.lanes=i,e;case ay:return e=Zr(19,n,t,o),e.elementType=ay,e.lanes=i,e;case BS:return hm(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jS:a=10;break e;case DS:a=9;break e;case t4:a=11;break e;case n4:a=14;break e;case ca:a=16,r=null;break e}throw Error(ce(130,e==null?e:typeof e,""))}return t=Zr(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Ms(e,t,n,r){return e=Zr(7,e,r,t),e.lanes=n,e}function hm(e,t,n,r){return e=Zr(22,e,r,t),e.elementType=BS,e.lanes=n,e.stateNode={isHidden:!1},e}function wg(e,t,n){return e=Zr(6,e,null,t),e.lanes=n,e}function xg(e,t,n){return t=Zr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function y$(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ig(0),this.expirationTimes=ig(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ig(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function j4(e,t,n,r,o,i,a,s,l){return e=new y$(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Zr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},b4(i),e}function v$(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wl,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Ix(e){if(!e)return Fa;e=e._reactInternals;e:{if(Ws(e)!==e||e.tag!==1)throw Error(ce(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(mr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(ce(171))}if(e.tag===1){var n=e.type;if(mr(n))return Iw(e,n,t)}return t}function Lx(e,t,n,r,o,i,a,s,l){return e=j4(n,r,!0,e,o,i,a,s,l),e.context=Ix(null),n=e.current,r=er(),o=Aa(n),i=wi(r,o),i.callback=t??null,La(n,i,o),e.current.lanes=o,cf(e,o,r),gr(e,r),e}function mm(e,t,n,r){var o=t.current,i=er(),a=Aa(o);return n=Ix(n),t.context===null?t.context=n:t.pendingContext=n,t=wi(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=La(o,t,a),e!==null&&(ko(e,o,a,i),u1(e,o,a)),a}function ph(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function C8(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function D4(e,t){C8(e,t),(e=e.alternate)&&C8(e,t)}function _$(){return null}var Ox=typeof reportError=="function"?reportError:function(e){console.error(e)};function B4(e){this._internalRoot=e}gm.prototype.render=B4.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(ce(409));mm(e,t,null,null)};gm.prototype.unmount=B4.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$s(function(){mm(null,e,null,null)}),t[Oi]=null}};function gm(e){this._internalRoot=e}gm.prototype.unstable_scheduleHydration=function(e){if(e){var t=cw();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ha.length&&t!==0&&t<ha[n].priority;n++);ha.splice(n,0,e),n===0&&dw(e)}};function F4(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ym(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function S8(){}function b$(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var c=ph(a);i.call(c)}}var a=Lx(t,r,e,0,null,!1,!1,"",S8);return e._reactRootContainer=a,e[Oi]=a.current,Ad(e.nodeType===8?e.parentNode:e),$s(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var c=ph(l);s.call(c)}}var l=j4(e,0,!1,null,null,!1,!1,"",S8);return e._reactRootContainer=l,e[Oi]=l.current,Ad(e.nodeType===8?e.parentNode:e),$s(function(){mm(t,l,n,r)}),l}function vm(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var s=o;o=function(){var l=ph(a);s.call(l)}}mm(t,a,e,o)}else a=b$(n,t,e,o,r);return ph(a)}sw=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Uu(t.pendingLanes);n!==0&&(i4(t,n|1),gr(t,Qt()),!(ct&6)&&(uc=Qt()+500,Ka()))}break;case 13:$s(function(){var r=Ai(e,1);if(r!==null){var o=er();ko(r,e,1,o)}}),D4(e,1)}};a4=function(e){if(e.tag===13){var t=Ai(e,134217728);if(t!==null){var n=er();ko(t,e,134217728,n)}D4(e,134217728)}};lw=function(e){if(e.tag===13){var t=Aa(e),n=Ai(e,t);if(n!==null){var r=er();ko(n,e,t,r)}D4(e,t)}};cw=function(){return mt};uw=function(e,t){var n=mt;try{return mt=e,t()}finally{mt=n}};gy=function(e,t,n){switch(t){case"input":if(cy(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=lm(r);if(!o)throw Error(ce(90));US(r),cy(r,o)}}}break;case"textarea":VS(e,n);break;case"select":t=n.value,t!=null&&Wl(e,!!n.multiple,t,!1)}};ZS=A4;XS=$s;var E$={usingClientEntryPoint:!1,Events:[df,kl,lm,KS,YS,A4]},_u={findFiberByHostInstance:vs,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},C$={bundleType:_u.bundleType,version:_u.version,rendererPackageName:_u.rendererPackageName,rendererConfig:_u.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Zi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ew(e),e===null?null:e.stateNode},findFiberByHostInstance:_u.findFiberByHostInstance||_$,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var fp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fp.isDisabled&&fp.supportsFiber)try{om=fp.inject(C$),Zo=fp}catch{}}Pr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E$;Pr.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!F4(t))throw Error(ce(200));return v$(e,t,null,n)};Pr.createRoot=function(e,t){if(!F4(e))throw Error(ce(299));var n=!1,r="",o=Ox;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=j4(e,1,!1,null,null,n,!1,r,o),e[Oi]=t.current,Ad(e.nodeType===8?e.parentNode:e),new B4(t)};Pr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(ce(188)):(e=Object.keys(e).join(","),Error(ce(268,e)));return e=ew(t),e=e===null?null:e.stateNode,e};Pr.flushSync=function(e){return $s(e)};Pr.hydrate=function(e,t,n){if(!ym(t))throw Error(ce(200));return vm(null,e,t,!0,n)};Pr.hydrateRoot=function(e,t,n){if(!F4(e))throw Error(ce(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=Ox;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Lx(t,null,e,1,n??null,o,!1,i,a),e[Oi]=t.current,Ad(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new gm(t)};Pr.render=function(e,t,n){if(!ym(t))throw Error(ce(200));return vm(null,e,t,!1,n)};Pr.unmountComponentAtNode=function(e){if(!ym(e))throw Error(ce(40));return e._reactRootContainer?($s(function(){vm(null,null,e,!1,function(){e._reactRootContainer=null,e[Oi]=null})}),!0):!1};Pr.unstable_batchedUpdates=A4;Pr.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ym(n))throw Error(ce(200));if(e==null||e._reactInternals===void 0)throw Error(ce(38));return vm(e,t,n,!1,r)};Pr.version="18.3.1-next-f1338f8080-20240426";function Ax(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ax)}catch(e){console.error(e)}}Ax(),AS.exports=Pr;var U4=AS.exports;const pp=ES(U4);var Px,w8=U4;Px=w8.createRoot,w8.hydrateRoot;/**
|
|
41
|
-
* @remix-run/router v1.18.0
|
|
42
|
-
*
|
|
43
|
-
* Copyright (c) Remix Software Inc.
|
|
44
|
-
*
|
|
45
|
-
* This source code is licensed under the MIT license found in the
|
|
46
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
47
|
-
*
|
|
48
|
-
* @license MIT
|
|
49
|
-
*/function Hd(){return Hd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hd.apply(this,arguments)}var Ea;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ea||(Ea={}));const x8="popstate";function S$(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:a,hash:s}=r.location;return Yy("",{pathname:i,search:a,hash:s},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:$x(o)}return x$(t,n,null,e)}function fn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Nx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function w$(){return Math.random().toString(36).substr(2,8)}function M8(e,t){return{usr:e.state,key:e.key,idx:t}}function Yy(e,t,n,r){return n===void 0&&(n=null),Hd({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?zc(t):t,{state:n,key:t&&t.key||r||w$()})}function $x(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function zc(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function x$(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s=Ea.Pop,l=null,c=u();c==null&&(c=0,a.replaceState(Hd({},a.state,{idx:c}),""));function u(){return(a.state||{idx:null}).idx}function d(){s=Ea.Pop;let b=u(),m=b==null?null:b-c;c=b,l&&l({action:s,location:v.location,delta:m})}function p(b,m){s=Ea.Push;let y=Yy(v.location,b,m);c=u()+1;let E=M8(y,c),w=v.createHref(y);try{a.pushState(E,"",w)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(w)}i&&l&&l({action:s,location:v.location,delta:1})}function h(b,m){s=Ea.Replace;let y=Yy(v.location,b,m);c=u();let E=M8(y,c),w=v.createHref(y);a.replaceState(E,"",w),i&&l&&l({action:s,location:v.location,delta:0})}function g(b){let m=o.location.origin!=="null"?o.location.origin:o.location.href,y=typeof b=="string"?b:$x(b);return y=y.replace(/ $/,"%20"),fn(m,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,m)}let v={get action(){return s},get location(){return e(o,a)},listen(b){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(x8,d),l=b,()=>{o.removeEventListener(x8,d),l=null}},createHref(b){return t(o,b)},createURL:g,encodeLocation(b){let m=g(b);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:p,replace:h,go(b){return a.go(b)}};return v}var R8;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(R8||(R8={}));function M$(e,t,n){return n===void 0&&(n="/"),R$(e,t,n,!1)}function R$(e,t,n,r){let o=typeof t=="string"?zc(t):t,i=Bx(o.pathname||"/",n);if(i==null)return null;let a=jx(e);T$(a);let s=null;for(let l=0;s==null&&l<a.length;++l){let c=B$(i);s=j$(a[l],c,r)}return s}function jx(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,a,s)=>{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith("/")&&(fn(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Rs([r,l.relativePath]),u=n.concat(l);i.children&&i.children.length>0&&(fn(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),jx(i.children,t,u,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:N$(c,i.index),routesMeta:u})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let l of Dx(i.path))o(i,a,l)}),t}function Dx(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=Dx(r.join("/")),s=[];return s.push(...a.map(l=>l===""?i:[i,l].join("/"))),o&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function T$(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:$$(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const k$=/^:[\w-]+$/,I$=3,L$=2,O$=1,A$=10,P$=-2,T8=e=>e==="*";function N$(e,t){let n=e.split("/"),r=n.length;return n.some(T8)&&(r+=P$),t&&(r+=L$),n.filter(o=>!T8(o)).reduce((o,i)=>o+(k$.test(i)?I$:i===""?O$:A$),r)}function $$(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function j$(e,t,n){let{routesMeta:r}=e,o={},i="/",a=[];for(let s=0;s<r.length;++s){let l=r[s],c=s===r.length-1,u=i==="/"?t:t.slice(i.length)||"/",d=k8({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),p=l.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=k8({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!d)return null;Object.assign(o,d.params),a.push({params:o,pathname:Rs([i,d.pathname]),pathnameBase:W$(Rs([i,d.pathnameBase])),route:p}),d.pathnameBase!=="/"&&(i=Rs([i,d.pathnameBase]))}return a}function k8(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=D$(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce((c,u,d)=>{let{paramName:p,isOptional:h}=u;if(p==="*"){let v=s[d]||"";a=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const g=s[d];return h&&!g?c[p]=void 0:c[p]=(g||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:a,pattern:e}}function D$(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Nx(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function B$(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Nx(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Bx(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function F$(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?zc(e):e;return{pathname:n?n.startsWith("/")?n:U$(n,t):t,search:q$(r),hash:G$(o)}}function U$(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Mg(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function H$(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function V$(e,t){let n=H$(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function z$(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=zc(e):(o=Hd({},e),fn(!o.pathname||!o.pathname.includes("?"),Mg("?","pathname","search",o)),fn(!o.pathname||!o.pathname.includes("#"),Mg("#","pathname","hash",o)),fn(!o.search||!o.search.includes("#"),Mg("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(a==null)s=n;else{let d=t.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),d-=1;o.pathname=p.join("/")}s=d>=0?t[d]:"/"}let l=F$(o,s),c=a&&a!=="/"&&a.endsWith("/"),u=(i||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const Rs=e=>e.join("/").replace(/\/\/+/g,"/"),W$=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),q$=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,G$=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function K$(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Fx=["post","put","patch","delete"];new Set(Fx);const Y$=["get",...Fx];new Set(Y$);/**
|
|
50
|
-
* React Router v6.25.1
|
|
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
|
-
*/function Vd(){return Vd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vd.apply(this,arguments)}const H4=M.createContext(null),Z$=M.createContext(null),_m=M.createContext(null),bm=M.createContext(null),Wc=M.createContext({outlet:null,matches:[],isDataRoute:!1}),Ux=M.createContext(null);function Em(){return M.useContext(bm)!=null}function Cm(){return Em()||fn(!1),M.useContext(bm).location}function Hx(e){M.useContext(_m).static||M.useLayoutEffect(e)}function X$(){let{isDataRoute:e}=M.useContext(Wc);return e?uj():J$()}function J$(){Em()||fn(!1);let e=M.useContext(H4),{basename:t,future:n,navigator:r}=M.useContext(_m),{matches:o}=M.useContext(Wc),{pathname:i}=Cm(),a=JSON.stringify(V$(o,n.v7_relativeSplatPath)),s=M.useRef(!1);return Hx(()=>{s.current=!0}),M.useCallback(function(c,u){if(u===void 0&&(u={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let d=z$(c,JSON.parse(a),i,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Rs([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,a,i,e])}function Q$(e,t){return ej(e,t)}function ej(e,t,n,r){Em()||fn(!1);let{navigator:o}=M.useContext(_m),{matches:i}=M.useContext(Wc),a=i[i.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=Cm(),u;if(t){var d;let b=typeof t=="string"?zc(t):t;l==="/"||(d=b.pathname)!=null&&d.startsWith(l)||fn(!1),u=b}else u=c;let p=u.pathname||"/",h=p;if(l!=="/"){let b=l.replace(/^\//,"").split("/");h="/"+p.replace(/^\//,"").split("/").slice(b.length).join("/")}let g=M$(e,{pathname:h}),v=ij(g&&g.map(b=>Object.assign({},b,{params:Object.assign({},s,b.params),pathname:Rs([l,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:Rs([l,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&v?M.createElement(bm.Provider,{value:{location:Vd({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Ea.Pop}},v):v}function tj(){let e=cj(),t=K$(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},t),n?M.createElement("pre",{style:o},n):null,null)}const nj=M.createElement(tj,null);class rj extends M.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?M.createElement(Wc.Provider,{value:this.props.routeContext},M.createElement(Ux.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function oj(e){let{routeContext:t,match:n,children:r}=e,o=M.useContext(H4);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),M.createElement(Wc.Provider,{value:t},r)}function ij(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let a=e,s=(o=n)==null?void 0:o.errors;if(s!=null){let u=a.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);u>=0||fn(!1),a=a.slice(0,Math.min(a.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<a.length;u++){let d=a[u];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(c=u),d.route.id){let{loaderData:p,errors:h}=n,g=d.route.loader&&p[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||g){l=!0,c>=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((u,d,p)=>{let h,g=!1,v=null,b=null;n&&(h=s&&d.route.id?s[d.route.id]:void 0,v=d.route.errorElement||nj,l&&(c<0&&p===0?(g=!0,b=null):c===p&&(g=!0,b=d.route.hydrateFallbackElement||null)));let m=t.concat(a.slice(0,p+1)),y=()=>{let E;return h?E=v:g?E=b:d.route.Component?E=M.createElement(d.route.Component,null):d.route.element?E=d.route.element:E=u,M.createElement(oj,{match:d,routeContext:{outlet:u,matches:m,isDataRoute:n!=null},children:E})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?M.createElement(rj,{location:n.location,revalidation:n.revalidation,component:v,error:h,children:y(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):y()},null)}var Vx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Vx||{}),hh=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(hh||{});function aj(e){let t=M.useContext(H4);return t||fn(!1),t}function sj(e){let t=M.useContext(Z$);return t||fn(!1),t}function lj(e){let t=M.useContext(Wc);return t||fn(!1),t}function zx(e){let t=lj(),n=t.matches[t.matches.length-1];return n.route.id||fn(!1),n.route.id}function cj(){var e;let t=M.useContext(Ux),n=sj(hh.UseRouteError),r=zx(hh.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function uj(){let{router:e}=aj(Vx.UseNavigateStable),t=zx(hh.UseNavigateStable),n=M.useRef(!1);return Hx(()=>{n.current=!0}),M.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Vd({fromRouteId:t},i)))},[e,t])}function Wx(e){fn(!1)}function dj(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Ea.Pop,navigator:i,static:a=!1,future:s}=e;Em()&&fn(!1);let l=t.replace(/^\/*/,"/"),c=M.useMemo(()=>({basename:l,navigator:i,static:a,future:Vd({v7_relativeSplatPath:!1},s)}),[l,s,i,a]);typeof r=="string"&&(r=zc(r));let{pathname:u="/",search:d="",hash:p="",state:h=null,key:g="default"}=r,v=M.useMemo(()=>{let b=Bx(u,l);return b==null?null:{location:{pathname:b,search:d,hash:p,state:h,key:g},navigationType:o}},[l,u,d,p,h,g,o]);return v==null?null:M.createElement(_m.Provider,{value:c},M.createElement(bm.Provider,{children:n,value:v}))}function fj(e){let{children:t,location:n}=e;return Q$(Zy(t),n)}new Promise(()=>{});function Zy(e,t){t===void 0&&(t=[]);let n=[];return M.Children.forEach(e,(r,o)=>{if(!M.isValidElement(r))return;let i=[...t,o];if(r.type===M.Fragment){n.push.apply(n,Zy(r.props.children,i));return}r.type!==Wx&&fn(!1),!r.props.index||!r.props.children||fn(!1);let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=Zy(r.props.children,i)),n.push(a)}),n}/**
|
|
59
|
-
* React Router DOM v6.25.1
|
|
60
|
-
*
|
|
61
|
-
* Copyright (c) Remix Software Inc.
|
|
62
|
-
*
|
|
63
|
-
* This source code is licensed under the MIT license found in the
|
|
64
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
65
|
-
*
|
|
66
|
-
* @license MIT
|
|
67
|
-
*/function Xy(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(o=>[n,o]):[[n,r]])},[]))}function pj(e,t){let n=Xy(e);return t&&t.forEach((r,o)=>{n.has(o)||t.getAll(o).forEach(i=>{n.append(o,i)})}),n}const hj="6";try{window.__reactRouterVersion=hj}catch{}const mj="startTransition",I8=V1[mj];function gj(e){let{basename:t,children:n,future:r,window:o}=e,i=M.useRef();i.current==null&&(i.current=S$({window:o,v5Compat:!0}));let a=i.current,[s,l]=M.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},u=M.useCallback(d=>{c&&I8?I8(()=>l(d)):l(d)},[l,c]);return M.useLayoutEffect(()=>a.listen(u),[a,u]),M.createElement(dj,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}var L8;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(L8||(L8={}));var O8;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(O8||(O8={}));function yj(e){let t=M.useRef(Xy(e)),n=M.useRef(!1),r=Cm(),o=M.useMemo(()=>pj(r.search,n.current?null:t.current),[r.search]),i=X$(),a=M.useCallback((s,l)=>{const c=Xy(typeof s=="function"?s(o):s);n.current=!0,i("?"+c,l)},[i,o]);return[o,a]}function Ua(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 vj=Object.freeze(Object.defineProperty({__proto__:null,default:Ua},Symbol.toStringTag,{value:"Module"})),pf="$$material";function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A.apply(null,arguments)}function Me(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function qx(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var _j=/^((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|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|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)-.*))$/,bj=qx(function(e){return _j.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ej=!1;function Cj(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 Sj(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 wj=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!Ej: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(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Sj(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Cj(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Bn="-ms-",mh="-moz-",ut="-webkit-",Gx="comm",V4="rule",z4="decl",xj="@import",Kx="@keyframes",Mj="@layer",Rj=Math.abs,Sm=String.fromCharCode,Tj=Object.assign;function kj(e,t){return In(e,0)^45?(((t<<2^In(e,0))<<2^In(e,1))<<2^In(e,2))<<2^In(e,3):0}function Yx(e){return e.trim()}function Ij(e,t){return(e=t.exec(e))?e[0]:e}function dt(e,t,n){return e.replace(t,n)}function Jy(e,t){return e.indexOf(t)}function In(e,t){return e.charCodeAt(t)|0}function zd(e,t,n){return e.slice(t,n)}function Ho(e){return e.length}function W4(e){return e.length}function hp(e,t){return t.push(e),e}function Lj(e,t){return e.map(t).join("")}var wm=1,dc=1,Zx=0,_r=0,sn=0,qc="";function xm(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:wm,column:dc,length:a,return:""}}function bu(e,t){return Tj(xm("",null,null,"",null,null,0),e,{length:-e.length},t)}function Oj(){return sn}function Aj(){return sn=_r>0?In(qc,--_r):0,dc--,sn===10&&(dc=1,wm--),sn}function Ir(){return sn=_r<Zx?In(qc,_r++):0,dc++,sn===10&&(dc=1,wm++),sn}function Jo(){return In(qc,_r)}function y1(){return _r}function hf(e,t){return zd(qc,e,t)}function Wd(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 Xx(e){return wm=dc=1,Zx=Ho(qc=e),_r=0,[]}function Jx(e){return qc="",e}function v1(e){return Yx(hf(_r-1,Qy(e===91?e+2:e===40?e+1:e)))}function Pj(e){for(;(sn=Jo())&&sn<33;)Ir();return Wd(e)>2||Wd(sn)>3?"":" "}function Nj(e,t){for(;--t&&Ir()&&!(sn<48||sn>102||sn>57&&sn<65||sn>70&&sn<97););return hf(e,y1()+(t<6&&Jo()==32&&Ir()==32))}function Qy(e){for(;Ir();)switch(sn){case e:return _r;case 34:case 39:e!==34&&e!==39&&Qy(sn);break;case 40:e===41&&Qy(e);break;case 92:Ir();break}return _r}function $j(e,t){for(;Ir()&&e+sn!==57;)if(e+sn===84&&Jo()===47)break;return"/*"+hf(t,_r-1)+"*"+Sm(e===47?e:Ir())}function jj(e){for(;!Wd(Jo());)Ir();return hf(e,_r)}function Dj(e){return Jx(_1("",null,null,null,[""],e=Xx(e),0,[0],e))}function _1(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,g=0,v=1,b=1,m=1,y=0,E="",w=o,S=i,_=r,C=E;b;)switch(g=y,y=Ir()){case 40:if(g!=108&&In(C,d-1)==58){Jy(C+=dt(v1(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:C+=v1(y);break;case 9:case 10:case 13:case 32:C+=Pj(g);break;case 92:C+=Nj(y1()-1,7);continue;case 47:switch(Jo()){case 42:case 47:hp(Bj($j(Ir(),y1()),t,n),l);break;default:C+="/"}break;case 123*v:s[c++]=Ho(C)*m;case 125*v:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+u:m==-1&&(C=dt(C,/\f/g,"")),h>0&&Ho(C)-d&&hp(h>32?P8(C+";",r,n,d-1):P8(dt(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(hp(_=A8(C,t,n,c,u,o,s,E,w=[],S=[],d),i),y===123)if(u===0)_1(C,t,_,_,w,i,d,s,S);else switch(p===99&&In(C,3)===110?100:p){case 100:case 108:case 109:case 115:_1(e,_,_,r&&hp(A8(e,_,_,0,0,o,s,E,o,w=[],d),S),o,S,d,s,r?w:S);break;default:_1(C,_,_,_,[""],S,0,s,S)}}c=u=h=0,v=m=1,E=C="",d=a;break;case 58:d=1+Ho(C),h=g;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&Aj()==125)continue}switch(C+=Sm(y),y*v){case 38:m=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(Ho(C)-1)*m,m=1;break;case 64:Jo()===45&&(C+=v1(Ir())),p=Jo(),u=d=Ho(E=C+=jj(y1())),y++;break;case 45:g===45&&Ho(C)==2&&(v=0)}}return i}function A8(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,p=o===0?i:[""],h=W4(p),g=0,v=0,b=0;g<r;++g)for(var m=0,y=zd(e,d+1,d=Rj(v=a[g])),E=e;m<h;++m)(E=Yx(v>0?p[m]+" "+y:dt(y,/&\f/g,p[m])))&&(l[b++]=E);return xm(e,t,n,o===0?V4:s,l,c,u)}function Bj(e,t,n){return xm(e,t,n,Gx,Sm(Oj()),zd(e,2,-2),0)}function P8(e,t,n,r){return xm(e,t,n,z4,zd(e,0,r),zd(e,r+1,-1),r)}function Xl(e,t){for(var n="",r=W4(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Fj(e,t,n,r){switch(e.type){case Mj:if(e.children.length)break;case xj:case z4:return e.return=e.return||e.value;case Gx:return"";case Kx:return e.return=e.value+"{"+Xl(e.children,r)+"}";case V4:e.value=e.props.join(",")}return Ho(n=Xl(e.children,r))?e.return=e.value+"{"+n+"}":""}function Uj(e){var t=W4(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}function Hj(e){return function(t){t.root||(t=t.return)&&e(t)}}var Vj=function(t,n,r){for(var o=0,i=0;o=i,i=Jo(),o===38&&i===12&&(n[r]=1),!Wd(i);)Ir();return hf(t,_r)},zj=function(t,n){var r=-1,o=44;do switch(Wd(o)){case 0:o===38&&Jo()===12&&(n[r]=1),t[r]+=Vj(_r-1,n,r);break;case 2:t[r]+=v1(o);break;case 4:if(o===44){t[++r]=Jo()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Sm(o)}while(o=Ir());return t},Wj=function(t,n){return Jx(zj(Xx(t),n))},N8=new WeakMap,qj=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!N8.get(r))&&!o){N8.set(t,!0);for(var i=[],a=Wj(n,i),s=r.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=i[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},Gj=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Qx(e,t){switch(kj(e,t)){case 5103:return ut+"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 ut+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ut+e+mh+e+Bn+e+e;case 6828:case 4268:return ut+e+Bn+e+e;case 6165:return ut+e+Bn+"flex-"+e+e;case 5187:return ut+e+dt(e,/(\w+).+(:[^]+)/,ut+"box-$1$2"+Bn+"flex-$1$2")+e;case 5443:return ut+e+Bn+"flex-item-"+dt(e,/flex-|-self/,"")+e;case 4675:return ut+e+Bn+"flex-line-pack"+dt(e,/align-content|flex-|-self/,"")+e;case 5548:return ut+e+Bn+dt(e,"shrink","negative")+e;case 5292:return ut+e+Bn+dt(e,"basis","preferred-size")+e;case 6060:return ut+"box-"+dt(e,"-grow","")+ut+e+Bn+dt(e,"grow","positive")+e;case 4554:return ut+dt(e,/([^-])(transform)/g,"$1"+ut+"$2")+e;case 6187:return dt(dt(dt(e,/(zoom-|grab)/,ut+"$1"),/(image-set)/,ut+"$1"),e,"")+e;case 5495:case 3959:return dt(e,/(image-set\([^]*)/,ut+"$1$`$1");case 4968:return dt(dt(e,/(.+:)(flex-)?(.*)/,ut+"box-pack:$3"+Bn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ut+e+e;case 4095:case 3583:case 4068:case 2532:return dt(e,/(.+)-inline(.+)/,ut+"$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(Ho(e)-1-t>6)switch(In(e,t+1)){case 109:if(In(e,t+4)!==45)break;case 102:return dt(e,/(.+:)(.+)-([^]+)/,"$1"+ut+"$2-$3$1"+mh+(In(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jy(e,"stretch")?Qx(dt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(In(e,t+1)!==115)break;case 6444:switch(In(e,Ho(e)-3-(~Jy(e,"!important")&&10))){case 107:return dt(e,":",":"+ut)+e;case 101:return dt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ut+(In(e,14)===45?"inline-":"")+"box$3$1"+ut+"$2$3$1"+Bn+"$2box$3")+e}break;case 5936:switch(In(e,t+11)){case 114:return ut+e+Bn+dt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ut+e+Bn+dt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ut+e+Bn+dt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ut+e+Bn+e+e}return e}var Kj=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case z4:t.return=Qx(t.value,t.length);break;case Kx:return Xl([bu(t,{value:dt(t.value,"@","@"+ut)})],o);case V4:if(t.length)return Lj(t.props,function(i){switch(Ij(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xl([bu(t,{props:[dt(i,/:(read-\w+)/,":"+mh+"$1")]})],o);case"::placeholder":return Xl([bu(t,{props:[dt(i,/:(plac\w+)/,":"+ut+"input-$1")]}),bu(t,{props:[dt(i,/:(plac\w+)/,":"+mh+"$1")]}),bu(t,{props:[dt(i,/:(plac\w+)/,Bn+"input-$1")]})],o)}return""})}},Yj=[Kj],eM=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var b=v.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||Yj,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var b=v.getAttribute("data-emotion").split(" "),m=1;m<b.length;m++)i[b[m]]=!0;s.push(v)});var l,c=[qj,Gj];{var u,d=[Fj,Hj(function(v){u.insert(v)})],p=Uj(c.concat(o,d)),h=function(b){return Xl(Dj(b),p)};l=function(b,m,y,E){u=y,h(b?b+"{"+m.styles+"}":m.styles),E&&(g.inserted[m.name]=!0)}}var g={key:n,sheet:new wj({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(s),g},tM={exports:{}},gt={};/** @license React v16.13.1
|
|
68
|
-
* react-is.production.min.js
|
|
69
|
-
*
|
|
70
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
71
|
-
*
|
|
72
|
-
* This source code is licensed under the MIT license found in the
|
|
73
|
-
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var En=typeof Symbol=="function"&&Symbol.for,q4=En?Symbol.for("react.element"):60103,G4=En?Symbol.for("react.portal"):60106,Mm=En?Symbol.for("react.fragment"):60107,Rm=En?Symbol.for("react.strict_mode"):60108,Tm=En?Symbol.for("react.profiler"):60114,km=En?Symbol.for("react.provider"):60109,Im=En?Symbol.for("react.context"):60110,K4=En?Symbol.for("react.async_mode"):60111,Lm=En?Symbol.for("react.concurrent_mode"):60111,Om=En?Symbol.for("react.forward_ref"):60112,Am=En?Symbol.for("react.suspense"):60113,Zj=En?Symbol.for("react.suspense_list"):60120,Pm=En?Symbol.for("react.memo"):60115,Nm=En?Symbol.for("react.lazy"):60116,Xj=En?Symbol.for("react.block"):60121,Jj=En?Symbol.for("react.fundamental"):60117,Qj=En?Symbol.for("react.responder"):60118,eD=En?Symbol.for("react.scope"):60119;function $r(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case q4:switch(e=e.type,e){case K4:case Lm:case Mm:case Tm:case Rm:case Am:return e;default:switch(e=e&&e.$$typeof,e){case Im:case Om:case Nm:case Pm:case km:return e;default:return t}}case G4:return t}}}function nM(e){return $r(e)===Lm}gt.AsyncMode=K4;gt.ConcurrentMode=Lm;gt.ContextConsumer=Im;gt.ContextProvider=km;gt.Element=q4;gt.ForwardRef=Om;gt.Fragment=Mm;gt.Lazy=Nm;gt.Memo=Pm;gt.Portal=G4;gt.Profiler=Tm;gt.StrictMode=Rm;gt.Suspense=Am;gt.isAsyncMode=function(e){return nM(e)||$r(e)===K4};gt.isConcurrentMode=nM;gt.isContextConsumer=function(e){return $r(e)===Im};gt.isContextProvider=function(e){return $r(e)===km};gt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===q4};gt.isForwardRef=function(e){return $r(e)===Om};gt.isFragment=function(e){return $r(e)===Mm};gt.isLazy=function(e){return $r(e)===Nm};gt.isMemo=function(e){return $r(e)===Pm};gt.isPortal=function(e){return $r(e)===G4};gt.isProfiler=function(e){return $r(e)===Tm};gt.isStrictMode=function(e){return $r(e)===Rm};gt.isSuspense=function(e){return $r(e)===Am};gt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Mm||e===Lm||e===Tm||e===Rm||e===Am||e===Zj||typeof e=="object"&&e!==null&&(e.$$typeof===Nm||e.$$typeof===Pm||e.$$typeof===km||e.$$typeof===Im||e.$$typeof===Om||e.$$typeof===Jj||e.$$typeof===Qj||e.$$typeof===eD||e.$$typeof===Xj)};gt.typeOf=$r;tM.exports=gt;var tD=tM.exports,rM=tD,nD={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},rD={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},oM={};oM[rM.ForwardRef]=nD;oM[rM.Memo]=rD;var oD=!0;function iD(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var iM=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||oD===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},aM=function(t,n,r){iM(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function aD(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&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(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 sD={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,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},lD=!1,cD=/[A-Z]|^ms/g,uD=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sM=function(t){return t.charCodeAt(1)===45},$8=function(t){return t!=null&&typeof t!="boolean"},Rg=qx(function(e){return sM(e)?e:e.replace(cD,"-$&").toLowerCase()}),j8=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(uD,function(r,o,i){return Vo={name:o,styles:i,next:Vo},o})}return sD[t]!==1&&!sM(t)&&typeof n=="number"&&n!==0?n+"px":n},dD="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function qd(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Vo={name:o.name,styles:o.styles,next:Vo},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)Vo={name:a.name,styles:a.styles,next:Vo},a=a.next;var s=i.styles+";";return s}return fD(e,t,n)}case"function":{if(e!==void 0){var l=Vo,c=n(e);return Vo=l,qd(e,t,c)}break}}var u=n;if(t==null)return u;var d=t[u];return d!==void 0?d:u}function fD(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=qd(e,t,n[o])+";";else for(var i in n){var a=n[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?r+=i+"{"+t[s]+"}":$8(s)&&(r+=Rg(i)+":"+j8(i,s)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&lD)throw new Error(dD);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)$8(a[l])&&(r+=Rg(i)+":"+j8(i,a[l])+";");else{var c=qd(e,t,a);switch(i){case"animation":case"animationName":{r+=Rg(i)+":"+c+";";break}default:r+=i+"{"+c+"}"}}}}return r}var D8=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Vo;function Y4(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Vo=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=qd(n,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=qd(n,t,e[s]),r){var l=i;o+=l[s]}D8.lastIndex=0;for(var c="",u;(u=D8.exec(o))!==null;)c+="-"+u[1];var d=aD(o)+c;return{name:d,styles:o,next:Vo}}var pD=function(t){return t()},lM=V1.useInsertionEffect?V1.useInsertionEffect:!1,hD=lM||pD,B8=lM||M.useLayoutEffect,cM=M.createContext(typeof HTMLElement<"u"?eM({key:"css"}):null),mD=cM.Provider,uM=function(t){return M.forwardRef(function(n,r){var o=M.useContext(cM);return t(n,o,r)})},mf=M.createContext({}),Tg={exports:{}},F8;function dM(){return F8||(F8=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var i in o)({}).hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Tg)),Tg.exports}dM();var gD=uM(function(e,t){var n=e.styles,r=Y4([n],void 0,M.useContext(mf)),o=M.useRef();return B8(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",i),a.hydrate([l])),o.current=[a,s],function(){a.flush()}},[t]),B8(function(){var i=o.current,a=i[0],s=i[1];if(s){i[1]=!1;return}if(r.next!==void 0&&aM(t,r.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",r,a,!1)},[t,r.name]),null});function fc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Y4(t)}var Xi=function(){var t=fc.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},yD=bj,vD=function(t){return t!=="theme"},U8=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?yD:vD},H8=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},_D=!1,bD=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return iM(n,r,o),hD(function(){return aM(n,r,o)}),null},ED=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var s=H8(t,n,r),l=s||U8(o),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{d.push(u[0][0]);for(var p=u.length,h=1;h<p;h++)d.push(u[h],u[0][h])}var g=uM(function(v,b,m){var y=c&&v.as||o,E="",w=[],S=v;if(v.theme==null){S={};for(var _ in v)S[_]=v[_];S.theme=M.useContext(mf)}typeof v.className=="string"?E=iD(b.registered,w,v.className):v.className!=null&&(E=v.className+" ");var C=Y4(d.concat(w),b.registered,S);E+=b.key+"-"+C.name,a!==void 0&&(E+=" "+a);var R=c&&s===void 0?U8(y):l,T={};for(var I in v)c&&I==="as"||R(I)&&(T[I]=v[I]);return T.className=E,m&&(T.ref=m),M.createElement(M.Fragment,null,M.createElement(bD,{cache:b,serialized:C,isStringTag:typeof y=="string"}),M.createElement(y,T))});return g.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=o,g.__emotion_styles=d,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return a===void 0&&_D?"NO_COMPONENT_SELECTOR":"."+a}}),g.withComponent=function(v,b){return e(v,A({},n,b,{shouldForwardProp:H8(g,b,!0)})).apply(void 0,d)},g}},CD=["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"],K=ED.bind();CD.forEach(function(e){K[e]=K(e)});let ev;typeof document=="object"&&(ev=eM({key:"css",prepend:!0}));function SD(e){const{injectFirst:t,children:n}=e;return t&&ev?f.jsx(mD,{value:ev,children:n}):n}function wD(e){return e==null||Object.keys(e).length===0}function sd(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(wD(o)?n:o):t;return f.jsx(gD,{styles:r})}function fM(e,t){return K(e,t)}const xD=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},MD=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:sd,StyledEngineProvider:SD,ThemeContext:mf,css:fc,default:fM,internal_processStyles:xD,keyframes:Xi},Symbol.toStringTag,{value:"Module"}));function ga(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 pM(e){if(!ga(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=pM(e[n])}),t}function tr(e,t,n={clone:!0}){const r=n.clone?A({},e):e;return ga(e)&&ga(t)&&Object.keys(t).forEach(o=>{ga(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ga(e[o])?r[o]=tr(e[o],t[o],n):n.clone?r[o]=ga(t[o])?pM(t[o]):t[o]:r[o]=t[o]}),r}const RD=Object.freeze(Object.defineProperty({__proto__:null,default:tr,isPlainObject:ga},Symbol.toStringTag,{value:"Module"})),TD=["values","unit","step"],kD=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>A({},n,{[r.key]:r.val}),{})};function hM(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Me(e,TD),i=kD(t),a=Object.keys(i);function s(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function l(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function c(p,h){const g=a.indexOf(h);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:h)-r/100}${n})`}function u(p){return a.indexOf(p)+1<a.length?c(p,a[a.indexOf(p)+1]):s(p)}function d(p){const h=a.indexOf(p);return h===0?s(a[1]):h===a.length-1?l(a[h]):c(p,a[a.indexOf(p)+1]).replace("@media","@media not all and")}return A({keys:a,values:i,up:s,down:l,between:c,only:u,not:d,unit:n},o)}const ID={borderRadius:4};function ld(e,t){return t?tr(e,t,{clone:!1}):e}const Z4={xs:0,sm:600,md:900,lg:1200,xl:1536},V8={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Z4[e]}px)`};function Ni(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||V8;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const i=r.breakpoints||V8;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||Z4).indexOf(s)!==-1){const l=i.up(s);a[l]=n(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return n(t)}function LD(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function OD(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ie(e){if(typeof e!="string")throw new Error(Ua(7));return e.charAt(0).toUpperCase()+e.slice(1)}const AD=Object.freeze(Object.defineProperty({__proto__:null,default:Ie},Symbol.toStringTag,{value:"Module"}));function pc(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function gh(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=pc(e,n)||r,t&&(o=t(o,r,e)),o}function nn(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=pc(l,r)||{};return Ni(a,s,d=>{let p=gh(c,o,d);return d===p&&typeof d=="string"&&(p=gh(c,o,`${t}${d==="default"?"":Ie(d)}`,d)),n===!1?p:{[n]:p}})};return i.propTypes={},i.filterProps=[t],i}function PD(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const ND={m:"margin",p:"padding"},$D={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},z8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},jD=PD(e=>{if(e.length>2)if(z8[e])e=z8[e];else return[e];const[t,n]=e.split(""),r=ND[t],o=$D[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),X4=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],J4=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...X4,...J4];function gf(e,t,n,r){var o;const i=(o=pc(e,t,!1))!=null?o:n;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function mM(e){return gf(e,"spacing",8)}function yf(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function DD(e,t){return n=>e.reduce((r,o)=>(r[o]=yf(t,n),r),{})}function BD(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=jD(n),i=DD(o,r),a=e[n];return Ni(e,a,i)}function gM(e,t){const n=mM(e.theme);return Object.keys(e).map(r=>BD(e,t,r,n)).reduce(ld,{})}function Yt(e){return gM(e,X4)}Yt.propTypes={};Yt.filterProps=X4;function Zt(e){return gM(e,J4)}Zt.propTypes={};Zt.filterProps=J4;function FD(e=8){if(e.mui)return e;const t=mM({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function $m(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?ld(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Gr(e){return typeof e!="number"?e:`${e}px solid`}function co(e,t){return nn({prop:e,themeKey:"borders",transform:t})}const UD=co("border",Gr),HD=co("borderTop",Gr),VD=co("borderRight",Gr),zD=co("borderBottom",Gr),WD=co("borderLeft",Gr),qD=co("borderColor"),GD=co("borderTopColor"),KD=co("borderRightColor"),YD=co("borderBottomColor"),ZD=co("borderLeftColor"),XD=co("outline",Gr),JD=co("outlineColor"),jm=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=gf(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:yf(t,r)});return Ni(e,e.borderRadius,n)}return null};jm.propTypes={};jm.filterProps=["borderRadius"];$m(UD,HD,VD,zD,WD,qD,GD,KD,YD,ZD,jm,XD,JD);const Dm=e=>{if(e.gap!==void 0&&e.gap!==null){const t=gf(e.theme,"spacing",8),n=r=>({gap:yf(t,r)});return Ni(e,e.gap,n)}return null};Dm.propTypes={};Dm.filterProps=["gap"];const Bm=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=gf(e.theme,"spacing",8),n=r=>({columnGap:yf(t,r)});return Ni(e,e.columnGap,n)}return null};Bm.propTypes={};Bm.filterProps=["columnGap"];const Fm=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=gf(e.theme,"spacing",8),n=r=>({rowGap:yf(t,r)});return Ni(e,e.rowGap,n)}return null};Fm.propTypes={};Fm.filterProps=["rowGap"];const QD=nn({prop:"gridColumn"}),eB=nn({prop:"gridRow"}),tB=nn({prop:"gridAutoFlow"}),nB=nn({prop:"gridAutoColumns"}),rB=nn({prop:"gridAutoRows"}),oB=nn({prop:"gridTemplateColumns"}),iB=nn({prop:"gridTemplateRows"}),aB=nn({prop:"gridTemplateAreas"}),sB=nn({prop:"gridArea"});$m(Dm,Bm,Fm,QD,eB,tB,nB,rB,oB,iB,aB,sB);function Jl(e,t){return t==="grey"?t:e}const lB=nn({prop:"color",themeKey:"palette",transform:Jl}),cB=nn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Jl}),uB=nn({prop:"backgroundColor",themeKey:"palette",transform:Jl});$m(lB,cB,uB);function Rr(e){return e<=1&&e!==0?`${e*100}%`:e}const dB=nn({prop:"width",transform:Rr}),Q4=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Z4[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Rr(n)}};return Ni(e,e.maxWidth,t)}return null};Q4.filterProps=["maxWidth"];const fB=nn({prop:"minWidth",transform:Rr}),pB=nn({prop:"height",transform:Rr}),hB=nn({prop:"maxHeight",transform:Rr}),mB=nn({prop:"minHeight",transform:Rr});nn({prop:"size",cssProperty:"width",transform:Rr});nn({prop:"size",cssProperty:"height",transform:Rr});const gB=nn({prop:"boxSizing"});$m(dB,Q4,fB,pB,hB,mB,gB);const Gc={border:{themeKey:"borders",transform:Gr},borderTop:{themeKey:"borders",transform:Gr},borderRight:{themeKey:"borders",transform:Gr},borderBottom:{themeKey:"borders",transform:Gr},borderLeft:{themeKey:"borders",transform:Gr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Gr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:jm},color:{themeKey:"palette",transform:Jl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Jl},backgroundColor:{themeKey:"palette",transform:Jl},p:{style:Zt},pt:{style:Zt},pr:{style:Zt},pb:{style:Zt},pl:{style:Zt},px:{style:Zt},py:{style:Zt},padding:{style:Zt},paddingTop:{style:Zt},paddingRight:{style:Zt},paddingBottom:{style:Zt},paddingLeft:{style:Zt},paddingX:{style:Zt},paddingY:{style:Zt},paddingInline:{style:Zt},paddingInlineStart:{style:Zt},paddingInlineEnd:{style:Zt},paddingBlock:{style:Zt},paddingBlockStart:{style:Zt},paddingBlockEnd:{style:Zt},m:{style:Yt},mt:{style:Yt},mr:{style:Yt},mb:{style:Yt},ml:{style:Yt},mx:{style:Yt},my:{style:Yt},margin:{style:Yt},marginTop:{style:Yt},marginRight:{style:Yt},marginBottom:{style:Yt},marginLeft:{style:Yt},marginX:{style:Yt},marginY:{style:Yt},marginInline:{style:Yt},marginInlineStart:{style:Yt},marginInlineEnd:{style:Yt},marginBlock:{style:Yt},marginBlockStart:{style:Yt},marginBlockEnd:{style:Yt},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:Dm},rowGap:{style:Fm},columnGap:{style:Bm},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Rr},maxWidth:{style:Q4},minWidth:{transform:Rr},height:{transform:Rr},maxHeight:{transform:Rr},minHeight:{transform:Rr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function yB(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function vB(e,t){return typeof e=="function"?e(t):e}function yM(){function e(n,r,o,i){const a={[n]:r,theme:o},s=i[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=s;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const p=pc(o,c)||{};return d?d(a):Ni(a,r,g=>{let v=gh(p,u,g);return g===v&&typeof g=="string"&&(v=gh(p,u,`${n}${g==="default"?"":Ie(g)}`,g)),l===!1?v:{[l]:v}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=(r=i.unstable_sxConfig)!=null?r:Gc;function s(l){let c=l;if(typeof l=="function")c=l(i);else if(typeof l!="object")return l;if(!c)return null;const u=LD(i.breakpoints),d=Object.keys(u);let p=u;return Object.keys(c).forEach(h=>{const g=vB(c[h],i);if(g!=null)if(typeof g=="object")if(a[h])p=ld(p,e(h,g,i,a));else{const v=Ni({theme:i},g,b=>({[h]:b}));yB(v,g)?p[h]=t({sx:g,theme:i}):p=ld(p,v)}else p=ld(p,e(h,g,i,a))}),OD(d,p)}return Array.isArray(o)?o.map(s):s(o)}return t}const qs=yM();qs.filterProps=["sx"];function vM(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 _B=["breakpoints","palette","spacing","shape"];function e5(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Me(e,_B),s=hM(n),l=FD(o);let c=tr({breakpoints:s,direction:"ltr",components:{},palette:A({mode:"light"},r),spacing:l,shape:A({},ID,i)},a);return c.applyStyles=vM,c=t.reduce((u,d)=>tr(u,d),c),c.unstable_sxConfig=A({},Gc,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(d){return qs({sx:d,theme:this})},c}const bB=Object.freeze(Object.defineProperty({__proto__:null,default:e5,private_createBreakpoints:hM,unstable_applyStyles:vM},Symbol.toStringTag,{value:"Module"}));function EB(e){return Object.keys(e).length===0}function t5(e=null){const t=M.useContext(mf);return!t||EB(t)?e:t}const CB=e5();function n5(e=CB){return t5(e)}function SB({styles:e,themeId:t,defaultTheme:n={}}){const r=n5(n),o=typeof e=="function"?e(t&&r[t]||r):e;return f.jsx(sd,{styles:o})}const wB=["sx"],xB=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Gc;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function r5(e){const{sx:t}=e,n=Me(e,wB),{systemProps:r,otherProps:o}=xB(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const s=t(...a);return ga(s)?A({},r,s):r}:i=A({},r,t),A({},o,{sx:i})}const MB=Object.freeze(Object.defineProperty({__proto__:null,default:qs,extendSxProp:r5,unstable_createStyleFunctionSx:yM,unstable_defaultSxConfig:Gc},Symbol.toStringTag,{value:"Module"})),W8=e=>e,RB=()=>{let e=W8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=W8}}},o5=RB();function _M(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=_M(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ae(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=_M(e))&&(r&&(r+=" "),r+=t);return r}const TB=["className","component"];function kB(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=fM("div",{shouldForwardProp:s=>s!=="theme"&&s!=="sx"&&s!=="as"})(qs);return M.forwardRef(function(l,c){const u=n5(n),d=r5(l),{className:p,component:h="div"}=d,g=Me(d,TB);return f.jsx(i,A({as:h,ref:c,className:Ae(p,o?o(r):r),theme:t&&u[t]||u},g))})}const IB={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 Ot(e,t,n="Mui"){const r=IB[t];return r?`${n}-${r}`:`${o5.generate(e)}-${t}`}function yt(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ot(e,o,n)}),r}var bM={exports:{}},vt={};/**
|
|
75
|
-
* @license React
|
|
76
|
-
* react-is.production.min.js
|
|
77
|
-
*
|
|
78
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
79
|
-
*
|
|
80
|
-
* This source code is licensed under the MIT license found in the
|
|
81
|
-
* LICENSE file in the root directory of this source tree.
|
|
82
|
-
*/var i5=Symbol.for("react.element"),a5=Symbol.for("react.portal"),Um=Symbol.for("react.fragment"),Hm=Symbol.for("react.strict_mode"),Vm=Symbol.for("react.profiler"),zm=Symbol.for("react.provider"),Wm=Symbol.for("react.context"),LB=Symbol.for("react.server_context"),qm=Symbol.for("react.forward_ref"),Gm=Symbol.for("react.suspense"),Km=Symbol.for("react.suspense_list"),Ym=Symbol.for("react.memo"),Zm=Symbol.for("react.lazy"),OB=Symbol.for("react.offscreen"),EM;EM=Symbol.for("react.module.reference");function uo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case i5:switch(e=e.type,e){case Um:case Vm:case Hm:case Gm:case Km:return e;default:switch(e=e&&e.$$typeof,e){case LB:case Wm:case qm:case Zm:case Ym:case zm:return e;default:return t}}case a5:return t}}}vt.ContextConsumer=Wm;vt.ContextProvider=zm;vt.Element=i5;vt.ForwardRef=qm;vt.Fragment=Um;vt.Lazy=Zm;vt.Memo=Ym;vt.Portal=a5;vt.Profiler=Vm;vt.StrictMode=Hm;vt.Suspense=Gm;vt.SuspenseList=Km;vt.isAsyncMode=function(){return!1};vt.isConcurrentMode=function(){return!1};vt.isContextConsumer=function(e){return uo(e)===Wm};vt.isContextProvider=function(e){return uo(e)===zm};vt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===i5};vt.isForwardRef=function(e){return uo(e)===qm};vt.isFragment=function(e){return uo(e)===Um};vt.isLazy=function(e){return uo(e)===Zm};vt.isMemo=function(e){return uo(e)===Ym};vt.isPortal=function(e){return uo(e)===a5};vt.isProfiler=function(e){return uo(e)===Vm};vt.isStrictMode=function(e){return uo(e)===Hm};vt.isSuspense=function(e){return uo(e)===Gm};vt.isSuspenseList=function(e){return uo(e)===Km};vt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Um||e===Vm||e===Hm||e===Gm||e===Km||e===OB||typeof e=="object"&&e!==null&&(e.$$typeof===Zm||e.$$typeof===Ym||e.$$typeof===zm||e.$$typeof===Wm||e.$$typeof===qm||e.$$typeof===EM||e.getModuleId!==void 0)};vt.typeOf=uo;bM.exports=vt;var q8=bM.exports;const AB=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function CM(e){const t=`${e}`.match(AB);return t&&t[1]||""}function SM(e,t=""){return e.displayName||e.name||CM(e)||t}function G8(e,t,n){const r=SM(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function PB(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return SM(e,"Component");if(typeof e=="object")switch(e.$$typeof){case q8.ForwardRef:return G8(e,e.render,"ForwardRef");case q8.Memo:return G8(e,e.type,"memo");default:return}}}const NB=Object.freeze(Object.defineProperty({__proto__:null,default:PB,getFunctionName:CM},Symbol.toStringTag,{value:"Module"}));function Gd(e,t){const n=A({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=A({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=A({},i),Object.keys(o).forEach(a=>{n[r][a]=Gd(o[a],i[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function $B(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Gd(t.components[n].defaultProps,r)}const ti=typeof window<"u"?M.useLayoutEffect:M.useEffect;function jB(e,t,n,r,o){const[i,a]=M.useState(()=>o&&n?n(e).matches:r?r(e).matches:t);return ti(()=>{let s=!0;if(!n)return;const l=n(e),c=()=>{s&&a(l.matches)};return c(),l.addListener(c),()=>{s=!1,l.removeListener(c)}},[e,n]),i}const wM=M.useSyncExternalStore;function DB(e,t,n,r,o){const i=M.useCallback(()=>t,[t]),a=M.useMemo(()=>{if(o&&n)return()=>n(e).matches;if(r!==null){const{matches:u}=r(e);return()=>u}return i},[i,e,r,o,n]),[s,l]=M.useMemo(()=>{if(n===null)return[i,()=>()=>{}];const u=n(e);return[()=>u.matches,d=>(u.addListener(d),()=>{u.removeListener(d)})]},[i,n,e]);return wM(l,s,a)}function s5(e,t={}){const n=t5(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:i=r?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=$B({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(wM!==void 0?DB:jB)(l,o,i,a,s)}function xM(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const BB=Object.freeze(Object.defineProperty({__proto__:null,default:xM},Symbol.toStringTag,{value:"Module"}));function FB(e,t=0,n=1){return xM(e,t,n)}function UB(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function MM(e){if(e.type)return e;if(e.charAt(0)==="#")return MM(UB(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Ua(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(Ua(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function HB(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function VB(e,t){return e=MM(e),t=FB(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,HB(e)}function tv(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Xm(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function zB(e,t){return()=>null}function WB(e,t){var n,r;return M.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Hn(e){return e&&e.ownerDocument||document}function Ha(e){return Hn(e).defaultView||window}function qB(e,t){return()=>null}function yh(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let K8=0;function GB(e){const[t,n]=M.useState(e),r=e||t;return M.useEffect(()=>{t==null&&(K8+=1,n(`mui-${K8}`))},[t]),r}const Y8=V1.useId;function RM(e){if(Y8!==void 0){const t=Y8();return e??t}return GB(e)}function KB(e,t,n,r,o){return null}function TM({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=M.useRef(e!==void 0),[i,a]=M.useState(t),s=o?e:i,l=M.useCallback(c=>{o||a(c)},[]);return[s,l]}function Xr(e){const t=M.useRef(e);return ti(()=>{t.current=e}),M.useRef((...n)=>(0,t.current)(...n)).current}function Pn(...e){return M.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{yh(n,t)})},e)}const Z8={};function YB(e,t){const n=M.useRef(Z8);return n.current===Z8&&(n.current=e(t)),n}const ZB=[];function XB(e){M.useEffect(e,ZB)}class vf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new vf}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function $l(){const e=YB(vf.create).current;return XB(e.disposeEffect),e}let Jm=!0,nv=!1;const JB=new vf,QB={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 eF(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&QB[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function tF(e){e.metaKey||e.altKey||e.ctrlKey||(Jm=!0)}function kg(){Jm=!1}function nF(){this.visibilityState==="hidden"&&nv&&(Jm=!0)}function rF(e){e.addEventListener("keydown",tF,!0),e.addEventListener("mousedown",kg,!0),e.addEventListener("pointerdown",kg,!0),e.addEventListener("touchstart",kg,!0),e.addEventListener("visibilitychange",nF,!0)}function oF(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Jm||eF(t)}function Qm(){const e=M.useCallback(o=>{o!=null&&rF(o.ownerDocument)},[]),t=M.useRef(!1);function n(){return t.current?(nv=!0,JB.start(100,()=>{nv=!1}),t.current=!1,!0):!1}function r(o){return oF(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function kM(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let rl;function IM(){if(rl)return rl;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),rl="reverse",e.scrollLeft>0?rl="default":(e.scrollLeft=1,e.scrollLeft===0&&(rl="negative")),document.body.removeChild(e),rl}function iF(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(IM()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}const LM=e=>{const t=M.useRef({});return M.useEffect(()=>{t.current=e}),t.current};function $t(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),n&&n[a]&&i.push(n[a])}return i},[]).join(" ")}),r}function OM(e){return typeof e=="string"}function jl(e,t,n){return e===void 0||OM(e)?t:A({},t,{ownerState:A({},t.ownerState,n)})}function AM(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function X8(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 PM(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const h=Ae(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=A({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),v=A({},n,o,r);return h.length>0&&(v.className=h),Object.keys(g).length>0&&(v.style=g),{props:v,internalRef:void 0}}const a=AM(A({},o,r)),s=X8(r),l=X8(o),c=t(a),u=Ae(c==null?void 0:c.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),d=A({},c==null?void 0:c.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),p=A({},c,n,l,s);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}function NM(e,t,n){return typeof e=="function"?e(t,n):e}const aF=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Or(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=Me(e,aF),s=i?{}:NM(r,o),{props:l,internalRef:c}=PM(A({},a,{externalSlotProps:s})),u=Pn(c,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return jl(n,A({},l,{ref:u}),o)}const $M=M.createContext(null);function l5(){return M.useContext($M)}const sF=typeof Symbol=="function"&&Symbol.for,lF=sF?Symbol.for("mui.nested"):"__THEME_NESTED__";function cF(e,t){return typeof t=="function"?t(e):A({},e,t)}function uF(e){const{children:t,theme:n}=e,r=l5(),o=M.useMemo(()=>{const i=r===null?n:cF(r,n);return i!=null&&(i[lF]=r!==null),i},[n,r]);return f.jsx($M.Provider,{value:o,children:t})}const dF=["value"],jM=M.createContext();function fF(e){let{value:t}=e,n=Me(e,dF);return f.jsx(jM.Provider,A({value:t??!0},n))}const e0=()=>{const e=M.useContext(jM);return e??!1},DM=M.createContext(void 0);function pF({value:e,children:t}){return f.jsx(DM.Provider,{value:e,children:t})}function hF(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Gd(o.defaultProps,r):!o.styleOverrides&&!o.variants?Gd(o,r):r}function mF({props:e,name:t}){const n=M.useContext(DM);return hF({props:e,name:t,theme:{components:n}})}const J8={};function Q8(e,t,n,r=!1){return M.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const i=n(o),a=e?A({},t,{[e]:i}):i;return r?()=>a:a}return e?A({},t,{[e]:n}):A({},t,n)},[e,t,n,r])}function gF(e){const{children:t,theme:n,themeId:r}=e,o=t5(J8),i=l5()||J8,a=Q8(r,o,n),s=Q8(r,i,n,!0),l=a.direction==="rtl";return f.jsx(uF,{theme:s,children:f.jsx(mf.Provider,{value:a,children:f.jsx(fF,{value:l,children:f.jsx(pF,{value:a==null?void 0:a.components,children:t})})})})}const c5="mode",u5="color-scheme",BM="data-color-scheme";function yF(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=c5,colorSchemeStorageKey:i=u5,attribute:a=BM,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};return f.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
83
|
-
try {
|
|
84
|
-
var mode = localStorage.getItem('${o}') || '${t}';
|
|
85
|
-
var colorScheme = '';
|
|
86
|
-
if (mode === 'system') {
|
|
87
|
-
// handle system mode
|
|
88
|
-
var mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
89
|
-
if (mql.matches) {
|
|
90
|
-
colorScheme = localStorage.getItem('${i}-dark') || '${r}';
|
|
91
|
-
} else {
|
|
92
|
-
colorScheme = localStorage.getItem('${i}-light') || '${n}';
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
if (mode === 'light') {
|
|
96
|
-
colorScheme = localStorage.getItem('${i}-light') || '${n}';
|
|
97
|
-
}
|
|
98
|
-
if (mode === 'dark') {
|
|
99
|
-
colorScheme = localStorage.getItem('${i}-dark') || '${r}';
|
|
100
|
-
}
|
|
101
|
-
if (colorScheme) {
|
|
102
|
-
${s}.setAttribute('${a}', colorScheme);
|
|
103
|
-
}
|
|
104
|
-
} catch(e){}})();`}},"mui-color-scheme-init")}function e9(e){if(typeof window<"u"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function FM(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function vF(e){return FM(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function Ig(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function _F(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=c5,colorSchemeStorageKey:a=u5,storageWindow:s=typeof window>"u"?void 0:window}=e,l=o.join(","),[c,u]=M.useState(()=>{const b=Ig(i,t),m=Ig(`${a}-light`,n),y=Ig(`${a}-dark`,r);return{mode:b,systemMode:e9(b),lightColorScheme:m,darkColorScheme:y}}),d=vF(c),p=M.useCallback(b=>{u(m=>{if(b===m.mode)return m;const y=b??t;try{localStorage.setItem(i,y)}catch{}return A({},m,{mode:y,systemMode:e9(y)})})},[i,t]),h=M.useCallback(b=>{b?typeof b=="string"?b&&!l.includes(b)?console.error(`\`${b}\` does not exist in \`theme.colorSchemes\`.`):u(m=>{const y=A({},m);return FM(m,E=>{try{localStorage.setItem(`${a}-${E}`,b)}catch{}E==="light"&&(y.lightColorScheme=b),E==="dark"&&(y.darkColorScheme=b)}),y}):u(m=>{const y=A({},m),E=b.light===null?n:b.light,w=b.dark===null?r:b.dark;if(E)if(!l.includes(E))console.error(`\`${E}\` does not exist in \`theme.colorSchemes\`.`);else{y.lightColorScheme=E;try{localStorage.setItem(`${a}-light`,E)}catch{}}if(w)if(!l.includes(w))console.error(`\`${w}\` does not exist in \`theme.colorSchemes\`.`);else{y.darkColorScheme=w;try{localStorage.setItem(`${a}-dark`,w)}catch{}}return y}):u(m=>{try{localStorage.setItem(`${a}-light`,n),localStorage.setItem(`${a}-dark`,r)}catch{}return A({},m,{lightColorScheme:n,darkColorScheme:r})})},[l,a,n,r]),g=M.useCallback(b=>{c.mode==="system"&&u(m=>{const y=b!=null&&b.matches?"dark":"light";return m.systemMode===y?m:A({},m,{systemMode:y})})},[c.mode]),v=M.useRef(g);return v.current=g,M.useEffect(()=>{const b=(...y)=>v.current(...y),m=window.matchMedia("(prefers-color-scheme: dark)");return m.addListener(b),b(m),()=>{m.removeListener(b)}},[]),M.useEffect(()=>{if(s){const b=m=>{const y=m.newValue;typeof m.key=="string"&&m.key.startsWith(a)&&(!y||l.match(y))&&(m.key.endsWith("light")&&h({light:y}),m.key.endsWith("dark")&&h({dark:y})),m.key===i&&(!y||["light","dark","system"].includes(y))&&p(y||t)};return s.addEventListener("storage",b),()=>{s.removeEventListener("storage",b)}}},[h,p,i,a,l,t,s]),A({},c,{colorScheme:d,setMode:p,setColorScheme:h})}const bF=["colorSchemes","components","generateCssVars","cssVarPrefix"],EF="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function CF(e){const{themeId:t,theme:n={},attribute:r=BM,modeStorageKey:o=c5,colorSchemeStorageKey:i=u5,defaultMode:a="light",defaultColorScheme:s,disableTransitionOnChange:l=!1,resolveTheme:c,excludeVariablesFromRoot:u}=e;(!n.colorSchemes||typeof s=="string"&&!n.colorSchemes[s]||typeof s=="object"&&!n.colorSchemes[s==null?void 0:s.light]||typeof s=="object"&&!n.colorSchemes[s==null?void 0:s.dark])&&console.error(`MUI: \`${s}\` does not exist in \`theme.colorSchemes\`.`);const d=M.createContext(void 0),p=()=>{const m=M.useContext(d);if(!m)throw new Error(Ua(19));return m};function h(m){const{children:y,theme:E=n,modeStorageKey:w=o,colorSchemeStorageKey:S=i,attribute:_=r,defaultMode:C=a,defaultColorScheme:R=s,disableTransitionOnChange:T=l,storageWindow:I=typeof window>"u"?void 0:window,documentNode:D=typeof document>"u"?void 0:document,colorSchemeNode:F=typeof document>"u"?void 0:document.documentElement,colorSchemeSelector:q=":root",disableNestedContext:W=!1,disableStyleSheetGeneration:Q=!1}=m,H=M.useRef(!1),re=l5(),B=M.useContext(d),ee=!!B&&!W,$=E[t],P=$||E,{colorSchemes:N={},components:O={},generateCssVars:x=()=>({vars:{},css:{}}),cssVarPrefix:k}=P,j=Me(P,bF),J=Object.keys(N),L=typeof R=="string"?R:R.light,U=typeof R=="string"?R:R.dark,{mode:G,setMode:z,systemMode:V,lightColorScheme:Z,darkColorScheme:ue,colorScheme:pe,setColorScheme:be}=_F({supportedColorSchemes:J,defaultLightColorScheme:L,defaultDarkColorScheme:U,modeStorageKey:w,colorSchemeStorageKey:S,defaultMode:C,storageWindow:I});let we=G,ke=pe;ee&&(we=B.mode,ke=B.colorScheme);const pt=we||(C==="system"?a:C),ye=ke||(pt==="dark"?U:L),{css:Ge,vars:Ce}=x(),Ve=A({},j,{components:O,colorSchemes:N,cssVarPrefix:k,vars:Ce,getColorSchemeSelector:ve=>`[${_}="${ve}"] &`}),Ue={},Le={};Object.entries(N).forEach(([ve,Et])=>{const{css:Wn,vars:Dr}=x(ve);Ve.vars=tr(Ve.vars,Dr),ve===ye&&(Object.keys(Et).forEach(wn=>{Et[wn]&&typeof Et[wn]=="object"?Ve[wn]=A({},Ve[wn],Et[wn]):Ve[wn]=Et[wn]}),Ve.palette&&(Ve.palette.colorScheme=ve));const si=typeof R=="string"?R:C==="dark"?R.dark:R.light;if(ve===si){if(u){const wn={};u(k).forEach(me=>{wn[me]=Wn[me],delete Wn[me]}),Ue[`[${_}="${ve}"]`]=wn}Ue[`${q}, [${_}="${ve}"]`]=Wn}else Le[`${q===":root"?"":q}[${_}="${ve}"]`]=Wn}),Ve.vars=tr(Ve.vars,Ce),M.useEffect(()=>{ke&&F&&F.setAttribute(_,ke)},[ke,_,F]),M.useEffect(()=>{let ve;if(T&&H.current&&D){const Et=D.createElement("style");Et.appendChild(D.createTextNode(EF)),D.head.appendChild(Et),window.getComputedStyle(D.body),ve=setTimeout(()=>{D.head.removeChild(Et)},1)}return()=>{clearTimeout(ve)}},[ke,T,D]),M.useEffect(()=>(H.current=!0,()=>{H.current=!1}),[]);const Ht=M.useMemo(()=>({allColorSchemes:J,colorScheme:ke,darkColorScheme:ue,lightColorScheme:Z,mode:we,setColorScheme:be,setMode:z,systemMode:V}),[J,ke,ue,Z,we,be,z,V]);let Sn=!0;(Q||ee&&(re==null?void 0:re.cssVarPrefix)===k)&&(Sn=!1);const zn=f.jsxs(M.Fragment,{children:[Sn&&f.jsxs(M.Fragment,{children:[f.jsx(sd,{styles:{[q]:Ge}}),f.jsx(sd,{styles:Ue}),f.jsx(sd,{styles:Le})]}),f.jsx(gF,{themeId:$?t:void 0,theme:c?c(Ve):Ve,children:y})]});return ee?zn:f.jsx(d.Provider,{value:Ht,children:zn})}const g=typeof s=="string"?s:s.light,v=typeof s=="string"?s:s.dark;return{CssVarsProvider:h,useColorScheme:p,getInitColorSchemeScript:m=>yF(A({attribute:r,colorSchemeStorageKey:i,defaultMode:a,defaultLightColorScheme:g,defaultDarkColorScheme:v,modeStorageKey:o},m))}}function SF(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const t9=(e,t,n,r=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},wF=(e,t,n)=>{function r(o,i=[],a=[]){Object.entries(o).forEach(([s,l])=>{(!n||n&&!n([...i,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,s],Array.isArray(l)?[...a,s]:a):t([...i,s],l,a))})}r(e)},xF=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`:t;function Lg(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return wF(e,(s,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(s,l))){const u=`--${n?`${n}-`:""}${s.join("-")}`;Object.assign(o,{[u]:xF(s,l)}),t9(i,s,`var(${u})`,c),t9(a,s,`var(${u}, ${l})`,c)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Kd(e){"@babel/helpers - typeof";return Kd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kd(e)}function MF(e,t){if(Kd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Kd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function RF(e){var t=MF(e,"string");return Kd(t)=="symbol"?t:t+""}const TF=["colorSchemes","components","defaultColorScheme"];function kF(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=Me(e,TF),{vars:i,css:a,varsWithDefaults:s}=Lg(o,t);let l=s;const c={},{[r]:u}=n,d=Me(n,[r].map(RF));if(Object.entries(d||{}).forEach(([h,g])=>{const{vars:v,css:b,varsWithDefaults:m}=Lg(g,t);l=tr(l,m),c[h]={css:b,vars:v}}),u){const{css:h,vars:g,varsWithDefaults:v}=Lg(u,t);l=tr(l,v),c[r]={css:h,vars:g}}return{vars:l,generateCssVars:h=>{var g;if(!h){var v;const m=A({},a);return{css:m,vars:i,selector:(t==null||(v=t.getSelector)==null?void 0:v.call(t,h,m))||":root"}}const b=A({},c[h].css);return{css:b,vars:c[h].vars,selector:(t==null||(g=t.getSelector)==null?void 0:g.call(t,h,b))||":root"}}}}function IF(e,t){return A({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var rn={},UM={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(UM);var ir=UM.exports;const LF=Yi(vj),OF=Yi(BB);var HM=ir;Object.defineProperty(rn,"__esModule",{value:!0});var Jn=rn.alpha=qM;rn.blend=qF;rn.colorChannel=void 0;var AF=rn.darken=f5;rn.decomposeColor=ao;rn.emphasize=GM;var PF=rn.getContrastRatio=UF;rn.getLuminance=vh;rn.hexToRgb=VM;var NF=rn.hslToRgb=WM,$F=rn.lighten=p5,mp=rn.private_safeAlpha=HF,Dl=rn.private_safeColorChannel=void 0,Ct=rn.private_safeDarken=VF,gp=rn.private_safeEmphasize=WF,St=rn.private_safeLighten=zF;rn.recomposeColor=Kc;rn.rgbToHex=FF;var n9=HM(LF),jF=HM(OF);function d5(e,t=0,n=1){return(0,jF.default)(e,t,n)}function VM(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function DF(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function ao(e){if(e.type)return e;if(e.charAt(0)==="#")return ao(VM(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,n9.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,n9.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const zM=e=>{const t=ao(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};rn.colorChannel=zM;const BF=(e,t)=>{try{return zM(e)}catch{return e}};Dl=rn.private_safeColorChannel=BF;function Kc(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function FF(e){if(e.indexOf("#")===0)return e;const{values:t}=ao(e);return`#${t.map((n,r)=>DF(r===3?Math.round(255*n):n)).join("")}`}function WM(e){e=ao(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(c,u=(c+n/30)%12)=>o-i*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Kc({type:s,values:l})}function vh(e){e=ao(e);let t=e.type==="hsl"||e.type==="hsla"?ao(WM(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function UF(e,t){const n=vh(e),r=vh(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function qM(e,t){return e=ao(e),t=d5(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Kc(e)}function HF(e,t,n){try{return qM(e,t)}catch{return e}}function f5(e,t){if(e=ao(e),t=d5(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Kc(e)}function VF(e,t,n){try{return f5(e,t)}catch{return e}}function p5(e,t){if(e=ao(e),t=d5(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Kc(e)}function zF(e,t,n){try{return p5(e,t)}catch{return e}}function GM(e,t=.15){return vh(e)>.5?f5(e,t):p5(e,t)}function WF(e,t,n){try{return GM(e,t)}catch{return e}}function qF(e,t,n,r=1){const o=(l,c)=>Math.round((l**(1/r)*(1-n)+c**(1/r)*n)**r),i=ao(e),a=ao(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return Kc({type:"rgb",values:s})}const Yd={black:"#000",white:"#fff"},GF={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"},ol={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},il={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Eu={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},al={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},sl={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ll={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},KF=["mode","contrastThreshold","tonalOffset"],r9={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:Yd.white,default:Yd.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}},Og={text:{primary:Yd.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:Yd.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 o9(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=$F(e.main,o):t==="dark"&&(e.dark=AF(e.main,i)))}function YF(e="light"){return e==="dark"?{main:al[200],light:al[50],dark:al[400]}:{main:al[700],light:al[400],dark:al[800]}}function ZF(e="light"){return e==="dark"?{main:ol[200],light:ol[50],dark:ol[400]}:{main:ol[500],light:ol[300],dark:ol[700]}}function XF(e="light"){return e==="dark"?{main:il[500],light:il[300],dark:il[700]}:{main:il[700],light:il[400],dark:il[800]}}function JF(e="light"){return e==="dark"?{main:sl[400],light:sl[300],dark:sl[700]}:{main:sl[700],light:sl[500],dark:sl[900]}}function QF(e="light"){return e==="dark"?{main:ll[400],light:ll[300],dark:ll[700]}:{main:ll[800],light:ll[500],dark:ll[900]}}function eU(e="light"){return e==="dark"?{main:Eu[400],light:Eu[300],dark:Eu[700]}:{main:"#ed6c02",light:Eu[500],dark:Eu[900]}}function KM(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Me(e,KF),i=e.primary||YF(t),a=e.secondary||ZF(t),s=e.error||XF(t),l=e.info||JF(t),c=e.success||QF(t),u=e.warning||eU(t);function d(v){return PF(v,Og.text.primary)>=n?Og.text.primary:r9.text.primary}const p=({color:v,name:b,mainShade:m=500,lightShade:y=300,darkShade:E=700})=>{if(v=A({},v),!v.main&&v[m]&&(v.main=v[m]),!v.hasOwnProperty("main"))throw new Error(Ua(11,b?` (${b})`:"",m));if(typeof v.main!="string")throw new Error(Ua(12,b?` (${b})`:"",JSON.stringify(v.main)));return o9(v,"light",y,r),o9(v,"dark",E,r),v.contrastText||(v.contrastText=d(v.main)),v},h={dark:Og,light:r9};return tr(A({common:A({},Yd),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:GF,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},h[t]),o)}const tU=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function nU(e){return Math.round(e*1e5)/1e5}const i9={textTransform:"uppercase"},a9='"Roboto", "Helvetica", "Arial", sans-serif';function YM(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=a9,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=Me(n,tU),h=o/14,g=d||(m=>`${m/c*h}rem`),v=(m,y,E,w,S)=>A({fontFamily:r,fontWeight:m,fontSize:g(y),lineHeight:E},r===a9?{letterSpacing:`${nU(w/y)}em`}:{},S,u),b={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(a,48,1.167,0),h4:v(a,34,1.235,.25),h5:v(a,24,1.334,0),h6:v(s,20,1.6,.15),subtitle1:v(a,16,1.75,.15),subtitle2:v(s,14,1.57,.1),body1:v(a,16,1.5,.15),body2:v(a,14,1.43,.15),button:v(s,14,1.75,.4,i9),caption:v(a,12,1.66,.4),overline:v(a,12,2.66,1,i9),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return tr(A({htmlFontSize:c,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},b),p,{clone:!1})}const rU=.2,oU=.14,iU=.12;function jt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rU})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${oU})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${iU})`].join(",")}const aU=["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)],sU=["duration","easing","delay"],lU={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)"},cU={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s9(e){return`${Math.round(e)}ms`}function uU(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function dU(e){const t=A({},lU,e.easing),n=A({},cU,e.duration);return A({getAutoHeightDuration:uU,create:(o=["all"],i={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:l=0}=i;return Me(i,sU),(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof a=="string"?a:s9(a)} ${s} ${typeof l=="string"?l:s9(l)}`).join(",")}},e,{easing:t,duration:n})}const _f={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},fU=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function _h(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=Me(e,fU);if(e.vars)throw new Error(Ua(18));const s=KM(r),l=e5(e);let c=tr(l,{mixins:IF(l.breakpoints,n),palette:s,shadows:aU.slice(),typography:YM(s,i),transitions:dU(o),zIndex:A({},_f)});return c=tr(c,a),c=t.reduce((u,d)=>tr(u,d),c),c.unstable_sxConfig=A({},Gc,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(d){return qs({sx:d,theme:this})},c}function pU(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function hU(e){return parseFloat(e)}const h5=_h();function fo(){const e=n5(h5);return e[pf]||e}var bf={},Ag={exports:{}},l9;function mU(){return l9||(l9=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(r.indexOf(i)!==-1)continue;o[i]=n[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ag)),Ag.exports}const ZM=Yi(MD),gU=Yi(RD),yU=Yi(AD),vU=Yi(NB),_U=Yi(bB),bU=Yi(MB);var Yc=ir;Object.defineProperty(bf,"__esModule",{value:!0});var EU=bf.default=PU;bf.shouldForwardProp=b1;bf.systemDefaultTheme=void 0;var Ur=Yc(dM()),rv=Yc(mU()),c9=TU(ZM),CU=gU;Yc(yU);Yc(vU);var SU=Yc(_U),wU=Yc(bU);const xU=["ownerState"],MU=["variants"],RU=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function XM(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(XM=function(r){return r?n:t})(e)}function TU(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=XM(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function kU(e){return Object.keys(e).length===0}function IU(e){return typeof e=="string"&&e.charCodeAt(0)>96}function b1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const LU=bf.systemDefaultTheme=(0,SU.default)(),OU=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function yp({defaultTheme:e,theme:t,themeId:n}){return kU(t)?e:t[n]||t}function AU(e){return e?(t,n)=>n[e]:null}function E1(e,t){let{ownerState:n}=t,r=(0,rv.default)(t,xU);const o=typeof e=="function"?e((0,Ur.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>E1(i,(0,Ur.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let s=(0,rv.default)(o,MU);return i.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props((0,Ur.default)({ownerState:n},r,n)):Object.keys(l.props).forEach(u=>{(n==null?void 0:n[u])!==l.props[u]&&r[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style((0,Ur.default)({ownerState:n},r,n)):l.style))}),s}return o}function PU(e={}){const{themeId:t,defaultTheme:n=LU,rootShouldForwardProp:r=b1,slotShouldForwardProp:o=b1}=e,i=a=>(0,wU.default)((0,Ur.default)({},a,{theme:yp((0,Ur.default)({},a,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{(0,c9.internal_processStyles)(a,S=>S.filter(_=>!(_!=null&&_.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:d,overridesResolver:p=AU(OU(c))}=s,h=(0,rv.default)(s,RU),g=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,v=d||!1;let b,m=b1;c==="Root"||c==="root"?m=r:c?m=o:IU(a)&&(m=void 0);const y=(0,c9.default)(a,(0,Ur.default)({shouldForwardProp:m,label:b},h)),E=S=>typeof S=="function"&&S.__emotion_real!==S||(0,CU.isPlainObject)(S)?_=>E1(S,(0,Ur.default)({},_,{theme:yp({theme:_.theme,defaultTheme:n,themeId:t})})):S,w=(S,..._)=>{let C=E(S);const R=_?_.map(E):[];l&&p&&R.push(D=>{const F=yp((0,Ur.default)({},D,{defaultTheme:n,themeId:t}));if(!F.components||!F.components[l]||!F.components[l].styleOverrides)return null;const q=F.components[l].styleOverrides,W={};return Object.entries(q).forEach(([Q,H])=>{W[Q]=E1(H,(0,Ur.default)({},D,{theme:F}))}),p(D,W)}),l&&!g&&R.push(D=>{var F;const q=yp((0,Ur.default)({},D,{defaultTheme:n,themeId:t})),W=q==null||(F=q.components)==null||(F=F[l])==null?void 0:F.variants;return E1({variants:W},(0,Ur.default)({},D,{theme:q}))}),v||R.push(i);const T=R.length-_.length;if(Array.isArray(S)&&T>0){const D=new Array(T).fill("");C=[...S,...D],C.raw=[...S.raw,...D]}const I=y(C,...R);return a.muiName&&(I.muiName=a.muiName),I};return y.withConfig&&(w.withConfig=y.withConfig),w}}function NU(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const t0=e=>NU(e)&&e!=="classes",He=EU({themeId:pf,defaultTheme:h5,rootShouldForwardProp:t0});function $U(e){var t;return!!e[0].match(/(cssVarPrefix|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Te=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},jU=["colorSchemes","cssVarPrefix","shouldSkipGeneratingVar"],DU=["palette"],BU=[...Array(25)].map((e,t)=>{if(t===0)return;const n=Te(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function FU(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function X(e,t,n){!e[t]&&n&&(e[t]=n)}function Vu(e){return!e||!e.startsWith("hsl")?e:NF(e)}function li(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Dl(Vu(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
105
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}const jo=e=>{try{return e()}catch{}},UU=(e="mui")=>SF(e);function m5(e={},...t){var n,r,o,i,a,s;const{colorSchemes:l={},cssVarPrefix:c="mui",shouldSkipGeneratingVar:u=$U}=e,d=Me(e,jU),p=UU(c),h=_h(A({},d,l.light&&{palette:(n=l.light)==null?void 0:n.palette})),{palette:g}=h,v=Me(h,DU),{palette:b}=_h({palette:A({mode:"dark"},(r=l.dark)==null?void 0:r.palette)});let m=A({},v,{cssVarPrefix:c,getCssVar:p,colorSchemes:A({},l,{light:A({},l.light,{palette:g,opacity:A({inputPlaceholder:.42,inputUnderline:.42,switchTrackDisabled:.12,switchTrack:.38},(o=l.light)==null?void 0:o.opacity),overlays:((i=l.light)==null?void 0:i.overlays)||[]}),dark:A({},l.dark,{palette:b,opacity:A({inputPlaceholder:.5,inputUnderline:.7,switchTrackDisabled:.2,switchTrack:.3},(a=l.dark)==null?void 0:a.opacity),overlays:((s=l.dark)==null?void 0:s.overlays)||BU})})});Object.keys(m.colorSchemes).forEach(S=>{const _=m.colorSchemes[S].palette,C=R=>{const T=R.split("-"),I=T[1],D=T[2];return p(R,_[I][D])};if(S==="light"?(X(_.common,"background","#fff"),X(_.common,"onBackground","#000")):(X(_.common,"background","#000"),X(_.common,"onBackground","#fff")),FU(_,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),S==="light"){X(_.Alert,"errorColor",Ct(_.error.light,.6)),X(_.Alert,"infoColor",Ct(_.info.light,.6)),X(_.Alert,"successColor",Ct(_.success.light,.6)),X(_.Alert,"warningColor",Ct(_.warning.light,.6)),X(_.Alert,"errorFilledBg",C("palette-error-main")),X(_.Alert,"infoFilledBg",C("palette-info-main")),X(_.Alert,"successFilledBg",C("palette-success-main")),X(_.Alert,"warningFilledBg",C("palette-warning-main")),X(_.Alert,"errorFilledColor",jo(()=>g.getContrastText(_.error.main))),X(_.Alert,"infoFilledColor",jo(()=>g.getContrastText(_.info.main))),X(_.Alert,"successFilledColor",jo(()=>g.getContrastText(_.success.main))),X(_.Alert,"warningFilledColor",jo(()=>g.getContrastText(_.warning.main))),X(_.Alert,"errorStandardBg",St(_.error.light,.9)),X(_.Alert,"infoStandardBg",St(_.info.light,.9)),X(_.Alert,"successStandardBg",St(_.success.light,.9)),X(_.Alert,"warningStandardBg",St(_.warning.light,.9)),X(_.Alert,"errorIconColor",C("palette-error-main")),X(_.Alert,"infoIconColor",C("palette-info-main")),X(_.Alert,"successIconColor",C("palette-success-main")),X(_.Alert,"warningIconColor",C("palette-warning-main")),X(_.AppBar,"defaultBg",C("palette-grey-100")),X(_.Avatar,"defaultBg",C("palette-grey-400")),X(_.Button,"inheritContainedBg",C("palette-grey-300")),X(_.Button,"inheritContainedHoverBg",C("palette-grey-A100")),X(_.Chip,"defaultBorder",C("palette-grey-400")),X(_.Chip,"defaultAvatarColor",C("palette-grey-700")),X(_.Chip,"defaultIconColor",C("palette-grey-700")),X(_.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),X(_.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),X(_.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),X(_.LinearProgress,"primaryBg",St(_.primary.main,.62)),X(_.LinearProgress,"secondaryBg",St(_.secondary.main,.62)),X(_.LinearProgress,"errorBg",St(_.error.main,.62)),X(_.LinearProgress,"infoBg",St(_.info.main,.62)),X(_.LinearProgress,"successBg",St(_.success.main,.62)),X(_.LinearProgress,"warningBg",St(_.warning.main,.62)),X(_.Skeleton,"bg",`rgba(${C("palette-text-primaryChannel")} / 0.11)`),X(_.Slider,"primaryTrack",St(_.primary.main,.62)),X(_.Slider,"secondaryTrack",St(_.secondary.main,.62)),X(_.Slider,"errorTrack",St(_.error.main,.62)),X(_.Slider,"infoTrack",St(_.info.main,.62)),X(_.Slider,"successTrack",St(_.success.main,.62)),X(_.Slider,"warningTrack",St(_.warning.main,.62));const R=gp(_.background.default,.8);X(_.SnackbarContent,"bg",R),X(_.SnackbarContent,"color",jo(()=>g.getContrastText(R))),X(_.SpeedDialAction,"fabHoverBg",gp(_.background.paper,.15)),X(_.StepConnector,"border",C("palette-grey-400")),X(_.StepContent,"border",C("palette-grey-400")),X(_.Switch,"defaultColor",C("palette-common-white")),X(_.Switch,"defaultDisabledColor",C("palette-grey-100")),X(_.Switch,"primaryDisabledColor",St(_.primary.main,.62)),X(_.Switch,"secondaryDisabledColor",St(_.secondary.main,.62)),X(_.Switch,"errorDisabledColor",St(_.error.main,.62)),X(_.Switch,"infoDisabledColor",St(_.info.main,.62)),X(_.Switch,"successDisabledColor",St(_.success.main,.62)),X(_.Switch,"warningDisabledColor",St(_.warning.main,.62)),X(_.TableCell,"border",St(mp(_.divider,1),.88)),X(_.Tooltip,"bg",mp(_.grey[700],.92))}else{X(_.Alert,"errorColor",St(_.error.light,.6)),X(_.Alert,"infoColor",St(_.info.light,.6)),X(_.Alert,"successColor",St(_.success.light,.6)),X(_.Alert,"warningColor",St(_.warning.light,.6)),X(_.Alert,"errorFilledBg",C("palette-error-dark")),X(_.Alert,"infoFilledBg",C("palette-info-dark")),X(_.Alert,"successFilledBg",C("palette-success-dark")),X(_.Alert,"warningFilledBg",C("palette-warning-dark")),X(_.Alert,"errorFilledColor",jo(()=>b.getContrastText(_.error.dark))),X(_.Alert,"infoFilledColor",jo(()=>b.getContrastText(_.info.dark))),X(_.Alert,"successFilledColor",jo(()=>b.getContrastText(_.success.dark))),X(_.Alert,"warningFilledColor",jo(()=>b.getContrastText(_.warning.dark))),X(_.Alert,"errorStandardBg",Ct(_.error.light,.9)),X(_.Alert,"infoStandardBg",Ct(_.info.light,.9)),X(_.Alert,"successStandardBg",Ct(_.success.light,.9)),X(_.Alert,"warningStandardBg",Ct(_.warning.light,.9)),X(_.Alert,"errorIconColor",C("palette-error-main")),X(_.Alert,"infoIconColor",C("palette-info-main")),X(_.Alert,"successIconColor",C("palette-success-main")),X(_.Alert,"warningIconColor",C("palette-warning-main")),X(_.AppBar,"defaultBg",C("palette-grey-900")),X(_.AppBar,"darkBg",C("palette-background-paper")),X(_.AppBar,"darkColor",C("palette-text-primary")),X(_.Avatar,"defaultBg",C("palette-grey-600")),X(_.Button,"inheritContainedBg",C("palette-grey-800")),X(_.Button,"inheritContainedHoverBg",C("palette-grey-700")),X(_.Chip,"defaultBorder",C("palette-grey-700")),X(_.Chip,"defaultAvatarColor",C("palette-grey-300")),X(_.Chip,"defaultIconColor",C("palette-grey-300")),X(_.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),X(_.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),X(_.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),X(_.LinearProgress,"primaryBg",Ct(_.primary.main,.5)),X(_.LinearProgress,"secondaryBg",Ct(_.secondary.main,.5)),X(_.LinearProgress,"errorBg",Ct(_.error.main,.5)),X(_.LinearProgress,"infoBg",Ct(_.info.main,.5)),X(_.LinearProgress,"successBg",Ct(_.success.main,.5)),X(_.LinearProgress,"warningBg",Ct(_.warning.main,.5)),X(_.Skeleton,"bg",`rgba(${C("palette-text-primaryChannel")} / 0.13)`),X(_.Slider,"primaryTrack",Ct(_.primary.main,.5)),X(_.Slider,"secondaryTrack",Ct(_.secondary.main,.5)),X(_.Slider,"errorTrack",Ct(_.error.main,.5)),X(_.Slider,"infoTrack",Ct(_.info.main,.5)),X(_.Slider,"successTrack",Ct(_.success.main,.5)),X(_.Slider,"warningTrack",Ct(_.warning.main,.5));const R=gp(_.background.default,.98);X(_.SnackbarContent,"bg",R),X(_.SnackbarContent,"color",jo(()=>b.getContrastText(R))),X(_.SpeedDialAction,"fabHoverBg",gp(_.background.paper,.15)),X(_.StepConnector,"border",C("palette-grey-600")),X(_.StepContent,"border",C("palette-grey-600")),X(_.Switch,"defaultColor",C("palette-grey-300")),X(_.Switch,"defaultDisabledColor",C("palette-grey-600")),X(_.Switch,"primaryDisabledColor",Ct(_.primary.main,.55)),X(_.Switch,"secondaryDisabledColor",Ct(_.secondary.main,.55)),X(_.Switch,"errorDisabledColor",Ct(_.error.main,.55)),X(_.Switch,"infoDisabledColor",Ct(_.info.main,.55)),X(_.Switch,"successDisabledColor",Ct(_.success.main,.55)),X(_.Switch,"warningDisabledColor",Ct(_.warning.main,.55)),X(_.TableCell,"border",Ct(mp(_.divider,1),.68)),X(_.Tooltip,"bg",mp(_.grey[700],.92))}li(_.background,"default"),li(_.background,"paper"),li(_.common,"background"),li(_.common,"onBackground"),li(_,"divider"),Object.keys(_).forEach(R=>{const T=_[R];T&&typeof T=="object"&&(T.main&&X(_[R],"mainChannel",Dl(Vu(T.main))),T.light&&X(_[R],"lightChannel",Dl(Vu(T.light))),T.dark&&X(_[R],"darkChannel",Dl(Vu(T.dark))),T.contrastText&&X(_[R],"contrastTextChannel",Dl(Vu(T.contrastText))),R==="text"&&(li(_[R],"primary"),li(_[R],"secondary")),R==="action"&&(T.active&&li(_[R],"active"),T.selected&&li(_[R],"selected")))})}),m=t.reduce((S,_)=>tr(S,_),m);const y={prefix:c,shouldSkipGeneratingVar:u},{vars:E,generateCssVars:w}=kF(m,y);return m.vars=E,m.generateCssVars=w,m.shouldSkipGeneratingVar=u,m.unstable_sxConfig=A({},Gc,d==null?void 0:d.unstable_sxConfig),m.unstable_sx=function(_){return qs({sx:_,theme:this})},m}const HU=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Cu={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},VU=m5(),{CssVarsProvider:zU,useColorScheme:Q3e,getInitColorSchemeScript:e4e}=CF({themeId:pf,theme:VU,attribute:Cu.attribute,colorSchemeStorageKey:Cu.colorSchemeStorageKey,modeStorageKey:Cu.modeStorageKey,defaultColorScheme:{light:Cu.defaultLightColorScheme,dark:Cu.defaultDarkColorScheme},resolveTheme:e=>{const t=A({},e,{typography:YM(e.palette,e.typography)});return t.unstable_sx=function(r){return qs({sx:r,theme:this})},t},excludeVariablesFromRoot:HU}),ft={white:"#FFFFFF",trueWhite:"#FFFFFF",softWhite:"#FCFCFC",gray5:"#ECEBED",gray4:"#CFCDD4",gray3:"#A09BA8",gray2:"#716B7C",gray1:"#5E5B67",gray0:"#43404A",softBlack2:"#242129",softBlack1:"#161518",black:"#000000"},bh={white:ft.softBlack2,trueWhite:ft.trueWhite,softWhite:ft.softBlack2,gray5:ft.softBlack2,gray4:ft.softBlack2,gray3:ft.white,gray2:ft.white,gray1:ft.white,gray0:ft.white,softBlack2:ft.white,softBlack1:ft.white,black:ft.white},JM={common:"#73D3D3",uncommon:"#FF8362",rare:"#34CE76",epic:"#438FFF",legendary:"#A14BF3",mythic:"#FF4BED",unique:"#FEA217"},u9={light:{palette:{mode:"light",colorScheme:"light",text:{primary:"rgba(22, 21, 24, 0.9)",secondary:"rgba(22, 21, 24, 0.6)",disabled:"rgba(22, 21, 24, 0.38)",_states:{hover:"rgba(22, 21, 24, 0.04)",selected:"rgba(22, 21, 24, 0.08)",focus:"rgba(22, 21, 24, 0.12)",focusVisible:"rgba(22, 21, 24, 0.16)"}},primary:{main:"#FF2D55",dark:"#F70038",light:"#F70038",_states:{hover:"rgba(255, 45, 85, 0.08)",selected:"rgba(255, 45, 85, 0.08)",focus:"rgba(255, 45, 85, 0.12)",focusVisible:"rgba(255, 45, 85, 0.16)",outlinedBorder:"rgba(255, 45, 85, 0.32)"}},secondary:{main:ft.gray5,dark:ft.gray3,light:ft.gray4,contrast:ft.gray1,_states:{hover:"rgba(94, 91, 103, 0.08)",selected:"rgba(94, 91, 103, 0.08)",focus:"rgba(94, 91, 103, 0.12)",focusVisible:"rgba(94, 91, 103, 0.16)",outlinedBorder:"rgba(94, 91, 103, 0.56)"}},action:{active:"rgba(22, 21, 24, 0.56)",hover:"rgba(22, 21, 24, 0.08)",selected:"rgba(22, 21, 24, 0.16)",focus:"rgba(22, 21, 24, 0.24)",disabled:"rgba(22, 21, 24, 0.32)",disabledBackground:"rgba(22, 21, 24, 0.12)"},error:{main:"#FB3B3B",dark:"#EC303A",light:"#E97177",_states:{hover:"rgba(251, 59, 59, 0.08)",selected:"rgba(251, 59, 59, 0.16)",focusVisible:"rgba(251, 59, 59, 0.16)",outlinedBorder:"rgba(251, 59, 59, 0.48)"},contrast:"#FFFFFF"},warning:{main:"#FE9C2A",dark:"#F38025",light:"#FFB95B",_states:{hover:"rgba(244, 130, 33, 0.08)",selected:"rgba(244, 130, 33, 0.08)",focusVisible:"rgba(244, 130, 33, 0.16)",outlinedBorder:"rgba(244, 130, 33, 0.32)"}},info:{main:"#2196F3",dark:"#1A75D2",light:"#63B4F6",_states:{hover:"rgba(33, 150, 243, 0.08)",focusVisible:"rgba(33, 150, 243, 0.16)",outlinedBorder:"rgba(33, 150, 243, 0.48)"}},success:{main:"#34CE77",dark:"#00B453",light:"#65D890",_states:{hover:"rgba(52, 206, 119, 0.08)",selected:"rgba(52, 206, 119, 0.16)",focusVisible:"rgba(52, 206, 119, 0.16)",outlinedBorder:"rgba(52, 206, 119, 0.32)"}},common:{black_states:{main:ft.softBlack1,hover:"rgba(22, 21, 24, 0.04)",selected:"rgba(22, 21, 24, 0.08)",focus:"rgba(22, 21, 24, 0.12)",focusVisible:"rgba(22, 21, 24, 0.3)",outlinedBorder:"rgba(22, 21, 24, 0.5)"},white_states:{main:"#FFFFFF",focusVisible:"rgba(255, 255, 255, 0.3)"}},background:{default:"#FFF"},divider:"rgba(22, 21, 24, 0.12)",_components:{avatar:{fill:"#A09BA8"},input:{standard:{enabledBorder:"rgba(22, 21, 24, 0.42)",hoverBorder:ft.softBlack1},filled:{enabledFill:"rgba(22, 21, 24, 0.06)",hoverFill:"rgba(22, 21, 24, 0.09)"},outlined:{enabledBorder:"rgba(22, 21, 24, 0.23)",hoverBorder:ft.softBlack1}},switch:{knobFillEnabled:"#FFFFFF",slideFill:ft.softBlack1,knowFillDisabled:"#ECEBED"},rating:{enabledBorder:"rgba(22, 21, 24, 0.23)",activeFill:"#FF2D55"},snackbar:{fill:"#43404A"},chip:{defaultCloseFill:ft.softBlack1,defaultHoverFill:"rgba(22, 21, 24, 0.12)",defaultEnabledBorder:"#A09BA8",defaultFocusFill:"rgba(22, 21, 24, 0.2)"},tooltip:{fill:"#5E5B67"},backdrop:{fill:"rgba(22, 21, 24, 0.5)"},appBar:{defaultFill:"#ECEBED"},breadcrumbs:{collapseFill:"#ECEBED"},alert:{error:{color:"#FB3B3B",background:"rgba(251, 59, 59, 0.16)"},success:{background:"#C1EECF"}}},icon:"#000"}},dark:{palette:{mode:"dark",colorScheme:"dark",text:{primary:"rgba(240,240,240, 1)",secondary:"rgba(240,240,240, 0.7)",disabled:"rgba(240,240,240, 0.38)",_states:{hover:"rgba(240,240,240, 0.08)",selected:"rgba(240,240,240, 0.16)",focus:"rgba(240,240,240, 0.12)",focusVisible:"rgba(240,240,240, 0.3)"}},primary:{main:"#FF2D55",dark:"#F70038",light:"#F26276",contrast:"#FFFFFF",_states:{hover:"rgba(255, 45, 85, 0.08)",selected:"rgba(255, 45, 85, 0.16)",focus:"rgba(255, 45, 85, 0.12)",focusVisible:"rgba(255, 45, 85, 0.24)",outlinedBorder:"rgba(255, 45, 85, 0.5)"}},secondary:{main:ft.trueWhite,dark:ft.gray4,light:ft.gray4,contrast:ft.gray1,_states:{hover:"rgba(226, 224, 231, 0.08)",selected:"rgba(226, 224, 231, 0.16)",focus:"rgba(226, 224, 231, 0.12)",focusVisible:"rgba(226, 224, 231, 0.24)",outlinedBorder:"rgba(226, 224, 231, 0.5)"}},action:{active:"rgba(256, 256, 256, 0.56)",hover:"rgba(256, 256, 256, 0.08)",selected:"rgba(256, 256, 256, 0.16)",focus:"rgba(256, 256, 256, 0.12)",disabled:"rgba(256, 256, 256, 0.38)",disabledBackground:"rgba(256, 256, 256, 0.12)"},error:{main:"#FB3B3B",dark:"#EC303A",light:"#E97177",_states:{hover:"rgba(251, 59, 59, 0.16)",selected:"rgba(251, 59, 59, 0.24)",focusVisible:"rgba(251, 59, 59, 0.24)",outlinedBorder:"rgba(251, 59, 59, 0.48)"},contrast:"#FFFFFF"},warning:{main:"#FE9C2A",dark:"#F38025",light:"#FFB95B",contrast:"#FFFFFF",_states:{hover:"rgba(244, 130, 33, 0.08)",selected:"rgba(244, 130, 33, 0.16)",focusVisible:"rgba(244, 130, 33, 0.3)",outlinedBorder:"rgba(244, 130, 33, 0.5)"}},info:{main:"#2196F3",dark:"#1A75D2",light:"#63B4F6",contrast:"#FFFFFF",_states:{hover:"rgba(33, 150, 243, 0.16)",selected:"rgba(33, 150, 243, 0.24)",focusVisible:"rgba(33, 150, 243, 0.32)",outlinedBorder:"rgba(33, 150, 243, 0.48)"}},success:{main:"#34CE77",dark:"#00B453",light:"#65D890",contrast:"#FFFFFF",_states:{hover:"rgba(52, 206, 119, 0.08)",selected:"rgba(52, 206, 119, 0.24)",focusVisible:"rgba(52, 206, 119, 0.24)",outlinedBorder:"rgba(52, 206, 119, 0.48)"}},common:{black_states:{main:ft.softBlack1,hover:"rgba(22, 21, 24, 0.08)",selected:"rgba(22, 21, 24, 0.16)",focus:"rgba(22, 21, 24, 0.12)",focusVisible:"rgba(22, 21, 24, 0.3)",outlinedBorder:"rgba(22, 21, 24, 0.5)"},white_states:{main:"rgba(255, 255, 255, 0.98)",focusVisible:"rgba(255, 255, 255, 0.16)",outlinedBorder:"rgba(255, 255, 255, 0.32)"}},background:{default:ft.softBlack1,paper:"#1D1C20"},elevation:{outlined:"rgba(255, 255, 255, 0.12)"},_components:{avatar:{fill:"#716B7C"},switch:{knobFillEnabled:"#FCFCFC",knowFillDisabled:"#716B7C"},rating:{activeFill:"#F70038"},snackbar:{fill:"#322F37"},chip:{defaultEnabledBorder:"#43404A"},tooltip:{fill:"#242129"},appBar:{defaultFill:"#2B292F"},breadcrumbs:{collapseFill:"#716B7C"},alert:{error:{color:"#F8919D",background:"rgba(204, 29, 44, 0.24)"},warning:{color:"#FFCD88",background:"rgba(236, 113, 34, 0.24)"},info:{color:"#BBDEFB",background:"rgba(23, 100, 192, 0.24)"},success:{background:"rgba(0, 161, 70, 0.24)"}}},icon:"#fff"}}};function Tt(e){return mF(e)}function WU(e){return Ot("MuiSvgIcon",e)}yt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const qU=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],GU=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Ie(t)}`,`fontSize${Ie(n)}`]};return $t(o,WU,r)},KU=He("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Ie(n.color)}`],t[`fontSize${Ie(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,p,h,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:(d=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?d:{action:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),fe=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:p="0 0 24 24"}=r,h=Me(r,qU),g=M.isValidElement(o)&&o.type==="svg",v=A({},r,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:g}),b={};u||(b.viewBox=p);const m=GU(v);return f.jsxs(KU,A({as:s,className:Ae(m.root,i),focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},b,h,g&&o.props,{ownerState:v,children:[g?o.props.children:o,d?f.jsx("title",{children:d}):null]}))});fe.muiName="SvgIcon";function Ef(e,t){function n(r,o){return f.jsx(fe,A({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=fe.muiName,M.memo(M.forwardRef(n))}const YU={configure:e=>{o5.configure(e)}},ZU=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Ie,createChainedFunction:tv,createSvgIcon:Ef,debounce:Xm,deprecatedPropType:zB,isMuiElement:WB,ownerDocument:Hn,ownerWindow:Ha,requirePropFactory:qB,setRef:yh,unstable_ClassNameGenerator:YU,unstable_useEnhancedEffect:ti,unstable_useId:RM,unsupportedProp:KB,useControlled:TM,useEventCallback:Xr,useForkRef:Pn,useIsFocusVisible:Qm},Symbol.toStringTag,{value:"Module"}));function ov(e,t){return ov=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ov(e,t)}function QM(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ov(e,t)}const d9={disabled:!1},Eh=Y.createContext(null);var XU=function(t){return t.scrollTop},zu="unmounted",us="exited",ds="entering",_l="entered",iv="exiting",ai=function(e){QM(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=o,s=a&&!a.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?s?(l=us,i.appearStatus=ds):l=_l:r.unmountOnExit||r.mountOnEnter?l=zu:l=us,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===zu?{status:us}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==ds&&a!==_l&&(i=ds):(a===ds||a===_l)&&(i=iv)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===ds){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:pp.findDOMNode(this);a&&XU(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===us&&this.setState({status:zu})},n.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[pp.findDOMNode(this),s],c=l[0],u=l[1],d=this.getTimeouts(),p=s?d.appear:d.enter;if(!o&&!a||d9.disabled){this.safeSetState({status:_l},function(){i.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:ds},function(){i.props.onEntering(c,u),i.onTransitionEnd(p,function(){i.safeSetState({status:_l},function(){i.props.onEntered(c,u)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:pp.findDOMNode(this);if(!i||d9.disabled){this.safeSetState({status:us},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:iv},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:us},function(){o.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:pp.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===zu)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=Me(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Y.createElement(Eh.Provider,{value:null},typeof a=="function"?a(o,s):Y.cloneElement(Y.Children.only(a),s))},t}(Y.Component);ai.contextType=Eh;ai.propTypes={};function cl(){}ai.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:cl,onEntering:cl,onEntered:cl,onExit:cl,onExiting:cl,onExited:cl};ai.UNMOUNTED=zu;ai.EXITED=us;ai.ENTERING=ds;ai.ENTERED=_l;ai.EXITING=iv;function JU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g5(e,t){var n=function(i){return t&&M.isValidElement(i)?t(i):i},r=Object.create(null);return e&&M.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function QU(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(r[l])for(a=0;a<r[l].length;a++){var c=r[l][a];s[r[l][a]]=n(c)}s[l]=n(l)}for(a=0;a<o.length;a++)s[o[a]]=n(o[a]);return s}function Es(e,t,n){return n[t]!=null?n[t]:e.props[t]}function eH(e,t){return g5(e.children,function(n){return M.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Es(n,"appear",e),enter:Es(n,"enter",e),exit:Es(n,"exit",e)})})}function tH(e,t,n){var r=g5(e.children),o=QU(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if(M.isValidElement(a)){var s=i in t,l=i in r,c=t[i],u=M.isValidElement(c)&&!c.props.in;l&&(!s||u)?o[i]=M.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:Es(a,"exit",e),enter:Es(a,"enter",e)}):!l&&s&&!u?o[i]=M.cloneElement(a,{in:!1}):l&&s&&M.isValidElement(c)&&(o[i]=M.cloneElement(a,{onExited:n.bind(null,a),in:c.props.in,exit:Es(a,"exit",e),enter:Es(a,"enter",e)}))}}),o}var nH=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},rH={component:"div",childFactory:function(t){return t}},y5=function(e){QM(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=i.handleExited.bind(JU(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}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,i){var a=i.children,s=i.handleExited,l=i.firstRender;return{children:l?eH(o,s):tH(o,a,s),firstRender:!1}},n.handleExited=function(o,i){var a=g5(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var l=A({},s.children);return delete l[o.key],{children:l}}))},n.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=Me(o,["component","childFactory"]),l=this.state.contextValue,c=nH(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?Y.createElement(Eh.Provider,{value:l},c):Y.createElement(Eh.Provider,{value:l},Y.createElement(i,s,c))},t}(Y.Component);y5.propTypes={};y5.defaultProps=rH;const eR=e=>e.scrollTop;function Ch(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:(n=a.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:a.transitionDelay}}function oH(e){return Ot("MuiPaper",e)}yt("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 iH=["className","component","elevation","square","variant"],aH=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return $t(i,oH,o)},sH=He("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 A({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"&&A({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Jn("#fff",Te(t.elevation))}, ${Jn("#fff",Te(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),Cf=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:l="elevation"}=r,c=Me(r,iH),u=A({},r,{component:i,elevation:a,square:s,variant:l}),d=aH(u);return f.jsx(sH,A({as:i,ownerState:u,className:Ae(d.root,o),ref:n},c))}),lH=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],cH=["component","slots","slotProps"],uH=["component"];function dH(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:s}=t,l=Me(t,lH),{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0}}=i;Me(i,cH);const p=u[e]||r,h=NM(d[e],o),g=PM(A({className:n},l,{externalForwardedProps:void 0,externalSlotProps:h})),{props:{component:v},internalRef:b}=g,m=Me(g.props,uH),y=Pn(b,h==null?void 0:h.ref,t.ref),E=a?a(m):{},w=A({},o,E),S=v,_=jl(p,A({},e==="root",!u[e]&&s,m,S&&{as:S},{ref:y}),w);return Object.keys(E).forEach(C=>{delete _[C]}),[p,_]}function fH(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[u,d]=M.useState(!1),p=Ae(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},g=Ae(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),M.useEffect(()=>{if(!s&&l!=null){const v=setTimeout(l,c);return()=>{clearTimeout(v)}}},[l,s,c]),f.jsx("span",{className:p,style:h,children:f.jsx("span",{className:g})})}const Vr=yt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),pH=["center","classes","className"];let n0=e=>e,f9,p9,h9,m9;const av=550,hH=80,mH=Xi(f9||(f9=n0`
|
|
106
|
-
0% {
|
|
107
|
-
transform: scale(0);
|
|
108
|
-
opacity: 0.1;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
100% {
|
|
112
|
-
transform: scale(1);
|
|
113
|
-
opacity: 0.3;
|
|
114
|
-
}
|
|
115
|
-
`)),gH=Xi(p9||(p9=n0`
|
|
116
|
-
0% {
|
|
117
|
-
opacity: 1;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
100% {
|
|
121
|
-
opacity: 0;
|
|
122
|
-
}
|
|
123
|
-
`)),yH=Xi(h9||(h9=n0`
|
|
124
|
-
0% {
|
|
125
|
-
transform: scale(1);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
50% {
|
|
129
|
-
transform: scale(0.92);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
100% {
|
|
133
|
-
transform: scale(1);
|
|
134
|
-
}
|
|
135
|
-
`)),vH=He("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),_H=He(fH,{name:"MuiTouchRipple",slot:"Ripple"})(m9||(m9=n0`
|
|
136
|
-
opacity: 0;
|
|
137
|
-
position: absolute;
|
|
138
|
-
|
|
139
|
-
&.${0} {
|
|
140
|
-
opacity: 0.3;
|
|
141
|
-
transform: scale(1);
|
|
142
|
-
animation-name: ${0};
|
|
143
|
-
animation-duration: ${0}ms;
|
|
144
|
-
animation-timing-function: ${0};
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&.${0} {
|
|
148
|
-
animation-duration: ${0}ms;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
& .${0} {
|
|
152
|
-
opacity: 1;
|
|
153
|
-
display: block;
|
|
154
|
-
width: 100%;
|
|
155
|
-
height: 100%;
|
|
156
|
-
border-radius: 50%;
|
|
157
|
-
background-color: currentColor;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
& .${0} {
|
|
161
|
-
opacity: 0;
|
|
162
|
-
animation-name: ${0};
|
|
163
|
-
animation-duration: ${0}ms;
|
|
164
|
-
animation-timing-function: ${0};
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
& .${0} {
|
|
168
|
-
position: absolute;
|
|
169
|
-
/* @noflip */
|
|
170
|
-
left: 0px;
|
|
171
|
-
top: 0;
|
|
172
|
-
animation-name: ${0};
|
|
173
|
-
animation-duration: 2500ms;
|
|
174
|
-
animation-timing-function: ${0};
|
|
175
|
-
animation-iteration-count: infinite;
|
|
176
|
-
animation-delay: 200ms;
|
|
177
|
-
}
|
|
178
|
-
`),Vr.rippleVisible,mH,av,({theme:e})=>e.transitions.easing.easeInOut,Vr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Vr.child,Vr.childLeaving,gH,av,({theme:e})=>e.transitions.easing.easeInOut,Vr.childPulsate,yH,({theme:e})=>e.transitions.easing.easeInOut),bH=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=r,s=Me(r,pH),[l,c]=M.useState([]),u=M.useRef(0),d=M.useRef(null);M.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const p=M.useRef(!1),h=$l(),g=M.useRef(null),v=M.useRef(null),b=M.useCallback(w=>{const{pulsate:S,rippleX:_,rippleY:C,rippleSize:R,cb:T}=w;c(I=>[...I,f.jsx(_H,{classes:{ripple:Ae(i.ripple,Vr.ripple),rippleVisible:Ae(i.rippleVisible,Vr.rippleVisible),ripplePulsate:Ae(i.ripplePulsate,Vr.ripplePulsate),child:Ae(i.child,Vr.child),childLeaving:Ae(i.childLeaving,Vr.childLeaving),childPulsate:Ae(i.childPulsate,Vr.childPulsate)},timeout:av,pulsate:S,rippleX:_,rippleY:C,rippleSize:R},u.current)]),u.current+=1,d.current=T},[i]),m=M.useCallback((w={},S={},_=()=>{})=>{const{pulsate:C=!1,center:R=o||S.pulsate,fakeElement:T=!1}=S;if((w==null?void 0:w.type)==="mousedown"&&p.current){p.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(p.current=!0);const I=T?null:v.current,D=I?I.getBoundingClientRect():{width:0,height:0,left:0,top:0};let F,q,W;if(R||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)F=Math.round(D.width/2),q=Math.round(D.height/2);else{const{clientX:Q,clientY:H}=w.touches&&w.touches.length>0?w.touches[0]:w;F=Math.round(Q-D.left),q=Math.round(H-D.top)}if(R)W=Math.sqrt((2*D.width**2+D.height**2)/3),W%2===0&&(W+=1);else{const Q=Math.max(Math.abs((I?I.clientWidth:0)-F),F)*2+2,H=Math.max(Math.abs((I?I.clientHeight:0)-q),q)*2+2;W=Math.sqrt(Q**2+H**2)}w!=null&&w.touches?g.current===null&&(g.current=()=>{b({pulsate:C,rippleX:F,rippleY:q,rippleSize:W,cb:_})},h.start(hH,()=>{g.current&&(g.current(),g.current=null)})):b({pulsate:C,rippleX:F,rippleY:q,rippleSize:W,cb:_})},[o,b,h]),y=M.useCallback(()=>{m({},{pulsate:!0})},[m]),E=M.useCallback((w,S)=>{if(h.clear(),(w==null?void 0:w.type)==="touchend"&&g.current){g.current(),g.current=null,h.start(0,()=>{E(w,S)});return}g.current=null,c(_=>_.length>0?_.slice(1):_),d.current=S},[h]);return M.useImperativeHandle(n,()=>({pulsate:y,start:m,stop:E}),[y,m,E]),f.jsx(vH,A({className:Ae(Vr.root,i.root,a),ref:v},s,{children:f.jsx(y5,{component:null,exit:!0,children:l})}))});function EH(e){return Ot("MuiButtonBase",e)}const CH=yt("MuiButtonBase",["root","disabled","focusVisible"]),SH=["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"],wH=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=$t({root:["root",t&&"disabled",n&&"focusVisible"]},EH,o);return n&&r&&(a.root+=` ${r}`),a},xH=He("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"},[`&.${CH.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Gs=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:p=!1,LinkComponent:h="a",onBlur:g,onClick:v,onContextMenu:b,onDragLeave:m,onFocus:y,onFocusVisible:E,onKeyDown:w,onKeyUp:S,onMouseDown:_,onMouseLeave:C,onMouseUp:R,onTouchEnd:T,onTouchMove:I,onTouchStart:D,tabIndex:F=0,TouchRippleProps:q,touchRippleRef:W,type:Q}=r,H=Me(r,SH),re=M.useRef(null),B=M.useRef(null),ee=Pn(B,W),{isFocusVisibleRef:$,onFocus:P,onBlur:N,ref:O}=Qm(),[x,k]=M.useState(!1);c&&x&&k(!1),M.useImperativeHandle(o,()=>({focusVisible:()=>{k(!0),re.current.focus()}}),[]);const[j,J]=M.useState(!1);M.useEffect(()=>{J(!0)},[]);const L=j&&!u&&!c;M.useEffect(()=>{x&&p&&!u&&j&&B.current.pulsate()},[u,p,x,j]);function U(ve,Et,Wn=d){return Xr(Dr=>(Et&&Et(Dr),!Wn&&B.current&&B.current[ve](Dr),!0))}const G=U("start",_),z=U("stop",b),V=U("stop",m),Z=U("stop",R),ue=U("stop",ve=>{x&&ve.preventDefault(),C&&C(ve)}),pe=U("start",D),be=U("stop",T),we=U("stop",I),ke=U("stop",ve=>{N(ve),$.current===!1&&k(!1),g&&g(ve)},!1),pt=Xr(ve=>{re.current||(re.current=ve.currentTarget),P(ve),$.current===!0&&(k(!0),E&&E(ve)),y&&y(ve)}),ye=()=>{const ve=re.current;return l&&l!=="button"&&!(ve.tagName==="A"&&ve.href)},Ge=M.useRef(!1),Ce=Xr(ve=>{p&&!Ge.current&&x&&B.current&&ve.key===" "&&(Ge.current=!0,B.current.stop(ve,()=>{B.current.start(ve)})),ve.target===ve.currentTarget&&ye()&&ve.key===" "&&ve.preventDefault(),w&&w(ve),ve.target===ve.currentTarget&&ye()&&ve.key==="Enter"&&!c&&(ve.preventDefault(),v&&v(ve))}),Ve=Xr(ve=>{p&&ve.key===" "&&B.current&&x&&!ve.defaultPrevented&&(Ge.current=!1,B.current.stop(ve,()=>{B.current.pulsate(ve)})),S&&S(ve),v&&ve.target===ve.currentTarget&&ye()&&ve.key===" "&&!ve.defaultPrevented&&v(ve)});let Ue=l;Ue==="button"&&(H.href||H.to)&&(Ue=h);const Le={};Ue==="button"?(Le.type=Q===void 0?"button":Q,Le.disabled=c):(!H.href&&!H.to&&(Le.role="button"),c&&(Le["aria-disabled"]=c));const Ht=Pn(n,O,re),Sn=A({},r,{centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:p,tabIndex:F,focusVisible:x}),zn=wH(Sn);return f.jsxs(xH,A({as:Ue,className:Ae(zn.root,s),ownerState:Sn,onBlur:ke,onClick:v,onContextMenu:z,onFocus:pt,onKeyDown:Ce,onKeyUp:Ve,onMouseDown:G,onMouseLeave:ue,onMouseUp:Z,onDragLeave:V,onTouchEnd:be,onTouchMove:we,onTouchStart:pe,ref:Ht,tabIndex:c?-1:F,type:Q},Le,H,{children:[a,L?f.jsx(bH,A({ref:ee,center:i},q)):null]}))});function MH(e){return Ot("MuiIconButton",e)}const RH=yt("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),TH=["edge","children","className","color","disabled","disableFocusRipple","size"],kH=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${Ie(r)}`,o&&`edge${Ie(o)}`,`size${Ie(i)}`]};return $t(a,MH,t)},IH=He(Gs,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Ie(n.color)}`],n.edge&&t[`edge${Ie(n.edge)}`],t[`size${Ie(n.size)}`]]}})(({theme:e,ownerState:t})=>A({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})`:Jn(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 r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return A({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&A({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":A({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Jn(r.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)},{[`&.${RH.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),hc=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=r,d=Me(r,TH),p=A({},r,{edge:o,color:s,disabled:l,disableFocusRipple:c,size:u}),h=kH(p);return f.jsx(IH,A({className:Ae(h.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:n},d,{ownerState:p,children:i}))});function LH(e){return Ot("MuiTypography",e)}yt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const OH=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],AH=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,e.align!=="inherit"&&`align${Ie(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return $t(s,LH,a)},PH=He("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${Ie(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>A({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})),g9={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},NH={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},$H=e=>NH[e]||e,bt=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTypography"}),o=$H(r.color),i=r5(A({},r,{color:o})),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:d=!1,variant:p="body1",variantMapping:h=g9}=i,g=Me(i,OH),v=A({},i,{align:a,color:o,className:s,component:l,gutterBottom:c,noWrap:u,paragraph:d,variant:p,variantMapping:h}),b=l||(d?"p":h[p]||g9[p])||"span",m=AH(v);return f.jsx(PH,A({as:b,ref:n,ownerState:v,className:Ae(m.root,s)},g))});function jH(e){return Ot("MuiAppBar",e)}yt("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const DH=["className","color","enableColorOnDark","position"],BH=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${Ie(t)}`,`position${Ie(n)}`]};return $t(o,jH,r)},vp=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,FH=He(Cf,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Ie(n.position)}`],t[`color${Ie(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return A({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&A({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&A({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&A({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:vp(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:vp(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:vp(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:vp(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),UH=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:a=!1,position:s="fixed"}=r,l=Me(r,DH),c=A({},r,{color:i,position:s,enableColorOnDark:a}),u=BH(c);return f.jsx(FH,A({square:!0,component:"header",ownerState:c,elevation:4,className:Ae(u.root,o,s==="fixed"&&"mui-fixed"),ref:n},l))});var v5={};Object.defineProperty(v5,"__esModule",{value:!0});var tR=v5.default=void 0,HH=zH(M),VH=ZM;function nR(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(nR=function(r){return r?n:t})(e)}function zH(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=nR(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function WH(e){return Object.keys(e).length===0}function qH(e=null){const t=HH.useContext(VH.ThemeContext);return!t||WH(t)?e:t}tR=v5.default=qH;var yr="top",so="bottom",lo="right",vr="left",_5="auto",Sf=[yr,so,lo,vr],mc="start",Zd="end",GH="clippingParents",rR="viewport",Su="popper",KH="reference",y9=Sf.reduce(function(e,t){return e.concat([t+"-"+mc,t+"-"+Zd])},[]),oR=[].concat(Sf,[_5]).reduce(function(e,t){return e.concat([t,t+"-"+mc,t+"-"+Zd])},[]),YH="beforeRead",ZH="read",XH="afterRead",JH="beforeMain",QH="main",eV="afterMain",tV="beforeWrite",nV="write",rV="afterWrite",oV=[YH,ZH,XH,JH,QH,eV,tV,nV,rV];function ni(e){return e?(e.nodeName||"").toLowerCase():null}function Ar(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function js(e){var t=Ar(e).Element;return e instanceof t||e instanceof Element}function to(e){var t=Ar(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function b5(e){if(typeof ShadowRoot>"u")return!1;var t=Ar(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function iV(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!to(i)||!ni(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function aV(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).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!to(o)||!ni(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const sV={name:"applyStyles",enabled:!0,phase:"write",fn:iV,effect:aV,requires:["computeStyles"]};function Qo(e){return e.split("-")[0]}var Ts=Math.max,Sh=Math.min,gc=Math.round;function sv(){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 iR(){return!/^((?!chrome|android).)*safari/i.test(sv())}function yc(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&to(e)&&(o=e.offsetWidth>0&&gc(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&gc(r.height)/e.offsetHeight||1);var a=js(e)?Ar(e):window,s=a.visualViewport,l=!iR()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/o,u=(r.top+(l&&s?s.offsetTop:0))/i,d=r.width/o,p=r.height/i;return{width:d,height:p,top:u,right:c+d,bottom:u+p,left:c,x:c,y:u}}function E5(e){var t=yc(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function aR(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&b5(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function $i(e){return Ar(e).getComputedStyle(e)}function lV(e){return["table","td","th"].indexOf(ni(e))>=0}function Ya(e){return((js(e)?e.ownerDocument:e.document)||window.document).documentElement}function r0(e){return ni(e)==="html"?e:e.assignedSlot||e.parentNode||(b5(e)?e.host:null)||Ya(e)}function v9(e){return!to(e)||$i(e).position==="fixed"?null:e.offsetParent}function cV(e){var t=/firefox/i.test(sv()),n=/Trident/i.test(sv());if(n&&to(e)){var r=$i(e);if(r.position==="fixed")return null}var o=r0(e);for(b5(o)&&(o=o.host);to(o)&&["html","body"].indexOf(ni(o))<0;){var i=$i(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function wf(e){for(var t=Ar(e),n=v9(e);n&&lV(n)&&$i(n).position==="static";)n=v9(n);return n&&(ni(n)==="html"||ni(n)==="body"&&$i(n).position==="static")?t:n||cV(e)||t}function C5(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function cd(e,t,n){return Ts(e,Sh(t,n))}function uV(e,t,n){var r=cd(e,t,n);return r>n?n:r}function sR(){return{top:0,right:0,bottom:0,left:0}}function lR(e){return Object.assign({},sR(),e)}function cR(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var dV=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,lR(typeof t!="number"?t:cR(t,Sf))};function fV(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Qo(n.placement),l=C5(s),c=[vr,lo].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var d=dV(o.padding,n),p=E5(i),h=l==="y"?yr:vr,g=l==="y"?so:lo,v=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],b=a[l]-n.rects.reference[l],m=wf(i),y=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,E=v/2-b/2,w=d[h],S=y-p[u]-d[g],_=y/2-p[u]/2+E,C=cd(w,_,S),R=l;n.modifiersData[r]=(t={},t[R]=C,t.centerOffset=C-_,t)}}function pV(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||aR(t.elements.popper,o)&&(t.elements.arrow=o))}const hV={name:"arrow",enabled:!0,phase:"main",fn:fV,effect:pV,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vc(e){return e.split("-")[1]}var mV={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gV(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:gc(n*o)/o||0,y:gc(r*o)/o||0}}function _9(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,h=p===void 0?0:p,g=a.y,v=g===void 0?0:g,b=typeof u=="function"?u({x:h,y:v}):{x:h,y:v};h=b.x,v=b.y;var m=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),E=vr,w=yr,S=window;if(c){var _=wf(n),C="clientHeight",R="clientWidth";if(_===Ar(n)&&(_=Ya(n),$i(_).position!=="static"&&s==="absolute"&&(C="scrollHeight",R="scrollWidth")),_=_,o===yr||(o===vr||o===lo)&&i===Zd){w=so;var T=d&&_===S&&S.visualViewport?S.visualViewport.height:_[C];v-=T-r.height,v*=l?1:-1}if(o===vr||(o===yr||o===so)&&i===Zd){E=lo;var I=d&&_===S&&S.visualViewport?S.visualViewport.width:_[R];h-=I-r.width,h*=l?1:-1}}var D=Object.assign({position:s},c&&mV),F=u===!0?gV({x:h,y:v},Ar(n)):{x:h,y:v};if(h=F.x,v=F.y,l){var q;return Object.assign({},D,(q={},q[w]=y?"0":"",q[E]=m?"0":"",q.transform=(S.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",q))}return Object.assign({},D,(t={},t[w]=y?v+"px":"",t[E]=m?h+"px":"",t.transform="",t))}function yV(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:Qo(t.placement),variation:vc(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,_9(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,_9(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const vV={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yV,data:{}};var _p={passive:!0};function _V(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,l=Ar(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,_p)}),s&&l.addEventListener("resize",n.update,_p),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,_p)}),s&&l.removeEventListener("resize",n.update,_p)}}const bV={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:_V,data:{}};var EV={left:"right",right:"left",bottom:"top",top:"bottom"};function C1(e){return e.replace(/left|right|bottom|top/g,function(t){return EV[t]})}var CV={start:"end",end:"start"};function b9(e){return e.replace(/start|end/g,function(t){return CV[t]})}function S5(e){var t=Ar(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function w5(e){return yc(Ya(e)).left+S5(e).scrollLeft}function SV(e,t){var n=Ar(e),r=Ya(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=iR();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+w5(e),y:l}}function wV(e){var t,n=Ya(e),r=S5(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Ts(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Ts(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+w5(e),l=-r.scrollTop;return $i(o||n).direction==="rtl"&&(s+=Ts(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function x5(e){var t=$i(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function uR(e){return["html","body","#document"].indexOf(ni(e))>=0?e.ownerDocument.body:to(e)&&x5(e)?e:uR(r0(e))}function ud(e,t){var n;t===void 0&&(t=[]);var r=uR(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Ar(r),a=o?[i].concat(i.visualViewport||[],x5(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ud(r0(a)))}function lv(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xV(e,t){var n=yc(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 E9(e,t,n){return t===rR?lv(SV(e,n)):js(t)?xV(t,n):lv(wV(Ya(e)))}function MV(e){var t=ud(r0(e)),n=["absolute","fixed"].indexOf($i(e).position)>=0,r=n&&to(e)?wf(e):e;return js(r)?t.filter(function(o){return js(o)&&aR(o,r)&&ni(o)!=="body"}):[]}function RV(e,t,n,r){var o=t==="clippingParents"?MV(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(l,c){var u=E9(e,c,r);return l.top=Ts(u.top,l.top),l.right=Sh(u.right,l.right),l.bottom=Sh(u.bottom,l.bottom),l.left=Ts(u.left,l.left),l},E9(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function dR(e){var t=e.reference,n=e.element,r=e.placement,o=r?Qo(r):null,i=r?vc(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case yr:l={x:a,y:t.y-n.height};break;case so:l={x:a,y:t.y+t.height};break;case lo:l={x:t.x+t.width,y:s};break;case vr:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?C5(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case mc:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Zd:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function Xd(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,l=s===void 0?GH:s,c=n.rootBoundary,u=c===void 0?rR:c,d=n.elementContext,p=d===void 0?Su:d,h=n.altBoundary,g=h===void 0?!1:h,v=n.padding,b=v===void 0?0:v,m=lR(typeof b!="number"?b:cR(b,Sf)),y=p===Su?KH:Su,E=e.rects.popper,w=e.elements[g?y:p],S=RV(js(w)?w:w.contextElement||Ya(e.elements.popper),l,u,a),_=yc(e.elements.reference),C=dR({reference:_,element:E,strategy:"absolute",placement:o}),R=lv(Object.assign({},E,C)),T=p===Su?R:_,I={top:S.top-T.top+m.top,bottom:T.bottom-S.bottom+m.bottom,left:S.left-T.left+m.left,right:T.right-S.right+m.right},D=e.modifiersData.offset;if(p===Su&&D){var F=D[o];Object.keys(I).forEach(function(q){var W=[lo,so].indexOf(q)>=0?1:-1,Q=[yr,so].indexOf(q)>=0?"y":"x";I[q]+=F[Q]*W})}return I}function TV(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?oR:l,u=vc(r),d=u?s?y9:y9.filter(function(g){return vc(g)===u}):Sf,p=d.filter(function(g){return c.indexOf(g)>=0});p.length===0&&(p=d);var h=p.reduce(function(g,v){return g[v]=Xd(e,{placement:v,boundary:o,rootBoundary:i,padding:a})[Qo(v)],g},{});return Object.keys(h).sort(function(g,v){return h[g]-h[v]})}function kV(e){if(Qo(e)===_5)return[];var t=C1(e);return[b9(e),t,b9(t)]}function IV(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,g=h===void 0?!0:h,v=n.allowedAutoPlacements,b=t.options.placement,m=Qo(b),y=m===b,E=l||(y||!g?[C1(b)]:kV(b)),w=[b].concat(E).reduce(function(x,k){return x.concat(Qo(k)===_5?TV(t,{placement:k,boundary:u,rootBoundary:d,padding:c,flipVariations:g,allowedAutoPlacements:v}):k)},[]),S=t.rects.reference,_=t.rects.popper,C=new Map,R=!0,T=w[0],I=0;I<w.length;I++){var D=w[I],F=Qo(D),q=vc(D)===mc,W=[yr,so].indexOf(F)>=0,Q=W?"width":"height",H=Xd(t,{placement:D,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),re=W?q?lo:vr:q?so:yr;S[Q]>_[Q]&&(re=C1(re));var B=C1(re),ee=[];if(i&&ee.push(H[F]<=0),s&&ee.push(H[re]<=0,H[B]<=0),ee.every(function(x){return x})){T=D,R=!1;break}C.set(D,ee)}if(R)for(var $=g?3:1,P=function(k){var j=w.find(function(J){var L=C.get(J);if(L)return L.slice(0,k).every(function(U){return U})});if(j)return T=j,"break"},N=$;N>0;N--){var O=P(N);if(O==="break")break}t.placement!==T&&(t.modifiersData[r]._skip=!0,t.placement=T,t.reset=!0)}}const LV={name:"flip",enabled:!0,phase:"main",fn:IV,requiresIfExists:["offset"],data:{_skip:!1}};function C9(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 S9(e){return[yr,lo,so,vr].some(function(t){return e[t]>=0})}function OV(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Xd(t,{elementContext:"reference"}),s=Xd(t,{altBoundary:!0}),l=C9(a,r),c=C9(s,o,i),u=S9(l),d=S9(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const AV={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:OV};function PV(e,t,n){var r=Qo(e),o=[vr,yr].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[vr,lo].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function NV(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=oR.reduce(function(u,d){return u[d]=PV(d,t.rects,i),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const $V={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:NV};function jV(e){var t=e.state,n=e.name;t.modifiersData[n]=dR({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const DV={name:"popperOffsets",enabled:!0,phase:"read",fn:jV,data:{}};function BV(e){return e==="x"?"y":"x"}function FV(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,h=p===void 0?!0:p,g=n.tetherOffset,v=g===void 0?0:g,b=Xd(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),m=Qo(t.placement),y=vc(t.placement),E=!y,w=C5(m),S=BV(w),_=t.modifiersData.popperOffsets,C=t.rects.reference,R=t.rects.popper,T=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,I=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(_){if(i){var q,W=w==="y"?yr:vr,Q=w==="y"?so:lo,H=w==="y"?"height":"width",re=_[w],B=re+b[W],ee=re-b[Q],$=h?-R[H]/2:0,P=y===mc?C[H]:R[H],N=y===mc?-R[H]:-C[H],O=t.elements.arrow,x=h&&O?E5(O):{width:0,height:0},k=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:sR(),j=k[W],J=k[Q],L=cd(0,C[H],x[H]),U=E?C[H]/2-$-L-j-I.mainAxis:P-L-j-I.mainAxis,G=E?-C[H]/2+$+L+J+I.mainAxis:N+L+J+I.mainAxis,z=t.elements.arrow&&wf(t.elements.arrow),V=z?w==="y"?z.clientTop||0:z.clientLeft||0:0,Z=(q=D==null?void 0:D[w])!=null?q:0,ue=re+U-Z-V,pe=re+G-Z,be=cd(h?Sh(B,ue):B,re,h?Ts(ee,pe):ee);_[w]=be,F[w]=be-re}if(s){var we,ke=w==="x"?yr:vr,pt=w==="x"?so:lo,ye=_[S],Ge=S==="y"?"height":"width",Ce=ye+b[ke],Ve=ye-b[pt],Ue=[yr,vr].indexOf(m)!==-1,Le=(we=D==null?void 0:D[S])!=null?we:0,Ht=Ue?Ce:ye-C[Ge]-R[Ge]-Le+I.altAxis,Sn=Ue?ye+C[Ge]+R[Ge]-Le-I.altAxis:Ve,zn=h&&Ue?uV(Ht,ye,Sn):cd(h?Ht:Ce,ye,h?Sn:Ve);_[S]=zn,F[S]=zn-ye}t.modifiersData[r]=F}}const UV={name:"preventOverflow",enabled:!0,phase:"main",fn:FV,requiresIfExists:["offset"]};function HV(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function VV(e){return e===Ar(e)||!to(e)?S5(e):HV(e)}function zV(e){var t=e.getBoundingClientRect(),n=gc(t.width)/e.offsetWidth||1,r=gc(t.height)/e.offsetHeight||1;return n!==1||r!==1}function WV(e,t,n){n===void 0&&(n=!1);var r=to(t),o=to(t)&&zV(t),i=Ya(t),a=yc(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((ni(t)!=="body"||x5(i))&&(s=VV(t)),to(t)?(l=yc(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=w5(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function qV(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function GV(e){var t=qV(e);return oV.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function KV(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function YV(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var w9={placement:"bottom",modifiers:[],strategy:"absolute"};function x9(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function ZV(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?w9:o;return function(s,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},w9,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},d=[],p=!1,h={state:u,setOptions:function(m){var y=typeof m=="function"?m(u.options):m;v(),u.options=Object.assign({},i,u.options,y),u.scrollParents={reference:js(s)?ud(s):s.contextElement?ud(s.contextElement):[],popper:ud(l)};var E=GV(YV([].concat(r,u.options.modifiers)));return u.orderedModifiers=E.filter(function(w){return w.enabled}),g(),h.update()},forceUpdate:function(){if(!p){var m=u.elements,y=m.reference,E=m.popper;if(x9(y,E)){u.rects={reference:WV(y,wf(E),u.options.strategy==="fixed"),popper:E5(E)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(I){return u.modifiersData[I.name]=Object.assign({},I.data)});for(var w=0;w<u.orderedModifiers.length;w++){if(u.reset===!0){u.reset=!1,w=-1;continue}var S=u.orderedModifiers[w],_=S.fn,C=S.options,R=C===void 0?{}:C,T=S.name;typeof _=="function"&&(u=_({state:u,options:R,name:T,instance:h})||u)}}}},update:KV(function(){return new Promise(function(b){h.forceUpdate(),b(u)})}),destroy:function(){v(),p=!0}};if(!x9(s,l))return h;h.setOptions(c).then(function(b){!p&&c.onFirstUpdate&&c.onFirstUpdate(b)});function g(){u.orderedModifiers.forEach(function(b){var m=b.name,y=b.options,E=y===void 0?{}:y,w=b.effect;if(typeof w=="function"){var S=w({state:u,name:m,instance:h,options:E}),_=function(){};d.push(S||_)}})}function v(){d.forEach(function(b){return b()}),d=[]}return h}}var XV=[bV,DV,vV,sV,$V,LV,UV,hV,AV],JV=ZV({defaultModifiers:XV});function QV(e){return typeof e=="function"?e():e}const fR=M.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[a,s]=M.useState(null),l=Pn(M.isValidElement(r)?r.ref:null,n);if(ti(()=>{i||s(QV(o)||document.body)},[o,i]),ti(()=>{if(a&&!i)return yh(n,a),()=>{yh(n,null)}},[n,a,i]),i){if(M.isValidElement(r)){const c={ref:l};return M.cloneElement(r,c)}return f.jsx(M.Fragment,{children:r})}return f.jsx(M.Fragment,{children:a&&U4.createPortal(r,a)})});function ez(e){return Ot("MuiPopper",e)}yt("MuiPopper",["root"]);const tz=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],nz=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function rz(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 cv(e){return typeof e=="function"?e():e}function oz(e){return e.nodeType!==void 0}const iz=e=>{const{classes:t}=e;return $t({root:["root"]},ez,t)},az={},sz=M.forwardRef(function(t,n){var r;const{anchorEl:o,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:d,popperRef:p,slotProps:h={},slots:g={},TransitionProps:v}=t,b=Me(t,tz),m=M.useRef(null),y=Pn(m,n),E=M.useRef(null),w=Pn(E,p),S=M.useRef(w);ti(()=>{S.current=w},[w]),M.useImperativeHandle(p,()=>E.current,[]);const _=rz(u,a),[C,R]=M.useState(_),[T,I]=M.useState(cv(o));M.useEffect(()=>{E.current&&E.current.forceUpdate()}),M.useEffect(()=>{o&&I(cv(o))},[o]),ti(()=>{if(!T||!c)return;const Q=B=>{R(B.placement)};let H=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:B})=>{Q(B)}}];l!=null&&(H=H.concat(l)),d&&d.modifiers!=null&&(H=H.concat(d.modifiers));const re=JV(T,m.current,A({placement:_},d,{modifiers:H}));return S.current(re),()=>{re.destroy(),S.current(null)}},[T,s,l,c,d,_]);const D={placement:C};v!==null&&(D.TransitionProps=v);const F=iz(t),q=(r=g.root)!=null?r:"div",W=Or({elementType:q,externalSlotProps:h.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:F.root});return f.jsx(q,A({},W,{children:typeof i=="function"?i(D):i}))}),lz=M.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:p=az,popperRef:h,style:g,transition:v=!1,slotProps:b={},slots:m={}}=t,y=Me(t,nz),[E,w]=M.useState(!0),S=()=>{w(!1)},_=()=>{w(!0)};if(!l&&!u&&(!v||E))return null;let C;if(i)C=i;else if(r){const I=cv(r);C=I&&oz(I)?Hn(I).body:Hn(null).body}const R=!u&&l&&(!v||E)?"none":void 0,T=v?{in:u,onEnter:S,onExited:_}:void 0;return f.jsx(fR,{disablePortal:s,container:C,children:f.jsx(sz,A({anchorEl:r,direction:a,disablePortal:s,modifiers:c,ref:n,open:v?!E:u,placement:d,popperOptions:p,popperRef:h,slotProps:b,slots:m},y,{style:A({position:"fixed",top:0,left:0,display:R},g),TransitionProps:T,children:o}))})}),cz=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],uz=He(lz,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),pR=M.forwardRef(function(t,n){var r;const o=tR(),i=Tt({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:u,disablePortal:d,keepMounted:p,modifiers:h,open:g,placement:v,popperOptions:b,popperRef:m,transition:y,slots:E,slotProps:w}=i,S=Me(i,cz),_=(r=E==null?void 0:E.root)!=null?r:l==null?void 0:l.Root,C=A({anchorEl:a,container:u,disablePortal:d,keepMounted:p,modifiers:h,open:g,placement:v,popperOptions:b,popperRef:m,transition:y},S);return f.jsx(uz,A({as:s,direction:o==null?void 0:o.direction,slots:{root:_},slotProps:w??c},C,{ref:n}))});function dz(e){return f.jsx(SB,A({},e,{defaultTheme:h5,themeId:pf}))}const fz=Ef(f.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 pz(e){return Ot("MuiAvatar",e)}yt("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const hz=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],mz=e=>{const{classes:t,variant:n,colorDefault:r}=e;return $t({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},pz,t)},gz=He("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:A({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:A({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),yz=He("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),vz=He(fz,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function _z({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=M.useState(!1);return M.useEffect(()=>{if(!n&&!r)return;i(!1);let a=!0;const s=new Image;return s.onload=()=>{a&&i("loaded")},s.onerror=()=>{a&&i("error")},s.crossOrigin=e,s.referrerPolicy=t,s.src=n,r&&(s.srcset=r),()=>{a=!1}},[e,t,n,r]),o}const bz=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiAvatar"}),{alt:o,children:i,className:a,component:s="div",slots:l={},slotProps:c={},imgProps:u,sizes:d,src:p,srcSet:h,variant:g="circular"}=r,v=Me(r,hz);let b=null;const m=_z(A({},u,{src:p,srcSet:h})),y=p||h,E=y&&m!=="error",w=A({},r,{colorDefault:!E,component:s,variant:g}),S=mz(w),[_,C]=dH("img",{className:S.img,elementType:yz,externalForwardedProps:{slots:l,slotProps:{img:A({},u,c.img)}},additionalProps:{alt:o,src:p,srcSet:h,sizes:d},ownerState:w});return E?b=f.jsx(_,A({},C)):i||i===0?b=i:y&&o?b=o[0]:b=f.jsx(vz,{ownerState:w,className:S.fallback}),f.jsx(gz,A({as:s,ownerState:w,className:Ae(S.root,a),ref:n},v,{children:b}))}),Ez=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Cz={entering:{opacity:1},entered:{opacity:1}},Sz=M.forwardRef(function(t,n){const r=fo(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:h,onExited:g,onExiting:v,style:b,timeout:m=o,TransitionComponent:y=ai}=t,E=Me(t,Ez),w=M.useRef(null),S=Pn(w,s.ref,n),_=W=>Q=>{if(W){const H=w.current;Q===void 0?W(H):W(H,Q)}},C=_(p),R=_((W,Q)=>{eR(W);const H=Ch({style:b,timeout:m,easing:l},{mode:"enter"});W.style.webkitTransition=r.transitions.create("opacity",H),W.style.transition=r.transitions.create("opacity",H),u&&u(W,Q)}),T=_(d),I=_(v),D=_(W=>{const Q=Ch({style:b,timeout:m,easing:l},{mode:"exit"});W.style.webkitTransition=r.transitions.create("opacity",Q),W.style.transition=r.transitions.create("opacity",Q),h&&h(W)}),F=_(g),q=W=>{i&&i(w.current,W)};return f.jsx(y,A({appear:a,in:c,nodeRef:w,onEnter:R,onEntered:T,onEntering:C,onExit:D,onExited:F,onExiting:I,addEndListener:q,timeout:m},E,{children:(W,Q)=>M.cloneElement(s,A({style:A({opacity:0,visibility:W==="exited"&&!c?"hidden":void 0},Cz[W],b,s.props.style),ref:S},Q))}))});function wz(e){return Ot("MuiBackdrop",e)}yt("MuiBackdrop",["root","invisible"]);const xz=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Mz=e=>{const{classes:t,invisible:n}=e;return $t({root:["root",n&&"invisible"]},wz,t)},Rz=He("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>A({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),Tz=M.forwardRef(function(t,n){var r,o,i;const a=Tt({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:c="div",components:u={},componentsProps:d={},invisible:p=!1,open:h,slotProps:g={},slots:v={},TransitionComponent:b=Sz,transitionDuration:m}=a,y=Me(a,xz),E=A({},a,{component:c,invisible:p}),w=Mz(E),S=(r=g.root)!=null?r:d.root;return f.jsx(b,A({in:h,timeout:m},y,{children:f.jsx(Rz,A({"aria-hidden":!0},S,{as:(o=(i=v.root)!=null?i:u.Root)!=null?o:c,className:Ae(w.root,l,S==null?void 0:S.className),ownerState:A({},E,S==null?void 0:S.ownerState),classes:w,ref:n,children:s}))}))});function kz(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,i=LM({badgeContent:t,max:r});let a=n;n===!1&&t===0&&!o&&(a=!0);const{badgeContent:s,max:l=r}=a?i:e,c=s&&Number(s)>l?`${l}+`:s;return{badgeContent:s,invisible:a,max:l,displayValue:c}}function Iz(e){return Ot("MuiBadge",e)}const na=yt("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),Lz=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Pg=10,Ng=4,Oz=e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:i,classes:a={}}=e,s={root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${Ie(n.vertical)}${Ie(n.horizontal)}`,`anchorOrigin${Ie(n.vertical)}${Ie(n.horizontal)}${Ie(o)}`,`overlap${Ie(o)}`,t!=="default"&&`color${Ie(t)}`]};return $t(s,Iz,a)},Az=He("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Pz=He("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Ie(n.anchorOrigin.vertical)}${Ie(n.anchorOrigin.horizontal)}${Ie(n.overlap)}`],n.color!=="default"&&t[`color${Ie(n.color)}`],n.invisible&&t.invisible]}})(({theme:e})=>{var t;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:Pg*2,lineHeight:1,padding:"0 6px",height:Pg*2,borderRadius:Pg,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r,o;return((r=e.vars)!=null?r:e).palette[n].main&&((o=e.vars)!=null?o:e).palette[n].contrastText}).map(n=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText}})),{props:{variant:"dot"},style:{borderRadius:Ng,height:Ng*2,minWidth:Ng*2,padding:0}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="top"&&n.anchorOrigin.horizontal==="right"&&n.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${na.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="bottom"&&n.anchorOrigin.horizontal==="right"&&n.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${na.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="top"&&n.anchorOrigin.horizontal==="left"&&n.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${na.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="bottom"&&n.anchorOrigin.horizontal==="left"&&n.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${na.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="top"&&n.anchorOrigin.horizontal==="right"&&n.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${na.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="bottom"&&n.anchorOrigin.horizontal==="right"&&n.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${na.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="top"&&n.anchorOrigin.horizontal==="left"&&n.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${na.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:n})=>n.anchorOrigin.vertical==="bottom"&&n.anchorOrigin.horizontal==="left"&&n.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${na.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}}),M5=M.forwardRef(function(t,n){var r,o,i,a,s,l;const c=Tt({props:t,name:"MuiBadge"}),{anchorOrigin:u={vertical:"top",horizontal:"right"},className:d,component:p,components:h={},componentsProps:g={},children:v,overlap:b="rectangular",color:m="default",invisible:y=!1,max:E=99,badgeContent:w,slots:S,slotProps:_,showZero:C=!1,variant:R="standard"}=c,T=Me(c,Lz),{badgeContent:I,invisible:D,max:F,displayValue:q}=kz({max:E,invisible:y,badgeContent:w,showZero:C}),W=LM({anchorOrigin:u,color:m,overlap:b,variant:R,badgeContent:w}),Q=D||I==null&&R!=="dot",{color:H=m,overlap:re=b,anchorOrigin:B=u,variant:ee=R}=Q?W:c,$=ee!=="dot"?q:void 0,P=A({},c,{badgeContent:I,invisible:Q,max:F,displayValue:$,showZero:C,anchorOrigin:B,color:H,overlap:re,variant:ee}),N=Oz(P),O=(r=(o=S==null?void 0:S.root)!=null?o:h.Root)!=null?r:Az,x=(i=(a=S==null?void 0:S.badge)!=null?a:h.Badge)!=null?i:Pz,k=(s=_==null?void 0:_.root)!=null?s:g.root,j=(l=_==null?void 0:_.badge)!=null?l:g.badge,J=Or({elementType:O,externalSlotProps:k,externalForwardedProps:T,additionalProps:{ref:n,as:p},ownerState:P,className:Ae(k==null?void 0:k.className,N.root,d)}),L=Or({elementType:x,externalSlotProps:j,ownerState:P,className:Ae(N.badge,j==null?void 0:j.className)});return f.jsxs(O,A({},J,{children:[v,f.jsx(x,A({},L,{children:$}))]}))}),Nz=yt("MuiBox",["root"]),$z=_h(),Ne=kB({themeId:pf,defaultTheme:$z,defaultClassName:Nz.root,generateClassName:o5.generate});function jz(e){return Ot("MuiButton",e)}const bp=yt("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"]),Dz=M.createContext({}),Bz=M.createContext(void 0),Fz=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Uz=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${Ie(t)}`,`size${Ie(o)}`,`${i}Size${Ie(o)}`,`color${Ie(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Ie(o)}`],endIcon:["icon","endIcon",`iconSize${Ie(o)}`]},l=$t(s,jz,a);return A({},a,l)},hR=e=>A({},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}}),Hz=He(Gs,{shouldForwardProp:e=>t0(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ie(n.color)}`],t[`size${Ie(n.size)}`],t[`${n.variant}Size${Ie(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return A({},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":A({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Jn(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})`:Jn(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})`:Jn(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:i,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":A({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${bp.focusVisible}`]:A({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${bp.disabled}`]:A({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},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 ${Jn(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,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"},[`&.${bp.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${bp.disabled}`]:{boxShadow:"none"}}),Vz=He("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Ie(n.size)}`]]}})(({ownerState:e})=>A({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},hR(e))),zz=He("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Ie(n.size)}`]]}})(({ownerState:e})=>A({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},hR(e))),Ji=M.forwardRef(function(t,n){const r=M.useContext(Dz),o=M.useContext(Bz),i=Gd(r,t),a=Tt({props:i,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:u,disabled:d=!1,disableElevation:p=!1,disableFocusRipple:h=!1,endIcon:g,focusVisibleClassName:v,fullWidth:b=!1,size:m="medium",startIcon:y,type:E,variant:w="text"}=a,S=Me(a,Fz),_=A({},a,{color:l,component:c,disabled:d,disableElevation:p,disableFocusRipple:h,fullWidth:b,size:m,type:E,variant:w}),C=Uz(_),R=y&&f.jsx(Vz,{className:C.startIcon,ownerState:_,children:y}),T=g&&f.jsx(zz,{className:C.endIcon,ownerState:_,children:g}),I=o||"";return f.jsxs(Hz,A({ownerState:_,className:Ae(r.className,C.root,u,I),component:c,disabled:d,focusRipple:!h,focusVisibleClassName:Ae(C.focusVisible,v),ref:n,type:E},S,{classes:C,children:[R,s,T]}))});function Wz(e){return Ot("MuiCircularProgress",e)}yt("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const qz=["className","color","disableShrink","size","style","thickness","value","variant"];let o0=e=>e,M9,R9,T9,k9;const ra=44,Gz=Xi(M9||(M9=o0`
|
|
179
|
-
0% {
|
|
180
|
-
transform: rotate(0deg);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
100% {
|
|
184
|
-
transform: rotate(360deg);
|
|
185
|
-
}
|
|
186
|
-
`)),Kz=Xi(R9||(R9=o0`
|
|
187
|
-
0% {
|
|
188
|
-
stroke-dasharray: 1px, 200px;
|
|
189
|
-
stroke-dashoffset: 0;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
50% {
|
|
193
|
-
stroke-dasharray: 100px, 200px;
|
|
194
|
-
stroke-dashoffset: -15px;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
100% {
|
|
198
|
-
stroke-dasharray: 100px, 200px;
|
|
199
|
-
stroke-dashoffset: -125px;
|
|
200
|
-
}
|
|
201
|
-
`)),Yz=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${Ie(r)}`],svg:["svg"],circle:["circle",`circle${Ie(n)}`,o&&"circleDisableShrink"]};return $t(i,Wz,t)},Zz=He("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Ie(n.color)}`]]}})(({ownerState:e,theme:t})=>A({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"&&fc(T9||(T9=o0`
|
|
202
|
-
animation: ${0} 1.4s linear infinite;
|
|
203
|
-
`),Gz)),Xz=He("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Jz=He("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Ie(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>A({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&&fc(k9||(k9=o0`
|
|
204
|
-
animation: ${0} 1.4s ease-in-out infinite;
|
|
205
|
-
`),Kz)),wh=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:u=0,variant:d="indeterminate"}=r,p=Me(r,qz),h=A({},r,{color:i,disableShrink:a,size:s,thickness:c,value:u,variant:d}),g=Yz(h),v={},b={},m={};if(d==="determinate"){const y=2*Math.PI*((ra-c)/2);v.strokeDasharray=y.toFixed(3),m["aria-valuenow"]=Math.round(u),v.strokeDashoffset=`${((100-u)/100*y).toFixed(3)}px`,b.transform="rotate(-90deg)"}return f.jsx(Zz,A({className:Ae(g.root,o),style:A({width:s,height:s},b,l),ownerState:h,ref:n,role:"progressbar"},m,p,{children:f.jsx(Xz,{className:g.svg,ownerState:h,viewBox:`${ra/2} ${ra/2} ${ra} ${ra}`,children:f.jsx(Jz,{className:g.circle,style:v,ownerState:h,cx:ra,cy:ra,r:(ra-c)/2,fill:"none",strokeWidth:c})})}))}),Qz=(e,t)=>A({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),eW=e=>A({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),tW=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([a,s])=>{var l;r[e.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:(l=s.palette)==null?void 0:l.mode}});let o=A({html:Qz(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:A({margin:0},eW(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const i=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return i&&(o=[o,i]),o};function nW(e){const t=Tt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return f.jsxs(M.Fragment,{children:[f.jsx(dz,{styles:o=>tW(o,r)}),n]})}function rW(e){const t=Hn(e);return t.body===e?Ha(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function dd(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function I9(e){return parseInt(Ha(e).getComputedStyle(e).paddingRight,10)||0}function oW(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function L9(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const s=i.indexOf(a)===-1,l=!oW(a);s&&l&&dd(a,o)})}function $g(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function iW(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(rW(r)){const a=kM(Hn(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${I9(r)+a}px`;const s=Hn(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${I9(l)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Hn(r).body;else{const a=r.parentElement,s=Ha(r);i=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:a,property:s})=>{i?a.style.setProperty(s,i):a.style.removeProperty(s)})}}function aW(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class sW{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&dd(t.modalRef,!1);const o=aW(n);L9(n,t.mount,t.modalRef,o,!0);const i=$g(this.containers,a=>a.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=$g(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=iW(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=$g(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&dd(t.modalRef,n),L9(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&dd(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const lW=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function cW(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function uW(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function dW(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||uW(e))}function fW(e){const t=[],n=[];return Array.from(e.querySelectorAll(lW)).forEach((r,o)=>{const i=cW(r);i===-1||!dW(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function pW(){return!0}function hW(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=fW,isEnabled:a=pW,open:s}=e,l=M.useRef(!1),c=M.useRef(null),u=M.useRef(null),d=M.useRef(null),p=M.useRef(null),h=M.useRef(!1),g=M.useRef(null),v=Pn(t.ref,g),b=M.useRef(null);M.useEffect(()=>{!s||!g.current||(h.current=!n)},[n,s]),M.useEffect(()=>{if(!s||!g.current)return;const E=Hn(g.current);return g.current.contains(E.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),h.current&&g.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[s]),M.useEffect(()=>{if(!s||!g.current)return;const E=Hn(g.current),w=C=>{b.current=C,!(r||!a()||C.key!=="Tab")&&E.activeElement===g.current&&C.shiftKey&&(l.current=!0,u.current&&u.current.focus())},S=()=>{const C=g.current;if(C===null)return;if(!E.hasFocus()||!a()||l.current){l.current=!1;return}if(C.contains(E.activeElement)||r&&E.activeElement!==c.current&&E.activeElement!==u.current)return;if(E.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!h.current)return;let R=[];if((E.activeElement===c.current||E.activeElement===u.current)&&(R=i(g.current)),R.length>0){var T,I;const D=!!((T=b.current)!=null&&T.shiftKey&&((I=b.current)==null?void 0:I.key)==="Tab"),F=R[0],q=R[R.length-1];typeof F!="string"&&typeof q!="string"&&(D?q.focus():F.focus())}else C.focus()};E.addEventListener("focusin",S),E.addEventListener("keydown",w,!0);const _=setInterval(()=>{E.activeElement&&E.activeElement.tagName==="BODY"&&S()},50);return()=>{clearInterval(_),E.removeEventListener("focusin",S),E.removeEventListener("keydown",w,!0)}},[n,r,o,a,s,i]);const m=E=>{d.current===null&&(d.current=E.relatedTarget),h.current=!0,p.current=E.target;const w=t.props.onFocus;w&&w(E)},y=E=>{d.current===null&&(d.current=E.relatedTarget),h.current=!0};return f.jsxs(M.Fragment,{children:[f.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),M.cloneElement(t,{ref:v,onFocus:m}),f.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})}function mW(e){return typeof e=="function"?e():e}function gW(e){return e?e.props.hasOwnProperty("in"):!1}const yW=new sW;function vW(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=yW,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:d}=e,p=M.useRef({}),h=M.useRef(null),g=M.useRef(null),v=Pn(g,d),[b,m]=M.useState(!u),y=gW(l);let E=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(E=!1);const w=()=>Hn(h.current),S=()=>(p.current.modalRef=g.current,p.current.mount=h.current,p.current),_=()=>{o.mount(S(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},C=Xr(()=>{const H=mW(t)||w().body;o.add(S(),H),g.current&&_()}),R=M.useCallback(()=>o.isTopModal(S()),[o]),T=Xr(H=>{h.current=H,H&&(u&&R()?_():g.current&&dd(g.current,E))}),I=M.useCallback(()=>{o.remove(S(),E)},[E,o]);M.useEffect(()=>()=>{I()},[I]),M.useEffect(()=>{u?C():(!y||!i)&&I()},[u,I,y,i,C]);const D=H=>re=>{var B;(B=H.onKeyDown)==null||B.call(H,re),!(re.key!=="Escape"||re.which===229||!R())&&(n||(re.stopPropagation(),c&&c(re,"escapeKeyDown")))},F=H=>re=>{var B;(B=H.onClick)==null||B.call(H,re),re.target===re.currentTarget&&c&&c(re,"backdropClick")};return{getRootProps:(H={})=>{const re=AM(e);delete re.onTransitionEnter,delete re.onTransitionExited;const B=A({},re,H);return A({role:"presentation"},B,{onKeyDown:D(B),ref:v})},getBackdropProps:(H={})=>{const re=H;return A({"aria-hidden":!0},re,{onClick:F(re),open:u})},getTransitionProps:()=>{const H=()=>{m(!1),a&&a()},re=()=>{m(!0),s&&s(),i&&I()};return{onEnter:tv(H,l==null?void 0:l.props.onEnter),onExited:tv(re,l==null?void 0:l.props.onExited)}},rootRef:v,portalRef:T,isTopModal:R,exited:b,hasTransition:y}}function _W(e){return Ot("MuiModal",e)}yt("MuiModal",["root","hidden","backdrop"]);const bW=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],EW=e=>{const{open:t,exited:n,classes:r}=e;return $t({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},_W,r)},CW=He("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>A({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),SW=He(Tz,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),i0=M.forwardRef(function(t,n){var r,o,i,a,s,l;const c=Tt({name:"MuiModal",props:t}),{BackdropComponent:u=SW,BackdropProps:d,className:p,closeAfterTransition:h=!1,children:g,container:v,component:b,components:m={},componentsProps:y={},disableAutoFocus:E=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:S=!1,disablePortal:_=!1,disableRestoreFocus:C=!1,disableScrollLock:R=!1,hideBackdrop:T=!1,keepMounted:I=!1,onBackdropClick:D,open:F,slotProps:q,slots:W}=c,Q=Me(c,bW),H=A({},c,{closeAfterTransition:h,disableAutoFocus:E,disableEnforceFocus:w,disableEscapeKeyDown:S,disablePortal:_,disableRestoreFocus:C,disableScrollLock:R,hideBackdrop:T,keepMounted:I}),{getRootProps:re,getBackdropProps:B,getTransitionProps:ee,portalRef:$,isTopModal:P,exited:N,hasTransition:O}=vW(A({},H,{rootRef:n})),x=A({},H,{exited:N}),k=EW(x),j={};if(g.props.tabIndex===void 0&&(j.tabIndex="-1"),O){const{onEnter:Z,onExited:ue}=ee();j.onEnter=Z,j.onExited=ue}const J=(r=(o=W==null?void 0:W.root)!=null?o:m.Root)!=null?r:CW,L=(i=(a=W==null?void 0:W.backdrop)!=null?a:m.Backdrop)!=null?i:u,U=(s=q==null?void 0:q.root)!=null?s:y.root,G=(l=q==null?void 0:q.backdrop)!=null?l:y.backdrop,z=Or({elementType:J,externalSlotProps:U,externalForwardedProps:Q,getSlotProps:re,additionalProps:{ref:n,as:b},ownerState:x,className:Ae(p,U==null?void 0:U.className,k==null?void 0:k.root,!x.open&&x.exited&&(k==null?void 0:k.hidden))}),V=Or({elementType:L,externalSlotProps:G,additionalProps:d,getSlotProps:Z=>B(A({},Z,{onClick:ue=>{D&&D(ue),Z!=null&&Z.onClick&&Z.onClick(ue)}})),className:Ae(G==null?void 0:G.className,d==null?void 0:d.className,k==null?void 0:k.backdrop),ownerState:x});return!I&&!F&&(!O||N)?null:f.jsx(fR,{ref:$,container:v,disablePortal:_,children:f.jsxs(J,A({},z,{children:[!T&&u?f.jsx(L,A({},V)):null,f.jsx(hW,{disableEnforceFocus:w,disableAutoFocus:E,disableRestoreFocus:C,isEnabled:P,open:F,children:M.cloneElement(g,j)})]}))})}),O9=yt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),wW=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function uv(e){return`scale(${e}, ${e**2})`}const xW={entering:{opacity:1,transform:uv(1)},entered:{opacity:1,transform:"none"}},jg=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),xh=M.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:p,onExiting:h,style:g,timeout:v="auto",TransitionComponent:b=ai}=t,m=Me(t,wW),y=$l(),E=M.useRef(),w=fo(),S=M.useRef(null),_=Pn(S,i.ref,n),C=Q=>H=>{if(Q){const re=S.current;H===void 0?Q(re):Q(re,H)}},R=C(u),T=C((Q,H)=>{eR(Q);const{duration:re,delay:B,easing:ee}=Ch({style:g,timeout:v,easing:a},{mode:"enter"});let $;v==="auto"?($=w.transitions.getAutoHeightDuration(Q.clientHeight),E.current=$):$=re,Q.style.transition=[w.transitions.create("opacity",{duration:$,delay:B}),w.transitions.create("transform",{duration:jg?$:$*.666,delay:B,easing:ee})].join(","),l&&l(Q,H)}),I=C(c),D=C(h),F=C(Q=>{const{duration:H,delay:re,easing:B}=Ch({style:g,timeout:v,easing:a},{mode:"exit"});let ee;v==="auto"?(ee=w.transitions.getAutoHeightDuration(Q.clientHeight),E.current=ee):ee=H,Q.style.transition=[w.transitions.create("opacity",{duration:ee,delay:re}),w.transitions.create("transform",{duration:jg?ee:ee*.666,delay:jg?re:re||ee*.333,easing:B})].join(","),Q.style.opacity=0,Q.style.transform=uv(.75),d&&d(Q)}),q=C(p),W=Q=>{v==="auto"&&y.start(E.current||0,Q),r&&r(S.current,Q)};return f.jsx(b,A({appear:o,in:s,nodeRef:S,onEnter:T,onEntered:I,onEntering:R,onExit:F,onExited:q,onExiting:D,addEndListener:W,timeout:v==="auto"?null:v},m,{children:(Q,H)=>M.cloneElement(i,A({style:A({opacity:0,transform:uv(.75),visibility:Q==="exited"&&!s?"hidden":void 0},xW[Q],g,i.props.style),ref:_},H))}))});xh.muiSupportAuto=!0;function MW(e){return Ot("MuiLink",e)}const RW=yt("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),mR={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},TW=e=>mR[e]||e,kW=({theme:e,ownerState:t})=>{const n=TW(t.color),r=pc(e,`palette.${n}`,!1)||t.color,o=pc(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Jn(r,.4)},IW=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],LW=e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${Ie(o)}`,n==="button"&&"button",r&&"focusVisible"]};return $t(i,MW,t)},OW=He(bt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Ie(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>A({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&A({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:kW({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${RW.focusVisible}`]:{outline:"auto"}})),bn=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiLink"}),{className:o,color:i="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:c,underline:u="always",variant:d="inherit",sx:p}=r,h=Me(r,IW),{isFocusVisibleRef:g,onBlur:v,onFocus:b,ref:m}=Qm(),[y,E]=M.useState(!1),w=Pn(n,m),S=T=>{v(T),g.current===!1&&E(!1),s&&s(T)},_=T=>{b(T),g.current===!0&&E(!0),l&&l(T)},C=A({},r,{color:i,component:a,focusVisible:y,underline:u,variant:d}),R=LW(C);return f.jsx(OW,A({color:i,className:Ae(R.root,o),classes:c,component:a,onBlur:S,onFocus:_,ref:w,ownerState:C,variant:d,sx:[...Object.keys(mR).includes(i)?[]:[{color:i}],...Array.isArray(p)?p:[p]]},h))}),Mh=M.createContext({});function AW(e){return Ot("MuiList",e)}yt("MuiList",["root","padding","dense","subheader"]);const PW=["children","className","component","dense","disablePadding","subheader"],NW=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return $t({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},AW,t)},$W=He("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>A({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),jW=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=r,u=Me(r,PW),d=M.useMemo(()=>({dense:s}),[s]),p=A({},r,{component:a,dense:s,disablePadding:l}),h=NW(p);return f.jsx(Mh.Provider,{value:d,children:f.jsxs($W,A({as:a,className:Ae(h.root,i),ref:n,ownerState:p},u,{children:[c,o]}))})});function DW(e){return Ot("MuiListItemIcon",e)}const A9=yt("MuiListItemIcon",["root","alignItemsFlexStart"]),BW=["className"],FW=e=>{const{alignItems:t,classes:n}=e;return $t({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},DW,n)},UW=He("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>A({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),HW=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiListItemIcon"}),{className:o}=r,i=Me(r,BW),a=M.useContext(Mh),s=A({},r,{alignItems:a.alignItems}),l=FW(s);return f.jsx(UW,A({className:Ae(l.root,o),ownerState:s,ref:n},i))}),P9=yt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),VW=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Dg(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function N9(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function gR(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function wu(e,t,n,r,o,i){let a=!1,s=o(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!gR(s,i)||l)s=o(e,s,n);else return s.focus(),!0}return!1}const zW=M.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=t,p=Me(t,VW),h=M.useRef(null),g=M.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ti(()=>{o&&h.current.focus()},[o]),M.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(E,{direction:w})=>{const S=!h.current.style.width;if(E.clientHeight<h.current.clientHeight&&S){const _=`${kM(Hn(E))}px`;h.current.style[w==="rtl"?"paddingLeft":"paddingRight"]=_,h.current.style.width=`calc(100% + ${_})`}return h.current}}),[]);const v=E=>{const w=h.current,S=E.key,_=Hn(w).activeElement;if(S==="ArrowDown")E.preventDefault(),wu(w,_,c,l,Dg);else if(S==="ArrowUp")E.preventDefault(),wu(w,_,c,l,N9);else if(S==="Home")E.preventDefault(),wu(w,null,c,l,Dg);else if(S==="End")E.preventDefault(),wu(w,null,c,l,N9);else if(S.length===1){const C=g.current,R=S.toLowerCase(),T=performance.now();C.keys.length>0&&(T-C.lastTime>500?(C.keys=[],C.repeating=!0,C.previousKeyMatched=!0):C.repeating&&R!==C.keys[0]&&(C.repeating=!1)),C.lastTime=T,C.keys.push(R);const I=_&&!C.repeating&&gR(_,C);C.previousKeyMatched&&(I||wu(w,_,!1,l,Dg,C))?E.preventDefault():C.previousKeyMatched=!1}u&&u(E)},b=Pn(h,n);let m=-1;M.Children.forEach(a,(E,w)=>{if(!M.isValidElement(E)){m===w&&(m+=1,m>=a.length&&(m=-1));return}E.props.disabled||(d==="selectedMenu"&&E.props.selected||m===-1)&&(m=w),m===w&&(E.props.disabled||E.props.muiSkipListHighlight||E.type.muiSkipListHighlight)&&(m+=1,m>=a.length&&(m=-1))});const y=M.Children.map(a,(E,w)=>{if(w===m){const S={};return i&&(S.autoFocus=!0),E.props.tabIndex===void 0&&d==="selectedMenu"&&(S.tabIndex=0),M.cloneElement(E,S)}return E});return f.jsx(jW,A({role:"menu",ref:b,className:s,onKeyDown:v,tabIndex:o?0:-1},p,{children:y}))});function WW(e){return Ot("MuiPopover",e)}yt("MuiPopover",["root","paper"]);const qW=["onEntering"],GW=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],KW=["slotProps"];function $9(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function j9(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function D9(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Bg(e){return typeof e=="function"?e():e}const YW=e=>{const{classes:t}=e;return $t({root:["root"],paper:["paper"]},WW,t)},ZW=He(i0,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),yR=He(Cf,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),XW=M.forwardRef(function(t,n){var r,o,i;const a=Tt({props:t,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:p,className:h,container:g,elevation:v=8,marginThreshold:b=16,open:m,PaperProps:y={},slots:E,slotProps:w,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:_=xh,transitionDuration:C="auto",TransitionProps:{onEntering:R}={},disableScrollLock:T=!1}=a,I=Me(a.TransitionProps,qW),D=Me(a,GW),F=(r=w==null?void 0:w.paper)!=null?r:y,q=M.useRef(),W=Pn(q,F.ref),Q=A({},a,{anchorOrigin:c,anchorReference:d,elevation:v,marginThreshold:b,externalPaperSlotProps:F,transformOrigin:S,TransitionComponent:_,transitionDuration:C,TransitionProps:I}),H=YW(Q),re=M.useCallback(()=>{if(d==="anchorPosition")return u;const Z=Bg(l),pe=(Z&&Z.nodeType===1?Z:Hn(q.current).body).getBoundingClientRect();return{top:pe.top+$9(pe,c.vertical),left:pe.left+j9(pe,c.horizontal)}},[l,c.horizontal,c.vertical,u,d]),B=M.useCallback(Z=>({vertical:$9(Z,S.vertical),horizontal:j9(Z,S.horizontal)}),[S.horizontal,S.vertical]),ee=M.useCallback(Z=>{const ue={width:Z.offsetWidth,height:Z.offsetHeight},pe=B(ue);if(d==="none")return{top:null,left:null,transformOrigin:D9(pe)};const be=re();let we=be.top-pe.vertical,ke=be.left-pe.horizontal;const pt=we+ue.height,ye=ke+ue.width,Ge=Ha(Bg(l)),Ce=Ge.innerHeight-b,Ve=Ge.innerWidth-b;if(b!==null&&we<b){const Ue=we-b;we-=Ue,pe.vertical+=Ue}else if(b!==null&&pt>Ce){const Ue=pt-Ce;we-=Ue,pe.vertical+=Ue}if(b!==null&&ke<b){const Ue=ke-b;ke-=Ue,pe.horizontal+=Ue}else if(ye>Ve){const Ue=ye-Ve;ke-=Ue,pe.horizontal+=Ue}return{top:`${Math.round(we)}px`,left:`${Math.round(ke)}px`,transformOrigin:D9(pe)}},[l,d,re,B,b]),[$,P]=M.useState(m),N=M.useCallback(()=>{const Z=q.current;if(!Z)return;const ue=ee(Z);ue.top!==null&&(Z.style.top=ue.top),ue.left!==null&&(Z.style.left=ue.left),Z.style.transformOrigin=ue.transformOrigin,P(!0)},[ee]);M.useEffect(()=>(T&&window.addEventListener("scroll",N),()=>window.removeEventListener("scroll",N)),[l,T,N]);const O=(Z,ue)=>{R&&R(Z,ue),N()},x=()=>{P(!1)};M.useEffect(()=>{m&&N()}),M.useImperativeHandle(s,()=>m?{updatePosition:()=>{N()}}:null,[m,N]),M.useEffect(()=>{if(!m)return;const Z=Xm(()=>{N()}),ue=Ha(l);return ue.addEventListener("resize",Z),()=>{Z.clear(),ue.removeEventListener("resize",Z)}},[l,m,N]);let k=C;C==="auto"&&!_.muiSupportAuto&&(k=void 0);const j=g||(l?Hn(Bg(l)).body:void 0),J=(o=E==null?void 0:E.root)!=null?o:ZW,L=(i=E==null?void 0:E.paper)!=null?i:yR,U=Or({elementType:L,externalSlotProps:A({},F,{style:$?F.style:A({},F.style,{opacity:0})}),additionalProps:{elevation:v,ref:W},ownerState:Q,className:Ae(H.paper,F==null?void 0:F.className)}),G=Or({elementType:J,externalSlotProps:(w==null?void 0:w.root)||{},externalForwardedProps:D,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:j,open:m},ownerState:Q,className:Ae(H.root,h)}),{slotProps:z}=G,V=Me(G,KW);return f.jsx(J,A({},V,!OM(J)&&{slotProps:z,disableScrollLock:T},{children:f.jsx(_,A({appear:!0,in:m,onEntering:O,onExited:x,timeout:k},I,{children:f.jsx(L,A({},U,{children:p}))}))}))});function JW(e){return Ot("MuiMenu",e)}yt("MuiMenu",["root","paper","list"]);const QW=["onEntering"],eq=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],tq={vertical:"top",horizontal:"right"},nq={vertical:"top",horizontal:"left"},rq=e=>{const{classes:t}=e;return $t({root:["root"],paper:["paper"],list:["list"]},JW,t)},oq=He(XW,{shouldForwardProp:e=>t0(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),iq=He(yR,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),aq=He(zW,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),vR=M.forwardRef(function(t,n){var r,o;const i=Tt({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:d,open:p,PaperProps:h={},PopoverClasses:g,transitionDuration:v="auto",TransitionProps:{onEntering:b}={},variant:m="selectedMenu",slots:y={},slotProps:E={}}=i,w=Me(i.TransitionProps,QW),S=Me(i,eq),_=e0(),C=A({},i,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:u,onEntering:b,PaperProps:h,transitionDuration:v,TransitionProps:w,variant:m}),R=rq(C),T=a&&!c&&p,I=M.useRef(null),D=(B,ee)=>{I.current&&I.current.adjustStyleForScrollbar(B,{direction:_?"rtl":"ltr"}),b&&b(B,ee)},F=B=>{B.key==="Tab"&&(B.preventDefault(),d&&d(B,"tabKeyDown"))};let q=-1;M.Children.map(s,(B,ee)=>{M.isValidElement(B)&&(B.props.disabled||(m==="selectedMenu"&&B.props.selected||q===-1)&&(q=ee))});const W=(r=y.paper)!=null?r:iq,Q=(o=E.paper)!=null?o:h,H=Or({elementType:y.root,externalSlotProps:E.root,ownerState:C,className:[R.root,l]}),re=Or({elementType:W,externalSlotProps:Q,ownerState:C,className:R.paper});return f.jsx(oq,A({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?tq:nq,slots:{paper:W,root:y.root},slotProps:{root:H,paper:re},open:p,ref:n,transitionDuration:v,TransitionProps:A({onEntering:D},w),ownerState:C},S,{classes:g,children:f.jsx(aq,A({onKeyDown:F,actions:I,autoFocus:a&&(q===-1||c),autoFocusItem:T,variant:m},u,{className:Ae(R.list,u.className),children:s}))}))});function sq(e){return Ot("MuiMenuItem",e)}const xu=yt("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),lq=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],cq=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},uq=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e,l=$t({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},sq,a);return A({},a,l)},dq=He(Gs,{shouldForwardProp:e=>t0(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:cq})(({theme:e,ownerState:t})=>A({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${xu.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Jn(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${xu.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Jn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${xu.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Jn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Jn(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${xu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${xu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${O9.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${O9.inset}`]:{marginLeft:52},[`& .${P9.root}`]:{marginTop:0,marginBottom:0},[`& .${P9.inset}`]:{paddingLeft:36},[`& .${A9.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&A({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${A9.root} svg`]:{fontSize:"1.25rem"}}))),fq=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:p}=r,h=Me(r,lq),g=M.useContext(Mh),v=M.useMemo(()=>({dense:a||g.dense||!1,disableGutters:l}),[g.dense,a,l]),b=M.useRef(null);ti(()=>{o&&b.current&&b.current.focus()},[o]);const m=A({},r,{dense:v.dense,divider:s,disableGutters:l}),y=uq(r),E=Pn(b,n);let w;return r.disabled||(w=d!==void 0?d:-1),f.jsx(Mh.Provider,{value:v,children:f.jsx(dq,A({ref:E,role:u,tabIndex:w,component:i,focusVisibleClassName:Ae(y.focusVisible,c),className:Ae(y.root,p)},h,{ownerState:m,classes:y}))})});function pq(e){return Ot("MuiSkeleton",e)}yt("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const hq=["animation","className","component","height","style","variant","width"];let Rh=e=>e,B9,F9,U9,H9;const mq=e=>{const{classes:t,variant:n,animation:r,hasChildren:o,width:i,height:a}=e;return $t({root:["root",n,r,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]},pq,t)},gq=Xi(B9||(B9=Rh`
|
|
206
|
-
0% {
|
|
207
|
-
opacity: 1;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
50% {
|
|
211
|
-
opacity: 0.4;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
100% {
|
|
215
|
-
opacity: 1;
|
|
216
|
-
}
|
|
217
|
-
`)),yq=Xi(F9||(F9=Rh`
|
|
218
|
-
0% {
|
|
219
|
-
transform: translateX(-100%);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
50% {
|
|
223
|
-
/* +0.5s of delay between each loop */
|
|
224
|
-
transform: translateX(100%);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
100% {
|
|
228
|
-
transform: translateX(100%);
|
|
229
|
-
}
|
|
230
|
-
`)),vq=He("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.animation!==!1&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})(({theme:e,ownerState:t})=>{const n=pU(e.shape.borderRadius)||"px",r=hU(e.shape.borderRadius);return A({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:VB(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em"},t.variant==="text"&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${n}/${Math.round(r/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},t.variant==="circular"&&{borderRadius:"50%"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:e})=>e.animation==="pulse"&&fc(U9||(U9=Rh`
|
|
231
|
-
animation: ${0} 2s ease-in-out 0.5s infinite;
|
|
232
|
-
`),gq),({ownerState:e,theme:t})=>e.animation==="wave"&&fc(H9||(H9=Rh`
|
|
233
|
-
position: relative;
|
|
234
|
-
overflow: hidden;
|
|
235
|
-
|
|
236
|
-
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
|
|
237
|
-
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
238
|
-
|
|
239
|
-
&::after {
|
|
240
|
-
animation: ${0} 2s linear 0.5s infinite;
|
|
241
|
-
background: linear-gradient(
|
|
242
|
-
90deg,
|
|
243
|
-
transparent,
|
|
244
|
-
${0},
|
|
245
|
-
transparent
|
|
246
|
-
);
|
|
247
|
-
content: '';
|
|
248
|
-
position: absolute;
|
|
249
|
-
transform: translateX(-100%); /* Avoid flash during server-side hydration */
|
|
250
|
-
bottom: 0;
|
|
251
|
-
left: 0;
|
|
252
|
-
right: 0;
|
|
253
|
-
top: 0;
|
|
254
|
-
}
|
|
255
|
-
`),yq,(t.vars||t).palette.action.hover)),V9=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiSkeleton"}),{animation:o="pulse",className:i,component:a="span",height:s,style:l,variant:c="text",width:u}=r,d=Me(r,hq),p=A({},r,{animation:o,component:a,variant:c,hasChildren:!!d.children}),h=mq(p);return f.jsx(vq,A({as:a,ref:n,className:Ae(h.root,i),ownerState:p},d,{style:A({width:u,height:s},l)}))});function _q(e){return Ot("MuiTooltip",e)}const Ca=yt("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),bq=["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 Eq(e){return Math.round(e*1e5)/1e5}const Cq=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${Ie(i.split("-")[0])}`],arrow:["arrow"]};return $t(a,_q,t)},Sq=He(pR,{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})=>A({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Ca.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ca.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ca.arrow}`]:A({},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"] .${Ca.arrow}`]:A({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),wq=He("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${Ie(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>A({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Jn(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:`${Eq(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Ca.popper}[data-popper-placement*="left"] &`]:A({transformOrigin:"right center"},t.isRtl?A({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):A({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Ca.popper}[data-popper-placement*="right"] &`]:A({transformOrigin:"left center"},t.isRtl?A({marginRight:"14px"},t.touch&&{marginRight:"24px"}):A({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Ca.popper}[data-popper-placement*="top"] &`]:A({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Ca.popper}[data-popper-placement*="bottom"] &`]:A({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),xq=He("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:Jn(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Ep=!1;const z9=new vf;let Mu={x:0,y:0};function Cp(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Mq=M.forwardRef(function(t,n){var r,o,i,a,s,l,c,u,d,p,h,g,v,b,m,y,E,w,S;const _=Tt({props:t,name:"MuiTooltip"}),{arrow:C=!1,children:R,components:T={},componentsProps:I={},describeChild:D=!1,disableFocusListener:F=!1,disableHoverListener:q=!1,disableInteractive:W=!1,disableTouchListener:Q=!1,enterDelay:H=100,enterNextDelay:re=0,enterTouchDelay:B=700,followCursor:ee=!1,id:$,leaveDelay:P=0,leaveTouchDelay:N=1500,onClose:O,onOpen:x,open:k,placement:j="bottom",PopperComponent:J,PopperProps:L={},slotProps:U={},slots:G={},title:z,TransitionComponent:V=xh,TransitionProps:Z}=_,ue=Me(_,bq),pe=M.isValidElement(R)?R:f.jsx("span",{children:R}),be=fo(),we=e0(),[ke,pt]=M.useState(),[ye,Ge]=M.useState(null),Ce=M.useRef(!1),Ve=W||ee,Ue=$l(),Le=$l(),Ht=$l(),Sn=$l(),[zn,ve]=TM({controlled:k,default:!1,name:"Tooltip",state:"open"});let Et=zn;const Wn=RM($),Dr=M.useRef(),si=Xr(()=>{Dr.current!==void 0&&(document.body.style.WebkitUserSelect=Dr.current,Dr.current=void 0),Sn.clear()});M.useEffect(()=>si,[si]);const wn=nt=>{z9.clear(),Ep=!0,ve(!0),x&&!Et&&x(nt)},me=Xr(nt=>{z9.start(800+P,()=>{Ep=!1}),ve(!1),O&&Et&&O(nt),Ue.start(be.transitions.duration.shortest,()=>{Ce.current=!1})}),Re=nt=>{Ce.current&&nt.type!=="touchstart"||(ke&&ke.removeAttribute("title"),Le.clear(),Ht.clear(),H||Ep&&re?Le.start(Ep?re:H,()=>{wn(nt)}):wn(nt))},at=nt=>{Le.clear(),Ht.start(P,()=>{me(nt)})},{isFocusVisibleRef:ot,onBlur:Gt,onFocus:xn,ref:Br}=Qm(),[,ea]=M.useState(!1),ho=nt=>{Gt(nt),ot.current===!1&&(ea(!1),at(nt))},tl=nt=>{ke||pt(nt.currentTarget),xn(nt),ot.current===!0&&(ea(!0),Re(nt))},d6=nt=>{Ce.current=!0;const Cr=pe.props;Cr.onTouchStart&&Cr.onTouchStart(nt)},HA=nt=>{d6(nt),Ht.clear(),Ue.clear(),si(),Dr.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Sn.start(B,()=>{document.body.style.WebkitUserSelect=Dr.current,Re(nt)})},VA=nt=>{pe.props.onTouchEnd&&pe.props.onTouchEnd(nt),si(),Ht.start(N,()=>{me(nt)})};M.useEffect(()=>{if(!Et)return;function nt(Cr){(Cr.key==="Escape"||Cr.key==="Esc")&&me(Cr)}return document.addEventListener("keydown",nt),()=>{document.removeEventListener("keydown",nt)}},[me,Et]);const zA=Pn(pe.ref,Br,pt,n);!z&&z!==0&&(Et=!1);const X0=M.useRef(),WA=nt=>{const Cr=pe.props;Cr.onMouseMove&&Cr.onMouseMove(nt),Mu={x:nt.clientX,y:nt.clientY},X0.current&&X0.current.update()},cu={},J0=typeof z=="string";D?(cu.title=!Et&&J0&&!q?z:null,cu["aria-describedby"]=Et?Wn:null):(cu["aria-label"]=J0?z:null,cu["aria-labelledby"]=Et&&!J0?Wn:null);const mo=A({},cu,ue,pe.props,{className:Ae(ue.className,pe.props.className),onTouchStart:d6,ref:zA},ee?{onMouseMove:WA}:{}),uu={};Q||(mo.onTouchStart=HA,mo.onTouchEnd=VA),q||(mo.onMouseOver=Cp(Re,mo.onMouseOver),mo.onMouseLeave=Cp(at,mo.onMouseLeave),Ve||(uu.onMouseOver=Re,uu.onMouseLeave=at)),F||(mo.onFocus=Cp(tl,mo.onFocus),mo.onBlur=Cp(ho,mo.onBlur),Ve||(uu.onFocus=tl,uu.onBlur=ho));const qA=M.useMemo(()=>{var nt;let Cr=[{name:"arrow",enabled:!!ye,options:{element:ye,padding:4}}];return(nt=L.popperOptions)!=null&&nt.modifiers&&(Cr=Cr.concat(L.popperOptions.modifiers)),A({},L.popperOptions,{modifiers:Cr})},[ye,L]),du=A({},_,{isRtl:we,arrow:C,disableInteractive:Ve,placement:j,PopperComponentProp:J,touch:Ce.current}),Q0=Cq(du),f6=(r=(o=G.popper)!=null?o:T.Popper)!=null?r:Sq,p6=(i=(a=(s=G.transition)!=null?s:T.Transition)!=null?a:V)!=null?i:xh,h6=(l=(c=G.tooltip)!=null?c:T.Tooltip)!=null?l:wq,m6=(u=(d=G.arrow)!=null?d:T.Arrow)!=null?u:xq,GA=jl(f6,A({},L,(p=U.popper)!=null?p:I.popper,{className:Ae(Q0.popper,L==null?void 0:L.className,(h=(g=U.popper)!=null?g:I.popper)==null?void 0:h.className)}),du),KA=jl(p6,A({},Z,(v=U.transition)!=null?v:I.transition),du),YA=jl(h6,A({},(b=U.tooltip)!=null?b:I.tooltip,{className:Ae(Q0.tooltip,(m=(y=U.tooltip)!=null?y:I.tooltip)==null?void 0:m.className)}),du),ZA=jl(m6,A({},(E=U.arrow)!=null?E:I.arrow,{className:Ae(Q0.arrow,(w=(S=U.arrow)!=null?S:I.arrow)==null?void 0:w.className)}),du);return f.jsxs(M.Fragment,{children:[M.cloneElement(pe,mo),f.jsx(f6,A({as:J??pR,placement:j,anchorEl:ee?{getBoundingClientRect:()=>({top:Mu.y,left:Mu.x,right:Mu.x,bottom:Mu.y,width:0,height:0})}:ke,popperRef:X0,open:ke?Et:!1,id:Wn,transition:!0},uu,GA,{popperOptions:qA,children:({TransitionProps:nt})=>f.jsx(p6,A({timeout:be.transitions.duration.shorter},nt,KA,{children:f.jsxs(h6,A({},YA,{children:[z,C?f.jsx(m6,A({},ZA,{ref:Ge})):null]}))}))}))]})});function Rq(e){return Ot("MuiTab",e)}const oa=yt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Tq=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],kq=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:s,disabled:l}=e,c={root:["root",i&&a&&"labelIcon",`textColor${Ie(n)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return $t(c,Rq,t)},Iq=He(Gs,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Ie(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${oa.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>A({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${oa.iconWrapper}`]:A({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${oa.selected}`]:{opacity:1},[`&.${oa.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${oa.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${oa.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${oa.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${oa.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),W9=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTab"}),{className:o,disabled:i=!1,disableFocusRipple:a=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:u,label:d,onChange:p,onClick:h,onFocus:g,selected:v,selectionFollowsFocus:b,textColor:m="inherit",value:y,wrapped:E=!1}=r,w=Me(r,Tq),S=A({},r,{disabled:i,disableFocusRipple:a,selected:v,icon:!!l,iconPosition:c,label:!!d,fullWidth:s,textColor:m,wrapped:E}),_=kq(S),C=l&&d&&M.isValidElement(l)?M.cloneElement(l,{className:Ae(_.iconWrapper,l.props.className)}):l,R=I=>{!v&&p&&p(I,y),h&&h(I)},T=I=>{b&&!v&&p&&p(I,y),g&&g(I)};return f.jsxs(Iq,A({focusRipple:!a,className:Ae(_.root,o),ref:n,role:"tab","aria-selected":v,disabled:i,onClick:R,onFocus:T,ownerState:S,tabIndex:v?0:-1},w,{children:[c==="top"||c==="start"?f.jsxs(M.Fragment,{children:[C,d]}):f.jsxs(M.Fragment,{children:[d,C]}),u]}))});function Lq(e){return Ot("MuiToolbar",e)}yt("MuiToolbar",["root","gutters","regular","dense"]);const Oq=["className","component","disableGutters","variant"],Aq=e=>{const{classes:t,disableGutters:n,variant:r}=e;return $t({root:["root",!n&&"gutters",r]},Lq,t)},Pq=He("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>A({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),Nq=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:a=!1,variant:s="regular"}=r,l=Me(r,Oq),c=A({},r,{component:i,disableGutters:a,variant:s}),u=Aq(c);return f.jsx(Pq,A({as:i,className:Ae(u.root,o),ref:n,ownerState:c},l))}),$q=Ef(f.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),jq=Ef(f.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Dq(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function Bq(e,t,n,r={},o=()=>{}){const{ease:i=Dq,duration:a=300}=r;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=p=>{if(c){o(new Error("Animation cancelled"));return}s===null&&(s=p);const h=Math.min(1,(p-s)/a);if(t[e]=i(h)*(n-l)+l,h>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(d)};return l===n?(o(new Error("Element already at target position")),u):(requestAnimationFrame(d),u)}const Fq=["onChange"],Uq={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Hq(e){const{onChange:t}=e,n=Me(e,Fq),r=M.useRef(),o=M.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return ti(()=>{const a=Xm(()=>{const l=r.current;i(),l!==r.current&&t(r.current)}),s=Ha(o.current);return s.addEventListener("resize",a),()=>{a.clear(),s.removeEventListener("resize",a)}},[t]),M.useEffect(()=>{i(),t(r.current)},[t]),f.jsx("div",A({style:Uq,ref:o},n))}function Vq(e){return Ot("MuiTabScrollButton",e)}const zq=yt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Wq=["className","slots","slotProps","direction","orientation","disabled"],qq=e=>{const{classes:t,orientation:n,disabled:r}=e;return $t({root:["root",n,r&&"disabled"]},Vq,t)},Gq=He(Gs,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>A({width:40,flexShrink:0,opacity:.8,[`&.${zq.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),Kq=M.forwardRef(function(t,n){var r,o;const i=Tt({props:t,name:"MuiTabScrollButton"}),{className:a,slots:s={},slotProps:l={},direction:c}=i,u=Me(i,Wq),d=e0(),p=A({isRtl:d},i),h=qq(p),g=(r=s.StartScrollButtonIcon)!=null?r:$q,v=(o=s.EndScrollButtonIcon)!=null?o:jq,b=Or({elementType:g,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p}),m=Or({elementType:v,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p});return f.jsx(Gq,A({component:"div",className:Ae(h.root,a),ref:n,role:null,ownerState:p,tabIndex:null},u,{children:c==="left"?f.jsx(g,A({},b)):f.jsx(v,A({},m))}))});function Yq(e){return Ot("MuiTabs",e)}const Fg=yt("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Zq=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],q9=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,G9=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Sp=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const i=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||i)o=n(e,o);else{o.focus();return}}},Xq=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return $t({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},Yq,l)},Jq=He("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Fg.scrollButtons}`]:t.scrollButtons},{[`& .${Fg.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>A({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Fg.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),Qq=He("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>A({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),eG=He("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>A({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),tG=He("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>A({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),nG=He(Hq)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),K9={},rG=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTabs"}),o=fo(),i=e0(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:u,className:d,component:p="div",allowScrollButtonsMobile:h=!1,indicatorColor:g="primary",onChange:v,orientation:b="horizontal",ScrollButtonComponent:m=Kq,scrollButtons:y="auto",selectionFollowsFocus:E,slots:w={},slotProps:S={},TabIndicatorProps:_={},TabScrollButtonProps:C={},textColor:R="primary",value:T,variant:I="standard",visibleScrollbar:D=!1}=r,F=Me(r,Zq),q=I==="scrollable",W=b==="vertical",Q=W?"scrollTop":"scrollLeft",H=W?"top":"left",re=W?"bottom":"right",B=W?"clientHeight":"clientWidth",ee=W?"height":"width",$=A({},r,{component:p,allowScrollButtonsMobile:h,indicatorColor:g,orientation:b,vertical:W,scrollButtons:y,textColor:R,variant:I,visibleScrollbar:D,fixed:!q,hideScrollbar:q&&!D,scrollableX:q&&!W,scrollableY:q&&W,centered:c&&!q,scrollButtonsHideMobile:!h}),P=Xq($),N=Or({elementType:w.StartScrollButtonIcon,externalSlotProps:S.startScrollButtonIcon,ownerState:$}),O=Or({elementType:w.EndScrollButtonIcon,externalSlotProps:S.endScrollButtonIcon,ownerState:$}),[x,k]=M.useState(!1),[j,J]=M.useState(K9),[L,U]=M.useState(!1),[G,z]=M.useState(!1),[V,Z]=M.useState(!1),[ue,pe]=M.useState({overflow:"hidden",scrollbarWidth:0}),be=new Map,we=M.useRef(null),ke=M.useRef(null),pt=()=>{const me=we.current;let Re;if(me){const ot=me.getBoundingClientRect();Re={clientWidth:me.clientWidth,scrollLeft:me.scrollLeft,scrollTop:me.scrollTop,scrollLeftNormalized:iF(me,i?"rtl":"ltr"),scrollWidth:me.scrollWidth,top:ot.top,bottom:ot.bottom,left:ot.left,right:ot.right}}let at;if(me&&T!==!1){const ot=ke.current.children;if(ot.length>0){const Gt=ot[be.get(T)];at=Gt?Gt.getBoundingClientRect():null}}return{tabsMeta:Re,tabMeta:at}},ye=Xr(()=>{const{tabsMeta:me,tabMeta:Re}=pt();let at=0,ot;if(W)ot="top",Re&&me&&(at=Re.top-me.top+me.scrollTop);else if(ot=i?"right":"left",Re&&me){const xn=i?me.scrollLeftNormalized+me.clientWidth-me.scrollWidth:me.scrollLeft;at=(i?-1:1)*(Re[ot]-me[ot]+xn)}const Gt={[ot]:at,[ee]:Re?Re[ee]:0};if(isNaN(j[ot])||isNaN(j[ee]))J(Gt);else{const xn=Math.abs(j[ot]-Gt[ot]),Br=Math.abs(j[ee]-Gt[ee]);(xn>=1||Br>=1)&&J(Gt)}}),Ge=(me,{animation:Re=!0}={})=>{Re?Bq(Q,we.current,me,{duration:o.transitions.duration.standard}):we.current[Q]=me},Ce=me=>{let Re=we.current[Q];W?Re+=me:(Re+=me*(i?-1:1),Re*=i&&IM()==="reverse"?-1:1),Ge(Re)},Ve=()=>{const me=we.current[B];let Re=0;const at=Array.from(ke.current.children);for(let ot=0;ot<at.length;ot+=1){const Gt=at[ot];if(Re+Gt[B]>me){ot===0&&(Re=me);break}Re+=Gt[B]}return Re},Ue=()=>{Ce(-1*Ve())},Le=()=>{Ce(Ve())},Ht=M.useCallback(me=>{pe({overflow:null,scrollbarWidth:me})},[]),Sn=()=>{const me={};me.scrollbarSizeListener=q?f.jsx(nG,{onChange:Ht,className:Ae(P.scrollableX,P.hideScrollbar)}):null;const at=q&&(y==="auto"&&(L||G)||y===!0);return me.scrollButtonStart=at?f.jsx(m,A({slots:{StartScrollButtonIcon:w.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:N},orientation:b,direction:i?"right":"left",onClick:Ue,disabled:!L},C,{className:Ae(P.scrollButtons,C.className)})):null,me.scrollButtonEnd=at?f.jsx(m,A({slots:{EndScrollButtonIcon:w.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:O},orientation:b,direction:i?"left":"right",onClick:Le,disabled:!G},C,{className:Ae(P.scrollButtons,C.className)})):null,me},zn=Xr(me=>{const{tabsMeta:Re,tabMeta:at}=pt();if(!(!at||!Re)){if(at[H]<Re[H]){const ot=Re[Q]+(at[H]-Re[H]);Ge(ot,{animation:me})}else if(at[re]>Re[re]){const ot=Re[Q]+(at[re]-Re[re]);Ge(ot,{animation:me})}}}),ve=Xr(()=>{q&&y!==!1&&Z(!V)});M.useEffect(()=>{const me=Xm(()=>{we.current&&ye()});let Re;const at=xn=>{xn.forEach(Br=>{Br.removedNodes.forEach(ea=>{var ho;(ho=Re)==null||ho.unobserve(ea)}),Br.addedNodes.forEach(ea=>{var ho;(ho=Re)==null||ho.observe(ea)})}),me(),ve()},ot=Ha(we.current);ot.addEventListener("resize",me);let Gt;return typeof ResizeObserver<"u"&&(Re=new ResizeObserver(me),Array.from(ke.current.children).forEach(xn=>{Re.observe(xn)})),typeof MutationObserver<"u"&&(Gt=new MutationObserver(at),Gt.observe(ke.current,{childList:!0})),()=>{var xn,Br;me.clear(),ot.removeEventListener("resize",me),(xn=Gt)==null||xn.disconnect(),(Br=Re)==null||Br.disconnect()}},[ye,ve]),M.useEffect(()=>{const me=Array.from(ke.current.children),Re=me.length;if(typeof IntersectionObserver<"u"&&Re>0&&q&&y!==!1){const at=me[0],ot=me[Re-1],Gt={root:we.current,threshold:.99},xn=tl=>{U(!tl[0].isIntersecting)},Br=new IntersectionObserver(xn,Gt);Br.observe(at);const ea=tl=>{z(!tl[0].isIntersecting)},ho=new IntersectionObserver(ea,Gt);return ho.observe(ot),()=>{Br.disconnect(),ho.disconnect()}}},[q,y,V,u==null?void 0:u.length]),M.useEffect(()=>{k(!0)},[]),M.useEffect(()=>{ye()}),M.useEffect(()=>{zn(K9!==j)},[zn,j]),M.useImperativeHandle(l,()=>({updateIndicator:ye,updateScrollButtons:ve}),[ye,ve]);const Et=f.jsx(tG,A({},_,{className:Ae(P.indicator,_.className),ownerState:$,style:A({},j,_.style)}));let Wn=0;const Dr=M.Children.map(u,me=>{if(!M.isValidElement(me))return null;const Re=me.props.value===void 0?Wn:me.props.value;be.set(Re,Wn);const at=Re===T;return Wn+=1,M.cloneElement(me,A({fullWidth:I==="fullWidth",indicator:at&&!x&&Et,selected:at,selectionFollowsFocus:E,onChange:v,textColor:R,value:Re},Wn===1&&T===!1&&!me.props.tabIndex?{tabIndex:0}:{}))}),si=me=>{const Re=ke.current,at=Hn(Re).activeElement;if(at.getAttribute("role")!=="tab")return;let Gt=b==="horizontal"?"ArrowLeft":"ArrowUp",xn=b==="horizontal"?"ArrowRight":"ArrowDown";switch(b==="horizontal"&&i&&(Gt="ArrowRight",xn="ArrowLeft"),me.key){case Gt:me.preventDefault(),Sp(Re,at,G9);break;case xn:me.preventDefault(),Sp(Re,at,q9);break;case"Home":me.preventDefault(),Sp(Re,null,q9);break;case"End":me.preventDefault(),Sp(Re,null,G9);break}},wn=Sn();return f.jsxs(Jq,A({className:Ae(P.root,d),ownerState:$,ref:n,as:p},F,{children:[wn.scrollButtonStart,wn.scrollbarSizeListener,f.jsxs(Qq,{className:P.scroller,ownerState:$,style:{overflow:ue.overflow,[W?`margin${i?"Left":"Right"}`:"marginBottom"]:D?void 0:-ue.scrollbarWidth},ref:we,children:[f.jsx(eG,{"aria-label":a,"aria-labelledby":s,"aria-orientation":b==="vertical"?"vertical":null,className:P.flexContainer,ownerState:$,onKeyDown:si,ref:ke,role:"tablist",children:Dr}),x&&Et]}),wn.scrollButtonEnd]}))}),oG="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/RoobertPRO-Bold-BLoSpx-h.otf",iG="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/RoobertPRO-Bold-zQ2qeH97.ttf",aG=e=>({MuiCssBaseline:{styleOverrides:{"@font-face":{fontFamily:"DecentralandHero",src:`url(${iG}) format("truetype"), url(${oG}) format("otf")`,fontStyle:"Sans-serif",fontWeight:"700"},body:{"& ::-webkit-scrollbar-track":{background:"rgba(0, 0, 0, .1)",borderRadius:0},"& ::-webkit-scrollbar-thumb":{cursor:"pointer",borderRadius:"5px",background:"rgba(0, 0, 0, .25)","-webkit-transition":"color .2s ease",transition:"color .2s ease"},"& ::-webkit-scrollbar":{webkitAppearance:"none",width:"10px",height:"10px"}}}},MuiAppBar:{styleOverrides:{root:{backdropFilter:"saturate(180%) blur(20px);",transition:"box-Shadow 200ms cubic-bezier(0,1, 0.15, 1), background-image 200ms cubic-bezier(0,1, 0.15, 1)",backgroundImage:"none",backgroundColor:e.mode==="dark"?"rgba(24,20,26, 0.9)":"rgba(255,255,255, 0.9)"}}},MuiButton:{styleOverrides:{root:{"&.MuiButton-sizeLarge.MuiButton-containedPrimary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{background:"#FF2D55",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-primary-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-light)",boxShadow:"var(--mui-shadows-2)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"#FEE9EC",background:"var(--mui-palette-_components-alert-error-color)",boxShadow:"none"}},"&.MuiButton-sizeLarge.MuiButton-containedInherit":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-text-_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#716B7C",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedInherit (white)":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#CFCDD4",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#ECEBED",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-common-black_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedSecondary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.16",background:"var(--mui-palette-secondary-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-light)",boxShadow:"var(--mui-shadows-2)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)",background:"#A09BA8",boxShadow:"none"}},"&.MuiButton-sizeLarge.MuiButton-containedError":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-error-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedWarning":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-warning-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedInfo":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-info-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-containedSuccess":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-success-contrast)",padding:"0",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-contrast)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-containedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{background:"#FF2D55",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-primary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"#FEE9EC",background:"var(--mui-palette-_components-alert-error-color)",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeMedium.MuiButton-containedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-text-_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#716B7C",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#CFCDD4",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#ECEBED",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-common-black_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.16",background:"var(--mui-palette-secondary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)",background:"#A09BA8",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeMedium.MuiButton-containedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-error-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-warning-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-info-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeMedium.MuiButton-containedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-success-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-contrast)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{background:"#FF2D55",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-primary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"#FEE9EC",background:"var(--mui-palette-_components-alert-error-color)",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-contrast)",background:"var(--mui-palette-primary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeSmall.MuiButton-containedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-text-_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#716B7C",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#CFCDD4",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#ECEBED",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-common-black_states-selected)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"#A09BA8",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-main)",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.16",background:"var(--mui-palette-secondary-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)",background:"#A09BA8",boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)",background:"var(--mui-palette-secondary-light)",boxShadow:"var(--mui-shadows-2)"}},"&.MuiButton-sizeSmall.MuiButton-containedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-error-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-error-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-warning-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-warning-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-info-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-info-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeSmall.MuiButton-containedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-main)",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",opacity:"0.3",background:"var(--mui-palette-success-contrast)",padding:"0",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-contrast)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",background:"var(--mui-palette-success-dark)",boxShadow:"var(--mui-shadows-2)",opacity:"1"}},"&.MuiButton-sizeLarge.MuiButton-outlinedPrimary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedInherit":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"8px 22px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"var(--mui-palette-action-hover)",opacity:"1",boxShadow:"none"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedInherit (white)":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedSecondary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedError":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedWarning":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedInfo":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-outlinedSuccess":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"69.209px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"6px 16px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"var(--mui-palette-action-hover)",opacity:"1",boxShadow:"none"}},"&.MuiButton-sizeMedium.MuiButton-outlinedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"}},"&.MuiButton-sizeMedium.MuiButton-outlinedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"57.429px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"none",opacity:"1",boxShadow:"none","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)",padding:"4px 10px",borderRadius:"var(--mui-shape-borderRadius)",border:"1px solid #A09BA8",background:"var(--mui-palette-action-hover)",opacity:"1",boxShadow:"none"}},"&.MuiButton-sizeSmall.MuiButton-outlinedInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"}},"&.MuiButton-sizeSmall.MuiButton-outlinedSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"46.385px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"}},"&.MuiButton-sizeMedium.MuiButton-textPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeMedium.MuiButton-textSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.875rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 171.429% */",letterSpacing:"0.4px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"45.648px",height:"46.286px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textPrimary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textInherit":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textInherit (white)":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textSecondary":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textError":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textWarning":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textInfo":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeLarge.MuiButton-textSuccess":{fontFeatureSettings:"'liga' off, 'clig' off",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.9375rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 160% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"53.011px",height:"51.429px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textPrimary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-primary-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-primary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-primary-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textInherit":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-text-primary)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-text-primary)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-text-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-text-primary)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textInherit (white)":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-common-white_states-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-common-white_states-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-common-white_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-common-white_states-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textSecondary":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-secondary-contrast)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-secondary-contrast)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-secondary-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-secondary-contrast)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textError":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-error-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-error-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-error-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-error-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textWarning":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-warning-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-warning-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-warning-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-warning-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textInfo":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-info-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-info-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-info-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-info-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}},"&.MuiButton-sizeSmall.MuiButton-textSuccess":{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:"0.8125rem",fontStyle:"normal",fontWeight:"600",lineHeight:"24px /* 184.615% */",letterSpacing:"0.46px",textTransform:"uppercase","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-success-main)"},"&:not(.Mui-disabled).Mui-focusVisible:not(:hover)":{color:"var(--mui-palette-success-main)","& .MuiTouchRipple-root":{width:"39.022px",height:"41.143px",borderRadius:"100px",background:"var(--mui-palette-success-_states-focusVisible)",padding:"0",opacity:"1",boxShadow:"none"}},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:"var(--mui-palette-success-main)"},"&.Mui-disabled:not(.Mui-focusVisible):not(:hover)":{color:"var(--mui-palette-action-disabled)"}}}}},MuiPaper:{styleOverrides:{root:{backgroundColor:e.background.paper},elevation0:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(0)}), rgba(255, 255, 255, ${Te(0)}))`:"none"},elevation1:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(1)}), rgba(255, 255, 255, ${Te(1)}))`:"none"},elevation2:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(2)}), rgba(255, 255, 255, ${Te(2)}))`:"none"},elevation3:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(3)}), rgba(255, 255, 255, ${Te(3)}))`:"none"},elevation4:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(4)}), rgba(255, 255, 255, ${Te(4)}))`:"none"},elevation5:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(5)}), rgba(255, 255, 255, ${Te(5)}))`:"none"},elevation6:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(6)}), rgba(255, 255, 255, ${Te(6)}))`:"none"},elevation7:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(7)}), rgba(255, 255, 255, ${Te(7)}))`:"none"},elevation8:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(8)}), rgba(255, 255, 255, ${Te(8)}))`:"none"},elevation9:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(9)}), rgba(255, 255, 255, ${Te(9)}))`:"none"},elevation10:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(10)}), rgba(255, 255, 255, ${Te(10)}))`:"none"},elevation11:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(11)}), rgba(255, 255, 255, ${Te(11)}))`:"none"},elevation12:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(12)}), rgba(255, 255, 255, ${Te(12)}))`:"none"},elevation13:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(13)}), rgba(255, 255, 255, ${Te(13)}))`:"none"},elevation14:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(14)}), rgba(255, 255, 255, ${Te(14)}))`:"none"},elevation15:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(15)}), rgba(255, 255, 255, ${Te(15)}))`:"none"},elevation16:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(16)}), rgba(255, 255, 255, ${Te(16)}))`:"none"},elevation17:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(17)}), rgba(255, 255, 255, ${Te(17)}))`:"none"},elevation18:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(18)}), rgba(255, 255, 255, ${Te(18)}))`:"none"},elevation19:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(19)}), rgba(255, 255, 255, ${Te(19)}))`:"none"},elevation20:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(20)}), rgba(255, 255, 255, ${Te(20)}))`:"none"},elevation21:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(21)}), rgba(255, 255, 255, ${Te(21)}))`:"none"},elevation22:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(22)}), rgba(255, 255, 255, ${Te(22)}))`:"none"},elevation23:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(23)}), rgba(255, 255, 255, ${Te(23)}))`:"none"},elevation24:{backgroundImage:e.mode==="dark"?`linear-gradient(rgba(255, 255, 255, ${Te(24)}), rgba(255, 255, 255, ${Te(24)}))`:"none"}}},MuiTabs:{styleOverrides:{root:{borderBottom:`${e.divider} solid 1px`,minHeight:"30px"}}},MuiTab:{styleOverrides:{root:{textTransform:"capitalize",color:e.text.secondary,fontWeight:400,"&.Mui-selected":{color:e.text.primary,fontWeight:600}}}}}),sG=Y.memo(e=>f.jsxs(zU,{theme:e.theme,children:[f.jsx(nW,{}),e.children]})),lG={h1:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},h2:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},h3:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},h4:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:500},h5:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:500},h6:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},body1:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},body2:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},subtitle1:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},subtitle2:{fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600},overline:{fontFamily:"Inter, Helvetica, Arial, sans-serif"},caption:{fontFamily:"Inter, Helvetica, Arial, sans-serif"}};function _R(e){return{palette:KM(u9[e].palette),typography:lG,shape:{borderRadius:6},breakpoints:{values:{xs:768,sm:991,md:1024,lg:1280,xl:1500}},components:aG(u9[e].palette)}}m5(_R("light"));const cG=m5(_R("dark"));var Sa={},a0={},Ug={},os={},Y9;function uG(){if(Y9)return os;Y9=1,Object.defineProperty(os,"__esModule",{value:!0}),os.getEnvFromQueryParam=os.getEnvFromTLD=void 0;const e=R5();function t(r){const{host:o}=r;return o.endsWith(".org")||o.endsWith(".co")?e.Env.PRODUCTION:o.endsWith(".today")||o.endsWith(".net")?e.Env.STAGING:o.endsWith(".io")||o.endsWith(".zone")?e.Env.DEVELOPMENT:null}os.getEnvFromTLD=t;function n(r){const o=new URLSearchParams(r.search),i=o.get("ENV")||o.get("env");if(i){const a=i.toLowerCase();if((0,e.isEnv)(a))return a}return null}return os.getEnvFromQueryParam=n,os}var Z9;function R5(){return Z9||(Z9=1,function(e){var t={VITE_SEGMENT_DEV_API_KEY:"UJLmm39XefLTcE55pRdWiwBT1JoTs6OI",VITE_SEGMENT_PRD_API_KEY:"uMHQo9dBTi626Bv11I3RxcH3Jui8lKMm"};Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=e.getDefaultEnv=e.parseEnvVar=e.isEnv=e.getEnvList=e.Env=void 0;const n=uG();var r;(function(c){c.DEVELOPMENT="dev",c.STAGING="stg",c.PRODUCTION="prod"})(r=e.Env||(e.Env={}));function o(){return Object.values(r)}e.getEnvList=o;function i(c){return o().includes(c)}e.isEnv=i;function a(c){if(i(c))return c;throw new Error(`Invalid value for DCL_DEFAULT_ENV. Found "${c}", possible values are ${o().map(u=>`"${u}"`).join(", ")}.`)}e.parseEnvVar=a;function s(c={}){const{DCL_DEFAULT_ENV:u,REACT_APP_DCL_DEFAULT_ENV:d,VITE_DCL_DEFAULT_ENV:p,GATSBY_DCL_DEFAULT_ENV:h}=c;if(u&&d&&u!==d)throw new Error("You have defined both DCL_DEFAULT_ENV and REACT_APP_DCL_DEFAULT_ENV with different values");if(u&&p&&u!==p)throw new Error("You have defined both DCL_DEFAULT_ENV and VITE_DCL_DEFAULT_ENV with different values");if(u&&h&&u!==h)throw new Error("You have defined both DCL_DEFAULT_ENV and GATSBY_DCL_DEFAULT_ENV with different values");if(d&&h&&d!==h)throw new Error("You have defined both REACT_APP_DCL_DEFAULT_ENV and GATSBY_DCL_DEFAULT_ENV with different values");return u?a(u):d?a(d):p?a(p):h?a(h):r.PRODUCTION}e.getDefaultEnv=s;function l(c){if(typeof window<"u"){const d=(0,n.getEnvFromQueryParam)(window.location);if(d)return d;const p=(0,n.getEnvFromTLD)(window.location);if(p)return p}return s(typeof c>"u"&&typeof process=="object"&&typeof t=="object"?t:c)}e.getEnv=l}(Ug)),Ug}Object.defineProperty(a0,"__esModule",{value:!0});a0.createConfig=void 0;const dG=R5();function fG(e,t){const n=(0,dG.getEnv)(t==null?void 0:t.systemEnvVariables),r=e[n];return{get:(o,i="")=>{if(!r)throw new Error(`Could not find a config for env=${n}`);return o in r?r[o]:i},is:o=>n===o,getEnv:()=>n}}a0.createConfig=fG;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=e.Env=e.createConfig=void 0;var t=a0;Object.defineProperty(e,"createConfig",{enumerable:!0,get:function(){return t.createConfig}});var n=R5();Object.defineProperty(e,"Env",{enumerable:!0,get:function(){return n.Env}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return n.getEnv}})})(Sa);const pG="development",hG="https://places.decentraland.zone",mG={ENVIRONMENT:pG,PLACES_URL:hG},gG="production",yG="https://places.decentraland.org",vG={ENVIRONMENT:gG,PLACES_URL:yG};var Hg={VITE_SEGMENT_DEV_API_KEY:"UJLmm39XefLTcE55pRdWiwBT1JoTs6OI",VITE_SEGMENT_PRD_API_KEY:"uMHQo9dBTi626Bv11I3RxcH3Jui8lKMm"};const bR=Sa.createConfig({[Sa.Env.DEVELOPMENT]:{...mG,SEGMENT_API_KEY:Hg.VITE_SEGMENT_DEV_API_KEY},[Sa.Env.PRODUCTION]:{...vG,SEGMENT_API_KEY:Hg.VITE_SEGMENT_PRD_API_KEY}},{systemEnvVariables:{REACT_APP_DCL_DEFAULT_ENV:Hg.VITE_REACT_APP_DCL_DEFAULT_ENV??"dev"}}),_G="modulepreload",bG=function(e){return"https://cdn.decentraland.org/@dcl/jump-site/0.0.3/"+e},X9={},EG=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(s=>{if(s=bG(s),s in X9)return;X9[s]=!0;const l=s.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${c}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":_G,l||(u.as="script",u.crossOrigin=""),u.href=s,a&&u.setAttribute("nonce",a),document.head.appendChild(u),l)return new Promise((d,p)=>{u.addEventListener("load",d),u.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${s}`)))})}))}return o.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})};var CG=" daum[ /]| deusu/| yadirectfetcher|(?:^|[^g])news(?!sapphire)|(?<! (?:channel/|google/))google(?!(app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!(?:lib))http|(?<![hg]m)score|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\btime/|\\||^<|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^active|^ad muncher|^amaya|^avsdevicesdk/|^biglotron|^bot|^bw/|^clamav[ /]|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\(compatible;?(?:\\s\\w+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^python|^rank|^read|^reed|^rest|^rss|^snapchat|^space bison|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|^{{.*}}$|adscanner/|analyzer|archive|ask jeeves/teoma|audit|bit\\.ly/|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|convertify|cookiehubscan|crawl|cypress/|dareboost|datanyze|dejaclick|detect|dmbrowser|download|evc-batch/|exaleadcloudview|feed|firephp|functionize|gomezagent|headless|httrack|hubspot marketing grader|hydra|ibisbrowser|infrawatch|insight|inspect|iplabel|ips-agent|java(?!;)|jsjcw_scanner|library|linkcheck|mail\\.ru/|manager|measure|neustar wpm|node|nutch|offbyone|optimize|pageburst|pagespeed|parser|perl|phantomjs|pingdom|powermarks|preview|proxy|ptst[ /]\\d|retriever|rexx;|rigor|rss\\b|scanner\\.|scrape|server|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|tools|torrent|transcoder|url|validator|virtuoso|wappalyzer|webglance|webkit2png|whatcms/|zgrab",SG=/bot|crawl|http|lighthouse|scan|search|spider/i,Ru;function wG(){if(Ru instanceof RegExp)return Ru;try{Ru=new RegExp(CG,"i")}catch{Ru=SG}return Ru}function xG(e){return!!e&&wG().test(e)}const ER=M.createContext(null),MG=({writeKey:e,userId:t,traits:n,children:r})=>{const o=M.useRef(null),[i,a]=M.useState(!1);M.useEffect(()=>((async()=>{if(!e){console.log("[Analytics] No writeKey provided");return}const c=navigator.userAgent;if(xG(c)){console.log("[Analytics] Skipping load: bot detected");return}try{const{AnalyticsBrowser:d}=await EG(async()=>{const{AnalyticsBrowser:p}=await import("./index-DVdcljqq.js").then(h=>h.v);return{AnalyticsBrowser:p}},[]);o.current=d.load({writeKey:e}),t&&o.current.identify(t,n),a(!0)}catch(d){console.error("[Analytics] Failed to initialize:",d)}})(),()=>{o.current=null,a(!1)}),[e,t,n]);const s=o.current&&i?{isInitialized:!0,track:(l,c)=>{var u;(u=o.current)==null||u.track(l,c)},identify:(l,c)=>{var u;(u=o.current)==null||u.identify(l,c)},page:(l,c)=>{var u;(u=o.current)==null||u.page(l,c)}}:{isInitialized:!1};return f.jsx(ER.Provider,{value:s,children:r})};var RG="2.0.3",dv=500,J9="user-agent",_c="",Q9="?",Th="function",wa="undefined",bc="object",fv="string",lr="browser",yi="cpu",zo="device",So="engine",Kr="os",Ql="result",se="name",te="type",ae="vendor",le="version",cr="architecture",Jd="major",oe="model",Wu="console",We="mobile",_t="tablet",on="smarttv",Fo="wearable",Vg="xr",qu="embedded",Tu="inapp",T5="brands",fs="formFactors",k5="fullVersionList",ec="platform",I5="platformVersion",s0="bitness",Za="sec-ch-ua",TG=Za+"-full-version-list",kG=Za+"-arch",IG=Za+"-"+s0,LG=Za+"-form-factors",OG=Za+"-"+We,AG=Za+"-"+oe,CR=Za+"-"+ec,PG=CR+"-version",SR=[T5,k5,We,oe,ec,I5,cr,fs,s0],wp="Amazon",ul="Apple",e7="ASUS",t7="BlackBerry",is="Google",n7="Huawei",r7="Lenovo",o7="Honor",xp="LG",zg="Microsoft",Wg="Motorola",qg="Nvidia",i7="OnePlus",Gg="OPPO",ku="Samsung",a7="Sharp",Iu="Sony",Kg="Xiaomi",Yg="Zebra",s7="Chrome",l7="Chromium",ia="Chromecast",NG="Edge",Lu="Firefox",Ou="Opera",Zg="Facebook",c7="Sogou",dl="Mobile ",Au=" Browser",pv="Windows",$G=typeof window!==wa,ur=$G&&window.navigator?window.navigator:void 0,ya=ur&&ur.userAgentData?ur.userAgentData:void 0,jG=function(e,t){var n={},r=t;if(!kh(t)){r={};for(var o in t)for(var i in t[o])r[i]=t[o][i].concat(r[i]?r[i]:[])}for(var a in e)n[a]=r[a]&&r[a].length%2===0?r[a].concat(e[a]):e[a];return n},l0=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},hv=function(e,t){if(typeof e===bc&&e.length>0){for(var n in e)if(bi(e[n])==bi(t))return!0;return!1}return Zc(e)?bi(t).indexOf(bi(e))!==-1:!1},kh=function(e,t){for(var n in e)return/^(browser|cpu|device|engine|os)$/.test(n)||(t?kh(e[n]):!1)},Zc=function(e){return typeof e===fv},Xg=function(e){if(e){for(var t=[],n=Ec(/\\?\"/g,e).split(","),r=0;r<n.length;r++)if(n[r].indexOf(";")>-1){var o=Qd(n[r]).split(";v=");t[r]={brand:o[0],version:o[1]}}else t[r]=Qd(n[r]);return t}},bi=function(e){return Zc(e)?e.toLowerCase():e},Jg=function(e){return Zc(e)?Ec(/[^\d\.]/g,e).split(".")[0]:void 0},Ei=function(e){for(var t in e){var n=e[t];typeof n==bc&&n.length==2?this[n[0]]=n[1]:this[n]=void 0}return this},Ec=function(e,t){return Zc(t)?t.replace(e,_c):t},Pu=function(e){return Ec(/\\?\"/g,e)},Qd=function(e,t){if(Zc(e))return e=Ec(/^\s\s*/,e),typeof t===wa?e:e.substring(0,dv)},Qg=function(e,t){if(!(!e||!t))for(var n=0,r,o,i,a,s,l;n<t.length&&!s;){var c=t[n],u=t[n+1];for(r=o=0;r<c.length&&!s&&c[r];)if(s=c[r++].exec(e),s)for(i=0;i<u.length;i++)l=s[++o],a=u[i],typeof a===bc&&a.length>0?a.length===2?typeof a[1]==Th?this[a[0]]=a[1].call(this,l):this[a[0]]=a[1]:a.length===3?typeof a[1]===Th&&!(a[1].exec&&a[1].test)?this[a[0]]=l?a[1].call(this,l,a[2]):void 0:this[a[0]]=l?l.replace(a[1],a[2]):void 0:a.length===4&&(this[a[0]]=l?a[3].call(this,l.replace(a[1],a[2])):void 0):this[a]=l||void 0;n+=2}},va=function(e,t){for(var n in t)if(typeof t[n]===bc&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(hv(t[n][r],e))return n===Q9?void 0:n}else if(hv(t[n],e))return n===Q9?void 0:n;return t.hasOwnProperty("*")?t["*"]:e},u7={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},d7={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},f7={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[le,[se,dl+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[le,[se,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[se,le],[/opios[\/ ]+([\w\.]+)/i],[le,[se,Ou+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[le,[se,Ou+" GX"]],[/\bopr\/([\w\.]+)/i],[le,[se,Ou]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[le,[se,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[le,[se,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[se,le],[/quark(?:pc)?\/([-\w\.]+)/i],[le,[se,"Quark"]],[/\bddg\/([\w\.]+)/i],[le,[se,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[le,[se,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[le,[se,"WeChat"]],[/konqueror\/([\w\.]+)/i],[le,[se,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[le,[se,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[le,[se,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[le,[se,"Smart "+r7+Au]],[/(avast|avg)\/([\w\.]+)/i],[[se,/(.+)/,"$1 Secure"+Au],le],[/\bfocus\/([\w\.]+)/i],[le,[se,Lu+" Focus"]],[/\bopt\/([\w\.]+)/i],[le,[se,Ou+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[le,[se,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[le,[se,"Dolphin"]],[/coast\/([\w\.]+)/i],[le,[se,Ou+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[le,[se,"MIUI"+Au]],[/fxios\/([\w\.-]+)/i],[le,[se,dl+Lu]],[/\bqihoobrowser\/?([\w\.]*)/i],[le,[se,"360"]],[/\b(qq)\/([\w\.]+)/i],[[se,/(.+)/,"$1Browser"],le],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[se,/(.+)/,"$1"+Au],le],[/samsungbrowser\/([\w\.]+)/i],[le,[se,ku+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[le,[se,c7+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[se,c7+" Mobile"],le],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[se,le],[/(lbbrowser|rekonq)/i],[se],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[le,se],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[se,Zg],le,[te,Tu]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[se,le,[te,Tu]],[/\bgsa\/([\w\.]+) .*safari\//i],[le,[se,"GSA"],[te,Tu]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[le,[se,"TikTok"],[te,Tu]],[/\[(linkedin)app\]/i],[se,[te,Tu]],[/(chromium)[\/ ]([-\w\.]+)/i],[se,le],[/headlesschrome(?:\/([\w\.]+)| )/i],[le,[se,s7+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[se,s7+" WebView"],le],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[le,[se,"Android"+Au]],[/chrome\/([\w\.]+) mobile/i],[le,[se,dl+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[se,le],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[le,[se,dl+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[se,dl+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[le,se],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[se,[le,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[se,le],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[se,dl+Lu],le],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[se,"Netscape"],le],[/(wolvic|librewolf)\/([\w\.]+)/i],[se,le],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[le,[se,Lu+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[se,[le,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[se,[le,/[^\d\.]+./,_c]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[cr,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[cr,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[cr,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[cr,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[cr,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[cr,/ower/,_c,bi]],[/ sun4\w[;\)]/i],[[cr,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[cr,bi]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[oe,[ae,ku],[te,_t]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[oe,[ae,ku],[te,We]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[oe,[ae,ul],[te,We]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[oe,[ae,ul],[te,_t]],[/(macintosh);/i],[oe,[ae,ul]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[oe,[ae,a7],[te,We]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[oe,[ae,o7],[te,_t]],[/honor([-\w ]+)[;\)]/i],[oe,[ae,o7],[te,We]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[oe,[ae,n7],[te,_t]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[oe,[ae,n7],[te,We]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[oe,/_/g," "],[ae,Kg],[te,_t]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[oe,/_/g," "],[ae,Kg],[te,We]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[oe,[ae,Gg],[te,We]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[oe,[ae,va,{OnePlus:["304","403","203"],"*":Gg}],[te,_t]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[oe,[ae,"BLU"],[te,We]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[oe,[ae,"Vivo"],[te,We]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[oe,[ae,"Realme"],[te,We]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[oe,[ae,Wg],[te,We]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[oe,[ae,Wg],[te,_t]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[oe,[ae,xp],[te,_t]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[oe,[ae,xp],[te,We]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[oe,[ae,r7],[te,_t]],[/(nokia) (t[12][01])/i],[ae,oe,[te,_t]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[oe,/_/g," "],[te,We],[ae,"Nokia"]],[/(pixel (c|tablet))\b/i],[oe,[ae,is],[te,_t]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[oe,[ae,is],[te,We]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[oe,[ae,Iu],[te,We]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[oe,"Xperia Tablet"],[ae,Iu],[te,_t]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[oe,[ae,i7],[te,We]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[oe,[ae,wp],[te,_t]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[oe,/(.+)/g,"Fire Phone $1"],[ae,wp],[te,We]],[/(playbook);[-\w\),; ]+(rim)/i],[oe,ae,[te,_t]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[oe,[ae,t7],[te,We]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[oe,[ae,e7],[te,_t]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[oe,[ae,e7],[te,We]],[/(nexus 9)/i],[oe,[ae,"HTC"],[te,_t]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[ae,[oe,/_/g," "],[te,We]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[oe,[ae,"TCL"],[te,_t]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[oe,[ae,"TCL"],[te,We]],[/(itel) ((\w+))/i],[[ae,bi],oe,[te,va,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[oe,[ae,"Acer"],[te,_t]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[oe,[ae,"Meizu"],[te,We]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[oe,[ae,"Ulefone"],[te,We]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[oe,[ae,"Energizer"],[te,We]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[oe,[ae,"Cat"],[te,We]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[oe,[ae,"Smartfren"],[te,We]],[/droid.+; (a(?:015|06[35]|142p?))/i],[oe,[ae,"Nothing"],[te,We]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[oe,[ae,"Archos"],[te,_t]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[oe,[ae,"Archos"],[te,We]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[ae,oe,[te,_t]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[ae,oe,[te,We]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[ae,oe,[te,_t]],[/(surface duo)/i],[oe,[ae,zg],[te,_t]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[oe,[ae,"Fairphone"],[te,We]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[oe,[ae,qg],[te,_t]],[/(sprint) (\w+)/i],[ae,oe,[te,We]],[/(kin\.[onetw]{3})/i],[[oe,/\./g," "],[ae,zg],[te,We]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[oe,[ae,Yg],[te,_t]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[oe,[ae,Yg],[te,We]],[/smart-tv.+(samsung)/i],[ae,[te,on]],[/hbbtv.+maple;(\d+)/i],[[oe,/^/,"SmartTV"],[ae,ku],[te,on]],[/tcast.+(lg)e?. ([-\w]+)/i],[ae,oe,[te,on]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[ae,xp],[te,on]],[/(apple) ?tv/i],[ae,[oe,ul+" TV"],[te,on]],[/crkey.*devicetype\/chromecast/i],[[oe,ia+" Third Generation"],[ae,is],[te,on]],[/crkey.*devicetype\/([^/]*)/i],[[oe,/^/,"Chromecast "],[ae,is],[te,on]],[/fuchsia.*crkey/i],[[oe,ia+" Nest Hub"],[ae,is],[te,on]],[/crkey/i],[[oe,ia],[ae,is],[te,on]],[/(portaltv)/i],[oe,[ae,Zg],[te,on]],[/droid.+aft(\w+)( bui|\))/i],[oe,[ae,wp],[te,on]],[/(shield \w+ tv)/i],[oe,[ae,qg],[te,on]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[oe,[ae,a7],[te,on]],[/(bravia[\w ]+)( bui|\))/i],[oe,[ae,Iu],[te,on]],[/(mi(tv|box)-?\w+) bui/i],[oe,[ae,Kg],[te,on]],[/Hbbtv.*(technisat) (.*);/i],[ae,oe,[te,on]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[ae,Qd],[oe,Qd],[te,on]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[oe,[te,on]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[te,on]],[/(ouya)/i,/(nintendo) (\w+)/i],[ae,oe,[te,Wu]],[/droid.+; (shield)( bui|\))/i],[oe,[ae,qg],[te,Wu]],[/(playstation \w+)/i],[oe,[ae,Iu],[te,Wu]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[oe,[ae,zg],[te,Wu]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[oe,[ae,ku],[te,Fo]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[ae,oe,[te,Fo]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[oe,[ae,Gg],[te,Fo]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[oe,[ae,ul],[te,Fo]],[/(opwwe\d{3})/i],[oe,[ae,i7],[te,Fo]],[/(moto 360)/i],[oe,[ae,Wg],[te,Fo]],[/(smartwatch 3)/i],[oe,[ae,Iu],[te,Fo]],[/(g watch r)/i],[oe,[ae,xp],[te,Fo]],[/droid.+; (wt63?0{2,3})\)/i],[oe,[ae,Yg],[te,Fo]],[/droid.+; (glass) \d/i],[oe,[ae,is],[te,Vg]],[/(pico) (4|neo3(?: link|pro)?)/i],[ae,oe,[te,Vg]],[/(quest( \d| pro)?s?).+vr/i],[oe,[ae,Zg],[te,Vg]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[ae,[te,qu]],[/(aeobc)\b/i],[oe,[ae,wp],[te,qu]],[/(homepod).+mac os/i],[oe,[ae,ul],[te,qu]],[/windows iot/i],[[te,qu]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[oe,[te,va,{mobile:"Mobile",xr:"VR","*":_t}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[te,_t]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[te,We]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[oe,[ae,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[le,[se,NG+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[se,le],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[le,[se,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[se,le],[/ladybird\//i],[[se,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[le,se]],os:[[/microsoft (windows) (vista|xp)/i],[se,le],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[se,[le,va,u7]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[le,va,u7],[se,pv]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[le,/_/g,"."],[se,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[se,"macOS"],[le,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[le,[se,ia+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[le,[se,ia+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[le,[se,ia+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[le,[se,ia+" Linux"]],[/crkey\/([\d\.]+)/i],[le,[se,ia]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[le,se],[/(ubuntu) ([\w\.]+) like android/i],[[se,/(.+)/,"$1 Touch"],le],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[se,le],[/\(bb(10);/i],[le,[se,t7]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[le,[se,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[le,[se,Lu+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[le,[se,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[le,[se,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[se,"Chrome OS"],le],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[se,le],[/(sunos) ?([\w\.\d]*)/i],[[se,"Solaris"],le],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[se,le]]},Mp=function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return Ei.call(e.init,[[lr,[se,le,Jd,te]],[yi,[cr]],[zo,[te,oe,ae]],[So,[se,le]],[Kr,[se,le]]]),Ei.call(e.isIgnore,[[lr,[le,Jd]],[So,[le]],[Kr,[le]]]),Ei.call(e.isIgnoreRgx,[[lr,/ ?browser$/i],[Kr,/ ?os$/i]]),Ei.call(e.toString,[[lr,[se,le]],[yi,[cr]],[zo,[ae,oe]],[So,[se,le]],[Kr,[se,le]]]),e}(),DG=function(e,t){var n=Mp.init[t],r=Mp.isIgnore[t]||0,o=Mp.isIgnoreRgx[t]||0,i=Mp.toString[t]||0;function a(){Ei.call(this,n)}return a.prototype.getItem=function(){return e},a.prototype.withClientHints=function(){return ya?ya.getHighEntropyValues(SR).then(function(s){return e.setCH(new wR(s,!1)).parseCH().get()}):e.parseCH().get()},a.prototype.withFeatureCheck=function(){return e.detectFeature().get()},t!=Ql&&(a.prototype.is=function(s){var l=!1;for(var c in this)if(this.hasOwnProperty(c)&&!hv(r,c)&&bi(o?Ec(o,this[c]):this[c])==bi(o?Ec(o,s):s)){if(l=!0,s!=wa)break}else if(s==wa&&l){l=!l;break}return l},a.prototype.toString=function(){var s=_c;for(var l in i)typeof this[i[l]]!==wa&&(s+=(s?" ":_c)+this[i[l]]);return s||wa}),ya||(a.prototype.then=function(s){var l=this,c=function(){for(var d in l)l.hasOwnProperty(d)&&(this[d]=l[d])};c.prototype={is:a.prototype.is,toString:a.prototype.toString};var u=new c;return s(u),u}),new a};function wR(e,t){if(e=e||{},Ei.call(this,SR),t)Ei.call(this,[[T5,Xg(e[Za])],[k5,Xg(e[TG])],[We,/\?1/.test(e[OG])],[oe,Pu(e[AG])],[ec,Pu(e[CR])],[I5,Pu(e[PG])],[cr,Pu(e[kG])],[fs,Xg(e[LG])],[s0,Pu(e[IG])]]);else for(var n in e)this.hasOwnProperty(n)&&typeof e[n]!==wa&&(this[n]=e[n])}function p7(e,t,n,r){return this.get=function(o){return o?this.data.hasOwnProperty(o)?this.data[o]:void 0:this.data},this.set=function(o,i){return this.data[o]=i,this},this.setCH=function(o){return this.uaCH=o,this},this.detectFeature=function(){if(ur&&ur.userAgent==this.ua)switch(this.itemType){case lr:ur.brave&&typeof ur.brave.isBrave==Th&&this.set(se,"Brave");break;case zo:!this.get(te)&&ya&&ya[We]&&this.set(te,We),this.get(oe)=="Macintosh"&&ur&&typeof ur.standalone!==wa&&ur.maxTouchPoints&&ur.maxTouchPoints>2&&this.set(oe,"iPad").set(te,_t);break;case Kr:!this.get(se)&&ya&&ya[ec]&&this.set(se,ya[ec]);break;case Ql:var o=this.data,i=function(a){return o[a].getItem().detectFeature().get()};this.set(lr,i(lr)).set(yi,i(yi)).set(zo,i(zo)).set(So,i(So)).set(Kr,i(Kr))}return this},this.parseUA=function(){return this.itemType!=Ql&&Qg.call(this.data,this.ua,this.rgxMap),this.itemType==lr&&this.set(Jd,Jg(this.get(le))),this},this.parseCH=function(){var o=this.uaCH,i=this.rgxMap;switch(this.itemType){case lr:case So:var a=o[k5]||o[T5],s;if(a)for(var l in a){var c=a[l].brand||a[l],u=a[l].version;this.itemType==lr&&!/not.a.brand/i.test(c)&&(!s||/chrom/i.test(s)&&c!=l7)&&(c=va(c,{Chrome:"Google Chrome",Edge:"Microsoft Edge","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"}),this.set(se,c).set(le,u).set(Jd,Jg(u)),s=c),this.itemType==So&&c==l7&&this.set(le,u)}break;case yi:var d=o[cr];d&&(d&&o[s0]=="64"&&(d+="64"),Qg.call(this.data,d+";",i));break;case zo:if(o[We]&&this.set(te,We),o[oe]&&(this.set(oe,o[oe]),!this.get(te)||!this.get(ae))){var p={};Qg.call(p,"droid 9; "+o[oe]+")",i),!this.get(te)&&p.type&&this.set(te,p.type),!this.get(ae)&&p.vendor&&this.set(ae,p.vendor)}if(o[fs]){var h;if(typeof o[fs]!="string")for(var g=0;!h&&g<o[fs].length;)h=va(o[fs][g++],d7);else h=va(o[fs],d7);this.set(te,h)}break;case Kr:var v=o[ec];if(v){var b=o[I5];v==pv&&(b=parseInt(Jg(b),10)>=13?"11":"10"),this.set(se,v).set(le,b)}this.get(se)==pv&&o[oe]=="Xbox"&&this.set(se,"Xbox").set(le,void 0);break;case Ql:var m=this.data,y=function(E){return m[E].getItem().setCH(o).parseCH().get()};this.set(lr,y(lr)).set(yi,y(yi)).set(zo,y(zo)).set(So,y(So)).set(Kr,y(Kr))}return this},Ei.call(this,[["itemType",e],["ua",t],["uaCH",r],["rgxMap",n],["data",DG(this,e)]]),this}function ri(e,t,n){if(typeof e===bc?(kh(e,!0)?(typeof t===bc&&(n=t),t=e):(n=e,t=void 0),e=void 0):typeof e===fv&&!kh(t,!0)&&(n=t,t=void 0),n&&typeof n.append===Th){var r={};n.forEach(function(l,c){r[c]=l}),n=r}if(!(this instanceof ri))return new ri(e,t,n).getResult();var o=typeof e===fv?e:n&&n[J9]?n[J9]:ur&&ur.userAgent?ur.userAgent:_c,i=new wR(n,!0),a=t?jG(f7,t):f7,s=function(l){return l==Ql?function(){return new p7(l,o,a,i).set("ua",o).set(lr,this.getBrowser()).set(yi,this.getCPU()).set(zo,this.getDevice()).set(So,this.getEngine()).set(Kr,this.getOS()).get()}:function(){return new p7(l,o,a[l],i).parseUA().get()}};return Ei.call(this,[["getBrowser",s(lr)],["getCPU",s(yi)],["getDevice",s(zo)],["getEngine",s(So)],["getOS",s(Kr)],["getResult",s(Ql)],["getUA",function(){return o}],["setUA",function(l){return Zc(l)&&(o=l.length>dv?Qd(l,dv):l),this}]]).setUA(o),this}ri.VERSION=RG;ri.BROWSER=l0([se,le,Jd,te]);ri.CPU=l0([cr]);ri.DEVICE=l0([oe,ae,te,Wu,We,on,_t,Fo,qu]);ri.ENGINE=ri.OS=l0([se,le]);const BG=Object.freeze({"68K":"68k",ARM:"arm",ARM_64:"arm64",ARM_HF:"armhf",AVR:"avr",AVR_32:"avr32",IA64:"ia64",IRIX:"irix",IRIX_64:"irix64",MIPS:"mips",MIPS_64:"mips64",PA_RISC:"pa-risc",PPC:"ppc",SPARC:"sparc",SPARC_64:"sparc64",X86:"ia32",X86_64:"amd64"}),FG=Object.freeze({AIX:"AIX",AMIGA_OS:"Amiga OS",ANDROID:"Android",ANDROID_X86:"Android-x86",ARCH:"Arch",BADA:"Bada",BEOS:"BeOS",BLACKBERRY:"BlackBerry",CENTOS:"CentOS",CHROME_OS:"Chrome OS",CHROMECAST:"Chromecast",CHROMECAST_ANDROID:"Chromecast Android",CHROMECAST_FUCHSIA:"Chromecast Fuchsia",CHROMECAST_LINUX:"Chromecast Linux",CHROMECAST_SMARTSPEAKER:"Chromecast SmartSpeaker",CONTIKI:"Contiki",DEBIAN:"Debian",DEEPIN:"Deepin",DRAGONFLY:"DragonFly",ELEMENTARY_OS:"elementary OS",FEDORA:"Fedora",FIREFOX_OS:"Firefox OS",FREEBSD:"FreeBSD",FUCHSIA:"Fuchsia",GENTOO:"Gentoo",GHOSTBSD:"GhostBSD",GNU:"GNU",HAIKU:"Haiku",HARMONYOS:"HarmonyOS",HP_UX:"HP-UX",HURD:"Hurd",IOS:"iOS",JOLI:"Joli",KAIOS:"KaiOS",KUBUNTU:"Kubuntu",LINPUS:"Linpus",LINSPIRE:"Linspire",LINUX:"Linux",MACOS:"macOS",MAEMO:"Maemo",MAGEIA:"Mageia",MANDRIVA:"Mandriva",MANJARO:"Manjaro",MEEGO:"MeeGo",MINIX:"Minix",MINT:"Mint",MORPH_OS:"Morph OS",NETBSD:"NetBSD",NETRANGE:"NetRange",NETTV:"NetTV",NINTENDO:"Nintendo",OPENHARMONY:"OpenHarmony",OPENBSD:"OpenBSD",OPENVMS:"OpenVMS",OS2:"OS/2",PALM:"Palm",PC_BSD:"PC-BSD",PCLINUXOS:"PCLinuxOS",PICO:"Pico",PLAN9:"Plan9",PLAYSTATION:"PlayStation",QNX:"QNX",RASPBIAN:"Raspbian",REDHAT:"RedHat",RIM_TABLET_OS:"RIM Tablet OS",RISC_OS:"RISC OS",SABAYON:"Sabayon",SAILFISH:"Sailfish",SERENITYOS:"SerenityOS",SERIES40:"Series40",SLACKWARE:"Slackware",SOLARIS:"Solaris",SUSE:"SUSE",SYMBIAN:"Symbian",TIZEN:"Tizen",UBUNTU:"Ubuntu",UBUNTU_TOUCH:"Ubuntu Touch",UNIX:"Unix",VECTORLINUX:"VectorLinux",WATCHOS:"watchOS",WEBOS:"WebOS",WINDOWS:"Windows",WINDOWS_IOT:"Windows IoT",WINDOWS_MOBILE:"Windows Mobile",WINDOWS_PHONE:"Windows Phone",XBOX:"Xbox",ZENWALK:"Zenwalk"}),ks="name",Cc="type",c0="version",h7="crawler",UG="cli",m7="fetcher",HG="library",VG=Object.freeze({browser:[[/(wget|curl|lynx|elinks|httpie)[\/ ]\(?([\w\.-]+)/i],[ks,c0,[Cc,UG]]]}),zG=Object.freeze({browser:[[/((?:adidx|ahrefs|amazon|bing|cc|dot|duckduck|exa|facebook|gpt|linkedin|mj12|mojeek|oai-search|perplexity|semrush|seznam)bot)\/([\w\.-]+)/i,/(applebot(?:-extended)?)\/?([\w\.]*)/i,/(baiduspider[-imagevdonwsfcpr]{0,7})\/?([\w\.]*)/i,/(claude(?:bot|-web)|anthropic-ai)\/?([\w\.]*)/i,/(coccocbot-(?:image|web))\/([\w\.]+)/i,/(facebook(?:externalhit|catalog)|meta-externalagent)\/([\w\.]+)/i,/(google(?:bot|other|-inspectiontool)(?:-image|-video|-news)?|storebot-google)\/?([\w\.]*)/i,/(ia_archiver|archive\.org_bot)\/?([\w\.]*)/i,/((?:semrush|splitsignal)bot[-abcfimostw]*)\/?([\w\.-]*)/i,/(sogou (?:pic|head|web|orion|news) spider)\/([\w\.]+)/i,/(y!?j-(?:asr|br[uw]|dscv|mmp|vsidx|wsc))\/([\w\.]+)/i,/(yandex(?:(?:mobile)?(?:accessibility|additional|renderresources|screenshot|sprav)?bot|image(?:s|resizer)|video(?:parser)?|blogs|adnet|favicons|fordomain|market|media|metrika|news|ontodb(?:api)?|pagechecker|partner|rca|tracker|turbo|vertis|webmaster|antivirus))\/([\w\.]+)/i,/(yeti)\/([\w\.]+)/i,/((?:aihit|diff|timpi|you)bot|omgili(?:bot)?|openai image downloader|(?:magpie-|velenpublicweb)crawler|webzio-extended|(?:screaming frog seo |line|yisou)spider)\/?([\w\.]*)/i],[ks,c0,[Cc,h7]],[/((?:adsbot|apis|mediapartners)-google(?:-mobile)?|google-?(?:other|cloudvertexbot|extended|safety))/i,/\b(360spider-?(?:image|video)?|bytespider|(?:ai2|aspiegel|dataforseo|imagesift|petal|turnitin)bot|teoma|yahoo! slurp)/i],[ks,[Cc,h7]]]}),g7=Object.freeze({browser:[[/(ahrefssiteaudit|(?:bing|microsoft)preview|chatgpt-user|mastodon|(?:discord|duckassist|linkedin|pinterest|reddit|roger|siteaudit|twitter|uptimero)bot|google-site-verification|meta-externalfetcher|y!?j-dlc|yandex(?:calendar|direct(?:dyn)?|searchshop)|yadirectfetcher)\/([\w\.]+)/i,/(bluesky) cardyb\/([\w\.]+)/i,/(skypeuripreview) preview\/([\w\.]+)/i,/(slack(?:bot)?(?:-imgproxy|-linkexpanding)?) ([\w\.]+)/i,/(whatsapp)\/([\w\.]+)/i],[ks,c0,[Cc,m7]],[/((?:better uptime |telegram|vercel)bot|cohere-ai|feedfetcher-google|google(?:imageproxy|-read-aloud|-pagerenderer|producer)|snap url preview|yandex(?:sitelinks|userproxy))/i],[ks,[Cc,m7]]],os:[[/whatsapp\/[\d\.]+ (a|i)/i],[[ks,e=>e=="A"?"Android":"iOS"]]]}),WG=Object.freeze({browser:[[/^(apache-httpclient|axios|(?:go|java)-http-client|got|guzzlehttp|java|libwww-perl|lua-resty-http|needle|node-(?:fetch|superagent)|okhttp|php-soap|postmanruntime|python-(?:urllib|requests)|scrapy)\/([\w\.]+)/i,new RegExp("(jsdom|(?<=\\()java)\\/([\\w\\.]+)","i")],[ks,c0,[Cc,HG]]]});Object.freeze({browser:[...VG.browser,...zG.browser,...g7.browser,...WG.browser],os:[...g7.os]});const qG=(e,t,n)=>typeof e=="string"?ri(e,t,n):e,GG=e=>{const t=qG(e);if(t.os.is(FG.MACOS)){if(t.cpu.is(BG.ARM))return!0;if(typeof e!="string"&&typeof window<"u")try{const n=document.createElement("canvas"),r=n.getContext("webgl2")||n.getContext("webgl")||n.getContext("experimental-webgl"),o=r.getExtension("WEBGL_debug_renderer_info");if(r.getParameter(o.UNMASKED_RENDERER_WEBGL).match(/apple m\d/i))return!0}catch{return!1}}return!1},Oe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,ze=globalThis,Xa=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,xi="9.6.1";function Qi(){return xf(ze),ze}function xf(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||xi,t[xi]=t[xi]||{}}function u0(e,t,n=ze){const r=n.__SENTRY__=n.__SENTRY__||{},o=r[xi]=r[xi]||{};return o[e]||(o[e]=t())}const KG="Sentry Logger ",Ih=["debug","info","warn","error","log","assert","trace"],Lh={};function Ks(e){if(!("console"in ze))return e();const t=ze.console,n={},r=Object.keys(Lh);r.forEach(o=>{const i=Lh[o];n[o]=t[o],t[o]=i});try{return e()}finally{r.forEach(o=>{t[o]=n[o]})}}function YG(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Xa?Ih.forEach(n=>{t[n]=(...r)=>{e&&Ks(()=>{ze.console[n](`${KG}[${n}]:`,...r)})}}):Ih.forEach(n=>{t[n]=()=>{}}),t}const ne=u0("logger",YG),xR=50,oi="?",y7=/\(error: (.*)\)/,v7=/captureMessage|captureException/;function MR(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,o=0)=>{const i=[],a=n.split(`
|
|
256
|
-
`);for(let s=r;s<a.length;s++){const l=a[s];if(l.length>1024)continue;const c=y7.test(l)?l.replace(y7,"$1"):l;if(!c.match(/\S*Error: /)){for(const u of t){const d=u(c);if(d){i.push(d);break}}if(i.length>=xR+o)break}}return XG(i.slice(o))}}function ZG(e){return Array.isArray(e)?MR(...e):e}function XG(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Rp(t).function||"")&&t.pop(),t.reverse(),v7.test(Rp(t).function||"")&&(t.pop(),v7.test(Rp(t).function||"")&&t.pop()),t.slice(0,xR).map(n=>({...n,filename:n.filename||Rp(t).filename,function:n.function||oi}))}function Rp(e){return e[e.length-1]||{}}const e2="<anonymous>";function ji(e){try{return!e||typeof e!="function"?e2:e.name||e2}catch{return e2}}function mv(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const S1={},_7={};function Ja(e,t){S1[e]=S1[e]||[],S1[e].push(t)}function Qa(e,t){if(!_7[e]){_7[e]=!0;try{t()}catch(n){Xa&&ne.error(`Error while instrumenting ${e}`,n)}}}function no(e,t){const n=e&&S1[e];if(n)for(const r of n)try{r(t)}catch(o){Xa&&ne.error(`Error while triggering instrumentation handler.
|
|
257
|
-
Type: ${e}
|
|
258
|
-
Name: ${ji(r)}
|
|
259
|
-
Error:`,o)}}let t2=null;function RR(e){const t="error";Ja(t,e),Qa(t,JG)}function JG(){t2=ze.onerror,ze.onerror=function(e,t,n,r,o){return no("error",{column:r,error:o,line:n,msg:e,url:t}),t2?t2.apply(this,arguments):!1},ze.onerror.__SENTRY_INSTRUMENTED__=!0}let n2=null;function TR(e){const t="unhandledrejection";Ja(t,e),Qa(t,QG)}function QG(){n2=ze.onunhandledrejection,ze.onunhandledrejection=function(e){return no("unhandledrejection",e),n2?n2.apply(this,arguments):!0},ze.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const kR=Object.prototype.toString;function Na(e){switch(kR.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Di(e,Error)}}function Xc(e,t){return kR.call(e)===`[object ${t}]`}function IR(e){return Xc(e,"ErrorEvent")}function b7(e){return Xc(e,"DOMError")}function eK(e){return Xc(e,"DOMException")}function Io(e){return Xc(e,"String")}function L5(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function O5(e){return e===null||L5(e)||typeof e!="object"&&typeof e!="function"}function Ds(e){return Xc(e,"Object")}function d0(e){return typeof Event<"u"&&Di(e,Event)}function tK(e){return typeof Element<"u"&&Di(e,Element)}function nK(e){return Xc(e,"RegExp")}function Mf(e){return!!(e!=null&&e.then&&typeof e.then=="function")}function rK(e){return Ds(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Di(e,t){try{return e instanceof t}catch{return!1}}function LR(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}const A5=ze,oK=80;function Bi(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,o=[];let i=0,a=0;const s=" > ",l=s.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||oK;for(;n&&i++<r&&(c=iK(n,u),!(c==="html"||i>1&&a+o.length*l+c.length>=d));)o.push(c),a+=c.length,n=n.parentNode;return o.reverse().join(s)}catch{return"<unknown>"}}function iK(e,t){const n=e,r=[];if(!(n!=null&&n.tagName))return"";if(A5.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const o=t!=null&&t.length?t.filter(a=>n.getAttribute(a)).map(a=>[a,n.getAttribute(a)]):null;if(o!=null&&o.length)o.forEach(a=>{r.push(`[${a[0]}="${a[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const a=n.className;if(a&&Io(a)){const s=a.split(/\s+/);for(const l of s)r.push(`.${l}`)}}const i=["aria-label","type","name","title","alt"];for(const a of i){const s=n.getAttribute(a);s&&r.push(`[${a}="${s}"]`)}return r.join("")}function Ys(){try{return A5.document.location.href}catch{return""}}function OR(e){if(!A5.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}function $a(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function r2(e,t){let n=e;const r=n.length;if(r<=150)return n;t>r&&(t=r);let o=Math.max(t-60,0);o<5&&(o=0);let i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n=`'{snip} ${n}`),i<r&&(n+=" {snip}"),n}function Oh(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const o=e[r];try{LR(o)?n.push("[VueViewModel]"):n.push(String(o))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function aK(e,t,n=!1){return Io(e)?nK(t)?t.test(e):Io(t)?n?e===t:e.includes(t):!1:!1}function ei(e,t=[],n=!1){return t.some(r=>aK(e,r,n))}function Qn(e,t,n){if(!(t in e))return;const r=e[t];if(typeof r!="function")return;const o=n(r);typeof o=="function"&&AR(o,r);try{e[t]=o}catch{Xa&&ne.log(`Failed to replace method "${t}" in object`,e)}}function br(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Xa&&ne.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function AR(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,br(e,"__sentry_original__",t)}catch{}}function P5(e){return e.__sentry_original__}function PR(e){if(Na(e))return{message:e.message,name:e.name,stack:e.stack,...C7(e)};if(d0(e)){const t={type:e.type,target:E7(e.target),currentTarget:E7(e.currentTarget),...C7(e)};return typeof CustomEvent<"u"&&Di(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function E7(e){try{return tK(e)?Bi(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function C7(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 sK(e,t=40){const n=Object.keys(PR(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return $a(r,t);for(let o=n.length;o>0;o--){const i=n.slice(0,o).join(", ");if(!(i.length>t))return o===n.length?i:$a(i,t)}return""}function en(e){return gv(e,new Map)}function gv(e,t){if(lK(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const o of Object.getOwnPropertyNames(e))typeof e[o]<"u"&&(r[o]=gv(e[o],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(o=>{r.push(gv(o,t))}),r}return e}function lK(e){if(!Ds(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const NR=1e3;function Rf(){return Date.now()/NR}function cK(){const{performance:e}=ze;if(!(e!=null&&e.now))return Rf;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/NR}const vn=cK();let o2;function uK(){var u;const{performance:e}=ze;if(!(e!=null&&e.now))return[void 0,"none"];const t=3600*1e3,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=o<t,a=(u=e.timing)==null?void 0:u.navigationStart,l=typeof a=="number"?Math.abs(a+n-r):t,c=l<t;return i||c?o<=l?[e.timeOrigin,"timeOrigin"]:[a,"navigationStart"]:[r,"dateNow"]}function Er(){return o2||(o2=uK()),o2[0]}function dK(){const e=ze;return e.crypto||e.msCrypto}function nr(e=dK()){let t=()=>Math.random()*16;try{if(e!=null&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e!=null&&e.getRandomValues&&(t=()=>{const n=new Uint8Array(1);return e.getRandomValues(n),n[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,n=>(n^(t()&15)>>n/4).toString(16))}function $R(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)==null?void 0:n[0]}function da(e){const{message:t,event_id:n}=e;if(t)return t;const r=$R(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function yv(e,t,n){const r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function Va(e,t){const n=$R(e);if(!n)return;const r={type:"generic",handled:!0},o=n.mechanism;if(n.mechanism={...r,...o,...t},t&&"data"in t){const i={...o==null?void 0:o.data,...t.data};n.mechanism.data=i}}function fK(e,t,n=5){if(t.lineno===void 0)return;const r=e.length,o=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,o-n),o).map(a=>r2(a,0));const i=Math.min(r-1,o);t.context_line=r2(e[i],t.colno||0),t.post_context=e.slice(Math.min(o+1,r),o+1+n).map(a=>r2(a,0))}function S7(e){if(pK(e))return!0;try{br(e,"__sentry_captured__",!0)}catch{}return!1}function pK(e){try{return e.__sentry_captured__}catch{}}var pi;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(pi||(pi={}));function Fi(e){return new za(t=>{t(e)})}function Ah(e){return new za((t,n)=>{n(e)})}class za{constructor(t){this._state=pi.PENDING,this._handlers=[],this._runExecutor(t)}then(t,n){return new za((r,o)=>{this._handlers.push([!1,i=>{if(!t)r(i);else try{r(t(i))}catch(a){o(a)}},i=>{if(!n)o(i);else try{r(n(i))}catch(a){o(a)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new za((n,r)=>{let o,i;return this.then(a=>{i=!1,o=a,t&&t()},a=>{i=!0,o=a,t&&t()}).then(()=>{if(i){r(o);return}n(o)})})}_executeHandlers(){if(this._state===pi.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===pi.RESOLVED&&n[1](this._value),this._state===pi.REJECTED&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(i,a)=>{if(this._state===pi.PENDING){if(Mf(a)){a.then(r,o);return}this._state=i,this._value=a,this._executeHandlers()}},r=i=>{n(pi.RESOLVED,i)},o=i=>{n(pi.REJECTED,i)};try{t(r,o)}catch(i){o(i)}}}function hK(e){const t=vn(),n={sid:nr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>gK(n)};return e&&Sc(n,e),n}function Sc(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||vn(),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:nr()),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 mK(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Sc(e,n)}function gK(e){return en({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}})}function Ui(){return nr()}function Tf(){return nr().substring(16)}function kf(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&Object.keys(t).length===0)return e;const r={...e};for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=kf(r[o],t[o],n-1));return r}const vv="_sentrySpan";function Bs(e,t){t?br(e,vv,t):delete e[vv]}function Ph(e){return e[vv]}const yK=100;class Oo{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ui(),sampleRand:Math.random()}}clone(){const t=new Oo;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,Bs(t,Ph(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}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,username:void 0},this._session&&Sc(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}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}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,r=n instanceof Oo?n.getScopeData():Ds(n)?t:void 0,{tags:o,extra:i,user:a,contexts:s,level:l,fingerprint:c=[],propagationContext:u}=r||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...s},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),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._session=void 0,Bs(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ui(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){var i;const r=typeof n=="number"?n:yK;if(r<=0)return this;const o={timestamp:Rf(),...t};return this._breadcrumbs.push(o),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),(i=this._client)==null||i.recordDroppedEvent("buffer_overflow","log_item")),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}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Ph(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=kf(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=(n==null?void 0:n.event_id)||nr();if(!this._client)return ne.warn("No client configured on scope - will not capture exception!"),r;const o=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:o,...n,event_id:r},this),r}captureMessage(t,n,r){const o=(r==null?void 0:r.event_id)||nr();if(!this._client)return ne.warn("No client configured on scope - will not capture message!"),o;const i=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:o},this),o}captureEvent(t,n){const r=(n==null?void 0:n.event_id)||nr();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(ne.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function vK(){return u0("defaultCurrentScope",()=>new Oo)}function _K(){return u0("defaultIsolationScope",()=>new Oo)}class bK{constructor(t,n){let r;t?r=t:r=new Oo;let o;n?o=n:o=new Oo,this._stack=[{scope:r}],this._isolationScope=o}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(o){throw this._popScope(),o}return Mf(r)?r.then(o=>(this._popScope(),o),o=>{throw this._popScope(),o}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function wc(){const e=Qi(),t=xf(e);return t.stack=t.stack||new bK(vK(),_K())}function EK(e){return wc().withScope(e)}function CK(e,t){const n=wc();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function w7(e){return wc().withScope(()=>e(wc().getIsolationScope()))}function SK(){return{withIsolationScope:w7,withScope:EK,withSetScope:CK,withSetIsolationScope:(e,t)=>w7(t),getCurrentScope:()=>wc().getScope(),getIsolationScope:()=>wc().getIsolationScope()}}function es(e){const t=xf(e);return t.acs?t.acs:SK()}function rt(){const e=Qi();return es(e).getCurrentScope()}function Cn(){const e=Qi();return es(e).getIsolationScope()}function N5(){return u0("globalScope",()=>new Oo)}function Ao(...e){const t=Qi(),n=es(t);if(e.length===2){const[r,o]=e;return r?n.withSetScope(r,o):n.withScope(o)}return n.withScope(e[0])}function wK(...e){const t=Qi(),n=es(t);if(e.length===2){const[r,o]=e;return r?n.withSetIsolationScope(r,o):n.withIsolationScope(o)}return n.withIsolationScope(e[0])}function xe(){return rt().getClient()}function xK(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:o}=t;return en({trace_id:n,span_id:o||Tf(),parent_span_id:r})}const Jr="sentry.source",$5="sentry.sample_rate",Hi="sentry.op",pn="sentry.origin",_v="sentry.idle_span_finish_reason",f0="sentry.measurement_unit",p0="sentry.measurement_value",bv="sentry.custom_span_name",j5="sentry.profile_id",If="sentry.exclusive_time",MK="http.request.method",RK="url.full",TK=0,jR=1,an=2;function DR(e){if(e<400&&e>=100)return{code:jR};if(e>=400&&e<500)switch(e){case 401:return{code:an,message:"unauthenticated"};case 403:return{code:an,message:"permission_denied"};case 404:return{code:an,message:"not_found"};case 409:return{code:an,message:"already_exists"};case 413:return{code:an,message:"failed_precondition"};case 429:return{code:an,message:"resource_exhausted"};case 499:return{code:an,message:"cancelled"};default:return{code:an,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:an,message:"unimplemented"};case 503:return{code:an,message:"unavailable"};case 504:return{code:an,message:"deadline_exceeded"};default:return{code:an,message:"internal_error"}}return{code:an,message:"unknown_error"}}function D5(e,t){e.setAttribute("http.response.status_code",t);const n=DR(t);n.message!=="unknown_error"&&e.setStatus(n)}const BR="_sentryScope",FR="_sentryIsolationScope";function kK(e,t,n){e&&(br(e,FR,n),br(e,BR,t))}function Nh(e){return{scope:e[BR],isolationScope:e[FR]}}function Fs(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}const B5="sentry-",IK=/^sentry-/,LK=8192;function UR(e){const t=OK(e);if(!t)return;const n=Object.entries(t).reduce((r,[o,i])=>{if(o.match(IK)){const a=o.slice(B5.length);r[a]=i}return r},{});if(Object.keys(n).length>0)return n}function HR(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,o])=>(o&&(n[`${B5}${r}`]=o),n),{});return AK(t)}function OK(e){if(!(!e||!Io(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=x7(n);return Object.entries(r).forEach(([o,i])=>{t[o]=i}),t},{}):x7(e)}function x7(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function AK(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],o)=>{const i=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,a=o===0?i:`${t},${i}`;return a.length>LK?(Xa&&ne.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):a},"")}const VR=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function PK(e){if(!e)return;const t=e.match(VR);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 zR(e,t){const n=PK(e),r=UR(t);if(!(n!=null&&n.traceId))return{traceId:Ui(),sampleRand:Math.random()};const o=NK(n,r);r&&(r.sample_rand=o.toString());const{traceId:i,parentSpanId:a,parentSampled:s}=n;return{traceId:i,parentSpanId:a,sampled:s,dsc:r||{},sampleRand:o}}function WR(e=Ui(),t=Tf(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function NK(e,t){const n=Fs(t==null?void 0:t.sample_rand);if(n!==void 0)return n;const r=Fs(t==null?void 0:t.sample_rate);return r&&(e==null?void 0:e.parentSampled)!==void 0?e.parentSampled?Math.random()*r:r+Math.random()*(1-r):Math.random()}const qR=0,F5=1;let M7=!1;function $K(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:o,parent_span_id:i,status:a,origin:s,links:l}=Je(e);return en({parent_span_id:i,span_id:t,trace_id:n,data:r,op:o,status:a,origin:s,links:l})}function jK(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),o=r?t:Je(e).parent_span_id,i=Nh(e).scope,a=r?(i==null?void 0:i.getPropagationContext().propagationSpanId)||Tf():t;return en({parent_span_id:o,span_id:a,trace_id:n})}function GR(e){const{traceId:t,spanId:n}=e.spanContext(),r=Zs(e);return WR(t,n,r)}function KR(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:n,traceFlags:r,...o},attributes:i})=>({span_id:t,trace_id:n,sampled:r===F5,attributes:i,...o}))}function Is(e){return typeof e=="number"?R7(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?R7(e.getTime()):vn()}function R7(e){return e>9999999999?e/1e3:e}function Je(e){if(BK(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(DK(e)){const{attributes:r,startTime:o,name:i,endTime:a,parentSpanId:s,status:l,links:c}=e;return en({span_id:t,trace_id:n,data:r,description:i,parent_span_id:s,start_timestamp:Is(o),timestamp:Is(a)||void 0,status:YR(l),op:r[Hi],origin:r[pn],links:KR(c)})}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function DK(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function BK(e){return typeof e.getSpanJSON=="function"}function Zs(e){const{traceFlags:t}=e.spanContext();return t===F5}function YR(e){if(!(!e||e.code===TK))return e.code===jR?"ok":e.message||"unknown_error"}const Ls="_sentryChildSpans",Ev="_sentryRootSpan";function ZR(e,t){const n=e[Ev]||e;br(t,Ev,n),e[Ls]?e[Ls].add(t):br(e,Ls,new Set([t]))}function FK(e,t){e[Ls]&&e[Ls].delete(t)}function fd(e){const t=new Set;function n(r){if(!t.has(r)&&Zs(r)){t.add(r);const o=r[Ls]?Array.from(r[Ls]):[];for(const i of o)n(i)}}return n(e),Array.from(t)}function _n(e){return e[Ev]||e}function Nn(){const e=Qi(),t=es(e);return t.getActiveSpan?t.getActiveSpan():Ph(rt())}function Cv(){M7||(Ks(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),M7=!0)}function UK(e,t){e.updateName(t),e.setAttributes({[Jr]:"custom",[bv]:t})}let T7=!1;function XR(){T7||(T7=!0,RR(Sv),TR(Sv))}function Sv(){const e=Nn(),t=e&&_n(e);if(t){const n="internal_error";Oe&&ne.log(`[Tracing] Root span: ${n} -> Global error occurred`),t.setStatus({code:an,message:n})}}Sv.tag="sentry_tracingErrorCallback";function Wa(e){var n;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||((n=xe())==null?void 0:n.getOptions());return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}const h0="production",JR="_frozenDsc";function w1(e,t){br(e,JR,t)}function QR(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},o=en({environment:n.environment||h0,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",o),o}function eT(e,t){const n=t.getPropagationContext();return n.dsc||QR(n.traceId,e)}function ii(e){var g;const t=xe();if(!t)return{};const n=_n(e),r=Je(n),o=r.data,i=n.spanContext().traceState,a=(i==null?void 0:i.get("sentry.sample_rate"))??o[$5];function s(v){return(typeof a=="number"||typeof a=="string")&&(v.sample_rate=`${a}`),v}const l=n[JR];if(l)return s(l);const c=i==null?void 0:i.get("sentry.dsc"),u=c&&UR(c);if(u)return s(u);const d=QR(e.spanContext().traceId,t),p=o[Jr],h=r.description;return p!=="url"&&h&&(d.transaction=h),Wa()&&(d.sampled=String(Zs(n)),d.sample_rand=(i==null?void 0:i.get("sentry.sample_rand"))??((g=Nh(n).scope)==null?void 0:g.getPropagationContext().sampleRand.toString())),s(d),t.emit("createDsc",d,n),d}function HK(e){const t=ii(e);return HR(t)}class Vi{constructor(t={}){this._traceId=t.traceId||Ui(),this._spanId=t.spanId||Tf()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:qR}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,n,r){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}function tT(e,t,n=()=>{}){let r;try{r=e()}catch(o){throw t(o),n(),o}return VK(r,t,n)}function VK(e,t,n){return Mf(e)?e.then(r=>(n(),r),r=>{throw t(r),n(),r}):(n(),e)}function zK(e){if(!Oe)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=Je(e),{spanId:o}=e.spanContext(),i=Zs(e),a=_n(e),s=a===e,l=`[Tracing] Starting ${i?"sampled":"unsampled"} ${s?"root ":""}span`,c=[`op: ${n}`,`name: ${t}`,`ID: ${o}`];if(r&&c.push(`parent ID: ${r}`),!s){const{op:u,description:d}=Je(a);c.push(`root ID: ${a.spanContext().spanId}`),u&&c.push(`root op: ${u}`),d&&c.push(`root description: ${d}`)}ne.log(`${l}
|
|
260
|
-
${c.join(`
|
|
261
|
-
`)}`)}function WK(e){if(!Oe)return;const{description:t="< unknown name >",op:n="< unknown op >"}=Je(e),{spanId:r}=e.spanContext(),i=_n(e)===e,a=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;ne.log(a)}function qK(e,t,n){if(!Wa(e))return[!1];let r,o;typeof e.tracesSampler=="function"?(o=e.tracesSampler({...t,inheritOrSampleWith:s=>typeof t.parentSampleRate=="number"?t.parentSampleRate:typeof t.parentSampled=="boolean"?Number(t.parentSampled):s}),r=!0):t.parentSampled!==void 0?o=t.parentSampled:typeof e.tracesSampleRate<"u"&&(o=e.tracesSampleRate,r=!0);const i=Fs(o);if(i===void 0)return Oe&&ne.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(o)} of type ${JSON.stringify(typeof o)}.`),[!1];if(!i)return Oe&&ne.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,r];const a=n<i;return a||Oe&&ne.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(o)})`),[a,i,r]}const GK=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function KK(e){return e==="http"||e==="https"}function Jc(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${a}`}function nT(e){const t=GK.exec(e);if(!t){Ks(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,o="",i="",a="",s=""]=t.slice(1);let l="",c=s;const u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){const d=c.match(/^\d+/);d&&(c=d[0])}return rT({host:i,pass:o,path:l,projectId:c,port:a,protocol:n,publicKey:r})}function rT(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function YK(e){if(!Xa)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(a=>e[a]?!1:(ne.error(`Invalid Sentry Dsn: ${a} missing`),!0))?!1:n.match(/^\d+$/)?KK(r)?t&&isNaN(parseInt(t,10))?(ne.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(ne.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(ne.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function oT(e){const t=typeof e=="string"?nT(e):rT(e);if(!(!t||!YK(t)))return t}function zr(e,t=100,n=1/0){try{return wv("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function iT(e,t=3,n=100*1024){const r=zr(e,t);return QK(r)>n?iT(e,t-1,n):r}function wv(e,t,n=1/0,r=1/0,o=eY()){const[i,a]=o;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const s=ZK(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(l===0)return s.replace("object ","");if(i(t))return"[Circular ~]";const c=t;if(c&&typeof c.toJSON=="function")try{const h=c.toJSON();return wv("",h,l-1,r,o)}catch{}const u=Array.isArray(t)?[]:{};let d=0;const p=PR(t);for(const h in p){if(!Object.prototype.hasOwnProperty.call(p,h))continue;if(d>=r){u[h]="[MaxProperties ~]";break}const g=p[h];u[h]=wv(h,g,l-1,r,o),d++}return a(t),u}function ZK(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(LR(t))return"[VueViewModel]";if(rK(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${ji(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=XK(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function XK(e){const t=Object.getPrototypeOf(e);return t!=null&&t.constructor?t.constructor.name:"null prototype"}function JK(e){return~-encodeURI(e).split(/%..|./).length}function QK(e){return JK(JSON.stringify(e))}function eY(){const e=new WeakSet;function t(r){return e.has(r)?!0:(e.add(r),!1)}function n(r){e.delete(r)}return[t,n]}function ts(e,t=[]){return[e,t]}function tY(e,t){const[n,r]=e;return[n,[...r,t]]}function Us(e,t){const n=e[1];for(const r of n){const o=r[0].type;if(t(r,o))return!0}return!1}function k7(e,t){return Us(e,(n,r)=>t.includes(r))}function $h(e){const t=xf(ze);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function nY(e){const t=xf(ze);return t.decodePolyfill?t.decodePolyfill(e):new TextDecoder().decode(e)}function jh(e){const[t,n]=e;let r=JSON.stringify(t);function o(i){typeof r=="string"?r=typeof i=="string"?r+i:[$h(r),i]:r.push(typeof i=="string"?$h(i):i)}for(const i of n){const[a,s]=i;if(o(`
|
|
262
|
-
${JSON.stringify(a)}
|
|
263
|
-
`),typeof s=="string"||s instanceof Uint8Array)o(s);else{let l;try{l=JSON.stringify(s)}catch{l=JSON.stringify(zr(s))}o(l)}}return typeof r=="string"?r:rY(r)}function rY(e){const t=e.reduce((o,i)=>o+i.length,0),n=new Uint8Array(t);let r=0;for(const o of e)n.set(o,r),r+=o.length;return n}function oY(e){let t=typeof e=="string"?$h(e):e;function n(a){const s=t.subarray(0,a);return t=t.subarray(a+1),s}function r(){let a=t.indexOf(10);return a<0&&(a=t.length),JSON.parse(nY(n(a)))}const o=r(),i=[];for(;t.length;){const a=r(),s=typeof a.length=="number"?a.length:void 0;i.push([a,s?n(s):r()])}return[o,i]}function iY(e){return[{type:"span"},e]}function aY(e){const t=typeof e.data=="string"?$h(e.data):e.data;return[en({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const sY={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",otel_log:"log_item"};function I7(e){return sY[e]}function U5(e){if(!(e!=null&&e.sdk))return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function aT(e,t,n,r){var i;const o=(i=e.sdkProcessingMetadata)==null?void 0:i.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Jc(r)},...o&&{trace:en({...o})}}}function lY(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 cY(e,t,n,r){const o=U5(n),i={sent_at:new Date().toISOString(),...o&&{sdk:o},...!!r&&t&&{dsn:Jc(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return ts(i,[a])}function uY(e,t,n,r){const o=U5(n),i=e.type&&e.type!=="replay_event"?e.type:"event";lY(e,n==null?void 0:n.sdk);const a=aT(e,o,r,t);return delete e.sdkProcessingMetadata,ts(a,[[{type:i},e]])}function dY(e,t){function n(u){return!!u.trace_id&&!!u.public_key}const r=ii(e[0]),o=t==null?void 0:t.getDsn(),i=t==null?void 0:t.getOptions().tunnel,a={sent_at:new Date().toISOString(),...n(r)&&{trace:r},...!!i&&o&&{dsn:Jc(o)}},s=t==null?void 0:t.getOptions().beforeSendSpan,l=s?u=>{const d=Je(u),p=s(d);return p||(Cv(),d)}:Je,c=[];for(const u of e){const d=l(u);d&&c.push(iY(d))}return ts(a,c)}function sT(e,t,n,r=Nn()){const o=r&&_n(r);o&&(Oe&&ne.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),o.addEvent(e,{[p0]:t,[f0]:n}))}function L7(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},o=r[f0],i=r[p0];typeof o=="string"&&typeof i=="number"&&(t[n.name]={value:i,unit:o})}),t}const O7=1e3;class H5{constructor(t={}){this._traceId=t.traceId||Ui(),this._spanId=t.spanId||Tf(),this._startTime=t.startTimestamp||vn(),this._links=t.links,this._attributes={},this.setAttributes({[pn]:"manual",[Hi]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?F5:qR}}setAttribute(t,n){return n===void 0?delete this._attributes[t]:this._attributes[t]=n,this}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._startTime=Is(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(Jr,"custom"),this}end(t){this._endTime||(this._endTime=Is(t),WK(this),this._onSpanEnded())}getSpanJSON(){return en({data:this._attributes,description:this._name,op:this._attributes[Hi],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:YR(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[pn],profile_id:this._attributes[j5],exclusive_time:this._attributes[If],measurements:L7(this._events),is_segment:this._isStandaloneSpan&&_n(this)===this||void 0,segment_id:this._isStandaloneSpan?_n(this).spanContext().spanId:void 0,links:KR(this._links)})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){Oe&&ne.log("[Tracing] Adding an event to span:",t);const o=A7(n)?n:r||vn(),i=A7(n)?{}:n||{},a={name:t,time:Is(o),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=xe();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===_n(this)))return;if(this._isStandaloneSpan){this._sampled?pY(dY([this],t)):(Oe&&ne.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const r=this._convertSpanToTransaction();r&&(Nh(this).scope||rt()).captureEvent(r)}_convertSpanToTransaction(){if(!P7(Je(this)))return;this._name||(Oe&&ne.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=Nh(this);if(this._sampled!==!0)return;const o=fd(this).filter(c=>c!==this&&!fY(c)).map(c=>Je(c)).filter(P7),i=this._attributes[Jr];delete this._attributes[bv],o.forEach(c=>{delete c.data[bv]});const a={contexts:{trace:$K(this)},spans:o.length>O7?o.sort((c,u)=>c.start_timestamp-u.start_timestamp).slice(0,O7):o,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,...en({dynamicSamplingContext:ii(this)})},...i&&{transaction_info:{source:i}}},s=L7(this._events);return s&&Object.keys(s).length&&(Oe&&ne.log("[Measurements] Adding measurements to transaction event",JSON.stringify(s,void 0,2)),a.measurements=s),a}}function A7(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function P7(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function fY(e){return e instanceof H5&&e.isStandaloneSpan()}function pY(e){const t=xe();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}const V5="__SENTRY_SUPPRESS_TRACING__";function hY(e,t){const n=Of();if(n.startSpan)return n.startSpan(e,t);const r=W5(e),{forceTransaction:o,parentSpan:i,scope:a}=e,s=a==null?void 0:a.clone();return Ao(s,()=>lT(i)(()=>{const c=rt(),u=q5(c),p=e.onlyIfParent&&!u?new Vi:z5({parentSpan:u,spanArguments:r,forceTransaction:o,scope:c});return Bs(c,p),tT(()=>t(p),()=>{const{status:h}=Je(p);p.isRecording()&&(!h||h==="ok")&&p.setStatus({code:an,message:"internal_error"})},()=>{p.end()})}))}function mY(e,t){const n=Of();if(n.startSpanManual)return n.startSpanManual(e,t);const r=W5(e),{forceTransaction:o,parentSpan:i,scope:a}=e,s=a==null?void 0:a.clone();return Ao(s,()=>lT(i)(()=>{const c=rt(),u=q5(c),p=e.onlyIfParent&&!u?new Vi:z5({parentSpan:u,spanArguments:r,forceTransaction:o,scope:c});return Bs(c,p),tT(()=>t(p,()=>p.end()),()=>{const{status:h}=Je(p);p.isRecording()&&(!h||h==="ok")&&p.setStatus({code:an,message:"internal_error"})})}))}function Qc(e){const t=Of();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=W5(e),{forceTransaction:r,parentSpan:o}=e;return(e.scope?a=>Ao(e.scope,a):o!==void 0?a=>Lf(o,a):a=>a())(()=>{const a=rt(),s=q5(a);return e.onlyIfParent&&!s?new Vi:z5({parentSpan:s,spanArguments:n,forceTransaction:r,scope:a})})}const gY=(e,t)=>{const n=Qi(),r=es(n);if(r.continueTrace)return r.continueTrace(e,t);const{sentryTrace:o,baggage:i}=e;return Ao(a=>{const s=zR(o,i);return a.setPropagationContext(s),t()})};function Lf(e,t){const n=Of();return n.withActiveSpan?n.withActiveSpan(e,t):Ao(r=>(Bs(r,e||void 0),t(r)))}function yY(e){const t=Of();return t.suppressTracing?t.suppressTracing(e):Ao(n=>(n.setSDKProcessingMetadata({[V5]:!0}),e()))}function vY(e){return Ao(t=>(t.setPropagationContext({traceId:Ui(),sampleRand:Math.random()}),Oe&&ne.info(`Starting a new trace with id ${t.getPropagationContext().traceId}`),Lf(null,e)))}function z5({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!Wa()){const a=new Vi;if(n||!e){const s={sampled:"false",sample_rate:"0",transaction:t.name,...ii(a)};w1(a,s)}return a}const o=Cn();let i;if(e&&!n)i=_Y(e,r,t),ZR(e,i);else if(e){const a=ii(e),{traceId:s,spanId:l}=e.spanContext(),c=Zs(e);i=N7({traceId:s,parentSpanId:l,...t},r,c),w1(i,a)}else{const{traceId:a,dsc:s,parentSpanId:l,sampled:c}={...o.getPropagationContext(),...r.getPropagationContext()};i=N7({traceId:a,parentSpanId:l,...t},r,c),s&&w1(i,s)}return zK(i),kK(i,r,o),i}function W5(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=Is(e.startTime),delete r.startTime,r}return n}function Of(){const e=Qi();return es(e)}function N7(e,t,n){var p;const r=xe(),o=(r==null?void 0:r.getOptions())||{},{name:i="",attributes:a}=e,s=t.getPropagationContext(),[l,c,u]=t.getScopeData().sdkProcessingMetadata[V5]?[!1]:qK(o,{name:i,parentSampled:n,attributes:a,parentSampleRate:Fs((p=s.dsc)==null?void 0:p.sample_rate)},s.sampleRand),d=new H5({...e,attributes:{[Jr]:"custom",[$5]:c!==void 0&&u?c:void 0,...e.attributes},sampled:l});return!l&&r&&(Oe&&ne.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate","transaction")),r&&r.emit("spanStart",d),d}function _Y(e,t,n){const{spanId:r,traceId:o}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[V5]?!1:Zs(e),a=i?new H5({...n,parentSpanId:r,traceId:o,sampled:i}):new Vi({traceId:o});ZR(e,a);const s=xe();return s&&(s.emit("spanStart",a),n.endTimestamp&&s.emit("spanEnd",a)),a}function q5(e){const t=Ph(e);if(!t)return;const n=xe();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?_n(t):t}function lT(e){return e!==void 0?t=>Lf(e,t):t=>t()}const x1={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},bY="heartbeatFailed",EY="idleTimeout",CY="finalTimeout",SY="externalFinish";function cT(e,t={}){const n=new Map;let r=!1,o,i=SY,a=!t.disableAutoFinish;const s=[],{idleTimeout:l=x1.idleTimeout,finalTimeout:c=x1.finalTimeout,childSpanTimeout:u=x1.childSpanTimeout,beforeSpanEnd:d}=t,p=xe();if(!p||!Wa()){const _=new Vi,C={sample_rate:"0",sampled:"false",...ii(_)};return w1(_,C),_}const h=rt(),g=Nn(),v=wY(e);v.end=new Proxy(v.end,{apply(_,C,R){if(d&&d(v),C instanceof Vi)return;const[T,...I]=R,D=T||vn(),F=Is(D),q=fd(v).filter(B=>B!==v);if(!q.length)return S(F),Reflect.apply(_,C,[F,...I]);const W=q.map(B=>Je(B).timestamp).filter(B=>!!B),Q=W.length?Math.max(...W):void 0,H=Je(v).start_timestamp,re=Math.min(H?H+c/1e3:1/0,Math.max(H||-1/0,Math.min(F,Q||1/0)));return S(re),Reflect.apply(_,C,[re,...I])}});function b(){o&&(clearTimeout(o),o=void 0)}function m(_){b(),o=setTimeout(()=>{!r&&n.size===0&&a&&(i=EY,v.end(_))},l)}function y(_){o=setTimeout(()=>{!r&&a&&(i=bY,v.end(_))},u)}function E(_){b(),n.set(_,!0);const C=vn();y(C+u/1e3)}function w(_){if(n.has(_)&&n.delete(_),n.size===0){const C=vn();m(C+l/1e3)}}function S(_){r=!0,n.clear(),s.forEach(F=>F()),Bs(h,g);const C=Je(v),{start_timestamp:R}=C;if(!R)return;C.data[_v]||v.setAttribute(_v,i),ne.log(`[Tracing] Idle span "${C.op}" finished`);const I=fd(v).filter(F=>F!==v);let D=0;I.forEach(F=>{F.isRecording()&&(F.setStatus({code:an,message:"cancelled"}),F.end(_),Oe&&ne.log("[Tracing] Cancelling span since span ended early",JSON.stringify(F,void 0,2)));const q=Je(F),{timestamp:W=0,start_timestamp:Q=0}=q,H=Q<=_,re=(c+l)/1e3,B=W-Q<=re;if(Oe){const ee=JSON.stringify(F,void 0,2);H?B||ne.log("[Tracing] Discarding span since it finished after idle span final timeout",ee):ne.log("[Tracing] Discarding span since it happened after idle span was finished",ee)}(!B||!H)&&(FK(v,F),D++)}),D>0&&v.setAttribute("sentry.idle_span_discarded_spans",D)}return s.push(p.on("spanStart",_=>{if(r||_===v||Je(_).timestamp)return;fd(v).includes(_)&&E(_.spanContext().spanId)})),s.push(p.on("spanEnd",_=>{r||w(_.spanContext().spanId)})),s.push(p.on("idleSpanEnableAutoFinish",_=>{_===v&&(a=!0,m(),n.size&&y())})),t.disableAutoFinish||m(),setTimeout(()=>{r||(v.setStatus({code:an,message:"deadline_exceeded"}),i=CY,v.end())},c),v}function wY(e){const t=Qc(e);return Bs(rt(),t),Oe&&ne.log("[Tracing] Started span is an idle span"),t}function xv(e,t,n,r=0){return new za((o,i)=>{const a=e[r];if(t===null||typeof a!="function")o(t);else{const s=a({...t},n);Oe&&a.id&&s===null&&ne.log(`Event processor "${a.id}" dropped event`),Mf(s)?s.then(l=>xv(e,l,n,r+1).then(o)).then(null,i):xv(e,s,n,r+1).then(o).then(null,i)}})}let Tp,$7,kp;function uT(e){const t=ze._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return kp&&n.length===$7||($7=n.length,kp=n.reduce((r,o)=>{Tp||(Tp={});const i=Tp[o];if(i)r[i[0]]=i[1];else{const a=e(o);for(let s=a.length-1;s>=0;s--){const l=a[s],c=l==null?void 0:l.filename,u=t[o];if(c&&u){r[c]=u,Tp[o]=[c,u];break}}}return r},{})),kp}function xY(e,t){const n=uT(e);if(!n)return[];const r=[];for(const o of t)o&&n[o]&&r.push({type:"sourcemap",code_file:o,debug_id:n[o]});return r}function MY(e,t){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:i}=t;RY(e,t),r&&IY(e,r),LY(e,n),TY(e,o),kY(e,i)}function j7(e,t){const{extra:n,tags:r,user:o,contexts:i,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:p,transactionName:h,span:g}=t;Ip(e,"extra",n),Ip(e,"tags",r),Ip(e,"user",o),Ip(e,"contexts",i),e.sdkProcessingMetadata=kf(e.sdkProcessingMetadata,s,2),a&&(e.level=a),h&&(e.transactionName=h),g&&(e.span=g),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function Ip(e,t,n){e[t]=kf(e[t],n,1)}function RY(e,t){const{extra:n,tags:r,user:o,contexts:i,level:a,transactionName:s}=t,l=en(n);Object.keys(l).length&&(e.extra={...l,...e.extra});const c=en(r);Object.keys(c).length&&(e.tags={...c,...e.tags});const u=en(o);Object.keys(u).length&&(e.user={...u,...e.user});const d=en(i);Object.keys(d).length&&(e.contexts={...d,...e.contexts}),a&&(e.level=a),s&&e.type!=="transaction"&&(e.transaction=s)}function TY(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function kY(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function IY(e,t){e.contexts={trace:jK(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:ii(t),...e.sdkProcessingMetadata};const n=_n(t),r=Je(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function LY(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}function dT(e,t,n,r,o,i){const{normalizeDepth:a=3,normalizeMaxBreadth:s=1e3}=e,l={...t,event_id:t.event_id||n.event_id||nr(),timestamp:t.timestamp||Rf()},c=n.integrations||e.integrations.map(b=>b.name);OY(l,e),NY(l,c),o&&o.emit("applyFrameMetadata",t),t.type===void 0&&AY(l,e.stackParser);const u=jY(r,n.captureContext);n.mechanism&&Va(l,n.mechanism);const d=o?o.getEventProcessors():[],p=N5().getScopeData();if(i){const b=i.getScopeData();j7(p,b)}if(u){const b=u.getScopeData();j7(p,b)}const h=[...n.attachments||[],...p.attachments];h.length&&(n.attachments=h),MY(l,p);const g=[...d,...p.eventProcessors];return xv(g,l,n).then(b=>(b&&PY(b),typeof a=="number"&&a>0?$Y(b,a,s):b))}function OY(e,t){var l,c;const{environment:n,release:r,dist:o,maxValueLength:i=250}=t;e.environment=e.environment||n||h0,!e.release&&r&&(e.release=r),!e.dist&&o&&(e.dist=o),e.message&&(e.message=$a(e.message,i));const a=(c=(l=e.exception)==null?void 0:l.values)==null?void 0:c[0];a!=null&&a.value&&(a.value=$a(a.value,i));const s=e.request;s!=null&&s.url&&(s.url=$a(s.url,i))}function AY(e,t){var r,o;const n=uT(t);(o=(r=e.exception)==null?void 0:r.values)==null||o.forEach(i=>{var a,s;(s=(a=i.stacktrace)==null?void 0:a.frames)==null||s.forEach(l=>{l.filename&&(l.debug_id=n[l.filename])})})}function PY(e){var r,o;const t={};if((o=(r=e.exception)==null?void 0:r.values)==null||o.forEach(i=>{var a,s;(s=(a=i.stacktrace)==null?void 0:a.frames)==null||s.forEach(l=>{l.debug_id&&(l.abs_path?t[l.abs_path]=l.debug_id:l.filename&&(t[l.filename]=l.debug_id),delete l.debug_id)})}),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.entries(t).forEach(([i,a])=>{n.push({type:"sourcemap",code_file:i,debug_id:a})})}function NY(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function $Y(e,t,n){var o,i;if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(a=>({...a,...a.data&&{data:zr(a.data,t,n)}}))},...e.user&&{user:zr(e.user,t,n)},...e.contexts&&{contexts:zr(e.contexts,t,n)},...e.extra&&{extra:zr(e.extra,t,n)}};return(o=e.contexts)!=null&&o.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=zr(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(a=>({...a,...a.data&&{data:zr(a.data,t,n)}}))),(i=e.contexts)!=null&&i.flags&&r.contexts&&(r.contexts.flags=zr(e.contexts.flags,3,n)),r}function jY(e,t){if(!t)return e;const n=e?e.clone():new Oo;return n.update(t),n}function DY(e){if(e)return BY(e)?{captureContext:e}:UY(e)?{captureContext:e}:e}function BY(e){return e instanceof Oo||typeof e=="function"}const FY=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function UY(e){return Object.keys(e).some(t=>FY.includes(t))}function m0(e,t){return rt().captureException(e,DY(t))}function Dh(e,t){const n=typeof t=="string"?t:void 0,r=typeof t!="string"?{captureContext:t}:void 0;return rt().captureMessage(e,n,r)}function Af(e,t){return rt().captureEvent(e,t)}function fT(e,t){Cn().setContext(e,t)}function HY(e){Cn().setExtras(e)}function VY(e,t){Cn().setExtra(e,t)}function zY(e){Cn().setTags(e)}function WY(e,t){Cn().setTag(e,t)}function qY(e){Cn().setUser(e)}function pT(){return Cn().lastEventId()}async function GY(e){const t=xe();return t?t.flush(e):(Oe&&ne.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function KY(e){const t=xe();return t?t.close(e):(Oe&&ne.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function YY(){return!!xe()}function ZY(){const e=xe();return(e==null?void 0:e.getOptions().enabled)!==!1&&!!(e!=null&&e.getTransport())}function hT(e){Cn().addEventProcessor(e)}function Mv(e){const t=Cn(),n=rt(),{userAgent:r}=ze.navigator||{},o=hK({user:n.getUser()||t.getUser(),...r&&{userAgent:r},...e}),i=t.getSession();return(i==null?void 0:i.status)==="ok"&&Sc(i,{status:"exited"}),G5(),t.setSession(o),o}function G5(){const e=Cn(),n=rt().getSession()||e.getSession();n&&mK(n),mT(),e.setSession()}function mT(){const e=Cn(),t=xe(),n=e.getSession();n&&t&&t.captureSession(n)}function Rv(e=!1){if(e){G5();return}mT()}const XY="7";function gT(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function JY(e){return`${gT(e)}${e.projectId}/envelope/`}function QY(e,t){const n={sentry_version:XY};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function yT(e,t,n){return t||`${JY(e)}?${QY(e,n)}`}function eZ(e,t){const n=oT(e);if(!n)return"";const r=`${gT(n)}embed/error-page/`;let o=`dsn=${Jc(n)}`;for(const i in t)if(i!=="dsn"&&i!=="onClose")if(i==="user"){const a=t.user;if(!a)continue;a.name&&(o+=`&name=${encodeURIComponent(a.name)}`),a.email&&(o+=`&email=${encodeURIComponent(a.email)}`)}else o+=`&${encodeURIComponent(i)}=${encodeURIComponent(t[i])}`;return`${r}?${o}`}const D7=[];function tZ(e){const t={};return e.forEach(n=>{const{name:r}=n,o=t[r];o&&!o.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function nZ(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(o=>{o.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const o=n(t);r=Array.isArray(o)?o:[o]}else r=t;return tZ(r)}function rZ(e,t){const n={};return t.forEach(r=>{r&&vT(e,r,n)}),n}function B7(e,t){for(const n of t)n!=null&&n.afterAllSetup&&n.afterAllSetup(e)}function vT(e,t,n){if(n[t.name]){Oe&&ne.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,D7.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),D7.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(o,i)=>r(o,i,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),o=Object.assign((i,a)=>r(i,a,e),{id:t.name});e.addEventProcessor(o)}Oe&&ne.log(`Integration installed: ${t.name}`)}function Tv(e){const t=xe();if(!t){Oe&&ne.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function oZ(e,t,n){const r=[{type:"client_report"},{timestamp:Rf(),discarded_events:e}];return ts(t?{dsn:t}:{},[r])}class wo extends Error{constructor(t,n="warn"){super(t),this.message=t,this.logLevel=n}}function _T(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n!=null&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function iZ(e){var l;const{trace_id:t,parent_span_id:n,span_id:r,status:o,origin:i,data:a,op:s}=((l=e.contexts)==null?void 0:l.trace)??{};return en({data:a??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:a==null?void 0:a[j5],exclusive_time:a==null?void 0:a[If],measurements:e.measurements,is_segment:!0})}function aZ(e){const t={type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[j5]:e.profile_id},...e.exclusive_time&&{[If]:e.exclusive_time}}}},measurements:e.measurements};return en(t)}const F7="Not capturing exception because it's already been captured.",U7="Discarded session because of missing or non-string release";class sZ{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=oT(t.dsn):Oe&&ne.warn("No DSN provided, client will not send events."),this._dsn){const n=yT(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}}captureException(t,n,r){const o=nr();if(S7(t))return Oe&&ne.log(F7),o;const i={event_id:o,...n};return this._process(this.eventFromException(t,i).then(a=>this._captureEvent(a,i,r))),i.event_id}captureMessage(t,n,r,o){const i={event_id:nr(),...r},a=L5(t)?t:String(t),s=O5(t)?this.eventFromMessage(a,n,i):this.eventFromException(t,i);return this._process(s.then(l=>this._captureEvent(l,i,o))),i.event_id}captureEvent(t,n,r){const o=nr();if(n!=null&&n.originalException&&S7(n.originalException))return Oe&&ne.log(F7),o;const i={event_id:o,...n},a=t.sdkProcessingMetadata||{},s=a.capturedSpanScope,l=a.capturedSpanIsolationScope;return this._process(this._captureEvent(t,i,s||r,l)),i.event_id}captureSession(t){this.sendSession(t),Sc(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.emit("flush"),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(o=>r&&o))):Fi(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,this.emit("close"),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];vT(this,t,this._integrations),n||B7(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=uY(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])r=tY(r,aY(i));const o=this.sendEnvelope(r);o&&o.then(i=>this.emit("afterSendEvent",t,i),null)}sendSession(t){const{release:n,environment:r=h0}=this._options;if("aggregates"in t){const i=t.attrs||{};if(!i.release&&!n){Oe&&ne.warn(U7);return}i.release=i.release||n,i.environment=i.environment||r,t.attrs=i}else{if(!t.release&&!n){Oe&&ne.warn(U7);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const o=cY(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(o)}recordDroppedEvent(t,n,r=1){if(this._options.sendClientReports){const o=`${t}:${n}`;Oe&&ne.log(`Recording outcome: "${o}"${r>1?` (${r} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+r}}on(t,n){const r=this._hooks[t]=this._hooks[t]||[];return r.push(n),()=>{const o=r.indexOf(n);o>-1&&r.splice(o,1)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(o=>o(...n))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,n=>(Oe&&ne.error("Error while sending envelope:",n),n)):(Oe&&ne.error("Transport disabled"),Fi({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=rZ(this,t),B7(this,t)}_updateSessionFromEvent(t,n){var l;let r=n.level==="fatal",o=!1;const i=(l=n.exception)==null?void 0:l.values;if(i){o=!0;for(const c of i){const u=c.mechanism;if((u==null?void 0:u.handled)===!1){r=!0;break}}}const a=t.status==="ok";(a&&t.errors===0||a&&r)&&(Sc(t,{...r&&{status:"crashed"},errors:t.errors||Number(o||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new za(n=>{let r=0;const o=1,i=setInterval(()=>{this._numProcessing==0?(clearInterval(i),n(!0)):(r+=o,t&&r>=t&&(clearInterval(i),n(!1)))},o)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,o){const i=this.getOptions(),a=Object.keys(this._integrations);return!n.integrations&&(a!=null&&a.length)&&(n.integrations=a),this.emit("preprocessEvent",t,n),t.type||o.setLastEventId(t.event_id||n.event_id),dT(i,t,n,r,this,o).then(s=>{if(s===null)return s;this.emit("postprocessEvent",s,n),s.contexts={trace:xK(r),...s.contexts};const l=eT(this,r);return s.sdkProcessingMetadata={dynamicSamplingContext:l,...s.sdkProcessingMetadata},s})}_captureEvent(t,n={},r=rt(),o=Cn()){return Oe&&kv(t)&&ne.log(`Captured error event \`${_T(t)[0]||"<unknown>"}\``),this._processEvent(t,n,r,o).then(i=>i.event_id,i=>{Oe&&(i instanceof wo&&i.logLevel==="log"?ne.log(i.message):ne.warn(i))})}_processEvent(t,n,r,o){const i=this.getOptions(),{sampleRate:a}=i,s=bT(t),l=kv(t),c=t.type||"error",u=`before send for type \`${c}\``,d=typeof a>"u"?void 0:Fs(a);if(l&&typeof d=="number"&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error"),Ah(new wo(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));const p=c==="replay_event"?"replay":c;return this._prepareEvent(t,n,r,o).then(h=>{if(h===null)throw this.recordDroppedEvent("event_processor",p),new wo("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return h;const v=cZ(this,i,h,n);return lZ(v,u)}).then(h=>{var b;if(h===null){if(this.recordDroppedEvent("before_send",p),s){const y=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",y)}throw new wo(`${u} returned \`null\`, will not send event.`,"log")}const g=r.getSession()||o.getSession();if(l&&g&&this._updateSessionFromEvent(g,h),s){const m=((b=h.sdkProcessingMetadata)==null?void 0:b.spanCountBeforeProcessing)||0,y=h.spans?h.spans.length:0,E=m-y;E>0&&this.recordDroppedEvent("before_send","span",E)}const v=h.transaction_info;if(s&&v&&h.transaction!==t.transaction){const m="custom";h.transaction_info={...v,source:m}}return this.sendEvent(h,n),h}).then(null,h=>{throw h instanceof wo?h:(this.captureException(h,{data:{__sentry__:!0},originalException:h}),new wo(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
264
|
-
Reason: ${h}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[o,i]=n.split(":");return{reason:o,category:i,quantity:r}})}_flushOutcomes(){Oe&&ne.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){Oe&&ne.log("No outcomes to send");return}if(!this._dsn){Oe&&ne.log("No dsn provided, will not send outcomes");return}Oe&&ne.log("Sending outcomes:",t);const n=oZ(t,this._options.tunnel&&Jc(this._dsn));this.sendEnvelope(n)}}function lZ(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Mf(e))return e.then(r=>{if(!Ds(r)&&r!==null)throw new wo(n);return r},r=>{throw new wo(`${t} rejected with ${r}`)});if(!Ds(e)&&e!==null)throw new wo(n);return e}function cZ(e,t,n,r){const{beforeSend:o,beforeSendTransaction:i,beforeSendSpan:a}=t;let s=n;if(kv(s)&&o)return o(s,r);if(bT(s)){if(a){const l=a(iZ(s));if(l?s=kf(n,aZ(l)):Cv(),s.spans){const c=[];for(const u of s.spans){const d=a(u);d?c.push(d):(Cv(),c.push(u))}s.spans=c}}if(i){if(s.spans){const l=s.spans.length;s.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:l}}return i(s,r)}}return s}function kv(e){return e.type===void 0}function bT(e){return e.type==="transaction"}function uZ(e,t){t.debug===!0&&(Oe?ne.enable():Ks(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),rt().update(t.initialScope);const r=new e(t);return ET(r),r.init(),r}function ET(e){rt().setClient(e)}function dZ(e){const t=[];function n(){return e===void 0||t.length<e}function r(a){return t.splice(t.indexOf(a),1)[0]||Promise.resolve(void 0)}function o(a){if(!n())return Ah(new wo("Not adding Promise because buffer limit was reached."));const s=a();return t.indexOf(s)===-1&&t.push(s),s.then(()=>r(s)).then(null,()=>r(s).then(null,()=>{})),s}function i(a){return new za((s,l)=>{let c=t.length;if(!c)return s(!0);const u=setTimeout(()=>{a&&a>0&&s(!1)},a);t.forEach(d=>{Fi(d).then(()=>{--c||(clearTimeout(u),s(!0))},l)})})}return{$:t,add:o,drain:i}}const fZ=60*1e3;function CT(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?fZ:r-t}function pZ(e,t){return e[t]||e.all||0}function ST(e,t,n=Date.now()){return pZ(e,t)>n}function wT(e,{statusCode:t,headers:n},r=Date.now()){const o={...e},i=n==null?void 0:n["x-sentry-rate-limits"],a=n==null?void 0:n["retry-after"];if(i)for(const s of i.trim().split(",")){const[l,c,,,u]=s.split(":",5),d=parseInt(l,10),p=(isNaN(d)?60:d)*1e3;if(!c)o.all=r+p;else for(const h of c.split(";"))h==="metric_bucket"?(!u||u.split(";").includes("custom"))&&(o[h]=r+p):o[h]=r+p}else a?o.all=r+CT(a,r):t===429&&(o.all=r+60*1e3);return o}const hZ=64;function xT(e,t,n=dZ(e.bufferSize||hZ)){let r={};const o=a=>n.drain(a);function i(a){const s=[];if(Us(a,(d,p)=>{const h=I7(p);ST(r,h)?e.recordDroppedEvent("ratelimit_backoff",h):s.push(d)}),s.length===0)return Fi({});const l=ts(a[0],s),c=d=>{Us(l,(p,h)=>{e.recordDroppedEvent(d,I7(h))})},u=()=>t({body:jh(l)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&Oe&&ne.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=wT(r,d),d),d=>{throw c("network_error"),d});return n.add(u).then(d=>d,d=>{if(d instanceof wo)return Oe&&ne.error("Skipped sending event because buffer is full."),c("queue_overflow"),Fi({});throw d})}return{send:i,flush:o}}const i2=100,a2=5e3,mZ=36e5;function gZ(e){function t(...n){Oe&&ne.info("[Offline]:",...n)}return n=>{const r=e(n);if(!n.createStore)throw new Error("No `createStore` function was provided");const o=n.createStore(n);let i=a2,a;function s(d,p,h){return k7(d,["client_report"])?!1:n.shouldStore?n.shouldStore(d,p,h):!0}function l(d){a&&clearTimeout(a),a=setTimeout(async()=>{a=void 0;const p=await o.shift();p&&(t("Attempting to send previously queued event"),p[0].sent_at=new Date().toISOString(),u(p,!0).catch(h=>{t("Failed to retry sending",h)}))},d),typeof a!="number"&&a.unref&&a.unref()}function c(){a||(l(i),i=Math.min(i*2,mZ))}async function u(d,p=!1){var h,g;if(!p&&k7(d,["replay_event","replay_recording"]))return await o.push(d),l(i2),{};try{const v=await r.send(d);let b=i2;if(v){if((h=v.headers)!=null&&h["retry-after"])b=CT(v.headers["retry-after"]);else if((g=v.headers)!=null&&g["x-sentry-rate-limits"])b=6e4;else if((v.statusCode||0)>=400)return v}return l(b),i=a2,v}catch(v){if(await s(d,v,i))return p?await o.unshift(d):await o.push(d),c(),t("Error sending. Event queued.",v),{};throw v}}return n.flushAtStartup&&c(),{send:u,flush:d=>(d===void 0&&(i=a2,l(i2)),r.flush(d))}}}function MT(e,t){let n;return Us(e,(r,o)=>(t.includes(o)&&(n=Array.isArray(r)?r[1]:void 0),!!n)),n}function yZ(e,t){return n=>{const r=e(n);return{...r,send:async o=>{const i=MT(o,["event","transaction","profile","replay_event"]);return i&&(i.release=t),r.send(o)}}}}function vZ(e,t){return ts(t?{...e[0],dsn:t}:e[0],e[1])}function _Z(e,t){return n=>{const r=e(n),o=new Map;function i(l,c){const u=c?`${l}:${c}`:l;let d=o.get(u);if(!d){const p=nT(l);if(!p)return;const h=yT(p,n.tunnel);d=c?yZ(e,c)({...n,url:h}):e({...n,url:h}),o.set(u,d)}return[l,d]}async function a(l){function c(h){const g=h!=null&&h.length?h:["event"];return MT(l,g)}const u=t({envelope:l,getEvent:c}).map(h=>typeof h=="string"?i(h,void 0):i(h.dsn,h.release)).filter(h=>!!h),d=u.length?u:[["",r]];return(await Promise.all(d.map(([h,g])=>g.send(vZ(l,h)))))[0]}async function s(l){const c=[...o.values(),r];return(await Promise.all(c.map(d=>d.flush(l)))).every(d=>d)}return{send:a,flush:s}}}function RT(e,t){const n=t==null?void 0:t.getDsn(),r=t==null?void 0:t.getOptions().tunnel;return EZ(e,n)||bZ(e,r)}function bZ(e,t){return t?H7(e)===H7(t):!1}function EZ(e,t){return t?e.includes(t.host):!1}function H7(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function CZ(e,...t){const n=new String(String.raw(e,...t));return n.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=t,n}function SZ(e){var t;((t=e.user)==null?void 0:t.ip_address)===void 0&&(e.user={...e.user,ip_address:"{{auto}}"})}function wZ(e){var t;"aggregates"in e?((t=e.attrs)==null?void 0:t.ip_address)===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function xZ(e,t,n=[t],r="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map(i=>({name:`${r}:@sentry/${i}`,version:xi})),version:xi}),e._metadata=o}function TT(e={}){const t=xe();if(!ZY()||!t)return{};const n=Qi(),r=es(n);if(r.getTraceData)return r.getTraceData(e);const o=rt(),i=e.span||Nn(),a=i?GR(i):MZ(o),s=i?ii(i):eT(t,o),l=HR(s);return VR.test(a)?{"sentry-trace":a,baggage:l}:(ne.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function MZ(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return WR(t,r,n)}const RZ=100;function zi(e,t){const n=xe(),r=Cn();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:i=RZ}=n.getOptions();if(i<=0)return;const s={timestamp:Rf(),...e},l=o?Ks(()=>o(s,t)):s;l!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,i))}let V7;const TZ="FunctionToString",z7=new WeakMap,kZ=()=>({name:TZ,setupOnce(){V7=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=P5(this),n=z7.has(xe())&&t!==void 0?t:this;return V7.apply(n,e)}}catch{}},setup(e){z7.set(e,!0)}}),kT=kZ,IZ=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],LZ="EventFilters",OZ=(e={})=>({name:LZ,processEvent(t,n,r){const o=r.getOptions(),i=AZ(e,o);return PZ(t,i)?null:t}}),IT=OZ,LT=(e={})=>({...IT(e),name:"InboundFilters"});function AZ(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:IZ],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function PZ(e,t){return t.ignoreInternal&&BZ(e)?(Oe&&ne.warn(`Event dropped due to being internal Sentry Error.
|
|
265
|
-
Event: ${da(e)}`),!0):NZ(e,t.ignoreErrors)?(Oe&&ne.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
266
|
-
Event: ${da(e)}`),!0):UZ(e)?(Oe&&ne.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
267
|
-
Event: ${da(e)}`),!0):$Z(e,t.ignoreTransactions)?(Oe&&ne.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
268
|
-
Event: ${da(e)}`),!0):jZ(e,t.denyUrls)?(Oe&&ne.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
269
|
-
Event: ${da(e)}.
|
|
270
|
-
Url: ${Bh(e)}`),!0):DZ(e,t.allowUrls)?!1:(Oe&&ne.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
271
|
-
Event: ${da(e)}.
|
|
272
|
-
Url: ${Bh(e)}`),!0)}function NZ(e,t){return e.type||!t||!t.length?!1:_T(e).some(n=>ei(n,t))}function $Z(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?ei(n,t):!1}function jZ(e,t){if(!(t!=null&&t.length))return!1;const n=Bh(e);return n?ei(n,t):!1}function DZ(e,t){if(!(t!=null&&t.length))return!0;const n=Bh(e);return n?ei(n,t):!0}function BZ(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function FZ(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 Bh(e){var t,n;try{const r=[...((t=e.exception)==null?void 0:t.values)??[]].reverse().find(i=>{var a,s,l;return((a=i.mechanism)==null?void 0:a.parent_id)===void 0&&((l=(s=i.stacktrace)==null?void 0:s.frames)==null?void 0:l.length)}),o=(n=r==null?void 0:r.stacktrace)==null?void 0:n.frames;return o?FZ(o):null}catch{return Oe&&ne.error(`Cannot extract url for event ${da(e)}`),null}}function UZ(e){var t,n;return e.type||!((n=(t=e.exception)==null?void 0:t.values)!=null&&n.length)?!1:!e.message&&!e.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value)}function HZ(e,t,n=250,r,o,i,a){var l;if(!((l=i.exception)!=null&&l.values)||!a||!Di(a.originalException,Error))return;const s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;s&&(i.exception.values=VZ(Iv(e,t,o,a.originalException,r,i.exception.values,s,0),n))}function Iv(e,t,n,r,o,i,a,s){if(i.length>=n+1)return i;let l=[...i];if(Di(r[o],Error)){W7(a,s);const c=e(t,r[o]),u=l.length;q7(c,o,u,s),l=Iv(e,t,n,r[o],o,[c,...l],c,u)}return Array.isArray(r.errors)&&r.errors.forEach((c,u)=>{if(Di(c,Error)){W7(a,s);const d=e(t,c),p=l.length;q7(d,`errors[${u}]`,p,s),l=Iv(e,t,n,c,o,[d,...l],d,p)}}),l}function W7(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function q7(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function VZ(e,t){return e.map(n=>(n.value&&(n.value=$a(n.value,t)),n))}const OT=new Map,G7=new Set;function zZ(e){if(ze._sentryModuleMetadata)for(const t of Object.keys(ze._sentryModuleMetadata)){const n=ze._sentryModuleMetadata[t];if(G7.has(t))continue;G7.add(t);const r=e(t);for(const o of r.reverse())if(o.filename){OT.set(o.filename,n);break}}}function WZ(e,t){return zZ(e),OT.get(t)}function AT(e,t){try{t.exception.values.forEach(n=>{if(n.stacktrace)for(const r of n.stacktrace.frames||[]){if(!r.filename||r.module_metadata)continue;const o=WZ(e,r.filename);o&&(r.module_metadata=o)}})}catch{}}function PT(e){try{e.exception.values.forEach(t=>{if(t.stacktrace)for(const n of t.stacktrace.frames||[])delete n.module_metadata})}catch{}}const qZ=()=>({name:"ModuleMetadata",setup(e){e.on("beforeEnvelope",t=>{Us(t,(n,r)=>{if(r==="event"){const o=Array.isArray(n)?n[1]:void 0;o&&(PT(o),n[1]=o)}})}),e.on("applyFrameMetadata",t=>{if(t.type)return;const n=e.getOptions().stackParser;AT(n,t)})}});function NT(e){const t="console";Ja(t,e),Qa(t,GZ)}function GZ(){"console"in ze&&Ih.forEach(function(e){e in ze.console&&Qn(ze.console,e,function(t){return Lh[e]=t,function(...n){no("console",{args:n,level:e});const o=Lh[e];o==null||o.apply(ze.console,n)}})})}function K5(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const KZ="CaptureConsole",YZ=(e={})=>{const t=e.levels||Ih,n=e.handled??!0;return{name:KZ,setup(r){"console"in ze&&NT(({args:o,level:i})=>{xe()!==r||!t.includes(i)||XZ(o,i,n)})}}},ZZ=YZ;function XZ(e,t,n){const r={level:K5(t),extra:{arguments:e}};Ao(o=>{if(o.addEventProcessor(s=>(s.logger="console",Va(s,{handled:n,type:"console"}),s)),t==="assert"){if(!e[0]){const s=`Assertion failed: ${Oh(e.slice(1)," ")||"console.assert"}`;o.setExtra("arguments",e.slice(1)),Dh(s,r)}return}const i=e.find(s=>s instanceof Error);if(i){m0(i,r);return}const a=Oh(e," ");Dh(a,r)})}const JZ="Dedupe",QZ=()=>{let e;return{name:JZ,processEvent(t){if(t.type)return t;try{if(eX(t,e))return Oe&&ne.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},$T=QZ;function eX(e,t){return t?!!(tX(e,t)||nX(e,t)):!1}function tX(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!DT(e,t)||!jT(e,t))}function nX(e,t){const n=K7(t),r=K7(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!DT(e,t)||!jT(e,t))}function jT(e,t){let n=mv(e),r=mv(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let o=0;o<r.length;o++){const i=r[o],a=n[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0}function DT(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function K7(e){var t;return((t=e.exception)==null?void 0:t.values)&&e.exception.values[0]}const rX="ExtraErrorData",oX=(e={})=>{const{depth:t=3,captureErrorCause:n=!0}=e;return{name:rX,processEvent(r,o,i){const{maxValueLength:a=250}=i.getOptions();return aX(r,o,t,n,a)}}},iX=oX;function aX(e,t={},n,r,o){if(!t.originalException||!Na(t.originalException))return e;const i=t.originalException.name||t.originalException.constructor.name,a=sX(t.originalException,r,o);if(a){const s={...e.contexts},l=zr(a,n);return Ds(l)&&(br(l,"__sentry_skip_normalization__",!0),s[i]=l),{...e,contexts:s}}return e}function sX(e,t,n){try{const r=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],o={};for(const i of Object.keys(e)){if(r.indexOf(i)!==-1)continue;const a=e[i];o[i]=Na(a)||typeof a=="string"?$a(`${a}`,n):a}if(t&&e.cause!==void 0&&(o.cause=Na(e.cause)?e.cause.toString():e.cause),typeof e.toJSON=="function"){const i=e.toJSON();for(const a of Object.keys(i)){const s=i[a];o[a]=Na(s)?s.toString():s}}return o}catch(r){Oe&&ne.error("Unable to extract extra data from the Error object:",r)}return null}function lX(e,t){let n=0;for(let r=e.length-1;r>=0;r--){const o=e[r];o==="."?e.splice(r,1):o===".."?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}const cX=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function uX(e){const t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=cX.exec(t);return n?n.slice(1):[]}function Y7(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const o=r>=0?e[r]:"/";o&&(t=`${o}/${t}`,n=o.charAt(0)==="/")}return t=lX(t.split("/").filter(r=>!!r),!n).join("/"),(n?"/":"")+t||"."}function Z7(e){let t=0;for(;t<e.length&&e[t]==="";t++);let n=e.length-1;for(;n>=0&&e[n]==="";n--);return t>n?[]:e.slice(t,n-t+1)}function dX(e,t){e=Y7(e).slice(1),t=Y7(t).slice(1);const n=Z7(e.split("/")),r=Z7(t.split("/")),o=Math.min(n.length,r.length);let i=o;for(let s=0;s<o;s++)if(n[s]!==r[s]){i=s;break}let a=[];for(let s=i;s<n.length;s++)a.push("..");return a=a.concat(r.slice(i)),a.join("/")}function fX(e,t){return uX(e)[2]||""}const pX="RewriteFrames",hX=(e={})=>{const t=e.root,n=e.prefix||"app:///",r="window"in ze&&!!ze.window,o=e.iteratee||mX({isBrowser:r,root:t,prefix:n});function i(s){try{return{...s,exception:{...s.exception,values:s.exception.values.map(l=>({...l,...l.stacktrace&&{stacktrace:a(l.stacktrace)}}))}}}catch{return s}}function a(s){return{...s,frames:(s==null?void 0:s.frames)&&s.frames.map(l=>o(l))}}return{name:pX,processEvent(s){let l=s;return s.exception&&Array.isArray(s.exception.values)&&(l=i(l)),l}}};function mX({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;const o=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),i=/^\//.test(r.filename);if(e){if(t){const a=r.filename;a.indexOf(t)===0&&(r.filename=a.replace(t,n))}}else if(o||i){const a=o?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,s=t?dX(t,a):fX(a);r.filename=`${n}${s}`}return r}}const gX=10,yX="ZodErrors";function vX(e){return Na(e)&&e.name==="ZodError"&&Array.isArray(e.issues)}function _X(e){return{...e,path:"path"in e&&Array.isArray(e.path)?e.path.join("."):void 0,keys:"keys"in e?JSON.stringify(e.keys):void 0,unionErrors:"unionErrors"in e?JSON.stringify(e.unionErrors):void 0}}function bX(e){return e.map(t=>typeof t=="number"?"<array>":t).join(".")}function EX(e){const t=new Set;for(const r of e.issues){const o=bX(r.path);o.length>0&&t.add(o)}const n=Array.from(t);if(n.length===0){let r="variable";if(e.issues.length>0){const o=e.issues[0];o!==void 0&&"expected"in o&&typeof o.expected=="string"&&(r=o.expected)}return`Failed to validate ${r}`}return`Failed to validate keys: ${$a(n.join(", "),100)}`}function CX(e,t=!1,n,r){var o;if(!((o=n.exception)!=null&&o.values)||!r.originalException||!vX(r.originalException)||r.originalException.issues.length===0)return n;try{const a=(t?r.originalException.issues:r.originalException.issues.slice(0,e)).map(_X);return t&&(Array.isArray(r.attachments)||(r.attachments=[]),r.attachments.push({filename:"zod_issues.json",data:JSON.stringify({issues:a})})),{...n,exception:{...n.exception,values:[{...n.exception.values[0],value:EX(r.originalException)},...n.exception.values.slice(1)]},extra:{...n.extra,"zoderror.issues":a.slice(0,e)}}}catch(i){return{...n,extra:{...n.extra,"zoderrors sentry integration parse error":{message:"an exception was thrown while processing ZodError within applyZodErrorsToEvent()",error:i instanceof Error?`${i.name}: ${i.message}
|
|
273
|
-
${i.stack}`:"unknown"}}}}}const SX=(e={})=>{const t=e.limit??gX;return{name:yX,processEvent(n,r){return CX(t,e.saveZodIssuesAsAttachment,n,r)}}},wX=SX,xX=e=>({name:"ThirdPartyErrorsFilter",setup(t){t.on("beforeEnvelope",n=>{Us(n,(r,o)=>{if(o==="event"){const i=Array.isArray(r)?r[1]:void 0;i&&(PT(i),r[1]=i)}})}),t.on("applyFrameMetadata",n=>{if(n.type)return;const r=t.getOptions().stackParser;AT(r,n)})},processEvent(t){const n=MX(t);if(n){const r=e.behaviour==="drop-error-if-contains-third-party-frames"||e.behaviour==="apply-tag-if-contains-third-party-frames"?"some":"every";if(n[r](i=>!i.some(a=>e.filterKeys.includes(a)))){if(e.behaviour==="drop-error-if-contains-third-party-frames"||e.behaviour==="drop-error-if-exclusively-contains-third-party-frames")return null;t.tags={...t.tags,third_party_code:!0}}}return t}});function MX(e){const t=mv(e);if(t)return t.filter(n=>!!n.filename).map(n=>n.module_metadata?Object.keys(n.module_metadata).filter(r=>r.startsWith(X7)).map(r=>r.slice(X7.length)):[])}const X7="_sentryBundlerPluginAppKey:";function Mi(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function Y5(e){return e.split(/[?#]/,1)[0]}function RX(e,t,n,r,o="auto.http.browser"){if(!e.fetchData)return;const{method:i,url:a}=e.fetchData,s=Wa()&&t(a);if(e.endTimestamp&&s){const h=e.fetchData.__span;if(!h)return;const g=r[h];g&&(IX(g,e),delete r[h]);return}const l=kX(a),c=Mi(l||a),u=!!Nn(),d=s&&u?Qc({name:`${i} ${Y5(a)}`,attributes:{url:a,type:"fetch","http.method":i,"http.url":l,"server.address":c==null?void 0:c.host,[pn]:o,[Hi]:"http.client",...(c==null?void 0:c.search)&&{"http.query":c==null?void 0:c.search},...(c==null?void 0:c.hash)&&{"http.fragment":c==null?void 0:c.hash}}}):new Vi;if(e.fetchData.__span=d.spanContext().spanId,r[d.spanContext().spanId]=d,n(e.fetchData.url)){const h=e.args[0],g=e.args[1]||{},v=TX(h,g,Wa()&&u?d:void 0);v&&(e.args[1]=g,g.headers=v)}const p=xe();if(p){const h={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};p.emit("beforeOutgoingRequestSpan",d,h)}return d}function TX(e,t,n){const r=TT({span:n}),o=r["sentry-trace"],i=r.baggage;if(!o)return;const a=t.headers||(LX(e)?e.headers:void 0);if(a)if(OX(a)){const s=new Headers(a);if(s.set("sentry-trace",o),i){const l=s.get("baggage");if(l){const c=Lp(l);s.set("baggage",c?`${c},${i}`:i)}else s.set("baggage",i)}return s}else if(Array.isArray(a)){const s=[...a.filter(l=>!(Array.isArray(l)&&l[0]==="sentry-trace")).map(l=>{if(Array.isArray(l)&&l[0]==="baggage"&&typeof l[1]=="string"){const[c,u,...d]=l;return[c,Lp(u),...d]}else return l}),["sentry-trace",o]];return i&&s.push(["baggage",i]),s}else{const s="baggage"in a?a.baggage:void 0;let l=[];return Array.isArray(s)?l=s.map(c=>typeof c=="string"?Lp(c):c).filter(c=>c===""):s&&l.push(Lp(s)),i&&l.push(i),{...a,"sentry-trace":o,baggage:l.length>0?l.join(","):void 0}}else return{...r}}function kX(e){try{return new URL(e).href}catch{return}}function IX(e,t){var n;if(t.response){D5(e,t.response.status);const r=((n=t.response)==null?void 0:n.headers)&&t.response.headers.get("content-length");if(r){const o=parseInt(r);o>0&&e.setAttribute("http.response_content_length",o)}}else t.error&&e.setStatus({code:an,message:"internal_error"});e.end()}function Lp(e){return e.split(",").filter(t=>!t.split("=")[0].startsWith(B5)).join(",")}function LX(e){return typeof Request<"u"&&Di(e,Request)}function OX(e){return typeof Headers<"u"&&Di(e,Headers)}function BT(e,t={},n=rt()){const{message:r,name:o,email:i,url:a,source:s,associatedEventId:l,tags:c}=e,u={contexts:{feedback:en({contact_email:i,name:o,message:r,url:a,source:s,associated_event_id:l})},type:"feedback",level:"info",tags:c},d=(n==null?void 0:n.getClient())||xe();return d&&d.emit("beforeSendFeedback",u,t),n.captureEvent(u,t)}function FT(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const xc=ze;function AX(){return"history"in xc&&!!xc.history}function UT(){if(!("fetch"in xc))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Lv(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function HT(){var n;if(typeof EdgeRuntime=="string")return!0;if(!UT())return!1;if(Lv(xc.fetch))return!0;let e=!1;const t=xc.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(e=Lv(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){Xa&&ne.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function PX(){return"ReportingObserver"in xc}function Z5(e,t){const n="fetch";Ja(n,e),Qa(n,()=>VT(void 0,t))}function NX(e){const t="fetch-body-resolved";Ja(t,e),Qa(t,()=>VT(jX))}function VT(e,t=!1){t&&!HT()||Qn(ze,"fetch",function(n){return function(...r){const o=new Error,{method:i,url:a}=DX(r),s={args:r,fetchData:{method:i,url:a},startTimestamp:vn()*1e3,virtualError:o};return e||no("fetch",{...s}),n.apply(ze,r).then(async l=>(e?e(l):no("fetch",{...s,endTimestamp:vn()*1e3,response:l}),l),l=>{throw no("fetch",{...s,endTimestamp:vn()*1e3,error:l}),Na(l)&&l.stack===void 0&&(l.stack=o.stack,br(l,"framesToPop",1)),l})}})}async function $X(e,t){if(e!=null&&e.body){const n=e.body,r=n.getReader(),o=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let i=!0;for(;i;){let a;try{a=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:s}=await r.read();clearTimeout(a),s&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(a)}}clearTimeout(o),r.releaseLock(),n.cancel().then(null,()=>{})}}function jX(e){let t;try{t=e.clone()}catch{return}$X(t,()=>{no("fetch-body-resolved",{endTimestamp:vn()*1e3,response:e})})}function Ov(e,t){return!!e&&typeof e=="object"&&!!e[t]}function J7(e){return typeof e=="string"?e:e?Ov(e,"url")?e.url:e.toString?e.toString():"":""}function DX(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:J7(n),method:Ov(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:J7(t),method:Ov(t,"method")?String(t.method).toUpperCase():"GET"}}function BX(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function FX(){return"npm"}function UX(){return!BX()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Av(){return typeof window<"u"&&(!UX()||HX())}function HX(){const e=ze.process;return(e==null?void 0:e.type)==="renderer"}const Pe=ze;let Pv=0;function zT(){return Pv>0}function VX(){Pv++,setTimeout(()=>{Pv--})}function Mc(e,t={}){function n(o){return typeof o=="function"}if(!n(e))return e;try{const o=e.__sentry_wrapped__;if(o)return typeof o=="function"?o:e;if(P5(e))return e}catch{return e}const r=function(...o){try{const i=o.map(a=>Mc(a,t));return e.apply(this,i)}catch(i){throw VX(),Ao(a=>{a.addEventProcessor(s=>(t.mechanism&&(yv(s,void 0),Va(s,t.mechanism)),s.extra={...s.extra,arguments:o},s)),m0(i)}),i}};try{for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}catch{}AR(r,e),br(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function g0(e,t){const n=X5(e,t),r={type:KX(t),value:YX(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function zX(e,t,n,r){const o=xe(),i=o==null?void 0:o.getOptions().normalizeDepth,a=JX(t),s={__serialized__:iT(t,i)};if(a)return{exception:{values:[g0(e,a)]},extra:s};const l={exception:{values:[{type:d0(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:ZX(t,{isUnhandledRejection:r})}]},extra:s};if(n){const c=X5(e,n);c.length&&(l.exception.values[0].stacktrace={frames:c})}return l}function s2(e,t){return{exception:{values:[g0(e,t)]}}}function X5(e,t){const n=t.stacktrace||t.stack||"",r=qX(t),o=GX(t);try{return e(n,r,o)}catch{}return[]}const WX=/Minified React error #\d+;/i;function qX(e){return e&&WX.test(e.message)?1:0}function GX(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function WT(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function KX(e){const t=e==null?void 0:e.name;return!t&&WT(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function YX(e){const t=e==null?void 0:e.message;return WT(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function qT(e,t,n,r){const o=(n==null?void 0:n.syntheticException)||void 0,i=J5(e,t,o,r);return Va(i),i.level="error",n!=null&&n.event_id&&(i.event_id=n.event_id),Fi(i)}function GT(e,t,n="info",r,o){const i=(r==null?void 0:r.syntheticException)||void 0,a=Nv(e,t,i,o);return a.level=n,r!=null&&r.event_id&&(a.event_id=r.event_id),Fi(a)}function J5(e,t,n,r,o){let i;if(IR(t)&&t.error)return s2(e,t.error);if(b7(t)||eK(t)){const a=t;if("stack"in t)i=s2(e,t);else{const s=a.name||(b7(a)?"DOMError":"DOMException"),l=a.message?`${s}: ${a.message}`:s;i=Nv(e,l,n,r),yv(i,l)}return"code"in a&&(i.tags={...i.tags,"DOMException.code":`${a.code}`}),i}return Na(t)?s2(e,t):Ds(t)||d0(t)?(i=zX(e,t,n,o),Va(i,{synthetic:!0}),i):(i=Nv(e,t,n,r),yv(i,`${t}`),Va(i,{synthetic:!0}),i)}function Nv(e,t,n,r){const o={};if(r&&n){const i=X5(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]}),Va(o,{synthetic:!0})}if(L5(t)){const{__sentry_template_string__:i,__sentry_template_values__:a}=t;return o.logentry={message:i,params:a},o}return o.message=t,o}function ZX(e,{isUnhandledRejection:t}){const n=sK(e),r=t?"promise rejection":"exception";return IR(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:d0(e)?`Event \`${XX(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function XX(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function JX(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}class KT extends sZ{constructor(t){const n={parentSpanIsAlwaysRootSpan:!0,...t},r=Pe.SENTRY_SDK_SOURCE||FX();xZ(n,"browser",["browser"],r),super(n),n.sendClientReports&&Pe.document&&Pe.document.addEventListener("visibilitychange",()=>{Pe.document.visibilityState==="hidden"&&this._flushOutcomes()}),this._options.sendDefaultPii&&(this.on("postprocessEvent",SZ),this.on("beforeSendSession",wZ))}eventFromException(t,n){return qT(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return GT(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,o){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,o)}}const ef=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,QX=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",eu=(e,t,n,r)=>{let o,i;return a=>{t.value>=0&&(a||r)&&(i=t.value-(o||0),(i||o===void 0)&&(o=t.value,t.delta=i,t.rating=QX(t.value,n),e(t)))}},Qe=ze,eJ=()=>`v4-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Pf=(e=!0)=>{var n,r;const t=(r=(n=Qe.performance)==null?void 0:n.getEntriesByType)==null?void 0:r.call(n,"navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},Nf=()=>{const e=Pf();return(e==null?void 0:e.activationStart)||0},tu=(e,t)=>{var i,a;const n=Pf();let r="navigate";return n&&((i=Qe.document)!=null&&i.prerendering||Nf()>0?r="prerender":(a=Qe.document)!=null&&a.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:eJ(),navigationType:r}},Xs=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(o=>{Promise.resolve().then(()=>{t(o.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},nu=e=>{const t=n=>{var r;(n.type==="pagehide"||((r=Qe.document)==null?void 0:r.visibilityState)==="hidden")&&e(n)};Qe.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},y0=e=>{let t=!1;return()=>{t||(e(),t=!0)}};let pd=-1;const tJ=()=>Qe.document.visibilityState==="hidden"&&!Qe.document.prerendering?0:1/0,Fh=e=>{Qe.document.visibilityState==="hidden"&&pd>-1&&(pd=e.type==="visibilitychange"?e.timeStamp:0,rJ())},nJ=()=>{addEventListener("visibilitychange",Fh,!0),addEventListener("prerenderingchange",Fh,!0)},rJ=()=>{removeEventListener("visibilitychange",Fh,!0),removeEventListener("prerenderingchange",Fh,!0)},v0=()=>(Qe.document&&pd<0&&(pd=tJ(),nJ()),{get firstHiddenTime(){return pd}}),$f=e=>{var t;(t=Qe.document)!=null&&t.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},oJ=[1800,3e3],iJ=(e,t={})=>{$f(()=>{const n=v0(),r=tu("FCP");let o;const a=Xs("paint",s=>{s.forEach(l=>{l.name==="first-contentful-paint"&&(a.disconnect(),l.startTime<n.firstHiddenTime&&(r.value=Math.max(l.startTime-Nf(),0),r.entries.push(l),o(!0)))})});a&&(o=eu(e,r,oJ,t.reportAllChanges))})},aJ=[.1,.25],sJ=(e,t={})=>{iJ(y0(()=>{const n=tu("CLS",0);let r,o=0,i=[];const a=l=>{l.forEach(c=>{if(!c.hadRecentInput){const u=i[0],d=i[i.length-1];o&&u&&d&&c.startTime-d.startTime<1e3&&c.startTime-u.startTime<5e3?(o+=c.value,i.push(c)):(o=c.value,i=[c])}}),o>n.value&&(n.value=o,n.entries=i,r())},s=Xs("layout-shift",a);s&&(r=eu(e,n,aJ,t.reportAllChanges),nu(()=>{a(s.takeRecords()),r(!0)}),setTimeout(r,0))}))},lJ=[100,300],cJ=(e,t={})=>{$f(()=>{const n=v0(),r=tu("FID");let o;const i=l=>{l.startTime<n.firstHiddenTime&&(r.value=l.processingStart-l.startTime,r.entries.push(l),o(!0))},a=l=>{l.forEach(i)},s=Xs("first-input",a);o=eu(e,r,lJ,t.reportAllChanges),s&&nu(y0(()=>{a(s.takeRecords()),s.disconnect()}))})};let YT=0,l2=1/0,Op=0;const uJ=e=>{e.forEach(t=>{t.interactionId&&(l2=Math.min(l2,t.interactionId),Op=Math.max(Op,t.interactionId),YT=Op?(Op-l2)/7+1:0)})};let $v;const dJ=()=>$v?YT:performance.interactionCount||0,fJ=()=>{"interactionCount"in performance||$v||($v=Xs("event",uJ,{type:"event",buffered:!0,durationThreshold:0}))},hi=[],c2=new Map,pJ=40;let hJ=0;const mJ=()=>dJ()-hJ,gJ=()=>{const e=Math.min(hi.length-1,Math.floor(mJ()/50));return hi[e]},u2=10,yJ=[],vJ=e=>{var r;if(yJ.forEach(o=>o(e)),!(e.interactionId||e.entryType==="first-input"))return;const t=hi[hi.length-1],n=c2.get(e.interactionId);if(n||hi.length<u2||t&&e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===((r=n.entries[0])==null?void 0:r.startTime)&&n.entries.push(e);else{const o={id:e.interactionId,latency:e.duration,entries:[e]};c2.set(o.id,o),hi.push(o)}hi.sort((o,i)=>i.latency-o.latency),hi.length>u2&&hi.splice(u2).forEach(o=>c2.delete(o.id))}},ZT=e=>{var r;const t=Qe.requestIdleCallback||Qe.setTimeout;let n=-1;return e=y0(e),((r=Qe.document)==null?void 0:r.visibilityState)==="hidden"?e():(n=t(e),nu(e)),n},_J=[200,500],bJ=(e,t={})=>{"PerformanceEventTiming"in Qe&&"interactionId"in PerformanceEventTiming.prototype&&$f(()=>{fJ();const n=tu("INP");let r;const o=a=>{ZT(()=>{a.forEach(vJ);const s=gJ();s&&s.latency!==n.value&&(n.value=s.latency,n.entries=s.entries,r())})},i=Xs("event",o,{durationThreshold:t.durationThreshold!=null?t.durationThreshold:pJ});r=eu(e,n,_J,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),nu(()=>{o(i.takeRecords()),r(!0)}))})},EJ=[2500,4e3],Q7={},CJ=(e,t={})=>{$f(()=>{const n=v0(),r=tu("LCP");let o;const i=s=>{t.reportAllChanges||(s=s.slice(-1)),s.forEach(l=>{l.startTime<n.firstHiddenTime&&(r.value=Math.max(l.startTime-Nf(),0),r.entries=[l],o())})},a=Xs("largest-contentful-paint",i);if(a){o=eu(e,r,EJ,t.reportAllChanges);const s=y0(()=>{Q7[r.id]||(i(a.takeRecords()),a.disconnect(),Q7[r.id]=!0,o(!0))});["keydown","click"].forEach(l=>{Qe.document&&addEventListener(l,()=>ZT(s),{once:!0,capture:!0})}),nu(s)}})},SJ=[800,1800],jv=e=>{var t,n;(t=Qe.document)!=null&&t.prerendering?$f(()=>jv(e)):((n=Qe.document)==null?void 0:n.readyState)!=="complete"?addEventListener("load",()=>jv(e),!0):setTimeout(e,0)},wJ=(e,t={})=>{const n=tu("TTFB"),r=eu(e,n,SJ,t.reportAllChanges);jv(()=>{const o=Pf();o&&(n.value=Math.max(o.responseStart-Nf(),0),n.entries=[o],r(!0))})},hd={},Uh={};let XT,JT,QT,ek,tk;function Q5(e,t=!1){return jf("cls",e,MJ,XT,t)}function nk(e,t=!1){return jf("lcp",e,TJ,QT,t)}function rk(e){return jf("fid",e,RJ,JT)}function xJ(e){return jf("ttfb",e,kJ,ek)}function ok(e){return jf("inp",e,IJ,tk)}function Rc(e,t){return ik(e,t),Uh[e]||(LJ(e),Uh[e]=!0),ak(e,t)}function ru(e,t){const n=hd[e];if(n!=null&&n.length)for(const r of n)try{r(t)}catch(o){ef&&ne.error(`Error while triggering instrumentation handler.
|
|
274
|
-
Type: ${e}
|
|
275
|
-
Name: ${ji(r)}
|
|
276
|
-
Error:`,o)}}function MJ(){return sJ(e=>{ru("cls",{metric:e}),XT=e},{reportAllChanges:!0})}function RJ(){return cJ(e=>{ru("fid",{metric:e}),JT=e})}function TJ(){return CJ(e=>{ru("lcp",{metric:e}),QT=e},{reportAllChanges:!0})}function kJ(){return wJ(e=>{ru("ttfb",{metric:e}),ek=e})}function IJ(){return bJ(e=>{ru("inp",{metric:e}),tk=e})}function jf(e,t,n,r,o=!1){ik(e,t);let i;return Uh[e]||(i=n(),Uh[e]=!0),r&&t({metric:r}),ak(e,t,o?i:void 0)}function LJ(e){const t={};e==="event"&&(t.durationThreshold=0),Xs(e,n=>{ru(e,{entries:n})},t)}function ik(e,t){hd[e]=hd[e]||[],hd[e].push(t)}function ak(e,t,n){return()=>{n&&n();const r=hd[e];if(!r)return;const o=r.indexOf(t);o!==-1&&r.splice(o,1)}}function OJ(e){return"duration"in e}function d2(e){return typeof e=="number"&&isFinite(e)}function Wi(e,t,n,{...r}){const o=Je(e).start_timestamp;return o&&o>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),Lf(e,()=>{const i=Qc({startTime:t,...r});return i&&i.end(n),i})}function sk(e){var b;const t=xe();if(!t)return;const{name:n,transaction:r,attributes:o,startTime:i}=e,{release:a,environment:s,sendDefaultPii:l}=t.getOptions(),c=t.getIntegrationByName("Replay"),u=c==null?void 0:c.getReplayId(),d=rt(),p=d.getUser(),h=p!==void 0?p.email||p.id||p.ip_address:void 0;let g;try{g=d.getScopeData().contexts.profile.profile_id}catch{}const v={release:a,environment:s,user:h||void 0,profile_id:g||void 0,replay_id:u||void 0,transaction:r,"user_agent.original":(b=Qe.navigator)==null?void 0:b.userAgent,"client.address":l?"{{auto}}":void 0,...o};return Qc({name:n,attributes:v,startTime:i,experimental:{standalone:!0}})}function e_(){return Qe.addEventListener&&Qe.performance}function tn(e){return e/1e3}function lk(e){let t="unknown",n="unknown",r="";for(const o of e){if(o==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(o))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=o}return r===e&&(t=r),{name:t,version:n}}function AJ(){let e=0,t,n;if(!NJ())return;let r=!1;function o(){r||(r=!0,n&&PJ(e,t,n),i())}const i=Q5(({metric:a})=>{const s=a.entries[a.entries.length-1];s&&(e=a.value,t=s)},!0);nu(()=>{o()}),setTimeout(()=>{const a=xe();if(!a)return;const s=a.on("startNavigationSpan",()=>{o(),s==null||s()}),l=Nn();if(l){const c=_n(l);Je(c).op==="pageload"&&(n=c.spanContext().spanId)}},0)}function PJ(e,t,n){var l;ef&&ne.log(`Sending CLS span (${e})`);const r=tn((Er()||0)+((t==null?void 0:t.startTime)||0)),o=rt().getScopeData().transactionName,i=t?Bi((l=t.sources[0])==null?void 0:l.node):"Layout shift",a=en({[pn]:"auto.http.browser.cls",[Hi]:"ui.webvital.cls",[If]:(t==null?void 0:t.duration)||0,"sentry.pageload.span_id":n}),s=sk({name:i,transaction:o,attributes:a,startTime:r});s&&(s.addEvent("cls",{[f0]:"",[p0]:e}),s.end(r))}function NJ(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch{return!1}}const $J=2147483647;let eE=0,kn={},ar,Bl;function jJ({recordClsStandaloneSpans:e}){const t=e_();if(t&&Er()){t.mark&&Qe.performance.mark("sentry-tracing-init");const n=VJ(),r=HJ(),o=zJ(),i=e?AJ():UJ();return()=>{n(),r(),o(),i==null||i()}}return()=>{}}function DJ(){Rc("longtask",({entries:e})=>{const t=Nn();if(!t)return;const{op:n,start_timestamp:r}=Je(t);for(const o of e){const i=tn(Er()+o.startTime),a=tn(o.duration);n==="navigation"&&r&&i<r||Wi(t,i,i+a,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[pn]:"auto.ui.browser.metrics"}})}})}function BJ(){new PerformanceObserver(t=>{const n=Nn();if(n)for(const r of t.getEntries()){if(!r.scripts[0])continue;const o=tn(Er()+r.startTime),{start_timestamp:i,op:a}=Je(n);if(a==="navigation"&&i&&o<i)continue;const s=tn(r.duration),l={[pn]:"auto.ui.browser.metrics"},c=r.scripts[0],{invoker:u,invokerType:d,sourceURL:p,sourceFunctionName:h,sourceCharPosition:g}=c;l["browser.script.invoker"]=u,l["browser.script.invoker_type"]=d,p&&(l["code.filepath"]=p),h&&(l["code.function"]=h),g!==-1&&(l["browser.script.source_char_position"]=g),Wi(n,o,o+s,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:l})}}).observe({type:"long-animation-frame",buffered:!0})}function FJ(){Rc("event",({entries:e})=>{const t=Nn();if(t){for(const n of e)if(n.name==="click"){const r=tn(Er()+n.startTime),o=tn(n.duration),i={name:Bi(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[pn]:"auto.ui.browser.metrics"}},a=OR(n.target);a&&(i.attributes["ui.component_name"]=a),Wi(t,r,r+o,i)}}})}function UJ(){return Q5(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(kn.cls={value:e.value,unit:""},Bl=t)},!0)}function HJ(){return nk(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(kn.lcp={value:e.value,unit:"millisecond"},ar=t)},!0)}function VJ(){return rk(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=tn(Er()),r=tn(t.startTime);kn.fid={value:e.value,unit:"millisecond"},kn["mark.fid"]={value:n+r,unit:"second"}})}function zJ(){return xJ(({metric:e})=>{e.entries[e.entries.length-1]&&(kn.ttfb={value:e.value,unit:"millisecond"})})}function WJ(e,t){const n=e_(),r=Er();if(!(n!=null&&n.getEntries)||!r)return;const o=tn(r),i=n.getEntries(),{op:a,start_timestamp:s}=Je(e);if(i.slice(eE).forEach(l=>{const c=tn(l.startTime),u=tn(Math.max(0,l.duration));if(!(a==="navigation"&&s&&o+c<s))switch(l.entryType){case"navigation":{GJ(e,l,o);break}case"mark":case"paint":case"measure":{qJ(e,l,c,u,o);const d=v0(),p=l.startTime<d.firstHiddenTime;l.name==="first-paint"&&p&&(kn.fp={value:l.startTime,unit:"millisecond"}),l.name==="first-contentful-paint"&&p&&(kn.fcp={value:l.startTime,unit:"millisecond"});break}case"resource":{ZJ(e,l,l.name,c,u,o);break}}}),eE=Math.max(i.length-1,0),XJ(e),a==="pageload"){QJ(kn);const l=kn["mark.fid"];l&&kn.fid&&(Wi(e,l.value,l.value+tn(kn.fid.value),{name:"first input delay",op:"ui.action",attributes:{[pn]:"auto.ui.browser.metrics"}}),delete kn["mark.fid"]),(!("fcp"in kn)||!t.recordClsOnPageloadSpan)&&delete kn.cls,Object.entries(kn).forEach(([c,u])=>{sT(c,u.value,u.unit)}),e.setAttribute("performance.timeOrigin",o),e.setAttribute("performance.activationStart",Nf()),JJ(e)}ar=void 0,Bl=void 0,kn={}}function qJ(e,t,n,r,o){const i=Pf(!1),a=tn(i?i.requestStart:0),s=o+Math.max(n,a),l=o+n,c=l+r,u={[pn]:"auto.resource.browser.metrics"};s!==l&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=s),s<=c&&Wi(e,s,c,{name:t.name,op:t.entryType,attributes:u})}function GJ(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Ap(e,t,r,n)}),Ap(e,t,"secureConnection",n,"TLS/SSL"),Ap(e,t,"fetch",n,"cache"),Ap(e,t,"domainLookup",n,"DNS"),YJ(e,t,n)}function Ap(e,t,n,r,o=n){const i=KJ(n),a=t[i],s=t[`${n}Start`];!s||!a||Wi(e,r+tn(s),r+tn(a),{op:`browser.${o}`,name:t.name,attributes:{[pn]:"auto.ui.browser.metrics"}})}function KJ(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function YJ(e,t,n){const r=n+tn(t.requestStart),o=n+tn(t.responseEnd),i=n+tn(t.responseStart);t.responseEnd&&(Wi(e,r,o,{op:"browser.request",name:t.name,attributes:{[pn]:"auto.ui.browser.metrics"}}),Wi(e,i,o,{op:"browser.response",name:t.name,attributes:{[pn]:"auto.ui.browser.metrics"}}))}function ZJ(e,t,n,r,o,i){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=Mi(n),s={[pn]:"auto.resource.browser.metrics"};f2(s,t,"transferSize","http.response_transfer_size"),f2(s,t,"encodedBodySize","http.response_content_length"),f2(s,t,"decodedBodySize","http.decoded_response_content_length");const l=t.deliveryType;l!=null&&(s["http.response_delivery_type"]=l);const c=t.renderBlockingStatus;c&&(s["resource.render_blocking_status"]=c),a.protocol&&(s["url.scheme"]=a.protocol.split(":").pop()),a.host&&(s["server.address"]=a.host),s["url.same_origin"]=n.includes(Qe.location.origin);const{name:u,version:d}=lk(t.nextHopProtocol);s["network.protocol.name"]=u,s["network.protocol.version"]=d;const p=i+r,h=p+o;Wi(e,p,h,{name:n.replace(Qe.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:s})}function XJ(e){const t=Qe.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),d2(n.rtt)&&(kn["connection.rtt"]={value:n.rtt,unit:"millisecond"})),d2(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),d2(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function JJ(e){ar&&(ar.element&&e.setAttribute("lcp.element",Bi(ar.element)),ar.id&&e.setAttribute("lcp.id",ar.id),ar.url&&e.setAttribute("lcp.url",ar.url.trim().slice(0,200)),ar.loadTime!=null&&e.setAttribute("lcp.loadTime",ar.loadTime),ar.renderTime!=null&&e.setAttribute("lcp.renderTime",ar.renderTime),e.setAttribute("lcp.size",ar.size)),Bl!=null&&Bl.sources&&Bl.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,Bi(t.node)))}function f2(e,t,n,r){const o=t[n];o!=null&&o<$J&&(e[r]=o)}function QJ(e){const t=Pf(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}const eQ=1e3;let tE,Dv,Bv;function ck(e){const t="dom";Ja(t,e),Qa(t,tQ)}function tQ(){if(!Qe.document)return;const e=no.bind(null,"dom"),t=nE(e,!0);Qe.document.addEventListener("click",t,!1),Qe.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var i,a;const o=(i=Qe[n])==null?void 0:i.prototype;(a=o==null?void 0:o.hasOwnProperty)!=null&&a.call(o,"addEventListener")&&(Qn(o,"addEventListener",function(s){return function(l,c,u){if(l==="click"||l=="keypress")try{const d=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},p=d[l]=d[l]||{refCount:0};if(!p.handler){const h=nE(e);p.handler=h,s.call(this,l,h,u)}p.refCount++}catch{}return s.call(this,l,c,u)}}),Qn(o,"removeEventListener",function(s){return function(l,c,u){if(l==="click"||l=="keypress")try{const d=this.__sentry_instrumentation_handlers__||{},p=d[l];p&&(p.refCount--,p.refCount<=0&&(s.call(this,l,p.handler,u),p.handler=void 0,delete d[l]),Object.keys(d).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return s.call(this,l,c,u)}}))})}function nQ(e){if(e.type!==Dv)return!1;try{if(!e.target||e.target._sentryId!==Bv)return!1}catch{}return!0}function rQ(e,t){return e!=="keypress"?!1:t!=null&&t.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function nE(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=oQ(n);if(rQ(n.type,r))return;br(n,"_sentryCaptured",!0),r&&!r._sentryId&&br(r,"_sentryId",nr());const o=n.type==="keypress"?"input":n.type;nQ(n)||(e({event:n,name:o,global:t}),Dv=n.type,Bv=r?r._sentryId:void 0),clearTimeout(tE),tE=Qe.setTimeout(()=>{Bv=void 0,Dv=void 0},eQ)}}function oQ(e){try{return e.target}catch{return null}}let Pp;function _0(e){const t="history";Ja(t,e),Qa(t,iQ)}function iQ(){if(Qe.addEventListener("popstate",()=>{const t=Qe.location.href,n=Pp;if(Pp=t,n===t)return;no("history",{from:n,to:t})}),!AX())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const o=Pp,i=String(r);if(Pp=i,o===i)return t.apply(this,n);no("history",{from:o,to:i})}return t.apply(this,n)}}Qn(Qe.history,"pushState",e),Qn(Qe.history,"replaceState",e)}const M1={};function t_(e){const t=M1[e];if(t)return t;let n=Qe[e];if(Lv(n))return M1[e]=n.bind(Qe);const r=Qe.document;if(r&&typeof r.createElement=="function")try{const o=r.createElement("iframe");o.hidden=!0,r.head.appendChild(o);const i=o.contentWindow;i!=null&&i[e]&&(n=i[e]),r.head.removeChild(o)}catch(o){ef&&ne.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,o)}return n&&(M1[e]=n.bind(Qe))}function rE(e){M1[e]=void 0}function Tc(...e){return t_("setTimeout")(...e)}const Ci="__sentry_xhr_v3__";function n_(e){const t="xhr";Ja(t,e),Qa(t,aQ)}function aQ(){if(!Qe.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const o=new Error,i=vn()*1e3,a=Io(r[0])?r[0].toUpperCase():void 0,s=sQ(r[1]);if(!a||!s)return t.apply(n,r);n[Ci]={method:a,url:s,request_headers:{}},a==="POST"&&s.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const l=()=>{const c=n[Ci];if(c&&n.readyState===4){try{c.status_code=n.status}catch{}const u={endTimestamp:vn()*1e3,startTimestamp:i,xhr:n,virtualError:o};no("xhr",u)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(c,u,d){return l(),c.apply(u,d)}}):n.addEventListener("readystatechange",l),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(c,u,d){const[p,h]=d,g=u[Ci];return g&&Io(p)&&Io(h)&&(g.request_headers[p.toLowerCase()]=h),c.apply(u,d)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const o=n[Ci];if(!o)return t.apply(n,r);r[0]!==void 0&&(o.body=r[0]);const i={startTimestamp:vn()*1e3,xhr:n};return no("xhr",i),t.apply(n,r)}})}function sQ(e){if(Io(e))return e;try{return e.toString()}catch{}}function uk(e){return new URLSearchParams(e).toString()}function Hh(e,t=ne){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[uk(e)];if(!e)return[void 0]}catch(n){return ef&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return ef&&t.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function r_(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}const p2=[],R1=new Map;function lQ(){if(e_()&&Er()){const t=cQ();return()=>{t()}}return()=>{}}const oE={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 cQ(){return ok(({metric:e})=>{if(e.value==null)return;const t=e.entries.find(g=>g.duration===e.value&&oE[g.name]);if(!t)return;const{interactionId:n}=t,r=oE[t.name],o=tn(Er()+t.startTime),i=tn(e.value),a=Nn(),s=a?_n(a):void 0,c=(n!=null?R1.get(n):void 0)||s,u=c?Je(c).description:rt().getScopeData().transactionName,d=Bi(t.target),p=en({[pn]:"auto.http.browser.inp",[Hi]:`ui.interaction.${r}`,[If]:t.duration}),h=sk({name:d,transaction:u,attributes:p,startTime:o});h&&(h.addEvent("inp",{[f0]:"millisecond",[p0]:e.value}),h.end(o+i))})}function uQ(){const e=({entries:t})=>{const n=Nn(),r=n&&_n(n);t.forEach(o=>{if(!OJ(o)||!r)return;const i=o.interactionId;if(i!=null&&!R1.has(i)){if(p2.length>10){const a=p2.shift();R1.delete(a)}p2.push(i),R1.set(i,r)}})};Rc("event",e),Rc("first-input",e)}function o_(e,t=t_("fetch")){let n=0,r=0;function o(i){const a=i.body.length;n+=a,r++;const s={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return rE("fetch"),Ah("No fetch implementation available");try{return t(e.url,s).then(l=>(n-=a,r--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return rE("fetch"),n-=a,r--,Ah(l)}}return xT(e,o)}const dQ=10,fQ=20,pQ=30,hQ=40,mQ=50;function kc(e,t,n,r){const o={filename:e,function:t==="<anonymous>"?oi:t,in_app:!0};return n!==void 0&&(o.lineno=n),r!==void 0&&(o.colno=r),o}const gQ=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,yQ=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,vQ=/\((\S*)(?::(\d+))(?::(\d+))\)/,_Q=e=>{const t=gQ.exec(e);if(t){const[,r,o,i]=t;return kc(r,oi,+o,+i)}const n=yQ.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const a=vQ.exec(n[2]);a&&(n[2]=a[1],n[3]=a[2],n[4]=a[3])}const[o,i]=mk(n[1]||oi,n[2]);return kc(i,o,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},dk=[pQ,_Q],bQ=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,EQ=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,CQ=e=>{const t=bQ.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=EQ.exec(t[3]);i&&(t[1]=t[1]||"eval",t[3]=i[1],t[4]=i[2],t[5]="")}let r=t[3],o=t[1]||oi;return[o,r]=mk(o,r),kc(r,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},fk=[mQ,CQ],SQ=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,wQ=e=>{const t=SQ.exec(e);return t?kc(t[2],t[1]||oi,+t[3],t[4]?+t[4]:void 0):void 0},xQ=[hQ,wQ],MQ=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,RQ=e=>{const t=MQ.exec(e);return t?kc(t[2],t[3]||oi,+t[1]):void 0},TQ=[dQ,RQ],kQ=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,IQ=e=>{const t=kQ.exec(e);return t?kc(t[5],t[3]||t[4]||oi,+t[1],+t[2]):void 0},LQ=[fQ,IQ],pk=[dk,fk],hk=MR(...pk),mk=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:oi,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};function OQ(e,{metadata:t,tunnel:n,dsn:r}){const o={event_id:e.event_id,sent_at:new Date().toISOString(),...(t==null?void 0:t.sdk)&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:Jc(r)}},i=AQ(e);return ts(o,[i])}function AQ(e){return[{type:"user_report"},e]}const Xe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Np=1024,PQ="Breadcrumbs",NQ=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:PQ,setup(n){t.console&&NT(DQ(n)),t.dom&&ck(jQ(n,t.dom)),t.xhr&&n_(BQ(n)),t.fetch&&Z5(FQ(n)),t.history&&_0(UQ(n)),t.sentry&&n.on("beforeSendEvent",$Q(n))}}},gk=NQ;function $Q(e){return function(n){xe()===e&&zi({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:da(n)},{event:n})}}function jQ(e,t){return function(r){if(xe()!==e)return;let o,i,a=typeof t=="object"?t.serializeAttribute:void 0,s=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;s&&s>Np&&(Xe&&ne.warn(`\`dom.maxStringLength\` cannot exceed ${Np}, but a value of ${s} was configured. Sentry will use ${Np} instead.`),s=Np),typeof a=="string"&&(a=[a]);try{const c=r.event,u=HQ(c)?c.target:c;o=Bi(u,{keyAttrs:a,maxStringLength:s}),i=OR(u)}catch{o="<unknown>"}if(o.length===0)return;const l={category:`ui.${r.name}`,message:o};i&&(l.data={"ui.component_name":i}),zi(l,{event:r.event,name:r.name,global:r.global})}}function DQ(e){return function(n){if(xe()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:K5(n.level),message:Oh(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${Oh(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;zi(r,{input:n.args,level:n.level})}}function BQ(e){return function(n){if(xe()!==e)return;const{startTimestamp:r,endTimestamp:o}=n,i=n.xhr[Ci];if(!r||!o||!i)return;const{method:a,url:s,status_code:l,body:c}=i,u={method:a,url:s,status_code:l},d={xhr:n.xhr,input:c,startTimestamp:r,endTimestamp:o},p={category:"xhr",data:u,type:"http",level:FT(l)};e.emit("beforeOutgoingRequestBreadcrumb",p,d),zi(p,d)}}function FQ(e){return function(n){if(xe()!==e)return;const{startTimestamp:r,endTimestamp:o}=n;if(o&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){const i=n.fetchData,a={data:n.error,input:n.args,startTimestamp:r,endTimestamp:o},s={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",s,a),zi(s,a)}else{const i=n.response,a={...n.fetchData,status_code:i==null?void 0:i.status};n.fetchData.request_body_size,n.fetchData.response_body_size,i==null||i.status;const s={input:n.args,response:i,startTimestamp:r,endTimestamp:o},l={category:"fetch",data:a,type:"http",level:FT(a.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",l,s),zi(l,s)}}}function UQ(e){return function(n){if(xe()!==e)return;let r=n.from,o=n.to;const i=Mi(Pe.location.href);let a=r?Mi(r):void 0;const s=Mi(o);a!=null&&a.path||(a=i),i.protocol===s.protocol&&i.host===s.host&&(o=s.relative),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),zi({category:"navigation",data:{from:r,to:o}})}}function HQ(e){return!!e&&!!e.target}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"],zQ="BrowserApiErrors",WQ=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:zQ,setupOnce(){t.setTimeout&&Qn(Pe,"setTimeout",iE),t.setInterval&&Qn(Pe,"setInterval",iE),t.requestAnimationFrame&&Qn(Pe,"requestAnimationFrame",qQ),t.XMLHttpRequest&&"XMLHttpRequest"in Pe&&Qn(XMLHttpRequest.prototype,"send",GQ);const n=t.eventTarget;n&&(Array.isArray(n)?n:VQ).forEach(KQ)}}},yk=WQ;function iE(e){return function(...t){const n=t[0];return t[0]=Mc(n,{mechanism:{data:{function:ji(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function qQ(e){return function(t){return e.apply(this,[Mc(t,{mechanism:{data:{function:"requestAnimationFrame",handler:ji(e)},handled:!1,type:"instrument"}})])}}function GQ(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in n&&typeof n[o]=="function"&&Qn(n,o,function(i){const a={mechanism:{data:{function:o,handler:ji(i)},handled:!1,type:"instrument"}},s=P5(i);return s&&(a.mechanism.data.handler=ji(s)),Mc(i,a)})}),e.apply(this,t)}}function KQ(e){var r,o;const n=(r=Pe[e])==null?void 0:r.prototype;(o=n==null?void 0:n.hasOwnProperty)!=null&&o.call(n,"addEventListener")&&(Qn(n,"addEventListener",function(i){return function(a,s,l){try{YQ(s)&&(s.handleEvent=Mc(s.handleEvent,{mechanism:{data:{function:"handleEvent",handler:ji(s),target:e},handled:!1,type:"instrument"}}))}catch{}return i.apply(this,[a,Mc(s,{mechanism:{data:{function:"addEventListener",handler:ji(s),target:e},handled:!1,type:"instrument"}}),l])}}),Qn(n,"removeEventListener",function(i){return function(a,s,l){try{const c=s.__sentry_wrapped__;c&&i.call(this,a,c,l)}catch{}return i.call(this,a,s,l)}}))}function YQ(e){return typeof e.handleEvent=="function"}const vk=()=>({name:"BrowserSession",setupOnce(){if(typeof Pe.document>"u"){Xe&&ne.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Mv({ignoreDuration:!0}),Rv(),_0(({from:e,to:t})=>{e!==void 0&&e!==t&&(Mv({ignoreDuration:!0}),Rv())})}}),ZQ="GlobalHandlers",XQ=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:ZQ,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(JQ(n),aE("onerror")),t.onunhandledrejection&&(QQ(n),aE("onunhandledrejection"))}}},_k=XQ;function JQ(e){RR(t=>{const{stackParser:n,attachStacktrace:r}=bk();if(xe()!==e||zT())return;const{msg:o,url:i,line:a,column:s,error:l}=t,c=nee(J5(n,l||o,void 0,r,!1),i,a,s);c.level="error",Af(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function QQ(e){TR(t=>{const{stackParser:n,attachStacktrace:r}=bk();if(xe()!==e||zT())return;const o=eee(t),i=O5(o)?tee(o):J5(n,o,void 0,r,!0);i.level="error",Af(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function eee(e){if(O5(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function tee(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function nee(e,t,n,r){const o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=r,u=n,d=Io(t)&&t.length>0?t:Ys();return l.length===0&&l.push({colno:c,filename:d,function:oi,in_app:!0,lineno:u}),e}function aE(e){Xe&&ne.log(`Global Handler attached: ${e}`)}function bk(){const e=xe();return(e==null?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}const Ek=()=>({name:"HttpContext",preprocessEvent(e){var a,s;if(!Pe.navigator&&!Pe.location&&!Pe.document)return;const t=((a=e.request)==null?void 0:a.url)||Ys(),{referrer:n}=Pe.document||{},{userAgent:r}=Pe.navigator||{},o={...(s=e.request)==null?void 0:s.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...e.request,...t&&{url:t},headers:o};e.request=i}}),ree="cause",oee=5,iee="LinkedErrors",aee=(e={})=>{const t=e.limit||oee,n=e.key||ree;return{name:iee,preprocessEvent(r,o,i){const a=i.getOptions();HZ(g0,a.stackParser,a.maxValueLength,n,t,r,o)}}},Ck=aee;function Sk(e){return[LT(),kT(),yk(),gk(),_k(),Ck(),$T(),Ek(),vk()]}function see(e={}){var n;return{...{defaultIntegrations:Sk(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(n=Pe.SENTRY_RELEASE)==null?void 0:n.id,sendClientReports:!0},...lee(e)}}function lee(e){const t={};for(const n of Object.getOwnPropertyNames(e)){const r=n;e[r]!==void 0&&(t[r]=e[r])}return t}function cee(){var l;const e=typeof Pe.window<"u"&&Pe;if(!e)return!1;const t=e.chrome?"chrome":"browser",n=e[t],r=(l=n==null?void 0:n.runtime)==null?void 0:l.id,o=Ys()||"",i=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],a=!!r&&Pe===Pe.top&&i.some(c=>o.startsWith(`${c}//`)),s=typeof e.nw<"u";return!!r&&!a&&!s}function uee(e={}){const t=see(e);if(!t.skipBrowserExtensionCheck&&cee()){Xe&&Ks(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}Xe&&!UT()&&ne.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.");const n={...t,stackParser:ZG(t.stackParser||hk),integrations:nZ(t),transport:t.transport||o_};return uZ(KT,n)}function dee(e={}){if(!Pe.document){Xe&&ne.error("Global document not defined in showReportDialog call");return}const t=rt(),n=t.getClient(),r=n==null?void 0:n.getDsn();if(!r){Xe&&ne.error("DSN not configured for showReportDialog call");return}if(t&&(e.user={...t.getUser(),...e.user}),!e.eventId){const s=pT();s&&(e.eventId=s)}const o=Pe.document.createElement("script");o.async=!0,o.crossOrigin="anonymous",o.src=eZ(r,e),e.onLoad&&(o.onload=e.onLoad);const{onClose:i}=e;if(i){const s=l=>{if(l.data==="__sentry_reportdialog_closed__")try{i()}finally{Pe.removeEventListener("message",s)}};Pe.addEventListener("message",s)}const a=Pe.document.head||Pe.document.body;a?a.appendChild(o):Xe&&ne.error("Not injecting report dialog. No injection point found in HTML")}function fee(){}function pee(e){e()}const hee={replayIntegration:"replay",replayCanvasIntegration:"replay-canvas",feedbackIntegration:"feedback",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot",captureConsoleIntegration:"captureconsole",contextLinesIntegration:"contextlines",linkedErrorsIntegration:"linkederrors",dedupeIntegration:"dedupe",extraErrorDataIntegration:"extraerrordata",graphqlClientIntegration:"graphqlclient",httpClientIntegration:"httpclient",reportingObserverIntegration:"reportingobserver",rewriteFramesIntegration:"rewriteframes",browserProfilingIntegration:"browserprofiling",moduleMetadataIntegration:"modulemetadata"},sE=Pe;async function wk(e,t){const n=hee[e],r=sE.Sentry=sE.Sentry||{};if(!n)throw new Error(`Cannot lazy load integration: ${e}`);const o=r[e];if(typeof o=="function"&&!("_isShim"in o))return o;const i=mee(n),a=Pe.document.createElement("script");a.src=i,a.crossOrigin="anonymous",a.referrerPolicy="strict-origin",t&&a.setAttribute("nonce",t);const s=new Promise((d,p)=>{a.addEventListener("load",()=>d()),a.addEventListener("error",p)}),l=Pe.document.currentScript,c=Pe.document.body||Pe.document.head||(l==null?void 0:l.parentElement);if(c)c.appendChild(a);else throw new Error(`Could not find parent element to insert lazy-loaded ${e} script`);try{await s}catch{throw new Error(`Error when loading integration: ${e}`)}const u=r[e];if(typeof u!="function")throw new Error(`Could not load integration: ${e}`);return u}function mee(e){var r;const t=xe(),n=((r=t==null?void 0:t.getOptions())==null?void 0:r.cdnBaseUrl)||"https://browser.sentry-cdn.com";return new URL(`/${xi}/${e}.min.js`,n).toString()}const gee=ze,yee="ReportingObserver",lE=new WeakMap,vee=(e={})=>{const t=e.types||["crash","deprecation","intervention"];function n(r){if(lE.has(xe()))for(const o of r)Ao(i=>{i.setExtra("url",o.url);const a=`ReportingObserver [${o.type}]`;let s="No details available";if(o.body){const l={};for(const c in o.body)l[c]=o.body[c];if(i.setExtra("body",l),o.type==="crash"){const c=o.body;s=[c.crashId||"",c.reason||""].join(" ").trim()||s}else s=o.body.message||s}Dh(`${a}: ${s}`)})}return{name:yee,setupOnce(){if(!PX())return;new gee.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(r){lE.set(r,!0)}}},_ee=vee,bee="HttpClient",Eee=(e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:bee,setup(n){Iee(n,t),Lee(n,t)}}},Cee=Eee;function See(e,t,n,r,o){if(Mk(e,n.status,n.url)){const i=Oee(t,r);let a,s,l,c;Tk()&&([a,l]=cE("Cookie",i),[s,c]=cE("Set-Cookie",n));const u=Rk({url:i.url,method:i.method,status:n.status,requestHeaders:a,responseHeaders:s,requestCookies:l,responseCookies:c,error:o});Af(u)}}function cE(e,t){const n=Mee(t.headers);let r;try{const o=n[e]||n[e.toLowerCase()]||void 0;o&&(r=xk(o))}catch{}return[n,r]}function wee(e,t,n,r,o){if(Mk(e,t.status,t.responseURL)){let i,a,s;if(Tk()){try{const c=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;c&&(a=xk(c))}catch{}try{s=Ree(t)}catch{}i=r}const l=Rk({url:t.responseURL,method:n,status:t.status,requestHeaders:i,responseHeaders:s,responseCookies:a,error:o});Af(l)}}function xee(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function xk(e){return e.split("; ").reduce((t,n)=>{const[r,o]=n.split("=");return r&&o&&(t[r]=o),t},{})}function Mee(e){const t={};return e.forEach((n,r)=>{t[r]=n}),t}function Ree(e){const t=e.getAllResponseHeaders();return t?t.split(`\r
|
|
277
|
-
`).reduce((n,r)=>{const[o,i]=r.split(": ");return o&&i&&(n[o]=i),n},{}):{}}function Tee(e,t){return e.some(n=>typeof n=="string"?t.includes(n):n.test(t))}function kee(e,t){return e.some(n=>typeof n=="number"?n===t:t>=n[0]&&t<=n[1])}function Iee(e,t){HT()&&Z5(n=>{if(xe()!==e)return;const{response:r,args:o,error:i,virtualError:a}=n,[s,l]=o;r&&See(t,s,r,l,i||a)},!1)}function Lee(e,t){"XMLHttpRequest"in ze&&n_(n=>{if(xe()!==e)return;const{error:r,virtualError:o}=n,i=n.xhr,a=i[Ci];if(!a)return;const{method:s,request_headers:l}=a;try{wee(t,i,s,l,r||o)}catch(c){Xe&&ne.warn("Error while extracting response event form XHR response",c)}})}function Mk(e,t,n){return kee(e.failedRequestStatusCodes,t)&&Tee(e.failedRequestTargets,n)&&!RT(n,xe())}function Rk(e){const t=xe(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,o=`HTTP Client Error with status code: ${e.status}`,i={message:o,exception:{values:[{type:"Error",value:o,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:xee(e.responseHeaders)}}};return Va(i,{type:"http.client",handled:!1}),i}function Oee(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}function Tk(){const e=xe();return e?!!e.getOptions().sendDefaultPii:!1}const h2=ze,Aee=7,Pee="ContextLines",Nee=(e={})=>{const t=e.frameContextLines!=null?e.frameContextLines:Aee;return{name:Pee,processEvent(n){return jee(n,t)}}},$ee=Nee;function jee(e,t){var s;const n=h2.document,r=h2.location&&Y5(h2.location.href);if(!n||!r)return e;const o=(s=e.exception)==null?void 0:s.values;if(!(o!=null&&o.length))return e;const i=n.documentElement.innerHTML;if(!i)return e;const a=["<!DOCTYPE html>","<html>",...i.split(`
|
|
278
|
-
`),"</html>"];return o.forEach(l=>{const c=l.stacktrace;c!=null&&c.frames&&(c.frames=c.frames.map(u=>Dee(u,a,r,t)))}),e}function Dee(e,t,n,r){return e.filename!==n||!e.lineno||!t.length||fK(t,e,r),e}const Bee="GraphQLClient",Fee=e=>({name:Bee,setup(t){Uee(t,e),Hee(t,e)}});function Uee(e,t){e.on("beforeOutgoingRequestSpan",(n,r)=>{const i=Je(n).data||{};if(!(i[Hi]==="http.client"))return;const l=i[RK]||i["http.url"],c=i[MK]||i["http.method"];if(!Io(l)||!Io(c))return;const{endpoints:u}=t,d=ei(l,u),p=Ik(r);if(d&&p){const h=Lk(p);if(h){const g=kk(h);n.updateName(`${c} ${l} (${g})`),n.setAttribute("graphql.document",p)}}})}function Hee(e,t){e.on("beforeOutgoingRequestBreadcrumb",(n,r)=>{const{category:o,type:i,data:a}=n;if(i==="http"&&(o==="fetch"||o==="xhr")){const u=a==null?void 0:a.url,{endpoints:d}=t,p=ei(u,d),h=Ik(r);if(p&&a&&h){const g=Lk(h);if(!a.graphql&&g){const v=kk(g);a["graphql.document"]=g.query,a["graphql.operation"]=v}}}})}function kk(e){const{query:t,operationName:n}=e,{operationName:r=n,operationType:o}=Vee(t);return r?`${o} ${r}`:`${o}`}function Ik(e){const t="xhr"in e;let n;if(t){const r=e.xhr[Ci];n=r&&Hh(r.body)[0]}else{const r=r_(e.input);n=Hh(r)[0]}return n}function Vee(e){const t=/^(?:\s*)(query|mutation|subscription)(?:\s*)(\w+)(?:\s*)[{(]/,n=/^(?:\s*)(query|mutation|subscription)(?:\s*)[{(]/,r=e.match(t);if(r)return{operationType:r[1],operationName:r[2]};const o=e.match(n);return o?{operationType:o[1],operationName:void 0}:{operationType:void 0,operationName:void 0}}function Lk(e){let t;try{const n=JSON.parse(e);!!n.query&&(t=n)}finally{return t}}const zee=Fee,It=ze,i_="sentryReplaySession",Wee="replay_event",a_="Unable to send Replay",qee=3e5,Gee=9e5,Kee=5e3,Yee=5500,Zee=6e4,Xee=5e3,Jee=3,uE=15e4,$p=5e3,Qee=3e3,ete=300,s_=2e7,tte=4999,nte=15e3,dE=36e5;var rte=Object.defineProperty,ote=(e,t,n)=>t in e?rte(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fE=(e,t,n)=>ote(e,typeof t!="symbol"?t+"":t,n),mn=(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",e))(mn||{});function ite(e){return e.nodeType===e.ELEMENT_NODE}function md(e){const t=e==null?void 0:e.host;return(t==null?void 0:t.shadowRoot)===e}function gd(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function ate(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function ste(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 Vh(e){try{const t=e.rules||e.cssRules;return t?ate(Array.from(t,Ok).join("")):null}catch{return null}}function lte(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style,o=r[n],i=r.getPropertyPriority(o);t+=`${o}:${r.getPropertyValue(o)}${i?" !important":""};`}return`${e.selectorText} { ${t} }`}function Ok(e){let t;if(ute(e))try{t=Vh(e.styleSheet)||ste(e)}catch{}else if(dte(e)){let n=e.cssText;const r=e.selectorText.includes(":"),o=typeof e.style.all=="string"&&e.style.all;if(o&&(n=lte(e)),r&&(n=cte(n)),r||o)return n}return t||e.cssText}function cte(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function ute(e){return"styleSheet"in e}function dte(e){return"selectorText"in e}let Ak=class{constructor(){fE(this,"idNodeMap",new Map),fE(this,"nodeMetaMap",new WeakMap)}getId(t){var r;return t?((r=this.getMeta(t))==null?void 0:r.id)??-1:-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(r=>this.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const o=this.nodeMetaMap.get(r);o&&this.nodeMetaMap.set(n,o)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function fte(){return new Ak}function b0({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 tf({isMasked:e,element:t,value:n,maskInputFn:r}){let o=n||"";return e?(r&&(o=r(o,t)),"*".repeat(o.length)):o}function Ic(e){return e.toLowerCase()}function Fv(e){return e.toUpperCase()}const pE="__rrweb_original__";function pte(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;r<e.width;r+=n)for(let o=0;o<e.height;o+=n){const i=t.getImageData,a=pE in i?i[pE]:i;if(new Uint32Array(a.call(t,r,o,Math.min(n,e.width-r),Math.min(n,e.height-o)).data.buffer).some(l=>l!==0))return!1}return!0}function l_(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Ic(t):null}function zh(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function Pk(e,t){let n;try{n=new URL(e,t??window.location.href)}catch{return null}const r=/\.([0-9a-z]+)(?:$)/i,o=n.pathname.match(r);return(o==null?void 0:o[1])??null}const hE={};function Nk(e){const t=hE[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o);const i=o.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(o)}catch{}return hE[e]=r.bind(window)}function Uv(...e){return Nk("setTimeout")(...e)}function $k(...e){return Nk("clearTimeout")(...e)}function jk(e){try{return e.contentDocument}catch{}}let hte=1;const mte=new RegExp("[^a-z0-9-_:]"),nf=-2;function c_(){return hte++}function gte(e){if(e instanceof HTMLFormElement)return"form";const t=Ic(e.tagName);return mte.test(t)?"div":t}function yte(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let fl,mE;const vte=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,_te=/^(?:[a-z+]+:)?\/\//i,bte=/^www\..*/i,Ete=/^(data:)([^,]*),(.*)/i;function Wh(e,t){return(e||"").replace(vte,(n,r,o,i,a,s)=>{const l=o||a||s,c=r||i||"";if(!l)return n;if(_te.test(l)||bte.test(l))return`url(${c}${l}${c})`;if(Ete.test(l))return`url(${c}${l}${c})`;if(l[0]==="/")return`url(${c}${yte(t)+l}${c})`;const u=t.split("/"),d=l.split("/");u.pop();for(const p of d)p!=="."&&(p===".."?u.pop():u.push(p));return`url(${c}${u.join("/")}${c})`})}const Cte=/^[^ \t\n\r\u000c]+/,Ste=/^[, \t\n\r\u000c]+/;function wte(e,t){if(t.trim()==="")return t;let n=0;function r(i){let a;const s=i.exec(t.substring(n));return s?(a=s[0],n+=a.length,a):""}const o=[];for(;r(Ste),!(n>=t.length);){let i=r(Cte);if(i.slice(-1)===",")i=Fl(e,i.substring(0,i.length-1)),o.push(i);else{let a="";i=Fl(e,i);let s=!1;for(;;){const l=t.charAt(n);if(l===""){o.push((i+a).trim());break}else if(s)l===")"&&(s=!1);else if(l===","){n+=1,o.push((i+a).trim());break}else l==="("&&(s=!0);a+=l,n+=1}}}return o.join(", ")}const gE=new WeakMap;function Fl(e,t){return!t||t.trim()===""?t:E0(e,t)}function xte(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function E0(e,t){let n=gE.get(e);if(n||(n=e.createElement("a"),gE.set(e,n)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return n.setAttribute("href",t),n.href}function Dk(e,t,n,r,o,i){return r&&(n==="src"||n==="href"&&!(t==="use"&&r[0]==="#")||n==="xlink:href"&&r[0]!=="#"||n==="background"&&(t==="table"||t==="td"||t==="th")?Fl(e,r):n==="srcset"?wte(e,r):n==="style"?Wh(r,E0(e)):t==="object"&&n==="data"?Fl(e,r):typeof i=="function"?i(n,r,o):r)}function Bk(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function Fk(e,t,n,r){try{if(r&&e.matches(r))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let o=e.classList.length;o--;){const i=e.classList[o];if(t.test(i))return!0}if(n)return e.matches(n)}catch{}return!1}function Mte(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function Cs(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Cs(e.parentNode,t,n,r+1)}function Ul(e,t){return n=>{const r=n;if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(Mte(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function Lc(e,t,n,r,o,i){try{const a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(a===null)return!1;if(a.tagName==="INPUT"){const c=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(c))return!0}let s=-1,l=-1;if(i){if(l=Cs(a,Ul(r,o)),l<0)return!0;s=Cs(a,Ul(t,n),l>=0?l:1/0)}else{if(s=Cs(a,Ul(t,n)),s<0)return!1;l=Cs(a,Ul(r,o),s>=0?s:1/0)}return s>=0?l>=0?s<=l:!0:l>=0?!1:!!i}catch{}return!!i}function Rte(e,t,n){const r=e.contentWindow;if(!r)return;let o=!1,i;try{i=r.document.readyState}catch{return}if(i!=="complete"){const s=Uv(()=>{o||(t(),o=!0)},n);e.addEventListener("load",()=>{$k(s),o=!0,t()});return}const a="about:blank";if(r.location.href!==a||e.src===a||e.src==="")return Uv(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function Tte(e,t,n){let r=!1,o;try{o=e.sheet}catch{return}if(o)return;const i=Uv(()=>{r||(t(),r=!0)},n);e.addEventListener("load",()=>{$k(i),r=!0,t()})}function kte(e,t){const{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:a,maskAllText:s,maskAttributeFn:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:p,inlineStylesheet:h,maskInputOptions:g={},maskTextFn:v,maskInputFn:b,dataURLOptions:m={},inlineImages:y,recordCanvas:E,keepIframeSrcFn:w,newlyAddedElement:S=!1}=t,_=Ite(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:mn.Document,childNodes:[],compatMode:e.compatMode}:{type:mn.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:mn.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:_};case e.ELEMENT_NODE:return Ote(e,{doc:n,blockClass:o,blockSelector:i,unblockSelector:a,inlineStylesheet:h,maskAttributeFn:l,maskInputOptions:g,maskInputFn:b,dataURLOptions:m,inlineImages:y,recordCanvas:E,keepIframeSrcFn:w,newlyAddedElement:S,rootId:_,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:p});case e.TEXT_NODE:return Lte(e,{doc:n,maskAllText:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:p,maskTextFn:v,maskInputOptions:g,maskInputFn:b,rootId:_});case e.CDATA_SECTION_NODE:return{type:mn.CDATA,textContent:"",rootId:_};case e.COMMENT_NODE:return{type:mn.Comment,textContent:e.textContent||"",rootId:_};default:return!1}}function Ite(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function Lte(e,t){var m;const{maskAllText:n,maskTextClass:r,unmaskTextClass:o,maskTextSelector:i,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:l,maskInputFn:c,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName;let p=e.textContent;const h=d==="STYLE"?!0:void 0,g=d==="SCRIPT"?!0:void 0,v=d==="TEXTAREA"?!0:void 0;if(h&&p){try{e.nextSibling||e.previousSibling||(m=e.parentNode.sheet)!=null&&m.cssRules&&(p=Vh(e.parentNode.sheet))}catch(y){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${y}`,e)}p=Wh(p,E0(t.doc))}g&&(p="SCRIPT_PLACEHOLDER");const b=Lc(e,r,i,o,a,n);if(!h&&!g&&!v&&p&&b&&(p=s?s(p,e.parentElement):p.replace(/[\S]/g,"*")),v&&p&&(l.textarea||b)&&(p=c?c(p,e.parentNode):p.replace(/[\S]/g,"*")),d==="OPTION"&&p){const y=b0({type:null,tagName:d,maskInputOptions:l});p=tf({isMasked:Lc(e,r,i,o,a,y),element:e,value:p,maskInputFn:c})}return{type:mn.Text,textContent:p||"",isStyle:h,rootId:u}}function Ote(e,t){const{doc:n,blockClass:r,blockSelector:o,unblockSelector:i,inlineStylesheet:a,maskInputOptions:s={},maskAttributeFn:l,maskInputFn:c,dataURLOptions:u={},inlineImages:d,recordCanvas:p,keepIframeSrcFn:h,newlyAddedElement:g=!1,rootId:v,maskTextClass:b,unmaskTextClass:m,maskTextSelector:y,unmaskTextSelector:E}=t,w=Fk(e,r,o,i),S=gte(e);let _={};const C=e.attributes.length;for(let T=0;T<C;T++){const I=e.attributes[T];I.name&&!Bk(S,I.name,I.value)&&(_[I.name]=Dk(n,S,Ic(I.name),I.value,e,l))}if(S==="link"&&a){const T=Array.from(n.styleSheets).find(D=>D.href===e.href);let I=null;T&&(I=Vh(T)),I&&(_.rel=null,_.href=null,_.crossorigin=null,_._cssText=Wh(I,T.href))}if(S==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const T=Vh(e.sheet);T&&(_._cssText=Wh(T,E0(n)))}if(S==="input"||S==="textarea"||S==="select"||S==="option"){const T=e,I=l_(T),D=zh(T,Fv(S),I),F=T.checked;if(I!=="submit"&&I!=="button"&&D){const q=Lc(T,b,y,m,E,b0({type:I,tagName:Fv(S),maskInputOptions:s}));_.value=tf({isMasked:q,element:T,value:D,maskInputFn:c})}F&&(_.checked=F)}if(S==="option"&&(e.selected&&!s.select?_.selected=!0:delete _.selected),S==="canvas"&&p){if(e.__context==="2d")pte(e)||(_.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){const T=e.toDataURL(u.type,u.quality),I=n.createElement("canvas");I.width=e.width,I.height=e.height;const D=I.toDataURL(u.type,u.quality);T!==D&&(_.rr_dataURL=T)}}if(S==="img"&&d){fl||(fl=n.createElement("canvas"),mE=fl.getContext("2d"));const T=e,I=T.currentSrc||T.getAttribute("src")||"<unknown-src>",D=T.crossOrigin,F=()=>{T.removeEventListener("load",F);try{fl.width=T.naturalWidth,fl.height=T.naturalHeight,mE.drawImage(T,0,0),_.rr_dataURL=fl.toDataURL(u.type,u.quality)}catch(q){if(T.crossOrigin!=="anonymous"){T.crossOrigin="anonymous",T.complete&&T.naturalWidth!==0?F():T.addEventListener("load",F);return}else console.warn(`Cannot inline img src=${I}! Error: ${q}`)}T.crossOrigin==="anonymous"&&(D?_.crossOrigin=D:T.removeAttribute("crossorigin"))};T.complete&&T.naturalWidth!==0?F():T.addEventListener("load",F)}if((S==="audio"||S==="video")&&(_.rr_mediaState=e.paused?"paused":"played",_.rr_mediaCurrentTime=e.currentTime),g||(e.scrollLeft&&(_.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(_.rr_scrollTop=e.scrollTop)),w){const{width:T,height:I}=e.getBoundingClientRect();_={class:_.class,rr_width:`${T}px`,rr_height:`${I}px`}}S==="iframe"&&!h(_.src)&&(!w&&!jk(e)&&(_.rr_src=_.src),delete _.src);let R;try{customElements.get(S)&&(R=!0)}catch{}return{type:mn.Element,tagName:S,attributes:_,childNodes:[],isSVG:xte(e)||void 0,needBlock:w,rootId:v,isCustom:R}}function kt(e){return e==null?"":e.toLowerCase()}function Ate(e,t){if(t.comment&&e.type===mn.Comment)return!0;if(e.type===mn.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&Pk(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(kt(e.attributes.name).match(/^msapplication-tile(image|color)$/)||kt(e.attributes.name)==="application-name"||kt(e.attributes.rel)==="icon"||kt(e.attributes.rel)==="apple-touch-icon"||kt(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&kt(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(kt(e.attributes.property).match(/^(og|twitter|fb):/)||kt(e.attributes.name).match(/^(og|twitter):/)||kt(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(kt(e.attributes.name)==="robots"||kt(e.attributes.name)==="googlebot"||kt(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(kt(e.attributes.name)==="author"||kt(e.attributes.name)==="generator"||kt(e.attributes.name)==="framework"||kt(e.attributes.name)==="publisher"||kt(e.attributes.name)==="progid"||kt(e.attributes.property).match(/^article:/)||kt(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(kt(e.attributes.name)==="google-site-verification"||kt(e.attributes.name)==="yandex-verification"||kt(e.attributes.name)==="csrf-token"||kt(e.attributes.name)==="p:domain_verify"||kt(e.attributes.name)==="verify-v1"||kt(e.attributes.name)==="verification"||kt(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Hl(e,t){const{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:a,maskAllText:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:p=!1,inlineStylesheet:h=!0,maskInputOptions:g={},maskAttributeFn:v,maskTextFn:b,maskInputFn:m,slimDOMOptions:y,dataURLOptions:E={},inlineImages:w=!1,recordCanvas:S=!1,onSerialize:_,onIframeLoad:C,iframeLoadTimeout:R=5e3,onStylesheetLoad:T,stylesheetLoadTimeout:I=5e3,keepIframeSrcFn:D=()=>!1,newlyAddedElement:F=!1}=t;let{preserveWhiteSpace:q=!0}=t;const W=kte(e,{doc:n,mirror:r,blockClass:o,blockSelector:i,maskAllText:s,unblockSelector:a,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:h,maskInputOptions:g,maskAttributeFn:v,maskTextFn:b,maskInputFn:m,dataURLOptions:E,inlineImages:w,recordCanvas:S,keepIframeSrcFn:D,newlyAddedElement:F});if(!W)return console.warn(e,"not serialized"),null;let Q;r.hasNode(e)?Q=r.getId(e):Ate(W,y)||!q&&W.type===mn.Text&&!W.isStyle&&!W.textContent.replace(/^\s+|\s+$/gm,"").length?Q=nf:Q=c_();const H=Object.assign(W,{id:Q});if(r.add(e,H),Q===nf)return null;_&&_(e);let re=!p;if(H.type===mn.Element){re=re&&!H.needBlock,delete H.needBlock;const B=e.shadowRoot;B&&gd(B)&&(H.isShadowHost=!0)}if((H.type===mn.Document||H.type===mn.Element)&&re){y.headWhitespace&&H.type===mn.Element&&H.tagName==="head"&&(q=!1);const B={doc:n,mirror:r,blockClass:o,blockSelector:i,maskAllText:s,unblockSelector:a,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:p,inlineStylesheet:h,maskInputOptions:g,maskAttributeFn:v,maskTextFn:b,maskInputFn:m,slimDOMOptions:y,dataURLOptions:E,inlineImages:w,recordCanvas:S,preserveWhiteSpace:q,onSerialize:_,onIframeLoad:C,iframeLoadTimeout:R,onStylesheetLoad:T,stylesheetLoadTimeout:I,keepIframeSrcFn:D};for(const ee of Array.from(e.childNodes)){const $=Hl(ee,B);$&&H.childNodes.push($)}if(ite(e)&&e.shadowRoot)for(const ee of Array.from(e.shadowRoot.childNodes)){const $=Hl(ee,B);$&&(gd(e.shadowRoot)&&($.isShadow=!0),H.childNodes.push($))}}return e.parentNode&&md(e.parentNode)&&gd(e.parentNode)&&(H.isShadow=!0),H.type===mn.Element&&H.tagName==="iframe"&&!Fk(e,o,i,a)&&Rte(e,()=>{const B=jk(e);if(B&&C){const ee=Hl(B,{doc:B,mirror:r,blockClass:o,blockSelector:i,unblockSelector:a,maskAllText:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:h,maskInputOptions:g,maskAttributeFn:v,maskTextFn:b,maskInputFn:m,slimDOMOptions:y,dataURLOptions:E,inlineImages:w,recordCanvas:S,preserveWhiteSpace:q,onSerialize:_,onIframeLoad:C,iframeLoadTimeout:R,onStylesheetLoad:T,stylesheetLoadTimeout:I,keepIframeSrcFn:D});ee&&C(e,ee)}},R),H.type===mn.Element&&H.tagName==="link"&&typeof H.attributes.rel=="string"&&(H.attributes.rel==="stylesheet"||H.attributes.rel==="preload"&&typeof H.attributes.href=="string"&&Pk(H.attributes.href)==="css")&&Tte(e,()=>{if(T){const B=Hl(e,{doc:n,mirror:r,blockClass:o,blockSelector:i,unblockSelector:a,maskAllText:s,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:h,maskInputOptions:g,maskAttributeFn:v,maskTextFn:b,maskInputFn:m,slimDOMOptions:y,dataURLOptions:E,inlineImages:w,recordCanvas:S,preserveWhiteSpace:q,onSerialize:_,onIframeLoad:C,iframeLoadTimeout:R,onStylesheetLoad:T,stylesheetLoadTimeout:I,keepIframeSrcFn:D});B&&T(e,B)}},I),H}function Pte(e,t){const{mirror:n=new Ak,blockClass:r="rr-block",blockSelector:o=null,unblockSelector:i=null,maskAllText:a=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:c=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:p=!1,recordCanvas:h=!1,maskAllInputs:g=!1,maskAttributeFn:v,maskTextFn:b,maskInputFn:m,slimDOM:y=!1,dataURLOptions:E,preserveWhiteSpace:w,onSerialize:S,onIframeLoad:_,iframeLoadTimeout:C,onStylesheetLoad:R,stylesheetLoadTimeout:T,keepIframeSrcFn:I=()=>!1}=t||{};return Hl(e,{doc:e,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,maskAllText:a,maskTextClass:s,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:g===!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}:g===!1?{}:g,maskAttributeFn:v,maskTextFn:b,maskInputFn:m,slimDOMOptions:y===!0||y==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:y==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:y===!1?{}:y,dataURLOptions:E,inlineImages:p,recordCanvas:h,preserveWhiteSpace:w,onSerialize:S,onIframeLoad:_,iframeLoadTimeout:C,onStylesheetLoad:R,stylesheetLoadTimeout:T,keepIframeSrcFn:I,newlyAddedElement:!1})}function Yn(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const bl=`Please stop import mirror directly. Instead of that,\r
|
|
279
|
-
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
|
|
280
|
-
or you can use record.mirror to access the mirror instance during recording.`;let yE={map:{},getId(){return console.error(bl),-1},getNode(){return console.error(bl),null},removeNodeFromMap(){console.error(bl)},has(){return console.error(bl),!1},reset(){console.error(bl)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(yE=new Proxy(yE,{get(e,t,n){return t==="map"&&console.error(bl),Reflect.get(e,t,n)}}));function rf(e,t,n={}){let r=null,o=0;return function(...i){const a=Date.now();!o&&n.leading===!1&&(o=a);const s=t-(a-o),l=this;s<=0||s>t?(r&&(Ute(r),r=null),o=a,e.apply(l,i)):!r&&n.trailing!==!1&&(r=C0(()=>{o=n.leading===!1?0:Date.now(),r=null,e.apply(l,i)},s))}}function Uk(e,t,n,r,o=window){const i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set(a){C0(()=>{n.set.call(this,a)},0),i&&i.set&&i.set.call(this,a)}}),()=>Uk(e,t,i||{},!0)}function u_(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],o=n(r);return typeof o=="function"&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,()=>{e[t]=r}}catch{return()=>{}}}let qh=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(qh=()=>new Date().getTime());function Hk(e){var n,r,o,i,a,s;const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:(t==null?void 0:t.documentElement.scrollLeft)||((r=(n=t==null?void 0:t.body)==null?void 0:n.parentElement)==null?void 0:r.scrollLeft)||((o=t==null?void 0:t.body)==null?void 0:o.scrollLeft)||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:(t==null?void 0:t.documentElement.scrollTop)||((a=(i=t==null?void 0:t.body)==null?void 0:i.parentElement)==null?void 0:a.scrollTop)||((s=t==null?void 0:t.body)==null?void 0:s.scrollTop)||0}}function Vk(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function zk(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Wk(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function wr(e,t,n,r,o){if(!e)return!1;const i=Wk(e);if(!i)return!1;const a=Ul(t,n);if(!o){const c=r&&i.matches(r);return a(i)&&!c}const s=Cs(i,a);let l=-1;return s<0?!1:(r&&(l=Cs(i,Ul(null,r))),s>-1&&l<0?!0:s<l)}function Nte(e,t){return t.getId(e)!==-1}function m2(e,t){return t.getId(e)===nf}function qk(e,t){if(md(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?qk(e.parentNode,t):!0:!0}function Hv(e){return!!e.changedTouches}function $te(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 Gk(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function Kk(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function Vv(e){return!!(e!=null&&e.shadowRoot)}class jte{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return this.styleIDMap.get(t)??-1}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}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 Yk(e){var n,r;let t=null;return((r=(n=e.getRootNode)==null?void 0:n.call(e))==null?void 0:r.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function Dte(e){let t=e,n;for(;n=Yk(t);)t=n;return t}function Bte(e){const t=e.ownerDocument;if(!t)return!1;const n=Dte(e);return t.contains(n)}function Zk(e){const t=e.ownerDocument;return t?t.contains(e)||Bte(e):!1}const vE={};function d_(e){const t=vE[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o);const i=o.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(o)}catch{}return vE[e]=r.bind(window)}function Fte(...e){return d_("requestAnimationFrame")(...e)}function C0(...e){return d_("setTimeout")(...e)}function Ute(...e){return d_("clearTimeout")(...e)}var Ke=(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))(Ke||{}),Fe=(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))(Fe||{}),qn=(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))(qn||{}),ui=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(ui||{}),El=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(El||{});function f_(e){try{return e.contentDocument}catch{}}function Hte(e){try{return e.contentWindow}catch{}}function _E(e){return"__ln"in e}class Vte{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 r=0;r<t;r++)n=(n==null?void 0:n.next)||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&_E(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&_E(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.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 bE=(e,t)=>`${e}@${t}`;class zte{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,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,r=new Vte,o=l=>{let c=l,u=nf;for(;u===nf;)c=c&&c.nextSibling,u=c&&this.mirror.getId(c);return u},i=l=>{if(!l.parentNode||!Zk(l))return;const c=md(l.parentNode)?this.mirror.getId(Yk(l)):this.mirror.getId(l.parentNode),u=o(l);if(c===-1||u===-1)return r.addNode(l);const d=Hl(l,{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:p=>{Gk(p,this.mirror)&&!wr(p,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(p),Kk(p,this.mirror)&&this.stylesheetManager.trackLinkElement(p),Vv(l)&&this.shadowDomManager.addShadowRoot(l.shadowRoot,this.doc)},onIframeLoad:(p,h)=>{wr(p,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(p,h),p.contentWindow&&this.canvasManager.addWindow(p.contentWindow),this.shadowDomManager.observeAttachShadow(p))},onStylesheetLoad:(p,h)=>{this.stylesheetManager.attachLinkElement(p,h)}});d&&(t.push({parentId:c,nextId:u,node:d}),n.add(d.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const l of this.movedSet)EE(this.removes,l,this.mirror)&&!this.movedSet.has(l.parentNode)||i(l);for(const l of this.addedSet)!CE(this.droppedSet,l)&&!EE(this.removes,l,this.mirror)||CE(this.movedSet,l)?i(l):this.droppedSet.add(l);let a=null;for(;r.length;){let l=null;if(a){const c=this.mirror.getId(a.value.parentNode),u=o(a.value);c!==-1&&u!==-1&&(l=a)}if(!l){let c=r.tail;for(;c;){const u=c;if(c=c.previous,u){const d=this.mirror.getId(u.value.parentNode);if(o(u.value)===-1)continue;if(d!==-1){l=u;break}else{const h=u.value;if(h.parentNode&&h.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const g=h.parentNode.host;if(this.mirror.getId(g)!==-1){l=u;break}}}}}}if(!l){for(;r.head;)r.removeNode(r.head.value);break}a=l.previous,r.removeNode(l.value),i(l.value)}const s={texts:this.texts.map(l=>({id:this.mirror.getId(l.node),value:l.value})).filter(l=>!n.has(l.id)).filter(l=>this.mirror.has(l.id)),attributes:this.attributes.map(l=>{const{attributes:c}=l;if(typeof c.style=="string"){const u=JSON.stringify(l.styleDiff),d=JSON.stringify(l._unchangedStyles);u.length<c.style.length&&(u+d).split("var(").length===c.style.split("var(").length&&(c.style=l.styleDiff)}return{id:this.mirror.getId(l.node),attributes:c}}).filter(l=>!n.has(l.id)).filter(l=>this.mirror.has(l.id)),removes:this.removes,adds:t};!s.texts.length&&!s.attributes.length&&!s.removes.length&&!s.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(s))},this.processMutation=t=>{if(!m2(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!wr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:Lc(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,Wk(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,o=t.target.getAttribute(r);if(r==="value"){const a=l_(n),s=n.tagName;o=zh(n,s,a);const l=b0({maskInputOptions:this.maskInputOptions,tagName:s,type:a}),c=Lc(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,l);o=tf({isMasked:c,element:n,value:o,maskInputFn:this.maskInputFn})}if(wr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||o===t.oldValue)return;let i=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(o))if(!f_(n))r="rr_src";else return;if(i||(i={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(t.target,i)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!Bk(n.tagName,r)&&(i.attributes[r]=Dk(this.doc,Ic(n.tagName),Ic(r),o,n,this.maskAttributeFn),r==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const a=this.unattachedDoc.createElement("span");t.oldValue&&a.setAttribute("style",t.oldValue);for(const s of Array.from(n.style)){const l=n.style.getPropertyValue(s),c=n.style.getPropertyPriority(s);l!==a.style.getPropertyValue(s)||c!==a.style.getPropertyPriority(s)?c===""?i.styleDiff[s]=l:i.styleDiff[s]=[l,c]:i._unchangedStyles[s]=[l,c]}for(const s of Array.from(a.style))n.style.getPropertyValue(s)===""&&(i.styleDiff[s]=!1)}break}case"childList":{if(wr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),o=md(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);wr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||m2(n,this.mirror)||!Nte(n,this.mirror)||(this.addedSet.has(n)?(zv(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||qk(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[bE(r,o)]?zv(this.movedSet,n):this.removes.push({parentId:o,id:r,isShadow:md(t.target)&&gd(t.target)?!0:void 0})),this.mapRemoves.push(n))});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(m2(t,this.mirror))return;this.movedSet.add(t);let r=null;n&&this.mirror.hasNode(n)&&(r=this.mirror.getId(n)),r&&r!==-1&&(this.movedMap[bE(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);wr(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes.forEach(r=>this.genAdds(r)),Vv(t)&&t.shadowRoot.childNodes.forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,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 zv(e,t){e.delete(t),t.childNodes.forEach(n=>zv(e,n))}function EE(e,t,n){return e.length===0?!1:Wte(e,t,n)}function Wte(e,t,n){let r=t.parentNode;for(;r;){const o=n.getId(r);if(e.some(i=>i.id===o))return!0;r=r.parentNode}return!1}function CE(e,t){return e.size===0?!1:Xk(e,t)}function Xk(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:Xk(e,n):!1}let yd;function qte(e){yd=e}function Gte(){yd=void 0}const it=e=>yd?(...n)=>{try{return e(...n)}catch(r){if(yd&&yd(r)===!0)return()=>{};throw r}}:e,Vl=[];function Df(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 Jk(e,t){var a,s;const n=new zte;Vl.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const o=(s=(a=window==null?void 0:window.Zone)==null?void 0:a.__symbol__)==null?void 0:s.call(a,"MutationObserver");o&&window[o]&&(r=window[o]);const i=new r(it(l=>{e.onMutation&&e.onMutation(l)===!1||n.processMutations.bind(n)(l)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function Kte({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const o=typeof t.mousemove=="number"?t.mousemove:50,i=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let a=[],s;const l=rf(it(d=>{const p=Date.now()-s;e(a.map(h=>(h.timeOffset-=p,h)),d),a=[],s=null}),i),c=it(rf(it(d=>{const p=Df(d),{clientX:h,clientY:g}=Hv(d)?d.changedTouches[0]:d;s||(s=qh()),a.push({x:h,y:g,id:r.getId(p),timeOffset:qh()-s}),l(typeof DragEvent<"u"&&d instanceof DragEvent?Fe.Drag:d instanceof MouseEvent?Fe.MouseMove:Fe.TouchMove)}),o,{trailing:!1})),u=[Yn("mousemove",c,n),Yn("touchmove",c,n),Yn("drag",c,n)];return it(()=>{u.forEach(d=>d())})}function Yte({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,sampling:a}){if(a.mouseInteraction===!1)return()=>{};const s=a.mouseInteraction===!0||a.mouseInteraction===void 0?{}:a.mouseInteraction,l=[];let c=null;const u=d=>p=>{const h=Df(p);if(wr(h,r,o,i,!0))return;let g=null,v=d;if("pointerType"in p){switch(p.pointerType){case"mouse":g=ui.Mouse;break;case"touch":g=ui.Touch;break;case"pen":g=ui.Pen;break}g===ui.Touch?qn[d]===qn.MouseDown?v="TouchStart":qn[d]===qn.MouseUp&&(v="TouchEnd"):ui.Pen}else Hv(p)&&(g=ui.Touch);g!==null?(c=g,(v.startsWith("Touch")&&g===ui.Touch||v.startsWith("Mouse")&&g===ui.Mouse)&&(g=null)):qn[d]===qn.Click&&(g=c,c=null);const b=Hv(p)?p.changedTouches[0]:p;if(!b)return;const m=n.getId(h),{clientX:y,clientY:E}=b;it(e)({type:qn[v],id:m,x:y,y:E,...g!==null&&{pointerType:g}})};return Object.keys(qn).filter(d=>Number.isNaN(Number(d))&&!d.endsWith("_Departed")&&s[d]!==!1).forEach(d=>{let p=Ic(d);const h=u(d);if(window.PointerEvent)switch(qn[d]){case qn.MouseDown:case qn.MouseUp:p=p.replace("mouse","pointer");break;case qn.TouchStart:case qn.TouchEnd:return}l.push(Yn(p,h,t))}),it(()=>{l.forEach(d=>d())})}function Qk({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,sampling:a}){const s=it(rf(it(l=>{const c=Df(l);if(!c||wr(c,r,o,i,!0))return;const u=n.getId(c);if(c===t&&t.defaultView){const d=Hk(t.defaultView);e({id:u,x:d.left,y:d.top})}else e({id:u,x:c.scrollLeft,y:c.scrollTop})}),a.scroll||100));return Yn("scroll",s,t)}function Zte({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const o=it(rf(it(()=>{const i=Vk(),a=zk();(n!==i||r!==a)&&(e({width:Number(a),height:Number(i)}),n=i,r=a)}),200));return Yn("resize",o,t)}const Xte=["INPUT","TEXTAREA","SELECT"],SE=new WeakMap;function Jte({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,ignoreClass:a,ignoreSelector:s,maskInputOptions:l,maskInputFn:c,sampling:u,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:h,maskTextSelector:g,unmaskTextSelector:v}){function b(C){let R=Df(C);const T=C.isTrusted,I=R&&Fv(R.tagName);if(I==="OPTION"&&(R=R.parentElement),!R||!I||Xte.indexOf(I)<0||wr(R,r,o,i,!0))return;const D=R;if(D.classList.contains(a)||s&&D.matches(s))return;const F=l_(R);let q=zh(D,I,F),W=!1;const Q=b0({maskInputOptions:l,tagName:I,type:F}),H=Lc(R,p,g,h,v,Q);(F==="radio"||F==="checkbox")&&(W=R.checked),q=tf({isMasked:H,element:R,value:q,maskInputFn:c}),m(R,d?{text:q,isChecked:W,userTriggered:T}:{text:q,isChecked:W});const re=R.name;F==="radio"&&re&&W&&t.querySelectorAll(`input[type="radio"][name="${re}"]`).forEach(B=>{if(B!==R){const ee=tf({isMasked:H,element:B,value:zh(B,I,F),maskInputFn:c});m(B,d?{text:ee,isChecked:!W,userTriggered:!1}:{text:ee,isChecked:!W})}})}function m(C,R){const T=SE.get(C);if(!T||T.text!==R.text||T.isChecked!==R.isChecked){SE.set(C,R);const I=n.getId(C);it(e)({...R,id:I})}}const E=(u.input==="last"?["change"]:["input","change"]).map(C=>Yn(C,it(b),t)),w=t.defaultView;if(!w)return()=>{E.forEach(C=>C())};const S=w.Object.getOwnPropertyDescriptor(w.HTMLInputElement.prototype,"value"),_=[[w.HTMLInputElement.prototype,"value"],[w.HTMLInputElement.prototype,"checked"],[w.HTMLSelectElement.prototype,"value"],[w.HTMLTextAreaElement.prototype,"value"],[w.HTMLSelectElement.prototype,"selectedIndex"],[w.HTMLOptionElement.prototype,"selected"]];return S&&S.set&&E.push(..._.map(C=>Uk(C[0],C[1],{set(){it(b)({target:this,isTrusted:!1})}},!1,w))),it(()=>{E.forEach(C=>C())})}function Gh(e){const t=[];function n(r,o){if(jp("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||jp("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||jp("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||jp("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const a=Array.from(r.parentRule.cssRules).indexOf(r);o.unshift(a)}else if(r.parentStyleSheet){const a=Array.from(r.parentStyleSheet.cssRules).indexOf(r);o.unshift(a)}return o}return n(e,t)}function fa(e,t,n){let r,o;return e?(e.ownerNode?r=t.getId(e.ownerNode):o=n.getId(e),{styleId:o,id:r}):{}}function Qte({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const o=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:it((u,d,p)=>{const[h,g]=p,{id:v,styleId:b}=fa(d,t,n.styleMirror);return(v&&v!==-1||b&&b!==-1)&&e({id:v,styleId:b,adds:[{rule:h,index:g}]}),u.apply(d,p)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:it((u,d,p)=>{const[h]=p,{id:g,styleId:v}=fa(d,t,n.styleMirror);return(g&&g!==-1||v&&v!==-1)&&e({id:g,styleId:v,removes:[{index:h}]}),u.apply(d,p)})});let a;r.CSSStyleSheet.prototype.replace&&(a=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:it((u,d,p)=>{const[h]=p,{id:g,styleId:v}=fa(d,t,n.styleMirror);return(g&&g!==-1||v&&v!==-1)&&e({id:g,styleId:v,replace:h}),u.apply(d,p)})}));let s;r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:it((u,d,p)=>{const[h]=p,{id:g,styleId:v}=fa(d,t,n.styleMirror);return(g&&g!==-1||v&&v!==-1)&&e({id:g,styleId:v,replaceSync:h}),u.apply(d,p)})}));const l={};Dp("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(Dp("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),Dp("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),Dp("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));const c={};return Object.entries(l).forEach(([u,d])=>{c[u]={insertRule:d.prototype.insertRule,deleteRule:d.prototype.deleteRule},d.prototype.insertRule=new Proxy(c[u].insertRule,{apply:it((p,h,g)=>{const[v,b]=g,{id:m,styleId:y}=fa(h.parentStyleSheet,t,n.styleMirror);return(m&&m!==-1||y&&y!==-1)&&e({id:m,styleId:y,adds:[{rule:v,index:[...Gh(h),b||0]}]}),p.apply(h,g)})}),d.prototype.deleteRule=new Proxy(c[u].deleteRule,{apply:it((p,h,g)=>{const[v]=g,{id:b,styleId:m}=fa(h.parentStyleSheet,t,n.styleMirror);return(b&&b!==-1||m&&m!==-1)&&e({id:b,styleId:m,removes:[{index:[...Gh(h),v]}]}),p.apply(h,g)})})}),it(()=>{r.CSSStyleSheet.prototype.insertRule=o,r.CSSStyleSheet.prototype.deleteRule=i,a&&(r.CSSStyleSheet.prototype.replace=a),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(l).forEach(([u,d])=>{d.prototype.insertRule=c[u].insertRule,d.prototype.deleteRule=c[u].deleteRule})})}function eI({mirror:e,stylesheetManager:t},n){var a,s,l;let r=null;n.nodeName==="#document"?r=e.getId(n):r=e.getId(n.host);const o=n.nodeName==="#document"?(a=n.defaultView)==null?void 0:a.Document:(l=(s=n.ownerDocument)==null?void 0:s.defaultView)==null?void 0:l.ShadowRoot,i=o!=null&&o.prototype?Object.getOwnPropertyDescriptor(o==null?void 0:o.prototype,"adoptedStyleSheets"):void 0;return r===null||r===-1||!o||!i?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){var c;return(c=i.get)==null?void 0:c.call(this)},set(c){var d;const u=(d=i.set)==null?void 0:d.call(this,c);if(r!==null&&r!==-1)try{t.adoptStyleSheets(c,r)}catch{}return u}}),it(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function ene({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:o}){const i=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:it((s,l,c)=>{var v;const[u,d,p]=c;if(n.has(u))return i.apply(l,[u,d,p]);const{id:h,styleId:g}=fa((v=l.parentRule)==null?void 0:v.parentStyleSheet,t,r.styleMirror);return(h&&h!==-1||g&&g!==-1)&&e({id:h,styleId:g,set:{property:u,value:d,priority:p},index:Gh(l.parentRule)}),s.apply(l,c)})});const a=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:it((s,l,c)=>{var h;const[u]=c;if(n.has(u))return a.apply(l,[u]);const{id:d,styleId:p}=fa((h=l.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(d&&d!==-1||p&&p!==-1)&&e({id:d,styleId:p,remove:{property:u},index:Gh(l.parentRule)}),s.apply(l,c)})}),it(()=>{o.CSSStyleDeclaration.prototype.setProperty=i,o.CSSStyleDeclaration.prototype.removeProperty=a})}function tne({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:o,sampling:i,doc:a}){const s=it(c=>rf(it(u=>{const d=Df(u);if(!d||wr(d,t,n,r,!0))return;const{currentTime:p,volume:h,muted:g,playbackRate:v}=d;e({type:c,id:o.getId(d),currentTime:p,volume:h,muted:g,playbackRate:v})}),i.media||500)),l=[Yn("play",s(El.Play),a),Yn("pause",s(El.Pause),a),Yn("seeked",s(El.Seeked),a),Yn("volumechange",s(El.VolumeChange),a),Yn("ratechange",s(El.RateChange),a)];return it(()=>{l.forEach(c=>c())})}function nne({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],o=new WeakMap,i=n.FontFace;n.FontFace=function(l,c,u){const d=new i(l,c,u);return o.set(d,{family:l,buffer:typeof c!="string",descriptors:u,fontSource:typeof c=="string"?c:JSON.stringify(Array.from(new Uint8Array(c)))}),d};const a=u_(t.fonts,"add",function(s){return function(l){return C0(it(()=>{const c=o.get(l);c&&(e(c),o.delete(l))}),0),s.apply(this,[l])}});return r.push(()=>{n.FontFace=i}),r.push(a),it(()=>{r.forEach(s=>s())})}function rne(e){const{doc:t,mirror:n,blockClass:r,blockSelector:o,unblockSelector:i,selectionCb:a}=e;let s=!0;const l=it(()=>{const c=t.getSelection();if(!c||s&&(c!=null&&c.isCollapsed))return;s=c.isCollapsed||!1;const u=[],d=c.rangeCount||0;for(let p=0;p<d;p++){const h=c.getRangeAt(p),{startContainer:g,startOffset:v,endContainer:b,endOffset:m}=h;wr(g,r,o,i,!0)||wr(b,r,o,i,!0)||u.push({start:n.getId(g),startOffset:v,end:n.getId(b),endOffset:m})}a({ranges:u})});return l(),Yn("selectionchange",l)}function one({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:u_(n.customElements,"define",function(o){return function(i,a,s){try{t({define:{name:i}})}catch{}return o.apply(this,[i,a,s])}})}function ine(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=Jk(e,e.doc));const o=Kte(e),i=Yte(e),a=Qk(e),s=Zte(e,{win:n}),l=Jte(e),c=tne(e);let u=()=>{},d=()=>{},p=()=>{},h=()=>{};e.recordDOM&&(u=Qte(e,{win:n}),d=eI(e,e.doc),p=ene(e,{win:n}),e.collectFonts&&(h=nne(e)));const g=rne(e),v=one(e),b=[];for(const m of e.plugins)b.push(m.observer(m.callback,n,m.options));return it(()=>{Vl.forEach(m=>m.reset()),r==null||r.disconnect(),o(),i(),a(),s(),l(),c(),u(),d(),p(),h(),g(),v(),b.forEach(m=>m())})}function jp(e){return typeof window[e]<"u"}function Dp(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Wv{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,r,o){const i=r||this.getIdToRemoteIdMap(t),a=o||this.getRemoteIdToIdMap(t);let s=i.get(n);return s||(s=this.generateIdFn(),i.set(n,s),a.set(s,n)),s}getIds(t,n){const r=this.getIdToRemoteIdMap(t),o=this.getRemoteIdToIdMap(t);return n.map(i=>this.getId(t,i,r,o))}getRemoteId(t,n,r){const o=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const i=o.get(n);return i||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(o=>this.getRemoteId(t,o,r))}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}}class ane{constructor(){this.crossOriginIframeMirror=new Wv(c_),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class sne{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Wv(c_),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Wv(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){var o,i;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((o=t.contentWindow)==null||o.addEventListener("message",this.handleMessage.bind(this))),(i=this.loadListener)==null||i.call(this,t);const r=f_(t);r&&r.adoptedStyleSheets&&r.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}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 i=this.transformCrossOriginEvent(o,n.data.event);i&&this.wrappedEmit(i,n.data.isCheckout)}transformCrossOriginEvent(t,n){var r;switch(n.type){case Ke.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const o=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,o),this.patchRootIdOnNode(n.data.node,o),{timestamp:n.timestamp,type:Ke.IncrementalSnapshot,data:{source:Fe.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Ke.Meta:case Ke.Load:case Ke.DomContentLoaded:return!1;case Ke.Plugin:return n;case Ke.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case Ke.IncrementalSnapshot:switch(n.data.source){case Fe.Mutation:return n.data.adds.forEach(o=>{this.replaceIds(o,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(o.node,t);const i=this.crossOriginIframeRootIdMap.get(t);i&&this.patchRootIdOnNode(o.node,i)}),n.data.removes.forEach(o=>{this.replaceIds(o,t,["parentId","id"])}),n.data.attributes.forEach(o=>{this.replaceIds(o,t,["id"])}),n.data.texts.forEach(o=>{this.replaceIds(o,t,["id"])}),n;case Fe.Drag:case Fe.TouchMove:case Fe.MouseMove:return n.data.positions.forEach(o=>{this.replaceIds(o,t,["id"])}),n;case Fe.ViewportResize:return!1;case Fe.MediaInteraction:case Fe.MouseInteraction:case Fe.Scroll:case Fe.CanvasMutation:case Fe.Input:return this.replaceIds(n.data,t,["id"]),n;case Fe.StyleSheetRule:case Fe.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case Fe.Font:return n;case Fe.Selection:return n.data.ranges.forEach(o=>{this.replaceIds(o,t,["start","end"])}),n;case Fe.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),(r=n.data.styles)==null||r.forEach(o=>{this.replaceStyleIds(o,t,["styleId"])}),n}}return!1}replace(t,n,r,o){for(const i of o)!Array.isArray(n[i])&&typeof n[i]!="number"||(Array.isArray(n[i])?n[i]=t.getIds(r,n[i]):n[i]=t.getId(r,n[i]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==mn.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class lne{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class cne{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(!gd(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const r=Jk({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(Qk({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),C0(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(eI({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const n=f_(t),r=Hte(t);!n||!r||this.patchAttachShadow(r.Element,n)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(u_(t.prototype,"attachShadow",function(o){return function(i){const a=o.call(this,i);return this.shadowRoot&&Zk(this)&&r.addShadowRoot(this.shadowRoot,n),a}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}var wE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",une=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Bp=0;Bp<wE.length;Bp++)une[wE.charCodeAt(Bp)]=Bp;class xE{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class dne{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new jte,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 r={id:n,styleIds:[]},o=[];for(const i of t){let a;this.styleMirror.has(i)?a=this.styleMirror.getId(i):(a=this.styleMirror.add(i),o.push({styleId:a,rules:Array.from(i.rules||CSSRule,(s,l)=>({rule:Ok(s),index:l}))})),r.styleIds.push(a)}o.length>0&&(r.styles=o),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class fne{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(o=>o!==n)}add(t,n){this.active||(this.active=!0,Fte(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let Kt,Kh;var vS;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((vS=e.contentWindow)==null?void 0:vS.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const vo=fte();function Ri(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:o="rr-block",blockSelector:i=null,unblockSelector:a=null,ignoreClass:s="rr-ignore",ignoreSelector:l=null,maskAllText:c=!1,maskTextClass:u="rr-mask",unmaskTextClass:d=null,maskTextSelector:p=null,unmaskTextSelector:h=null,inlineStylesheet:g=!0,maskAllInputs:v,maskInputOptions:b,slimDOMOptions:m,maskAttributeFn:y,maskInputFn:E,maskTextFn:w,maxCanvasSize:S=null,packFn:_,sampling:C={},dataURLOptions:R={},mousemoveWait:T,recordDOM:I=!0,recordCanvas:D=!1,recordCrossOriginIframes:F=!1,recordAfter:q=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:W=!1,collectFonts:Q=!1,inlineImages:H=!1,plugins:re,keepIframeSrcFn:B=()=>!1,ignoreCSSAttributes:ee=new Set([]),errorHandler:$,onMutation:P,getCanvasManager:N}=e;qte($);const O=F?window.parent===window:!0;let x=!1;if(!O)try{window.parent.document&&(x=!1)}catch{x=!0}if(O&&!t)throw new Error("emit function is required");if(!O&&!x)return()=>{};T!==void 0&&C.mousemove===void 0&&(C.mousemove=T),vo.reset();const k=v===!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}:b!==void 0?b:{},j=m===!0||m==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:m==="all",headMetaDescKeywords:m==="all"}:m||{};$te();let J,L=0;const U=ye=>{for(const Ge of re||[])Ge.eventProcessor&&(ye=Ge.eventProcessor(ye));return _&&!x&&(ye=_(ye)),ye};Kt=(ye,Ge)=>{var Ve;const Ce=ye;if(Ce.timestamp=qh(),(Ve=Vl[0])!=null&&Ve.isFrozen()&&Ce.type!==Ke.FullSnapshot&&!(Ce.type===Ke.IncrementalSnapshot&&Ce.data.source===Fe.Mutation)&&Vl.forEach(Ue=>Ue.unfreeze()),O)t==null||t(U(Ce),Ge);else if(x){const Ue={type:"rrweb",event:U(Ce),origin:window.location.origin,isCheckout:Ge};window.parent.postMessage(Ue,"*")}if(Ce.type===Ke.FullSnapshot)J=Ce,L=0;else if(Ce.type===Ke.IncrementalSnapshot){if(Ce.data.source===Fe.Mutation&&Ce.data.isAttachIframe)return;L++;const Ue=r&&L>=r,Le=n&&J&&Ce.timestamp-J.timestamp>n;(Ue||Le)&&pt(!0)}};const G=ye=>{Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.Mutation,...ye}})},z=ye=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.Scroll,...ye}}),V=ye=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.CanvasMutation,...ye}}),Z=ye=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.AdoptedStyleSheet,...ye}}),ue=new dne({mutationCb:G,adoptedStyleSheetCb:Z}),pe=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new ane:new sne({mirror:vo,mutationCb:G,stylesheetManager:ue,recordCrossOriginIframes:F,wrappedEmit:Kt});for(const ye of re||[])ye.getMirror&&ye.getMirror({nodeMirror:vo,crossOriginIframeMirror:pe.crossOriginIframeMirror,crossOriginIframeStyleMirror:pe.crossOriginIframeStyleMirror});const be=new fne,we=hne(N,{mirror:vo,win:window,mutationCb:ye=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.CanvasMutation,...ye}}),recordCanvas:D,blockClass:o,blockSelector:i,unblockSelector:a,maxCanvasSize:S,sampling:C.canvas,dataURLOptions:R,errorHandler:$}),ke=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new lne:new cne({mutationCb:G,scrollCb:z,bypassOptions:{onMutation:P,blockClass:o,blockSelector:i,unblockSelector:a,maskAllText:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:h,inlineStylesheet:g,maskInputOptions:k,dataURLOptions:R,maskAttributeFn:y,maskTextFn:w,maskInputFn:E,recordCanvas:D,inlineImages:H,sampling:C,slimDOMOptions:j,iframeManager:pe,stylesheetManager:ue,canvasManager:we,keepIframeSrcFn:B,processedNodeManager:be},mirror:vo}),pt=(ye=!1)=>{if(!I)return;Kt({type:Ke.Meta,data:{href:window.location.href,width:zk(),height:Vk()}},ye),ue.reset(),ke.init(),Vl.forEach(Ce=>Ce.lock());const Ge=Pte(document,{mirror:vo,blockClass:o,blockSelector:i,unblockSelector:a,maskAllText:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:h,inlineStylesheet:g,maskAllInputs:k,maskAttributeFn:y,maskInputFn:E,maskTextFn:w,slimDOM:j,dataURLOptions:R,recordCanvas:D,inlineImages:H,onSerialize:Ce=>{Gk(Ce,vo)&&pe.addIframe(Ce),Kk(Ce,vo)&&ue.trackLinkElement(Ce),Vv(Ce)&&ke.addShadowRoot(Ce.shadowRoot,document)},onIframeLoad:(Ce,Ve)=>{pe.attachIframe(Ce,Ve),Ce.contentWindow&&we.addWindow(Ce.contentWindow),ke.observeAttachShadow(Ce)},onStylesheetLoad:(Ce,Ve)=>{ue.attachLinkElement(Ce,Ve)},keepIframeSrcFn:B});if(!Ge)return console.warn("Failed to snapshot the document");Kt({type:Ke.FullSnapshot,data:{node:Ge,initialOffset:Hk(window)}}),Vl.forEach(Ce=>Ce.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&ue.adoptStyleSheets(document.adoptedStyleSheets,vo.getId(document))};Kh=pt;try{const ye=[],Ge=Ve=>{var Ue;return it(ine)({onMutation:P,mutationCb:G,mousemoveCb:(Le,Ht)=>Kt({type:Ke.IncrementalSnapshot,data:{source:Ht,positions:Le}}),mouseInteractionCb:Le=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.MouseInteraction,...Le}}),scrollCb:z,viewportResizeCb:Le=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.ViewportResize,...Le}}),inputCb:Le=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.Input,...Le}}),mediaInteractionCb:Le=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.MediaInteraction,...Le}}),styleSheetRuleCb:Le=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.StyleSheetRule,...Le}}),styleDeclarationCb:Le=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.StyleDeclaration,...Le}}),canvasMutationCb:V,fontCb:Le=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.Font,...Le}}),selectionCb:Le=>{Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.Selection,...Le}})},customElementCb:Le=>{Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.CustomElement,...Le}})},blockClass:o,ignoreClass:s,ignoreSelector:l,maskAllText:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:p,unmaskTextSelector:h,maskInputOptions:k,inlineStylesheet:g,sampling:C,recordDOM:I,recordCanvas:D,inlineImages:H,userTriggeredOnInput:W,collectFonts:Q,doc:Ve,maskAttributeFn:y,maskInputFn:E,maskTextFn:w,keepIframeSrcFn:B,blockSelector:i,unblockSelector:a,slimDOMOptions:j,dataURLOptions:R,mirror:vo,iframeManager:pe,stylesheetManager:ue,shadowDomManager:ke,processedNodeManager:be,canvasManager:we,ignoreCSSAttributes:ee,plugins:((Ue=re==null?void 0:re.filter(Le=>Le.observer))==null?void 0:Ue.map(Le=>({observer:Le.observer,options:Le.options,callback:Ht=>Kt({type:Ke.Plugin,data:{plugin:Le.name,payload:Ht}})})))||[]},{})};pe.addLoadListener(Ve=>{try{ye.push(Ge(Ve.contentDocument))}catch(Ue){console.warn(Ue)}});const Ce=()=>{pt(),ye.push(Ge(document))};return document.readyState==="interactive"||document.readyState==="complete"?Ce():(ye.push(Yn("DOMContentLoaded",()=>{Kt({type:Ke.DomContentLoaded,data:{}}),q==="DOMContentLoaded"&&Ce()})),ye.push(Yn("load",()=>{Kt({type:Ke.Load,data:{}}),q==="load"&&Ce()},window))),()=>{ye.forEach(Ve=>Ve()),be.destroy(),Kh=void 0,Gte()}}catch(ye){console.warn(ye)}}function pne(e){if(!Kh)throw new Error("please take full snapshot after start recording");Kh(e)}Ri.mirror=vo;Ri.takeFullSnapshot=pne;function hne(e,t){try{return e?e(t):new xE}catch{return console.warn("Unable to initialize CanvasManager"),new xE}}var ME;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(ME||(ME={}));const mne=3,gne=5;function p_(e){return e>9999999999?e:e*1e3}function g2(e){return e>9999999999?e/1e3:e}function Bf(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:Ke.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:zr(t,10,1e3)}}),t.category==="console")))}const yne="button,a";function tI(e){return e.closest(yne)||e}function nI(e){const t=rI(e);return!t||!(t instanceof Element)?t:tI(t)}function rI(e){return vne(e)?e.target:e}function vne(e){return typeof e=="object"&&!!e&&"target"in e}let pa;function _ne(e){return pa||(pa=[],bne()),pa.push(e),()=>{const t=pa?pa.indexOf(e):-1;t>-1&&pa.splice(t,1)}}function bne(){Qn(It,"open",function(e){return function(...t){if(pa)try{pa.forEach(n=>n())}catch{}return e.apply(It,t)}})}const Ene=new Set([Fe.Mutation,Fe.StyleSheetRule,Fe.StyleDeclaration,Fe.AdoptedStyleSheet,Fe.CanvasMutation,Fe.Selection,Fe.MediaInteraction]);function Cne(e,t,n){e.handleClick(t,n)}class Sne{constructor(t,n,r=Bf){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scrollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){const t=_ne(()=>{this._lastMutation=RE()});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(xne(n,this._ignoreSelector)||!Mne(t))return;const r={timestamp:g2(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.some(o=>o.node===r.node&&Math.abs(o.timestamp-r.timestamp)<1)||(this._clicks.push(r),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(t=Date.now()){this._lastMutation=g2(t)}registerScroll(t=Date.now()){this._lastScroll=g2(t)}registerClick(t){const n=tI(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=RE();this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=n&&t.push(r)});for(const r of t){const o=this._clicks.indexOf(r);o>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(o,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,r=t.scrollAfter&&t.scrollAfter<=this._scrollTimeout,o=t.mutationAfter&&t.mutationAfter<=this._threshold,i=!r&&!o,{clickCount:a,clickBreadcrumb:s}=t;if(i){const l=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,c=l<this._timeout*1e3?"mutation":"timeout",u={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.slowClickDetected",data:{...s.data,url:It.location.href,route:n.getCurrentRoute(),timeAfterClickMs:l,endReason:c,clickCount:a||1}};this._addBreadcrumbEvent(n,u);return}if(a>1){const l={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.multiClick",data:{...s.data,url:It.location.href,route:n.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(n,l)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Tc(()=>this._checkClicks(),1e3)}}const wne=["A","BUTTON","INPUT"];function xne(e,t){return!!(!wne.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 Mne(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function RE(){return Date.now()/1e3}function Rne(e,t){try{if(!Tne(t))return;const{source:n}=t.data;if(Ene.has(n)&&e.registerMutation(t.timestamp),n===Fe.Scroll&&e.registerScroll(t.timestamp),kne(t)){const{type:r,id:o}=t.data,i=Ri.mirror.getNode(o);i instanceof HTMLElement&&r===qn.Click&&e.registerClick(i)}}catch{}}function Tne(e){return e.type===mne}function kne(e){return e.data.source===Fe.MouseInteraction}function Go(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var h_=(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",e))(h_||{});const Ine=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function Lne(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if(Ine.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const One=e=>t=>{if(!e.isEnabled())return;const n=Ane(t);if(!n)return;const r=t.name==="click",o=r?t.event:void 0;r&&e.clickDetector&&o&&o.target&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&Cne(e.clickDetector,n,nI(t.event)),Bf(e,n)};function oI(e,t){const n=Ri.mirror.getId(e),r=n&&Ri.mirror.getNode(n),o=r&&Ri.mirror.getMeta(r),i=o&&Nne(o)?o:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(a=>a.type===h_.Text&&a.textContent).filter(Boolean).map(a=>a.trim()).join(""),attributes:Lne(i.attributes)}}:{}}}function Ane(e){const{target:t,message:n}=Pne(e);return Go({category:`ui.${e.name}`,...oI(t,n)})}function Pne(e){const t=e.name==="click";let n,r=null;try{r=t?nI(e.event):rI(e.event),n=Bi(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}function Nne(e){return e.type===h_.Element}function $ne(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=jne(t);n&&Bf(e,n)}function jne(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i,target:a}=e;if(!a||Dne(a)||!i)return null;const s=t||r||o,l=i.length===1;if(!s&&l)return null;const c=Bi(a,{maxStringLength:200})||"<unknown>",u=oI(a,c);return Go({category:"ui.keyDown",message:c,data:{...u.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i}})}function Dne(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const Bne={resource:zne,paint:Hne,navigation:Vne};function Fp(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function Fne(e){return e.map(Une).filter(Boolean)}function Une(e){const t=Bne[e.entryType];return t?t(e):null}function Oc(e){return((Er()||It.performance.timeOrigin)+e)/1e3}function Hne(e){const{duration:t,entryType:n,name:r,startTime:o}=e,i=Oc(o);return{type:n,name:r,start:i,end:i+t,data:void 0}}function Vne(e){const{entryType:t,name:n,decodedBodySize:r,duration:o,domComplete:i,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:c,loadEventStart:u,loadEventEnd:d,redirectCount:p,startTime:h,transferSize:g,type:v}=e;return o===0?null:{type:`${t}.${v}`,start:Oc(h),end:Oc(i),name:n,data:{size:g,decodedBodySize:r,encodedBodySize:a,duration:o,domInteractive:c,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:d,domComplete:i,redirectCount:p}}}function zne(e){const{entryType:t,initiatorType:n,name:r,responseEnd:o,startTime:i,decodedBodySize:a,encodedBodySize:s,responseStatus:l,transferSize:c}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:Oc(i),end:Oc(o),name:r,data:{size:c,statusCode:l,decodedBodySize:a,encodedBodySize:s}}}function Wne(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.element?[t.element]:void 0;return S0(e,"largest-contentful-paint",n)}function qne(e){return e.sources!==void 0}function Gne(e){const t=[],n=[];for(const r of e.entries)if(qne(r)){const o=[];for(const i of r.sources)if(i.node){n.push(i.node);const a=Ri.mirror.getId(i.node);a&&o.push(a)}t.push({value:r.value,nodeIds:o.length?o:void 0})}return S0(e,"cumulative-layout-shift",n,t)}function Kne(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.target?[t.target]:void 0;return S0(e,"first-input-delay",n)}function Yne(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.target?[t.target]:void 0;return S0(e,"interaction-to-next-paint",n)}function S0(e,t,n,r){const o=e.value,i=e.rating,a=Oc(o);return{type:"web-vital",name:t,start:a,end:a,data:{value:o,size:o,rating:i,nodeIds:n?n.map(s=>Ri.mirror.getId(s)):void 0,attributions:r}}}function Zne(e){function t(o){e.performanceEntries.includes(o)||e.performanceEntries.push(o)}function n({entries:o}){o.forEach(t)}const r=[];return["navigation","paint","resource"].forEach(o=>{r.push(Rc(o,n))}),r.push(nk(Fp(Wne,e)),Q5(Fp(Gne,e)),rk(Fp(Kne,e)),ok(Fp(Yne,e))),()=>{r.forEach(o=>o())}}const $e=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Xne='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]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(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,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},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},_=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},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=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:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort((function(t,n){return p[n.s]-p[t.s]||t.f-n.f}));s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(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,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}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 s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),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=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+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(U,C,0),R=U;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[s[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=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(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;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=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;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}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];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}}},O=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[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=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),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(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=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&&j(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)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=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(O(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 s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),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(s),32768),this.s.z=n.length-s+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.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(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=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){G.prototype.flush.call(this)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(J)return J.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),s=i.length;return q(i,n),j(i,s-8,r.d()),j(i,s-4,e),i}(P(t))}const R=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(const r of t)n+=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 H,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[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 Jne(){const e=new Blob([Xne]);return URL.createObjectURL(e)}const TE=["info","warn","error","log"],T1="[Replay] ";function y2(e,t="info"){zi({category:"console",data:{logger:"replay"},level:t,message:`${T1}${e}`},{level:t})}function Qne(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:r=>{e=!!r.captureExceptions,t=!!r.traceInternals}};return $e?(TE.forEach(r=>{n[r]=(...o)=>{ne[r](T1,...o),t&&y2(o.join(""),K5(r))}}),n.exception=(r,...o)=>{o.length&&n.error&&n.error(...o),ne.error(T1,r),e?m0(r):t&&y2(r,"error")},n.infoTick=(...r)=>{ne.info(T1,...r),t&&setTimeout(()=>y2(r[0]),0)}):TE.forEach(r=>{n[r]=()=>{}}),n}const je=Qne();class m_ extends Error{constructor(){super(`Event buffer exceeded maximum size of ${s_}.`)}}class iI{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!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>s_)throw new m_;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?p_(t):null}}class ere{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:r})=>{r.success?t():n()},{once:!0}),this._worker.addEventListener("error",r=>{n(r)},{once:!0})}),this._ensureReadyPromise)}destroy(){$e&&je.info("Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((o,i)=>{const a=({data:s})=>{const l=s;if(l.method===t&&l.id===r){if(this._worker.removeEventListener("message",a),!l.success){$e&&je.error("Error in compression worker: ",l.response),i(new Error("Error in compression worker"));return}o(l.response)}};this._worker.addEventListener("message",a),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class tre{constructor(t){this._worker=new ere(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const n=p_(t.timestamp);(!this._earliestTimestamp||n<this._earliestTimestamp)&&(this._earliestTimestamp=n);const r=JSON.stringify(t);return this._totalSize+=r.length,this._totalSize>s_?Promise.reject(new m_):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{$e&&je.exception(t,'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 nre{constructor(t){this._fallback=new iI,this._compression=new tre(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}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}set waitForCheckout(t){this._used.waitForCheckout=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(t){$e&&je.exception(t,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:n,waitForCheckout:r}=this._fallback,o=[];for(const i of t)o.push(this._compression.addEvent(i));this._compression.hasCheckout=n,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(o),this._fallback.clear()}catch(i){$e&&je.exception(i,"Failed to add events when switching buffers.")}}}function rre({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=ore(t);if(n)return n}return $e&&je.info("Using simple buffer"),new iI}function ore(e){try{const t=e||ire();if(!t)return;$e&&je.info(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new nre(n)}catch(t){$e&&je.exception(t,"Failed to create compression worker")}}function ire(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?Jne():""}function g_(){try{return"sessionStorage"in It&&!!It.sessionStorage}catch{return!1}}function are(e){sre(),e.session=void 0}function sre(){if(g_())try{It.sessionStorage.removeItem(i_)}catch{}}function aI(e){return e===void 0?!1:Math.random()<e}function sI(e){const t=Date.now(),n=e.id||nr(),r=e.started||t,o=e.lastActivity||t,i=e.segmentId||0,a=e.sampled,s=e.previousSessionId;return{id:n,started:r,lastActivity:o,segmentId:i,sampled:a,previousSessionId:s}}function y_(e){if(g_())try{It.sessionStorage.setItem(i_,JSON.stringify(e))}catch{}}function lre(e,t){return aI(e)?"session":t?"buffer":!1}function kE({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const o=lre(e,t),i=sI({sampled:o,previousSessionId:r});return n&&y_(i),i}function cre(){if(!g_())return null;try{const e=It.sessionStorage.getItem(i_);if(!e)return null;const t=JSON.parse(e);return $e&&je.infoTick("Loading existing session"),sI(t)}catch{return null}}function qv(e,t,n=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=n}function lI(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return qv(e.started,t,r)||qv(e.lastActivity,n,r)}function cI(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!lI(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled==="buffer"&&e.segmentId===0)}function v2({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const o=r.stickySession&&cre();return o?cI(o,{sessionIdleExpire:e,maxReplayDuration:t})?($e&&je.infoTick("Session in sessionStorage is expired, creating new one..."),kE(r,{previousSessionId:o.id})):o:($e&&je.infoTick("Creating new session"),kE(r,{previousSessionId:n}))}function ure(e){return e.type===Ke.Custom}function v_(e,t,n){return dI(e,t)?(uI(e,t,n),!0):!1}function dre(e,t,n){return dI(e,t)?uI(e,t,n):Promise.resolve(null)}async function uI(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;const o=e.recordingMode==="buffer";try{n&&o&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);const i=e.getOptions(),a=fre(t,i.beforeAddRecordingEvent);return a?await r.addEvent(a):void 0}catch(i){const a=i&&i instanceof m_,s=a?"addEventSizeExceeded":"addEvent";if(a&&o)return r.clear(),r.waitForCheckout=!0,null;e.handleException(i),await e.stop({reason:s});const l=xe();l&&l.recordDroppedEvent("internal_sdk_error","replay")}}function dI(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=p_(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?($e&&je.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function fre(e,t){try{if(typeof t=="function"&&ure(e))return t(e)}catch(n){return $e&&je.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function __(e){return!e.type}function Gv(e){return e.type==="transaction"}function pre(e){return e.type==="replay_event"}function IE(e){return e.type==="feedback"}function hre(e){return(t,n)=>{if(!e.isEnabled()||!__(t)&&!Gv(t))return;const r=n==null?void 0:n.statusCode;if(!(!r||r<200||r>=300)){if(Gv(t)){mre(e,t);return}gre(e,t)}}}function mre(e,t){var r,o;const n=e.getContext();(o=(r=t.contexts)==null?void 0:r.trace)!=null&&o.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}function gre(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:r}=e.getOptions();typeof r=="function"&&!r(t)||Tc(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(o){e.handleException(o)}})}function yre(e){return t=>{!e.isEnabled()||!__(t)||vre(e,t)}}function vre(e,t){var r,o,i;const n=(i=(o=(r=t.exception)==null?void 0:r.values)==null?void 0:o[0])==null?void 0:i.value;if(typeof n=="string"&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const a=Go({category:"replay.hydrate-error",data:{url:Ys()}});Bf(e,a)}}function _re(e){const t=xe();t&&t.on("beforeAddBreadcrumb",n=>bre(e,n))}function bre(e,t){if(!e.isEnabled()||!fI(t))return;const n=Ere(t);n&&Bf(e,n)}function Ere(e){return!fI(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?Cre(e):Go(e)}function Cre(e){var o;const t=(o=e.data)==null?void 0:o.arguments;if(!Array.isArray(t)||t.length===0)return Go(e);let n=!1;const r=t.map(i=>{if(!i)return i;if(typeof i=="string")return i.length>$p?(n=!0,`${i.slice(0,$p)}…`):i;if(typeof i=="object")try{const a=zr(i,7);return JSON.stringify(a).length>$p?(n=!0,`${JSON.stringify(a,null,2).slice(0,$p)}…`):a}catch{}return i});return Go({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function fI(e){return!!e.category}function Sre(e,t){var n;return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!((n=t.originalException)!=null&&n.__rrweb__)}function pI(){const e=rt().getPropagationContext().dsc;e&&delete e.replay_id;const t=Nn();if(t){const n=ii(t);delete n.replay_id}}function wre(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:Ke.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 xre(e,t){return e.recordingMode!=="buffer"||t.message===a_||!t.exception||t.type?!1:aI(e.getOptions().errorSampleRate)}function Mre(e){return Object.assign((t,n)=>!e.isEnabled()||e.isPaused()?t:pre(t)?(delete t.breadcrumbs,t):!__(t)&&!Gv(t)&&!IE(t)?t:e.checkAndHandleExpiredSession()?IE(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),wre(e,t),t):Sre(t,n)&&!e.getOptions()._experiments.captureExceptions?($e&&je.log("Ignoring error from rrweb internals",t),null):((xre(e,t)||e.recordingMode==="session")&&(t.tags={...t.tags,replayId:e.getSessionId()}),t):(pI(),t),{id:"Replay"})}function w0(e,t){return t.map(({type:n,start:r,end:o,name:i,data:a})=>{const s=e.throttledAddEvent({type:Ke.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:r,endTimestamp:o,data:a}}});return typeof s=="string"?Promise.resolve(null):s})}function Rre(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function Tre(e){return t=>{if(!e.isEnabled())return;const n=Rre(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(w0(e,[n]),!1)))}}function kre(e,t){return $e&&e.getOptions()._experiments.traceInternals?!1:RT(t,xe())}function hI(e,t){e.isEnabled()&&t!==null&&(kre(e,t.name)||e.addUpdate(()=>(w0(e,[t]),!0)))}function x0(e){if(!e)return;const t=new TextEncoder;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=uk(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function mI(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function Yh(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function gI(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:o,method:i,statusCode:a,request:s,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:o,data:en({method:i,statusCode:a,request:s,response:l})}}function of(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function ja(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:o,warnings:i}=Ire(n);return r.body=o,i!=null&&i.length&&(r._meta={warnings:i}),r}function Kv(e,t){return Object.entries(e).reduce((n,[r,o])=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=o),n},{})}function Ire(e){if(!e||typeof e!="string")return{body:e};const t=e.length>uE,n=Lre(e);if(t){const r=e.slice(0,uE);return n?{body:r,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${r}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function Lre(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function Zh(e,t){const n=Ore(e);return ei(n,t)}function Ore(e,t=It.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(It.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function Are(e,t,n){try{const r=await Nre(e,t,n),o=gI("resource.fetch",r);hI(n.replay,o)}catch(r){$e&&je.exception(r,"Failed to capture fetch breadcrumb")}}function Pre(e,t){const{input:n,response:r}=t,o=n?r_(n):void 0,i=x0(o),a=r?mI(r.headers.get("content-length")):void 0;i!==void 0&&(e.data.request_body_size=i),a!==void 0&&(e.data.response_body_size=a)}async function Nre(e,t,n){const r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r}=t,{url:a,method:s,status_code:l=0,request_body_size:c,response_body_size:u}=e.data,d=Zh(a,n.networkDetailAllowUrls)&&!Zh(a,n.networkDetailDenyUrls),p=d?$re(n,t.input,c):of(c),h=await jre(d,n,t.response,u);return{startTimestamp:o,endTimestamp:i,url:a,method:s,statusCode:l,request:p,response:h}}function $re({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const o=n?Fre(n,t):{};if(!e)return ja(o,r,void 0);const i=r_(n),[a,s]=Hh(i,je),l=ja(o,r,a);return s?Yh(l,s):l}async function jre(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,o){if(!e&&o!==void 0)return of(o);const i=r?yI(r.headers,n):{};if(!r||!t&&o!==void 0)return ja(i,o,void 0);const[a,s]=await Bre(r),l=Dre(a,{networkCaptureBodies:t,responseBodySize:o,captureDetails:e,headers:i});return s?Yh(l,s):l}function Dre(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:o}){try{const i=e!=null&&e.length&&n===void 0?x0(e):n;return r?t?ja(o,i,e):ja(o,i,void 0):of(i)}catch(i){return $e&&je.exception(i,"Failed to serialize response body"),ja(o,n,void 0)}}async function Bre(e){const t=Ure(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await Hre(t)]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?($e&&je.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):($e&&je.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function yI(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function Fre(e,t){return e.length===1&&typeof e[0]!="string"?LE(e[0],t):e.length===2?LE(e[1],t):{}}function LE(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?yI(n,t):Array.isArray(n)?{}:Kv(n,t):{}}function Ure(e){try{return e.clone()}catch(t){$e&&je.exception(t,"Failed to clone response body")}}function Hre(e){return new Promise((t,n)=>{const r=Tc(()=>n(new Error("Timeout while trying to read response body")),500);Vre(e).then(o=>t(o),o=>n(o)).finally(()=>clearTimeout(r))})}async function Vre(e){return await e.text()}async function zre(e,t,n){try{const r=qre(e,t,n),o=gI("resource.xhr",r);hI(n.replay,o)}catch(r){$e&&je.exception(r,"Failed to capture xhr breadcrumb")}}function Wre(e,t){const{xhr:n,input:r}=t;if(!n)return;const o=x0(r),i=n.getResponseHeader("content-length")?mI(n.getResponseHeader("content-length")):Zre(n.response,n.responseType);o!==void 0&&(e.data.request_body_size=o),i!==void 0&&(e.data.response_body_size=i)}function qre(e,t,n){const r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r,input:a,xhr:s}=t,{url:l,method:c,status_code:u=0,request_body_size:d,response_body_size:p}=e.data;if(!l)return null;if(!s||!Zh(l,n.networkDetailAllowUrls)||Zh(l,n.networkDetailDenyUrls)){const _=of(d),C=of(p);return{startTimestamp:o,endTimestamp:i,url:l,method:c,statusCode:u,request:_,response:C}}const h=s[Ci],g=h?Kv(h.request_headers,n.networkRequestHeaders):{},v=Kv(Gre(s),n.networkResponseHeaders),[b,m]=n.networkCaptureBodies?Hh(a,je):[void 0],[y,E]=n.networkCaptureBodies?Kre(s):[void 0],w=ja(g,d,b),S=ja(v,p,y);return{startTimestamp:o,endTimestamp:i,url:l,method:c,statusCode:u,request:m?Yh(w,m):w,response:E?Yh(S,E):S}}function Gre(e){const t=e.getAllResponseHeaders();return t?t.split(`\r
|
|
281
|
-
`).reduce((n,r)=>{const[o,i]=r.split(": ");return i&&(n[o.toLowerCase()]=i),n},{}):{}}function Kre(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return Yre(e.response,e.responseType)}catch(n){t.push(n)}return $e&&je.warn("Failed to get xhr response body",...t),[void 0]}function Yre(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(n){return $e&&je.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return $e&&je.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function Zre(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return x0(n)}catch{return}}function Xre(e){const t=xe();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:a}=e.getOptions(),s={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:a};t&&t.on("beforeAddBreadcrumb",(l,c)=>Jre(s,l,c))}catch{}}function Jre(e,t,n){if(t.data)try{Qre(t)&&toe(n)&&(Wre(t,n),zre(t,n,e)),eoe(t)&&noe(n)&&(Pre(t,n),Are(t,n,e))}catch(r){$e&&je.exception(r,"Error when enriching network breadcrumb")}}function Qre(e){return e.category==="xhr"}function eoe(e){return e.category==="fetch"}function toe(e){return e==null?void 0:e.xhr}function noe(e){return e==null?void 0:e.response}function roe(e,{autoFlushOnFeedback:t}){const n=xe();ck(One(e)),_0(Tre(e)),_re(e),Xre(e);const r=Mre(e);hT(r),n&&(n.on("beforeSendEvent",yre(e)),n.on("afterSendEvent",hre(e)),n.on("createDsc",o=>{const i=e.getSessionId();i&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(o.replay_id=i)}),n.on("spanStart",o=>{e.lastActiveSpan=o}),n.on("spanEnd",o=>{e.lastActiveSpan=o}),n.on("beforeSendFeedback",async(o,i)=>{var s;const a=e.getSessionId();i!=null&&i.includeReplay&&e.isEnabled()&&a&&((s=o.contexts)!=null&&s.feedback)&&(o.contexts.feedback.source==="api"&&t&&await e.flush(),o.contexts.feedback.replay_id=a)}),t&&n.on("openFeedbackWidget",async()=>{await e.flush()}))}async function ooe(e){try{return Promise.all(w0(e,[ioe(It.performance.memory)]))}catch{return[]}}function ioe(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function aoe(e,t,n){let r,o,i;const a=n!=null&&n.maxWait?Math.max(n.maxWait,t):0;function s(){return l(),r=e(),r}function l(){o!==void 0&&clearTimeout(o),i!==void 0&&clearTimeout(i),o=i=void 0}function c(){return o!==void 0||i!==void 0?s():r}function u(){return o&&clearTimeout(o),o=Tc(s,t),a&&i===void 0&&(i=Tc(s,a)),r}return u.cancel=l,u.flush=c,u}const Fr=ze.navigator;function soe(){return/iPhone|iPad|iPod/i.test((Fr==null?void 0:Fr.userAgent)??"")||/Macintosh/i.test((Fr==null?void 0:Fr.userAgent)??"")&&(Fr!=null&&Fr.maxTouchPoints)&&(Fr==null?void 0:Fr.maxTouchPoints)>1?{sampling:{mousemove:!1}}:{}}function loe(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){$e&&je.warn("Received replay event after session expired.");return}const o=r||!t;t=!0,e.clickDetector&&Rne(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&o&&e.setInitialState(),!v_(e,n,o))return!0;if(!o)return!1;const i=e.session;if(uoe(e,o),e.recordingMode==="buffer"&&i&&e.eventBuffer){const a=e.eventBuffer.getEarliestTimestamp();a&&($e&&je.info(`Updating session start time to earliest event in buffer to ${new Date(a)}`),i.started=a,e.getOptions().stickySession&&y_(i))}return i!=null&&i.previousSessionId||e.recordingMode==="session"&&e.flush(),!0})}}function coe(e){const t=e.getOptions();return{type:Ke.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 uoe(e,t){!t||!e.session||e.session.segmentId!==0||v_(e,coe(e),!1)}function doe(e,t,n,r){return ts(aT(e,U5(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function foe({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}
|
|
282
|
-
`;if(typeof e=="string")n=`${r}${e}`;else{const i=new TextEncoder().encode(r);n=new Uint8Array(i.length+e.length),n.set(i),n.set(e,i.length)}return n}async function poe({client:e,scope:t,replayId:n,event:r}){const o=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,i={event_id:n,integrations:o};e.emit("preprocessEvent",r,i);const a=await dT(e.getOptions(),r,i,t,e,Cn());if(!a)return null;e.emit("postprocessEvent",a,i),a.platform=a.platform||"javascript";const s=e.getSdkMetadata(),{name:l,version:c}=(s==null?void 0:s.sdk)||{};return a.sdk={...a.sdk,name:l||"sentry.javascript.unknown",version:c||"0.0.0"},a}async function hoe({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:o,session:i}){const a=foe({recordingData:e,headers:{segment_id:n}}),{urls:s,errorIds:l,traceIds:c,initialTimestamp:u}=r,d=xe(),p=rt(),h=d==null?void 0:d.getTransport(),g=d==null?void 0:d.getDsn();if(!d||!h||!g||!i.sampled)return Fi({});const v={type:Wee,replay_start_timestamp:u/1e3,timestamp:o/1e3,error_ids:l,trace_ids:c,urls:s,replay_id:t,segment_id:n,replay_type:i.sampled},b=await poe({scope:p,client:d,replayId:t,event:v});if(!b)return d.recordDroppedEvent("event_processor","replay"),$e&&je.info("An event processor returned `null`, will not send event."),Fi({});delete b.sdkProcessingMetadata;const m=doe(b,a,g,d.getOptions().tunnel);let y;try{y=await h.send(m)}catch(w){const S=new Error(a_);try{S.cause=w}catch{}throw S}if(typeof y.statusCode=="number"&&(y.statusCode<200||y.statusCode>=300))throw new vI(y.statusCode);const E=wT({},y);if(ST(E,"replay"))throw new b_(E);return y}class vI extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class b_ extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function _I(e,t={count:0,interval:Xee}){const{recordingData:n,onError:r}=e;if(n.length)try{return await hoe(e),!0}catch(o){if(o instanceof vI||o instanceof b_)throw o;if(fT("Replays",{_retryCount:t.count}),r&&r(o),t.count>=Jee){const i=new Error(`${a_} - max retries exceeded`);try{i.cause=o}catch{}throw i}return t.interval*=++t.count,new Promise((i,a)=>{Tc(async()=>{try{await _I(e,t),i(!0)}catch(s){a(s)}},t.interval)})}}const bI="__THROTTLED",moe="__SKIPPED";function goe(e,t,n){const r=new Map,o=s=>{const l=s-n;r.forEach((c,u)=>{u<l&&r.delete(u)})},i=()=>[...r.values()].reduce((s,l)=>s+l,0);let a=!1;return(...s)=>{const l=Math.floor(Date.now()/1e3);if(o(l),i()>=t){const u=a;return a=!0,u?moe:bI}a=!1;const c=r.get(l)||0;return r.set(l,c+1),e(...s)}}class yoe{constructor({options:t,recordingOptions:n}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:qee,sessionIdleExpire:Gee},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!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=aoe(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=goe((a,s)=>dre(this,a,s),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:o}=this.getOptions(),i=r?{threshold:Math.min(Qee,r),timeout:r,scrollTimeout:ete,ignoreSelector:o?o.join(","):""}:void 0;if(i&&(this.clickDetector=new Sne(this,i)),$e){const a=t._experiments;je.setConfig({captureExceptions:!!a.captureExceptions,traceInternals:!!a.traceInternals})}this._handleVisibilityChange=()=>{It.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const a=Go({category:"ui.blur"});this._doChangeToBackgroundTasks(a)},this._handleWindowFocus=()=>{const a=Go({category:"ui.focus"});this._doChangeToForegroundTasks(a)},this._handleKeyboardEvent=a=>{$ne(this,a)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){$e&&je.exception(t),this._options.onError&&this._options.onError(t)}initializeSampling(t){const{errorSampleRate:n,sessionSampleRate:r}=this._options,o=n<=0&&r<=0;if(this._requiresManualStart=o,!o){if(this._initializeSessionForSampling(t),!this.session){$e&&je.exception(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",$e&&je.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){$e&&je.info("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){$e&&je.info("Buffering is in progress, call `flush()` to save the replay");return}$e&&je.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=v2({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this._initializeRecording()}startBuffering(){if(this._isEnabled){$e&&je.info("Buffering is in progress, call `flush()` to save the replay");return}$e&&je.infoTick("Starting replay in buffer mode");const t=v2({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=Ri({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:Zee}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:loe(this),...soe(),onMutation:this._onMutationHandler.bind(this),...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}={}){var r;if(this._isEnabled){this._isEnabled=!1;try{$e&&je.info(`Stopping Replay${n?` triggered by ${n}`:""}`),pI(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),(r=this.eventBuffer)==null||r.destroy(),this.eventBuffer=null,are(this)}catch(o){this.handleException(o)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),$e&&je.info("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),$e&&je.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();$e&&je.info("Converting buffer to session"),await this.flushImmediate();const r=this.stopRecording();!t||!r||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(){var t;return(t=this.session)==null?void 0:t.id}checkAndHandleExpiredSession(){if(this._lastActivity&&qv(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${It.location.pathname}${It.location.hash}${It.location.search}`,n=`${It.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 r=this._throttledAddEvent(t,n);if(r===bI){const o=Go({category:"replay.throttled"});this.addUpdate(()=>!v_(this,{type:gne,timestamp:o.timestamp||0,data:{tag:"breadcrumb",payload:o,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||Nn(),n=t&&_n(t),o=(n&&Je(n).data||{})[Jr];if(!(!n||!o||!["route","custom"].includes(o)))return Je(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=rre({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(t){const n=this._options.errorSampleRate>0,r=v2({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=r}_checkSession(){if(!this.session)return!1;const t=this.session;return cI(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{It.document.addEventListener("visibilitychange",this._handleVisibilityChange),It.addEventListener("blur",this._handleWindowBlur),It.addEventListener("focus",this._handleWindowFocus),It.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(roe(this,{autoFlushOnFeedback:this._options._experiments.autoFlushOnFeedback}),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=Zne(this)}_removeListeners(){try{It.document.removeEventListener("visibilitychange",this._handleVisibilityChange),It.removeEventListener("blur",this._handleWindowBlur),It.removeEventListener("focus",this._handleWindowFocus),It.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}_doChangeToBackgroundTasks(t){!this.session||lI(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()){$e&&je.info("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:Ke.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=Fne(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const n=this._context.initialTimestamp/1e3;t=t.filter(r=>r.start>=n)}return Promise.all(w0(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;const r=n.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_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(){var n;const t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){$e&&je.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!!((n=this.eventBuffer)!=null&&n.hasEvents)&&(await ooe(this),!!this.eventBuffer&&t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const r=Date.now();if(r-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const o=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession();const a=await this.eventBuffer.finish();await _I({replayId:t,recordingData:a,segmentId:i,eventContext:o,session:this.session,timestamp:r,onError:s=>this.handleException(s)})}catch(r){this.handleException(r),this.stop({reason:"sendReplay"});const o=xe();if(o){const i=r instanceof b_?"ratelimit_backoff":"send_error";o.recordDroppedEvent(i,"replay")}}}async _flush({force:t=!1}={}){if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){$e&&je.error("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 i=o<this._options.minReplayDuration,a=o>this._options.maxReplayDuration+5e3;if(i||a){$e&&je.info(`Session duration (${Math.floor(o/1e3)}s) is too ${i?"short":"long"}, not sending replay.`),i&&this._debouncedFlush();return}const s=this.eventBuffer;s&&this.session.segmentId===0&&!s.hasCheckout&&$e&&je.info("Flushing initial segment without checkout.");const l=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(c){this.handleException(c)}finally{this._flushLock=void 0,l&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&y_(this.session)}_onMutationHandler(t){const n=t.length,r=this._options.mutationLimit,o=this._options.mutationBreadcrumbLimit,i=r&&n>r;if(n>o||i){const a=Go({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(a)}return i?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}function Nu(e,t){return[...e,...t].join(",")}function voe({mask:e,unmask:t,block:n,unblock:r,ignore:o}){const i=["base","iframe[srcdoc]:not([src])"],a=Nu(e,[".sentry-mask","[data-sentry-mask]"]),s=Nu(t,[]);return{maskTextSelector:a,unmaskTextSelector:s,blockSelector:Nu(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:Nu(r,[]),ignoreSelector:Nu(o,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function _oe({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:o,value:i}){return!r||o.unmaskTextSelector&&e.matches(o.unmaskTextSelector)?i:n.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i}const OE='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',boe=["content-length","content-type","accept"];let AE=!1;const Eoe=e=>new Coe(e);class Coe{constructor({flushMinDelay:t=Kee,flushMaxDelay:n=Yee,minReplayDuration:r=tte,maxReplayDuration:o=dE,stickySession:i=!0,useCompression:a=!0,workerUrl:s,_experiments:l={},maskAllText:c=!0,maskAllInputs:u=!0,blockAllMedia:d=!0,mutationBreadcrumbLimit:p=750,mutationLimit:h=1e4,slowClickTimeout:g=7e3,slowClickIgnoreSelectors:v=[],networkDetailAllowUrls:b=[],networkDetailDenyUrls:m=[],networkCaptureBodies:y=!0,networkRequestHeaders:E=[],networkResponseHeaders:w=[],mask:S=[],maskAttributes:_=["title","placeholder"],unmask:C=[],block:R=[],unblock:T=[],ignore:I=[],maskFn:D,beforeAddRecordingEvent:F,beforeErrorSampling:q,onError:W}={}){this.name="Replay";const Q=voe({mask:S,unmask:C,block:R,unblock:T,ignore:I});if(this._recordingOptions={maskAllInputs:u,maskAllText:c,maskInputOptions:{password:!0},maskTextFn:D,maskInputFn:D,maskAttributeFn:(H,re,B)=>_oe({maskAttributes:_,maskAllText:c,privacyOptions:Q,key:H,value:re,el:B}),...Q,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:H=>{try{H.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!l.recordCrossOriginIframes},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,nte),maxReplayDuration:Math.min(o,dE),stickySession:i,useCompression:a,workerUrl:s,blockAllMedia:d,maskAllInputs:u,maskAllText:c,mutationBreadcrumbLimit:p,mutationLimit:h,slowClickTimeout:g,slowClickIgnoreSelectors:v,networkDetailAllowUrls:b,networkDetailDenyUrls:m,networkCaptureBodies:y,networkRequestHeaders:PE(E),networkResponseHeaders:PE(w),beforeAddRecordingEvent:F,beforeErrorSampling:q,onError:W,_experiments:l},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${OE}`:OE),this._isInitialized&&Av())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return AE}set _isInitialized(t){AE=t}afterAllSetup(t){!Av()||this._replay||(this._setup(t),this._initialize(t))}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()?this._replay.sendBufferedReplayOrFlush(t):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){var t;if((t=this._replay)!=null&&t.isEnabled())return this._replay.getSessionId()}getRecordingMode(){var t;if((t=this._replay)!=null&&t.isEnabled())return this._replay.recordingMode}_initialize(t){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const n=Soe(this._initialOptions,t);this._replay=new yoe({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}function Soe(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...en(e)},o=Fs(n.replaysSessionSampleRate),i=Fs(n.replaysOnErrorSampleRate);return o==null&&i==null&&Ks(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),o!=null&&(r.sessionSampleRate=o),i!=null&&(r.errorSampleRate=i),r}function PE(e){return[...boe,...e.map(t=>t.toLowerCase())]}function woe(){const e=xe();return e==null?void 0:e.getIntegrationByName("Replay")}var xoe=Object.defineProperty,Moe=(e,t,n)=>t in e?xoe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,NE=(e,t,n)=>Moe(e,typeof t!="symbol"?t+"":t,n);class Roe{constructor(){NE(this,"idNodeMap",new Map),NE(this,"nodeMetaMap",new WeakMap)}getId(t){var r;return t?((r=this.getMeta(t))==null?void 0:r.id)??-1:-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(r=>this.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const o=this.nodeMetaMap.get(r);o&&this.nodeMetaMap.set(n,o)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Toe(){return new Roe}function koe(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function Yv(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Yv(e.parentNode,t,n,r+1)}function $E(e,t){return n=>{const r=n;if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(koe(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}const Cl=`Please stop import mirror directly. Instead of that,\r
|
|
283
|
-
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
|
|
284
|
-
or you can use record.mirror to access the mirror instance during recording.`;let jE={map:{},getId(){return console.error(Cl),-1},getNode(){return console.error(Cl),null},removeNodeFromMap(){console.error(Cl)},has(){return console.error(Cl),!1},reset(){console.error(Cl)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(jE=new Proxy(jE,{get(e,t,n){return t==="map"&&console.error(Cl),Reflect.get(e,t,n)}}));function E_(e,t,n,r,o=window){const i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set(a){CI(()=>{n.set.call(this,a)},0),i&&i.set&&i.set.call(this,a)}}),()=>E_(e,t,i||{},!0)}function C_(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],o=n(r);return typeof o=="function"&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,()=>{e[t]=r}}catch{return()=>{}}}Date.now().toString();function Ioe(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function M0(e,t,n,r,o){if(!e)return!1;const i=Ioe(e);if(!i)return!1;const a=$E(t,n),s=Yv(i,a);let l=-1;return s<0?!1:(r&&(l=Yv(i,$E(null,r))),s>-1&&l<0?!0:s<l)}const DE={};function EI(e){const t=DE[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o);const i=o.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(o)}catch{}return DE[e]=r.bind(window)}function as(...e){return EI("requestAnimationFrame")(...e)}function CI(...e){return EI("setTimeout")(...e)}var Ac=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(Ac||{});let k1;function Loe(e){k1=e}const _2=e=>k1?(...n)=>{try{return e(...n)}catch(r){if(k1&&k1(r)===!0)return()=>{};throw r}}:e;var zl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ooe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Up=0;Up<zl.length;Up++)Ooe[zl.charCodeAt(Up)]=Up;var Aoe=function(e){var t=new Uint8Array(e),n,r=t.length,o="";for(n=0;n<r;n+=3)o+=zl[t[n]>>2],o+=zl[(t[n]&3)<<4|t[n+1]>>4],o+=zl[(t[n+1]&15)<<2|t[n+2]>>6],o+=zl[t[n+2]&63];return r%3===2?o=o.substring(0,o.length-1)+"=":r%3===1&&(o=o.substring(0,o.length-2)+"=="),o};const BE=new Map;function Poe(e,t){let n=BE.get(e);return n||(n=new Map,BE.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const SI=(e,t,n)=>{if(!e||!(xI(e,t)||typeof e=="object"))return;const r=e.constructor.name,o=Poe(n,r);let i=o.indexOf(e);return i===-1&&(i=o.length,o.push(e)),i};function I1(e,t,n){if(e instanceof Array)return e.map(r=>I1(r,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const r=e.constructor.name,o=Aoe(e);return{rr_type:r,base64:o}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[I1(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const r=e.constructor.name,{src:o}=e;return{rr_type:r,src:o}}else if(e instanceof HTMLCanvasElement){const r="HTMLImageElement",o=e.toDataURL();return{rr_type:r,src:o}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[I1(e.data,t,n),e.width,e.height]};if(xI(e,t)||typeof e=="object"){const r=e.constructor.name,o=SI(e,t,n);return{rr_type:r,index:o}}}}return e}const wI=(e,t,n)=>e.map(r=>I1(r,t,n)),xI=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(o=>typeof t[o]=="function").find(o=>e instanceof t[o]);function Noe(e,t,n,r,o){const i=[],a=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const s of a)try{if(typeof t.CanvasRenderingContext2D.prototype[s]!="function")continue;const l=C_(t.CanvasRenderingContext2D.prototype,s,function(c){return function(...u){return M0(this.canvas,n,r,o,!0)||CI(()=>{const d=wI(u,t,this);e(this.canvas,{type:Ac["2D"],property:s,args:d})},0),c.apply(this,u)}});i.push(l)}catch{const l=E_(t.CanvasRenderingContext2D.prototype,s,{set(c){e(this.canvas,{type:Ac["2D"],property:s,args:[c],setter:!0})}});i.push(l)}return()=>{i.forEach(s=>s())}}function $oe(e){return e==="experimental-webgl"?"webgl":e}function FE(e,t,n,r,o){const i=[];try{const a=C_(e.HTMLCanvasElement.prototype,"getContext",function(s){return function(l,...c){if(!M0(this,t,n,r,!0)){const u=$oe(l);if("__context"in this||(this.__context=u),o&&["webgl","webgl2"].includes(u))if(c[0]&&typeof c[0]=="object"){const d=c[0];d.preserveDrawingBuffer||(d.preserveDrawingBuffer=!0)}else c.splice(0,1,{preserveDrawingBuffer:!0})}return s.apply(this,[l,...c])}});i.push(a)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach(a=>a())}}function UE(e,t,n,r,o,i,a,s){const l=[],c=Object.getOwnPropertyNames(e);for(const u of c)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(u))try{if(typeof e[u]!="function")continue;const d=C_(e,u,function(p){return function(...h){const g=p.apply(this,h);if(SI(g,s,this),"tagName"in this.canvas&&!M0(this.canvas,r,o,i,!0)){const v=wI(h,s,this),b={type:t,property:u,args:v};n(this.canvas,b)}return g}});l.push(d)}catch{const d=E_(e,u,{set(p){n(this.canvas,{type:t,property:u,args:[p],setter:!0})}});l.push(d)}return l}function joe(e,t,n,r,o,i){const a=[];return a.push(...UE(t.WebGLRenderingContext.prototype,Ac.WebGL,e,n,r,o,i,t)),typeof t.WebGL2RenderingContext<"u"&&a.push(...UE(t.WebGL2RenderingContext.prototype,Ac.WebGL2,e,n,r,o,i,t)),()=>{a.forEach(s=>s())}}const Doe='for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};';function Boe(){const e=new Blob([Doe]);return URL.createObjectURL(e)}class Foe{constructor(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.lastSnapshotTime=0,this.processMutation=(d,p)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(d)||this.pendingCanvasMutations.set(d,[]),this.pendingCanvasMutations.get(d).push(p)};const{sampling:n="all",win:r,blockClass:o,blockSelector:i,unblockSelector:a,maxCanvasSize:s,recordCanvas:l,dataURLOptions:c,errorHandler:u}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,this.options=t,u&&Loe(u),(l&&typeof n=="number"||t.enableManualSnapshot)&&(this.worker=this.initFPSWorker()),this.addWindow(r),!t.enableManualSnapshot&&_2(()=>{l&&n==="all"&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),l&&typeof n=="number"&&this.initCanvasFPSObserver(n,o,i,a,s,{dataURLOptions:c})})()}reset(){var t;this.pendingCanvasMutations.clear(),this.restoreHandlers.forEach(n=>{try{n()}catch{}}),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,(t=this.worker)==null||t.terminate(),this.worker=null,this.snapshotInProgressMap=new Map}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}addWindow(t){const{sampling:n="all",blockClass:r,blockSelector:o,unblockSelector:i,recordCanvas:a,enableManualSnapshot:s}=this.options;if(!this.windowsSet.has(t)){if(s){this.windowsSet.add(t),this.windows.push(new WeakRef(t));return}_2(()=>{if(a&&n==="all"&&this.initCanvasMutationObserver(t,r,o,i),a&&typeof n=="number"){const l=FE(t,r,o,i,!0);this.restoreHandlers.push(()=>{l()})}})(),this.windowsSet.add(t),this.windows.push(new WeakRef(t))}}addShadowRoot(t){this.shadowDoms.add(new WeakRef(t))}resetShadowRoots(){this.shadowDoms=new Set}initFPSWorker(){const t=new Worker(Boe());return t.onmessage=n=>{const r=n.data,{id:o}=r;if(this.snapshotInProgressMap.set(o,!1),!("base64"in r))return;const{base64:i,type:a,width:s,height:l}=r;this.mutationCb({id:o,type:Ac["2D"],commands:[{property:"clearRect",args:[0,0,s,l]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:i}],type:a}]},0,0,s,l]}]})},t}initCanvasFPSObserver(t,n,r,o,i,a){const s=this.takeSnapshot(!1,t,n,r,o,i,a.dataURLOptions);this.restoreHandlers.push(()=>{cancelAnimationFrame(s)})}initCanvasMutationObserver(t,n,r,o){const i=FE(t,n,r,o,!1),a=Noe(this.processMutation.bind(this),t,n,r,o),s=joe(this.processMutation.bind(this),t,n,r,o,this.mirror);this.restoreHandlers.push(()=>{i(),a(),s()})}snapshot(t){const{options:n}=this,r=this.takeSnapshot(!0,n.sampling==="all"?2:n.sampling||2,n.blockClass,n.blockSelector,n.unblockSelector,n.maxCanvasSize,n.dataURLOptions,t);this.restoreHandlers.push(()=>{cancelAnimationFrame(r)})}takeSnapshot(t,n,r,o,i,a,s,l){const c=1e3/n;let u;const d=h=>{if(h)return[h];const g=[],v=b=>{b.querySelectorAll("canvas").forEach(m=>{M0(m,r,o,i)||g.push(m)})};for(const b of this.windows){const m=b.deref();let y;try{y=m&&m.document}catch{}y&&v(y)}for(const b of this.shadowDoms){const m=b.deref();m&&v(m)}return g},p=h=>{if(this.windows.length){if(this.lastSnapshotTime&&h-this.lastSnapshotTime<c){u=as(p);return}this.lastSnapshotTime=h,d(l).forEach(g=>{var b;if(!this.mirror.hasNode(g))return;const v=this.mirror.getId(g);if(!this.snapshotInProgressMap.get(v)&&!(!g.width||!g.height)){if(this.snapshotInProgressMap.set(v,!0),!t&&["webgl","webgl2"].includes(g.__context)){const m=g.getContext(g.__context);((b=m==null?void 0:m.getContextAttributes())==null?void 0:b.preserveDrawingBuffer)===!1&&m.clear(m.COLOR_BUFFER_BIT)}createImageBitmap(g).then(m=>{var y;(y=this.worker)==null||y.postMessage({id:v,bitmap:m,width:g.width,height:g.height,dataURLOptions:s,maxCanvasSize:a},[m])}).catch(m=>{_2(()=>{throw m})()})}}),t||(u=as(p))}};return u=as(p),u}startPendingCanvasMutationFlusher(){as(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,as(t)};as(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),as(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,n){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(t);if(!r||n===-1)return;const o=r.map(a=>{const{type:s,...l}=a;return l}),{type:i}=r[0];this.mutationCb({id:n,type:i,commands:o}),this.pendingCanvasMutations.delete(t)}}var _S;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((_S=e.contentWindow)==null?void 0:_S.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}Toe();var HE;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(HE||(HE={}));const VE={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},Uoe="ReplayCanvas",Hp=1280,Hoe=(e={})=>{const[t,n]=e.maxCanvasSize||[],r={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,Hp):Hp,n?Math.min(n,Hp):Hp]};let o;const i=new Promise(a=>o=a);return{name:Uoe,getOptions(){const{quality:a,enableManualSnapshot:s,maxCanvasSize:l}=r;return{enableManualSnapshot:s,recordCanvas:!0,getCanvasManager:c=>{const u=new Foe({...c,enableManualSnapshot:s,maxCanvasSize:l,errorHandler:d=>{try{typeof d=="object"&&(d.__rrweb__=!0)}catch{}}});return o(u),u},...VE[a]||VE.medium}},async snapshot(a){(await i).snapshot(a)}}},Voe=Hoe,Qr=ze,lt=Qr.document,Gu=Qr.navigator,MI="Report a Bug",zoe="Cancel",Woe="Send Bug Report",qoe="Confirm",Goe="Report a Bug",Koe="your.email@example.org",Yoe="Email",Zoe="What's the bug? What did you expect?",Xoe="Description",Joe="Your Name",Qoe="Name",eie="Thank you for your report!",tie="(required)",nie="Add a screenshot",rie="Remove screenshot",oie="widget",iie="api",aie=5e3,RI=(e,t={includeReplay:!0})=>{if(!e.message)throw new Error("Unable to submit feedback with empty message");const n=xe();if(!n)throw new Error("No client setup, cannot send feedback.");e.tags&&Object.keys(e.tags).length&&rt().setTags(e.tags);const r=BT({source:iie,url:Ys(),...e},t);return new Promise((o,i)=>{const a=setTimeout(()=>i("Unable to determine if Feedback was correctly sent."),5e3),s=n.on("afterSendEvent",(l,c)=>{if(l.event_id===r)return clearTimeout(a),s(),c&&typeof c.statusCode=="number"&&c.statusCode>=200&&c.statusCode<300?o(r):c&&typeof c.statusCode=="number"&&c.statusCode===0?i("Unable to send Feedback. This is because of network issues, or because you are using an ad-blocker."):c&&typeof c.statusCode=="number"&&c.statusCode===403?i("Unable to send Feedback. This could be because this domain is not in your list of allowed domains."):i("Unable to send Feedback. This could be because of network issues, or because you are using an ad-blocker")})})},L1=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function sie(){return!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Gu.userAgent)||/Macintosh/i.test(Gu.userAgent)&&Gu.maxTouchPoints&&Gu.maxTouchPoints>1||!isSecureContext)}function Vp(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{var n,r;(n=t.onFormOpen)==null||n.call(t),(r=e.onFormOpen)==null||r.call(e)},onFormClose:()=>{var n,r;(n=t.onFormClose)==null||n.call(t),(r=e.onFormClose)==null||r.call(e)},onSubmitSuccess:n=>{var r,o;(r=t.onSubmitSuccess)==null||r.call(t,n),(o=e.onSubmitSuccess)==null||o.call(e,n)},onSubmitError:n=>{var r,o;(r=t.onSubmitError)==null||r.call(t,n),(o=e.onSubmitError)==null||o.call(e,n)},onFormSubmitted:()=>{var n,r;(n=t.onFormSubmitted)==null||n.call(t),(r=e.onFormSubmitted)==null||r.call(e)},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function lie(e){const t=lt.createElement("style");return t.textContent=`
|
|
285
|
-
.widget__actor {
|
|
286
|
-
position: fixed;
|
|
287
|
-
z-index: var(--z-index);
|
|
288
|
-
margin: var(--page-margin);
|
|
289
|
-
inset: var(--actor-inset);
|
|
290
|
-
|
|
291
|
-
display: flex;
|
|
292
|
-
align-items: center;
|
|
293
|
-
gap: 8px;
|
|
294
|
-
padding: 16px;
|
|
295
|
-
|
|
296
|
-
font-family: inherit;
|
|
297
|
-
font-size: var(--font-size);
|
|
298
|
-
font-weight: 600;
|
|
299
|
-
line-height: 1.14em;
|
|
300
|
-
text-decoration: none;
|
|
301
|
-
|
|
302
|
-
background: var(--actor-background, var(--background));
|
|
303
|
-
border-radius: var(--actor-border-radius, 1.7em/50%);
|
|
304
|
-
border: var(--actor-border, var(--border));
|
|
305
|
-
box-shadow: var(--actor-box-shadow, var(--box-shadow));
|
|
306
|
-
color: var(--actor-color, var(--foreground));
|
|
307
|
-
fill: var(--actor-color, var(--foreground));
|
|
308
|
-
cursor: pointer;
|
|
309
|
-
opacity: 1;
|
|
310
|
-
transition: transform 0.2s ease-in-out;
|
|
311
|
-
transform: translate(0, 0) scale(1);
|
|
312
|
-
}
|
|
313
|
-
.widget__actor[aria-hidden="true"] {
|
|
314
|
-
opacity: 0;
|
|
315
|
-
pointer-events: none;
|
|
316
|
-
visibility: hidden;
|
|
317
|
-
transform: translate(0, 16px) scale(0.98);
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.widget__actor:hover {
|
|
321
|
-
background: var(--actor-hover-background, var(--background));
|
|
322
|
-
filter: var(--interactive-filter);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.widget__actor svg {
|
|
326
|
-
width: 1.14em;
|
|
327
|
-
height: 1.14em;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
@media (max-width: 600px) {
|
|
331
|
-
.widget__actor span {
|
|
332
|
-
display: none;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
`,e&&t.setAttribute("nonce",e),t}function xr(e,t){return Object.entries(t).forEach(([n,r])=>{e.setAttributeNS(null,n,r)}),e}const pl=20,cie="http://www.w3.org/2000/svg";function uie(){const e=s=>Qr.document.createElementNS(cie,s),t=xr(e("svg"),{width:`${pl}`,height:`${pl}`,viewBox:`0 0 ${pl} ${pl}`,fill:"var(--actor-color, var(--foreground))"}),n=xr(e("g"),{clipPath:"url(#clip0_57_80)"}),r=xr(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(n).appendChild(r);const o=e("defs"),i=xr(e("clipPath"),{id:"clip0_57_80"}),a=xr(e("rect"),{width:`${pl}`,height:`${pl}`,fill:"white"});return i.appendChild(a),o.appendChild(i),t.appendChild(o).appendChild(i).appendChild(a),t}function die({triggerLabel:e,triggerAriaLabel:t,shadow:n,styleNonce:r}){const o=lt.createElement("button");if(o.type="button",o.className="widget__actor",o.ariaHidden="false",o.ariaLabel=t||e||MI,o.appendChild(uie()),e){const a=lt.createElement("span");a.appendChild(lt.createTextNode(e)),o.appendChild(a)}const i=lie(r);return{el:o,appendToDom(){n.appendChild(i),n.appendChild(o)},removeFromDom(){n.removeChild(o),n.removeChild(i)},show(){o.ariaHidden="false"},hide(){o.ariaHidden="true"}}}const TI="rgba(88, 74, 192, 1)",fie={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:TI,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},zE={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:TI,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function WE(e){return`
|
|
336
|
-
--foreground: ${e.foreground};
|
|
337
|
-
--background: ${e.background};
|
|
338
|
-
--accent-foreground: ${e.accentForeground};
|
|
339
|
-
--accent-background: ${e.accentBackground};
|
|
340
|
-
--success-color: ${e.successColor};
|
|
341
|
-
--error-color: ${e.errorColor};
|
|
342
|
-
--border: ${e.border};
|
|
343
|
-
--box-shadow: ${e.boxShadow};
|
|
344
|
-
--outline: ${e.outline};
|
|
345
|
-
--interactive-filter: ${e.interactiveFilter};
|
|
346
|
-
`}function pie({colorScheme:e,themeDark:t,themeLight:n,styleNonce:r}){const o=lt.createElement("style");return o.textContent=`
|
|
347
|
-
:host {
|
|
348
|
-
--font-family: system-ui, 'Helvetica Neue', Arial, sans-serif;
|
|
349
|
-
--font-size: 14px;
|
|
350
|
-
--z-index: 100000;
|
|
351
|
-
|
|
352
|
-
--page-margin: 16px;
|
|
353
|
-
--inset: auto 0 0 auto;
|
|
354
|
-
--actor-inset: var(--inset);
|
|
355
|
-
|
|
356
|
-
font-family: var(--font-family);
|
|
357
|
-
font-size: var(--font-size);
|
|
358
|
-
|
|
359
|
-
${e!=="system"?"color-scheme: only light;":""}
|
|
360
|
-
|
|
361
|
-
${WE(e==="dark"?{...zE,...t}:{...fie,...n})}
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
${e==="system"?`
|
|
365
|
-
@media (prefers-color-scheme: dark) {
|
|
366
|
-
:host {
|
|
367
|
-
${WE({...zE,...t})}
|
|
368
|
-
}
|
|
369
|
-
}`:""}
|
|
370
|
-
}
|
|
371
|
-
`,r&&o.setAttribute("nonce",r),o}const kI=({lazyLoadIntegration:e,getModalIntegration:t,getScreenshotIntegration:n})=>({id:o="sentry-feedback",autoInject:i=!0,showBranding:a=!0,isEmailRequired:s=!1,isNameRequired:l=!1,showEmail:c=!0,showName:u=!0,enableScreenshot:d=!0,useSentryUser:p={email:"email",name:"username"},_experiments:h={},tags:g,styleNonce:v,scriptNonce:b,colorScheme:m="system",themeLight:y={},themeDark:E={},addScreenshotButtonLabel:w=nie,cancelButtonLabel:S=zoe,confirmButtonLabel:_=qoe,emailLabel:C=Yoe,emailPlaceholder:R=Koe,formTitle:T=Goe,isRequiredLabel:I=tie,messageLabel:D=Xoe,messagePlaceholder:F=Zoe,nameLabel:q=Qoe,namePlaceholder:W=Joe,removeScreenshotButtonLabel:Q=rie,submitButtonLabel:H=Woe,successMessageText:re=eie,triggerLabel:B=MI,triggerAriaLabel:ee="",onFormOpen:$,onFormClose:P,onSubmitSuccess:N,onSubmitError:O,onFormSubmitted:x}={})=>{const k={id:o,autoInject:i,showBranding:a,isEmailRequired:s,isNameRequired:l,showEmail:c,showName:u,enableScreenshot:d,useSentryUser:p,tags:g,styleNonce:v,scriptNonce:b,colorScheme:m,themeDark:E,themeLight:y,triggerLabel:B,triggerAriaLabel:ee,cancelButtonLabel:S,submitButtonLabel:H,confirmButtonLabel:_,formTitle:T,emailLabel:C,emailPlaceholder:R,messageLabel:D,messagePlaceholder:F,nameLabel:q,namePlaceholder:W,successMessageText:re,isRequiredLabel:I,addScreenshotButtonLabel:w,removeScreenshotButtonLabel:Q,onFormClose:P,onFormOpen:$,onSubmitError:O,onSubmitSuccess:N,onFormSubmitted:x,_experiments:h};let j=null,J=[];const L=V=>{if(!j){const Z=lt.createElement("div");Z.id=String(V.id),lt.body.appendChild(Z),j=Z.attachShadow({mode:"open"}),j.appendChild(pie(V))}return j},U=async V=>{const Z=V.enableScreenshot&&sie();let ue,pe;try{ue=(t?t():await e("feedbackModalIntegration",b))(),Tv(ue)}catch{throw L1&&ne.error("[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`."),new Error("[Feedback] Missing feedback modal integration!")}try{const we=Z?n?n():await e("feedbackScreenshotIntegration",b):void 0;we&&(pe=we(),Tv(pe))}catch{L1&&ne.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}const be=ue.createDialog({options:{...V,onFormClose:()=>{var we;be==null||be.close(),(we=V.onFormClose)==null||we.call(V)},onFormSubmitted:()=>{var we;be==null||be.close(),(we=V.onFormSubmitted)==null||we.call(V)}},screenshotIntegration:pe,sendFeedback:RI,shadow:L(V)});return be},G=(V,Z={})=>{const ue=Vp(k,Z),pe=typeof V=="string"?lt.querySelector(V):typeof V.addEventListener=="function"?V:null;if(!pe)throw L1&&ne.error("[Feedback] Unable to attach to target element"),new Error("Unable to attach to target element");let be=null;const we=async()=>{be||(be=await U({...ue,onFormSubmitted:()=>{var pt;be==null||be.removeFromDom(),(pt=ue.onFormSubmitted)==null||pt.call(ue)}})),be.appendToDom(),be.open()};pe.addEventListener("click",we);const ke=()=>{J=J.filter(pt=>pt!==ke),be==null||be.removeFromDom(),be=null,pe.removeEventListener("click",we)};return J.push(ke),ke},z=(V={})=>{const Z=Vp(k,V),ue=L(Z),pe=die({triggerLabel:Z.triggerLabel,triggerAriaLabel:Z.triggerAriaLabel,shadow:ue,styleNonce:v});return G(pe.el,{...Z,onFormOpen(){pe.hide()},onFormClose(){pe.show()},onFormSubmitted(){pe.show()}}),pe};return{name:"Feedback",setupOnce(){!Av()||!k.autoInject||(lt.readyState==="loading"?lt.addEventListener("DOMContentLoaded",()=>z().appendToDom()):z().appendToDom())},attachTo:G,createWidget(V={}){const Z=z(Vp(k,V));return Z.appendToDom(),Z},async createForm(V={}){return U(Vp(k,V))},remove(){var V;j&&((V=j.parentElement)==null||V.remove(),j=null),J.forEach(Z=>Z()),J=[]}}};function hie(){const e=xe();return e==null?void 0:e.getIntegrationByName("Feedback")}var R0,Rt,II,ps,qE,LI,Zv,af={},S_=[],mie=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w_=Array.isArray;function xa(e,t){for(var n in t)e[n]=t[n];return e}function OI(e){var t=e.parentNode;t&&t.removeChild(e)}function Ye(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?R0.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return O1(e,a,r,o,null)}function O1(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++II,__i:-1,__u:0};return o==null&&Rt.vnode!=null&&Rt.vnode(i),i}function Ff(e){return e.children}function A1(e,t){this.props=e,this.context=t}function Pc(e,t){if(t==null)return e.__?Pc(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Pc(e):null}function gie(e,t,n){var r,o=e.__v,i=o.__e,a=e.__P;if(a)return(r=xa({},o)).__v=o.__v+1,Rt.vnode&&Rt.vnode(r),x_(a,r,o,e.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,t,i??Pc(o),!!(32&o.__u),n),r.__.__k[r.__i]=r,r.__d=void 0,r.__e!=i&&AI(r),r}function AI(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return AI(e)}}function GE(e){(!e.__d&&(e.__d=!0)&&ps.push(e)&&!Xh.__r++||qE!==Rt.debounceRendering)&&((qE=Rt.debounceRendering)||LI)(Xh)}function Xh(){var e,t,n,r=[],o=[];for(ps.sort(Zv);e=ps.shift();)e.__d&&(n=ps.length,t=gie(e,r,o)||t,n===0||ps.length>n?(Xv(r,t,o),o.length=r.length=0,t=void 0,ps.sort(Zv)):t&&Rt.__c&&Rt.__c(t,S_));t&&Xv(r,t,o),Xh.__r=0}function PI(e,t,n,r,o,i,a,s,l,c,u){var d,p,h,g,v,b=r&&r.__k||S_,m=t.length;for(n.__d=l,yie(n,t,b),l=n.__d,d=0;d<m;d++)(h=n.__k[d])!=null&&typeof h!="boolean"&&typeof h!="function"&&(p=h.__i===-1?af:b[h.__i]||af,h.__i=d,x_(e,h,p,o,i,a,s,l,c,u),g=h.__e,h.ref&&p.ref!=h.ref&&(p.ref&&M_(p.ref,null,h),u.push(h.ref,h.__c||g,h)),v==null&&g!=null&&(v=g),65536&h.__u||p.__k===h.__k?l=NI(h,l,e):typeof h.type=="function"&&h.__d!==void 0?l=h.__d:g&&(l=g.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=l,n.__e=v}function yie(e,t,n){var r,o,i,a,s,l=t.length,c=n.length,u=c,d=0;for(e.__k=[],r=0;r<l;r++)(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?O1(null,o,null,null,o):w_(o)?O1(Ff,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?O1(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=vie(o,n,a=r+d,u),o.__i=s,i=null,s!==-1&&(u--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&d--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s===a+1?d++:s>a?u>l-a?d+=s-a:d--:d=s<a&&s==a-1?s-a:0,s!==r+d&&(o.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==e.__d&&(e.__d=Pc(i)),Jv(i,i,!1),n[r]=null,u--);if(u)for(r=0;r<c;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Pc(i)),Jv(i,i))}function NI(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=NI(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function vie(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(l===null||l&&o==l.key&&i===l.type)return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function KE(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||mie.test(t)?n:n+"px"}function zp(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||KE(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||KE(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,i?ZE:YE,i)):e.removeEventListener(t,i?ZE:YE,i);else{if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t!=="role"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function YE(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(Rt.event?Rt.event(e):e)}}function ZE(e){if(this.l)return this.l[e.type+!0](Rt.event?Rt.event(e):e)}function x_(e,t,n,r,o,i,a,s,l,c){var u,d,p,h,g,v,b,m,y,E,w,S,_,C,R,T=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(u=Rt.__b)&&u(t);e:if(typeof T=="function")try{if(m=t.props,y=(u=T.contextType)&&r[u.__c],E=u?y?y.props.value:u.__:r,n.__c?b=(d=t.__c=n.__c).__=d.__E:("prototype"in T&&T.prototype.render?t.__c=d=new T(m,E):(t.__c=d=new A1(m,E),d.constructor=T,d.render=bie),y&&y.sub(d),d.props=m,d.state||(d.state={}),d.context=E,d.__n=r,p=d.__d=!0,d.__h=[],d._sb=[]),d.__s==null&&(d.__s=d.state),T.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=xa({},d.__s)),xa(d.__s,T.getDerivedStateFromProps(m,d.__s))),h=d.props,g=d.state,d.__v=t,p)T.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(T.getDerivedStateFromProps==null&&m!==h&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(m,E),!d.__e&&(d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(m,d.__s,E)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=m,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(I){I&&(I.__=t)}),w=0;w<d._sb.length;w++)d.__h.push(d._sb[w]);d._sb=[],d.__h.length&&a.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(m,d.__s,E),d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(h,g,v)})}if(d.context=E,d.props=m,d.__P=e,d.__e=!1,S=Rt.__r,_=0,"prototype"in T&&T.prototype.render){for(d.state=d.__s,d.__d=!1,S&&S(t),u=d.render(d.props,d.state,d.context),C=0;C<d._sb.length;C++)d.__h.push(d._sb[C]);d._sb=[]}else do d.__d=!1,S&&S(t),u=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++_<25);d.state=d.__s,d.getChildContext!=null&&(r=xa(xa({},r),d.getChildContext())),p||d.getSnapshotBeforeUpdate==null||(v=d.getSnapshotBeforeUpdate(h,g)),PI(e,w_(R=u!=null&&u.type===Ff&&u.key==null?u.props.children:u)?R:[R],t,n,r,o,i,a,s,l,c),d.base=t.__e,t.__u&=-161,d.__h.length&&a.push(d),b&&(d.__E=d.__=null)}catch(I){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),Rt.__e(I,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=_ie(n.__e,t,n,r,o,i,a,l,c);(u=Rt.diffed)&&u(t)}function Xv(e,t,n){for(var r=0;r<n.length;r++)M_(n[r],n[++r],n[++r]);Rt.__c&&Rt.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){Rt.__e(i,o.__v)}})}function _ie(e,t,n,r,o,i,a,s,l){var c,u,d,p,h,g,v,b=n.props,m=t.props,y=t.type;if(y==="svg"&&(o=!0),i!=null){for(c=0;c<i.length;c++)if((h=i[c])&&"setAttribute"in h==!!y&&(y?h.localName===y:h.nodeType===3)){e=h,i[c]=null;break}}if(e==null){if(y===null)return document.createTextNode(m);e=o?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,m.is&&m),i=null,s=!1}if(y===null)b===m||s&&e.data===m||(e.data=m);else{if(i=i&&R0.call(e.childNodes),b=n.props||af,!s&&i!=null)for(b={},c=0;c<e.attributes.length;c++)b[(h=e.attributes[c]).name]=h.value;for(c in b)h=b[c],c=="children"||(c=="dangerouslySetInnerHTML"?d=h:c==="key"||c in m||zp(e,c,null,h,o));for(c in m)h=m[c],c=="children"?p=h:c=="dangerouslySetInnerHTML"?u=h:c=="value"?g=h:c=="checked"?v=h:c==="key"||s&&typeof h!="function"||b[c]===h||zp(e,c,h,b[c],o);if(u)s||d&&(u.__html===d.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=""),PI(e,w_(p)?p:[p],t,n,r,o&&y!=="foreignObject",i,a,i?i[0]:n.__k&&Pc(n,0),s,l),i!=null)for(c=i.length;c--;)i[c]!=null&&OI(i[c]);s||(c="value",g!==void 0&&(g!==e[c]||y==="progress"&&!g||y==="option"&&g!==b[c])&&zp(e,c,g,b[c],!1),c="checked",v!==void 0&&v!==e[c]&&zp(e,c,v,b[c],!1))}return e}function M_(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){Rt.__e(r,n)}}function Jv(e,t,n){var r,o;if(Rt.unmount&&Rt.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||M_(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){Rt.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Jv(r[o],t,n||typeof e.type!="function");n||e.__e==null||OI(e.__e),e.__=e.__e=e.__d=void 0}function bie(e,t,n){return this.constructor(e,n)}function Eie(e,t,n){var r,o,i,a;Rt.__&&Rt.__(e,t),o=(r=!1)?null:t.__k,i=[],a=[],x_(t,e=t.__k=Ye(Ff,null,[e]),o||af,af,t.ownerSVGElement!==void 0,o?null:t.firstChild?R0.call(t.childNodes):null,i,o?o.__e:t.firstChild,r,a),e.__d=void 0,Xv(i,e,a)}R0=S_.slice,Rt={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},II=0,A1.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=xa({},this.state),typeof e=="function"&&(e=e(xa({},n),this.props)),e&&xa(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),GE(this))},A1.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),GE(this))},A1.prototype.render=Ff,ps=[],LI=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Zv=function(e,t){return e.__v.__b-t.__v.__b},Xh.__r=0;var qi,Mt,b2,XE,Nc=0,$I=[],P1=[],Vt=Rt,JE=Vt.__b,QE=Vt.__r,eC=Vt.diffed,tC=Vt.__c,nC=Vt.unmount,rC=Vt.__;function Js(e,t){Vt.__h&&Vt.__h(Mt,e,Nc||t),Nc=0;var n=Mt.__H||(Mt.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:P1}),n.__[e]}function Ss(e){return Nc=1,jI(BI,e)}function jI(e,t,n){var r=Js(qi++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):BI(void 0,t),function(s){var l=r.__N?r.__N[0]:r.__[0],c=r.t(l,s);l!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=Mt,!Mt.u)){var o=function(s,l,c){if(!r.__c.__H)return!0;var u=r.__c.__H.__.filter(function(p){return!!p.__c});if(u.every(function(p){return!p.__N}))return!i||i.call(this,s,l,c);var d=!1;return u.forEach(function(p){if(p.__N){var h=p.__[0];p.__=p.__N,p.__N=void 0,h!==p.__[0]&&(d=!0)}}),!(!d&&r.__c.props===s)&&(!i||i.call(this,s,l,c))};Mt.u=!0;var i=Mt.shouldComponentUpdate,a=Mt.componentWillUpdate;Mt.componentWillUpdate=function(s,l,c){if(this.__e){var u=i;i=void 0,o(s,l,c),i=u}a&&a.call(this,s,l,c)},Mt.shouldComponentUpdate=o}return r.__N||r.__}function Cie(e,t){var n=Js(qi++,3);!Vt.__s&&R_(n.__H,t)&&(n.__=e,n.i=t,Mt.__H.__h.push(n))}function DI(e,t){var n=Js(qi++,4);!Vt.__s&&R_(n.__H,t)&&(n.__=e,n.i=t,Mt.__h.push(n))}function Sie(e){return Nc=5,Uf(function(){return{current:e}},[])}function wie(e,t,n){Nc=6,DI(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Uf(e,t){var n=Js(qi++,7);return R_(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function tc(e,t){return Nc=8,Uf(function(){return e},t)}function xie(e){var t=Mt.context[e.__c],n=Js(qi++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Mt)),t.props.value):e.__}function Mie(e,t){Vt.useDebugValue&&Vt.useDebugValue(t?t(e):e)}function Rie(e){var t=Js(qi++,10),n=Ss();return t.__=e,Mt.componentDidCatch||(Mt.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Tie(){var e=Js(qi++,11);if(!e.__){for(var t=Mt.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function kie(){for(var e;e=$I.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(N1),e.__H.__h.forEach(Qv),e.__H.__h=[]}catch(t){e.__H.__h=[],Vt.__e(t,e.__v)}}Vt.__b=function(e){Mt=null,JE&&JE(e)},Vt.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),rC&&rC(e,t)},Vt.__r=function(e){QE&&QE(e),qi=0;var t=(Mt=e.__c).__H;t&&(b2===Mt?(t.__h=[],Mt.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=P1,n.__N=n.i=void 0})):(t.__h.forEach(N1),t.__h.forEach(Qv),t.__h=[],qi=0)),b2=Mt},Vt.diffed=function(e){eC&&eC(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&($I.push(t)!==1&&XE===Vt.requestAnimationFrame||((XE=Vt.requestAnimationFrame)||Iie)(kie)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==P1&&(n.__=n.__V),n.i=void 0,n.__V=P1})),b2=Mt=null},Vt.__c=function(e,t){t.some(function(n){try{n.__h.forEach(N1),n.__h=n.__h.filter(function(r){return!r.__||Qv(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Vt.__e(r,n.__v)}}),tC&&tC(e,t)},Vt.unmount=function(e){nC&&nC(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{N1(r)}catch(o){t=o}}),n.__H=void 0,t&&Vt.__e(t,n.__v))};var oC=typeof requestAnimationFrame=="function";function Iie(e){var t,n=function(){clearTimeout(r),oC&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);oC&&(t=requestAnimationFrame(n))}function N1(e){var t=Mt,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Mt=t}function Qv(e){var t=Mt;e.__c=e.__(),Mt=t}function R_(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function BI(e,t){return typeof t=="function"?t(e):t}const Lie=Object.defineProperty({__proto__:null,useCallback:tc,useContext:xie,useDebugValue:Mie,useEffect:Cie,useErrorBoundary:Rie,useId:Tie,useImperativeHandle:wie,useLayoutEffect:DI,useMemo:Uf,useReducer:jI,useRef:Sie,useState:Ss},Symbol.toStringTag,{value:"Module"}),Oie="http://www.w3.org/2000/svg";function Aie(){const e=r=>lt.createElementNS(Oie,r),t=xr(e("svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),n=xr(e("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});return t.appendChild(n),t}function Pie({options:e}){const t=Uf(()=>({__html:Aie().outerHTML}),[]);return Ye("h2",{class:"dialog__header"},Ye("span",{class:"dialog__title"},e.formTitle),e.showBranding?Ye("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t}):null)}function Nie(e,t){const n=[];return t.isNameRequired&&!e.name&&n.push(t.nameLabel),t.isEmailRequired&&!e.email&&n.push(t.emailLabel),e.message||n.push(t.messageLabel),n}function E2(e,t){const n=e.get(t);return typeof n=="string"?n.trim():""}function $ie({options:e,defaultEmail:t,defaultName:n,onFormClose:r,onSubmit:o,onSubmitSuccess:i,onSubmitError:a,showEmail:s,showName:l,screenshotInput:c}){const{tags:u,addScreenshotButtonLabel:d,removeScreenshotButtonLabel:p,cancelButtonLabel:h,emailLabel:g,emailPlaceholder:v,isEmailRequired:b,isNameRequired:m,messageLabel:y,messagePlaceholder:E,nameLabel:w,namePlaceholder:S,submitButtonLabel:_,isRequiredLabel:C}=e,[R,T]=Ss(!1),[I,D]=Ss(null),[F,q]=Ss(!1),W=c==null?void 0:c.input,[Q,H]=Ss(null),re=tc($=>{H($),q(!1)},[]),B=tc($=>{const P=Nie($,{emailLabel:g,isEmailRequired:b,isNameRequired:m,messageLabel:y,nameLabel:w});return P.length>0?D(`Please enter in the following required fields: ${P.join(", ")}`):D(null),P.length===0},[g,b,m,y,w]),ee=tc(async $=>{T(!0);try{if($.preventDefault(),!($.target instanceof HTMLFormElement))return;const P=new FormData($.target),N=await(c&&F?c.value():void 0),O={name:E2(P,"name"),email:E2(P,"email"),message:E2(P,"message"),attachments:N?[N]:void 0};if(!B(O))return;try{await o({name:O.name,email:O.email,message:O.message,source:oie,tags:u},{attachments:O.attachments}),i(O)}catch(x){L1&&ne.error(x),D(x),a(x)}}finally{T(!1)}},[c&&F,i,a]);return Ye("form",{class:"form",onSubmit:ee},W&&F?Ye(W,{onError:re}):null,Ye("fieldset",{class:"form__right","data-sentry-feedback":!0,disabled:R},Ye("div",{class:"form__top"},I?Ye("div",{class:"form__error-container"},I):null,l?Ye("label",{for:"name",class:"form__label"},Ye(C2,{label:w,isRequiredLabel:C,isRequired:m}),Ye("input",{class:"form__input",defaultValue:n,id:"name",name:"name",placeholder:S,required:m,type:"text"})):Ye("input",{"aria-hidden":!0,value:n,name:"name",type:"hidden"}),s?Ye("label",{for:"email",class:"form__label"},Ye(C2,{label:g,isRequiredLabel:C,isRequired:b}),Ye("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:v,required:b,type:"email"})):Ye("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden"}),Ye("label",{for:"message",class:"form__label"},Ye(C2,{label:y,isRequiredLabel:C,isRequired:!0}),Ye("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:E,required:!0,rows:5})),W?Ye("label",{for:"screenshot",class:"form__label"},Ye("button",{class:"btn btn--default",disabled:R,type:"button",onClick:()=>{H(null),q($=>!$)}},F?p:d),Q?Ye("div",{class:"form__error-container"},Q.message):null):null),Ye("div",{class:"btn-group"},Ye("button",{class:"btn btn--primary",disabled:R,type:"submit"},_),Ye("button",{class:"btn btn--default",disabled:R,type:"button",onClick:r},h))))}function C2({label:e,isRequired:t,isRequiredLabel:n}){return Ye("span",{class:"form__label__text"},e,t&&Ye("span",{class:"form__label__text--required"},n))}const Wp=16,iC=17,jie="http://www.w3.org/2000/svg";function Die(){const e=l=>Qr.document.createElementNS(jie,l),t=xr(e("svg"),{width:`${Wp}`,height:`${iC}`,viewBox:`0 0 ${Wp} ${iC}`,fill:"inherit"}),n=xr(e("g"),{clipPath:"url(#clip0_57_156)"}),r=xr(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),o=xr(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(n).append(o,r);const i=e("defs"),a=xr(e("clipPath"),{id:"clip0_57_156"}),s=xr(e("rect"),{width:`${Wp}`,height:`${Wp}`,fill:"white",transform:"translate(0 0.5)"});return a.appendChild(s),i.appendChild(a),t.appendChild(i).appendChild(a).appendChild(s),t}function Bie({open:e,onFormSubmitted:t,...n}){const r=n.options,o=Uf(()=>({__html:Die().outerHTML}),[]),[i,a]=Ss(null),s=tc(()=>{i&&(clearTimeout(i),a(null)),t()},[i]),l=tc(c=>{n.onSubmitSuccess(c),a(setTimeout(()=>{t(),a(null)},aie))},[t]);return Ye(Ff,null,i?Ye("div",{class:"success__position",onClick:s},Ye("div",{class:"success__content"},r.successMessageText,Ye("span",{class:"success__icon",dangerouslySetInnerHTML:o}))):Ye("dialog",{class:"dialog",onClick:r.onFormClose,open:e},Ye("div",{class:"dialog__position"},Ye("div",{class:"dialog__content",onClick:c=>{c.stopPropagation()}},Ye(Pie,{options:r}),Ye($ie,{...n,onSubmitSuccess:l})))))}const Fie=`
|
|
372
|
-
.dialog {
|
|
373
|
-
position: fixed;
|
|
374
|
-
z-index: var(--z-index);
|
|
375
|
-
margin: 0;
|
|
376
|
-
inset: 0;
|
|
377
|
-
|
|
378
|
-
display: flex;
|
|
379
|
-
align-items: center;
|
|
380
|
-
justify-content: center;
|
|
381
|
-
padding: 0;
|
|
382
|
-
height: 100vh;
|
|
383
|
-
width: 100vw;
|
|
384
|
-
|
|
385
|
-
color: var(--dialog-color, var(--foreground));
|
|
386
|
-
fill: var(--dialog-color, var(--foreground));
|
|
387
|
-
line-height: 1.75em;
|
|
388
|
-
|
|
389
|
-
background-color: rgba(0, 0, 0, 0.05);
|
|
390
|
-
border: none;
|
|
391
|
-
inset: 0;
|
|
392
|
-
opacity: 1;
|
|
393
|
-
transition: opacity 0.2s ease-in-out;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
.dialog__position {
|
|
397
|
-
position: fixed;
|
|
398
|
-
z-index: var(--z-index);
|
|
399
|
-
inset: var(--dialog-inset);
|
|
400
|
-
padding: var(--page-margin);
|
|
401
|
-
display: flex;
|
|
402
|
-
max-height: calc(100vh - (2 * var(--page-margin)));
|
|
403
|
-
}
|
|
404
|
-
@media (max-width: 600px) {
|
|
405
|
-
.dialog__position {
|
|
406
|
-
inset: var(--page-margin);
|
|
407
|
-
padding: 0;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.dialog__position:has(.editor) {
|
|
412
|
-
inset: var(--page-margin);
|
|
413
|
-
padding: 0;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
.dialog:not([open]) {
|
|
417
|
-
opacity: 0;
|
|
418
|
-
pointer-events: none;
|
|
419
|
-
visibility: hidden;
|
|
420
|
-
}
|
|
421
|
-
.dialog:not([open]) .dialog__content {
|
|
422
|
-
transform: translate(0, -16px) scale(0.98);
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.dialog__content {
|
|
426
|
-
display: flex;
|
|
427
|
-
flex-direction: column;
|
|
428
|
-
gap: 16px;
|
|
429
|
-
padding: var(--dialog-padding, 24px);
|
|
430
|
-
max-width: 100%;
|
|
431
|
-
width: 100%;
|
|
432
|
-
max-height: 100%;
|
|
433
|
-
overflow: auto;
|
|
434
|
-
|
|
435
|
-
background: var(--dialog-background, var(--background));
|
|
436
|
-
border-radius: var(--dialog-border-radius, 20px);
|
|
437
|
-
border: var(--dialog-border, var(--border));
|
|
438
|
-
box-shadow: var(--dialog-box-shadow, var(--box-shadow));
|
|
439
|
-
transform: translate(0, 0) scale(1);
|
|
440
|
-
transition: transform 0.2s ease-in-out;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
`,Uie=`
|
|
444
|
-
.dialog__header {
|
|
445
|
-
display: flex;
|
|
446
|
-
gap: 4px;
|
|
447
|
-
justify-content: space-between;
|
|
448
|
-
font-weight: var(--dialog-header-weight, 600);
|
|
449
|
-
margin: 0;
|
|
450
|
-
}
|
|
451
|
-
.dialog__title {
|
|
452
|
-
align-self: center;
|
|
453
|
-
width: var(--form-width, 272px);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
@media (max-width: 600px) {
|
|
457
|
-
.dialog__title {
|
|
458
|
-
width: auto;
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
.dialog__position:has(.editor) .dialog__title {
|
|
463
|
-
width: auto;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
.brand-link {
|
|
468
|
-
display: inline-flex;
|
|
469
|
-
}
|
|
470
|
-
.brand-link:focus-visible {
|
|
471
|
-
outline: var(--outline);
|
|
472
|
-
}
|
|
473
|
-
`,Hie=`
|
|
474
|
-
.form {
|
|
475
|
-
display: flex;
|
|
476
|
-
overflow: auto;
|
|
477
|
-
flex-direction: row;
|
|
478
|
-
gap: 16px;
|
|
479
|
-
flex: 1 0;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
.form fieldset {
|
|
483
|
-
border: none;
|
|
484
|
-
margin: 0;
|
|
485
|
-
padding: 0;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
.form__right {
|
|
489
|
-
flex: 0 0 auto;
|
|
490
|
-
display: flex;
|
|
491
|
-
overflow: auto;
|
|
492
|
-
flex-direction: column;
|
|
493
|
-
justify-content: space-between;
|
|
494
|
-
gap: 20px;
|
|
495
|
-
width: var(--form-width, 100%);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
.dialog__position:has(.editor) .form__right {
|
|
499
|
-
width: var(--form-width, 272px);
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
.form__top {
|
|
503
|
-
display: flex;
|
|
504
|
-
flex-direction: column;
|
|
505
|
-
gap: 8px;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
.form__error-container {
|
|
509
|
-
color: var(--error-color);
|
|
510
|
-
fill: var(--error-color);
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.form__label {
|
|
514
|
-
display: flex;
|
|
515
|
-
flex-direction: column;
|
|
516
|
-
gap: 4px;
|
|
517
|
-
margin: 0px;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
.form__label__text {
|
|
521
|
-
display: flex;
|
|
522
|
-
gap: 4px;
|
|
523
|
-
align-items: center;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.form__label__text--required {
|
|
527
|
-
font-size: 0.85em;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
.form__input {
|
|
531
|
-
font-family: inherit;
|
|
532
|
-
line-height: inherit;
|
|
533
|
-
background: transparent;
|
|
534
|
-
box-sizing: border-box;
|
|
535
|
-
border: var(--input-border, var(--border));
|
|
536
|
-
border-radius: var(--input-border-radius, 6px);
|
|
537
|
-
color: var(--input-color, inherit);
|
|
538
|
-
fill: var(--input-color, inherit);
|
|
539
|
-
font-size: var(--input-font-size, inherit);
|
|
540
|
-
font-weight: var(--input-font-weight, 500);
|
|
541
|
-
padding: 6px 12px;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
.form__input::placeholder {
|
|
545
|
-
opacity: 0.65;
|
|
546
|
-
color: var(--input-placeholder-color, inherit);
|
|
547
|
-
filter: var(--interactive-filter);
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
.form__input:focus-visible {
|
|
551
|
-
outline: var(--input-focus-outline, var(--outline));
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
.form__input--textarea {
|
|
555
|
-
font-family: inherit;
|
|
556
|
-
resize: vertical;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.error {
|
|
560
|
-
color: var(--error-color);
|
|
561
|
-
fill: var(--error-color);
|
|
562
|
-
}
|
|
563
|
-
`,Vie=`
|
|
564
|
-
.btn-group {
|
|
565
|
-
display: grid;
|
|
566
|
-
gap: 8px;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
.btn {
|
|
570
|
-
line-height: inherit;
|
|
571
|
-
border: var(--button-border, var(--border));
|
|
572
|
-
border-radius: var(--button-border-radius, 6px);
|
|
573
|
-
cursor: pointer;
|
|
574
|
-
font-family: inherit;
|
|
575
|
-
font-size: var(--button-font-size, inherit);
|
|
576
|
-
font-weight: var(--button-font-weight, 600);
|
|
577
|
-
padding: var(--button-padding, 6px 16px);
|
|
578
|
-
}
|
|
579
|
-
.btn[disabled] {
|
|
580
|
-
opacity: 0.6;
|
|
581
|
-
pointer-events: none;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
.btn--primary {
|
|
585
|
-
color: var(--button-primary-color, var(--accent-foreground));
|
|
586
|
-
fill: var(--button-primary-color, var(--accent-foreground));
|
|
587
|
-
background: var(--button-primary-background, var(--accent-background));
|
|
588
|
-
border: var(--button-primary-border, var(--border));
|
|
589
|
-
border-radius: var(--button-primary-border-radius, 6px);
|
|
590
|
-
font-weight: var(--button-primary-font-weight, 500);
|
|
591
|
-
}
|
|
592
|
-
.btn--primary:hover {
|
|
593
|
-
color: var(--button-primary-hover-color, var(--accent-foreground));
|
|
594
|
-
fill: var(--button-primary-hover-color, var(--accent-foreground));
|
|
595
|
-
background: var(--button-primary-hover-background, var(--accent-background));
|
|
596
|
-
filter: var(--interactive-filter);
|
|
597
|
-
}
|
|
598
|
-
.btn--primary:focus-visible {
|
|
599
|
-
background: var(--button-primary-hover-background, var(--accent-background));
|
|
600
|
-
filter: var(--interactive-filter);
|
|
601
|
-
outline: var(--button-primary-focus-outline, var(--outline));
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.btn--default {
|
|
605
|
-
color: var(--button-color, var(--foreground));
|
|
606
|
-
fill: var(--button-color, var(--foreground));
|
|
607
|
-
background: var(--button-background, var(--background));
|
|
608
|
-
border: var(--button-border, var(--border));
|
|
609
|
-
border-radius: var(--button-border-radius, 6px);
|
|
610
|
-
font-weight: var(--button-font-weight, 500);
|
|
611
|
-
}
|
|
612
|
-
.btn--default:hover {
|
|
613
|
-
color: var(--button-color, var(--foreground));
|
|
614
|
-
fill: var(--button-color, var(--foreground));
|
|
615
|
-
background: var(--button-hover-background, var(--background));
|
|
616
|
-
filter: var(--interactive-filter);
|
|
617
|
-
}
|
|
618
|
-
.btn--default:focus-visible {
|
|
619
|
-
background: var(--button-hover-background, var(--background));
|
|
620
|
-
filter: var(--interactive-filter);
|
|
621
|
-
outline: var(--button-focus-outline, var(--outline));
|
|
622
|
-
}
|
|
623
|
-
`,zie=`
|
|
624
|
-
.success__position {
|
|
625
|
-
position: fixed;
|
|
626
|
-
inset: var(--dialog-inset);
|
|
627
|
-
padding: var(--page-margin);
|
|
628
|
-
z-index: var(--z-index);
|
|
629
|
-
}
|
|
630
|
-
.success__content {
|
|
631
|
-
background: var(--success-background, var(--background));
|
|
632
|
-
border: var(--success-border, var(--border));
|
|
633
|
-
border-radius: var(--success-border-radius, 1.7em/50%);
|
|
634
|
-
box-shadow: var(--success-box-shadow, var(--box-shadow));
|
|
635
|
-
font-weight: var(--success-font-weight, 600);
|
|
636
|
-
color: var(--success-color);
|
|
637
|
-
fill: var(--success-color);
|
|
638
|
-
padding: 12px 24px;
|
|
639
|
-
line-height: 1.75em;
|
|
640
|
-
|
|
641
|
-
display: grid;
|
|
642
|
-
align-items: center;
|
|
643
|
-
grid-auto-flow: column;
|
|
644
|
-
gap: 6px;
|
|
645
|
-
cursor: default;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
.success__icon {
|
|
649
|
-
display: flex;
|
|
650
|
-
}
|
|
651
|
-
`;function Wie(e){const t=lt.createElement("style");return t.textContent=`
|
|
652
|
-
:host {
|
|
653
|
-
--dialog-inset: var(--inset);
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
${Fie}
|
|
657
|
-
${Uie}
|
|
658
|
-
${Hie}
|
|
659
|
-
${Vie}
|
|
660
|
-
${zie}
|
|
661
|
-
`,e&&t.setAttribute("nonce",e),t}function qie(){const e=rt().getUser(),t=Cn().getUser(),n=N5().getUser();return e&&Object.keys(e).length?e:t&&Object.keys(t).length?t:n}const Gie=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:n,shadow:r})=>{const o=r,i=e.useSentryUser,a=qie(),s=lt.createElement("div"),l=Wie(e.styleNonce);let c="";const u={get el(){return s},appendToDom(){!o.contains(l)&&!o.contains(s)&&(o.appendChild(l),o.appendChild(s))},removeFromDom(){o.removeChild(s),o.removeChild(l),lt.body.style.overflow=c},open(){var h,g;p(!0),(h=e.onFormOpen)==null||h.call(e),(g=xe())==null||g.emit("openFeedbackWidget"),c=lt.body.style.overflow,lt.body.style.overflow="hidden"},close(){p(!1),lt.body.style.overflow=c}},d=t==null?void 0:t.createInput({h:Ye,hooks:Lie,dialog:u,options:e}),p=h=>{Eie(Ye(Bie,{options:e,screenshotInput:d,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:i&&a&&a[i.name]||"",defaultEmail:i&&a&&a[i.email]||"",onFormClose:()=>{var g;p(!1),(g=e.onFormClose)==null||g.call(e)},onSubmit:n,onSubmitSuccess:g=>{var v;p(!1),(v=e.onSubmitSuccess)==null||v.call(e,g)},onSubmitError:g=>{var v;(v=e.onSubmitError)==null||v.call(e,g)},onFormSubmitted:()=>{var g;(g=e.onFormSubmitted)==null||g.call(e)},open:h}),s)};return u}});function Kie({h:e}){return function({action:n,imageBuffer:r,annotatingRef:o}){const i=()=>{if(n!=="annotate")return;const s=c=>{const u=o.current;if(u){const d=u.getBoundingClientRect(),p=c.clientX-d.x,h=c.clientY-d.y,g=u.getContext("2d");g&&(g.lineTo(p,h),g.stroke(),g.beginPath(),g.moveTo(p,h))}},l=()=>{var u;const c=(u=o.current)==null?void 0:u.getContext("2d");c&&c.beginPath(),a(),lt.removeEventListener("mousemove",s),lt.removeEventListener("mouseup",l)};lt.addEventListener("mousemove",s),lt.addEventListener("mouseup",l)},a=()=>{const s=r.getContext("2d"),l=o.current;if(s&&l){s.drawImage(l,0,0,l.width,l.height,0,0,r.width,r.height);const c=l.getContext("2d");c&&c.clearRect(0,0,l.width,l.height)}};return e("canvas",{class:`editor__annotation ${n==="annotate"?"editor__annotation--active":""}`,onMouseDown:i,ref:o})}}function Yie({h:e}){return function({top:n,left:r,corner:o,onGrabButton:i}){return e("button",{class:`editor__crop-corner editor__crop-corner--${o} `,style:{top:n,left:r},onMouseDown:a=>{a.preventDefault(),i(a,o)},onClick:a=>{a.preventDefault()}})}}const Ku=30,di=3,aa=Ku+di,Do=Qr.devicePixelRatio,aC=e=>({x:Math.min(e.startX,e.endX),y:Math.min(e.startY,e.endY),width:Math.abs(e.startX-e.endX),height:Math.abs(e.startY-e.endY)}),sC=e=>{const t=e.clientHeight,n=e.clientWidth,r=e.width/e.height;let o=t*r,i=t;o>n&&(o=n,i=n/r);const a=(n-o)/2,s=(t-i)/2;return{x:a,y:s,width:o,height:i}};function Zie({h:e,hooks:t,options:n}){const r=Yie({h:e});return function({action:i,imageBuffer:a,croppingRef:s,cropContainerRef:l,croppingRect:c,setCroppingRect:u,resize:d}){const p=t.useRef({initialX:0,initialY:0}),[h,g]=t.useState(!1),[v,b]=t.useState(!1);t.useEffect(()=>{const S=s.current;if(!S)return;const _=S.getContext("2d");if(!_)return;const C=sC(a),R=aC(c);_.clearRect(0,0,C.width,C.height),i==="crop"&&(_.fillStyle="rgba(0, 0, 0, 0.5)",_.fillRect(0,0,C.width,C.height),_.clearRect(R.x,R.y,R.width,R.height),_.strokeStyle="#ffffff",_.lineWidth=3,_.strokeRect(R.x+1,R.y+1,R.width-2,R.height-2),_.strokeStyle="#000000",_.lineWidth=1,_.strokeRect(R.x+3,R.y+3,R.width-6,R.height-6))},[c,i]);const m=t.useCallback(S=>_=>{if(!s.current)return;const C=s.current,R=C.getBoundingClientRect(),T=_.clientX-R.x,I=_.clientY-R.y;switch(S){case"top-left":u(D=>({...D,startX:Math.min(Math.max(0,T),D.endX-aa),startY:Math.min(Math.max(0,I),D.endY-aa)}));break;case"top-right":u(D=>({...D,endX:Math.max(Math.min(T,C.width/Do),D.startX+aa),startY:Math.min(Math.max(0,I),D.endY-aa)}));break;case"bottom-left":u(D=>({...D,startX:Math.min(Math.max(0,T),D.endX-aa),endY:Math.max(Math.min(I,C.height/Do),D.startY+aa)}));break;case"bottom-right":u(D=>({...D,endX:Math.max(Math.min(T,C.width/Do),D.startX+aa),endY:Math.max(Math.min(I,C.height/Do),D.startY+aa)}));break}},[]),y=S=>{if(h)return;p.current={initialX:S.clientX,initialY:S.clientY};const _=R=>{const T=s.current;if(!T)return;const I=R.clientX-p.current.initialX,D=R.clientY-p.current.initialY;u(F=>{const q=Math.max(0,Math.min(F.startX+I,T.width/Do-(F.endX-F.startX))),W=Math.max(0,Math.min(F.startY+D,T.height/Do-(F.endY-F.startY))),Q=q+(F.endX-F.startX),H=W+(F.endY-F.startY);return p.current.initialX=R.clientX,p.current.initialY=R.clientY,{startX:q,startY:W,endX:Q,endY:H}})},C=()=>{lt.removeEventListener("mousemove",_),lt.removeEventListener("mouseup",C)};lt.addEventListener("mousemove",_),lt.addEventListener("mouseup",C)},E=(S,_)=>{g(!0);const C=m(_),R=()=>{lt.removeEventListener("mousemove",C),lt.removeEventListener("mouseup",R),b(!0),g(!1)};lt.addEventListener("mouseup",R),lt.addEventListener("mousemove",C)};function w(){const S=lt.createElement("canvas"),_=sC(a),C=aC(c);S.width=C.width*Do,S.height=C.height*Do;const R=S.getContext("2d");R&&a&&R.drawImage(a,C.x/_.width*a.width,C.y/_.height*a.height,C.width/_.width*a.width,C.height/_.height*a.height,0,0,S.width,S.height);const T=a.getContext("2d");T&&(T.clearRect(0,0,a.width,a.height),a.width=S.width,a.height=S.height,a.style.width=`${C.width}px`,a.style.height=`${C.height}px`,T.drawImage(S,0,0),d())}return e("div",{class:`editor__crop-container ${i==="crop"?"":"editor__crop-container--inactive"}
|
|
662
|
-
${v?"editor__crop-container--move":""}`,ref:l},e("canvas",{onMouseDown:y,ref:s}),i==="crop"&&e("div",null,e(r,{left:c.startX-di,top:c.startY-di,onGrabButton:E,corner:"top-left"}),e(r,{left:c.endX-Ku+di,top:c.startY-di,onGrabButton:E,corner:"top-right"}),e(r,{left:c.startX-di,top:c.endY-Ku+di,onGrabButton:E,corner:"bottom-left"}),e(r,{left:c.endX-Ku+di,top:c.endY-Ku+di,onGrabButton:E,corner:"bottom-right"})),i==="crop"&&e("div",{style:{left:Math.max(0,c.endX-191),top:Math.max(0,c.endY+8)},class:`editor__crop-btn-group ${v?"editor__crop-btn-group--active":""}`},e("button",{onClick:S=>{S.preventDefault(),s.current&&u({startX:0,startY:0,endX:s.current.width/Do,endY:s.current.height/Do}),b(!1)},class:"btn btn--default"},n.cancelButtonLabel),e("button",{onClick:S=>{S.preventDefault(),w(),b(!1)},class:"btn btn--primary"},n.confirmButtonLabel)))}}function Xie(e){const t=lt.createElement("style"),n="#1A141F",r="#302735";return t.textContent=`
|
|
663
|
-
.editor {
|
|
664
|
-
display: flex;
|
|
665
|
-
flex-grow: 1;
|
|
666
|
-
flex-direction: column;
|
|
667
|
-
}
|
|
668
|
-
.editor__image-container {
|
|
669
|
-
padding: 10px;
|
|
670
|
-
padding-top: 65px;
|
|
671
|
-
padding-bottom: 65px;
|
|
672
|
-
position: relative;
|
|
673
|
-
height: 100%;
|
|
674
|
-
border-radius: var(--menu-border-radius, 6px);
|
|
675
|
-
|
|
676
|
-
background-color: ${n};
|
|
677
|
-
background-image: repeating-linear-gradient(
|
|
678
|
-
-145deg,
|
|
679
|
-
transparent,
|
|
680
|
-
transparent 8px,
|
|
681
|
-
${n} 8px,
|
|
682
|
-
${n} 11px
|
|
683
|
-
),
|
|
684
|
-
repeating-linear-gradient(
|
|
685
|
-
-45deg,
|
|
686
|
-
transparent,
|
|
687
|
-
transparent 15px,
|
|
688
|
-
${r} 15px,
|
|
689
|
-
${r} 16px
|
|
690
|
-
);
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
.editor__annotation {
|
|
694
|
-
z-index: 1;
|
|
695
|
-
}
|
|
696
|
-
.editor__annotation--active {
|
|
697
|
-
z-index: 2;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
.editor__canvas-container {
|
|
701
|
-
width: 100%;
|
|
702
|
-
height: 100%;
|
|
703
|
-
position: relative;
|
|
704
|
-
display: flex;
|
|
705
|
-
align-items: center;
|
|
706
|
-
justify-content: center;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
.editor__canvas-container canvas {
|
|
710
|
-
object-fit: contain;
|
|
711
|
-
position: absolute;
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
.editor__crop-container {
|
|
715
|
-
custor: auto;
|
|
716
|
-
position: absolute;
|
|
717
|
-
z-index: 2;
|
|
718
|
-
}
|
|
719
|
-
.editor__crop-container--inactive {
|
|
720
|
-
z-index: 1;
|
|
721
|
-
}
|
|
722
|
-
.editor__crop-container--move {
|
|
723
|
-
cursor: move;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
.editor__crop-btn-group {
|
|
727
|
-
padding: 8px;
|
|
728
|
-
gap: 8px;
|
|
729
|
-
border-radius: var(--menu-border-radius, 6px);
|
|
730
|
-
background: var(--button-background, var(--background));
|
|
731
|
-
width: 175px;
|
|
732
|
-
position: absolute;
|
|
733
|
-
display: none;
|
|
734
|
-
}
|
|
735
|
-
.editor__crop-btn-group--active {
|
|
736
|
-
display: flex;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
.editor__crop-corner {
|
|
740
|
-
width: 30px;
|
|
741
|
-
height: 30px;
|
|
742
|
-
position: absolute;
|
|
743
|
-
background: none;
|
|
744
|
-
border: 3px solid #ffffff;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
.editor__crop-corner--top-left {
|
|
748
|
-
cursor: nwse-resize;
|
|
749
|
-
border-right: none;
|
|
750
|
-
border-bottom: none;
|
|
751
|
-
}
|
|
752
|
-
.editor__crop-corner--top-right {
|
|
753
|
-
cursor: nesw-resize;
|
|
754
|
-
border-left: none;
|
|
755
|
-
border-bottom: none;
|
|
756
|
-
}
|
|
757
|
-
.editor__crop-corner--bottom-left {
|
|
758
|
-
cursor: nesw-resize;
|
|
759
|
-
border-right: none;
|
|
760
|
-
border-top: none;
|
|
761
|
-
}
|
|
762
|
-
.editor__crop-corner--bottom-right {
|
|
763
|
-
cursor: nwse-resize;
|
|
764
|
-
border-left: none;
|
|
765
|
-
border-top: none;
|
|
766
|
-
}
|
|
767
|
-
.editor__tool-container {
|
|
768
|
-
padding-top: 8px;
|
|
769
|
-
display: flex;
|
|
770
|
-
justify-content: space-between;
|
|
771
|
-
}
|
|
772
|
-
.editor__tool-bar {
|
|
773
|
-
display: flex;
|
|
774
|
-
gap: 8px;
|
|
775
|
-
}
|
|
776
|
-
.editor__tool {
|
|
777
|
-
display: flex;
|
|
778
|
-
padding: 8px 12px;
|
|
779
|
-
justify-content: center;
|
|
780
|
-
align-items: center;
|
|
781
|
-
border: var(--button-border, var(--border));
|
|
782
|
-
border-radius: var(--button-border-radius, 6px);
|
|
783
|
-
background: var(--button-background, var(--background));
|
|
784
|
-
color: var(--button-foreground, var(--foreground));
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
.editor__tool--active {
|
|
788
|
-
background: var(--button-primary-background, var(--accent-background));
|
|
789
|
-
color: var(--button-primary-foreground, var(--accent-foreground));
|
|
790
|
-
}
|
|
791
|
-
`,e&&t.setAttribute("nonce",e),t}function Jie({h:e}){return function(){return e("svg",{width:"20",height:"20",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M15.25 12.5H12.5M12.5 12.5H4.50001C3.94773 12.5 3.50001 12.0523 3.50001 11.5V3.50002M12.5 12.5L12.5 4.50002C12.5 3.94773 12.0523 3.50002 11.5 3.50002H3.50001M12.5 12.5L12.5 15.25M3.50001 3.50002V0.750031M3.50001 3.50002H0.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}}function Qie({h:e}){return function(){return e("svg",{width:"20",height:"20",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.5 12L12 8.5L14 11L11 14L8.5 12Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8.5L11 3.5L2 2L3.5 11L8.5 12L12 8.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M2 2L7.5 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}}function eae({h:e}){return function({action:n,setAction:r}){const o=Qie({h:e}),i=Jie({h:e});return e("div",{class:"editor__tool-container"},e("div",null),e("div",{class:"editor__tool-bar"},e("button",{type:"button",class:`editor__tool ${n==="crop"?"editor__tool--active":""}`,onClick:()=>{r(n==="crop"?"":"crop")}},e(i,null)),e("button",{type:"button",class:`editor__tool ${n==="annotate"?"editor__tool--active":""}`,onClick:()=>{r(n==="annotate"?"":"annotate")}},e(o,null))),e("div",null))}}function tae({hooks:e}){return function({onBeforeScreenshot:n,onScreenshot:r,onAfterScreenshot:o,onError:i}){e.useEffect(()=>{(async()=>{n();const s=await Gu.mediaDevices.getDisplayMedia({video:{width:Qr.innerWidth*Qr.devicePixelRatio,height:Qr.innerHeight*Qr.devicePixelRatio},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),l=lt.createElement("video");await new Promise((c,u)=>{l.srcObject=s,l.onloadedmetadata=()=>{r(l),s.getTracks().forEach(d=>d.stop()),c()},l.play().catch(u)}),o()})().catch(i)},[])}}const qp=Qr.devicePixelRatio,nae=e=>{const t=e.clientHeight,n=e.clientWidth,r=e.width/e.height;let o=t*r,i=t;o>n&&(o=n,i=n/r);const a=(n-o)/2,s=(t-i)/2;return{x:a,y:s,width:o,height:i}};function rae({h:e,hooks:t,imageBuffer:n,dialog:r,options:o}){const i=tae({hooks:t}),a=eae({h:e}),s=Kie({h:e}),l=Zie({h:e,hooks:t,options:o});return function({onError:u}){const d=t.useMemo(()=>({__html:Xie(o.styleNonce).innerText}),[]),p=t.useRef(null),h=t.useRef(null),g=t.useRef(null),v=t.useRef(null),[b,m]=t.useState("crop"),[y,E]=t.useState({startX:0,startY:0,endX:0,endY:0});t.useEffect(()=>(Qr.addEventListener("resize",S),()=>{Qr.removeEventListener("resize",S)}),[]);function w(_,C){const R=_.current;if(!R)return;R.width=C.width*qp,R.height=C.height*qp,R.style.width=`${C.width}px`,R.style.height=`${C.height}px`;const T=R.getContext("2d");T&&T.scale(qp,qp)}function S(){const _=nae(n);w(v,_),w(g,_);const C=h.current;C&&(C.style.width=`${_.width}px`,C.style.height=`${_.height}px`),E({startX:0,startY:0,endX:_.width,endY:_.height})}return i({onBeforeScreenshot:t.useCallback(()=>{r.el.style.display="none"},[]),onScreenshot:t.useCallback(_=>{const C=n.getContext("2d");if(!C)throw new Error("Could not get canvas context");n.width=_.videoWidth,n.height=_.videoHeight,n.style.width="100%",n.style.height="100%",C.drawImage(_,0,0)},[n]),onAfterScreenshot:t.useCallback(()=>{r.el.style.display="block";const _=p.current;_==null||_.appendChild(n),S()},[]),onError:t.useCallback(_=>{r.el.style.display="block",u(_)},[])}),e("div",{class:"editor"},e("style",{nonce:o.styleNonce,dangerouslySetInnerHTML:d}),e("div",{class:"editor__image-container"},e("div",{class:"editor__canvas-container",ref:p},e(l,{action:b,imageBuffer:n,croppingRef:v,cropContainerRef:h,croppingRect:y,setCroppingRect:E,resize:S}),e(s,{action:b,imageBuffer:n,annotatingRef:g}))),o._experiments.annotations&&e(a,{action:b,setAction:m}))}}const oae=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:n,options:r})=>{const o=lt.createElement("canvas");return{input:rae({h:e,hooks:t,imageBuffer:o,dialog:n,options:r}),value:async()=>{const i=await new Promise(a=>{o.toBlob(a,"image/png")});if(i)return{data:new Uint8Array(await i.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}}),iae=kI({lazyLoadIntegration:wk}),lC=kI({getModalIntegration:()=>Gie,getScreenshotIntegration:()=>oae}),cC=new WeakMap,S2=new Map,vd={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function FI(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:o,shouldCreateSpanForRequest:i,enableHTTPTimings:a,tracePropagationTargets:s}={traceFetch:vd.traceFetch,traceXHR:vd.traceXHR,trackFetchStreamPerformance:vd.trackFetchStreamPerformance,...t},l=typeof i=="function"?i:d=>!0,c=d=>lae(d,s),u={};n&&(e.addEventProcessor(d=>(d.type==="transaction"&&d.spans&&d.spans.forEach(p=>{if(p.op==="http.client"){const h=S2.get(p.span_id);h&&(p.timestamp=h/1e3,S2.delete(p.span_id))}}),d)),o&&NX(d=>{if(d.response){const p=cC.get(d.response);p&&d.endTimestamp&&S2.set(p,d.endTimestamp)}}),Z5(d=>{const p=RX(d,l,c,u);if(d.response&&d.fetchData.__span&&cC.set(d.response,d.fetchData.__span),p){const h=UI(d.fetchData.url),g=h?Mi(h).host:void 0;p.setAttributes({"http.url":h,"server.address":g})}a&&p&&uC(p)})),r&&n_(d=>{const p=cae(d,l,c,u);a&&p&&uC(p)})}function aae(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function uC(e){const{url:t}=Je(e).data;if(!t||typeof t!="string")return;const n=Rc("resource",({entries:r})=>{r.forEach(o=>{aae(o)&&o.name.endsWith(t)&&(sae(o).forEach(a=>e.setAttribute(...a)),setTimeout(n))})})}function Bo(e=0){return((Er()||performance.timeOrigin)+e)/1e3}function sae(e){const{name:t,version:n}=lk(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),Er()?[...r,["http.request.redirect_start",Bo(e.redirectStart)],["http.request.fetch_start",Bo(e.fetchStart)],["http.request.domain_lookup_start",Bo(e.domainLookupStart)],["http.request.domain_lookup_end",Bo(e.domainLookupEnd)],["http.request.connect_start",Bo(e.connectStart)],["http.request.secure_connection_start",Bo(e.secureConnectionStart)],["http.request.connection_end",Bo(e.connectEnd)],["http.request.request_start",Bo(e.requestStart)],["http.request.response_start",Bo(e.responseStart)],["http.request.response_end",Bo(e.responseEnd)]]:r}function lae(e,t){const n=Ys();if(n){let r,o;try{r=new URL(e,n),o=new URL(n).origin}catch{return!1}const i=r.origin===o;return t?ei(r.toString(),t)||i&&ei(r.pathname,t):i}else{const r=!!e.match(/^\/(?!\/)/);return t?ei(e,t):r}}function cae(e,t,n,r){const o=e.xhr,i=o==null?void 0:o[Ci];if(!o||o.__sentry_own_request__||!i)return;const{url:a,method:s}=i,l=Wa()&&t(a);if(e.endTimestamp&&l){const v=o.__sentry_xhr_span_id__;if(!v)return;const b=r[v];b&&i.status_code!==void 0&&(D5(b,i.status_code),b.end(),delete r[v]);return}const c=UI(a),u=Mi(c||a),d=Y5(a),p=!!Nn(),h=l&&p?Qc({name:`${s} ${d}`,attributes:{url:a,type:"xhr","http.method":s,"http.url":c,"server.address":u==null?void 0:u.host,[pn]:"auto.http.browser",[Hi]:"http.client",...(u==null?void 0:u.search)&&{"http.query":u==null?void 0:u.search},...(u==null?void 0:u.hash)&&{"http.fragment":u==null?void 0:u.hash}}}):new Vi;o.__sentry_xhr_span_id__=h.spanContext().spanId,r[o.__sentry_xhr_span_id__]=h,n(a)&&uae(o,Wa()&&p?h:void 0);const g=xe();return g&&g.emit("beforeOutgoingRequestSpan",h,e),h}function uae(e,t){const{"sentry-trace":n,baggage:r}=TT({span:t});n&&dae(e,n,r)}function dae(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader("baggage",n)}catch{}}function UI(e){try{return new URL(e,Pe.location.origin).href}catch{return}}function fae(){Pe.document?Pe.document.addEventListener("visibilitychange",()=>{const e=Nn();if(!e)return;const t=_n(e);if(Pe.document.hidden&&t){const n="cancelled",{op:r,status:o}=Je(t);Xe&&ne.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),o||t.setStatus({code:an,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):Xe&&ne.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const pae="BrowserTracing",hae={...x1,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...vd},mae=(e={})=>{const t=Pe.document;XR();const{enableInp:n,enableLongTask:r,enableLongAnimationFrame:o,_experiments:{enableInteractions:i,enableStandaloneClsSpans:a},beforeStartSpan:s,idleTimeout:l,finalTimeout:c,childSpanTimeout:u,markBackgroundSpan:d,traceFetch:p,traceXHR:h,trackFetchStreamPerformance:g,shouldCreateSpanForRequest:v,enableHTTPTimings:b,instrumentPageLoad:m,instrumentNavigation:y}={...hae,...e},E=jJ({recordClsStandaloneSpans:a||!1});n&&lQ(),o&&ze.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?BJ():r&&DJ(),i&&FJ();const w={name:void 0,source:void 0};function S(_,C){const R=C.op==="pageload",T=s?s(C):C,I=T.attributes||{};C.name!==T.name&&(I[Jr]="custom",T.attributes=I),w.name=T.name,w.source=I[Jr];const D=cT(T,{idleTimeout:l,finalTimeout:c,childSpanTimeout:u,disableAutoFinish:R,beforeSpanEnd:q=>{E(),WJ(q,{recordClsOnPageloadSpan:!a}),fC(_,void 0);const W=rt(),Q=W.getPropagationContext();W.setPropagationContext({...Q,traceId:D.spanContext().traceId,sampled:Zs(D),dsc:ii(q)})}});fC(_,D);function F(){t&&["interactive","complete"].includes(t.readyState)&&_.emit("idleSpanEnableAutoFinish",D)}R&&t&&(t.addEventListener("readystatechange",()=>{F()}),F())}return{name:pae,afterAllSetup(_){let C=Ys();function R(){const T=T0(_);T&&!Je(T).timestamp&&(Xe&&ne.log(`[Tracing] Finishing current active span with op: ${Je(T).op}`),T.end())}if(_.on("startNavigationSpan",T=>{xe()===_&&(R(),Cn().setPropagationContext({traceId:Ui(),sampleRand:Math.random()}),rt().setPropagationContext({traceId:Ui(),sampleRand:Math.random()}),S(_,{op:"navigation",...T}))}),_.on("startPageLoadSpan",(T,I={})=>{if(xe()!==_)return;R();const D=I.sentryTrace||dC("sentry-trace"),F=I.baggage||dC("baggage"),q=zR(D,F);rt().setPropagationContext(q),S(_,{op:"pageload",...T})}),Pe.location){if(m){const T=Er();HI(_,{name:Pe.location.pathname,startTime:T?T/1e3:void 0,attributes:{[Jr]:"url",[pn]:"auto.pageload.browser"}})}y&&_0(({to:T,from:I})=>{if(I===void 0&&(C==null?void 0:C.indexOf(T))!==-1){C=void 0;return}I!==T&&(C=void 0,VI(_,{name:Pe.location.pathname,attributes:{[Jr]:"url",[pn]:"auto.navigation.browser"}}))})}d&&fae(),i&&gae(_,l,c,u,w),n&&uQ(),FI(_,{traceFetch:p,traceXHR:h,trackFetchStreamPerformance:g,tracePropagationTargets:_.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:v,enableHTTPTimings:b})}}};function HI(e,t,n){return e.emit("startPageLoadSpan",t,n),rt().setTransactionName(t.name),T0(e)}function VI(e,t){return e.emit("startNavigationSpan",t),rt().setTransactionName(t.name),T0(e)}function dC(e){const t=Pe.document,n=t==null?void 0:t.querySelector(`meta[name=${e}]`);return(n==null?void 0:n.getAttribute("content"))||void 0}function gae(e,t,n,r,o){const i=Pe.document;let a;const s=()=>{const l="ui.action.click",c=T0(e);if(c){const u=Je(c).op;if(["navigation","pageload"].includes(u)){Xe&&ne.warn(`[Tracing] Did not create ${l} span because a pageload or navigation span is in progress.`);return}}if(a&&(a.setAttribute(_v,"interactionInterrupted"),a.end(),a=void 0),!o.name){Xe&&ne.warn(`[Tracing] Did not create ${l} transaction because _latestRouteName is missing.`);return}a=cT({name:o.name,op:l,attributes:{[Jr]:o.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};i&&addEventListener("click",s,{once:!1,capture:!0})}const zI="_sentry_idleSpan";function T0(e){return e[zI]}function fC(e,t){br(e,zI,t)}function $c(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function yae(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=$c(n);return o=>r.then(i=>o(i.transaction(t,"readwrite").objectStore(t)))}function T_(e){return $c(e.getAllKeys())}function vae(e,t,n){return e(r=>T_(r).then(o=>{if(!(o.length>=n))return r.put(t,Math.max(...o,0)+1),$c(r.transaction)}))}function _ae(e,t,n){return e(r=>T_(r).then(o=>{if(!(o.length>=n))return r.put(t,Math.min(...o,0)-1),$c(r.transaction)}))}function bae(e){return e(t=>T_(t).then(n=>{const r=n[0];if(r!=null)return $c(t.get(r)).then(o=>(t.delete(r),$c(t.transaction).then(()=>o)))}))}function Eae(e){let t;function n(){return t==null&&(t=yae(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{push:async r=>{try{const o=await jh(r);await vae(n(),o,e.maxQueueSize||30)}catch{}},unshift:async r=>{try{const o=await jh(r);await _ae(n(),o,e.maxQueueSize||30)}catch{}},shift:async()=>{try{const r=await bae(n());if(r)return oY(r)}catch{}}}}function Cae(e){return t=>{const n=e({...t,createStore:Eae});return Pe.addEventListener("online",async r=>{await n.flush()}),n}}function Sae(e=o_){return Cae(gZ(e))}const pC=1e6,$1=String(0),wae="main",Yr=Pe.navigator;let WI="",qI="",GI="",e3=(Yr==null?void 0:Yr.userAgent)||"",KI="";var bS;const xae=(Yr==null?void 0:Yr.language)||((bS=Yr==null?void 0:Yr.languages)==null?void 0:bS[0])||"";function Mae(e){return typeof e=="object"&&e!==null&&"getHighEntropyValues"in e}const hC=Yr==null?void 0:Yr.userAgentData;Mae(hC)&&hC.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{var t;if(WI=e.platform||"",GI=e.architecture||"",KI=e.model||"",qI=e.platformVersion||"",(t=e.fullVersionList)!=null&&t.length){const n=e.fullVersionList[e.fullVersionList.length-1];e3=`${n.brand} ${n.version}`}}).catch(e=>{});function Rae(e){return!("thread_metadata"in e)}function Tae(e){return Rae(e)?Lae(e):e}function kae(e){var n,r;const t=(r=(n=e.contexts)==null?void 0:n.trace)==null?void 0:r.trace_id;return typeof t=="string"&&t.length!==32&&Xe&&ne.log(`[Profiling] Invalid traceId: ${t} on profiled event`),typeof t!="string"?"":t}function Iae(e,t,n,r){if(r.type!=="transaction")throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(n==null)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);const o=kae(r),i=Tae(n),a=t||(typeof r.start_timestamp=="number"?r.start_timestamp*1e3:vn()*1e3),s=typeof r.timestamp=="number"?r.timestamp*1e3:vn()*1e3;return{event_id:e,timestamp:new Date(a).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||h0,runtime:{name:"javascript",version:Pe.navigator.userAgent},os:{name:WI,version:qI,build_number:e3},device:{locale:xae,model:KI,manufacturer:e3,architecture:GI,is_emulator:!1},debug_meta:{images:Pae(n.resources)},profile:i,transactions:[{name:r.transaction||"",id:r.event_id||nr(),trace_id:o,active_thread_id:$1,relative_start_ns:"0",relative_end_ns:((s-a)*1e6).toFixed(0)}]}}function YI(e){return Je(e).op==="pageload"}function Lae(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[$1]:{name:wae}}},o=e.samples[0];if(!o)return r;const i=o.timestamp,a=Er(),s=typeof performance.timeOrigin=="number"?performance.timeOrigin:a||0,l=s-(a||s);return e.samples.forEach((c,u)=>{if(c.stackId===void 0){t===void 0&&(t=n,r.stacks[t]=[],n++),r.samples[u]={elapsed_since_start_ns:((c.timestamp+l-i)*pC).toFixed(0),stack_id:t,thread_id:$1};return}let d=e.stacks[c.stackId];const p=[];for(;d;){p.push(d.frameId);const g=e.frames[d.frameId];g&&r.frames[d.frameId]===void 0&&(r.frames[d.frameId]={function:g.name,abs_path:typeof g.resourceId=="number"?e.resources[g.resourceId]:void 0,lineno:g.line,colno:g.column}),d=d.parentId===void 0?void 0:e.stacks[d.parentId]}const h={elapsed_since_start_ns:((c.timestamp+l-i)*pC).toFixed(0),stack_id:n,thread_id:$1};r.stacks[n]=p,r.samples[u]=h,n++}),r}function Oae(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n]);return e}function Aae(e){const t=[];return Us(e,(n,r)=>{if(r==="transaction")for(let o=1;o<n.length;o++){const i=n[o];i!=null&&i.contexts&&i.contexts.profile&&i.contexts.profile.profile_id&&t.push(n[o])}}),t}function Pae(e){const t=xe(),n=t==null?void 0:t.getOptions(),r=n==null?void 0:n.stackParser;return r?xY(r,e):[]}function Nae(e){return typeof e!="number"&&typeof e!="boolean"||typeof e=="number"&&isNaN(e)?(Xe&&ne.warn(`[Profiling] Invalid sample rate. 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?!0:e<0||e>1?(Xe&&ne.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function $ae(e){return e.samples.length<2?(Xe&&ne.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):e.frames.length?!0:(Xe&&ne.log("[Profiling] Discarding profile because it contains no frames"),!1)}let ZI=!1;const XI=3e4;function jae(e){return typeof e=="function"}function Dae(){const e=Pe.Profiler;if(!jae(e)){Xe&&ne.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}const t=10,n=Math.floor(XI/t);try{return new e({sampleInterval:t,maxBufferSize:n})}catch{Xe&&(ne.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),ne.log("[Profiling] Disabling profiling for current user session.")),ZI=!0}}function mC(e){if(ZI)return Xe&&ne.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return Xe&&ne.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const t=xe(),n=t==null?void 0:t.getOptions();if(!n)return Xe&&ne.log("[Profiling] Profiling disabled, no options found."),!1;const r=n.profilesSampleRate;return Nae(r)?r?(r===!0?!0:Math.random()<r)?!0:(Xe&&ne.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(Xe&&ne.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(Xe&&ne.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function Bae(e,t,n,r){return $ae(n)?Iae(e,t,n,r):null}const ws=new Map;function Fae(){return ws.size}function Uae(e){const t=ws.get(e);return t&&ws.delete(e),t}function Hae(e,t){if(ws.set(e,t),ws.size>30){const n=ws.keys().next().value;ws.delete(n)}}function gC(e){let t;YI(e)&&(t=vn()*1e3);const n=Dae();if(!n)return;Xe&&ne.log(`[Profiling] started profiling span: ${Je(e).description}`);const r=nr();rt().setContext("profile",{profile_id:r,start_timestamp:t});async function o(){if(e&&n)return n.stop().then(l=>{if(i&&(Pe.clearTimeout(i),i=void 0),Xe&&ne.log(`[Profiling] stopped profiling of span: ${Je(e).description}`),!l){Xe&&ne.log(`[Profiling] profiler returned null profile for: ${Je(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}Hae(r,l)}).catch(l=>{Xe&&ne.log("[Profiling] error while stopping profiler:",l)})}let i=Pe.setTimeout(()=>{Xe&&ne.log("[Profiling] max profile duration elapsed, stopping profiling for:",Je(e).description),o()},XI);const a=e.end.bind(e);function s(){return e?(o().then(()=>{a()},()=>{a()}),e):a()}e.end=s}const Vae="BrowserProfiling",zae=()=>({name:Vae,setup(e){const t=Nn(),n=t&&_n(t);n&&YI(n)&&mC(n)&&gC(n),e.on("spanStart",r=>{r===_n(r)&&mC(r)&&gC(r)}),e.on("beforeEnvelope",r=>{var a,s;if(!Fae())return;const o=Aae(r);if(!o.length)return;const i=[];for(const l of o){const c=l==null?void 0:l.contexts,u=(a=c==null?void 0:c.profile)==null?void 0:a.profile_id,d=(s=c==null?void 0:c.profile)==null?void 0:s.start_timestamp;if(typeof u!="string"){Xe&&ne.log("[Profiling] cannot find profile for a span without a profile context");continue}if(!u){Xe&&ne.log("[Profiling] cannot find profile for a span without a profile context");continue}c!=null&&c.profile&&delete c.profile;const p=Uae(u);if(!p){Xe&&ne.log(`[Profiling] Could not retrieve profile for span: ${u}`);continue}const h=Bae(u,d,p,l);h&&i.push(h)}Oae(r,i)})}}),Wae=zae,qae="SpotlightBrowser",Gae=(e={})=>{const t=e.sidecarUrl||"http://localhost:8969/stream";return{name:qae,setup:()=>{Xe&&ne.log("Using Sidecar URL",t)},processEvent:n=>Zae(n)?null:n,afterAllSetup:n=>{Kae(n,t)}}};function Kae(e,t){const n=t_("fetch");let r=0;e.on("beforeEnvelope",o=>{if(r>3){ne.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",r);return}n(t,{method:"POST",body:jh(o),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(i=>{i.status>=200&&i.status<400&&(r=0)},i=>{r++,ne.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",i)})})}const Yae=Gae;function Zae(e){return!!(e.type==="transaction"&&e.spans&&e.contexts&&e.contexts.trace&&e.contexts.trace.op==="ui.action.click"&&e.spans.some(({description:t})=>t==null?void 0:t.includes("#sentry-spotlight")))}const Xae=100;function Hf(e){const n=rt().getScopeData().contexts.flags,r=n?n.values:[];return r.length&&(e.contexts===void 0&&(e.contexts={}),e.contexts.flags={values:[...r]}),e}function jc(e,t,n=Xae){const r=rt().getScopeData().contexts;r.flags||(r.flags={values:[]});const o=r.flags.values;Jae(o,e,t,n)}function Jae(e,t,n,r){if(typeof n!="boolean")return;if(e.length>r){Xe&&ne.error(`[Feature Flags] insertToFlagBuffer called on a buffer larger than maxSize=${r}`);return}const o=e.findIndex(i=>i.flag===t);o!==-1&&e.splice(o,1),e.length===r&&e.shift(),e.push({flag:t,result:n})}const Qae=()=>({name:"FeatureFlags",processEvent(e,t,n){return Hf(e)},addFeatureFlag(e,t){jc(e,t)}}),ese=()=>({name:"LaunchDarkly",processEvent(e,t,n){return Hf(e)}});function tse(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,t,n)=>{jc(e,t.value)}}}const nse=()=>({name:"OpenFeature",processEvent(e,t,n){return Hf(e)}});class rse{after(t,n){jc(n.flagKey,n.value)}error(t,n,r){jc(t.flagKey,t.defaultValue)}}const ose=({featureFlagClientClass:e})=>({name:"Unleash",processEvent(t,n,r){return Hf(t)},setupOnce(){const t=e.prototype;Qn(t,"isEnabled",ise)}});function ise(e){return function(...t){const n=t[0],r=e.apply(this,t);return typeof n=="string"&&typeof r=="boolean"?jc(n,r):Xe&&ne.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${n} (${typeof n}), result: ${r} (${typeof r})`),r}}const ase=({featureFlagClient:e})=>({name:"Statsig",processEvent(t,n,r){return Hf(t)},setup(){e.on("gate_evaluation",t=>{jc(t.gate.name,t.gate.value)})}}),sse=Object.freeze(Object.defineProperty({__proto__:null,BrowserClient:KT,OpenFeatureIntegrationHook:rse,SDK_VERSION:xi,SEMANTIC_ATTRIBUTE_SENTRY_OP:Hi,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:pn,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:$5,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:Jr,Scope:Oo,WINDOW:Pe,addBreadcrumb:zi,addEventProcessor:hT,addIntegration:Tv,breadcrumbsIntegration:gk,browserApiErrorsIntegration:yk,browserProfilingIntegration:Wae,browserSessionIntegration:vk,browserTracingIntegration:mae,buildLaunchDarklyFlagUsedHandler:tse,captureConsoleIntegration:ZZ,captureEvent:Af,captureException:m0,captureFeedback:BT,captureMessage:Dh,captureSession:Rv,chromeStackLineParser:dk,close:KY,contextLinesIntegration:$ee,continueTrace:gY,createTransport:xT,createUserFeedbackEnvelope:OQ,dedupeIntegration:$T,defaultRequestInstrumentationOptions:vd,defaultStackLineParsers:pk,defaultStackParser:hk,endSession:G5,eventFiltersIntegration:IT,eventFromException:qT,eventFromMessage:GT,exceptionFromError:g0,extraErrorDataIntegration:iX,featureFlagsIntegration:Qae,feedbackAsyncIntegration:iae,feedbackIntegration:lC,feedbackSyncIntegration:lC,flush:GY,forceLoad:fee,functionToStringIntegration:kT,geckoStackLineParser:fk,getActiveSpan:Nn,getClient:xe,getCurrentScope:rt,getDefaultIntegrations:Sk,getFeedback:hie,getGlobalScope:N5,getIsolationScope:Cn,getReplay:woe,getRootSpan:_n,getSpanDescendants:fd,getSpanStatusFromHttpCode:DR,globalHandlersIntegration:_k,graphqlClientIntegration:zee,httpClientIntegration:Cee,httpContextIntegration:Ek,inboundFiltersIntegration:LT,init:uee,instrumentOutgoingRequests:FI,isInitialized:YY,lastEventId:pT,launchDarklyIntegration:ese,lazyLoadIntegration:wk,linkedErrorsIntegration:Ck,makeBrowserOfflineTransport:Sae,makeFetchTransport:o_,makeMultiplexedTransport:_Z,moduleMetadataIntegration:qZ,onLoad:pee,openFeatureIntegration:nse,opera10StackLineParser:TQ,opera11StackLineParser:LQ,parameterize:CZ,registerSpanErrorInstrumentation:XR,replayCanvasIntegration:Voe,replayIntegration:Eoe,reportingObserverIntegration:_ee,rewriteFramesIntegration:hX,sendFeedback:RI,setContext:fT,setCurrentClient:ET,setExtra:VY,setExtras:HY,setHttpStatus:D5,setMeasurement:sT,setTag:WY,setTags:zY,setUser:qY,showReportDialog:dee,spanToBaggageHeader:HK,spanToJSON:Je,spanToTraceHeader:GR,spotlightBrowserIntegration:Yae,startBrowserTracingNavigationSpan:VI,startBrowserTracingPageLoadSpan:HI,startInactiveSpan:Qc,startNewTrace:vY,startSession:Mv,startSpan:hY,startSpanManual:mY,statsigIntegration:ase,suppressTracing:yY,thirdPartyErrorFilterIntegration:xX,unleashIntegration:ose,updateSpanName:UK,winjsStackLineParser:xQ,withActiveSpan:Lf,withIsolationScope:wK,withScope:Ao,zodErrorsIntegration:wX},Symbol.toStringTag,{value:"Module"})),lse=e=>{typeof window<"u"&&window.Sentry&&e(sse)},cse=(e,t)=>M.useEffect(()=>{const n=e().catch(r=>{console.error("AsyncEffect error: ",r),lse(o=>o.captureException("AsyncEffect error: "+r.message,{extra:r}))});return function(){n.then(r=>{typeof r=="function"&&r()})}},t),hl="Unknown";function JI(){const[e,t]=M.useState(!0),[n,r]=M.useState();return cse(async()=>{t(!0);const o=new ri(navigator.userAgent),i=o.getResult(),a=await i.withClientHints(),s={name:i.browser.name??hl,version:i.browser.version??hl},l={name:i.engine.name??hl,version:i.engine.version??hl},[c,u]=await Promise.all([o.getOS().withClientHints(),o.getCPU().withClientHints()]),d={name:c.name??hl,version:c.version??hl};let p;u.architecture?p=u.architecture:p=d.name==="macOS"&&GG(a)?"arm64":"Unknown",r({browser:s,engine:l,os:d,cpu:{architecture:p},mobile:o.getDevice().is("mobile"),tablet:o.getDevice().is("tablet")}),t(!1)},[]),[e,n]}const QI=Ef(f.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"}),"Close");K("span")(({theme:e})=>({color:e.palette.text.primary,fontFamily:e.typography.fontFamily}));const use=K("div",{shouldForwardProp:e=>e!=="inline"})(e=>({width:"inherit",height:"inherit",display:e.inline?"inline-flex":"flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"})),dse=K(bz)(e=>{const{size:t,theme:n}=e,r={width:"32px",height:"32px"};return t==="tiny"?(r.width="20px",r.height="20px"):t==="small"?(r.width="32px",r.height="32px"):t==="medium"?(r.width="48px",r.height="48px"):t==="large"?(r.width="108px",r.height="108px"):t==="responsive"&&(r.width="93px",r.height="93px"),{backgroundColor:n.palette.secondary.light,...r,"@media (min-width: 1200px)":t==="responsive"&&{width:"170px",height:"170px"}}}),fse=Y.memo(e=>{var i,a;const{avatar:t,inline:n,...r}=e;let o=(a=(i=t==null?void 0:t.avatar)==null?void 0:i.snapshots)==null?void 0:a.face256;return o&&!o.startsWith("https://")&&(o=`https://peer.decentraland.org/content/contents/${o}`),f.jsx(use,{inline:n,children:f.jsx(dse,{src:o,...r})})});var eL={exports:{}};(function(e){(function(){var t=new Array(4);function n(u){for(var d=0;d<t.length;d++)t[d]=0;for(var d=0;d<u.length;d++)t[d%4]=(t[d%4]<<5)-t[d%4]+u.charCodeAt(d)}function r(){var u=t[0]^t[0]<<11;return t[0]=t[1],t[1]=t[2],t[2]=t[3],t[3]=t[3]^t[3]>>19^u^u>>8,(t[3]>>>0)/(1<<31>>>0)}function o(){var u=Math.floor(r()*360),d=r()*60+40+"%",p=(r()+r()+r()+r())*25+"%",h="hsl("+u+","+d+","+p+")";return h}function i(u){for(var d=u,p=u,h=Math.ceil(d/2),g=d-h,v=[],b=0;b<p;b++){for(var m=[],y=0;y<h;y++)m[y]=Math.floor(r()*2.3);var E=m.slice(0,g);E.reverse(),m=m.concat(E);for(var w=0;w<m.length;w++)v.push(m[w])}return v}function a(u){var d={};return d.size=u.size||8,d.scale=u.scale||4,d.seed=u.seed||Math.floor(Math.random()*Math.pow(10,16)).toString(16),d.color=u.color||o(),d.bgcolor=u.bgcolor||o(),d.spotcolor=u.spotcolor||o(),n(d.seed),d}function s(p,d){var p=a(p||{}),h=i(p.size),g=Math.sqrt(h.length);d.width=d.height=p.size*p.scale;var v=d.getContext("2d");v.fillStyle=p.bgcolor,v.fillRect(0,0,d.width,d.height),v.fillStyle=p.color;for(var b=0;b<h.length;b++)if(h[b]){var m=Math.floor(b/g),y=b%g;v.fillStyle=h[b]==1?p.color:p.spotcolor,v.fillRect(y*p.scale,m*p.scale,p.scale,p.scale)}return d}function l(d){var d=a(d||{}),p=document.createElement("canvas");return s(d,p),p}var c={create:l,render:s};e.exports=c,typeof window<"u"&&(window.blockies=c)})()})(eL);var pse=eL.exports;const hse=K("canvas")(e=>{const{scale:t,size:n}=e;return{borderRadius:6,verticalAlign:"text-bottom",lineHeight:"0.5em",marginLeft:"0.1em",...t*n<=16&&{borderRadius:1.5},...t*n<=24&&{borderRadius:3},...t*n<=36&&{borderRadius:4}}}),mse=K(Ne)({marginLeft:"0.5em"});Y.memo(e=>{const{seed:t,color:n="#e449c2",spotcolor:r="#e449c2",bgcolor:o="#3149de",size:i=6,scale:a=6,children:s}=e,l=M.useRef(null),c=M.useCallback(()=>({seed:t?t.toLowerCase():"",color:n,spotcolor:r,bgcolor:o,size:i,scale:a}),[t,n,r,o,i,a]),u=M.useCallback(()=>{if(!l||!l.current)return;const p=l.current.getContext("2d");p&&(p.clearRect(0,0,i*a,i*a),pse.render(c(),l.current))},[c,i,a]);M.useEffect(()=>{u()},[u]);const d=f.jsx(hse,{scale:a,size:i,ref:l});return s?f.jsxs(Ne,{component:"span",children:[d,f.jsx(mse,{component:"span",children:s})]}):d});var _e={},tL={},nL={},rL={},de={},t3={exports:{}},oL={},ro={},Dc={},ou={},Be={},Bc={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends t{constructor(y){if(super(),!e.IDENTIFIER.test(y))throw new Error("CodeGen: name must be a valid identifier");this.str=y}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=n;class r extends t{constructor(y){super(),this._items=typeof y=="string"?[y]:y}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const y=this._items[0];return y===""||y==='""'}get str(){var y;return(y=this._str)!==null&&y!==void 0?y:this._str=this._items.reduce((E,w)=>`${E}${w}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((E,w)=>(w instanceof n&&(E[w.str]=(E[w.str]||0)+1),E),{})}}e._Code=r,e.nil=new r("");function o(m,...y){const E=[m[0]];let w=0;for(;w<y.length;)s(E,y[w]),E.push(m[++w]);return new r(E)}e._=o;const i=new r("+");function a(m,...y){const E=[h(m[0])];let w=0;for(;w<y.length;)E.push(i),s(E,y[w]),E.push(i,h(m[++w]));return l(E),new r(E)}e.str=a;function s(m,y){y instanceof r?m.push(...y._items):y instanceof n?m.push(y):m.push(d(y))}e.addCodeArg=s;function l(m){let y=1;for(;y<m.length-1;){if(m[y]===i){const E=c(m[y-1],m[y+1]);if(E!==void 0){m.splice(y-1,3,E);continue}m[y++]="+"}y++}}function c(m,y){if(y==='""')return m;if(m==='""')return y;if(typeof m=="string")return y instanceof n||m[m.length-1]!=='"'?void 0:typeof y!="string"?`${m.slice(0,-1)}${y}"`:y[0]==='"'?m.slice(0,-1)+y.slice(1):void 0;if(typeof y=="string"&&y[0]==='"'&&!(m instanceof n))return`"${m}${y.slice(1)}`}function u(m,y){return y.emptyStr()?m:m.emptyStr()?y:a`${m}${y}`}e.strConcat=u;function d(m){return typeof m=="number"||typeof m=="boolean"||m===null?m:h(Array.isArray(m)?m.join(","):m)}function p(m){return new r(h(m))}e.stringify=p;function h(m){return JSON.stringify(m).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=h;function g(m){return typeof m=="string"&&e.IDENTIFIER.test(m)?new r(`.${m}`):o`[${m}]`}e.getProperty=g;function v(m){if(typeof m=="string"&&e.IDENTIFIER.test(m))return new r(`${m}`);throw new Error(`CodeGen: invalid export name: ${m}, use explicit $id name mapping`)}e.getEsmExportName=v;function b(m){return new r(m.toString())}e.regexpCode=b})(Bc);var n3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Bc;class n extends Error{constructor(c){super(`CodeGen: "code" for ${c} not defined`),this.value=c.value}}var r;(function(l){l[l.Started=0]="Started",l[l.Completed=1]="Completed"})(r||(e.UsedValueState=r={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:c,parent:u}={}){this._names={},this._prefixes=c,this._parent=u}toName(c){return c instanceof t.Name?c:this.name(c)}name(c){return new t.Name(this._newName(c))}_newName(c){const u=this._names[c]||this._nameGroup(c);return`${c}${u.index++}`}_nameGroup(c){var u,d;if(!((d=(u=this._parent)===null||u===void 0?void 0:u._prefixes)===null||d===void 0)&&d.has(c)||this._prefixes&&!this._prefixes.has(c))throw new Error(`CodeGen: prefix "${c}" is not allowed in this scope`);return this._names[c]={prefix:c,index:0}}}e.Scope=o;class i extends t.Name{constructor(c,u){super(u),this.prefix=c}setValue(c,{property:u,itemIndex:d}){this.value=c,this.scopePath=(0,t._)`.${new t.Name(u)}[${d}]`}}e.ValueScopeName=i;const a=(0,t._)`\n`;class s extends o{constructor(c){super(c),this._values={},this._scope=c.scope,this.opts={...c,_n:c.lines?a:t.nil}}get(){return this._scope}name(c){return new i(c,this._newName(c))}value(c,u){var d;if(u.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const p=this.toName(c),{prefix:h}=p,g=(d=u.key)!==null&&d!==void 0?d:u.ref;let v=this._values[h];if(v){const y=v.get(g);if(y)return y}else v=this._values[h]=new Map;v.set(g,p);const b=this._scope[h]||(this._scope[h]=[]),m=b.length;return b[m]=u.ref,p.setValue(u,{property:h,itemIndex:m}),p}getValue(c,u){const d=this._values[c];if(d)return d.get(u)}scopeRefs(c,u=this._values){return this._reduceValues(u,d=>{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,t._)`${c}${d.scopePath}`})}scopeCode(c=this._values,u,d){return this._reduceValues(c,p=>{if(p.value===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return p.value.code},u,d)}_reduceValues(c,u,d={},p){let h=t.nil;for(const g in c){const v=c[g];if(!v)continue;const b=d[g]=d[g]||new Map;v.forEach(m=>{if(b.has(m))return;b.set(m,r.Started);let y=u(m);if(y){const E=this.opts.es5?e.varKinds.var:e.varKinds.const;h=(0,t._)`${h}${E} ${m} = ${y};${this.opts._n}`}else if(y=p==null?void 0:p(m))h=(0,t._)`${h}${y}${this.opts._n}`;else throw new n(m);b.set(m,r.Completed)})}return h}}e.ValueScope=s})(n3);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Bc,n=n3;var r=Bc;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return r.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return r.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return r.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}});var o=n3;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class i{optimizeNodes(){return this}optimizeNames(x,k){return this}}class a extends i{constructor(x,k,j){super(),this.varKind=x,this.name=k,this.rhs=j}render({es5:x,_n:k}){const j=x?n.varKinds.var:this.varKind,J=this.rhs===void 0?"":` = ${this.rhs}`;return`${j} ${this.name}${J};`+k}optimizeNames(x,k){if(x[this.name.str])return this.rhs&&(this.rhs=W(this.rhs,x,k)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class s extends i{constructor(x,k,j){super(),this.lhs=x,this.rhs=k,this.sideEffects=j}render({_n:x}){return`${this.lhs} = ${this.rhs};`+x}optimizeNames(x,k){if(!(this.lhs instanceof t.Name&&!x[this.lhs.str]&&!this.sideEffects))return this.rhs=W(this.rhs,x,k),this}get names(){const x=this.lhs instanceof t.Name?{}:{...this.lhs.names};return q(x,this.rhs)}}class l extends s{constructor(x,k,j,J){super(x,j,J),this.op=k}render({_n:x}){return`${this.lhs} ${this.op}= ${this.rhs};`+x}}class c extends i{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`${this.label}:`+x}}class u extends i{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`break${this.label?` ${this.label}`:""};`+x}}class d extends i{constructor(x){super(),this.error=x}render({_n:x}){return`throw ${this.error};`+x}get names(){return this.error.names}}class p extends i{constructor(x){super(),this.code=x}render({_n:x}){return`${this.code};`+x}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(x,k){return this.code=W(this.code,x,k),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class h extends i{constructor(x=[]){super(),this.nodes=x}render(x){return this.nodes.reduce((k,j)=>k+j.render(x),"")}optimizeNodes(){const{nodes:x}=this;let k=x.length;for(;k--;){const j=x[k].optimizeNodes();Array.isArray(j)?x.splice(k,1,...j):j?x[k]=j:x.splice(k,1)}return x.length>0?this:void 0}optimizeNames(x,k){const{nodes:j}=this;let J=j.length;for(;J--;){const L=j[J];L.optimizeNames(x,k)||(Q(x,L.names),j.splice(J,1))}return j.length>0?this:void 0}get names(){return this.nodes.reduce((x,k)=>F(x,k.names),{})}}class g extends h{render(x){return"{"+x._n+super.render(x)+"}"+x._n}}class v extends h{}class b extends g{}b.kind="else";class m extends g{constructor(x,k){super(k),this.condition=x}render(x){let k=`if(${this.condition})`+super.render(x);return this.else&&(k+="else "+this.else.render(x)),k}optimizeNodes(){super.optimizeNodes();const x=this.condition;if(x===!0)return this.nodes;let k=this.else;if(k){const j=k.optimizeNodes();k=this.else=Array.isArray(j)?new b(j):j}if(k)return x===!1?k instanceof m?k:k.nodes:this.nodes.length?this:new m(H(x),k instanceof m?[k]:k.nodes);if(!(x===!1||!this.nodes.length))return this}optimizeNames(x,k){var j;if(this.else=(j=this.else)===null||j===void 0?void 0:j.optimizeNames(x,k),!!(super.optimizeNames(x,k)||this.else))return this.condition=W(this.condition,x,k),this}get names(){const x=super.names;return q(x,this.condition),this.else&&F(x,this.else.names),x}}m.kind="if";class y extends g{}y.kind="for";class E extends y{constructor(x){super(),this.iteration=x}render(x){return`for(${this.iteration})`+super.render(x)}optimizeNames(x,k){if(super.optimizeNames(x,k))return this.iteration=W(this.iteration,x,k),this}get names(){return F(super.names,this.iteration.names)}}class w extends y{constructor(x,k,j,J){super(),this.varKind=x,this.name=k,this.from=j,this.to=J}render(x){const k=x.es5?n.varKinds.var:this.varKind,{name:j,from:J,to:L}=this;return`for(${k} ${j}=${J}; ${j}<${L}; ${j}++)`+super.render(x)}get names(){const x=q(super.names,this.from);return q(x,this.to)}}class S extends y{constructor(x,k,j,J){super(),this.loop=x,this.varKind=k,this.name=j,this.iterable=J}render(x){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(x)}optimizeNames(x,k){if(super.optimizeNames(x,k))return this.iterable=W(this.iterable,x,k),this}get names(){return F(super.names,this.iterable.names)}}class _ extends g{constructor(x,k,j){super(),this.name=x,this.args=k,this.async=j}render(x){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(x)}}_.kind="func";class C extends h{render(x){return"return "+super.render(x)}}C.kind="return";class R extends g{render(x){let k="try"+super.render(x);return this.catch&&(k+=this.catch.render(x)),this.finally&&(k+=this.finally.render(x)),k}optimizeNodes(){var x,k;return super.optimizeNodes(),(x=this.catch)===null||x===void 0||x.optimizeNodes(),(k=this.finally)===null||k===void 0||k.optimizeNodes(),this}optimizeNames(x,k){var j,J;return super.optimizeNames(x,k),(j=this.catch)===null||j===void 0||j.optimizeNames(x,k),(J=this.finally)===null||J===void 0||J.optimizeNames(x,k),this}get names(){const x=super.names;return this.catch&&F(x,this.catch.names),this.finally&&F(x,this.finally.names),x}}class T extends g{constructor(x){super(),this.error=x}render(x){return`catch(${this.error})`+super.render(x)}}T.kind="catch";class I extends g{render(x){return"finally"+super.render(x)}}I.kind="finally";class D{constructor(x,k={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...k,_n:k.lines?`
|
|
792
|
-
`:""},this._extScope=x,this._scope=new n.Scope({parent:x}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(x){return this._scope.name(x)}scopeName(x){return this._extScope.name(x)}scopeValue(x,k){const j=this._extScope.value(x,k);return(this._values[j.prefix]||(this._values[j.prefix]=new Set)).add(j),j}getScopeValue(x,k){return this._extScope.getValue(x,k)}scopeRefs(x){return this._extScope.scopeRefs(x,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(x,k,j,J){const L=this._scope.toName(k);return j!==void 0&&J&&(this._constants[L.str]=j),this._leafNode(new a(x,L,j)),L}const(x,k,j){return this._def(n.varKinds.const,x,k,j)}let(x,k,j){return this._def(n.varKinds.let,x,k,j)}var(x,k,j){return this._def(n.varKinds.var,x,k,j)}assign(x,k,j){return this._leafNode(new s(x,k,j))}add(x,k){return this._leafNode(new l(x,e.operators.ADD,k))}code(x){return typeof x=="function"?x():x!==t.nil&&this._leafNode(new p(x)),this}object(...x){const k=["{"];for(const[j,J]of x)k.length>1&&k.push(","),k.push(j),(j!==J||this.opts.es5)&&(k.push(":"),(0,t.addCodeArg)(k,J));return k.push("}"),new t._Code(k)}if(x,k,j){if(this._blockNode(new m(x)),k&&j)this.code(k).else().code(j).endIf();else if(k)this.code(k).endIf();else if(j)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(x){return this._elseNode(new m(x))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode(m,b)}_for(x,k){return this._blockNode(x),k&&this.code(k).endFor(),this}for(x,k){return this._for(new E(x),k)}forRange(x,k,j,J,L=this.opts.es5?n.varKinds.var:n.varKinds.let){const U=this._scope.toName(x);return this._for(new w(L,U,k,j),()=>J(U))}forOf(x,k,j,J=n.varKinds.const){const L=this._scope.toName(x);if(this.opts.es5){const U=k instanceof t.Name?k:this.var("_arr",k);return this.forRange("_i",0,(0,t._)`${U}.length`,G=>{this.var(L,(0,t._)`${U}[${G}]`),j(L)})}return this._for(new S("of",J,L,k),()=>j(L))}forIn(x,k,j,J=this.opts.es5?n.varKinds.var:n.varKinds.const){if(this.opts.ownProperties)return this.forOf(x,(0,t._)`Object.keys(${k})`,j);const L=this._scope.toName(x);return this._for(new S("in",J,L,k),()=>j(L))}endFor(){return this._endBlockNode(y)}label(x){return this._leafNode(new c(x))}break(x){return this._leafNode(new u(x))}return(x){const k=new C;if(this._blockNode(k),this.code(x),k.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(C)}try(x,k,j){if(!k&&!j)throw new Error('CodeGen: "try" without "catch" and "finally"');const J=new R;if(this._blockNode(J),this.code(x),k){const L=this.name("e");this._currNode=J.catch=new T(L),k(L)}return j&&(this._currNode=J.finally=new I,this.code(j)),this._endBlockNode(T,I)}throw(x){return this._leafNode(new d(x))}block(x,k){return this._blockStarts.push(this._nodes.length),x&&this.code(x).endBlock(k),this}endBlock(x){const k=this._blockStarts.pop();if(k===void 0)throw new Error("CodeGen: not in self-balancing block");const j=this._nodes.length-k;if(j<0||x!==void 0&&j!==x)throw new Error(`CodeGen: wrong number of nodes: ${j} vs ${x} expected`);return this._nodes.length=k,this}func(x,k=t.nil,j,J){return this._blockNode(new _(x,k,j)),J&&this.code(J).endFunc(),this}endFunc(){return this._endBlockNode(_)}optimize(x=1){for(;x-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(x){return this._currNode.nodes.push(x),this}_blockNode(x){this._currNode.nodes.push(x),this._nodes.push(x)}_endBlockNode(x,k){const j=this._currNode;if(j instanceof x||k&&j instanceof k)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${k?`${x.kind}/${k.kind}`:x.kind}"`)}_elseNode(x){const k=this._currNode;if(!(k instanceof m))throw new Error('CodeGen: "else" without "if"');return this._currNode=k.else=x,this}get _root(){return this._nodes[0]}get _currNode(){const x=this._nodes;return x[x.length-1]}set _currNode(x){const k=this._nodes;k[k.length-1]=x}}e.CodeGen=D;function F(O,x){for(const k in x)O[k]=(O[k]||0)+(x[k]||0);return O}function q(O,x){return x instanceof t._CodeOrName?F(O,x.names):O}function W(O,x,k){if(O instanceof t.Name)return j(O);if(!J(O))return O;return new t._Code(O._items.reduce((L,U)=>(U instanceof t.Name&&(U=j(U)),U instanceof t._Code?L.push(...U._items):L.push(U),L),[]));function j(L){const U=k[L.str];return U===void 0||x[L.str]!==1?L:(delete x[L.str],U)}function J(L){return L instanceof t._Code&&L._items.some(U=>U instanceof t.Name&&x[U.str]===1&&k[U.str]!==void 0)}}function Q(O,x){for(const k in x)O[k]=(O[k]||0)-(x[k]||0)}function H(O){return typeof O=="boolean"||typeof O=="number"||O===null?!O:(0,t._)`!${N(O)}`}e.not=H;const re=P(e.operators.AND);function B(...O){return O.reduce(re)}e.and=B;const ee=P(e.operators.OR);function $(...O){return O.reduce(ee)}e.or=$;function P(O){return(x,k)=>x===t.nil?k:k===t.nil?x:(0,t._)`${N(x)} ${O} ${N(k)}`}function N(O){return O instanceof t.Name?O:(0,t._)`(${O})`}})(Be);var he={};Object.defineProperty(he,"__esModule",{value:!0});he.checkStrictMode=he.getErrorPath=he.Type=he.useFunc=he.setEvaluated=he.evaluatedPropsToName=he.mergeEvaluated=he.eachItem=he.unescapeJsonPointer=he.escapeJsonPointer=he.escapeFragment=he.unescapeFragment=he.schemaRefOrVal=he.schemaHasRulesButRef=he.schemaHasRules=he.checkUnknownRules=he.alwaysValidSchema=he.toHash=void 0;const xt=Be,gse=Bc;function yse(e){const t={};for(const n of e)t[n]=!0;return t}he.toHash=yse;function vse(e,t){return typeof t=="boolean"?t:Object.keys(t).length===0?!0:(iL(e,t),!aL(t,e.self.RULES.all))}he.alwaysValidSchema=vse;function iL(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema||typeof t=="boolean")return;const o=r.RULES.keywords;for(const i in t)o[i]||cL(e,`unknown keyword: "${i}"`)}he.checkUnknownRules=iL;function aL(e,t){if(typeof e=="boolean")return!e;for(const n in e)if(t[n])return!0;return!1}he.schemaHasRules=aL;function _se(e,t){if(typeof e=="boolean")return!e;for(const n in e)if(n!=="$ref"&&t.all[n])return!0;return!1}he.schemaHasRulesButRef=_se;function bse({topSchemaRef:e,schemaPath:t},n,r,o){if(!o){if(typeof n=="number"||typeof n=="boolean")return n;if(typeof n=="string")return(0,xt._)`${n}`}return(0,xt._)`${e}${t}${(0,xt.getProperty)(r)}`}he.schemaRefOrVal=bse;function Ese(e){return sL(decodeURIComponent(e))}he.unescapeFragment=Ese;function Cse(e){return encodeURIComponent(k_(e))}he.escapeFragment=Cse;function k_(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}he.escapeJsonPointer=k_;function sL(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}he.unescapeJsonPointer=sL;function Sse(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)}he.eachItem=Sse;function yC({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:r}){return(o,i,a,s)=>{const l=a===void 0?i:a instanceof xt.Name?(i instanceof xt.Name?e(o,i,a):t(o,i,a),a):i instanceof xt.Name?(t(o,a,i),i):n(i,a);return s===xt.Name&&!(l instanceof xt.Name)?r(o,l):l}}he.mergeEvaluated={props:yC({mergeNames:(e,t,n)=>e.if((0,xt._)`${n} !== true && ${t} !== undefined`,()=>{e.if((0,xt._)`${t} === true`,()=>e.assign(n,!0),()=>e.assign(n,(0,xt._)`${n} || {}`).code((0,xt._)`Object.assign(${n}, ${t})`))}),mergeToName:(e,t,n)=>e.if((0,xt._)`${n} !== true`,()=>{t===!0?e.assign(n,!0):(e.assign(n,(0,xt._)`${n} || {}`),I_(e,n,t))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:lL}),items:yC({mergeNames:(e,t,n)=>e.if((0,xt._)`${n} !== true && ${t} !== undefined`,()=>e.assign(n,(0,xt._)`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`)),mergeToName:(e,t,n)=>e.if((0,xt._)`${n} !== true`,()=>e.assign(n,t===!0?!0:(0,xt._)`${n} > ${t} ? ${n} : ${t}`)),mergeValues:(e,t)=>e===!0?!0:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function lL(e,t){if(t===!0)return e.var("props",!0);const n=e.var("props",(0,xt._)`{}`);return t!==void 0&&I_(e,n,t),n}he.evaluatedPropsToName=lL;function I_(e,t,n){Object.keys(n).forEach(r=>e.assign((0,xt._)`${t}${(0,xt.getProperty)(r)}`,!0))}he.setEvaluated=I_;const vC={};function wse(e,t){return e.scopeValue("func",{ref:t,code:vC[t.code]||(vC[t.code]=new gse._Code(t.code))})}he.useFunc=wse;var r3;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(r3||(he.Type=r3={}));function xse(e,t,n){if(e instanceof xt.Name){const r=t===r3.Num;return n?r?(0,xt._)`"[" + ${e} + "]"`:(0,xt._)`"['" + ${e} + "']"`:r?(0,xt._)`"/" + ${e}`:(0,xt._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,xt.getProperty)(e).toString():"/"+k_(e)}he.getErrorPath=xse;function cL(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,n===!0)throw new Error(t);e.self.logger.warn(t)}}he.checkStrictMode=cL;var Po={};Object.defineProperty(Po,"__esModule",{value:!0});const Dn=Be,Mse={data:new Dn.Name("data"),valCxt:new Dn.Name("valCxt"),instancePath:new Dn.Name("instancePath"),parentData:new Dn.Name("parentData"),parentDataProperty:new Dn.Name("parentDataProperty"),rootData:new Dn.Name("rootData"),dynamicAnchors:new Dn.Name("dynamicAnchors"),vErrors:new Dn.Name("vErrors"),errors:new Dn.Name("errors"),this:new Dn.Name("this"),self:new Dn.Name("self"),scope:new Dn.Name("scope"),json:new Dn.Name("json"),jsonPos:new Dn.Name("jsonPos"),jsonLen:new Dn.Name("jsonLen"),jsonPart:new Dn.Name("jsonPart")};Po.default=Mse;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=Be,n=he,r=Po;e.keywordError={message:({keyword:b})=>(0,t.str)`must pass "${b}" keyword validation`},e.keyword$DataError={message:({keyword:b,schemaType:m})=>m?(0,t.str)`"${b}" keyword must be ${m} ($data)`:(0,t.str)`"${b}" keyword is invalid ($data)`};function o(b,m=e.keywordError,y,E){const{it:w}=b,{gen:S,compositeRule:_,allErrors:C}=w,R=d(b,m,y);E??(_||C)?l(S,R):c(w,(0,t._)`[${R}]`)}e.reportError=o;function i(b,m=e.keywordError,y){const{it:E}=b,{gen:w,compositeRule:S,allErrors:_}=E,C=d(b,m,y);l(w,C),S||_||c(E,r.default.vErrors)}e.reportExtraError=i;function a(b,m){b.assign(r.default.errors,m),b.if((0,t._)`${r.default.vErrors} !== null`,()=>b.if(m,()=>b.assign((0,t._)`${r.default.vErrors}.length`,m),()=>b.assign(r.default.vErrors,null)))}e.resetErrorsCount=a;function s({gen:b,keyword:m,schemaValue:y,data:E,errsCount:w,it:S}){if(w===void 0)throw new Error("ajv implementation error");const _=b.name("err");b.forRange("i",w,r.default.errors,C=>{b.const(_,(0,t._)`${r.default.vErrors}[${C}]`),b.if((0,t._)`${_}.instancePath === undefined`,()=>b.assign((0,t._)`${_}.instancePath`,(0,t.strConcat)(r.default.instancePath,S.errorPath))),b.assign((0,t._)`${_}.schemaPath`,(0,t.str)`${S.errSchemaPath}/${m}`),S.opts.verbose&&(b.assign((0,t._)`${_}.schema`,y),b.assign((0,t._)`${_}.data`,E))})}e.extendErrors=s;function l(b,m){const y=b.const("err",m);b.if((0,t._)`${r.default.vErrors} === null`,()=>b.assign(r.default.vErrors,(0,t._)`[${y}]`),(0,t._)`${r.default.vErrors}.push(${y})`),b.code((0,t._)`${r.default.errors}++`)}function c(b,m){const{gen:y,validateName:E,schemaEnv:w}=b;w.$async?y.throw((0,t._)`new ${b.ValidationError}(${m})`):(y.assign((0,t._)`${E}.errors`,m),y.return(!1))}const u={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function d(b,m,y){const{createErrors:E}=b.it;return E===!1?(0,t._)`{}`:p(b,m,y)}function p(b,m,y={}){const{gen:E,it:w}=b,S=[h(w,y),g(b,y)];return v(b,m,S),E.object(...S)}function h({errorPath:b},{instancePath:m}){const y=m?(0,t.str)`${b}${(0,n.getErrorPath)(m,n.Type.Str)}`:b;return[r.default.instancePath,(0,t.strConcat)(r.default.instancePath,y)]}function g({keyword:b,it:{errSchemaPath:m}},{schemaPath:y,parentSchema:E}){let w=E?m:(0,t.str)`${m}/${b}`;return y&&(w=(0,t.str)`${w}${(0,n.getErrorPath)(y,n.Type.Str)}`),[u.schemaPath,w]}function v(b,{params:m,message:y},E){const{keyword:w,data:S,schemaValue:_,it:C}=b,{opts:R,propertyName:T,topSchemaRef:I,schemaPath:D}=C;E.push([u.keyword,w],[u.params,typeof m=="function"?m(b):m||(0,t._)`{}`]),R.messages&&E.push([u.message,typeof y=="function"?y(b):y]),R.verbose&&E.push([u.schema,_],[u.parentSchema,(0,t._)`${I}${D}`],[r.default.data,S]),T&&E.push([u.propertyName,T])}})(ou);Object.defineProperty(Dc,"__esModule",{value:!0});Dc.boolOrEmptySchema=Dc.topBoolOrEmptySchema=void 0;const Rse=ou,Tse=Be,kse=Po,Ise={message:"boolean schema is false"};function Lse(e){const{gen:t,schema:n,validateName:r}=e;n===!1?uL(e,!1):typeof n=="object"&&n.$async===!0?t.return(kse.default.data):(t.assign((0,Tse._)`${r}.errors`,null),t.return(!0))}Dc.topBoolOrEmptySchema=Lse;function Ose(e,t){const{gen:n,schema:r}=e;r===!1?(n.var(t,!1),uL(e)):n.var(t,!0)}Dc.boolOrEmptySchema=Ose;function uL(e,t){const{gen:n,data:r}=e,o={gen:n,keyword:"false schema",data:r,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,Rse.reportError)(o,Ise,void 0,t)}var un={},Hs={};Object.defineProperty(Hs,"__esModule",{value:!0});Hs.getRules=Hs.isJSONType=void 0;const Ase=["string","number","integer","boolean","null","object","array"],Pse=new Set(Ase);function Nse(e){return typeof e=="string"&&Pse.has(e)}Hs.isJSONType=Nse;function $se(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}Hs.getRules=$se;var Ti={};Object.defineProperty(Ti,"__esModule",{value:!0});Ti.shouldUseRule=Ti.shouldUseGroup=Ti.schemaHasRulesForType=void 0;function jse({schema:e,self:t},n){const r=t.RULES.types[n];return r&&r!==!0&&dL(e,r)}Ti.schemaHasRulesForType=jse;function dL(e,t){return t.rules.some(n=>fL(e,n))}Ti.shouldUseGroup=dL;function fL(e,t){var n;return e[t.keyword]!==void 0||((n=t.definition.implements)===null||n===void 0?void 0:n.some(r=>e[r]!==void 0))}Ti.shouldUseRule=fL;Object.defineProperty(un,"__esModule",{value:!0});un.reportTypeError=un.checkDataTypes=un.checkDataType=un.coerceAndCheckDataType=un.getJSONTypes=un.getSchemaTypes=un.DataType=void 0;const Dse=Hs,Bse=Ti,Fse=ou,qe=Be,pL=he;var nc;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(nc||(un.DataType=nc={}));function Use(e){const t=hL(e.type);if(t.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&t.push("null")}return t}un.getSchemaTypes=Use;function hL(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(Dse.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}un.getJSONTypes=hL;function Hse(e,t){const{gen:n,data:r,opts:o}=e,i=Vse(t,o.coerceTypes),a=t.length>0&&!(i.length===0&&t.length===1&&(0,Bse.schemaHasRulesForType)(e,t[0]));if(a){const s=L_(t,r,o.strictNumbers,nc.Wrong);n.if(s,()=>{i.length?zse(e,t,i):O_(e)})}return a}un.coerceAndCheckDataType=Hse;const mL=new Set(["string","number","integer","boolean","null"]);function Vse(e,t){return t?e.filter(n=>mL.has(n)||t==="array"&&n==="array"):[]}function zse(e,t,n){const{gen:r,data:o,opts:i}=e,a=r.let("dataType",(0,qe._)`typeof ${o}`),s=r.let("coerced",(0,qe._)`undefined`);i.coerceTypes==="array"&&r.if((0,qe._)`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>r.assign(o,(0,qe._)`${o}[0]`).assign(a,(0,qe._)`typeof ${o}`).if(L_(t,o,i.strictNumbers),()=>r.assign(s,o))),r.if((0,qe._)`${s} !== undefined`);for(const c of n)(mL.has(c)||c==="array"&&i.coerceTypes==="array")&&l(c);r.else(),O_(e),r.endIf(),r.if((0,qe._)`${s} !== undefined`,()=>{r.assign(o,s),Wse(e,s)});function l(c){switch(c){case"string":r.elseIf((0,qe._)`${a} == "number" || ${a} == "boolean"`).assign(s,(0,qe._)`"" + ${o}`).elseIf((0,qe._)`${o} === null`).assign(s,(0,qe._)`""`);return;case"number":r.elseIf((0,qe._)`${a} == "boolean" || ${o} === null
|
|
793
|
-
|| (${a} == "string" && ${o} && ${o} == +${o})`).assign(s,(0,qe._)`+${o}`);return;case"integer":r.elseIf((0,qe._)`${a} === "boolean" || ${o} === null
|
|
794
|
-
|| (${a} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(s,(0,qe._)`+${o}`);return;case"boolean":r.elseIf((0,qe._)`${o} === "false" || ${o} === 0 || ${o} === null`).assign(s,!1).elseIf((0,qe._)`${o} === "true" || ${o} === 1`).assign(s,!0);return;case"null":r.elseIf((0,qe._)`${o} === "" || ${o} === 0 || ${o} === false`),r.assign(s,null);return;case"array":r.elseIf((0,qe._)`${a} === "string" || ${a} === "number"
|
|
795
|
-
|| ${a} === "boolean" || ${o} === null`).assign(s,(0,qe._)`[${o}]`)}}}function Wse({gen:e,parentData:t,parentDataProperty:n},r){e.if((0,qe._)`${t} !== undefined`,()=>e.assign((0,qe._)`${t}[${n}]`,r))}function o3(e,t,n,r=nc.Correct){const o=r===nc.Correct?qe.operators.EQ:qe.operators.NEQ;let i;switch(e){case"null":return(0,qe._)`${t} ${o} null`;case"array":i=(0,qe._)`Array.isArray(${t})`;break;case"object":i=(0,qe._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=a((0,qe._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=a();break;default:return(0,qe._)`typeof ${t} ${o} ${e}`}return r===nc.Correct?i:(0,qe.not)(i);function a(s=qe.nil){return(0,qe.and)((0,qe._)`typeof ${t} == "number"`,s,n?(0,qe._)`isFinite(${t})`:qe.nil)}}un.checkDataType=o3;function L_(e,t,n,r){if(e.length===1)return o3(e[0],t,n,r);let o;const i=(0,pL.toHash)(e);if(i.array&&i.object){const a=(0,qe._)`typeof ${t} != "object"`;o=i.null?a:(0,qe._)`!${t} || ${a}`,delete i.null,delete i.array,delete i.object}else o=qe.nil;i.number&&delete i.integer;for(const a in i)o=(0,qe.and)(o,o3(a,t,n,r));return o}un.checkDataTypes=L_;const qse={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,qe._)`{type: ${e}}`:(0,qe._)`{type: ${t}}`};function O_(e){const t=Gse(e);(0,Fse.reportError)(t,qse)}un.reportTypeError=O_;function Gse(e){const{gen:t,data:n,schema:r}=e,o=(0,pL.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}var k0={};Object.defineProperty(k0,"__esModule",{value:!0});k0.assignDefaults=void 0;const ml=Be,Kse=he;function Yse(e,t){const{properties:n,items:r}=e.schema;if(t==="object"&&n)for(const o in n)_C(e,o,n[o].default);else t==="array"&&Array.isArray(r)&&r.forEach((o,i)=>_C(e,i,o.default))}k0.assignDefaults=Yse;function _C(e,t,n){const{gen:r,compositeRule:o,data:i,opts:a}=e;if(n===void 0)return;const s=(0,ml._)`${i}${(0,ml.getProperty)(t)}`;if(o){(0,Kse.checkStrictMode)(e,`default is ignored for: ${s}`);return}let l=(0,ml._)`${s} === undefined`;a.useDefaults==="empty"&&(l=(0,ml._)`${l} || ${s} === null || ${s} === ""`),r.if(l,(0,ml._)`${s} = ${(0,ml.stringify)(n)}`)}var Ko={},Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.validateUnion=Ze.validateArray=Ze.usePattern=Ze.callValidateCode=Ze.schemaProperties=Ze.allSchemaProperties=Ze.noPropertyInData=Ze.propertyInData=Ze.isOwnProperty=Ze.hasPropFunc=Ze.reportMissingProp=Ze.checkMissingProp=Ze.checkReportMissingProp=void 0;const Pt=Be,A_=he,sa=Po,Zse=he;function Xse(e,t){const{gen:n,data:r,it:o}=e;n.if(N_(n,r,t,o.opts.ownProperties),()=>{e.setParams({missingProperty:(0,Pt._)`${t}`},!0),e.error()})}Ze.checkReportMissingProp=Xse;function Jse({gen:e,data:t,it:{opts:n}},r,o){return(0,Pt.or)(...r.map(i=>(0,Pt.and)(N_(e,t,i,n.ownProperties),(0,Pt._)`${o} = ${i}`)))}Ze.checkMissingProp=Jse;function Qse(e,t){e.setParams({missingProperty:t},!0),e.error()}Ze.reportMissingProp=Qse;function gL(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,Pt._)`Object.prototype.hasOwnProperty`})}Ze.hasPropFunc=gL;function P_(e,t,n){return(0,Pt._)`${gL(e)}.call(${t}, ${n})`}Ze.isOwnProperty=P_;function ele(e,t,n,r){const o=(0,Pt._)`${t}${(0,Pt.getProperty)(n)} !== undefined`;return r?(0,Pt._)`${o} && ${P_(e,t,n)}`:o}Ze.propertyInData=ele;function N_(e,t,n,r){const o=(0,Pt._)`${t}${(0,Pt.getProperty)(n)} === undefined`;return r?(0,Pt.or)(o,(0,Pt.not)(P_(e,t,n))):o}Ze.noPropertyInData=N_;function yL(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}Ze.allSchemaProperties=yL;function tle(e,t){return yL(t).filter(n=>!(0,A_.alwaysValidSchema)(e,t[n]))}Ze.schemaProperties=tle;function nle({schemaCode:e,data:t,it:{gen:n,topSchemaRef:r,schemaPath:o,errorPath:i},it:a},s,l,c){const u=c?(0,Pt._)`${e}, ${t}, ${r}${o}`:t,d=[[sa.default.instancePath,(0,Pt.strConcat)(sa.default.instancePath,i)],[sa.default.parentData,a.parentData],[sa.default.parentDataProperty,a.parentDataProperty],[sa.default.rootData,sa.default.rootData]];a.opts.dynamicRef&&d.push([sa.default.dynamicAnchors,sa.default.dynamicAnchors]);const p=(0,Pt._)`${u}, ${n.object(...d)}`;return l!==Pt.nil?(0,Pt._)`${s}.call(${l}, ${p})`:(0,Pt._)`${s}(${p})`}Ze.callValidateCode=nle;const rle=(0,Pt._)`new RegExp`;function ole({gen:e,it:{opts:t}},n){const r=t.unicodeRegExp?"u":"",{regExp:o}=t.code,i=o(n,r);return e.scopeValue("pattern",{key:i.toString(),ref:i,code:(0,Pt._)`${o.code==="new RegExp"?rle:(0,Zse.useFunc)(e,o)}(${n}, ${r})`})}Ze.usePattern=ole;function ile(e){const{gen:t,data:n,keyword:r,it:o}=e,i=t.name("valid");if(o.allErrors){const s=t.let("valid",!0);return a(()=>t.assign(s,!1)),s}return t.var(i,!0),a(()=>t.break()),i;function a(s){const l=t.const("len",(0,Pt._)`${n}.length`);t.forRange("i",0,l,c=>{e.subschema({keyword:r,dataProp:c,dataPropType:A_.Type.Num},i),t.if((0,Pt.not)(i),s)})}}Ze.validateArray=ile;function ale(e){const{gen:t,schema:n,keyword:r,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some(l=>(0,A_.alwaysValidSchema)(o,l))&&!o.opts.unevaluated)return;const a=t.let("valid",!1),s=t.name("_valid");t.block(()=>n.forEach((l,c)=>{const u=e.subschema({keyword:r,schemaProp:c,compositeRule:!0},s);t.assign(a,(0,Pt._)`${a} || ${s}`),e.mergeValidEvaluated(u,s)||t.if((0,Pt.not)(a))})),e.result(a,()=>e.reset(),()=>e.error(!0))}Ze.validateUnion=ale;Object.defineProperty(Ko,"__esModule",{value:!0});Ko.validateKeywordUsage=Ko.validSchemaType=Ko.funcKeywordCode=Ko.macroKeywordCode=void 0;const Kn=Be,hs=Po,sle=Ze,lle=ou;function cle(e,t){const{gen:n,keyword:r,schema:o,parentSchema:i,it:a}=e,s=t.macro.call(a.self,o,i,a),l=vL(n,r,s);a.opts.validateSchema!==!1&&a.self.validateSchema(s,!0);const c=n.name("valid");e.subschema({schema:s,schemaPath:Kn.nil,errSchemaPath:`${a.errSchemaPath}/${r}`,topSchemaRef:l,compositeRule:!0},c),e.pass(c,()=>e.error(!0))}Ko.macroKeywordCode=cle;function ule(e,t){var n;const{gen:r,keyword:o,schema:i,parentSchema:a,$data:s,it:l}=e;fle(l,t);const c=!s&&t.compile?t.compile.call(l.self,i,a,l):t.validate,u=vL(r,o,c),d=r.let("valid");e.block$data(d,p),e.ok((n=t.valid)!==null&&n!==void 0?n:d);function p(){if(t.errors===!1)v(),t.modifying&&bC(e),b(()=>e.error());else{const m=t.async?h():g();t.modifying&&bC(e),b(()=>dle(e,m))}}function h(){const m=r.let("ruleErrs",null);return r.try(()=>v((0,Kn._)`await `),y=>r.assign(d,!1).if((0,Kn._)`${y} instanceof ${l.ValidationError}`,()=>r.assign(m,(0,Kn._)`${y}.errors`),()=>r.throw(y))),m}function g(){const m=(0,Kn._)`${u}.errors`;return r.assign(m,null),v(Kn.nil),m}function v(m=t.async?(0,Kn._)`await `:Kn.nil){const y=l.opts.passContext?hs.default.this:hs.default.self,E=!("compile"in t&&!s||t.schema===!1);r.assign(d,(0,Kn._)`${m}${(0,sle.callValidateCode)(e,u,y,E)}`,t.modifying)}function b(m){var y;r.if((0,Kn.not)((y=t.valid)!==null&&y!==void 0?y:d),m)}}Ko.funcKeywordCode=ule;function bC(e){const{gen:t,data:n,it:r}=e;t.if(r.parentData,()=>t.assign(n,(0,Kn._)`${r.parentData}[${r.parentDataProperty}]`))}function dle(e,t){const{gen:n}=e;n.if((0,Kn._)`Array.isArray(${t})`,()=>{n.assign(hs.default.vErrors,(0,Kn._)`${hs.default.vErrors} === null ? ${t} : ${hs.default.vErrors}.concat(${t})`).assign(hs.default.errors,(0,Kn._)`${hs.default.vErrors}.length`),(0,lle.extendErrors)(e)},()=>e.error())}function fle({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function vL(e,t,n){if(n===void 0)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof n=="function"?{ref:n}:{ref:n,code:(0,Kn.stringify)(n)})}function ple(e,t,n=!1){return!t.length||t.some(r=>r==="array"?Array.isArray(e):r==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==r||n&&typeof e>"u")}Ko.validSchemaType=ple;function hle({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const a=o.dependencies;if(a!=null&&a.some(s=>!Object.prototype.hasOwnProperty.call(e,s)))throw new Error(`parent schema must have dependencies of ${i}: ${a.join(",")}`);if(o.validateSchema&&!o.validateSchema(e[i])){const l=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if(t.validateSchema==="log")n.logger.error(l);else throw new Error(l)}}Ko.validateKeywordUsage=hle;var Da={};Object.defineProperty(Da,"__esModule",{value:!0});Da.extendSubschemaMode=Da.extendSubschemaData=Da.getSubschema=void 0;const qo=Be,_L=he;function mle(e,{keyword:t,schemaProp:n,schema:r,schemaPath:o,errSchemaPath:i,topSchemaRef:a}){if(t!==void 0&&r!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(t!==void 0){const s=e.schema[t];return n===void 0?{schema:s,schemaPath:(0,qo._)`${e.schemaPath}${(0,qo.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[n],schemaPath:(0,qo._)`${e.schemaPath}${(0,qo.getProperty)(t)}${(0,qo.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,_L.escapeFragment)(n)}`}}if(r!==void 0){if(o===void 0||i===void 0||a===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:r,schemaPath:o,topSchemaRef:a,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')}Da.getSubschema=mle;function gle(e,t,{dataProp:n,dataPropType:r,data:o,dataTypes:i,propertyName:a}){if(o!==void 0&&n!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:s}=t;if(n!==void 0){const{errorPath:c,dataPathArr:u,opts:d}=t,p=s.let("data",(0,qo._)`${t.data}${(0,qo.getProperty)(n)}`,!0);l(p),e.errorPath=(0,qo.str)`${c}${(0,_L.getErrorPath)(n,r,d.jsPropertySyntax)}`,e.parentDataProperty=(0,qo._)`${n}`,e.dataPathArr=[...u,e.parentDataProperty]}if(o!==void 0){const c=o instanceof qo.Name?o:s.let("data",o,!0);l(c),a!==void 0&&(e.propertyName=a)}i&&(e.dataTypes=i);function l(c){e.data=c,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,c]}}Da.extendSubschemaData=gle;function yle(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){r!==void 0&&(e.compositeRule=r),o!==void 0&&(e.createErrors=o),i!==void 0&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}Da.extendSubschemaMode=yle;var Ln={},$_=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n},bL={exports:{}},Ma=bL.exports=function(e,t,n){typeof t=="function"&&(n=t,t={}),n=t.cb||n;var r=typeof n=="function"?n:n.pre||function(){},o=n.post||function(){};j1(t,r,o,e,"",e)};Ma.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};Ma.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Ma.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Ma.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function j1(e,t,n,r,o,i,a,s,l,c){if(r&&typeof r=="object"&&!Array.isArray(r)){t(r,o,i,a,s,l,c);for(var u in r){var d=r[u];if(Array.isArray(d)){if(u in Ma.arrayKeywords)for(var p=0;p<d.length;p++)j1(e,t,n,d[p],o+"/"+u+"/"+p,i,o,u,r,p)}else if(u in Ma.propsKeywords){if(d&&typeof d=="object")for(var h in d)j1(e,t,n,d[h],o+"/"+u+"/"+vle(h),i,o,u,r,h)}else(u in Ma.keywords||e.allKeys&&!(u in Ma.skipKeywords))&&j1(e,t,n,d,o+"/"+u,i,o,u,r)}n(r,o,i,a,s,l,c)}}function vle(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var _le=bL.exports;Object.defineProperty(Ln,"__esModule",{value:!0});Ln.getSchemaRefs=Ln.resolveUrl=Ln.normalizeId=Ln._getFullPath=Ln.getFullPath=Ln.inlineRef=void 0;const ble=he,Ele=$_,Cle=_le,Sle=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function wle(e,t=!0){return typeof e=="boolean"?!0:t===!0?!i3(e):t?EL(e)<=t:!1}Ln.inlineRef=wle;const xle=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function i3(e){for(const t in e){if(xle.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(i3)||typeof n=="object"&&i3(n))return!0}return!1}function EL(e){let t=0;for(const n in e){if(n==="$ref")return 1/0;if(t++,!Sle.has(n)&&(typeof e[n]=="object"&&(0,ble.eachItem)(e[n],r=>t+=EL(r)),t===1/0))return 1/0}return t}function CL(e,t="",n){n!==!1&&(t=rc(t));const r=e.parse(t);return SL(e,r)}Ln.getFullPath=CL;function SL(e,t){return e.serialize(t).split("#")[0]+"#"}Ln._getFullPath=SL;const Mle=/#\/?$/;function rc(e){return e?e.replace(Mle,""):""}Ln.normalizeId=rc;function Rle(e,t,n){return n=rc(n),e.resolve(t,n)}Ln.resolveUrl=Rle;const Tle=/^[a-z_][-a-z0-9._]*$/i;function kle(e,t){if(typeof e=="boolean")return{};const{schemaId:n,uriResolver:r}=this.opts,o=rc(e[n]||t),i={"":o},a=CL(r,o,!1),s={},l=new Set;return Cle(e,{allKeys:!0},(d,p,h,g)=>{if(g===void 0)return;const v=a+p;let b=i[g];typeof d[n]=="string"&&(b=m.call(this,d[n])),y.call(this,d.$anchor),y.call(this,d.$dynamicAnchor),i[p]=b;function m(E){const w=this.opts.uriResolver.resolve;if(E=rc(b?w(b,E):E),l.has(E))throw u(E);l.add(E);let S=this.refs[E];return typeof S=="string"&&(S=this.refs[S]),typeof S=="object"?c(d,S.schema,E):E!==rc(v)&&(E[0]==="#"?(c(d,s[E],E),s[E]=d):this.refs[E]=v),E}function y(E){if(typeof E=="string"){if(!Tle.test(E))throw new Error(`invalid anchor "${E}"`);m.call(this,`#${E}`)}}}),s;function c(d,p,h){if(p!==void 0&&!Ele(d,p))throw u(h)}function u(d){return new Error(`reference "${d}" resolves to more than one schema`)}}Ln.getSchemaRefs=kle;Object.defineProperty(ro,"__esModule",{value:!0});ro.getData=ro.KeywordCxt=ro.validateFunctionCode=void 0;const wL=Dc,EC=un,j_=Ti,Jh=un,Ile=k0,_d=Ko,w2=Da,Ee=Be,De=Po,Lle=Ln,ki=he,$u=ou;function Ole(e){if(RL(e)&&(TL(e),ML(e))){Nle(e);return}xL(e,()=>(0,wL.topBoolOrEmptySchema)(e))}ro.validateFunctionCode=Ole;function xL({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},i){o.code.es5?e.func(t,(0,Ee._)`${De.default.data}, ${De.default.valCxt}`,r.$async,()=>{e.code((0,Ee._)`"use strict"; ${CC(n,o)}`),Ple(e,o),e.code(i)}):e.func(t,(0,Ee._)`${De.default.data}, ${Ale(o)}`,r.$async,()=>e.code(CC(n,o)).code(i))}function Ale(e){return(0,Ee._)`{${De.default.instancePath}="", ${De.default.parentData}, ${De.default.parentDataProperty}, ${De.default.rootData}=${De.default.data}${e.dynamicRef?(0,Ee._)`, ${De.default.dynamicAnchors}={}`:Ee.nil}}={}`}function Ple(e,t){e.if(De.default.valCxt,()=>{e.var(De.default.instancePath,(0,Ee._)`${De.default.valCxt}.${De.default.instancePath}`),e.var(De.default.parentData,(0,Ee._)`${De.default.valCxt}.${De.default.parentData}`),e.var(De.default.parentDataProperty,(0,Ee._)`${De.default.valCxt}.${De.default.parentDataProperty}`),e.var(De.default.rootData,(0,Ee._)`${De.default.valCxt}.${De.default.rootData}`),t.dynamicRef&&e.var(De.default.dynamicAnchors,(0,Ee._)`${De.default.valCxt}.${De.default.dynamicAnchors}`)},()=>{e.var(De.default.instancePath,(0,Ee._)`""`),e.var(De.default.parentData,(0,Ee._)`undefined`),e.var(De.default.parentDataProperty,(0,Ee._)`undefined`),e.var(De.default.rootData,De.default.data),t.dynamicRef&&e.var(De.default.dynamicAnchors,(0,Ee._)`{}`)})}function Nle(e){const{schema:t,opts:n,gen:r}=e;xL(e,()=>{n.$comment&&t.$comment&&IL(e),Fle(e),r.let(De.default.vErrors,null),r.let(De.default.errors,0),n.unevaluated&&$le(e),kL(e),Vle(e)})}function $le(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",(0,Ee._)`${n}.evaluated`),t.if((0,Ee._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,Ee._)`${e.evaluated}.props`,(0,Ee._)`undefined`)),t.if((0,Ee._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,Ee._)`${e.evaluated}.items`,(0,Ee._)`undefined`))}function CC(e,t){const n=typeof e=="object"&&e[t.schemaId];return n&&(t.code.source||t.code.process)?(0,Ee._)`/*# sourceURL=${n} */`:Ee.nil}function jle(e,t){if(RL(e)&&(TL(e),ML(e))){Dle(e,t);return}(0,wL.boolOrEmptySchema)(e,t)}function ML({schema:e,self:t}){if(typeof e=="boolean")return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function RL(e){return typeof e.schema!="boolean"}function Dle(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&IL(e),Ule(e),Hle(e);const i=r.const("_errs",De.default.errors);kL(e,i),r.var(t,(0,Ee._)`${i} === ${De.default.errors}`)}function TL(e){(0,ki.checkUnknownRules)(e),Ble(e)}function kL(e,t){if(e.opts.jtd)return SC(e,[],!1,t);const n=(0,EC.getSchemaTypes)(e.schema),r=(0,EC.coerceAndCheckDataType)(e,n);SC(e,n,!r,t)}function Ble(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,ki.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}function Fle(e){const{schema:t,opts:n}=e;t.default!==void 0&&n.useDefaults&&n.strictSchema&&(0,ki.checkStrictMode)(e,"default is ignored in the schema root")}function Ule(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,Lle.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function Hle(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function IL({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(o.$comment===!0)e.code((0,Ee._)`${De.default.self}.logger.log(${i})`);else if(typeof o.$comment=="function"){const a=(0,Ee.str)`${r}/$comment`,s=e.scopeValue("root",{ref:t.root});e.code((0,Ee._)`${De.default.self}.opts.$comment(${i}, ${a}, ${s}.schema)`)}}function Vle(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if((0,Ee._)`${De.default.errors} === 0`,()=>t.return(De.default.data),()=>t.throw((0,Ee._)`new ${o}(${De.default.vErrors})`)):(t.assign((0,Ee._)`${r}.errors`,De.default.vErrors),i.unevaluated&&zle(e),t.return((0,Ee._)`${De.default.errors} === 0`))}function zle({gen:e,evaluated:t,props:n,items:r}){n instanceof Ee.Name&&e.assign((0,Ee._)`${t}.props`,n),r instanceof Ee.Name&&e.assign((0,Ee._)`${t}.items`,r)}function SC(e,t,n,r){const{gen:o,schema:i,data:a,allErrors:s,opts:l,self:c}=e,{RULES:u}=c;if(i.$ref&&(l.ignoreKeywordsWithRef||!(0,ki.schemaHasRulesButRef)(i,u))){o.block(()=>AL(e,"$ref",u.all.$ref.definition));return}l.jtd||Wle(e,t),o.block(()=>{for(const p of u.rules)d(p);d(u.post)});function d(p){(0,j_.shouldUseGroup)(i,p)&&(p.type?(o.if((0,Jh.checkDataType)(p.type,a,l.strictNumbers)),wC(e,p),t.length===1&&t[0]===p.type&&n&&(o.else(),(0,Jh.reportTypeError)(e)),o.endIf()):wC(e,p),s||o.if((0,Ee._)`${De.default.errors} === ${r||0}`))}}function wC(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,Ile.assignDefaults)(e,t.type),n.block(()=>{for(const i of t.rules)(0,j_.shouldUseRule)(r,i)&&AL(e,i.keyword,i.definition,t.type)})}function Wle(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(qle(e,t),e.opts.allowUnionTypes||Gle(e,t),Kle(e,e.dataTypes))}function qle(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(n=>{LL(e.dataTypes,n)||D_(e,`type "${n}" not allowed by context "${e.dataTypes.join(",")}"`)}),Zle(e,t)}}function Gle(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&D_(e,"use allowUnionTypes to allow union type keyword")}function Kle(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if(typeof o=="object"&&(0,j_.shouldUseRule)(e.schema,o)){const{type:i}=o.definition;i.length&&!i.some(a=>Yle(t,a))&&D_(e,`missing type "${i.join(",")}" for keyword "${r}"`)}}}function Yle(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function LL(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function Zle(e,t){const n=[];for(const r of e.dataTypes)LL(t,r)?n.push(r):t.includes("integer")&&r==="number"&&n.push("integer");e.dataTypes=n}function D_(e,t){const n=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${n}" (strictTypes)`,(0,ki.checkStrictMode)(e,t,e.opts.strictTypes)}class OL{constructor(t,n,r){if((0,_d.validateKeywordUsage)(t,n,r),this.gen=t.gen,this.allErrors=t.allErrors,this.keyword=r,this.data=t.data,this.schema=t.schema[r],this.$data=n.$data&&t.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,ki.schemaRefOrVal)(t,this.schema,r,this.$data),this.schemaType=n.schemaType,this.parentSchema=t.schema,this.params={},this.it=t,this.def=n,this.$data)this.schemaCode=t.gen.const("vSchema",PL(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,_d.validSchemaType)(this.schema,n.schemaType,n.allowUndefined))throw new Error(`${r} value must be ${JSON.stringify(n.schemaType)}`);("code"in n?n.trackErrors:n.errors!==!1)&&(this.errsCount=t.gen.const("_errs",De.default.errors))}result(t,n,r){this.failResult((0,Ee.not)(t),n,r)}failResult(t,n,r){this.gen.if(t),r?r():this.error(),n?(this.gen.else(),n(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(t,n){this.failResult((0,Ee.not)(t),void 0,n)}fail(t){if(t===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(t),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(t){if(!this.$data)return this.fail(t);const{schemaCode:n}=this;this.fail((0,Ee._)`${n} !== undefined && (${(0,Ee.or)(this.invalid$data(),t)})`)}error(t,n,r){if(n){this.setParams(n),this._error(t,r),this.setParams({});return}this._error(t,r)}_error(t,n){(t?$u.reportExtraError:$u.reportError)(this,this.def.error,n)}$dataError(){(0,$u.reportError)(this,this.def.$dataError||$u.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,$u.resetErrorsCount)(this.gen,this.errsCount)}ok(t){this.allErrors||this.gen.if(t)}setParams(t,n){n?Object.assign(this.params,t):this.params=t}block$data(t,n,r=Ee.nil){this.gen.block(()=>{this.check$data(t,r),n()})}check$data(t=Ee.nil,n=Ee.nil){if(!this.$data)return;const{gen:r,schemaCode:o,schemaType:i,def:a}=this;r.if((0,Ee.or)((0,Ee._)`${o} === undefined`,n)),t!==Ee.nil&&r.assign(t,!0),(i.length||a.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),t!==Ee.nil&&r.assign(t,!1)),r.else()}invalid$data(){const{gen:t,schemaCode:n,schemaType:r,def:o,it:i}=this;return(0,Ee.or)(a(),s());function a(){if(r.length){if(!(n instanceof Ee.Name))throw new Error("ajv implementation error");const l=Array.isArray(r)?r:[r];return(0,Ee._)`${(0,Jh.checkDataTypes)(l,n,i.opts.strictNumbers,Jh.DataType.Wrong)}`}return Ee.nil}function s(){if(o.validateSchema){const l=t.scopeValue("validate$data",{ref:o.validateSchema});return(0,Ee._)`!${l}(${n})`}return Ee.nil}}subschema(t,n){const r=(0,w2.getSubschema)(this.it,t);(0,w2.extendSubschemaData)(r,this.it,t),(0,w2.extendSubschemaMode)(r,t);const o={...this.it,...r,items:void 0,props:void 0};return jle(o,n),o}mergeEvaluated(t,n){const{it:r,gen:o}=this;r.opts.unevaluated&&(r.props!==!0&&t.props!==void 0&&(r.props=ki.mergeEvaluated.props(o,t.props,r.props,n)),r.items!==!0&&t.items!==void 0&&(r.items=ki.mergeEvaluated.items(o,t.items,r.items,n)))}mergeValidEvaluated(t,n){const{it:r,gen:o}=this;if(r.opts.unevaluated&&(r.props!==!0||r.items!==!0))return o.if(n,()=>this.mergeEvaluated(t,Ee.Name)),!0}}ro.KeywordCxt=OL;function AL(e,t,n,r){const o=new OL(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,_d.funcKeywordCode)(o,n):"macro"in n?(0,_d.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,_d.funcKeywordCode)(o,n)}const Xle=/^\/(?:[^~]|~0|~1)*$/,Jle=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function PL(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(e==="")return De.default.rootData;if(e[0]==="/"){if(!Xle.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=De.default.rootData}else{const c=Jle.exec(e);if(!c)throw new Error(`Invalid JSON-pointer: ${e}`);const u=+c[1];if(o=c[2],o==="#"){if(u>=t)throw new Error(l("property/index",u));return r[t-u]}if(u>t)throw new Error(l("data",u));if(i=n[t-u],!o)return i}let a=i;const s=o.split("/");for(const c of s)c&&(i=(0,Ee._)`${i}${(0,Ee.getProperty)((0,ki.unescapeJsonPointer)(c))}`,a=(0,Ee._)`${a} && ${i}`);return a;function l(c,u){return`Cannot access ${c} ${u} levels up, current level is ${t}`}}ro.getData=PL;var Vf={};Object.defineProperty(Vf,"__esModule",{value:!0});class Qle extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}}Vf.default=Qle;var iu={};Object.defineProperty(iu,"__esModule",{value:!0});const x2=Ln;class ece extends Error{constructor(t,n,r,o){super(o||`can't resolve reference ${r} from id ${n}`),this.missingRef=(0,x2.resolveUrl)(t,n,r),this.missingSchema=(0,x2.normalizeId)((0,x2.getFullPath)(t,this.missingRef))}}iu.default=ece;var fr={};Object.defineProperty(fr,"__esModule",{value:!0});fr.resolveSchema=fr.getCompilingSchema=fr.resolveRef=fr.compileSchema=fr.SchemaEnv=void 0;const yo=Be,tce=Vf,ss=Po,xo=Ln,xC=he,nce=ro;class I0{constructor(t){var n;this.refs={},this.dynamicAnchors={};let r;typeof t.schema=="object"&&(r=t.schema),this.schema=t.schema,this.schemaId=t.schemaId,this.root=t.root||this,this.baseId=(n=t.baseId)!==null&&n!==void 0?n:(0,xo.normalizeId)(r==null?void 0:r[t.schemaId||"$id"]),this.schemaPath=t.schemaPath,this.localRefs=t.localRefs,this.meta=t.meta,this.$async=r==null?void 0:r.$async,this.refs={}}}fr.SchemaEnv=I0;function B_(e){const t=NL.call(this,e);if(t)return t;const n=(0,xo.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:r,lines:o}=this.opts.code,{ownProperties:i}=this.opts,a=new yo.CodeGen(this.scope,{es5:r,lines:o,ownProperties:i});let s;e.$async&&(s=a.scopeValue("Error",{ref:tce.default,code:(0,yo._)`require("ajv/dist/runtime/validation_error").default`}));const l=a.scopeName("validate");e.validateName=l;const c={gen:a,allErrors:this.opts.allErrors,data:ss.default.data,parentData:ss.default.parentData,parentDataProperty:ss.default.parentDataProperty,dataNames:[ss.default.data],dataPathArr:[yo.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:a.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,yo.stringify)(e.schema)}:{ref:e.schema}),validateName:l,ValidationError:s,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:yo.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,yo._)`""`,opts:this.opts,self:this};let u;try{this._compilations.add(e),(0,nce.validateFunctionCode)(c),a.optimize(this.opts.code.optimize);const d=a.toString();u=`${a.scopeRefs(ss.default.scope)}return ${d}`,this.opts.code.process&&(u=this.opts.code.process(u,e));const h=new Function(`${ss.default.self}`,`${ss.default.scope}`,u)(this,this.scope.get());if(this.scope.value(l,{ref:h}),h.errors=null,h.schema=e.schema,h.schemaEnv=e,e.$async&&(h.$async=!0),this.opts.code.source===!0&&(h.source={validateName:l,validateCode:d,scopeValues:a._values}),this.opts.unevaluated){const{props:g,items:v}=c;h.evaluated={props:g instanceof yo.Name?void 0:g,items:v instanceof yo.Name?void 0:v,dynamicProps:g instanceof yo.Name,dynamicItems:v instanceof yo.Name},h.source&&(h.source.evaluated=(0,yo.stringify)(h.evaluated))}return e.validate=h,e}catch(d){throw delete e.validate,delete e.validateName,u&&this.logger.error("Error compiling schema, function code:",u),d}finally{this._compilations.delete(e)}}fr.compileSchema=B_;function rce(e,t,n){var r;n=(0,xo.resolveUrl)(this.opts.uriResolver,t,n);const o=e.refs[n];if(o)return o;let i=ace.call(this,e,n);if(i===void 0){const a=(r=e.localRefs)===null||r===void 0?void 0:r[n],{schemaId:s}=this.opts;a&&(i=new I0({schema:a,schemaId:s,root:e,baseId:t}))}if(i!==void 0)return e.refs[n]=oce.call(this,i)}fr.resolveRef=rce;function oce(e){return(0,xo.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:B_.call(this,e)}function NL(e){for(const t of this._compilations)if(ice(t,e))return t}fr.getCompilingSchema=NL;function ice(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function ace(e,t){let n;for(;typeof(n=this.refs[t])=="string";)t=n;return n||this.schemas[t]||L0.call(this,e,t)}function L0(e,t){const n=this.opts.uriResolver.parse(t),r=(0,xo._getFullPath)(this.opts.uriResolver,n);let o=(0,xo.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===o)return M2.call(this,n,e);const i=(0,xo.normalizeId)(r),a=this.refs[i]||this.schemas[i];if(typeof a=="string"){const s=L0.call(this,e,a);return typeof(s==null?void 0:s.schema)!="object"?void 0:M2.call(this,n,s)}if(typeof(a==null?void 0:a.schema)=="object"){if(a.validate||B_.call(this,a),i===(0,xo.normalizeId)(t)){const{schema:s}=a,{schemaId:l}=this.opts,c=s[l];return c&&(o=(0,xo.resolveUrl)(this.opts.uriResolver,o,c)),new I0({schema:s,schemaId:l,root:e,baseId:o})}return M2.call(this,n,a)}}fr.resolveSchema=L0;const sce=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function M2(e,{baseId:t,schema:n,root:r}){var o;if(((o=e.fragment)===null||o===void 0?void 0:o[0])!=="/")return;for(const s of e.fragment.slice(1).split("/")){if(typeof n=="boolean")return;const l=n[(0,xC.unescapeFragment)(s)];if(l===void 0)return;n=l;const c=typeof n=="object"&&n[this.opts.schemaId];!sce.has(s)&&c&&(t=(0,xo.resolveUrl)(this.opts.uriResolver,t,c))}let i;if(typeof n!="boolean"&&n.$ref&&!(0,xC.schemaHasRulesButRef)(n,this.RULES)){const s=(0,xo.resolveUrl)(this.opts.uriResolver,t,n.$ref);i=L0.call(this,r,s)}const{schemaId:a}=this.opts;if(i=i||new I0({schema:n,schemaId:a,root:r,baseId:t}),i.schema!==i.root.schema)return i}const lce="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",cce="Meta-schema for $data reference (JSON AnySchema extension proposal)",uce="object",dce=["$data"],fce={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},pce=!1,hce={$id:lce,description:cce,type:uce,required:dce,properties:fce,additionalProperties:pce};var F_={},O0={exports:{}};const mce={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};var gce={HEX:mce};const{HEX:yce}=gce,vce=/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;function $L(e){if(DL(e,".")<3)return{host:e,isIPV4:!1};const t=e.match(vce)||[],[n]=t;return n?{host:bce(n,"."),isIPV4:!0}:{host:e,isIPV4:!1}}function a3(e,t=!1){let n="",r=!0;for(const o of e){if(yce[o]===void 0)return;o!=="0"&&r===!0&&(r=!1),r||(n+=o)}return t&&n.length===0&&(n="0"),n}function _ce(e){let t=0;const n={error:!1,address:"",zone:""},r=[],o=[];let i=!1,a=!1,s=!1;function l(){if(o.length){if(i===!1){const c=a3(o);if(c!==void 0)r.push(c);else return n.error=!0,!1}o.length=0}return!0}for(let c=0;c<e.length;c++){const u=e[c];if(!(u==="["||u==="]"))if(u===":"){if(a===!0&&(s=!0),!l())break;if(t++,r.push(":"),t>7){n.error=!0;break}c-1>=0&&e[c-1]===":"&&(a=!0);continue}else if(u==="%"){if(!l())break;i=!0}else{o.push(u);continue}}return o.length&&(i?n.zone=o.join(""):s?r.push(o.join("")):r.push(a3(o))),n.address=r.join(""),n}function jL(e){if(DL(e,":")<2)return{host:e,isIPV6:!1};const t=_ce(e);if(t.error)return{host:e,isIPV6:!1};{let n=t.address,r=t.address;return t.zone&&(n+="%"+t.zone,r+="%25"+t.zone),{host:n,escapedHost:r,isIPV6:!0}}}function bce(e,t){let n="",r=!0;const o=e.length;for(let i=0;i<o;i++){const a=e[i];a==="0"&&r?(i+1<=o&&e[i+1]===t||i+1===o)&&(n+=a,r=!1):(a===t?r=!0:r=!1,n+=a)}return n}function DL(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n}const MC=/^\.\.?\//u,RC=/^\/\.(?:\/|$)/u,TC=/^\/\.\.(?:\/|$)/u,Ece=/^\/?(?:.|\n)*?(?=\/|$)/u;function Cce(e){const t=[];for(;e.length;)if(e.match(MC))e=e.replace(MC,"");else if(e.match(RC))e=e.replace(RC,"/");else if(e.match(TC))e=e.replace(TC,"/"),t.pop();else if(e==="."||e==="..")e="";else{const n=e.match(Ece);if(n){const r=n[0];e=e.slice(r.length),t.push(r)}else throw new Error("Unexpected dot segment condition")}return t.join("")}function Sce(e,t){const n=t!==!0?escape:unescape;return e.scheme!==void 0&&(e.scheme=n(e.scheme)),e.userinfo!==void 0&&(e.userinfo=n(e.userinfo)),e.host!==void 0&&(e.host=n(e.host)),e.path!==void 0&&(e.path=n(e.path)),e.query!==void 0&&(e.query=n(e.query)),e.fragment!==void 0&&(e.fragment=n(e.fragment)),e}function wce(e){const t=[];if(e.userinfo!==void 0&&(t.push(e.userinfo),t.push("@")),e.host!==void 0){let n=unescape(e.host);const r=$L(n);if(r.isIPV4)n=r.host;else{const o=jL(r.host);o.isIPV6===!0?n=`[${o.escapedHost}]`:n=e.host}t.push(n)}return(typeof e.port=="number"||typeof e.port=="string")&&(t.push(":"),t.push(String(e.port))),t.length?t.join(""):void 0}var xce={recomposeAuthority:wce,normalizeComponentEncoding:Sce,removeDotSegments:Cce,normalizeIPv4:$L,normalizeIPv6:jL,stringArrayToHexStripped:a3};const Mce=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu,Rce=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function BL(e){return typeof e.secure=="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}function FL(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function UL(e){const t=String(e.scheme).toLowerCase()==="https";return(e.port===(t?443:80)||e.port==="")&&(e.port=void 0),e.path||(e.path="/"),e}function Tce(e){return e.secure=BL(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e}function kce(e){if((e.port===(BL(e)?443:80)||e.port==="")&&(e.port=void 0),typeof e.secure=="boolean"&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,n]=e.resourceName.split("?");e.path=t&&t!=="/"?t:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}function Ice(e,t){if(!e.path)return e.error="URN can not be parsed",e;const n=e.path.match(Rce);if(n){const r=t.scheme||e.scheme||"urn";e.nid=n[1].toLowerCase(),e.nss=n[2];const o=`${r}:${t.nid||e.nid}`,i=U_[o];e.path=void 0,i&&(e=i.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e}function Lce(e,t){const n=t.scheme||e.scheme||"urn",r=e.nid.toLowerCase(),o=`${n}:${t.nid||r}`,i=U_[o];i&&(e=i.serialize(e,t));const a=e,s=e.nss;return a.path=`${r||t.nid}:${s}`,t.skipEscape=!0,a}function Oce(e,t){const n=e;return n.uuid=n.nss,n.nss=void 0,!t.tolerant&&(!n.uuid||!Mce.test(n.uuid))&&(n.error=n.error||"UUID is not valid."),n}function Ace(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t}const HL={scheme:"http",domainHost:!0,parse:FL,serialize:UL},Pce={scheme:"https",domainHost:HL.domainHost,parse:FL,serialize:UL},D1={scheme:"ws",domainHost:!0,parse:Tce,serialize:kce},Nce={scheme:"wss",domainHost:D1.domainHost,parse:D1.parse,serialize:D1.serialize},$ce={scheme:"urn",parse:Ice,serialize:Lce,skipNormalize:!0},jce={scheme:"urn:uuid",parse:Oce,serialize:Ace,skipNormalize:!0},U_={http:HL,https:Pce,ws:D1,wss:Nce,urn:$ce,"urn:uuid":jce};var Dce=U_;const{normalizeIPv6:Bce,normalizeIPv4:Fce,removeDotSegments:Yu,recomposeAuthority:Uce,normalizeComponentEncoding:Gp}=xce,H_=Dce;function Hce(e,t){return typeof e=="string"?e=Yo(Gi(e,t),t):typeof e=="object"&&(e=Gi(Yo(e,t),t)),e}function Vce(e,t,n){const r=Object.assign({scheme:"null"},n),o=VL(Gi(e,r),Gi(t,r),r,!0);return Yo(o,{...r,skipEscape:!0})}function VL(e,t,n,r){const o={};return r||(e=Gi(Yo(e,n),n),t=Gi(Yo(t,n),n)),n=n||{},!n.tolerant&&t.scheme?(o.scheme=t.scheme,o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=Yu(t.path||""),o.query=t.query):(t.userinfo!==void 0||t.host!==void 0||t.port!==void 0?(o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=Yu(t.path||""),o.query=t.query):(t.path?(t.path.charAt(0)==="/"?o.path=Yu(t.path):((e.userinfo!==void 0||e.host!==void 0||e.port!==void 0)&&!e.path?o.path="/"+t.path:e.path?o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:o.path=t.path,o.path=Yu(o.path)),o.query=t.query):(o.path=e.path,t.query!==void 0?o.query=t.query:o.query=e.query),o.userinfo=e.userinfo,o.host=e.host,o.port=e.port),o.scheme=e.scheme),o.fragment=t.fragment,o}function zce(e,t,n){return typeof e=="string"?(e=unescape(e),e=Yo(Gp(Gi(e,n),!0),{...n,skipEscape:!0})):typeof e=="object"&&(e=Yo(Gp(e,!0),{...n,skipEscape:!0})),typeof t=="string"?(t=unescape(t),t=Yo(Gp(Gi(t,n),!0),{...n,skipEscape:!0})):typeof t=="object"&&(t=Yo(Gp(t,!0),{...n,skipEscape:!0})),e.toLowerCase()===t.toLowerCase()}function Yo(e,t){const n={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},r=Object.assign({},t),o=[],i=H_[(r.scheme||n.scheme||"").toLowerCase()];i&&i.serialize&&i.serialize(n,r),n.path!==void 0&&(r.skipEscape?n.path=unescape(n.path):(n.path=escape(n.path),n.scheme!==void 0&&(n.path=n.path.split("%3A").join(":")))),r.reference!=="suffix"&&n.scheme&&o.push(n.scheme,":");const a=Uce(n);if(a!==void 0&&(r.reference!=="suffix"&&o.push("//"),o.push(a),n.path&&n.path.charAt(0)!=="/"&&o.push("/")),n.path!==void 0){let s=n.path;!r.absolutePath&&(!i||!i.absolutePath)&&(s=Yu(s)),a===void 0&&(s=s.replace(/^\/\//u,"/%2F")),o.push(s)}return n.query!==void 0&&o.push("?",n.query),n.fragment!==void 0&&o.push("#",n.fragment),o.join("")}const Wce=Array.from({length:127},(e,t)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(t)));function qce(e){let t=0;for(let n=0,r=e.length;n<r;++n)if(t=e.charCodeAt(n),t>126||Wce[t])return!0;return!1}const Gce=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function Gi(e,t){const n=Object.assign({},t),r={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},o=e.indexOf("%")!==-1;let i=!1;n.reference==="suffix"&&(e=(n.scheme?n.scheme+":":"")+"//"+e);const a=e.match(Gce);if(a){if(r.scheme=a[1],r.userinfo=a[3],r.host=a[4],r.port=parseInt(a[5],10),r.path=a[6]||"",r.query=a[7],r.fragment=a[8],isNaN(r.port)&&(r.port=a[5]),r.host){const l=Fce(r.host);if(l.isIPV4===!1){const c=Bce(l.host);r.host=c.host.toLowerCase(),i=c.isIPV6}else r.host=l.host,i=!0}r.scheme===void 0&&r.userinfo===void 0&&r.host===void 0&&r.port===void 0&&r.query===void 0&&!r.path?r.reference="same-document":r.scheme===void 0?r.reference="relative":r.fragment===void 0?r.reference="absolute":r.reference="uri",n.reference&&n.reference!=="suffix"&&n.reference!==r.reference&&(r.error=r.error||"URI is not a "+n.reference+" reference.");const s=H_[(n.scheme||r.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!s||!s.unicodeSupport)&&r.host&&(n.domainHost||s&&s.domainHost)&&i===!1&&qce(r.host))try{r.host=URL.domainToASCII(r.host.toLowerCase())}catch(l){r.error=r.error||"Host's domain name can not be converted to ASCII: "+l}(!s||s&&!s.skipNormalize)&&(o&&r.scheme!==void 0&&(r.scheme=unescape(r.scheme)),o&&r.host!==void 0&&(r.host=unescape(r.host)),r.path&&(r.path=escape(unescape(r.path))),r.fragment&&(r.fragment=encodeURI(decodeURIComponent(r.fragment)))),s&&s.parse&&s.parse(r,n)}else r.error=r.error||"URI can not be parsed.";return r}const V_={SCHEMES:H_,normalize:Hce,resolve:Vce,resolveComponents:VL,equal:zce,serialize:Yo,parse:Gi};O0.exports=V_;O0.exports.default=V_;O0.exports.fastUri=V_;var Kce=O0.exports;Object.defineProperty(F_,"__esModule",{value:!0});const zL=Kce;zL.code='require("ajv/dist/runtime/uri").default';F_.default=zL;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=ro;Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var n=Be;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return n.CodeGen}});const r=Vf,o=iu,i=Hs,a=fr,s=Be,l=Ln,c=un,u=he,d=hce,p=F_,h=($,P)=>new RegExp($,P);h.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],v=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),b={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},m={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},y=200;function E($){var P,N,O,x,k,j,J,L,U,G,z,V,Z,ue,pe,be,we,ke,pt,ye,Ge,Ce,Ve,Ue,Le;const Ht=$.strict,Sn=(P=$.code)===null||P===void 0?void 0:P.optimize,zn=Sn===!0||Sn===void 0?1:Sn||0,ve=(O=(N=$.code)===null||N===void 0?void 0:N.regExp)!==null&&O!==void 0?O:h,Et=(x=$.uriResolver)!==null&&x!==void 0?x:p.default;return{strictSchema:(j=(k=$.strictSchema)!==null&&k!==void 0?k:Ht)!==null&&j!==void 0?j:!0,strictNumbers:(L=(J=$.strictNumbers)!==null&&J!==void 0?J:Ht)!==null&&L!==void 0?L:!0,strictTypes:(G=(U=$.strictTypes)!==null&&U!==void 0?U:Ht)!==null&&G!==void 0?G:"log",strictTuples:(V=(z=$.strictTuples)!==null&&z!==void 0?z:Ht)!==null&&V!==void 0?V:"log",strictRequired:(ue=(Z=$.strictRequired)!==null&&Z!==void 0?Z:Ht)!==null&&ue!==void 0?ue:!1,code:$.code?{...$.code,optimize:zn,regExp:ve}:{optimize:zn,regExp:ve},loopRequired:(pe=$.loopRequired)!==null&&pe!==void 0?pe:y,loopEnum:(be=$.loopEnum)!==null&&be!==void 0?be:y,meta:(we=$.meta)!==null&&we!==void 0?we:!0,messages:(ke=$.messages)!==null&&ke!==void 0?ke:!0,inlineRefs:(pt=$.inlineRefs)!==null&&pt!==void 0?pt:!0,schemaId:(ye=$.schemaId)!==null&&ye!==void 0?ye:"$id",addUsedSchema:(Ge=$.addUsedSchema)!==null&&Ge!==void 0?Ge:!0,validateSchema:(Ce=$.validateSchema)!==null&&Ce!==void 0?Ce:!0,validateFormats:(Ve=$.validateFormats)!==null&&Ve!==void 0?Ve:!0,unicodeRegExp:(Ue=$.unicodeRegExp)!==null&&Ue!==void 0?Ue:!0,int32range:(Le=$.int32range)!==null&&Le!==void 0?Le:!0,uriResolver:Et}}class w{constructor(P={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,P=this.opts={...P,...E(P)};const{es5:N,lines:O}=this.opts.code;this.scope=new s.ValueScope({scope:{},prefixes:v,es5:N,lines:O}),this.logger=F(P.logger);const x=P.validateFormats;P.validateFormats=!1,this.RULES=(0,i.getRules)(),S.call(this,b,P,"NOT SUPPORTED"),S.call(this,m,P,"DEPRECATED","warn"),this._metaOpts=I.call(this),P.formats&&R.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),P.keywords&&T.call(this,P.keywords),typeof P.meta=="object"&&this.addMetaSchema(P.meta),C.call(this),P.validateFormats=x}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:P,meta:N,schemaId:O}=this.opts;let x=d;O==="id"&&(x={...d},x.id=x.$id,delete x.$id),N&&P&&this.addMetaSchema(x,x[O],!1)}defaultMeta(){const{meta:P,schemaId:N}=this.opts;return this.opts.defaultMeta=typeof P=="object"?P[N]||P:void 0}validate(P,N){let O;if(typeof P=="string"){if(O=this.getSchema(P),!O)throw new Error(`no schema with key or ref "${P}"`)}else O=this.compile(P);const x=O(N);return"$async"in O||(this.errors=O.errors),x}compile(P,N){const O=this._addSchema(P,N);return O.validate||this._compileSchemaEnv(O)}compileAsync(P,N){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:O}=this.opts;return x.call(this,P,N);async function x(G,z){await k.call(this,G.$schema);const V=this._addSchema(G,z);return V.validate||j.call(this,V)}async function k(G){G&&!this.getSchema(G)&&await x.call(this,{$ref:G},!0)}async function j(G){try{return this._compileSchemaEnv(G)}catch(z){if(!(z instanceof o.default))throw z;return J.call(this,z),await L.call(this,z.missingSchema),j.call(this,G)}}function J({missingSchema:G,missingRef:z}){if(this.refs[G])throw new Error(`AnySchema ${G} is loaded but ${z} cannot be resolved`)}async function L(G){const z=await U.call(this,G);this.refs[G]||await k.call(this,z.$schema),this.refs[G]||this.addSchema(z,G,N)}async function U(G){const z=this._loading[G];if(z)return z;try{return await(this._loading[G]=O(G))}finally{delete this._loading[G]}}}addSchema(P,N,O,x=this.opts.validateSchema){if(Array.isArray(P)){for(const j of P)this.addSchema(j,void 0,O,x);return this}let k;if(typeof P=="object"){const{schemaId:j}=this.opts;if(k=P[j],k!==void 0&&typeof k!="string")throw new Error(`schema ${j} must be string`)}return N=(0,l.normalizeId)(N||k),this._checkUnique(N),this.schemas[N]=this._addSchema(P,O,N,x,!0),this}addMetaSchema(P,N,O=this.opts.validateSchema){return this.addSchema(P,N,!0,O),this}validateSchema(P,N){if(typeof P=="boolean")return!0;let O;if(O=P.$schema,O!==void 0&&typeof O!="string")throw new Error("$schema must be a string");if(O=O||this.opts.defaultMeta||this.defaultMeta(),!O)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const x=this.validate(O,P);if(!x&&N){const k="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(k);else throw new Error(k)}return x}getSchema(P){let N;for(;typeof(N=_.call(this,P))=="string";)P=N;if(N===void 0){const{schemaId:O}=this.opts,x=new a.SchemaEnv({schema:{},schemaId:O});if(N=a.resolveSchema.call(this,x,P),!N)return;this.refs[P]=N}return N.validate||this._compileSchemaEnv(N)}removeSchema(P){if(P instanceof RegExp)return this._removeAllSchemas(this.schemas,P),this._removeAllSchemas(this.refs,P),this;switch(typeof P){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const N=_.call(this,P);return typeof N=="object"&&this._cache.delete(N.schema),delete this.schemas[P],delete this.refs[P],this}case"object":{const N=P;this._cache.delete(N);let O=P[this.opts.schemaId];return O&&(O=(0,l.normalizeId)(O),delete this.schemas[O],delete this.refs[O]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(P){for(const N of P)this.addKeyword(N);return this}addKeyword(P,N){let O;if(typeof P=="string")O=P,typeof N=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),N.keyword=O);else if(typeof P=="object"&&N===void 0){if(N=P,O=N.keyword,Array.isArray(O)&&!O.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(W.call(this,O,N),!N)return(0,u.eachItem)(O,k=>Q.call(this,k)),this;re.call(this,N);const x={...N,type:(0,c.getJSONTypes)(N.type),schemaType:(0,c.getJSONTypes)(N.schemaType)};return(0,u.eachItem)(O,x.type.length===0?k=>Q.call(this,k,x):k=>x.type.forEach(j=>Q.call(this,k,x,j))),this}getKeyword(P){const N=this.RULES.all[P];return typeof N=="object"?N.definition:!!N}removeKeyword(P){const{RULES:N}=this;delete N.keywords[P],delete N.all[P];for(const O of N.rules){const x=O.rules.findIndex(k=>k.keyword===P);x>=0&&O.rules.splice(x,1)}return this}addFormat(P,N){return typeof N=="string"&&(N=new RegExp(N)),this.formats[P]=N,this}errorsText(P=this.errors,{separator:N=", ",dataVar:O="data"}={}){return!P||P.length===0?"No errors":P.map(x=>`${O}${x.instancePath} ${x.message}`).reduce((x,k)=>x+N+k)}$dataMetaSchema(P,N){const O=this.RULES.all;P=JSON.parse(JSON.stringify(P));for(const x of N){const k=x.split("/").slice(1);let j=P;for(const J of k)j=j[J];for(const J in O){const L=O[J];if(typeof L!="object")continue;const{$data:U}=L.definition,G=j[J];U&&G&&(j[J]=ee(G))}}return P}_removeAllSchemas(P,N){for(const O in P){const x=P[O];(!N||N.test(O))&&(typeof x=="string"?delete P[O]:x&&!x.meta&&(this._cache.delete(x.schema),delete P[O]))}}_addSchema(P,N,O,x=this.opts.validateSchema,k=this.opts.addUsedSchema){let j;const{schemaId:J}=this.opts;if(typeof P=="object")j=P[J];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof P!="boolean")throw new Error("schema must be object or boolean")}let L=this._cache.get(P);if(L!==void 0)return L;O=(0,l.normalizeId)(j||O);const U=l.getSchemaRefs.call(this,P,O);return L=new a.SchemaEnv({schema:P,schemaId:J,meta:N,baseId:O,localRefs:U}),this._cache.set(L.schema,L),k&&!O.startsWith("#")&&(O&&this._checkUnique(O),this.refs[O]=L),x&&this.validateSchema(P,!0),L}_checkUnique(P){if(this.schemas[P]||this.refs[P])throw new Error(`schema with key or id "${P}" already exists`)}_compileSchemaEnv(P){if(P.meta?this._compileMetaSchema(P):a.compileSchema.call(this,P),!P.validate)throw new Error("ajv implementation error");return P.validate}_compileMetaSchema(P){const N=this.opts;this.opts=this._metaOpts;try{a.compileSchema.call(this,P)}finally{this.opts=N}}}w.ValidationError=r.default,w.MissingRefError=o.default,e.default=w;function S($,P,N,O="error"){for(const x in $){const k=x;k in P&&this.logger[O](`${N}: option ${x}. ${$[k]}`)}}function _($){return $=(0,l.normalizeId)($),this.schemas[$]||this.refs[$]}function C(){const $=this.opts.schemas;if($)if(Array.isArray($))this.addSchema($);else for(const P in $)this.addSchema($[P],P)}function R(){for(const $ in this.opts.formats){const P=this.opts.formats[$];P&&this.addFormat($,P)}}function T($){if(Array.isArray($)){this.addVocabulary($);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const P in $){const N=$[P];N.keyword||(N.keyword=P),this.addKeyword(N)}}function I(){const $={...this.opts};for(const P of g)delete $[P];return $}const D={log(){},warn(){},error(){}};function F($){if($===!1)return D;if($===void 0)return console;if($.log&&$.warn&&$.error)return $;throw new Error("logger must implement log, warn and error methods")}const q=/^[a-z_$][a-z0-9_$:-]*$/i;function W($,P){const{RULES:N}=this;if((0,u.eachItem)($,O=>{if(N.keywords[O])throw new Error(`Keyword ${O} is already defined`);if(!q.test(O))throw new Error(`Keyword ${O} has invalid name`)}),!!P&&P.$data&&!("code"in P||"validate"in P))throw new Error('$data keyword must have "code" or "validate" function')}function Q($,P,N){var O;const x=P==null?void 0:P.post;if(N&&x)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:k}=this;let j=x?k.post:k.rules.find(({type:L})=>L===N);if(j||(j={type:N,rules:[]},k.rules.push(j)),k.keywords[$]=!0,!P)return;const J={keyword:$,definition:{...P,type:(0,c.getJSONTypes)(P.type),schemaType:(0,c.getJSONTypes)(P.schemaType)}};P.before?H.call(this,j,J,P.before):j.rules.push(J),k.all[$]=J,(O=P.implements)===null||O===void 0||O.forEach(L=>this.addKeyword(L))}function H($,P,N){const O=$.rules.findIndex(x=>x.keyword===N);O>=0?$.rules.splice(O,0,P):($.rules.push(P),this.logger.warn(`rule ${N} is not defined`))}function re($){let{metaSchema:P}=$;P!==void 0&&($.$data&&this.opts.$data&&(P=ee(P)),$.validateSchema=this.compile(P,!0))}const B={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function ee($){return{anyOf:[$,B]}}})(oL);var z_={},W_={},q_={};Object.defineProperty(q_,"__esModule",{value:!0});const Yce={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};q_.default=Yce;var Vs={};Object.defineProperty(Vs,"__esModule",{value:!0});Vs.callRef=Vs.getValidate=void 0;const Zce=iu,kC=Ze,sr=Be,gl=Po,IC=fr,Kp=he,Xce={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:r}=e,{baseId:o,schemaEnv:i,validateName:a,opts:s,self:l}=r,{root:c}=i;if((n==="#"||n==="#/")&&o===c.baseId)return d();const u=IC.resolveRef.call(l,c,o,n);if(u===void 0)throw new Zce.default(r.opts.uriResolver,o,n);if(u instanceof IC.SchemaEnv)return p(u);return h(u);function d(){if(i===c)return B1(e,a,i,i.$async);const g=t.scopeValue("root",{ref:c});return B1(e,(0,sr._)`${g}.validate`,c,c.$async)}function p(g){const v=WL(e,g);B1(e,v,g,g.$async)}function h(g){const v=t.scopeValue("schema",s.code.source===!0?{ref:g,code:(0,sr.stringify)(g)}:{ref:g}),b=t.name("valid"),m=e.subschema({schema:g,dataTypes:[],schemaPath:sr.nil,topSchemaRef:v,errSchemaPath:n},b);e.mergeEvaluated(m),e.ok(b)}}};function WL(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):(0,sr._)`${n.scopeValue("wrapper",{ref:t})}.validate`}Vs.getValidate=WL;function B1(e,t,n,r){const{gen:o,it:i}=e,{allErrors:a,schemaEnv:s,opts:l}=i,c=l.passContext?gl.default.this:sr.nil;r?u():d();function u(){if(!s.$async)throw new Error("async schema referenced by sync schema");const g=o.let("valid");o.try(()=>{o.code((0,sr._)`await ${(0,kC.callValidateCode)(e,t,c)}`),h(t),a||o.assign(g,!0)},v=>{o.if((0,sr._)`!(${v} instanceof ${i.ValidationError})`,()=>o.throw(v)),p(v),a||o.assign(g,!1)}),e.ok(g)}function d(){e.result((0,kC.callValidateCode)(e,t,c),()=>h(t),()=>p(t))}function p(g){const v=(0,sr._)`${g}.errors`;o.assign(gl.default.vErrors,(0,sr._)`${gl.default.vErrors} === null ? ${v} : ${gl.default.vErrors}.concat(${v})`),o.assign(gl.default.errors,(0,sr._)`${gl.default.vErrors}.length`)}function h(g){var v;if(!i.opts.unevaluated)return;const b=(v=n==null?void 0:n.validate)===null||v===void 0?void 0:v.evaluated;if(i.props!==!0)if(b&&!b.dynamicProps)b.props!==void 0&&(i.props=Kp.mergeEvaluated.props(o,b.props,i.props));else{const m=o.var("props",(0,sr._)`${g}.evaluated.props`);i.props=Kp.mergeEvaluated.props(o,m,i.props,sr.Name)}if(i.items!==!0)if(b&&!b.dynamicItems)b.items!==void 0&&(i.items=Kp.mergeEvaluated.items(o,b.items,i.items));else{const m=o.var("items",(0,sr._)`${g}.evaluated.items`);i.items=Kp.mergeEvaluated.items(o,m,i.items,sr.Name)}}}Vs.callRef=B1;Vs.default=Xce;Object.defineProperty(W_,"__esModule",{value:!0});const Jce=q_,Qce=Vs,eue=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",Jce.default,Qce.default];W_.default=eue;var G_={},K_={};Object.defineProperty(K_,"__esModule",{value:!0});const Qh=Be,la=Qh.operators,em={maximum:{okStr:"<=",ok:la.LTE,fail:la.GT},minimum:{okStr:">=",ok:la.GTE,fail:la.LT},exclusiveMaximum:{okStr:"<",ok:la.LT,fail:la.GTE},exclusiveMinimum:{okStr:">",ok:la.GT,fail:la.LTE}},tue={message:({keyword:e,schemaCode:t})=>(0,Qh.str)`must be ${em[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,Qh._)`{comparison: ${em[e].okStr}, limit: ${t}}`},nue={keyword:Object.keys(em),type:"number",schemaType:"number",$data:!0,error:tue,code(e){const{keyword:t,data:n,schemaCode:r}=e;e.fail$data((0,Qh._)`${n} ${em[t].fail} ${r} || isNaN(${n})`)}};K_.default=nue;var Y_={};Object.defineProperty(Y_,"__esModule",{value:!0});const bd=Be,rue={message:({schemaCode:e})=>(0,bd.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,bd._)`{multipleOf: ${e}}`},oue={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:rue,code(e){const{gen:t,data:n,schemaCode:r,it:o}=e,i=o.opts.multipleOfPrecision,a=t.let("res"),s=i?(0,bd._)`Math.abs(Math.round(${a}) - ${a}) > 1e-${i}`:(0,bd._)`${a} !== parseInt(${a})`;e.fail$data((0,bd._)`(${r} === 0 || (${a} = ${n}/${r}, ${s}))`)}};Y_.default=oue;var Z_={},X_={};Object.defineProperty(X_,"__esModule",{value:!0});function qL(e){const t=e.length;let n=0,r=0,o;for(;r<t;)n++,o=e.charCodeAt(r++),o>=55296&&o<=56319&&r<t&&(o=e.charCodeAt(r),(o&64512)===56320&&r++);return n}X_.default=qL;qL.code='require("ajv/dist/runtime/ucs2length").default';Object.defineProperty(Z_,"__esModule",{value:!0});const ms=Be,iue=he,aue=X_,sue={message({keyword:e,schemaCode:t}){const n=e==="maxLength"?"more":"fewer";return(0,ms.str)`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>(0,ms._)`{limit: ${e}}`},lue={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:sue,code(e){const{keyword:t,data:n,schemaCode:r,it:o}=e,i=t==="maxLength"?ms.operators.GT:ms.operators.LT,a=o.opts.unicode===!1?(0,ms._)`${n}.length`:(0,ms._)`${(0,iue.useFunc)(e.gen,aue.default)}(${n})`;e.fail$data((0,ms._)`${a} ${i} ${r}`)}};Z_.default=lue;var J_={};Object.defineProperty(J_,"__esModule",{value:!0});const cue=Ze,tm=Be,uue={message:({schemaCode:e})=>(0,tm.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,tm._)`{pattern: ${e}}`},due={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:uue,code(e){const{data:t,$data:n,schema:r,schemaCode:o,it:i}=e,a=i.opts.unicodeRegExp?"u":"",s=n?(0,tm._)`(new RegExp(${o}, ${a}))`:(0,cue.usePattern)(e,r);e.fail$data((0,tm._)`!${s}.test(${t})`)}};J_.default=due;var Q_={};Object.defineProperty(Q_,"__esModule",{value:!0});const Ed=Be,fue={message({keyword:e,schemaCode:t}){const n=e==="maxProperties"?"more":"fewer";return(0,Ed.str)`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>(0,Ed._)`{limit: ${e}}`},pue={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:fue,code(e){const{keyword:t,data:n,schemaCode:r}=e,o=t==="maxProperties"?Ed.operators.GT:Ed.operators.LT;e.fail$data((0,Ed._)`Object.keys(${n}).length ${o} ${r}`)}};Q_.default=pue;var eb={};Object.defineProperty(eb,"__esModule",{value:!0});const ju=Ze,Cd=Be,hue=he,mue={message:({params:{missingProperty:e}})=>(0,Cd.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,Cd._)`{missingProperty: ${e}}`},gue={keyword:"required",type:"object",schemaType:"array",$data:!0,error:mue,code(e){const{gen:t,schema:n,schemaCode:r,data:o,$data:i,it:a}=e,{opts:s}=a;if(!i&&n.length===0)return;const l=n.length>=s.loopRequired;if(a.allErrors?c():u(),s.strictRequired){const h=e.parentSchema.properties,{definedProperties:g}=e.it;for(const v of n)if((h==null?void 0:h[v])===void 0&&!g.has(v)){const b=a.schemaEnv.baseId+a.errSchemaPath,m=`required property "${v}" is not defined at "${b}" (strictRequired)`;(0,hue.checkStrictMode)(a,m,a.opts.strictRequired)}}function c(){if(l||i)e.block$data(Cd.nil,d);else for(const h of n)(0,ju.checkReportMissingProp)(e,h)}function u(){const h=t.let("missing");if(l||i){const g=t.let("valid",!0);e.block$data(g,()=>p(h,g)),e.ok(g)}else t.if((0,ju.checkMissingProp)(e,n,h)),(0,ju.reportMissingProp)(e,h),t.else()}function d(){t.forOf("prop",r,h=>{e.setParams({missingProperty:h}),t.if((0,ju.noPropertyInData)(t,o,h,s.ownProperties),()=>e.error())})}function p(h,g){e.setParams({missingProperty:h}),t.forOf(h,r,()=>{t.assign(g,(0,ju.propertyInData)(t,o,h,s.ownProperties)),t.if((0,Cd.not)(g),()=>{e.error(),t.break()})},Cd.nil)}}};eb.default=gue;var tb={};Object.defineProperty(tb,"__esModule",{value:!0});const Sd=Be,yue={message({keyword:e,schemaCode:t}){const n=e==="maxItems"?"more":"fewer";return(0,Sd.str)`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>(0,Sd._)`{limit: ${e}}`},vue={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:yue,code(e){const{keyword:t,data:n,schemaCode:r}=e,o=t==="maxItems"?Sd.operators.GT:Sd.operators.LT;e.fail$data((0,Sd._)`${n}.length ${o} ${r}`)}};tb.default=vue;var nb={},zf={};Object.defineProperty(zf,"__esModule",{value:!0});const GL=$_;GL.code='require("ajv/dist/runtime/equal").default';zf.default=GL;Object.defineProperty(nb,"__esModule",{value:!0});const R2=un,Rn=Be,_ue=he,bue=zf,Eue={message:({params:{i:e,j:t}})=>(0,Rn.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,Rn._)`{i: ${e}, j: ${t}}`},Cue={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:Eue,code(e){const{gen:t,data:n,$data:r,schema:o,parentSchema:i,schemaCode:a,it:s}=e;if(!r&&!o)return;const l=t.let("valid"),c=i.items?(0,R2.getSchemaTypes)(i.items):[];e.block$data(l,u,(0,Rn._)`${a} === false`),e.ok(l);function u(){const g=t.let("i",(0,Rn._)`${n}.length`),v=t.let("j");e.setParams({i:g,j:v}),t.assign(l,!0),t.if((0,Rn._)`${g} > 1`,()=>(d()?p:h)(g,v))}function d(){return c.length>0&&!c.some(g=>g==="object"||g==="array")}function p(g,v){const b=t.name("item"),m=(0,R2.checkDataTypes)(c,b,s.opts.strictNumbers,R2.DataType.Wrong),y=t.const("indices",(0,Rn._)`{}`);t.for((0,Rn._)`;${g}--;`,()=>{t.let(b,(0,Rn._)`${n}[${g}]`),t.if(m,(0,Rn._)`continue`),c.length>1&&t.if((0,Rn._)`typeof ${b} == "string"`,(0,Rn._)`${b} += "_"`),t.if((0,Rn._)`typeof ${y}[${b}] == "number"`,()=>{t.assign(v,(0,Rn._)`${y}[${b}]`),e.error(),t.assign(l,!1).break()}).code((0,Rn._)`${y}[${b}] = ${g}`)})}function h(g,v){const b=(0,_ue.useFunc)(t,bue.default),m=t.name("outer");t.label(m).for((0,Rn._)`;${g}--;`,()=>t.for((0,Rn._)`${v} = ${g}; ${v}--;`,()=>t.if((0,Rn._)`${b}(${n}[${g}], ${n}[${v}])`,()=>{e.error(),t.assign(l,!1).break(m)})))}}};nb.default=Cue;var rb={};Object.defineProperty(rb,"__esModule",{value:!0});const s3=Be,Sue=he,wue=zf,xue={message:"must be equal to constant",params:({schemaCode:e})=>(0,s3._)`{allowedValue: ${e}}`},Mue={keyword:"const",$data:!0,error:xue,code(e){const{gen:t,data:n,$data:r,schemaCode:o,schema:i}=e;r||i&&typeof i=="object"?e.fail$data((0,s3._)`!${(0,Sue.useFunc)(t,wue.default)}(${n}, ${o})`):e.fail((0,s3._)`${i} !== ${n}`)}};rb.default=Mue;var ob={};Object.defineProperty(ob,"__esModule",{value:!0});const Zu=Be,Rue=he,Tue=zf,kue={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,Zu._)`{allowedValues: ${e}}`},Iue={keyword:"enum",schemaType:"array",$data:!0,error:kue,code(e){const{gen:t,data:n,$data:r,schema:o,schemaCode:i,it:a}=e;if(!r&&o.length===0)throw new Error("enum must have non-empty array");const s=o.length>=a.opts.loopEnum;let l;const c=()=>l??(l=(0,Rue.useFunc)(t,Tue.default));let u;if(s||r)u=t.let("valid"),e.block$data(u,d);else{if(!Array.isArray(o))throw new Error("ajv implementation error");const h=t.const("vSchema",i);u=(0,Zu.or)(...o.map((g,v)=>p(h,v)))}e.pass(u);function d(){t.assign(u,!1),t.forOf("v",i,h=>t.if((0,Zu._)`${c()}(${n}, ${h})`,()=>t.assign(u,!0).break()))}function p(h,g){const v=o[g];return typeof v=="object"&&v!==null?(0,Zu._)`${c()}(${n}, ${h}[${g}])`:(0,Zu._)`${n} === ${v}`}}};ob.default=Iue;Object.defineProperty(G_,"__esModule",{value:!0});const Lue=K_,Oue=Y_,Aue=Z_,Pue=J_,Nue=Q_,$ue=eb,jue=tb,Due=nb,Bue=rb,Fue=ob,Uue=[Lue.default,Oue.default,Aue.default,Pue.default,Nue.default,$ue.default,jue.default,Due.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Bue.default,Fue.default];G_.default=Uue;var ib={},au={};Object.defineProperty(au,"__esModule",{value:!0});au.validateAdditionalItems=void 0;const gs=Be,l3=he,Hue={message:({params:{len:e}})=>(0,gs.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,gs._)`{limit: ${e}}`},Vue={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:Hue,code(e){const{parentSchema:t,it:n}=e,{items:r}=t;if(!Array.isArray(r)){(0,l3.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas');return}KL(e,r)}};function KL(e,t){const{gen:n,schema:r,data:o,keyword:i,it:a}=e;a.items=!0;const s=n.const("len",(0,gs._)`${o}.length`);if(r===!1)e.setParams({len:t.length}),e.pass((0,gs._)`${s} <= ${t.length}`);else if(typeof r=="object"&&!(0,l3.alwaysValidSchema)(a,r)){const c=n.var("valid",(0,gs._)`${s} <= ${t.length}`);n.if((0,gs.not)(c),()=>l(c)),e.ok(c)}function l(c){n.forRange("i",t.length,s,u=>{e.subschema({keyword:i,dataProp:u,dataPropType:l3.Type.Num},c),a.allErrors||n.if((0,gs.not)(c),()=>n.break())})}}au.validateAdditionalItems=KL;au.default=Vue;var ab={},su={};Object.defineProperty(su,"__esModule",{value:!0});su.validateTuple=void 0;const LC=Be,F1=he,zue=Ze,Wue={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return YL(e,"additionalItems",t);n.items=!0,!(0,F1.alwaysValidSchema)(n,t)&&e.ok((0,zue.validateArray)(e))}};function YL(e,t,n=e.schema){const{gen:r,parentSchema:o,data:i,keyword:a,it:s}=e;u(o),s.opts.unevaluated&&n.length&&s.items!==!0&&(s.items=F1.mergeEvaluated.items(r,n.length,s.items));const l=r.name("valid"),c=r.const("len",(0,LC._)`${i}.length`);n.forEach((d,p)=>{(0,F1.alwaysValidSchema)(s,d)||(r.if((0,LC._)`${c} > ${p}`,()=>e.subschema({keyword:a,schemaProp:p,dataProp:p},l)),e.ok(l))});function u(d){const{opts:p,errSchemaPath:h}=s,g=n.length,v=g===d.minItems&&(g===d.maxItems||d[t]===!1);if(p.strictTuples&&!v){const b=`"${a}" is ${g}-tuple, but minItems or maxItems/${t} are not specified or different at path "${h}"`;(0,F1.checkStrictMode)(s,b,p.strictTuples)}}}su.validateTuple=YL;su.default=Wue;Object.defineProperty(ab,"__esModule",{value:!0});const que=su,Gue={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,que.validateTuple)(e,"items")};ab.default=Gue;var sb={};Object.defineProperty(sb,"__esModule",{value:!0});const OC=Be,Kue=he,Yue=Ze,Zue=au,Xue={message:({params:{len:e}})=>(0,OC.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,OC._)`{limit: ${e}}`},Jue={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:Xue,code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:o}=n;r.items=!0,!(0,Kue.alwaysValidSchema)(r,t)&&(o?(0,Zue.validateAdditionalItems)(e,o):e.ok((0,Yue.validateArray)(e)))}};sb.default=Jue;var lb={};Object.defineProperty(lb,"__esModule",{value:!0});const Hr=Be,Yp=he,Que={message:({params:{min:e,max:t}})=>t===void 0?(0,Hr.str)`must contain at least ${e} valid item(s)`:(0,Hr.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?(0,Hr._)`{minContains: ${e}}`:(0,Hr._)`{minContains: ${e}, maxContains: ${t}}`},ede={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:Que,code(e){const{gen:t,schema:n,parentSchema:r,data:o,it:i}=e;let a,s;const{minContains:l,maxContains:c}=r;i.opts.next?(a=l===void 0?1:l,s=c):a=1;const u=t.const("len",(0,Hr._)`${o}.length`);if(e.setParams({min:a,max:s}),s===void 0&&a===0){(0,Yp.checkStrictMode)(i,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&a>s){(0,Yp.checkStrictMode)(i,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,Yp.alwaysValidSchema)(i,n)){let v=(0,Hr._)`${u} >= ${a}`;s!==void 0&&(v=(0,Hr._)`${v} && ${u} <= ${s}`),e.pass(v);return}i.items=!0;const d=t.name("valid");s===void 0&&a===1?h(d,()=>t.if(d,()=>t.break())):a===0?(t.let(d,!0),s!==void 0&&t.if((0,Hr._)`${o}.length > 0`,p)):(t.let(d,!1),p()),e.result(d,()=>e.reset());function p(){const v=t.name("_valid"),b=t.let("count",0);h(v,()=>t.if(v,()=>g(b)))}function h(v,b){t.forRange("i",0,u,m=>{e.subschema({keyword:"contains",dataProp:m,dataPropType:Yp.Type.Num,compositeRule:!0},v),b()})}function g(v){t.code((0,Hr._)`${v}++`),s===void 0?t.if((0,Hr._)`${v} >= ${a}`,()=>t.assign(d,!0).break()):(t.if((0,Hr._)`${v} > ${s}`,()=>t.assign(d,!1).break()),a===1?t.assign(d,!0):t.if((0,Hr._)`${v} >= ${a}`,()=>t.assign(d,!0)))}}};lb.default=ede;var ZL={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=Be,n=he,r=Ze;e.error={message:({params:{property:l,depsCount:c,deps:u}})=>{const d=c===1?"property":"properties";return(0,t.str)`must have ${d} ${u} when property ${l} is present`},params:({params:{property:l,depsCount:c,deps:u,missingProperty:d}})=>(0,t._)`{property: ${l},
|
|
796
|
-
missingProperty: ${d},
|
|
797
|
-
depsCount: ${c},
|
|
798
|
-
deps: ${u}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(l){const[c,u]=i(l);a(l,c),s(l,u)}};function i({schema:l}){const c={},u={};for(const d in l){if(d==="__proto__")continue;const p=Array.isArray(l[d])?c:u;p[d]=l[d]}return[c,u]}function a(l,c=l.schema){const{gen:u,data:d,it:p}=l;if(Object.keys(c).length===0)return;const h=u.let("missing");for(const g in c){const v=c[g];if(v.length===0)continue;const b=(0,r.propertyInData)(u,d,g,p.opts.ownProperties);l.setParams({property:g,depsCount:v.length,deps:v.join(", ")}),p.allErrors?u.if(b,()=>{for(const m of v)(0,r.checkReportMissingProp)(l,m)}):(u.if((0,t._)`${b} && (${(0,r.checkMissingProp)(l,v,h)})`),(0,r.reportMissingProp)(l,h),u.else())}}e.validatePropertyDeps=a;function s(l,c=l.schema){const{gen:u,data:d,keyword:p,it:h}=l,g=u.name("valid");for(const v in c)(0,n.alwaysValidSchema)(h,c[v])||(u.if((0,r.propertyInData)(u,d,v,h.opts.ownProperties),()=>{const b=l.subschema({keyword:p,schemaProp:v},g);l.mergeValidEvaluated(b,g)},()=>u.var(g,!0)),l.ok(g))}e.validateSchemaDeps=s,e.default=o})(ZL);var cb={};Object.defineProperty(cb,"__esModule",{value:!0});const XL=Be,tde=he,nde={message:"property name must be valid",params:({params:e})=>(0,XL._)`{propertyName: ${e.propertyName}}`},rde={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:nde,code(e){const{gen:t,schema:n,data:r,it:o}=e;if((0,tde.alwaysValidSchema)(o,n))return;const i=t.name("valid");t.forIn("key",r,a=>{e.setParams({propertyName:a}),e.subschema({keyword:"propertyNames",data:a,dataTypes:["string"],propertyName:a,compositeRule:!0},i),t.if((0,XL.not)(i),()=>{e.error(!0),o.allErrors||t.break()})}),e.ok(i)}};cb.default=rde;var A0={};Object.defineProperty(A0,"__esModule",{value:!0});const Zp=Ze,_o=Be,ode=Po,Xp=he,ide={message:"must NOT have additional properties",params:({params:e})=>(0,_o._)`{additionalProperty: ${e.additionalProperty}}`},ade={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:ide,code(e){const{gen:t,schema:n,parentSchema:r,data:o,errsCount:i,it:a}=e;if(!i)throw new Error("ajv implementation error");const{allErrors:s,opts:l}=a;if(a.props=!0,l.removeAdditional!=="all"&&(0,Xp.alwaysValidSchema)(a,n))return;const c=(0,Zp.allSchemaProperties)(r.properties),u=(0,Zp.allSchemaProperties)(r.patternProperties);d(),e.ok((0,_o._)`${i} === ${ode.default.errors}`);function d(){t.forIn("key",o,b=>{!c.length&&!u.length?g(b):t.if(p(b),()=>g(b))})}function p(b){let m;if(c.length>8){const y=(0,Xp.schemaRefOrVal)(a,r.properties,"properties");m=(0,Zp.isOwnProperty)(t,y,b)}else c.length?m=(0,_o.or)(...c.map(y=>(0,_o._)`${b} === ${y}`)):m=_o.nil;return u.length&&(m=(0,_o.or)(m,...u.map(y=>(0,_o._)`${(0,Zp.usePattern)(e,y)}.test(${b})`))),(0,_o.not)(m)}function h(b){t.code((0,_o._)`delete ${o}[${b}]`)}function g(b){if(l.removeAdditional==="all"||l.removeAdditional&&n===!1){h(b);return}if(n===!1){e.setParams({additionalProperty:b}),e.error(),s||t.break();return}if(typeof n=="object"&&!(0,Xp.alwaysValidSchema)(a,n)){const m=t.name("valid");l.removeAdditional==="failing"?(v(b,m,!1),t.if((0,_o.not)(m),()=>{e.reset(),h(b)})):(v(b,m),s||t.if((0,_o.not)(m),()=>t.break()))}}function v(b,m,y){const E={keyword:"additionalProperties",dataProp:b,dataPropType:Xp.Type.Str};y===!1&&Object.assign(E,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(E,m)}}};A0.default=ade;var ub={};Object.defineProperty(ub,"__esModule",{value:!0});const sde=ro,AC=Ze,T2=he,PC=A0,lde={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:r,data:o,it:i}=e;i.opts.removeAdditional==="all"&&r.additionalProperties===void 0&&PC.default.code(new sde.KeywordCxt(i,PC.default,"additionalProperties"));const a=(0,AC.allSchemaProperties)(n);for(const d of a)i.definedProperties.add(d);i.opts.unevaluated&&a.length&&i.props!==!0&&(i.props=T2.mergeEvaluated.props(t,(0,T2.toHash)(a),i.props));const s=a.filter(d=>!(0,T2.alwaysValidSchema)(i,n[d]));if(s.length===0)return;const l=t.name("valid");for(const d of s)c(d)?u(d):(t.if((0,AC.propertyInData)(t,o,d,i.opts.ownProperties)),u(d),i.allErrors||t.else().var(l,!0),t.endIf()),e.it.definedProperties.add(d),e.ok(l);function c(d){return i.opts.useDefaults&&!i.compositeRule&&n[d].default!==void 0}function u(d){e.subschema({keyword:"properties",schemaProp:d,dataProp:d},l)}}};ub.default=lde;var db={};Object.defineProperty(db,"__esModule",{value:!0});const NC=Ze,Jp=Be,$C=he,jC=he,cde={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:r,parentSchema:o,it:i}=e,{opts:a}=i,s=(0,NC.allSchemaProperties)(n),l=s.filter(v=>(0,$C.alwaysValidSchema)(i,n[v]));if(s.length===0||l.length===s.length&&(!i.opts.unevaluated||i.props===!0))return;const c=a.strictSchema&&!a.allowMatchingProperties&&o.properties,u=t.name("valid");i.props!==!0&&!(i.props instanceof Jp.Name)&&(i.props=(0,jC.evaluatedPropsToName)(t,i.props));const{props:d}=i;p();function p(){for(const v of s)c&&h(v),i.allErrors?g(v):(t.var(u,!0),g(v),t.if(u))}function h(v){for(const b in c)new RegExp(v).test(b)&&(0,$C.checkStrictMode)(i,`property ${b} matches pattern ${v} (use allowMatchingProperties)`)}function g(v){t.forIn("key",r,b=>{t.if((0,Jp._)`${(0,NC.usePattern)(e,v)}.test(${b})`,()=>{const m=l.includes(v);m||e.subschema({keyword:"patternProperties",schemaProp:v,dataProp:b,dataPropType:jC.Type.Str},u),i.opts.unevaluated&&d!==!0?t.assign((0,Jp._)`${d}[${b}]`,!0):!m&&!i.allErrors&&t.if((0,Jp.not)(u),()=>t.break())})})}}};db.default=cde;var fb={};Object.defineProperty(fb,"__esModule",{value:!0});const ude=he,dde={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:r}=e;if((0,ude.alwaysValidSchema)(r,n)){e.fail();return}const o=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};fb.default=dde;var pb={};Object.defineProperty(pb,"__esModule",{value:!0});const fde=Ze,pde={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:fde.validateUnion,error:{message:"must match a schema in anyOf"}};pb.default=pde;var hb={};Object.defineProperty(hb,"__esModule",{value:!0});const U1=Be,hde=he,mde={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,U1._)`{passingSchemas: ${e.passing}}`},gde={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:mde,code(e){const{gen:t,schema:n,parentSchema:r,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(o.opts.discriminator&&r.discriminator)return;const i=n,a=t.let("valid",!1),s=t.let("passing",null),l=t.name("_valid");e.setParams({passing:s}),t.block(c),e.result(a,()=>e.reset(),()=>e.error(!0));function c(){i.forEach((u,d)=>{let p;(0,hde.alwaysValidSchema)(o,u)?t.var(l,!0):p=e.subschema({keyword:"oneOf",schemaProp:d,compositeRule:!0},l),d>0&&t.if((0,U1._)`${l} && ${a}`).assign(a,!1).assign(s,(0,U1._)`[${s}, ${d}]`).else(),t.if(l,()=>{t.assign(a,!0),t.assign(s,d),p&&e.mergeEvaluated(p,U1.Name)})})}}};hb.default=gde;var mb={};Object.defineProperty(mb,"__esModule",{value:!0});const yde=he,vde={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:r}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const o=t.name("valid");n.forEach((i,a)=>{if((0,yde.alwaysValidSchema)(r,i))return;const s=e.subschema({keyword:"allOf",schemaProp:a},o);e.ok(o),e.mergeEvaluated(s)})}};mb.default=vde;var gb={};Object.defineProperty(gb,"__esModule",{value:!0});const nm=Be,JL=he,_de={message:({params:e})=>(0,nm.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,nm._)`{failingKeyword: ${e.ifClause}}`},bde={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:_de,code(e){const{gen:t,parentSchema:n,it:r}=e;n.then===void 0&&n.else===void 0&&(0,JL.checkStrictMode)(r,'"if" without "then" and "else" is ignored');const o=DC(r,"then"),i=DC(r,"else");if(!o&&!i)return;const a=t.let("valid",!0),s=t.name("_valid");if(l(),e.reset(),o&&i){const u=t.let("ifClause");e.setParams({ifClause:u}),t.if(s,c("then",u),c("else",u))}else o?t.if(s,c("then")):t.if((0,nm.not)(s),c("else"));e.pass(a,()=>e.error(!0));function l(){const u=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);e.mergeEvaluated(u)}function c(u,d){return()=>{const p=e.subschema({keyword:u},s);t.assign(a,s),e.mergeValidEvaluated(p,a),d?t.assign(d,(0,nm._)`${u}`):e.setParams({ifClause:u})}}}};function DC(e,t){const n=e.schema[t];return n!==void 0&&!(0,JL.alwaysValidSchema)(e,n)}gb.default=bde;var yb={};Object.defineProperty(yb,"__esModule",{value:!0});const Ede=he,Cde={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){t.if===void 0&&(0,Ede.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};yb.default=Cde;Object.defineProperty(ib,"__esModule",{value:!0});const Sde=au,wde=ab,xde=su,Mde=sb,Rde=lb,Tde=ZL,kde=cb,Ide=A0,Lde=ub,Ode=db,Ade=fb,Pde=pb,Nde=hb,$de=mb,jde=gb,Dde=yb;function Bde(e=!1){const t=[Ade.default,Pde.default,Nde.default,$de.default,jde.default,Dde.default,kde.default,Ide.default,Tde.default,Lde.default,Ode.default];return e?t.push(wde.default,Mde.default):t.push(Sde.default,xde.default),t.push(Rde.default),t}ib.default=Bde;var vb={},_b={};Object.defineProperty(_b,"__esModule",{value:!0});const Jt=Be,Fde={message:({schemaCode:e})=>(0,Jt.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,Jt._)`{format: ${e}}`},Ude={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Fde,code(e,t){const{gen:n,data:r,$data:o,schema:i,schemaCode:a,it:s}=e,{opts:l,errSchemaPath:c,schemaEnv:u,self:d}=s;if(!l.validateFormats)return;o?p():h();function p(){const g=n.scopeValue("formats",{ref:d.formats,code:l.code.formats}),v=n.const("fDef",(0,Jt._)`${g}[${a}]`),b=n.let("fType"),m=n.let("format");n.if((0,Jt._)`typeof ${v} == "object" && !(${v} instanceof RegExp)`,()=>n.assign(b,(0,Jt._)`${v}.type || "string"`).assign(m,(0,Jt._)`${v}.validate`),()=>n.assign(b,(0,Jt._)`"string"`).assign(m,v)),e.fail$data((0,Jt.or)(y(),E()));function y(){return l.strictSchema===!1?Jt.nil:(0,Jt._)`${a} && !${m}`}function E(){const w=u.$async?(0,Jt._)`(${v}.async ? await ${m}(${r}) : ${m}(${r}))`:(0,Jt._)`${m}(${r})`,S=(0,Jt._)`(typeof ${m} == "function" ? ${w} : ${m}.test(${r}))`;return(0,Jt._)`${m} && ${m} !== true && ${b} === ${t} && !${S}`}}function h(){const g=d.formats[i];if(!g){y();return}if(g===!0)return;const[v,b,m]=E(g);v===t&&e.pass(w());function y(){if(l.strictSchema===!1){d.logger.warn(S());return}throw new Error(S());function S(){return`unknown format "${i}" ignored in schema at path "${c}"`}}function E(S){const _=S instanceof RegExp?(0,Jt.regexpCode)(S):l.code.formats?(0,Jt._)`${l.code.formats}${(0,Jt.getProperty)(i)}`:void 0,C=n.scopeValue("formats",{key:i,ref:S,code:_});return typeof S=="object"&&!(S instanceof RegExp)?[S.type||"string",S.validate,(0,Jt._)`${C}.validate`]:["string",S,C]}function w(){if(typeof g=="object"&&!(g instanceof RegExp)&&g.async){if(!u.$async)throw new Error("async format in sync schema");return(0,Jt._)`await ${m}(${r})`}return typeof b=="function"?(0,Jt._)`${m}(${r})`:(0,Jt._)`${m}.test(${r})`}}}};_b.default=Ude;Object.defineProperty(vb,"__esModule",{value:!0});const Hde=_b,Vde=[Hde.default];vb.default=Vde;var Fc={};Object.defineProperty(Fc,"__esModule",{value:!0});Fc.contentVocabulary=Fc.metadataVocabulary=void 0;Fc.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Fc.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(z_,"__esModule",{value:!0});const zde=W_,Wde=G_,qde=ib,Gde=vb,BC=Fc,Kde=[zde.default,Wde.default,(0,qde.default)(),Gde.default,BC.metadataVocabulary,BC.contentVocabulary];z_.default=Kde;var bb={},P0={};Object.defineProperty(P0,"__esModule",{value:!0});P0.DiscrError=void 0;var FC;(function(e){e.Tag="tag",e.Mapping="mapping"})(FC||(P0.DiscrError=FC={}));Object.defineProperty(bb,"__esModule",{value:!0});const Sl=Be,c3=P0,UC=fr,Yde=iu,Zde=he,Xde={message:({params:{discrError:e,tagName:t}})=>e===c3.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>(0,Sl._)`{error: ${e}, tag: ${n}, tagValue: ${t}}`},Jde={keyword:"discriminator",type:"object",schemaType:"object",error:Xde,code(e){const{gen:t,data:n,schema:r,parentSchema:o,it:i}=e,{oneOf:a}=o;if(!i.opts.discriminator)throw new Error("discriminator: requires discriminator option");const s=r.propertyName;if(typeof s!="string")throw new Error("discriminator: requires propertyName");if(r.mapping)throw new Error("discriminator: mapping is not supported");if(!a)throw new Error("discriminator: requires oneOf keyword");const l=t.let("valid",!1),c=t.const("tag",(0,Sl._)`${n}${(0,Sl.getProperty)(s)}`);t.if((0,Sl._)`typeof ${c} == "string"`,()=>u(),()=>e.error(!1,{discrError:c3.DiscrError.Tag,tag:c,tagName:s})),e.ok(l);function u(){const h=p();t.if(!1);for(const g in h)t.elseIf((0,Sl._)`${c} === ${g}`),t.assign(l,d(h[g]));t.else(),e.error(!1,{discrError:c3.DiscrError.Mapping,tag:c,tagName:s}),t.endIf()}function d(h){const g=t.name("valid"),v=e.subschema({keyword:"oneOf",schemaProp:h},g);return e.mergeEvaluated(v,Sl.Name),g}function p(){var h;const g={},v=m(o);let b=!0;for(let w=0;w<a.length;w++){let S=a[w];if(S!=null&&S.$ref&&!(0,Zde.schemaHasRulesButRef)(S,i.self.RULES)){const C=S.$ref;if(S=UC.resolveRef.call(i.self,i.schemaEnv.root,i.baseId,C),S instanceof UC.SchemaEnv&&(S=S.schema),S===void 0)throw new Yde.default(i.opts.uriResolver,i.baseId,C)}const _=(h=S==null?void 0:S.properties)===null||h===void 0?void 0:h[s];if(typeof _!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);b=b&&(v||m(S)),y(_,w)}if(!b)throw new Error(`discriminator: "${s}" must be required`);return g;function m({required:w}){return Array.isArray(w)&&w.includes(s)}function y(w,S){if(w.const)E(w.const,S);else if(w.enum)for(const _ of w.enum)E(_,S);else throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`)}function E(w,S){if(typeof w!="string"||w in g)throw new Error(`discriminator: "${s}" values must be unique strings`);g[w]=S}}}};bb.default=Jde;const Qde="http://json-schema.org/draft-07/schema#",efe="http://json-schema.org/draft-07/schema#",tfe="Core schema meta-schema",nfe={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},rfe=["object","boolean"],ofe={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},ife={$schema:Qde,$id:efe,title:tfe,definitions:nfe,type:rfe,properties:ofe,default:!0};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const n=oL,r=z_,o=bb,i=ife,a=["/properties"],s="http://json-schema.org/draft-07/schema";class l extends n.default{_addVocabularies(){super._addVocabularies(),r.default.forEach(g=>this.addVocabulary(g)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const g=this.opts.$data?this.$dataMetaSchema(i,a):i;this.addMetaSchema(g,s,!1),this.refs["http://json-schema.org/schema"]=s}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var c=ro;Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var u=Be;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return u.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return u.CodeGen}});var d=Vf;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var p=iu;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})})(t3,t3.exports);var QL=t3.exports,u3={exports:{}},d3={exports:{}},f3={exports:{}},p3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=Be,r=["undefined","string","number","object","function","boolean","symbol"];function o(){return{keyword:"typeof",schemaType:["string","array"],code(i){const{data:a,schema:s,schemaValue:l}=i;i.fail(typeof s=="string"?(0,n._)`typeof ${a} != ${s}`:(0,n._)`${l}.indexOf(typeof ${a}) < 0`)},metaSchema:{anyOf:[{type:"string",enum:r},{type:"array",items:{type:"string",enum:r}}]}}}t.default=o,e.exports=o})(p3,p3.exports);var afe=p3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(afe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(f3,f3.exports);var sfe=f3.exports,h3={exports:{}},m3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={Object,Array,Function,Number,String,Date,RegExp};typeof Buffer<"u"&&(n.Buffer=Buffer),typeof Promise<"u"&&(n.Promise=Promise);const r=Object.assign(o,{CONSTRUCTORS:n});function o(){return{keyword:"instanceof",schemaType:["string","array"],compile(a){if(typeof a=="string"){const s=i(a);return l=>l instanceof s}if(Array.isArray(a)){const s=a.map(i);return l=>{for(const c of s)if(l instanceof c)return!0;return!1}}throw new Error("ajv implementation error")},metaSchema:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]}}}function i(a){const s=n[a];if(s)return s;throw new Error(`invalid "instanceof" keyword value ${a}`)}t.default=r,e.exports=r})(m3,m3.exports);var lfe=m3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(lfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(h3,h3.exports);var cfe=h3.exports,g3={exports:{}},y3={exports:{}},N0={};Object.defineProperty(N0,"__esModule",{value:!0});function ufe(e){return()=>({keyword:e,type:"number",schemaType:"array",macro:function([n,r]){return t(n,r),e==="range"?{minimum:n,maximum:r}:{exclusiveMinimum:n,exclusiveMaximum:r}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}});function t(n,r){if(n>r||e==="exclusiveRange"&&n===r)throw new Error("There are no numbers in range")}}N0.default=ufe;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const o=(0,n(N0).default)("range");t.default=o,e.exports=o})(y3,y3.exports);var dfe=y3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(dfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(g3,g3.exports);var ffe=g3.exports,v3={exports:{}},_3={exports:{}};(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const o=(0,n(N0).default)("exclusiveRange");t.default=o,e.exports=o})(_3,_3.exports);var pfe=_3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(pfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(v3,v3.exports);var hfe=v3.exports,b3={exports:{}},E3={exports:{}},Ki={};Object.defineProperty(Ki,"__esModule",{value:!0});Ki.usePattern=Ki.metaSchemaRef=void 0;const mfe=Be,gfe="http://json-schema.org/schema";function yfe({defaultMeta:e}={}){return e===!1?{}:{$ref:e||gfe}}Ki.metaSchemaRef=yfe;function vfe({gen:e,it:{opts:t}},n,r=t.unicodeRegExp?"u":""){const o=new RegExp(n,r);return e.scopeValue("pattern",{key:o.toString(),ref:o,code:(0,mfe._)`new RegExp(${n}, ${r})`})}Ki.usePattern=vfe;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=Be,r=Ki,o={type:"object",properties:{pattern:{type:"string"},flags:{type:"string",nullable:!0}},required:["pattern"],additionalProperties:!1},i=/^\/(.*)\/([gimuy]*)$/;function a(){return{keyword:"regexp",type:"string",schemaType:["string","object"],code(s){const{data:l,schema:c}=s,u=d(c);s.pass((0,n._)`${u}.test(${l})`);function d(p){if(typeof p=="object")return(0,r.usePattern)(s,p.pattern,p.flags);const h=i.exec(p);if(h)return(0,r.usePattern)(s,h[1],h[2]);throw new Error("cannot parse string into RegExp")}},metaSchema:{anyOf:[{type:"string"},o]}}}t.default=a,e.exports=a})(E3,E3.exports);var _fe=E3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(_fe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(b3,b3.exports);var bfe=b3.exports,C3={exports:{}},S3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=Be,r={trimStart:l=>l.trimStart(),trimEnd:l=>l.trimEnd(),trimLeft:l=>l.trimStart(),trimRight:l=>l.trimEnd(),trim:l=>l.trim(),toLowerCase:l=>l.toLowerCase(),toUpperCase:l=>l.toUpperCase(),toEnumCase:(l,c)=>(c==null?void 0:c.hash[s(l)])||l},o=Object.assign(i,{transform:r});function i(){return{keyword:"transform",schemaType:"array",before:"enum",code(l){const{gen:c,data:u,schema:d,parentSchema:p,it:h}=l,{parentData:g,parentDataProperty:v}=h,b=d;if(!b.length)return;let m;if(b.includes("toEnumCase")){const E=a(p);m=c.scopeValue("obj",{ref:E,code:(0,n.stringify)(E)})}c.if((0,n._)`typeof ${u} == "string" && ${g} !== undefined`,()=>{c.assign(u,y(b.slice())),c.assign((0,n._)`${g}[${v}]`,u)});function y(E){if(!E.length)return u;const w=E.pop();if(!(w in r))throw new Error(`transform: unknown transformation ${w}`);const S=c.scopeValue("func",{ref:r[w],code:(0,n._)`require("ajv-keywords/dist/definitions/transform").transform${(0,n.getProperty)(w)}`}),_=y(E);return m&&w==="toEnumCase"?(0,n._)`${S}(${_}, ${m})`:(0,n._)`${S}(${_})`}},metaSchema:{type:"array",items:{type:"string",enum:Object.keys(r)}}}}function a(l){const c={hash:{}};if(!l.enum)throw new Error('transform: "toEnumCase" requires "enum"');for(const u of l.enum){if(typeof u!="string")continue;const d=s(u);if(c.hash[d])throw new Error('transform: "toEnumCase" requires all lowercased "enum" values to be unique');c.hash[d]=u}return c}function s(l){return l.toLowerCase()}t.default=o,e.exports=o})(S3,S3.exports);var Efe=S3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(Efe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(C3,C3.exports);var Cfe=C3.exports,w3={exports:{}},x3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=$_,r=["number","integer","string","boolean","null"];function o(){return{keyword:"uniqueItemProperties",type:"array",schemaType:"array",compile(a,s){const l=i(a,s);return c=>{if(c.length<=1)return!0;for(let u=0;u<a.length;u++){const d=a[u];if(l[u]){const p={};for(const h of c){if(!h||typeof h!="object")continue;let g=h[d];if(!(g&&typeof g=="object")){if(typeof g=="string"&&(g='"'+g),p[g])return!1;p[g]=!0}}}else for(let p=c.length;p--;){const h=c[p];if(!(!h||typeof h!="object"))for(let g=p;g--;){const v=c[g];if(v&&typeof v=="object"&&n(h[d],v[d]))return!1}}}return!0}},metaSchema:{type:"array",items:{type:"string"}}}}t.default=o;function i(a,s){return a.map(l=>{var c,u,d;const p=(d=(u=(c=s.items)===null||c===void 0?void 0:c.properties)===null||u===void 0?void 0:u[l])===null||d===void 0?void 0:d.type;return Array.isArray(p)?!p.includes("object")&&!p.includes("array"):r.includes(p)})}e.exports=o})(x3,x3.exports);var Sfe=x3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(Sfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(w3,w3.exports);var wfe=w3.exports,M3={exports:{}},R3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function n(){return{keyword:"allRequired",type:"object",schemaType:"boolean",macro(r,o){if(!r)return!0;const i=Object.keys(o.properties);return i.length===0?!0:{required:i}},dependencies:["properties"]}}t.default=n,e.exports=n})(R3,R3.exports);var xfe=R3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(xfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(M3,M3.exports);var Mfe=M3.exports,T3={exports:{}},k3={exports:{}},$0={};Object.defineProperty($0,"__esModule",{value:!0});function Rfe(e){return()=>({keyword:e,type:"object",schemaType:"array",macro(t){return t.length===0?!0:t.length===1?{required:t}:{[e==="anyRequired"?"anyOf":"oneOf"]:t.map(r=>({required:[r]}))}},metaSchema:{type:"array",items:{type:"string"}}})}$0.default=Rfe;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const o=(0,n($0).default)("anyRequired");t.default=o,e.exports=o})(k3,k3.exports);var Tfe=k3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(Tfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(T3,T3.exports);var kfe=T3.exports,I3={exports:{}},L3={exports:{}};(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const o=(0,n($0).default)("oneRequired");t.default=o,e.exports=o})(L3,L3.exports);var Ife=L3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(Ife),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(I3,I3.exports);var Lfe=I3.exports,O3={exports:{}},A3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=Be,r=Ki,o={message:({params:{missingPattern:a}})=>(0,n.str)`should have property matching pattern '${a}'`,params:({params:{missingPattern:a}})=>(0,n._)`{missingPattern: ${a}}`};function i(){return{keyword:"patternRequired",type:"object",schemaType:"array",error:o,code(a){const{gen:s,schema:l,data:c}=a;if(l.length===0)return;const u=s.let("valid",!0);for(const p of l)d(p);function d(p){const h=s.let("matched",!1);s.forIn("key",c,g=>{s.assign(h,(0,n._)`${(0,r.usePattern)(a,p)}.test(${g})`),s.if(h,()=>s.break())}),a.setParams({missingPattern:p}),s.assign(u,(0,n.and)(u,h)),a.pass(u)}},metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:!0}}}t.default=i,e.exports=i})(A3,A3.exports);var Ofe=A3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(Ofe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(O3,O3.exports);var Afe=O3.exports,P3={exports:{}},N3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function n(){return{keyword:"prohibited",type:"object",schemaType:"array",macro:function(r){return r.length===0?!0:r.length===1?{not:{required:r}}:{not:{anyOf:r.map(o=>({required:[o]}))}}},metaSchema:{type:"array",items:{type:"string"}}}}t.default=n,e.exports=n})(N3,N3.exports);var Pfe=N3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(Pfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(P3,P3.exports);var Nfe=P3.exports,$3={exports:{}},j3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=Ki;function r(a){return{keyword:"deepProperties",type:"object",schemaType:"object",macro:function(s){const l=[];for(const c in s)l.push(o(c,s[c]));return{allOf:l}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:(0,n.metaSchemaRef)(a)}}}t.default=r;function o(a,s){const l=a.split("/"),c={};let u=c;for(let d=1;d<l.length;d++){let p=l[d];const h=d===l.length-1;p=i(p);const g=u.properties={};let v;if(/[0-9]+/.test(p)){let b=+p;for(v=u.items=[],u.type=["object","array"];b--;)v.push({})}else u.type="object";u=h?s:{},g[p]=u,v&&v.push(u)}return c}function i(a){return a.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports=r})(j3,j3.exports);var $fe=j3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n($fe),o=(i,a)=>i.addKeyword((0,r.default)(a));t.default=o,e.exports=o})($3,$3.exports);var jfe=$3.exports,D3={exports:{}},B3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=Be;function r(){return{keyword:"deepRequired",type:"object",schemaType:"array",code(i){const{schema:a,data:s}=i,l=a.map(u=>(0,n._)`(${c(u)}) === undefined`);i.fail((0,n.or)(...l));function c(u){if(u==="")throw new Error("empty JSON pointer not allowed");const d=u.split("/");let p=s;const h=d.map((g,v)=>v?p=(0,n._)`${p}${(0,n.getProperty)(o(g))}`:p);return(0,n.and)(...h)}},metaSchema:{type:"array",items:{type:"string",format:"json-pointer"}}}}t.default=r;function o(i){return i.replace(/~1/g,"/").replace(/~0/g,"~")}e.exports=r})(B3,B3.exports);var Dfe=B3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(Dfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(D3,D3.exports);var Bfe=D3.exports,F3={exports:{}},U3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n={},r={timestamp:()=>()=>Date.now(),datetime:()=>()=>new Date().toISOString(),date:()=>()=>new Date().toISOString().slice(0,10),time:()=>()=>new Date().toISOString().slice(11),random:()=>()=>Math.random(),randomint:u=>{var d;const p=(d=u==null?void 0:u.max)!==null&&d!==void 0?d:2;return()=>Math.floor(Math.random()*p)},seq:u=>{var d;const p=(d=u==null?void 0:u.name)!==null&&d!==void 0?d:"";return n[p]||(n[p]=0),()=>n[p]++}},o=Object.assign(i,{DEFAULTS:r});function i(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:!0,valid:!0,compile(u,d,p){if(!p.opts.useDefaults||p.compositeRule)return()=>!0;const h={};for(const v in u)h[v]=a(u[v]);const g=p.opts.useDefaults==="empty";return v=>{for(const b in u)(v[b]===void 0||g&&(v[b]===null||v[b]===""))&&(v[b]=h[b]());return!0}},metaSchema:{type:"object",additionalProperties:{anyOf:[{type:"string"},{type:"object",additionalProperties:!1,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}]}}}}function a(u){return typeof u=="object"?s(u):l(u)}function s({func:u,args:d}){const p=r[u];return c(u,p),p(d)}function l(u=""){const d=r[u];return c(u,d),d()}function c(u,d){if(!d)throw new Error(`invalid "dynamicDefaults" keyword property value: ${u}`)}t.default=o,e.exports=o})(U3,U3.exports);var Ffe=U3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(Ffe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(F3,F3.exports);var Ufe=F3.exports,H3={exports:{}},V3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=Be,r=Ki,o={message:({params:{schemaProp:a}})=>a?(0,n.str)`should match case "${a}" schema`:(0,n.str)`should match default case schema`,params:({params:{schemaProp:a}})=>a?(0,n._)`{failingCase: ${a}}`:(0,n._)`{failingDefault: true}`};function i(a){const s=(0,r.metaSchemaRef)(a);return[{keyword:"select",schemaType:["string","number","boolean","null"],$data:!0,error:o,dependencies:["selectCases"],code(l){const{gen:c,schemaCode:u,parentSchema:d}=l;l.block$data(n.nil,()=>{const p=c.let("valid",!0),h=c.name("_valid"),g=c.const("value",(0,n._)`${u} === null ? "null" : ${u}`);c.if(!1);for(const v in d.selectCases){l.setParams({schemaProp:v}),c.elseIf((0,n._)`"" + ${g} == ${v}`);const b=l.subschema({keyword:"selectCases",schemaProp:v},h);l.mergeEvaluated(b,n.Name),c.assign(p,h)}if(c.else(),d.selectDefault!==void 0){l.setParams({schemaProp:void 0});const v=l.subschema({keyword:"selectDefault"},h);l.mergeEvaluated(v,n.Name),c.assign(p,h)}c.endIf(),l.pass(p)})}},{keyword:"selectCases",dependencies:["select"],metaSchema:{type:"object",additionalProperties:s}},{keyword:"selectDefault",dependencies:["select","selectCases"],metaSchema:s}]}t.default=i,e.exports=i})(V3,V3.exports);var Hfe=V3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(Hfe),o=(i,a)=>((0,r.default)(a).forEach(s=>i.addKeyword(s)),i);t.default=o,e.exports=o})(H3,H3.exports);var Vfe=H3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(sfe),o=n(cfe),i=n(ffe),a=n(hfe),s=n(bfe),l=n(Cfe),c=n(wfe),u=n(Mfe),d=n(kfe),p=n(Lfe),h=n(Afe),g=n(Nfe),v=n(jfe),b=n(Bfe),m=n(Ufe),y=n(Vfe),E={typeof:r.default,instanceof:o.default,range:i.default,exclusiveRange:a.default,regexp:s.default,transform:l.default,uniqueItemProperties:c.default,allRequired:u.default,anyRequired:d.default,oneRequired:p.default,patternRequired:h.default,prohibited:g.default,deepProperties:v.default,deepRequired:b.default,dynamicDefaults:m.default,select:y.default};t.default=E,e.exports=E})(d3,d3.exports);var zfe=d3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(zfe),o=(a,s)=>{if(Array.isArray(s)){for(const l of s)i(l)(a);return a}if(s)return i(s)(a),a;for(s in r.default)i(s)(a);return a};o.get=i;function i(a){const s=r.default[a];if(!s)throw new Error("Unknown keyword "+a);return s}t.default=o,e.exports=o,e.exports.default=o})(u3,u3.exports);var Wfe=u3.exports,z3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=QL,r=Be,o=Bc,i=ro,a=ou,s=Po,l="errorMessage",c=new n.Name("emUsed"),u={required:"missingProperty",dependencies:"property",dependentRequired:"property"},d=/\$\{[^}]+\}/,p=/\$\{([^}]+)\}/g,h=/^""\s*\+\s*|\s*\+\s*""$/g;function g(b){return{keyword:l,schemaType:["string","object"],post:!0,code(m){const{gen:y,data:E,schema:w,schemaValue:S,it:_}=m;if(_.createErrors===!1)return;const C=w,R=r.strConcat(s.default.instancePath,_.errorPath);y.if(n._`${s.default.errors} > 0`,()=>{if(typeof C=="object"){const[O,x]=I(C);x&&D(x),O&&F(O),q(T(C))}const N=typeof C=="string"?C:C._;N&&W(N),b.keepErrors||Q()});function T({properties:N,items:O}){const x={};if(N){x.props={};for(const k in N)x.props[k]=[]}if(O){x.items={};for(let k=0;k<O.length;k++)x.items[k]=[]}return x}function I(N){let O,x;for(const k in N){if(k==="properties"||k==="items")continue;const j=N[k];if(typeof j=="object"){O||(O={});const J=O[k]={};for(const L in j)J[L]=[]}else x||(x={}),x[k]=[]}return[O,x]}function D(N){const O=y.const("emErrors",n.stringify(N)),x=y.const("templates",ee(N,w));y.forOf("err",s.default.vErrors,L=>y.if(H(L,O),()=>y.code(n._`${O}[${L}.keyword].push(${L})`).assign(n._`${L}.${c}`,!0)));const{singleError:k}=b;if(k){const L=y.let("message",n._`""`),U=y.let("paramsErrors",n._`[]`);j(G=>{y.if(L,()=>y.code(n._`${L} += ${typeof k=="string"?k:";"}`)),y.code(n._`${L} += ${J(G)}`),y.assign(U,n._`${U}.concat(${O}[${G}])`)}),a.reportError(m,{message:L,params:n._`{errors: ${U}}`})}else j(L=>a.reportError(m,{message:J(L),params:n._`{errors: ${O}[${L}]}`}));function j(L){y.forIn("key",O,U=>y.if(n._`${O}[${U}].length`,()=>L(U)))}function J(L){return n._`${L} in ${x} ? ${x}[${L}]() : ${S}[${L}]`}}function F(N){const O=y.const("emErrors",n.stringify(N)),x=[];for(const U in N)x.push([U,ee(N[U],w[U])]);const k=y.const("templates",y.object(...x)),j=y.scopeValue("obj",{ref:u,code:n.stringify(u)}),J=y.let("emPropParams"),L=y.let("emParamsErrors");y.forOf("err",s.default.vErrors,U=>y.if(H(U,O),()=>{y.assign(J,n._`${j}[${U}.keyword]`),y.assign(L,n._`${O}[${U}.keyword][${U}.params[${J}]]`),y.if(L,()=>y.code(n._`${L}.push(${U})`).assign(n._`${U}.${c}`,!0))})),y.forIn("key",O,U=>y.forIn("keyProp",n._`${O}[${U}]`,G=>{y.assign(L,n._`${O}[${U}][${G}]`),y.if(n._`${L}.length`,()=>{const z=y.const("tmpl",n._`${k}[${U}] && ${k}[${U}][${G}]`);a.reportError(m,{message:n._`${z} ? ${z}() : ${S}[${U}][${G}]`,params:n._`{errors: ${L}}`})})}))}function q(N){const{props:O,items:x}=N;if(!O&&!x)return;const k=n._`typeof ${E} == "object"`,j=n._`Array.isArray(${E})`,J=y.let("emErrors");let L,U;const G=y.let("templates");O&&x?(L=y.let("emChildKwd"),y.if(k),y.if(j,()=>{z(x,w.items),y.assign(L,n.str`items`)},()=>{z(O,w.properties),y.assign(L,n.str`properties`)}),U=n._`[${L}]`):x?(y.if(j),z(x,w.items),U=n._`.items`):O&&(y.if(r.and(k,r.not(j))),z(O,w.properties),U=n._`.properties`),y.forOf("err",s.default.vErrors,V=>re(V,J,Z=>y.code(n._`${J}[${Z}].push(${V})`).assign(n._`${V}.${c}`,!0))),y.forIn("key",J,V=>y.if(n._`${J}[${V}].length`,()=>{a.reportError(m,{message:n._`${V} in ${G} ? ${G}[${V}]() : ${S}${U}[${V}]`,params:n._`{errors: ${J}[${V}]}`}),y.assign(n._`${s.default.vErrors}[${s.default.errors}-1].instancePath`,n._`${R} + "/" + ${V}.replace(/~/g, "~0").replace(/\\//g, "~1")`)})),y.endIf();function z(V,Z){y.assign(J,n.stringify(V)),y.assign(G,ee(V,Z))}}function W(N){const O=y.const("emErrs",n._`[]`);y.forOf("err",s.default.vErrors,x=>y.if(B(x),()=>y.code(n._`${O}.push(${x})`).assign(n._`${x}.${c}`,!0))),y.if(n._`${O}.length`,()=>a.reportError(m,{message:$(N),params:n._`{errors: ${O}}`}))}function Q(){const N=y.const("emErrs",n._`[]`);y.forOf("err",s.default.vErrors,O=>y.if(n._`!${O}.${c}`,()=>y.code(n._`${N}.push(${O})`))),y.assign(s.default.vErrors,N).assign(s.default.errors,n._`${N}.length`)}function H(N,O){return r.and(n._`${N}.keyword !== ${l}`,n._`!${N}.${c}`,n._`${N}.instancePath === ${R}`,n._`${N}.keyword in ${O}`,n._`${N}.schemaPath.indexOf(${_.errSchemaPath}) === 0`,n._`/^\\/[^\\/]*$/.test(${N}.schemaPath.slice(${_.errSchemaPath.length}))`)}function re(N,O,x){y.if(r.and(n._`${N}.keyword !== ${l}`,n._`!${N}.${c}`,n._`${N}.instancePath.indexOf(${R}) === 0`),()=>{const k=y.scopeValue("pattern",{ref:/^\/([^/]*)(?:\/|$)/,code:n._`new RegExp("^\\\/([^/]*)(?:\\\/|$)")`}),j=y.const("emMatches",n._`${k}.exec(${N}.instancePath.slice(${R}.length))`),J=y.const("emChild",n._`${j} && ${j}[1].replace(/~1/g, "/").replace(/~0/g, "~")`);y.if(n._`${J} !== undefined && ${J} in ${O}`,()=>x(J))})}function B(N){return r.and(n._`${N}.keyword !== ${l}`,n._`!${N}.${c}`,r.or(n._`${N}.instancePath === ${R}`,r.and(n._`${N}.instancePath.indexOf(${R}) === 0`,n._`${N}.instancePath[${R}.length] === "/"`)),n._`${N}.schemaPath.indexOf(${_.errSchemaPath}) === 0`,n._`${N}.schemaPath[${_.errSchemaPath}.length] === "/"`)}function ee(N,O){const x=[];for(const k in N){const j=O[k];d.test(j)&&x.push([k,P(j)])}return y.object(...x)}function $(N){return d.test(N)?new o._Code(o.safeStringify(N).replace(p,(O,x)=>`" + JSON.stringify(${i.getData(x,_)}) + "`).replace(h,"")):n.stringify(N)}function P(N){return n._`function(){return ${$(N)}}`}},metaSchema:{anyOf:[{type:"string"},{type:"object",properties:{properties:{$ref:"#/$defs/stringMap"},items:{$ref:"#/$defs/stringList"},required:{$ref:"#/$defs/stringOrMap"},dependencies:{$ref:"#/$defs/stringOrMap"}},additionalProperties:{type:"string"}}],$defs:{stringMap:{type:"object",additionalProperties:{type:"string"}},stringOrMap:{anyOf:[{type:"string"},{$ref:"#/$defs/stringMap"}]},stringList:{type:"array",items:{type:"string"}}}}}}const v=(b,m={})=>{if(!b.opts.allErrors)throw new Error("ajv-errors: Ajv option allErrors must be true");if(b.opts.jsPropertySyntax)throw new Error("ajv-errors: ajv option jsPropertySyntax is not supported");return b.addKeyword(g(m))};t.default=v,e.exports=v,e.exports.default=v})(z3,z3.exports);var qfe=z3.exports,Eb=ie&&ie.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(de,"__esModule",{value:!0});de.validateType=de.generateLazyValidator=de.Ajv=void 0;const eO=Eb(QL);de.Ajv=eO.default;const Gfe=Eb(Wfe),Kfe=Eb(qfe);function Yfe(e,t){let n=null;const r=(o,i)=>{if(!n){const a=new eO.default({$data:!0,allErrors:!0});(0,Gfe.default)(a),(0,Kfe.default)(a,{singleError:!0}),t==null||t.forEach(s=>a.addKeyword(s)),n=a.compile(e),Object.defineProperty(r,"errors",{get(){return n==null?void 0:n.errors}})}return n(o,i)};return r}de.generateLazyValidator=Yfe;function Zfe(e,t){return e.validate(t)}de.validateType=Zfe;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SceneUpdate=e.SCENE_UPDATE=void 0;const t=de;e.SCENE_UPDATE="SCENE_UPDATE",function(n){n.schema={type:"object",properties:{type:{type:"string",enum:[e.SCENE_UPDATE]},payload:{type:"object",properties:{sceneId:{type:"string"},sceneType:{type:"string"}},additionalProperties:!1,required:["sceneId","sceneType"]}},required:["payload","type"]},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.SceneUpdate||(e.SceneUpdate={}))})(rL);var tO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Update=e.UPDATE=void 0;const t=de;e.UPDATE="update",function(n){n.schema={type:"object",properties:{type:{type:"string",enum:[e.UPDATE]}},required:["type"]},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.Update||(e.Update={}))})(tO);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(rL,e),n(tO,e)})(nL);var nO={},rO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ProjectType=void 0;const t=de;(function(n){n.SCENE="scene",n.SMART_ITEM="smart-item",n.PORTABLE_EXPERIENCE="portable-experience",n.LIBRARY="library"})(e.ProjectType||(e.ProjectType={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.ProjectType||(e.ProjectType={}))})(rO);var oO={},Wf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Rarity=void 0;const t=de;(function(n){n.UNIQUE="unique",n.MYTHIC="mythic",n.EXOTIC="exotic",n.LEGENDARY="legendary",n.EPIC="epic",n.RARE="rare",n.UNCOMMON="uncommon",n.COMMON="common"})(e.Rarity||(e.Rarity={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema);const r={[n.UNIQUE]:1,[n.MYTHIC]:10,[n.EXOTIC]:50,[n.LEGENDARY]:100,[n.EPIC]:1e3,[n.RARE]:5e3,[n.UNCOMMON]:1e4,[n.COMMON]:1e5},o={[n.UNIQUE]:"#FFE617",[n.MYTHIC]:"#FB7DE3",[n.EXOTIC]:"#E4FFB8",[n.LEGENDARY]:"#A657ED",[n.EPIC]:"#6397F2",[n.RARE]:"#3AD682",[n.UNCOMMON]:"#FF8563",[n.COMMON]:"#D4E0E0"},i={[n.UNIQUE]:"#FFB626",[n.MYTHIC]:"#FF63E1",[n.EXOTIC]:"#CAFF73",[n.LEGENDARY]:"#842DDA",[n.EPIC]:"#3D85E6",[n.RARE]:"#36CF75",[n.UNCOMMON]:"#ED6D4F",[n.COMMON]:"#ABC1C1"};function a(u){return r[u]}n.getMaxSupply=a;function s(u){return i[u]}n.getColor=s;function l(){return[n.UNIQUE,n.MYTHIC,n.EXOTIC,n.LEGENDARY,n.EPIC,n.RARE,n.UNCOMMON,n.COMMON]}n.getRarities=l;function c(u){return[o[u],i[u]]}n.getGradient=c}(e.Rarity||(e.Rarity={}))})(Wf);var ns={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WearableCategory=void 0;const t=de;(function(n){n.EYEBROWS="eyebrows",n.EYES="eyes",n.FACIAL_HAIR="facial_hair",n.HAIR="hair",n.BODY_SHAPE="body_shape",n.MOUTH="mouth",n.UPPER_BODY="upper_body",n.LOWER_BODY="lower_body",n.FEET="feet",n.EARRING="earring",n.EYEWEAR="eyewear",n.HAT="hat",n.HELMET="helmet",n.MASK="mask",n.TIARA="tiara",n.TOP_HEAD="top_head",n.SKIN="skin",n.HANDS_WEAR="hands_wear"})(e.WearableCategory||(e.WearableCategory={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.WearableCategory||(e.WearableCategory={}))})(ns);var j0={},D0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BodyShape=void 0;const t=de;(function(n){n.MALE="urn:decentraland:off-chain:base-avatars:BaseMale",n.FEMALE="urn:decentraland:off-chain:base-avatars:BaseFemale"})(e.BodyShape||(e.BodyShape={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.BodyShape||(e.BodyShape={}))})(D0);var B0={},Cb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BodyPartCategory=void 0;const t=de;(function(n){n.HEAD="head",n.HANDS="hands"})(e.BodyPartCategory||(e.BodyPartCategory={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.BodyPartCategory||(e.BodyPartCategory={}))})(Cb);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HideableWearableCategory=void 0;const t=ns,n=de,r=Cb;(function(o){o.schema={oneOf:[Object.assign({},t.WearableCategory.schema),Object.assign({},r.BodyPartCategory.schema)]},o.validate=(0,n.generateLazyValidator)(o.schema)})(e.HideableWearableCategory||(e.HideableWearableCategory={}))})(B0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WearableRepresentation=void 0;const t=de,n=D0,r=B0;(function(o){o.schema={type:"object",properties:{bodyShapes:{type:"array",items:n.BodyShape.schema,minItems:1,uniqueItems:!0},mainFile:{type:"string",minLength:1},contents:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0,contains:{const:{$data:"2/mainFile"}}},overrideHides:{type:"array",items:r.HideableWearableCategory.schema},overrideReplaces:{type:"array",items:r.HideableWearableCategory.schema}},required:["bodyShapes","mainFile","contents","overrideHides","overrideReplaces"]},o.validate=(0,t.generateLazyValidator)(o.schema)})(e.WearableRepresentation||(e.WearableRepresentation={}))})(j0);var F0={},iO={},Sb={},rs={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.IPFSv1=e.IPFSv2=e.EthAddress=e.Color3=void 0;const t=de;(function(n){n.schema={type:"object",required:["r","g","b"],properties:{r:{type:"number",minimum:0,maximum:1},g:{type:"number",minimum:0,maximum:1},b:{type:"number",minimum:0,maximum:1}}};const r=(0,t.generateLazyValidator)(n.schema);n.validate=o=>r(o)})(e.Color3||(e.Color3={})),function(n){n.schema={type:"string",pattern:"^0x[a-fA-F0-9]{40}$"};const r=new RegExp(n.schema.pattern);n.validate=o=>r.test(o)}(e.EthAddress||(e.EthAddress={})),function(n){n.schema={type:"string",pattern:"^(ba)[a-zA-Z0-9]{57}$"};const r=new RegExp(n.schema.pattern);n.validate=o=>r.test(o)}(e.IPFSv2||(e.IPFSv2={})),function(n){n.schema={type:"string",pattern:"^(Qm)[a-zA-Z0-9]{44}$"};const r=new RegExp(n.schema.pattern);n.validate=o=>r.test(o)}(e.IPFSv1||(e.IPFSv1={}))})(rs);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Avatar=e.Link=e.LinkUrl=e.AvatarInfo=e.Snapshots=void 0;const t=ns,n=rs,r=de;var o;(function(l){l.schema={type:"object",required:["face256","body"],properties:{face256:n.IPFSv2.schema,body:n.IPFSv2.schema}},l.validate=(0,r.generateLazyValidator)(l.schema)})(o=e.Snapshots||(e.Snapshots={}));var i;(function(l){l.schema={type:"object",required:["bodyShape","eyes","hair","skin"],properties:{bodyShape:{type:"string"},eyes:{type:"object",required:["color"],properties:{color:n.Color3.schema}},hair:{type:"object",required:["color"],properties:{color:n.Color3.schema}},skin:{type:"object",required:["color"],properties:{color:n.Color3.schema}},wearables:{type:"array",items:{type:"string"}},forceRender:{type:"array",nullable:!0,items:t.WearableCategory.schema},emotes:{type:"array",items:{type:"object",properties:{slot:{type:"number"},urn:{type:"string"}},required:["slot","urn"]},nullable:!0},snapshots:o.schema},additionalProperties:!0},l.validate=(0,r.generateLazyValidator)(l.schema)})(i=e.AvatarInfo||(e.AvatarInfo={}));var a;(function(l){l.schema={type:"string",maxLength:2083,pattern:"^(?:https?):\\/\\/[^\\s/$.?#].[^\\s]*$"};const c=new RegExp(l.schema.pattern,"i");l.validate=u=>c.test(u)})(a=e.LinkUrl||(e.LinkUrl={}));var s;(function(l){l.schema={type:"object",required:["title","url"],properties:{title:{type:"string"},url:a.schema}}})(s=e.Link||(e.Link={})),function(l){l.schema={type:"object",required:["name","description","ethAddress","version","tutorialStep","avatar","hasClaimedName"],properties:{userId:{type:"string"},name:{type:"string"},description:{type:"string"},links:{type:"array",maxItems:5,items:s.schema,nullable:!0},country:{nullable:!0,type:"string"},employmentStatus:{nullable:!0,type:"string"},gender:{nullable:!0,type:"string"},pronouns:{nullable:!0,type:"string"},relationshipStatus:{nullable:!0,type:"string"},sexualOrientation:{nullable:!0,type:"string"},language:{nullable:!0,type:"string"},profession:{nullable:!0,type:"string"},birthdate:{nullable:!0,type:"number"},realName:{nullable:!0,type:"string"},hobbies:{nullable:!0,type:"string"},ethAddress:n.EthAddress.schema,version:{type:"number"},tutorialStep:{type:"number"},email:{type:"string",nullable:!0},blocked:{type:"array",items:{type:"string"},nullable:!0},muted:{type:"array",items:{type:"string"},nullable:!0},interests:{type:"array",items:{type:"string"},nullable:!0},hasClaimedName:{type:"boolean"},hasConnectedWeb3:{type:"boolean",nullable:!0},avatar:i.schema},additionalProperties:!0},l.validate=(0,r.generateLazyValidator)(l.schema)}(e.Avatar||(e.Avatar={}))})(Sb);var aO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Profile=void 0;const t=de,n=Sb;(function(r){r.schema={type:"object",required:["avatars"],properties:{avatars:{type:"array",items:n.Avatar.schema}},additionalProperties:!0},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.Profile||(e.Profile={}))})(aO);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(Sb,e),n(aO,e)})(iO);var sO={},wb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.FeatureToggles=e.portableExperiencesToggles=e.toggles=void 0;const t=de;e.toggles=["enabled","disabled"],e.portableExperiencesToggles=[...e.toggles,"hideUi"],function(n){n.schema={type:"object",properties:{voiceChat:{type:"string",enum:e.toggles,nullable:!0},portableExperiences:{type:"string",enum:e.portableExperiencesToggles,nullable:!0,errorMessage:`valid options are ${e.portableExperiencesToggles.join(", ")}`}},errorMessage:`valid options are ${e.toggles.join(", ")}`,required:[]},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.FeatureToggles||(e.FeatureToggles={}))})(wb);var xb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WorldConfiguration=void 0;const t=de;(function(n){n.schema={type:"object",properties:{name:{type:"string",nullable:!0},skybox:{type:"number",nullable:!0},minimapVisible:{type:"boolean",nullable:!0},miniMapConfig:{type:"object",nullable:!0,properties:{visible:{type:"boolean",nullable:!0},dataImage:{type:"string",nullable:!0},estateImage:{type:"string",nullable:!0}}},skyboxConfig:{type:"object",nullable:!0,properties:{fixedTime:{type:"number",nullable:!0},textures:{type:"array",nullable:!0,items:{type:"string"},oneOf:[{minItems:0,maxItems:0},{minItems:1,maxItems:1},{minItems:6,maxItems:6}],errorMessage:"customSkybox must be an array of 0, 1 or 6 strings"}}},fixedAdapter:{type:"string",nullable:!0},placesConfig:{type:"object",nullable:!0,properties:{optOut:{type:"boolean",nullable:!0}}}},required:[]},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.WorldConfiguration||(e.WorldConfiguration={}))})(xb);var Mb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SceneParcels=void 0;const t=de;(function(n){n.schema={description:'Describes a scene, a set of parcels whose content is treated as the same entity. A list of parcels is listed, for which one of them is considered the "base" for positioning purposes.',type:"object",properties:{base:{type:"string",pattern:"^-?[0-9]+,-?[0-9]+$"},parcels:{type:"array",items:{type:"string",pattern:"^-?[0-9]+,-?[0-9]+$"},minItems:1}},additionalProperties:!0,required:["base","parcels"]},n.schemaValidator=(0,t.generateLazyValidator)(n.schema),n.validate=r=>n.schemaValidator(r)&&r.parcels.includes(r.base)})(e.SceneParcels||(e.SceneParcels={}))})(Mb);var lO={},lu={};Object.defineProperty(lu,"__esModule",{value:!0});lu.displayableProperties=void 0;lu.displayableProperties={menuBarIcon:{description:"Name of the file used as icon for the MenuBar",type:"string",nullable:!0}};var Rb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Source=void 0;const t=de;(function(n){n.schema={type:"object",properties:{version:{type:"number",nullable:!0},origin:{type:"string"},projectId:{type:"string"},point:{type:"object",properties:{x:{type:"integer"},y:{type:"integer"}},nullable:!0,required:["x","y"]},rotation:{type:"string",enum:["north","east","south","west"],nullable:!0},layout:{type:"object",properties:{rows:{type:"integer"},cols:{type:"integer"}},nullable:!0,required:["rows","cols"]},isEmpty:{type:"boolean",nullable:!0}},additionalProperties:!0,required:["origin","projectId"]},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.Source||(e.Source={}))})(Rb);var Tb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SpawnPoint=void 0;const t=de;(function(n){n.schema={type:"object",properties:{name:{type:"string",nullable:!0},position:{type:"object",oneOf:[{$ref:"#single-position"},{$ref:"#multi-position"}],required:["x","y","z"]},default:{type:"boolean",nullable:!0},cameraTarget:{type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"],nullable:!0}},required:["position"],definitions:{"single-position":{$id:"#single-position",type:"object",properties:{x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y","z"]},"multi-position":{$id:"#multi-position",type:"object",properties:{x:{type:"array",items:{type:"number"},minItems:1},y:{type:"array",items:{type:"number"},minItems:1},z:{type:"array",items:{type:"number"},minItems:1}},required:["x","y","z"]}}},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.SpawnPoint||(e.SpawnPoint={}))})(Tb);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scene=e.RequiredPermission=void 0;const t=de,n=lu,r=wb,o=Mb,i=Rb,a=Tb,s=xb;var l;(function(c){c.ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE="ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE",c.ALLOW_TO_TRIGGER_AVATAR_EMOTE="ALLOW_TO_TRIGGER_AVATAR_EMOTE",c.ALLOW_MEDIA_HOSTNAMES="ALLOW_MEDIA_HOSTNAMES",c.USE_WEB3_API="USE_WEB3_API",c.USE_FETCH="USE_FETCH",c.USE_WEBSOCKET="USE_WEBSOCKET",c.OPEN_EXTERNAL_LINK="OPEN_EXTERNAL_LINK"})(l=e.RequiredPermission||(e.RequiredPermission={})),function(c){c.schema={type:"object",properties:Object.assign(Object.assign({isPortableExperience:{description:"Define the current scene as a Portable Experience",type:"boolean",nullable:!0},main:{description:"File that contains the entry point of the scene's code",type:"string",minLength:1},scene:o.SceneParcels.schema},n.displayableProperties),{display:{description:"Information related to how should this land be displayed apart from the normal rendering of the scene",type:"object",properties:{title:{description:"A name so other users can identify what the contents of this land should be",type:"string",nullable:!0},favicon:{description:"DEPRECATED. Allow the land owner to set up a favicon to this land",type:"string",nullable:!0},description:{description:"A description that will be shown on client's nav map when the scene is selected",type:"string",nullable:!0},navmapThumbnail:{type:"string",nullable:!0}},nullable:!0,required:[]},owner:{type:"string",nullable:!0},contact:{description:"Describe different ways of contacting the land owner",type:"object",properties:{name:{type:"string",nullable:!0},email:{type:"string",nullable:!0},im:{type:"string",nullable:!0},url:{type:"string",nullable:!0}},nullable:!0,required:[]},tags:{type:"array",items:{type:"string",minLength:1},nullable:!0},source:Object.assign(Object.assign({},i.Source.schema),{nullable:!0}),spawnPoints:{type:"array",items:a.SpawnPoint.schema,nullable:!0},requiredPermissions:{type:"array",items:{type:"string",enum:Object.values(l)},uniqueItems:!0,nullable:!0},featureToggles:Object.assign(Object.assign({},r.FeatureToggles.schema),{nullable:!0}),worldConfiguration:Object.assign(Object.assign({},s.WorldConfiguration.schema),{nullable:!0}),allowedMediaHostnames:{type:"array",items:{type:"string"},nullable:!0}}),additionalProperties:!0,required:["main","scene"],dependencies:{requiredPermissions:{if:{properties:{requiredPermissions:{type:"array",contains:{const:l.ALLOW_MEDIA_HOSTNAMES}}}},then:{properties:{allowedMediaHostnames:{type:"array",items:{type:"string"},nullable:!1,minItems:1}},required:["allowedMediaHostnames"]},else:{properties:{allowedMediaHostnames:{type:["null","array"],nullable:!0,maxItems:0}}}}}},c.validate=(0,t.generateLazyValidator)(c.schema)}(e.Scene||(e.Scene={}))})(lO);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SpawnPoint=e.Source=e.RequiredPermission=e.Scene=e.SceneParcels=e.WorldConfiguration=e.FeatureToggles=void 0;var t=wb;Object.defineProperty(e,"FeatureToggles",{enumerable:!0,get:function(){return t.FeatureToggles}});var n=xb;Object.defineProperty(e,"WorldConfiguration",{enumerable:!0,get:function(){return n.WorldConfiguration}});var r=Mb;Object.defineProperty(e,"SceneParcels",{enumerable:!0,get:function(){return r.SceneParcels}});var o=lO;Object.defineProperty(e,"Scene",{enumerable:!0,get:function(){return o.Scene}}),Object.defineProperty(e,"RequiredPermission",{enumerable:!0,get:function(){return o.RequiredPermission}});var i=Rb;Object.defineProperty(e,"Source",{enumerable:!0,get:function(){return i.Source}});var a=Tb;Object.defineProperty(e,"SpawnPoint",{enumerable:!0,get:function(){return a.SpawnPoint}})})(sO);var k2={},kb={},Ib={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Locale=void 0;const t=de;(function(n){n.EN="en",n.ES="es"})(e.Locale||(e.Locale={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.Locale||(e.Locale={}))})(Ib);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.I18N=void 0;const t=de,n=Ib;(function(r){r.schema={type:"object",properties:{code:n.Locale.schema,text:{type:"string"}},additionalProperties:!0,required:["code","text"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.I18N||(e.I18N={}))})(kb);var Lb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Metrics=void 0;const t=de;(function(n){n.schema={type:"object",properties:{triangles:{type:"number"},materials:{type:"number"},textures:{type:"number"},meshes:{type:"number"},bodies:{type:"number"},entities:{type:"number"}},required:["triangles","materials","textures","meshes","bodies","entities"]},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.Metrics||(e.Metrics={}))})(Lb);var U0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isStandard=e.standardProperties=void 0;const t=Wf,n=de;e.standardProperties={collectionAddress:{type:"string",nullable:!1},rarity:t.Rarity.schema};const r={type:"object",properties:Object.assign({},e.standardProperties),required:["collectionAddress","rarity"]},o=(0,n.generateLazyValidator)(r);function i(a){return o(a)}e.isStandard=i})(U0);var H0={},Ob={},cO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.MerkleProof=void 0;const t=de;(function(n){n.schema={type:"object",properties:{proof:{type:"array",items:{type:"string"}},index:{type:"number"},hashingKeys:{type:"array",items:{type:"string"}},entityHash:{type:"string"}},required:["entityHash","hashingKeys","index","proof"],additionalProperties:!0},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.MerkleProof||(e.MerkleProof={}))})(cO);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(cO,e)})(Ob);var V0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createMappingsHelper=e.AddMappingError=e.Mappings=e.Mapping=e.MultipleMapping=e.RangeMapping=e.AnyMapping=e.SingleMapping=e.ContractNetwork=e.MappingType=void 0;const t=de;var n;(function(d){d.SINGLE="single",d.ANY="any",d.MULTIPLE="multiple",d.RANGE="range"})(n=e.MappingType||(e.MappingType={}));var r;(function(d){d.MAINNET="mainnet",d.MATIC="matic",d.SEPOLIA="sepolia",d.AMOY="amoy"})(r=e.ContractNetwork||(e.ContractNetwork={}));var o;(function(d){d.schema={type:"object",properties:{type:{type:"string",const:n.SINGLE},id:{type:"string",pattern:"^[0-9]+$"}},required:["type","id"],additionalProperties:!1},d.validate=(0,t.generateLazyValidator)(d.schema)})(o=e.SingleMapping||(e.SingleMapping={}));var i;(function(d){d.schema={type:"object",properties:{type:{type:"string",const:n.ANY}},required:["type"],additionalProperties:!1},d.validate=(0,t.generateLazyValidator)(d.schema)})(i=e.AnyMapping||(e.AnyMapping={}));var a;(function(d){d._fromLessThanOrEqualTo={keyword:"_fromLessThanOrEqualTo",validate:function(h,g){if(!g||!g.from||!g.to)return!1;let{to:v,from:b}=g;return(typeof b!="bigint"||typeof v!="bigint")&&(b=BigInt(b),v=BigInt(v)),b<=v},errors:!1},d.schema={type:"object",properties:{type:{type:"string",const:n.RANGE},from:{type:"string",pattern:"^[0-9]+$"},to:{type:"string",pattern:"^[0-9]+$"}},required:["type","from","to"],additionalProperties:!1,_fromLessThanOrEqualTo:!0},d.validate=(0,t.generateLazyValidator)(d.schema,[d._fromLessThanOrEqualTo])})(a=e.RangeMapping||(e.RangeMapping={}));var s;(function(d){d.schema={type:"object",properties:{type:{type:"string",const:n.MULTIPLE},ids:{type:"array",items:{type:"string",pattern:"^[0-9]+$"},minItems:1,uniqueItems:!0}},required:["type","ids"],additionalProperties:!1},d.validate=(0,t.generateLazyValidator)(d.schema)})(s=e.MultipleMapping||(e.MultipleMapping={}));var l;(function(d){d.schema={type:"object",properties:{type:{type:"string",enum:Object.values(n)}},required:["type"],oneOf:[o.schema,i.schema,a.schema,s.schema]},d.validate=(0,t.generateLazyValidator)(d.schema,[a._fromLessThanOrEqualTo])})(l=e.Mapping||(e.Mapping={})),function(d){d._isMappingsValid={keyword:"_isMappingsValid",validate:function(h,g){try{u(g)}catch{return!1}return!0},errors:!1},d.innerSchema={type:"object",patternProperties:{"^0x[0-9a-fA-F]{40}$":{type:"array",items:l.schema}},minProperties:1,required:[],additionalProperties:!1};const p=Object.values(r).reduce((h,g)=>(h[g]=d.innerSchema,h),{});d.schema={type:"object",properties:p,minProperties:1,additionalProperties:!1,_isMappingsValid:!0},d.validate=(0,t.generateLazyValidator)(d.schema,[a._fromLessThanOrEqualTo,d._isMappingsValid])}(e.Mappings||(e.Mappings={}));class c extends Error{constructor(p,h,g){super(p),this.existingMapping=h,this.conflictingMapping=g}}e.AddMappingError=c;function u(d={}){const p={};for(const[S,_]of Object.entries(d)){p[S]={};for(const[C,R]of Object.entries(_))for(const T of R)E(S,C,T)}function h(){return JSON.parse(JSON.stringify(p))}function g(S,_,C){const R=BigInt(S);return R>=BigInt(_)&&R<=BigInt(C)}function v(S,_){switch(_.type){case n.SINGLE:return S.id===_.id;case n.MULTIPLE:return _.ids.includes(S.id);case n.RANGE:return g(S.id,_.from,_.to);default:return!1}}function b(S,_){switch(_.type){case n.SINGLE:return S.ids.includes(_.id);case n.MULTIPLE:return S.ids.some(C=>_.ids.includes(C));case n.RANGE:return S.ids.some(C=>g(C,_.from,_.to));default:return!1}}function m(S,_){switch(_.type){case n.SINGLE:return g(_.id,S.from,S.to);case n.MULTIPLE:return _.ids.some(C=>g(C,S.from,S.to));case n.RANGE:return BigInt(S.from)<=BigInt(_.to)&&BigInt(S.to)>=BigInt(_.from)}}function y(S,_){if(S.type===n.ANY||_.type===n.ANY)return!0;switch(S.type){case n.SINGLE:return v(S,_);case n.MULTIPLE:return b(S,_);case n.RANGE:return m(S,_)}}function E(S,_,C){var R,T;const I=_.toLowerCase();p[S]=(R=p[S])!==null&&R!==void 0?R:{},p[S][I]=(T=p[S][I])!==null&&T!==void 0?T:[];for(const D of p[S][I])if(y(D,C))throw new c(`Cannot add mapping to contract ${I} on network ${S} because it overlaps with existing mapping`,D,C);p[S][I].push(C)}function w(S,_,C){var R;return!((R=p[S])===null||R===void 0)&&R[_]?p[S][_].some(T=>{switch(T.type){case n.SINGLE:return T.id===C;case n.ANY:return!0;case n.MULTIPLE:return T.ids.includes(C);case n.RANGE:return BigInt(C)>=BigInt(T.from)&&BigInt(C)<=BigInt(T.to)}}):!1}return{addMapping:E,getMappings:h,includesNft:w}}e.createMappingsHelper=u})(V0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isThirdParty=e.schema=void 0;const t=de,n=Ob,r=V0;e.schema={type:"object",properties:{merkleProof:n.MerkleProof.schema,content:{type:"object",nullable:!1,additionalProperties:{type:"string"},required:[]},mappings:Object.assign({nullable:!0},r.Mappings.schema)},required:["merkleProof","content"],_containsHashingKeys:!0};const o={keyword:"_containsHashingKeys",validate:function(s,l){var c;const u=l;return!((c=u==null?void 0:u.merkleProof)===null||c===void 0)&&c.hashingKeys?u.merkleProof.hashingKeys.every(d=>u.hasOwnProperty(d)):!1},errors:!1},i=(0,t.generateLazyValidator)(e.schema,[o,r.RangeMapping._fromLessThanOrEqualTo,r.Mappings._isMappingsValid]);function a(s){return i(s)}e.isThirdParty=a})(H0);var uO={},dO={},Ro={};Object.defineProperty(Ro,"__esModule",{value:!0});Ro.isBaseEmote=Ro.isBaseAvatar=Ro.requiredBaseItemProps=Ro.baseItemProperties=void 0;const Xfe=kb,Jfe=Lb,Qfe=lu;Ro.baseItemProperties=Object.assign(Object.assign({},Qfe.displayableProperties),{id:{type:"string"},name:{type:"string"},description:{type:"string"},i18n:{type:"array",items:Xfe.I18N.schema,minItems:1,uniqueItemProperties:["code"],errorMessage:'${0#} array should not have duplicates for "code"'},thumbnail:{type:"string"},image:{type:"string"},metrics:Object.assign(Object.assign({},Jfe.Metrics.schema),{nullable:!0})});Ro.requiredBaseItemProps=["id","name","description","i18n","thumbnail","image"];function epe(e){if(!e||!e.id)return!1;const t=e.id.split(":"),n=t[1]==="decentraland",r=t[3]==="base-avatars";return t.length===5&&n&&r}Ro.isBaseAvatar=epe;function tpe(e){if(!e||!e.id)return!1;const t=e.id.split(":");return t.length===5&&t[1]==="decentraland"&&t[3]==="base-emotes"}Ro.isBaseEmote=tpe;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Wearable=void 0;const t=de,n=ns,r=j0,o=Ro,i=U0,a=H0,s=B0,l=V0;(function(c){c.schema={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({},o.baseItemProperties),i.standardProperties),a.schema.properties.thirdPartyProps),{data:{type:"object",properties:{replaces:{type:"array",items:s.HideableWearableCategory.schema},hides:{type:"array",items:s.HideableWearableCategory.schema},tags:{type:"array",items:{type:"string",minLength:1}},representations:{type:"array",items:r.WearableRepresentation.schema,minItems:1},category:n.WearableCategory.schema,removesDefaultHiding:{type:"array",nullable:!0,items:s.HideableWearableCategory.schema},blockVrmExport:{type:"boolean",nullable:!0},outlineCompatible:{type:"boolean",nullable:!0}},required:["replaces","hides","tags","representations","category"]}}),additionalProperties:!0,required:[],oneOf:[{required:["id","i18n"],prohibited:["merkleProof","content","collectionAddress","rarity","mappings"],_isBaseAvatar:!0},{required:[...o.requiredBaseItemProps,"data","collectionAddress","rarity"],prohibited:["merkleProof","content","mappings"]},{required:[...o.requiredBaseItemProps,"data","merkleProof","content"],prohibited:["collectionAddress","rarity"],_isThirdParty:!0}],errorMessage:{oneOf:"either standard XOR thirdparty properties conditions must be met"}};const u={keyword:"_isThirdParty",validate:(p,h)=>!p||(0,a.isThirdParty)(h),errors:!1},d={keyword:"_isBaseAvatar",validate:(p,h)=>!p||(0,o.isBaseAvatar)(h),errors:!1};c.validate=(0,t.generateLazyValidator)(c.schema,[u,d,l.RangeMapping._fromLessThanOrEqualTo,l.Mappings._isMappingsValid])})(e.Wearable||(e.Wearable={}))})(dO);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HideableWearableCategory=e.BodyPartCategory=e.WearableCategory=e.Wearable=e.WearableRepresentation=void 0;var t=j0;Object.defineProperty(e,"WearableRepresentation",{enumerable:!0,get:function(){return t.WearableRepresentation}});var n=dO;Object.defineProperty(e,"Wearable",{enumerable:!0,get:function(){return n.Wearable}});var r=ns;Object.defineProperty(e,"WearableCategory",{enumerable:!0,get:function(){return r.WearableCategory}});var o=Cb;Object.defineProperty(e,"BodyPartCategory",{enumerable:!0,get:function(){return o.BodyPartCategory}});var i=B0;Object.defineProperty(e,"HideableWearableCategory",{enumerable:!0,get:function(){return i.HideableWearableCategory}})})(uO);var I2={},L2={},Ab={},Pb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmoteCategory=void 0;const t=de;(function(n){n.DANCE="dance",n.STUNT="stunt",n.GREETINGS="greetings",n.FUN="fun",n.POSES="poses",n.REACTIONS="reactions",n.HORROR="horror",n.MISCELLANEOUS="miscellaneous"})(e.EmoteCategory||(e.EmoteCategory={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.EmoteCategory||(e.EmoteCategory={}))})(Pb);var Nb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmoteRepresentationADR74=void 0;const t=de,n=D0;(function(r){r.schema={type:"object",properties:{bodyShapes:{type:"array",items:n.BodyShape.schema,minItems:1,uniqueItems:!0},mainFile:{type:"string",minLength:1},contents:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0,contains:{const:{$data:"2/mainFile"}},errorMessage:{contains:"contents should contain mainFile: ${1/mainFile}"}}},required:["bodyShapes","mainFile","contents"]},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.EmoteRepresentationADR74||(e.EmoteRepresentationADR74={}))})(Nb);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmoteDataADR74=void 0;const t=Pb,n=de,r=Nb;(function(o){o.schema={type:"object",properties:{tags:{type:"array",items:{type:"string",minLength:1}},representations:{type:"array",items:r.EmoteRepresentationADR74.schema,minItems:1},category:t.EmoteCategory.schema,loop:{type:"boolean"}},required:["category","tags","representations","loop"],additionalProperties:!0},o.validate=(0,n.generateLazyValidator)(o.schema)})(e.EmoteDataADR74||(e.EmoteDataADR74={}))})(Ab);var HC;function npe(){return HC||(HC=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Emote=void 0;const t=pO(),n=de,r=Ro,o=U0,i=H0,a=Ab;(function(s){s.schema={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({},r.baseItemProperties),o.standardProperties),i.schema.properties),{emoteDataADR74:a.EmoteDataADR74.schema}),additionalProperties:!0,required:[...r.requiredBaseItemProps],oneOf:[{required:["emoteDataADR74"],oneOf:[{required:["id","i18n"],prohibited:["merkleProof","content","collectionAddress","rarity"],_isBaseEmote:!0},{required:["collectionAddress","rarity"],prohibited:["merkleProof","content"],errorMessage:"standard properties conditions are not met"},{required:["merkleProof","content","id","name","description","i18n","image","thumbnail","emoteDataADR74"],_isThirdParty:!0,prohibited:["collectionAddress","rarity"],errorMessage:"thirdparty properties conditions are not met"}],errorMessage:{oneOf:"emote should have either standard or thirdparty properties"}}],errorMessage:{oneOf:'emote should have "emoteDataADR74" and match its schema'}};const l={keyword:"_isThirdParty",validate:(u,d)=>!u||(0,t.isThirdParty)(d),errors:!1},c={keyword:"_isBaseEmote",validate:(u,d)=>!u||(0,r.isBaseEmote)(d),errors:!1};s.validate=(0,n.generateLazyValidator)(s.schema,[l,c,t.RangeMapping._fromLessThanOrEqualTo,t.Mappings._isMappingsValid])})(e.Emote||(e.Emote={}))}(L2)),L2}var fO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmotePlayMode=void 0;const t=de;(function(n){n.SIMPLE="simple",n.LOOP="loop"})(e.EmotePlayMode||(e.EmotePlayMode={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.EmotePlayMode||(e.EmotePlayMode={}))})(fO);var VC;function rpe(){return VC||(VC=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmotePlayMode=e.EmoteCategory=e.EmoteDataADR74=e.EmoteRepresentationADR74=e.Emote=void 0;var t=npe();Object.defineProperty(e,"Emote",{enumerable:!0,get:function(){return t.Emote}});var n=Nb;Object.defineProperty(e,"EmoteRepresentationADR74",{enumerable:!0,get:function(){return n.EmoteRepresentationADR74}});var r=Ab;Object.defineProperty(e,"EmoteDataADR74",{enumerable:!0,get:function(){return r.EmoteDataADR74}});var o=Pb;Object.defineProperty(e,"EmoteCategory",{enumerable:!0,get:function(){return o.EmoteCategory}});var i=fO;Object.defineProperty(e,"EmotePlayMode",{enumerable:!0,get:function(){return i.EmotePlayMode}})}(I2)),I2}var zC;function pO(){return zC||(zC=1,function(e){var t=ie&&ie.__createBinding||(Object.create?function(c,u,d,p){p===void 0&&(p=d);var h=Object.getOwnPropertyDescriptor(u,d);(!h||("get"in h?!u.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return u[d]}}),Object.defineProperty(c,p,h)}:function(c,u,d,p){p===void 0&&(p=d),c[p]=u[d]}),n=ie&&ie.__exportStar||function(c,u){for(var d in c)d!=="default"&&!Object.prototype.hasOwnProperty.call(u,d)&&t(u,c,d)};Object.defineProperty(e,"__esModule",{value:!0}),e.isThirdParty=e.isStandard=e.BodyShape=e.Metrics=e.Locale=e.I18N=void 0;var r=kb;Object.defineProperty(e,"I18N",{enumerable:!0,get:function(){return r.I18N}});var o=Ib;Object.defineProperty(e,"Locale",{enumerable:!0,get:function(){return o.Locale}});var i=Lb;Object.defineProperty(e,"Metrics",{enumerable:!0,get:function(){return i.Metrics}});var a=D0;Object.defineProperty(e,"BodyShape",{enumerable:!0,get:function(){return a.BodyShape}});var s=U0;Object.defineProperty(e,"isStandard",{enumerable:!0,get:function(){return s.isStandard}});var l=H0;Object.defineProperty(e,"isThirdParty",{enumerable:!0,get:function(){return l.isThirdParty}}),n(V0,e),n(uO,e),n(rpe(),e)}(k2)),k2}var hO={},qf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.AuthChain=e.AuthLink=e.AuthLinkType=void 0;const t=de;var n;(function(o){o.SIGNER="SIGNER",o.ECDSA_PERSONAL_EPHEMERAL="ECDSA_EPHEMERAL",o.ECDSA_PERSONAL_SIGNED_ENTITY="ECDSA_SIGNED_ENTITY",o.ECDSA_EIP_1654_EPHEMERAL="ECDSA_EIP_1654_EPHEMERAL",o.ECDSA_EIP_1654_SIGNED_ENTITY="ECDSA_EIP_1654_SIGNED_ENTITY"})(n=e.AuthLinkType||(e.AuthLinkType={}));var r;(function(o){o.schema={type:"object",properties:{type:{type:"string",enum:Object.values(n)},payload:{type:"string"},signature:{type:"string",nullable:!0}},required:["payload","type"],if:{properties:{type:{not:{const:n.SIGNER}}}},then:{required:["signature"]},else:{oneOf:[{properties:{signature:{type:"string",const:""}},required:["signature"]},{properties:{signature:{type:"null"}}}]}},o.validate=(0,t.generateLazyValidator)(o.schema)})(r=e.AuthLink||(e.AuthLink={})),function(o){o.schema={type:"array",items:r.schema,minItems:1},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.AuthChain||(e.AuthChain={}))})(qf);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PointerChangesSyncDeployment=e.SnapshotSyncDeployment=void 0;const t=rs,n=qf,r=de;(function(o){o.schema={type:"object",properties:{entityId:{type:"string"},entityType:{type:"string"},pointers:{type:"array",items:{type:"string"},minItems:1},authChain:n.AuthChain.schema,entityTimestamp:{type:"number",minimum:0}},oneOf:[{properties:{entityId:t.IPFSv1.schema}},{properties:{entityId:t.IPFSv2.schema}}],required:["entityId","entityType","pointers","entityTimestamp","authChain"]},o.validate=(0,r.generateLazyValidator)(o.schema)})(e.SnapshotSyncDeployment||(e.SnapshotSyncDeployment={})),function(o){o.schema={type:"object",properties:{entityId:{type:"string"},entityType:{type:"string"},pointers:{type:"array",items:{type:"string"},minItems:1},authChain:n.AuthChain.schema,entityTimestamp:{type:"number",minimum:0},localTimestamp:{type:"number",minimum:0}},oneOf:[{properties:{entityId:t.IPFSv1.schema}},{properties:{entityId:t.IPFSv2.schema}}],required:["entityId","entityType","pointers","localTimestamp","entityTimestamp","authChain"]},o.validate=(0,r.generateLazyValidator)(o.schema)}(e.PointerChangesSyncDeployment||(e.PointerChangesSyncDeployment={}))})(hO);var $b={},jb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ContentMapping=void 0;const t=rs,n=de;(function(r){r.schema={type:"object",properties:{file:{type:"string",minLength:1},hash:{type:"string",oneOf:[t.IPFSv1.schema,t.IPFSv2.schema]}},required:["file","hash"]},r.validate=(0,n.generateLazyValidator)(r.schema)})(e.ContentMapping||(e.ContentMapping={}))})(jb);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Entity=e.EntityType=void 0;const t=rs,n=jb,r=de;(function(o){o.SCENE="scene",o.PROFILE="profile",o.WEARABLE="wearable",o.STORE="store",o.EMOTE="emote",o.OUTFITS="outfits"})(e.EntityType||(e.EntityType={})),function(o){o.schema={type:"object",properties:{version:{type:"string",enum:["v3"]},id:{type:"string",oneOf:[t.IPFSv1.schema,t.IPFSv2.schema]},type:{type:"string"},pointers:{type:"array",items:{type:"string",minLength:1}},timestamp:{type:"number",minimum:0},content:{type:"array",items:n.ContentMapping.schema},metadata:{type:"object",nullable:!0}},required:["version","id","type","pointers","timestamp","content"]},o.validate=(0,r.generateLazyValidator)(o.schema)}(e.Entity||(e.Entity={}))})($b);var mO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DeploymentWithAuthChain=void 0;const t=qf,n=de;(function(r){r.schema={type:"object",properties:{entityId:{type:"string"},entityType:{type:"string"},pointers:{type:"array",items:{type:"string"},minItems:1},localTimestamp:{type:"number",minimum:0},authChain:t.AuthChain.schema},required:["entityId","entityType","pointers","localTimestamp","authChain"]},r.validate=(0,n.generateLazyValidator)(r.schema)})(e.DeploymentWithAuthChain||(e.DeploymentWithAuthChain={}))})(mO);var gO={},yO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Outfits=e.Outfit=void 0;const t=ns,n=rs,r=de;var o;(function(i){i.schema={type:"object",required:["bodyShape","eyes","hair","skin","wearables"],properties:{bodyShape:{type:"string"},eyes:{type:"object",required:["color"],properties:{color:n.Color3.schema}},hair:{type:"object",required:["color"],properties:{color:n.Color3.schema}},skin:{type:"object",required:["color"],properties:{color:n.Color3.schema}},wearables:{type:"array",items:{type:"string"}},forceRender:{type:"array",nullable:!0,items:t.WearableCategory.schema}},additionalProperties:!0},i.validate=(0,r.generateLazyValidator)(i.schema)})(o=e.Outfit||(e.Outfit={})),function(i){i.schema={type:"object",required:["outfits","namesForExtraSlots"],properties:{outfits:{type:"array",items:{type:"object",required:["slot","outfit"],properties:{slot:{type:"number"},outfit:o.schema}}},namesForExtraSlots:{type:"array",uniqueItems:!0,items:{type:"string"}}},additionalProperties:!0},i.validate=(0,r.generateLazyValidator)(i.schema)}(e.Outfits||(e.Outfits={}))})(yO);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(yO,e)})(gO);var vO={},Db={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NotificationType=void 0,function(t){t.BADGE_GRANTED="badge_granted",t.BID_ACCEPTED="bid_accepted",t.BID_RECEIVED="bid_received",t.EVENTS_STARTED="events_started",t.EVENTS_STARTS_SOON="events_starts_soon",t.GOVERNANCE_ANNOUNCEMENT="governance_announcement",t.GOVERNANCE_AUTHORED_PROPOSAL_FINISHED="governance_authored_proposal_finished",t.GOVERNANCE_COAUTHOR_REQUESTED="governance_coauthor_requested",t.GOVERNANCE_CLIFF_ENDED="governance_cliff_ended",t.GOVERNANCE_NEW_COMMENT_ON_PROJECT_UPDATE="governance_new_comment_on_project_update",t.GOVERNANCE_NEW_COMMENT_ON_PROPOSAL="governance_new_comment_on_proposal",t.GOVERNANCE_PROPOSAL_ENACTED="governance_proposal_enacted",t.GOVERNANCE_VOTING_ENDED_VOTER="governance_voting_ended_voter",t.GOVERNANCE_PITCH_PASSED="governance_pitch_passed",t.GOVERNANCE_TENDER_PASSED="governance_tender_passed",t.GOVERNANCE_WHALE_VOTE="governance_whale_vote",t.GOVERNANCE_VOTED_ON_BEHALF="governance_voted_on_behalf",t.ITEM_SOLD="item_sold",t.ITEM_PUBLISHED="item_published",t.LAND_RENTAL_ENDED="rental_ended",t.LAND_RENTED="rental_started",t.REWARD_ASSIGNED="reward_assignment",t.REWARD_CAMPAIGN_OUT_OF_FUNDS="reward_campaign_out_of_funds",t.REWARD_CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED="reward_campaign_gas_price_higher_than_expected",t.REWARD_CAMPAIGN_OUT_OF_STOCK="reward_campaign_out_of_stock",t.REWARD_DELAYED="reward_delayed",t.REWARD_IN_PROGRESS="reward_in_progress",t.ROYALTIES_EARNED="royalties_earned",t.SOCIAL_SERVICE_FRIENDSHIP_REQUEST="social_service_friendship_request",t.SOCIAL_SERVICE_FRIENDSHIP_ACCEPTED="social_service_friendship_accepted",t.WORLDS_ACCESS_RESTORED="worlds_access_restored",t.WORLDS_ACCESS_RESTRICTED="worlds_access_restricted",t.WORLDS_MISSING_RESOURCES="worlds_missing_resources",t.WORLDS_PERMISSION_GRANTED="worlds_permission_granted",t.WORLDS_PERMISSION_REVOKED="worlds_permission_revoked"}(e.NotificationType||(e.NotificationType={}))})(Db);var _O={},Bb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SubscriptionDetails=void 0;const t=de,n=Db,r={type:"object",required:["email","in_app"],properties:{email:{type:"boolean"},in_app:{type:"boolean"}}},o=Object.values(n.NotificationType).reduce((i,a)=>(i[a]=r,i),{});(function(i){i.schema={type:"object",required:["ignore_all_email","ignore_all_in_app","message_type"],properties:{ignore_all_email:{type:"boolean"},ignore_all_in_app:{type:"boolean"},message_type:{type:"object",required:Object.values(n.NotificationType),additionalProperties:!1,properties:o}}},i.validate=(0,t.generateLazyValidator)(i.schema)})(e.SubscriptionDetails||(e.SubscriptionDetails={}))})(Bb);var Fb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Email=void 0,function(t){t.schema={type:"string",pattern:"^[\\w\\-\\.]+@([\\w-]+\\.)+[\\w-]{2,}$"};const n=new RegExp(t.schema.pattern);t.validate=r=>n.test(r)}(e.Email||(e.Email={}))})(Fb);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Subscription=void 0;const t=de,n=Bb,r=rs,o=Fb;(function(i){i.schema={type:"object",required:["address","details"],properties:{address:r.EthAddress.schema,email:Object.assign(Object.assign({},o.Email.schema),{nullable:!0}),details:n.SubscriptionDetails.schema}},i.validate=(0,t.generateLazyValidator)(i.schema)})(e.Subscription||(e.Subscription={}))})(_O);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(Db,e),n(_O,e),n(Bb,e)})(vO);var bO={},Qs={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Events=void 0,function(t){(function(n){n.BLOCKCHAIN="blockchain",n.CATALYST_DEPLOYMENT="catalyst-deployment",n.WORLD="world",n.CLIENT="client",n.MARKETPLACE="marketplace",n.REWARDS="rewards",n.BADGE="badge",n.ASSET_BUNDLE="asset-bundle",n.SOCIAL_SERVICE="social-service"})(t.Type||(t.Type={})),function(n){(function(r){r.BID_ACCEPTED="bid-accepted",r.ITEM_SOLD="item-sold",r.RENTAL_ENDED="land-rental-ended",r.RENTAL_STARTED="land-rental-started",r.ROYALTIES_EARNED="royalties-earned",r.COLLECTION_CREATED="collection-created",r.ITEM_PUBLISHED="item-published"})(n.Blockchain||(n.Blockchain={})),function(r){r.BID_RECEIVED="bid-received"}(n.Marketplace||(n.Marketplace={})),function(r){r.SCENE="scene",r.PROFILE="profile",r.WEARABLE="wearable",r.STORE="store",r.EMOTE="emote",r.OUTFITS="outfits"}(n.CatalystDeployment||(n.CatalystDeployment={})),function(r){r.DEPLOYMENT="deployment"}(n.Worlds||(n.Worlds={})),function(r){r.MOVE_TO_PARCEL="move-to-parcel",r.USED_EMOTE="used-emote",r.PASSPORT_OPENED="passport-opened",r.WALKED_DISTANCE="walked-distance",r.VERTICAL_HEIGHT_REACHED="vertical-height-reached"}(n.Client||(n.Client={})),function(r){r.REWARD_IN_PROGRESS="reward-in-progress",r.REWARD_ASSIGNED="reward-assigned",r.CAMPAIGN_OUT_OF_FUNDS="campaign-out-of-funds",r.CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED="campaign-gas-price-higher-than-expected",r.CAMPAIGN_OUT_OF_STOCK="campaign-out-of-stock",r.REWARD_DELAYED="reward-delayed"}(n.Rewards||(n.Rewards={})),function(r){r.GRANTED="badge-granted"}(n.Badge||(n.Badge={})),function(r){r.CONVERTED="converted",r.MANUALLY_QUEUED="manually-queued"}(n.AssetBundle||(n.AssetBundle={})),function(r){r.FRIENDSHIP_REQUEST="friendship-request",r.FRIENDSHIP_ACCEPTED="friendship-accepted"}(n.SocialService||(n.SocialService={}))}(t.SubType||(t.SubType={}))}(e.Events||(e.Events={}))})(Qs);var EO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CollectionCreatedEvent=e.RoyaltiesEarnedEvent=e.RentalStartedEvent=e.RentalEndedEvent=e.ItemPublishedEvent=e.ItemSoldEvent=e.BidAcceptedEvent=void 0;const t=de,n=Qs;(function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.BLOCKCHAIN},subType:{type:"string",const:n.Events.SubType.Blockchain.BID_ACCEPTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},seller:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},price:{type:"string"},title:{type:"string"},description:{type:"string"},network:{type:"string"}},required:["address","image","seller","category","link","price","title","network"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.BidAcceptedEvent||(e.BidAcceptedEvent={})),function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.BLOCKCHAIN},subType:{type:"string",const:n.Events.SubType.Blockchain.ITEM_SOLD},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},buyer:{type:"string"},seller:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},tokenId:{type:"string"},network:{type:"string"},title:{type:"string"},description:{type:"string"}},required:["address","image","seller","category","link","network","title","description"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.ItemSoldEvent||(e.ItemSoldEvent={})),function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.BLOCKCHAIN},subType:{type:"string",const:n.Events.SubType.Blockchain.ITEM_PUBLISHED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{creator:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},itemId:{type:"string"},network:{type:"string"},urn:{type:"string"}},required:["creator","category","itemId","network","urn"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.ItemPublishedEvent||(e.ItemPublishedEvent={})),function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.BLOCKCHAIN},subType:{type:"string",const:n.Events.SubType.Blockchain.RENTAL_ENDED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},contract:{type:"string"},land:{type:"string",nullable:!0},lessor:{type:"string"},tenant:{type:"string"},operator:{type:"string"},startedAt:{type:"string"},endedAt:{type:"string"},tokenId:{type:"string"},link:{type:"string"},title:{type:"string"},description:{type:"string",nullable:!0}},required:["address","contract","lessor","tenant","operator","startedAt","endedAt","tokenId","link","title"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.RentalEndedEvent||(e.RentalEndedEvent={})),function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.BLOCKCHAIN},subType:{type:"string",const:n.Events.SubType.Blockchain.RENTAL_STARTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},contract:{type:"string"},land:{type:"string",nullable:!0},lessor:{type:"string"},tenant:{type:"string"},operator:{type:"string"},startedAt:{type:"string"},endedAt:{type:"string"},tokenId:{type:"string"},link:{type:"string"},title:{type:"string"},description:{type:"string",nullable:!0}},required:["address","contract","lessor","tenant","operator","startedAt","endedAt","tokenId","link","title"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.RentalStartedEvent||(e.RentalStartedEvent={})),function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.BLOCKCHAIN},subType:{type:"string",const:n.Events.SubType.Blockchain.ROYALTIES_EARNED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},royaltiesCut:{type:"string"},royaltiesCollector:{type:"string"},network:{type:"string"},title:{type:"string"},description:{type:"string",nullable:!0}},required:["address","image","category","link","royaltiesCut","royaltiesCollector","network","title"]}},required:["type","subType","metadata"],additionalProperties:!1},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.RoyaltiesEarnedEvent||(e.RoyaltiesEarnedEvent={})),function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.BLOCKCHAIN},subType:{type:"string",const:n.Events.SubType.Blockchain.COLLECTION_CREATED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{creator:{type:"string"},name:{type:"string"}},required:["creator","name"]}},required:["type","subType","metadata"],additionalProperties:!1},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.CollectionCreatedEvent||(e.CollectionCreatedEvent={}))})(EO);var CO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CatalystDeploymentEvent=void 0;const t=qf,n=de,r=$b,o=Qs;(function(i){i.schema={type:"object",properties:{type:{type:"string",const:o.Events.Type.CATALYST_DEPLOYMENT},subType:{type:"string",enum:Object.values(o.Events.SubType.CatalystDeployment)},key:{type:"string"},timestamp:{type:"number",minimum:1},entity:r.Entity.schema,authChain:t.AuthChain.schema},required:["type","subType","entity","authChain","key","timestamp"],additionalProperties:!1},i.validate=(0,n.generateLazyValidator)(i.schema)})(e.CatalystDeploymentEvent||(e.CatalystDeploymentEvent={}))})(CO);var SO={};Object.defineProperty(SO,"__esModule",{value:!0});var wO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BidReceivedEvent=void 0;const t=de,n=Qs;(function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.MARKETPLACE},subType:{type:"string",const:n.Events.SubType.Marketplace.BID_RECEIVED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{address:{type:"string"},image:{type:"string"},seller:{type:"string"},category:{type:"string"},rarity:{type:"string",nullable:!0},link:{type:"string"},nftName:{type:"string",nullable:!0},price:{type:"string"},title:{type:"string"},description:{type:"string"},network:{type:"string"}},required:["address","image","seller","category","link","price","title","network"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.BidReceivedEvent||(e.BidReceivedEvent={}))})(wO);var xO={},z0={};Object.defineProperty(z0,"__esModule",{value:!0});z0.createEventSchema=void 0;function ope(e,t,n){return{type:"object",properties:{type:{type:"string",const:e},subType:{type:"string",const:t},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:n},required:["type","subType","key","timestamp","metadata"],additionalProperties:!1}}z0.createEventSchema=ope;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RewardDelayedEvent=e.CampaignOutOfStockEvent=e.CampaignGasPriceHigherThanExpectedEvent=e.CampaignOutOfFundsEvent=e.RewardAssignedEvent=e.RewardInProgressEvent=void 0;const t=de,n=Qs,r=z0,o={type:"object",properties:{title:{type:"string"},description:{type:"string"},link:{type:"string",nullable:!0},beneficiary:{type:"string"},tokenName:{type:"string"},tokenImage:{type:"string"},tokenRarity:{type:"string",nullable:!0},tokenCategory:{type:"string",nullable:!0}},required:["title","description","beneficiary","tokenName","tokenImage"],additionalProperties:!1},i={type:"object",properties:{title:{type:"string"},description:{type:"string"},link:{type:"string",nullable:!0},owner:{type:"string"},campaignId:{type:"string"},campaignName:{type:"string"}},required:["title","description","owner","campaignId","campaignName"],additionalProperties:!1};(function(a){a.schema=(0,r.createEventSchema)(n.Events.Type.REWARDS,n.Events.SubType.Rewards.REWARD_IN_PROGRESS,o),a.validate=(0,t.generateLazyValidator)(a.schema)})(e.RewardInProgressEvent||(e.RewardInProgressEvent={})),function(a){a.schema=(0,r.createEventSchema)(n.Events.Type.REWARDS,n.Events.SubType.Rewards.REWARD_ASSIGNED,o),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.RewardAssignedEvent||(e.RewardAssignedEvent={})),function(a){a.schema=(0,r.createEventSchema)(n.Events.Type.REWARDS,n.Events.SubType.Rewards.CAMPAIGN_OUT_OF_FUNDS,i),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.CampaignOutOfFundsEvent||(e.CampaignOutOfFundsEvent={})),function(a){a.schema=(0,r.createEventSchema)(n.Events.Type.REWARDS,n.Events.SubType.Rewards.CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED,i),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.CampaignGasPriceHigherThanExpectedEvent||(e.CampaignGasPriceHigherThanExpectedEvent={})),function(a){a.schema=(0,r.createEventSchema)(n.Events.Type.REWARDS,n.Events.SubType.Rewards.CAMPAIGN_OUT_OF_STOCK,i),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.CampaignOutOfStockEvent||(e.CampaignOutOfStockEvent={})),function(a){a.schema=(0,r.createEventSchema)(n.Events.Type.REWARDS,n.Events.SubType.Rewards.REWARD_DELAYED,o),a.validate=(0,t.generateLazyValidator)(a.schema)}(e.RewardDelayedEvent||(e.RewardDelayedEvent={}))})(xO);var MO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.FriendshipAcceptedEvent=e.FriendshipRequestEvent=e.AssetBundleConversionManuallyQueuedEvent=e.AssetBundleConversionFinishedEvent=e.BadgeGrantedEvent=void 0;const t=de,n=Qs;(function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.BADGE},subType:{type:"string",const:n.Events.SubType.Badge.GRANTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{badgeId:{type:"string"},badgeTierName:{type:"string",nullable:!0},badgeName:{type:"string"},badgeImageUrl:{type:"string"},address:{type:"string"}},required:["badgeId","badgeName","badgeImageUrl","address"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},r.validate=(0,t.generateLazyValidator)(r.schema)})(e.BadgeGrantedEvent||(e.BadgeGrantedEvent={})),function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.ASSET_BUNDLE},subType:{type:"string",const:n.Events.SubType.AssetBundle.CONVERTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{entityId:{type:"string"},platform:{type:"string",enum:["windows","mac","webgl"]},statusCode:{type:"number"},isLods:{type:"boolean"},isWorld:{type:"boolean"}},required:["entityId","platform","statusCode","isLods","isWorld"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.AssetBundleConversionFinishedEvent||(e.AssetBundleConversionFinishedEvent={})),function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.ASSET_BUNDLE},subType:{type:"string",const:n.Events.SubType.AssetBundle.MANUALLY_QUEUED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{entityId:{type:"string"},platform:{type:"string",enum:["windows","mac","webgl"]},isLods:{type:"boolean"},isPriority:{type:"boolean"}},required:["entityId","platform","isLods"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.AssetBundleConversionManuallyQueuedEvent||(e.AssetBundleConversionManuallyQueuedEvent={})),function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.SOCIAL_SERVICE},subType:{type:"string",const:n.Events.SubType.SocialService.FRIENDSHIP_REQUEST},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{sender:{type:"object",properties:{address:{type:"string"},name:{type:"string"},profileImageUrl:{type:"string"}},required:["address","name","profileImageUrl"]},receiver:{type:"object",properties:{address:{type:"string"}},required:["address"]},message:{type:"string",nullable:!0}},required:["sender"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.FriendshipRequestEvent||(e.FriendshipRequestEvent={})),function(r){r.schema={type:"object",properties:{type:{type:"string",const:n.Events.Type.SOCIAL_SERVICE},subType:{type:"string",const:n.Events.SubType.SocialService.FRIENDSHIP_ACCEPTED},key:{type:"string"},timestamp:{type:"number",minimum:0},metadata:{type:"object",properties:{sender:{type:"object",properties:{address:{type:"string"},name:{type:"string"},profileImageUrl:{type:"string"}},required:["address","name","profileImageUrl"]},receiver:{type:"object",properties:{address:{type:"string"}},required:["address"]}},required:["sender"]}},required:["type","subType","key","timestamp","metadata"],additionalProperties:!0},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.FriendshipAcceptedEvent||(e.FriendshipAcceptedEvent={}))})(MO);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(Qs,e),n(EO,e),n(CO,e),n(SO,e),n(wO,e),n(xO,e),n(MO,e)})(bO);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(iO,e),n(sO,e),n(pO(),e),n(lu,e),n(Ob,e),n(hO,e),n($b,e),n(mO,e),n(gO,e),n(vO,e),n(bO,e)})(F0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WearableJson=void 0;const t=Wf,n=ns,r=j0,o=de,i=F0;(function(a){a.schema={type:"object",properties:{description:{type:"string"},rarity:Object.assign(Object.assign({},t.Rarity.schema),{nullable:!0}),name:{type:"string"},data:{type:"object",properties:{replaces:{type:"array",items:n.WearableCategory.schema},hides:{type:"array",items:n.WearableCategory.schema},tags:{type:"array",items:{type:"string",minLength:1}},representations:{type:"array",items:r.WearableRepresentation.schema,minItems:1},category:n.WearableCategory.schema,removesDefaultHiding:{type:"array",nullable:!0,items:i.HideableWearableCategory.schema},blockVrmExport:{type:"boolean",nullable:!0},outlineCompatible:{type:"boolean",nullable:!0}},required:["replaces","hides","tags","representations","category"]}},additionalProperties:!0,required:["description","name","data"]},a.validate=(0,o.generateLazyValidator)(a.schema)})(e.WearableJson||(e.WearableJson={}))})(oO);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(rO,e),n(oO,e)})(nO);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(nL,e),n(nO,e)})(tL);var RO={},TO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Account=e.AccountSortBy=void 0;const t=de;(function(n){n.MOST_SALES="most_sales",n.MOST_PURCHASES="most_purchases",n.MOST_SPENT="most_spent",n.MOST_EARNED="most_earned",n.MOST_ROYALTIES="most_royalties",n.MOST_COLLECTIONS="most_collections"})(e.AccountSortBy||(e.AccountSortBy={})),function(n){n.schema={type:"object",properties:{id:{type:"string"},address:{type:"string"},sales:{type:"integer"},purchases:{type:"integer"},spent:{type:"string"},earned:{type:"string"},royalties:{type:"string"},collections:{type:"number"}},required:["id","address","sales","purchases","spent","earned","royalties","collections"]},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.Account||(e.Account={}))})(TO);var O2={},A2={},WC;function kO(){return WC||(WC=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getChainId=e.ChainName=void 0;const t=de,n=No();var r;(function(i){i.ETHEREUM_MAINNET="Ethereum Mainnet",i.ETHEREUM_ROPSTEN="Ropsten",i.ETHEREUM_RINKEBY="Rinkeby",i.ETHEREUM_GOERLI="Goerli",i.ETHEREUM_KOVAN="Kovan",i.ETHEREUM_SEPOLIA="Sepolia",i.MATIC_MAINNET="Polygon",i.MATIC_MUMBAI="Mumbai",i.MATIC_AMOY="Amoy",i.AVALANCHE_MAINNET="Avalanche",i.BINANCE_MAINNET="Binance Smart Chain",i.ARBITRUM_MAINNET="Arbitrum",i.OPTIMISM_MAINNET="Optimism",i.FANTOM_MAINNET="Fantom"})(r=e.ChainName||(e.ChainName={}));function o(i){switch(i){case r.ETHEREUM_MAINNET:return n.ChainId.ETHEREUM_MAINNET;case r.ETHEREUM_ROPSTEN:return n.ChainId.ETHEREUM_ROPSTEN;case r.ETHEREUM_RINKEBY:return n.ChainId.ETHEREUM_RINKEBY;case r.ETHEREUM_GOERLI:return n.ChainId.ETHEREUM_GOERLI;case r.ETHEREUM_KOVAN:return n.ChainId.ETHEREUM_KOVAN;case r.ETHEREUM_SEPOLIA:return n.ChainId.ETHEREUM_SEPOLIA;case r.MATIC_MAINNET:return n.ChainId.MATIC_MAINNET;case r.MATIC_MUMBAI:return n.ChainId.MATIC_MUMBAI;case r.MATIC_AMOY:return n.ChainId.MATIC_AMOY;case r.AVALANCHE_MAINNET:return n.ChainId.AVALANCHE_MAINNET;case r.BINANCE_MAINNET:return n.ChainId.BSC_MAINNET;case r.ARBITRUM_MAINNET:return n.ChainId.ARBITRUM_MAINNET;case r.OPTIMISM_MAINNET:return n.ChainId.OPTIMISM_MAINNET;case r.FANTOM_MAINNET:return n.ChainId.FANTOM_MAINNET;default:return null}}e.getChainId=o,function(i){i.schema={type:"string",enum:Object.values(i)},i.validate=(0,t.generateLazyValidator)(i.schema)}(r=e.ChainName||(e.ChainName={}))}(A2)),A2}var po={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Network=void 0;const t=de;(function(n){n.ETHEREUM="ETHEREUM",n.MATIC="MATIC",n.AVALANCHE="AVALANCHE",n.BSC="BINANCE SMART CHAIN",n.OPTIMISM="OPTIMISM",n.ARBITRUM="ARBITRUM",n.FANTOM="FANTOM"})(e.Network||(e.Network={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.Network||(e.Network={}))})(po);var qC;function No(){return qC||(qC=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getNetwork=e.getNetworkMapping=e.getURNProtocol=e.getChainName=e.ChainId=void 0;const t=de,n=kO(),r=po;var o;(function(c){c[c.ETHEREUM_MAINNET=1]="ETHEREUM_MAINNET",c[c.ETHEREUM_ROPSTEN=3]="ETHEREUM_ROPSTEN",c[c.ETHEREUM_RINKEBY=4]="ETHEREUM_RINKEBY",c[c.ETHEREUM_GOERLI=5]="ETHEREUM_GOERLI",c[c.ETHEREUM_KOVAN=42]="ETHEREUM_KOVAN",c[c.ETHEREUM_SEPOLIA=11155111]="ETHEREUM_SEPOLIA",c[c.MATIC_MAINNET=137]="MATIC_MAINNET",c[c.MATIC_MUMBAI=80001]="MATIC_MUMBAI",c[c.MATIC_AMOY=80002]="MATIC_AMOY",c[c.BSC_MAINNET=56]="BSC_MAINNET",c[c.OPTIMISM_MAINNET=10]="OPTIMISM_MAINNET",c[c.ARBITRUM_MAINNET=42161]="ARBITRUM_MAINNET",c[c.FANTOM_MAINNET=250]="FANTOM_MAINNET",c[c.AVALANCHE_MAINNET=43114]="AVALANCHE_MAINNET"})(o=e.ChainId||(e.ChainId={}));function i(c){switch(c){case o.ETHEREUM_MAINNET:return n.ChainName.ETHEREUM_MAINNET;case o.ETHEREUM_ROPSTEN:return n.ChainName.ETHEREUM_ROPSTEN;case o.ETHEREUM_RINKEBY:return n.ChainName.ETHEREUM_RINKEBY;case o.ETHEREUM_GOERLI:return n.ChainName.ETHEREUM_GOERLI;case o.ETHEREUM_KOVAN:return n.ChainName.ETHEREUM_KOVAN;case o.ETHEREUM_SEPOLIA:return n.ChainName.ETHEREUM_SEPOLIA;case o.MATIC_MAINNET:return n.ChainName.MATIC_MAINNET;case o.MATIC_MUMBAI:return n.ChainName.MATIC_MUMBAI;case o.MATIC_AMOY:return n.ChainName.MATIC_AMOY;case o.BSC_MAINNET:return n.ChainName.BINANCE_MAINNET;case o.ARBITRUM_MAINNET:return n.ChainName.ARBITRUM_MAINNET;case o.OPTIMISM_MAINNET:return n.ChainName.OPTIMISM_MAINNET;case o.FANTOM_MAINNET:return n.ChainName.FANTOM_MAINNET;case o.AVALANCHE_MAINNET:return n.ChainName.AVALANCHE_MAINNET;default:return null}}e.getChainName=i;function a(c){switch(c){case o.ETHEREUM_MAINNET:return"ethereum";case o.ETHEREUM_ROPSTEN:return"ropsten";case o.ETHEREUM_RINKEBY:return"rinkeby";case o.ETHEREUM_GOERLI:return"goerli";case o.ETHEREUM_KOVAN:return"kovan";case o.ETHEREUM_SEPOLIA:return"sepolia";case o.MATIC_MAINNET:return"matic";case o.MATIC_MUMBAI:return"mumbai";case o.MATIC_AMOY:return"amoy";default:return""}}e.getURNProtocol=a;function s(c){const u={[r.Network.BSC]:o.BSC_MAINNET,[r.Network.OPTIMISM]:o.OPTIMISM_MAINNET,[r.Network.ARBITRUM]:o.ARBITRUM_MAINNET,[r.Network.FANTOM]:o.FANTOM_MAINNET,[r.Network.AVALANCHE]:o.AVALANCHE_MAINNET};switch(c){case o.ETHEREUM_MAINNET:return Object.assign({[r.Network.ETHEREUM]:o.ETHEREUM_MAINNET,[r.Network.MATIC]:o.MATIC_MAINNET},u);case o.ETHEREUM_ROPSTEN:return Object.assign({[r.Network.ETHEREUM]:o.ETHEREUM_ROPSTEN,[r.Network.MATIC]:o.MATIC_MUMBAI},u);case o.ETHEREUM_RINKEBY:return Object.assign({[r.Network.ETHEREUM]:o.ETHEREUM_RINKEBY,[r.Network.MATIC]:o.MATIC_MUMBAI},u);case o.ETHEREUM_GOERLI:return Object.assign({[r.Network.ETHEREUM]:o.ETHEREUM_GOERLI,[r.Network.MATIC]:o.MATIC_MUMBAI},u);case o.ETHEREUM_KOVAN:return Object.assign({[r.Network.ETHEREUM]:o.ETHEREUM_KOVAN,[r.Network.MATIC]:o.MATIC_MUMBAI},u);case o.ETHEREUM_SEPOLIA:return Object.assign({[r.Network.ETHEREUM]:o.ETHEREUM_SEPOLIA,[r.Network.MATIC]:o.MATIC_AMOY},u);case o.MATIC_MAINNET:return Object.assign({[r.Network.ETHEREUM]:o.MATIC_MAINNET,[r.Network.MATIC]:o.MATIC_MAINNET},u);case o.MATIC_MUMBAI:return Object.assign({[r.Network.ETHEREUM]:o.MATIC_MUMBAI,[r.Network.MATIC]:o.MATIC_MUMBAI},u);case o.MATIC_AMOY:return Object.assign({[r.Network.ETHEREUM]:o.MATIC_AMOY,[r.Network.MATIC]:o.MATIC_AMOY},u);default:return Object.assign({[r.Network.ETHEREUM]:o.ETHEREUM_MAINNET,[r.Network.MATIC]:o.MATIC_MAINNET},u)}}e.getNetworkMapping=s;function l(c){switch(c){case o.ETHEREUM_MAINNET:case o.ETHEREUM_ROPSTEN:case o.ETHEREUM_GOERLI:case o.ETHEREUM_KOVAN:case o.ETHEREUM_RINKEBY:case o.ETHEREUM_SEPOLIA:return r.Network.ETHEREUM;case o.MATIC_MAINNET:case o.MATIC_MUMBAI:case o.MATIC_AMOY:return r.Network.MATIC;case o.BSC_MAINNET:return r.Network.BSC;case o.OPTIMISM_MAINNET:return r.Network.OPTIMISM;case o.ARBITRUM_MAINNET:return r.Network.ARBITRUM;case o.FANTOM_MAINNET:return r.Network.FANTOM;case o.AVALANCHE_MAINNET:return r.Network.AVALANCHE}}e.getNetwork=l,function(c){c.schema={type:"number",enum:Object.values(c)},c.validate=(0,t.generateLazyValidator)(c.schema)}(o=e.ChainId||(e.ChainId={}))}(O2)),O2}var IO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Collection=e.CollectionSortBy=void 0;const t=de,n=No(),r=po;(function(o){o.NEWEST="newest",o.NAME="name",o.RECENTLY_REVIEWED="recently_reviewed",o.RECENTLY_LISTED="recently_listed",o.SIZE="size"})(e.CollectionSortBy||(e.CollectionSortBy={})),function(o){o.schema={type:"object",properties:{urn:{type:"string"},creator:{type:"string"},name:{type:"string"},contractAddress:{type:"string"},size:{type:"integer"},isOnSale:{type:"boolean"},createdAt:{type:"integer"},updatedAt:{type:"integer"},reviewedAt:{type:"integer"},network:r.Network.schema,chainId:n.ChainId.schema,firstListedAt:{type:"integer",nullable:!0}},required:["urn","creator","name","contractAddress","isOnSale","size","createdAt","updatedAt","reviewedAt","network","chainId"]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.Collection||(e.Collection={}))})(IO);var LO={},Gf={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NFTCategory=void 0;const t=de;(function(n){n.PARCEL="parcel",n.ESTATE="estate",n.WEARABLE="wearable",n.ENS="ens",n.EMOTE="emote"})(e.NFTCategory||(e.NFTCategory={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.NFTCategory||(e.NFTCategory={}))})(Gf);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Contract=e.ContractSortBy=void 0;const t=de,n=No(),r=po,o=Gf;(function(i){i.NAME="name"})(e.ContractSortBy||(e.ContractSortBy={})),function(i){i.schema={type:"object",properties:{name:{type:"string"},address:{type:"string"},category:o.NFTCategory.schema,network:r.Network.schema,chainId:n.ChainId.schema},required:["name","address","category","network","chainId"]},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.Contract||(e.Contract={}))})(LO);var OO={},Ub={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NFT=e.NFTSortBy=void 0;const t=de,n=No(),r=F0,o=po,i=Gf,a=Wf,s=ns;(function(l){l.NAME="name",l.NEWEST="newest",l.RECENTLY_LISTED="recently_listed",l.RECENTLY_SOLD="recently_sold",l.CHEAPEST="cheapest",l.RENTAL_LISTING_DATE="rental_listing_date",l.RENTAL_DATE="rented_date",l.MAX_RENTAL_PRICE="max_rental_price",l.MIN_RENTAL_PRICE="min_rental_price"})(e.NFTSortBy||(e.NFTSortBy={})),function(l){l.schema={type:"object",properties:{id:{type:"string"},tokenId:{type:"string"},contractAddress:{type:"string"},activeOrderId:{type:"string",nullable:!0},utility:{type:"string",nullable:!0},openRentalId:{type:"string",nullable:!0},owner:{type:"string"},name:{type:"string"},image:{type:"string"},url:{type:"string"},data:{type:"object",nullable:!1,properties:{parcel:{type:"object",properties:{description:{type:["string"],nullable:!0},x:{type:"string"},y:{type:"string"},estate:{type:"object",properties:{tokenId:{type:"string"},name:{type:"string"}},required:["tokenId","name"],nullable:!0}},required:["description","x","y","estate"],nullable:!0},estate:{type:"object",properties:{description:{type:["string"],nullable:!0},size:{type:"integer"},parcels:{type:"array",items:{type:"object",properties:{x:{type:"number"},y:{type:"number"}},required:["x","y"]}}},required:["description","size","parcels"],nullable:!0},wearable:{type:"object",properties:{bodyShapes:{type:"array",items:r.BodyShape.schema},category:s.WearableCategory.schema,description:{type:"string"},rarity:a.Rarity.schema,isSmart:{type:"boolean"}},required:["bodyShapes","category","description","rarity","isSmart"],nullable:!0},ens:{type:"object",properties:{subdomain:{type:"string"}},required:["subdomain"],nullable:!0},emote:{type:"object",properties:{bodyShapes:{type:"array",items:r.BodyShape.schema},category:r.EmoteCategory.schema,description:{type:"string"},rarity:a.Rarity.schema,loop:{type:"boolean"},hasSound:{type:"boolean"},hasGeometry:{type:"boolean"}},required:["bodyShapes","category","description","rarity","loop"],nullable:!0}},required:[]},issuedId:{type:"string",nullable:!0},itemId:{type:"string",nullable:!0},category:i.NFTCategory.schema,network:o.Network.schema,chainId:n.ChainId.schema,createdAt:{type:"integer"},updatedAt:{type:"integer"},soldAt:{type:"integer"},urn:{type:"string",nullable:!0}},required:["id","tokenId","contractAddress","activeOrderId","openRentalId","owner","name","image","url","data","issuedId","itemId","category","network","chainId","createdAt","updatedAt","soldAt"]},l.validate=(0,t.generateLazyValidator)(l.schema)}(e.NFT||(e.NFT={}))})(Ub);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Item=e.ItemSortBy=void 0;const t=de,n=No(),r=po,o=Ub,i=Gf;(function(a){a.NAME="name",a.NEWEST="newest",a.RECENTLY_REVIEWED="recently_reviewed",a.RECENTLY_SOLD="recently_sold",a.RECENTLY_LISTED="recently_listed",a.CHEAPEST="cheapest"})(e.ItemSortBy||(e.ItemSortBy={})),function(a){a.schema={type:"object",properties:{id:{type:"string"},name:{type:"string"},thumbnail:{type:"string"},url:{type:"string"},category:i.NFTCategory.schema,contractAddress:{type:"string"},itemId:{type:"string"},rarity:{type:"string"},price:{type:"string"},available:{type:"integer"},isOnSale:{type:"boolean"},creator:{type:"string"},beneficiary:{type:"string",nullable:!0},tradeId:{type:"string",nullable:!0},data:o.NFT.schema.properties.data,network:r.Network.schema,chainId:n.ChainId.schema,urn:{type:"string"},createdAt:{type:"integer"},updatedAt:{type:"integer"},reviewedAt:{type:"integer"},soldAt:{type:"integer"},firstListedAt:{type:"integer",nullable:!0},picks:{type:"object",properties:{pickedByUser:{type:"boolean",nullable:!0},count:{type:"integer"}},required:["count"],nullable:!0},minPrice:{type:"string",nullable:!0},utility:{type:"string",nullable:!0},minListingPrice:{type:"string",nullable:!0},maxListingPrice:{type:"string",nullable:!0},listings:{type:"integer",nullable:!0},owners:{type:"integer",nullable:!0},tradeExpiresAt:{type:"integer",nullable:!0}},required:["id","name","thumbnail","url","category","contractAddress","itemId","rarity","price","available","isOnSale","creator","data","network","chainId","createdAt","updatedAt","soldAt"]},a.validate=(0,t.generateLazyValidator)(a.schema)}(e.Item||(e.Item={}))})(OO);var W0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ListingStatus=void 0;const t=de;(function(n){n.OPEN="open",n.SOLD="sold",n.CANCELLED="cancelled"})(e.ListingStatus||(e.ListingStatus={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.ListingStatus||(e.ListingStatus={}))})(W0);var AO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.MetaTransaction=void 0;const t=de;(function(n){n.schema={type:"object",properties:{from:{type:"string"},params:{type:"array",items:[{type:"string"},{type:"string"}],additionalItems:!1,minItems:2}},additionalProperties:!1,required:["from","params"]},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.MetaTransaction||(e.MetaTransaction={}))})(AO);var PO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Mint=e.MintSortBy=void 0;const t=de,n=No(),r=po;(function(o){o.RECENTLY_MINTED="recently_minted",o.MOST_EXPENSIVE="most_expensive"})(e.MintSortBy||(e.MintSortBy={})),function(o){o.schema={type:"object",properties:{id:{type:"string"},creator:{type:"string"},beneficiary:{type:"string"},minter:{type:"string"},price:{type:"string",nullable:!0},contractAddress:{type:"string"},tokenId:{type:"string"},itemId:{type:"string"},issuedId:{type:"string"},timestamp:{type:"integer"},network:r.Network.schema,chainId:n.ChainId.schema},required:["id","creator","beneficiary","minter","itemId","tokenId","issuedId","contractAddress","price","timestamp","network","chainId"]},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.Mint||(e.Mint={}))})(PO);var NO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CatalogSortDirection=e.CatalogSortBy=void 0,function(t){t.NEWEST="newest",t.RECENTLY_SOLD="recently_sold",t.CHEAPEST="cheapest",t.MOST_EXPENSIVE="most_expensive",t.RECENTLY_LISTED="recently_listed"}(e.CatalogSortBy||(e.CatalogSortBy={})),function(t){t.ASC="asc",t.DESC="desc"}(e.CatalogSortDirection||(e.CatalogSortDirection={}))})(NO);var $O={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Order=e.OrderSortBy=void 0;const t=de,n=No(),r=W0,o=po;(function(i){i.RECENTLY_LISTED="recently_listed",i.RECENTLY_UPDATED="recently_updated",i.CHEAPEST="cheapest",i.ISSUED_ID_ASC="issued_id_asc",i.ISSUED_ID_DESC="issued_id_desc",i.OLDEST="oldest"})(e.OrderSortBy||(e.OrderSortBy={})),function(i){i.schema={type:"object",properties:{id:{type:"string"},marketplaceAddress:{type:"string"},contractAddress:{type:"string"},tokenId:{type:"string"},owner:{type:"string"},buyer:{type:["string"],nullable:!0},price:{type:"string"},status:r.ListingStatus.schema,network:o.Network.schema,chainId:n.ChainId.schema,expiresAt:{type:"integer"},createdAt:{type:"integer"},updatedAt:{type:"integer"},issuedId:{type:"string"},tradeId:{type:"string",nullable:!0}},required:["id","marketplaceAddress","contractAddress","tokenId","owner","buyer","price","status","network","chainId","expiresAt","createdAt","updatedAt"]},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.Order||(e.Order={}))})($O);var jO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ProviderType=void 0;const t=de;(function(n){n.INJECTED="injected",n.MAGIC="magic",n.MAGIC_TEST="magic_test",n.FORTMATIC="formatic",n.NETWORK="network",n.WALLET_CONNECT="wallet_connect",n.WALLET_CONNECT_V2="wallet_connect_v2",n.WALLET_LINK="wallet_link",n.METAMASK_MOBILE="metamask_mobile",n.AUTH_SERVER="auth_server"})(e.ProviderType||(e.ProviderType={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.ProviderType||(e.ProviderType={}))})(jO);var Hb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SaleType=void 0;const t=de;(function(n){n.ORDER="order",n.BID="bid",n.MINT="mint"})(e.SaleType||(e.SaleType={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.SaleType||(e.SaleType={}))})(Hb);var DO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Sale=e.SaleSortBy=void 0;const t=de,n=No(),r=Hb,o=po;(function(i){i.RECENTLY_SOLD="recently_sold",i.MOST_EXPENSIVE="most_expensive"})(e.SaleSortBy||(e.SaleSortBy={})),function(i){i.schema={type:"object",properties:{id:{type:"string"},type:r.SaleType.schema,buyer:{type:"string"},seller:{type:"string"},price:{type:"string"},contractAddress:{type:"string"},tokenId:{type:"string"},itemId:{type:"string"},txHash:{type:"string"},timestamp:{type:"integer"},network:o.Network.schema,chainId:n.ChainId.schema},required:["id","buyer","seller","itemId","tokenId","price","contractAddress","timestamp","txHash","network","chainId"]},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.Sale||(e.Sale={}))})(DO);var BO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RentalListingCreation=e.PeriodCreation=e.RentalsListingsSortBy=e.RentalsListingsFilterByCategory=e.RentalsListingSortDirection=e.RentalStatus=void 0;const t=de,n=No(),r=po;(function(i){i.OPEN="open",i.CANCELLED="cancelled",i.EXECUTED="executed",i.CLAIMED="claimed"})(e.RentalStatus||(e.RentalStatus={})),function(i){i.ASC="asc",i.DESC="desc"}(e.RentalsListingSortDirection||(e.RentalsListingSortDirection={})),function(i){i.PARCEL="parcel",i.ESTATE="estate"}(e.RentalsListingsFilterByCategory||(e.RentalsListingsFilterByCategory={})),function(i){i.LAND_CREATION_DATE="land_creation_date",i.RENTAL_LISTING_DATE="rental_listing_date",i.RENTAL_DATE="rented_date",i.NAME="name",i.MAX_RENTAL_PRICE="max_rental_price",i.MIN_RENTAL_PRICE="min_rental_price"}(e.RentalsListingsSortBy||(e.RentalsListingsSortBy={}));var o;(function(i){i.schema={type:"object",properties:{minDays:{type:"integer",minimum:0,maximum:2147483647},maxDays:{type:"integer",minimum:0,maximum:2147483647},pricePerDay:{type:"string",pattern:"^[0-9]+$"}},additionalProperties:!1,required:["minDays","maxDays","pricePerDay"]},i.validate=(0,t.generateLazyValidator)(i.schema)})(o=e.PeriodCreation||(e.PeriodCreation={})),function(i){i.schema={type:"object",properties:{network:r.Network.schema,chainId:n.ChainId.schema,expiration:{type:"number",minimum:0},signature:{type:"string",minLength:1},tokenId:{type:"string",minLength:1},nonces:{type:"array",minItems:3,maxItems:3,items:{minLength:1,type:"string",pattern:"^[0-9]+$"}},contractAddress:{type:"string",pattern:"^0x[a-fA-F0-9]{40}$"},rentalContractAddress:{type:"string",pattern:"^0x[a-fA-F0-9]{40}$"},periods:{type:"array",minItems:1,maxItems:100,uniqueItems:!0,items:o.schema},target:{type:"string",pattern:"^0x[a-fA-F0-9]{40}$"}},additionalProperties:!1,required:["network","chainId","expiration","signature","nonces","tokenId","contractAddress","rentalContractAddress","periods","target"]},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.RentalListingCreation||(e.RentalListingCreation={}))})(BO);var FO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.AnalyticsDayDataSortBy=void 0,function(t){t.DATE="date",t.MOST_SALES="most_sales"}(e.AnalyticsDayDataSortBy||(e.AnalyticsDayDataSortBy={}))})(FO);var UO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Store=void 0;const t=de;(function(n){n.schema={type:"object",properties:{id:{type:"string"},version:{type:"number"},owner:{type:"string"},description:{type:"string"},links:{type:"array",items:{type:"object",properties:{name:{type:"string"},url:{type:"string"}},required:["name","url"]}},images:{type:"array",items:{type:"object",properties:{name:{type:"string"},file:{type:"string"}},required:["name","file"]}}},required:["id","version","owner","description","links","images"]},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.Store||(e.Store={}))})(UO);var HO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.GenderFilterOption=e.WearableGender=void 0;const t=de;(function(n){n.MALE="male",n.FEMALE="female"})(e.WearableGender||(e.WearableGender={})),function(n){n.MALE="male",n.FEMALE="female",n.UNISEX="unisex"}(e.GenderFilterOption||(e.GenderFilterOption={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.WearableGender||(e.WearableGender={}))})(HO);var VO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.World=e.isInsideWorldLimits=e.getWorld=void 0;const t=de;function n(){return{validWorldRanges:[{xMin:-150,yMin:-150,xMax:150,yMax:150},{xMin:62,yMin:151,xMax:162,yMax:158},{xMin:151,yMin:144,xMax:162,yMax:150},{xMin:151,yMin:59,xMax:163,yMax:143}]}}e.getWorld=n;function r(o,i){const a=n().validWorldRanges;for(const s of a)if(o>=s.xMin&&o<=s.xMax&&i>=s.yMin&&i<=s.yMax)return!0;return!1}e.isInsideWorldLimits=r,function(o){o.schema={type:"object",required:["validWorldRanges"],properties:{validWorldRanges:{type:"array",default:[{xMin:-150,yMin:-150,xMax:150,yMax:150}],items:{type:"object",required:["xMin","yMin","xMax","yMax"],properties:{xMin:{type:"integer"},yMin:{type:"integer"},xMax:{type:"integer"},yMax:{type:"integer"}}}}},additionalProperties:!1},o.validate=(0,t.generateLazyValidator)(o.schema)}(e.World||(e.World={}))})(VO);var zO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Bid=e.BidSortBy=void 0;const t=de,n=No(),r=W0,o=po;(function(i){i.RECENTLY_OFFERED="recently_offered",i.RECENTLY_UPDATED="recently_updated",i.MOST_EXPENSIVE="most_expensive"})(e.BidSortBy||(e.BidSortBy={})),function(i){const a={type:"object",properties:{id:{type:"string"},bidder:{type:"string"},seller:{type:"string"},price:{type:"string"},fingerprint:{type:"string"},status:r.ListingStatus.schema,contractAddress:{type:"string"},network:o.Network.schema,chainId:n.ChainId.schema,expiresAt:{type:"integer"},createdAt:{type:"integer"},updatedAt:{type:"integer"}},required:["id","bidder","seller","price","fingerprint","status","contractAddress","network","chainId","expiresAt","createdAt","updatedAt"]};i.schema={type:"object",required:[],oneOf:[{properties:Object.assign(Object.assign({},a.properties),{tradeId:{type:"string"},tokenId:{type:"string"}}),required:[...a.required,"tradeId","tokenId"]},{type:"object",properties:Object.assign(Object.assign({},a.properties),{tradeId:{type:"string"},itemId:{type:"string"}}),required:[...a.required,"tradeId","itemId"]},{type:"object",properties:Object.assign(Object.assign({},a.properties),{bidAddress:{type:"string"},blockchainId:{type:"string"},blockNumber:{type:"string"},tokenId:{type:"string"}}),required:[...a.required,"bidAddress","blockchainId","blockNumber","tokenId"]}]},i.validate=(0,t.generateLazyValidator)(i.schema)}(e.Bid||(e.Bid={}))})(zO);var WO={};Object.defineProperty(WO,"__esModule",{value:!0});var qO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TradeAssetDirection=e.TradeAssetType=e.TradeType=void 0,function(t){t.BID="bid",t.PUBLIC_NFT_ORDER="public_nft_order",t.PUBLIC_ITEM_ORDER="public_item_order"}(e.TradeType||(e.TradeType={})),function(t){t[t.ERC20=1]="ERC20",t[t.USD_PEGGED_MANA=2]="USD_PEGGED_MANA",t[t.ERC721=3]="ERC721",t[t.COLLECTION_ITEM=4]="COLLECTION_ITEM"}(e.TradeAssetType||(e.TradeAssetType={})),function(t){t.SENT="sent",t.RECEIVED="received"}(e.TradeAssetDirection||(e.TradeAssetDirection={}))})(qO);var GO={},KO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewCamera=void 0;const t=de;(function(n){n.STATIC="static",n.INTERACTIVE="interactive"})(e.PreviewCamera||(e.PreviewCamera={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.PreviewCamera||(e.PreviewCamera={}))})(KO);var YO={};Object.defineProperty(YO,"__esModule",{value:!0});var ZO={};Object.defineProperty(ZO,"__esModule",{value:!0});var XO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewEmoteEventType=void 0;const t=de;(function(n){n.ANIMATION_PLAY="animation_play",n.ANIMATION_PAUSE="animation_pause",n.ANIMATION_LOOP="animation_loop",n.ANIMATION_END="animation_end",n.ANIMATION_PLAYING="animation_playing"})(e.PreviewEmoteEventType||(e.PreviewEmoteEventType={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.PreviewEmoteEventType||(e.PreviewEmoteEventType={}))})(XO);var JO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewEmote=void 0;const t=de;(function(n){n.IDLE="idle",n.WALK="walk",n.RUN="run",n.JUMP="jump",n.CLAP="clap",n.DAB="dab",n.DANCE="dance",n.FASHION="fashion",n.FASHION_2="fashion-2",n.FASHION_3="fashion-3",n.FASHION_4="fashion-4",n.LOVE="love",n.MONEY="money",n.FIST_PUMP="fist-pump",n.HEAD_EXPLODE="head-explode",n.WAVE="wave"})(e.PreviewEmote||(e.PreviewEmote={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.PreviewEmote||(e.PreviewEmote={}))})(JO);var QO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.sendMessage=e.PreviewMessageType=void 0;const t=de;(function(r){r.READY="ready",r.LOAD="load",r.ERROR="error",r.UPDATE="update",r.CONTROLLER_REQUEST="controller_request",r.CONTROLLER_RESPONSE="controller_response",r.EMOTE_EVENT="emote_event"})(e.PreviewMessageType||(e.PreviewMessageType={})),function(r){r.schema={type:"string",enum:Object.values(r)},r.validate=(0,t.generateLazyValidator)(r.schema)}(e.PreviewMessageType||(e.PreviewMessageType={}));const n=(r,o,i,a="*")=>{const s={type:o,payload:i};r.postMessage(s,a)};e.sendMessage=n})(QO);var eA={};Object.defineProperty(eA,"__esModule",{value:!0});var tA={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewProjection=void 0;const t=de;(function(n){n.ORTHOGRAPHIC="orthographic",n.PERSPECTIVE="perspective"})(e.PreviewProjection||(e.PreviewProjection={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.PreviewProjection||(e.PreviewProjection={}))})(tA);var nA={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PreviewType=void 0;const t=de;(function(n){n.TEXTURE="texture",n.WEARABLE="wearable",n.AVATAR="avatar"})(e.PreviewType||(e.PreviewType={})),function(n){n.schema={type:"string",enum:Object.values(n)},n.validate=(0,t.generateLazyValidator)(n.schema)}(e.PreviewType||(e.PreviewType={}))})(nA);var rA={};Object.defineProperty(rA,"__esModule",{value:!0});var oA={};Object.defineProperty(oA,"__esModule",{value:!0});var iA={};Object.defineProperty(iA,"__esModule",{value:!0});var aA={};Object.defineProperty(aA,"__esModule",{value:!0});var sA={};Object.defineProperty(sA,"__esModule",{value:!0});var lA={};Object.defineProperty(lA,"__esModule",{value:!0});var cA={};Object.defineProperty(cA,"__esModule",{value:!0});var uA={};Object.defineProperty(uA,"__esModule",{value:!0});(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(KO,e),n(YO,e),n(ZO,e),n(XO,e),n(JO,e),n(QO,e),n(eA,e),n(tA,e),n(nA,e),n(rA,e),n(oA,e),n(iA,e),n(aA,e),n(sA,e),n(lA,e),n(cA,e),n(uA,e)})(GO);var dA={},q0={};Object.defineProperty(q0,"__esModule",{value:!0});q0.isSysLink=void 0;const ipe=e=>e!==null&&typeof e=="object"&&"sys"in e&&"id"in e.sys;q0.isSysLink=ipe;var G0={};Object.defineProperty(G0,"__esModule",{value:!0});G0.ContentfulLocale=void 0;var W3;(function(e){e.enUS="en-US",e.es="es",e.zh="zh"})(W3||(W3={}));G0.ContentfulLocale=W3;var fA={};Object.defineProperty(fA,"__esModule",{value:!0});(function(e){var t=ie&&ie.__createBinding||(Object.create?function(r,o,i,a){a===void 0&&(a=i);var s=Object.getOwnPropertyDescriptor(o,i);(!s||("get"in s?!o.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return o[i]}}),Object.defineProperty(r,a,s)}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]}),n=ie&&ie.__exportStar||function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&t(o,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(q0,e),n(G0,e),n(fA,e)})(dA);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(I,D,F,q){q===void 0&&(q=F);var W=Object.getOwnPropertyDescriptor(D,F);(!W||("get"in W?!D.__esModule:W.writable||W.configurable))&&(W={enumerable:!0,get:function(){return D[F]}}),Object.defineProperty(I,q,W)}:function(I,D,F,q){q===void 0&&(q=F),I[q]=D[F]}),n=ie&&ie.__exportStar||function(I,D){for(var F in I)F!=="default"&&!Object.prototype.hasOwnProperty.call(D,F)&&t(D,I,F)};Object.defineProperty(e,"__esModule",{value:!0}),e.isInsideWorldLimits=e.getWorld=e.World=e.GenderFilterOption=e.WearableGender=e.Store=e.AnalyticsDayDataSortBy=e.PeriodCreation=e.RentalListingCreation=e.RentalsListingsSortBy=e.RentalsListingsFilterByCategory=e.RentalsListingSortDirection=e.RentalStatus=e.SaleSortBy=e.Sale=e.SaleType=e.Rarity=e.ProviderType=e.OrderSortBy=e.Order=e.CatalogSortDirection=e.CatalogSortBy=e.NFTSortBy=e.NFT=e.NFTCategory=e.Network=e.MintSortBy=e.Mint=e.MetaTransaction=e.ListingStatus=e.ItemSortBy=e.Item=e.ContractSortBy=e.Contract=e.CollectionSortBy=e.Collection=e.getChainId=e.ChainName=e.getURNProtocol=e.getChainName=e.ChainId=e.AccountSortBy=e.Account=void 0;var r=TO;Object.defineProperty(e,"Account",{enumerable:!0,get:function(){return r.Account}}),Object.defineProperty(e,"AccountSortBy",{enumerable:!0,get:function(){return r.AccountSortBy}});var o=No();Object.defineProperty(e,"ChainId",{enumerable:!0,get:function(){return o.ChainId}}),Object.defineProperty(e,"getChainName",{enumerable:!0,get:function(){return o.getChainName}}),Object.defineProperty(e,"getURNProtocol",{enumerable:!0,get:function(){return o.getURNProtocol}});var i=kO();Object.defineProperty(e,"ChainName",{enumerable:!0,get:function(){return i.ChainName}}),Object.defineProperty(e,"getChainId",{enumerable:!0,get:function(){return i.getChainId}});var a=IO;Object.defineProperty(e,"Collection",{enumerable:!0,get:function(){return a.Collection}}),Object.defineProperty(e,"CollectionSortBy",{enumerable:!0,get:function(){return a.CollectionSortBy}});var s=LO;Object.defineProperty(e,"Contract",{enumerable:!0,get:function(){return s.Contract}}),Object.defineProperty(e,"ContractSortBy",{enumerable:!0,get:function(){return s.ContractSortBy}});var l=OO;Object.defineProperty(e,"Item",{enumerable:!0,get:function(){return l.Item}}),Object.defineProperty(e,"ItemSortBy",{enumerable:!0,get:function(){return l.ItemSortBy}});var c=W0;Object.defineProperty(e,"ListingStatus",{enumerable:!0,get:function(){return c.ListingStatus}});var u=AO;Object.defineProperty(e,"MetaTransaction",{enumerable:!0,get:function(){return u.MetaTransaction}});var d=PO;Object.defineProperty(e,"Mint",{enumerable:!0,get:function(){return d.Mint}}),Object.defineProperty(e,"MintSortBy",{enumerable:!0,get:function(){return d.MintSortBy}});var p=po;Object.defineProperty(e,"Network",{enumerable:!0,get:function(){return p.Network}});var h=Gf;Object.defineProperty(e,"NFTCategory",{enumerable:!0,get:function(){return h.NFTCategory}});var g=Ub;Object.defineProperty(e,"NFT",{enumerable:!0,get:function(){return g.NFT}}),Object.defineProperty(e,"NFTSortBy",{enumerable:!0,get:function(){return g.NFTSortBy}});var v=NO;Object.defineProperty(e,"CatalogSortBy",{enumerable:!0,get:function(){return v.CatalogSortBy}}),Object.defineProperty(e,"CatalogSortDirection",{enumerable:!0,get:function(){return v.CatalogSortDirection}});var b=$O;Object.defineProperty(e,"Order",{enumerable:!0,get:function(){return b.Order}}),Object.defineProperty(e,"OrderSortBy",{enumerable:!0,get:function(){return b.OrderSortBy}});var m=jO;Object.defineProperty(e,"ProviderType",{enumerable:!0,get:function(){return m.ProviderType}});var y=Wf;Object.defineProperty(e,"Rarity",{enumerable:!0,get:function(){return y.Rarity}});var E=Hb;Object.defineProperty(e,"SaleType",{enumerable:!0,get:function(){return E.SaleType}});var w=DO;Object.defineProperty(e,"Sale",{enumerable:!0,get:function(){return w.Sale}}),Object.defineProperty(e,"SaleSortBy",{enumerable:!0,get:function(){return w.SaleSortBy}});var S=BO;Object.defineProperty(e,"RentalStatus",{enumerable:!0,get:function(){return S.RentalStatus}}),Object.defineProperty(e,"RentalsListingSortDirection",{enumerable:!0,get:function(){return S.RentalsListingSortDirection}}),Object.defineProperty(e,"RentalsListingsFilterByCategory",{enumerable:!0,get:function(){return S.RentalsListingsFilterByCategory}}),Object.defineProperty(e,"RentalsListingsSortBy",{enumerable:!0,get:function(){return S.RentalsListingsSortBy}}),Object.defineProperty(e,"RentalListingCreation",{enumerable:!0,get:function(){return S.RentalListingCreation}}),Object.defineProperty(e,"PeriodCreation",{enumerable:!0,get:function(){return S.PeriodCreation}});var _=FO;Object.defineProperty(e,"AnalyticsDayDataSortBy",{enumerable:!0,get:function(){return _.AnalyticsDayDataSortBy}});var C=UO;Object.defineProperty(e,"Store",{enumerable:!0,get:function(){return C.Store}});var R=HO;Object.defineProperty(e,"WearableGender",{enumerable:!0,get:function(){return R.WearableGender}}),Object.defineProperty(e,"GenderFilterOption",{enumerable:!0,get:function(){return R.GenderFilterOption}});var T=VO;Object.defineProperty(e,"World",{enumerable:!0,get:function(){return T.World}}),Object.defineProperty(e,"getWorld",{enumerable:!0,get:function(){return T.getWorld}}),Object.defineProperty(e,"isInsideWorldLimits",{enumerable:!0,get:function(){return T.isInsideWorldLimits}}),n(zO,e),n(WO,e),n(qO,e),n(GO,e),n(dA,e)})(RO);var pA={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.LinkerAuthorization=void 0;const t=de;(function(n){n.schema={type:"object",properties:{name:{type:"string"},desc:{type:"string"},startDate:{type:"string",nullable:!0},endDate:{type:"string",nullable:!0},contactInfo:{type:"object",properties:{name:{type:"string"}},required:["name"]},onlyDev:{type:"boolean",nullable:!0},addresses:{type:"array",items:{type:"string"},minItems:1},plots:{type:"array",items:{type:"string"},minItems:1}},required:["name","desc","contactInfo","addresses","plots"]},n.validate=(0,t.generateLazyValidator)(n.schema)})(e.LinkerAuthorization||(e.LinkerAuthorization={}))})(pA);(function(e){var t=ie&&ie.__createBinding||(Object.create?function(a,s,l,c){c===void 0&&(c=l);var u=Object.getOwnPropertyDescriptor(s,l);(!u||("get"in u?!s.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(a,c,u)}:function(a,s,l,c){c===void 0&&(c=l),a[c]=s[l]}),n=ie&&ie.__setModuleDefault||(Object.create?function(a,s){Object.defineProperty(a,"default",{enumerable:!0,value:s})}:function(a,s){a.default=s}),r=ie&&ie.__importStar||function(a){if(a&&a.__esModule)return a;var s={};if(a!=null)for(var l in a)l!=="default"&&Object.prototype.hasOwnProperty.call(a,l)&&t(s,a,l);return n(s,a),s},o=ie&&ie.__exportStar||function(a,s){for(var l in a)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,a,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.sdk=void 0;const i=r(tL);e.sdk=i,o(de,e),o(RO,e),o(F0,e),o(rs,e),o(pA,e),o(qf,e),o(jb,e),o(Fb,e)})(_e);var Vb={},P2={};const ape=Yi(ZU);var GC;function jr(){return GC||(GC=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=ape}(P2)),P2}var spe=ir;Object.defineProperty(Vb,"__esModule",{value:!0});var hA=Vb.default=void 0,lpe=spe(jr()),cpe=f;hA=Vb.default=(0,lpe.default)((0,cpe.jsx)("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"ClearRounded");const upe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_1474_35757)",children:[f.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),f.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),f.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),f.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_1474_35757",children:f.jsx("rect",{width:"40",height:"40",fill:"white"})})})]})})),dpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_1474_35780)",children:[f.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),f.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_1474_35780",children:f.jsx("rect",{width:"40",height:"40",fill:"white"})})})]})})),fpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_1474_35783)",children:[f.jsx("mask",{id:"mask0_1474_35783",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"40",height:"40",children:f.jsx("path",{d:"M0 0H40V40H0V0Z",fill:"white"})}),f.jsxs("g",{mask:"url(#mask0_1474_35783)",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),f.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),f.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),f.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),f.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})]}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_1474_35783",children:f.jsx("rect",{width:"40",height:"40",fill:"white"})})})]})})),ppe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_1474_35775)",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"url(#paint0_linear_1474_35775)",fillOpacity:"0.3"}),f.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"url(#paint1_linear_1474_35775)"}),f.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]}),f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"paint0_linear_1474_35775",x1:"0",y1:"0",x2:"20",y2:"40",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"white"}),f.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),f.jsxs("linearGradient",{id:"paint1_linear_1474_35775",x1:"20",y1:"21.1",x2:"20",y2:"32.8",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"white"}),f.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0.9"})]}),f.jsx("clipPath",{id:"clip0_1474_35775",children:f.jsx("rect",{width:"40",height:"40",fill:"white"})})]})]})})),hpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_1474_35765)",children:[f.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_1474_35765",children:f.jsx("rect",{width:"40",height:"40",fill:"white"})})})]})})),mpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_1474_35771)",children:[f.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),f.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"url(#paint0_linear_1474_35771)",fillOpacity:"0.3"}),f.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]}),f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"paint0_linear_1474_35771",x1:"0",y1:"0",x2:"20",y2:"40",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"white"}),f.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),f.jsx("clipPath",{id:"clip0_1474_35771",children:f.jsx("rect",{width:"40",height:"40",fill:"white"})})]})]})})),gpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_1474_35755)",children:[f.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),f.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"url(#paint0_linear_1474_35755)"})]}),f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"paint0_linear_1474_35755",x1:"0.0709752",y1:"20",x2:"39.929",y2:"20",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#A229C5"}),f.jsx("stop",{offset:"1",stopColor:"#7B3FE4"})]}),f.jsx("clipPath",{id:"clip0_1474_35755",children:f.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"})})]})]})}));var mi;(function(e){e.ETHEREUM="ethereum",e.POLYGON="polygon",e.ARBITRUM="arbitrum",e.OPTIMISM="optimism",e.FANTOM="fantom",e.BSC="bsc",e.AVALANCHE="avalanche"})(mi||(mi={}));const KC=Y.memo(e=>{const{icon:t}=e,n={fontSize:"small",color:"inherit"};switch(t){case mi.ARBITRUM:return f.jsx(upe,{...n});case mi.AVALANCHE:return f.jsx(dpe,{...n});case mi.BSC:return f.jsx(fpe,{...n});case mi.ETHEREUM:return f.jsx(ppe,{...n});case mi.FANTOM:return f.jsx(hpe,{...n});case mi.OPTIMISM:return f.jsx(mpe,{...n});case mi.POLYGON:return f.jsx(gpe,{...n});default:return f.jsx(f.Fragment,{})}}),K0=()=>{const e=fo();return s5(e.breakpoints.down("sm"))},ype=()=>{const e=fo();return s5(e.breakpoints.down("xs"))},vpe=()=>{const e=fo();return s5(e.breakpoints.up("xs"))},_pe=({children:e})=>K0()?e:null,bpe=({children:e})=>ype()?e:null,mA=({children:e})=>vpe()?e:null,YC={[_e.ChainId.ETHEREUM_MAINNET]:"ethereum",[_e.ChainId.ETHEREUM_SEPOLIA]:"ethereum",[_e.ChainId.MATIC_MAINNET]:"polygon",[_e.ChainId.MATIC_MUMBAI]:"polygon",[_e.ChainId.MATIC_AMOY]:"polygon",[_e.ChainId.ARBITRUM_MAINNET]:"arbitrum",[_e.ChainId.OPTIMISM_MAINNET]:"optimism",[_e.ChainId.FANTOM_MAINNET]:"fantom",[_e.ChainId.BSC_MAINNET]:"bsc",[_e.ChainId.AVALANCHE_MAINNET]:"avalanche"};var zb={},Epe=ir;Object.defineProperty(zb,"__esModule",{value:!0});var Wb=zb.default=void 0,Cpe=Epe(jr()),Spe=f;Wb=zb.default=(0,Cpe.default)((0,Spe.jsx)("path",{d:"M16.88 2.88c-.49-.49-1.28-.49-1.77 0L6.7 11.29c-.39.39-.39 1.02 0 1.41l8.41 8.41c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.54 12l7.35-7.35c.48-.49.48-1.28-.01-1.77"}),"ArrowBackIosNewRounded");var qb={},wpe=ir;Object.defineProperty(qb,"__esModule",{value:!0});var gA=qb.default=void 0,xpe=wpe(jr()),Mpe=f;gA=qb.default=(0,xpe.default)((0,Mpe.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m4.3 14.3c-.39.39-1.02.39-1.41 0L12 13.41 9.11 16.3c-.39.39-1.02.39-1.41 0a.9959.9959 0 0 1 0-1.41L10.59 12 7.7 9.11a.9959.9959 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L12 10.59l2.89-2.89c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41"}),"CancelRounded");const Rpe=K(i0)({display:"flex",alignItems:"center",justifyContent:"center"}),Tpe=K(Cf)(e=>{const{size:t,theme:n}=e;let r="900px";return t==="tiny"?r="540px":t==="small"&&(r="720px"),{width:r,borderRadius:"12px",overflow:"hidden",[n.breakpoints.down("xs")]:{minWidth:"100vw",maxWidth:"100vw",minHeight:"100vh",borderRadius:"0px",margin:"0",padding:"0"}}}),kpe=K(Ne)({display:"flex",justifyContent:"space-between",padding:"24px"}),Ipe=K(Ne)({padding:"24px"}),Lpe=K(Ne)({display:"flex",padding:"24px","& > *":{flex:1},"& > *.MuiButtonBase-root:not(:last-child)":{marginRight:"16px"}}),Ope=Y.memo(e=>{const{children:t,header:n,actions:r,title:o,subtitle:i,size:a,onClose:s,onBack:l}=e;return f.jsxs(Tpe,{elevation:24,size:a,children:[n,(o||s||l)&&f.jsxs(kpe,{children:[l&&f.jsx(hc,{"aria-label":"back",size:"large",onClick:l,children:f.jsx(Wb,{})}),o&&f.jsx(bt,{variant:"h5",children:o}),s&&f.jsx(hc,{"aria-label":"close",size:"large",onClick:s,children:f.jsx(gA,{})})]}),i&&f.jsx(bt,{variant:"subtitle1",children:i}),f.jsx(Ipe,{children:t}),r&&f.jsx(Lpe,{children:r})]})}),Y0=Y.memo(e=>{const{open:t,onClose:n,children:r,className:o,...i}=e;return f.jsx(Rpe,{open:t,onClose:n,className:o,children:f.jsx(Ope,{...i,onClose:n,children:r})})}),Ape=K(Ji)({display:"flex",alignItems:"center",borderRadius:"14px",padding:"8px 10px",color:"green","&.MuiButton-sizeMedium.MuiButton-containedSecondary":{opacity:"1","&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)":{color:bh.gray1,background:ft.gray1,boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:bh.gray0,background:ft.gray0}},"& span.MuiButton-icon.MuiButton-startIcon.MuiButton-iconSizeMedium":{"& svg":{fontSize:"28px"}}}),Ppe=K(Ape)(({theme:e})=>({[e.breakpoints.down("sm")]:{"&.MuiButton-sizeMedium.MuiButton-containedSecondary":{paddingLeft:"0",paddingRight:"0",minWidth:"50px"},"& span":{marginLeft:"0",marginRight:"0"}}})),Npe=K(Ji)(e=>{const{isActive:t,isDisabled:n,theme:r}=e;return{display:"flex",alignItems:"center",justifyContent:"flex-start",width:"100%",padding:"12px 16px",backgroundColor:t?r.palette.primary.dark:"transparent",color:t?r.palette.primary.contrastText:r.palette.text.primary,opacity:n?.5:1,"&:hover":{backgroundColor:t?r.palette.primary.dark:r.palette.action.hover}}}),yA=K(bt)(({theme:e})=>({position:"absolute",right:"8px",paddingRight:"16px",fontSize:"14px",color:e.palette.text.primary,"&:after":{content:'""',width:"8px",height:"8px",position:"absolute",right:"0",top:"calc(50% - 4px)",borderRadius:"50%",backgroundColor:JM.rare}})),$pe=K(yA)({"&:after":{backgroundColor:JM.unique}});K(Y0)({"&.MuiModal-root .MuiPaper-root.MuiPaper-elevation.MuiPaper-rounded.MuiPaper-elevation24":{width:"100px"}," .MuiPaper-root.MuiPaper-elevation.MuiPaper-rounded.MuiPaper-elevation24":{width:"150px"},"& .MuiPaper-root":{width:"170px"},MuiPaper:{root:{width:"180px"}}});const jpe=K(Cf)(({theme:e})=>({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"360px",borderRadius:"12px",[e.breakpoints.down("xs")]:{minWidth:"100vw",maxWidth:"100vw",minHeight:"100vh",borderRadius:"0px",margin:"0",padding:"0",top:"0",left:"0",transform:"translate(0, 0)"}})),Dpe=K(Ne)(({theme:e})=>({display:"flex",flexDirection:"column",margin:"16px",[e.breakpoints.down("sm")]:{padding:"5px"}})),Bpe=K(Ne)({display:"flex",justifyContent:"center",paddingTop:"24px"}),Fpe=K(hc)({marginTop:"-12px",position:"absolute",right:12}),Upe=Y.memo(e=>{const{chains:t,selectedChain:n,chainBeingConfirmed:r,i18n:o,onSelectChain:i}=e,a=M.useRef(r),s=K0();M.useEffect(()=>{n&&n===a.current&&(a.current=void 0,c(!1))},[n]);const[l,c]=M.useState(!1),u=(o==null?void 0:o.title)||"Select Network",d=M.useCallback(()=>{c(!l)},[]),p=M.useCallback(h=>{i(h),a.current=h},[]);return f.jsxs(f.Fragment,{children:[f.jsx(Ppe,{variant:"contained",color:"secondary",startIcon:f.jsx(KC,{icon:YC[n]}),onClick:d,children:s?null:n===_e.ChainId.ETHEREUM_MAINNET?"Ethereum":_e.getChainName(n)}),f.jsx(i0,{open:l,onClose:()=>c(!1),children:f.jsxs(jpe,{elevation:1,children:[f.jsxs(Bpe,{children:[u&&f.jsx(bt,{variant:"h5",children:u}),f.jsx(Fpe,{"aria-label":"close",size:"large",onClick:()=>c(!1),children:f.jsx(hA,{})})]}),f.jsx(Dpe,{children:t.map(h=>{const g=h===_e.ChainId.ETHEREUM_MAINNET?"Ethereum":_e.getChainName(h);return f.jsxs(Npe,{variant:"text",color:"secondary",startIcon:f.jsx(KC,{icon:YC[h]}),onClick:()=>p(h),isSelected:n===h,children:[g,n===h?f.jsx(yA,{children:o.connected}):r&&h===r?f.jsx($pe,{children:o.confirmInWallet}):null]},h)})})]})})]})});Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"23",height:"18",viewBox:"0 0 23 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M9 4.22002L5.603 7.00002H2V11H5.603L9 13.78V4.22002ZM4.889 13H1C0.734784 13 0.48043 12.8947 0.292893 12.7071C0.105357 12.5196 0 12.2652 0 12V6.00002C0 5.73481 0.105357 5.48045 0.292893 5.29291C0.48043 5.10538 0.734784 5.00002 1 5.00002H4.889L10.183 0.668021C10.2563 0.607968 10.3451 0.569958 10.4391 0.558415C10.5331 0.546871 10.6284 0.56227 10.714 0.602819C10.7996 0.643367 10.872 0.707397 10.9226 0.787454C10.9732 0.867511 11.0001 0.960301 11 1.05502V16.945C11.0001 17.0397 10.9732 17.1325 10.9226 17.2126C10.872 17.2926 10.7996 17.3567 10.714 17.3972C10.6284 17.4378 10.5331 17.4532 10.4391 17.4416C10.3451 17.4301 10.2563 17.3921 10.183 17.332L4.89 13H4.889ZM19.414 9.00002L22.95 12.536L21.536 13.95L18 10.414L14.464 13.95L13.05 12.536L16.586 9.00002L13.05 5.46402L14.464 4.05002L18 7.58602L21.536 4.05002L22.95 5.46402L19.414 9.00002Z",fill:"#ECEBED"})})}));const Hpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.00001 14.6587H9.95531C10.4584 14.6595 10.9355 14.8636 11.2879 15.2183L11.2889 15.2194L12.9874 16.9192L17.5721 15.4502C18.0438 15.2994 18.5531 15.3355 18.999 15.55C19.4439 15.7641 19.7895 16.1375 19.9775 16.5911C20.1741 17.0656 20.1869 17.5993 20.0137 18.0827C19.8402 18.5668 19.4906 18.9712 19.0284 19.2032L13.089 22.1859C12.84 22.3109 12.5678 22.3828 12.2892 22.3961C12.0106 22.4094 11.7328 22.3638 11.473 22.2627L7.23984 20.6155C7.22831 20.611 4.01087 20.6155 4 20.6155M18.5919 17.1655C18.6456 17.2953 18.6493 17.4436 18.6015 17.5768C18.554 17.7095 18.4624 17.809 18.3554 17.8627L12.4158 20.8454C12.3526 20.8771 12.2852 20.8946 12.2176 20.8978C12.15 20.901 12.0819 20.8901 12.017 20.8648L7.78393 19.2176C7.59988 19.146 7.404 19.1089 7.20608 19.1089H5.5V16.1587H9.95335C10.0487 16.1589 10.1463 16.1974 10.2241 16.2758L12.5733 18.627L18.0294 16.8789C18.1342 16.8454 18.2471 16.8528 18.3487 16.9017C18.4513 16.9511 18.5408 17.0424 18.5919 17.1655Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1425 17.1052L11.2916 15.2218L10.2217 16.2733L12.0744 18.1584L12.0785 18.1625C12.1109 18.195 12.1383 18.2357 12.1576 18.2831C12.1769 18.3304 12.1871 18.3825 12.1869 18.4357C12.1868 18.489 12.1762 18.541 12.1566 18.5882C12.1372 18.6351 12.1097 18.6754 12.0773 18.7075C12.0182 18.7656 11.9463 18.7938 11.8771 18.7954C11.81 18.7969 11.7401 18.7737 11.6806 18.7227L9.99204 17.1059L8.95466 18.1894L10.662 19.8241L10.6704 19.8317C11.0099 20.1376 11.4521 20.3056 11.9119 20.295C12.3715 20.2843 12.8053 20.096 13.1306 19.7755L13.1314 19.7747C13.3082 19.5999 13.4475 19.3913 13.5424 19.1623C13.6372 18.9335 13.6861 18.688 13.6869 18.4406C13.6877 18.1932 13.6404 17.9474 13.5471 17.7179C13.4541 17.4894 13.3171 17.2807 13.1425 17.1052Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3996 3L17.5263 6.08324V12.1958L12.3996 15.2791L7.27319 12.1958V6.08325L12.3996 3ZM12.3996 4.75038L8.77319 6.93149V11.3476L12.3996 13.5287L16.0263 11.3476V6.9315L12.3996 4.75038Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1706 9.21057L7.79392 6.95177L8.25254 6.06314L12.6293 8.32193L12.1706 9.21057Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1707 8.32199L16.5471 6.06319L17.0058 6.95181L12.6293 9.21061L12.1707 8.32199Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9 8.76615V14.4036H11.9V8.76615H12.9Z",fill:"white"})]})})),Vpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M16.5217 8.40576C16.5217 7.44526 17.3004 6.66663 18.2609 6.66663C19.2214 6.66663 20 7.44526 20 8.40576V15.5942C20 16.5547 19.2214 17.3333 18.2609 17.3333C17.3004 17.3333 16.5217 16.5547 16.5217 15.5942V8.40576Z",fill:"white"}),f.jsx("path",{d:"M10.2609 5.73913C10.2609 4.77864 11.0395 4 12 4C12.9605 4 13.7391 4.77864 13.7391 5.73913V18.2609C13.7391 19.2214 12.9605 20 12 20C11.0395 20 10.2609 19.2214 10.2609 18.2609V5.73913Z",fill:"white"}),f.jsx("path",{d:"M4 8.40578C4 7.44529 4.77863 6.66665 5.73913 6.66665C6.69963 6.66665 7.47826 7.44529 7.47826 8.40578V15.5942C7.47826 16.5547 6.69963 17.3333 5.73913 17.3333C4.77863 17.3333 4 16.5547 4 15.5942V8.40578Z",fill:"white"})]})}));Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("g",{clipPath:"url(#clip0_1321_19516)",children:f.jsx("path",{d:"M10 7.21999L6.603 9.99999H3V14H6.603L10 16.78V7.21999ZM5.889 16H2C1.73478 16 1.48043 15.8946 1.29289 15.7071C1.10536 15.5196 1 15.2652 1 15V8.99999C1 8.73477 1.10536 8.48042 1.29289 8.29288C1.48043 8.10535 1.73478 7.99999 2 7.99999H5.889L11.183 3.66799C11.2563 3.60794 11.3451 3.56993 11.4391 3.55838C11.5331 3.54684 11.6284 3.56224 11.714 3.60279C11.7996 3.64334 11.872 3.70737 11.9226 3.78742C11.9732 3.86748 12.0001 3.96027 12 4.05499V19.945C12.0001 20.0397 11.9732 20.1325 11.9226 20.2126C11.872 20.2926 11.7996 20.3566 11.714 20.3972C11.6284 20.4377 11.5331 20.4531 11.4391 20.4416C11.3451 20.4301 11.2563 20.392 11.183 20.332L5.89 16H5.889ZM19.406 20.134L17.99 18.718C18.938 17.8745 19.6964 16.8397 20.2152 15.6817C20.734 14.5237 21.0015 13.2689 21 12C21.0012 10.6661 20.7054 9.34864 20.1339 8.14336C19.5624 6.93808 18.7296 5.87523 17.696 5.03199L19.116 3.61199C20.3345 4.64354 21.3132 5.92847 21.9841 7.37719C22.6549 8.8259 23.0016 10.4035 23 12C23 15.223 21.614 18.122 19.406 20.134ZM15.863 16.591L14.441 15.169C14.9265 14.7957 15.3196 14.3157 15.5899 13.7662C15.8602 13.2167 16.0006 12.6124 16 12C16 10.57 15.25 9.31499 14.12 8.60799L15.559 7.16899C16.3165 7.72618 16.9321 8.45384 17.3562 9.29311C17.7802 10.1324 18.0008 11.0597 18 12C18 13.842 17.17 15.49 15.863 16.591Z",fill:"#ECEBED"})}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_1321_19516",children:f.jsx("rect",{width:"24",height:"24",fill:"white"})})})]})}));const zpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z"})})})),Wpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"#16141A"})})})),vA=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",children:[f.jsx("circle",{cx:"24",cy:"24",r:"24",fill:"url(#paint0_linear_602_11507)"}),f.jsxs("g",{clipPath:"url(#clip0_602_11507)",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5275 12.7133H18.0662C18.8753 10.6294 19.9548 8.99719 21.2138 8C14.4727 9.17818 9.25913 14.5286 8.09088 21.2362C8.98878 20.056 10.6069 18.9692 12.5842 18.1531V17.6993C12.5842 14.9804 14.7411 12.7133 17.5275 12.7133ZM30.9188 16.8856C30.1097 12.8053 28.5823 9.54277 26.605 8.00261C33.2552 9.18094 38.5598 14.4395 39.7279 21.2388C38.1985 19.2425 35.0528 17.6997 30.9188 16.8856ZM23.9097 16.1591H22.2915C21.8416 14.7997 20.9437 13.7109 19.7755 13.1676C20.9438 10.2675 22.4711 8.63542 23.9097 8.63542C25.887 8.63542 27.9551 11.627 29.1234 16.5212C27.4145 16.3401 25.7055 16.1591 23.9097 16.1591ZM13.0323 19.8749C10.3366 20.9636 8.71848 22.5042 8.71848 23.9552C8.71848 25.9498 11.6845 28.1251 16.537 29.3035C16.2686 27.6713 16.1778 25.858 16.1778 24.0448V22.5938C14.83 22.1419 13.6618 21.1448 13.0323 19.8749ZM22.0003 30.0659C20.7163 29.9926 19.4862 29.8506 18.3367 29.6672C18.0664 27.9455 17.8868 26.1322 17.8868 24.0465V22.7766C20.4028 22.504 22.3799 20.5098 22.4707 17.972H23.9093C25.8866 17.972 27.7732 18.1532 29.4818 18.4258C29.66 19.5605 29.7988 20.735 29.8727 22.001C25.5131 22.069 22 25.6242 22 30C22 30.022 22.0001 30.044 22.0003 30.0659ZM37.2868 26.6934C36.2423 24.3953 34.1425 22.6783 31.6063 22.1613C31.5597 20.9615 31.4597 19.7885 31.2801 18.6965C36.0419 19.8768 39.0984 22.0523 39.0984 23.9552C39.0984 24.8816 38.4585 25.8277 37.2868 26.6934ZM26.7352 37.3057C25.8442 38.5691 24.8563 39.2753 23.9097 39.2753C21.9323 39.2753 19.8643 36.2837 18.696 31.3895C19.8073 31.5754 20.9606 31.6768 22.1858 31.7221C22.7342 34.2216 24.4512 36.2834 26.7352 37.3057ZM28.6923 37.8937C29.1178 37.9636 29.5547 38 30 38C31.2417 38 32.4174 37.7171 33.466 37.2122C31.5272 38.6006 29.2722 39.5749 26.8375 40C27.5114 39.4828 28.1332 38.769 28.6923 37.8937ZM37.1889 33.5141C37.7084 32.4534 38 31.2607 38 30C38 29.5535 37.9634 29.1155 37.8931 28.6889C38.7485 28.1423 39.4578 27.5462 39.998 26.9204C39.57 29.343 38.5881 31.5861 37.1889 33.5141ZM21.121 40C19.1437 38.4598 17.6162 35.1973 16.8072 31.117C12.7639 30.301 9.61811 28.6686 7.99805 26.7638C9.16614 33.4734 14.4708 38.8217 21.121 40ZM17.5274 14.437C19.3251 14.437 20.7637 15.888 20.7637 17.7013C20.7637 19.5145 19.3251 20.9655 17.5274 20.9655C15.7297 20.9655 14.2911 19.5145 14.2911 17.7013C14.2911 15.888 15.7297 14.437 17.5274 14.437Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M27.0577 28.2359L31.1206 32.3276L29.0629 34.3999L25 30.3082L27.0577 28.2359Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M32.9423 26.3999L27.455 31.9261L29.5127 33.9984L35 28.4722L32.9423 26.3999Z",fill:"#FCFCFC"})]}),f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"paint0_linear_602_11507",x1:"-1.26316",y1:"1.26316",x2:"48",y2:"48",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#34CE76"}),f.jsx("stop",{offset:"1",stopColor:"#229754"})]}),f.jsx("clipPath",{id:"clip0_602_11507",children:f.jsx("rect",{width:"32",height:"32",fill:"white",transform:"translate(8 8)"})})]})]})})),_A=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",...e,children:[f.jsx("circle",{cx:"24",cy:"24",r:"24",fill:"url(#paint0_linear_602_11506)"}),f.jsxs("g",{clipPath:"url(#clip0_602_11506)",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5267 12.712H18.0655C18.8747 10.6277 19.9543 8.99536 21.2135 7.99805C14.4715 9.17637 9.25733 14.5275 8.08894 21.2359C8.98695 20.0555 10.6053 18.9685 12.5828 18.1524V17.6985C12.5828 14.9793 14.74 12.712 17.5267 12.712ZM30.9196 16.8847C30.1104 12.8039 28.5828 9.54101 26.6053 8.00066C33.2563 9.17913 38.5616 14.4383 39.7298 21.2385C38.2003 19.2419 35.0542 17.6989 30.9196 16.8847ZM23.9097 16.1582H22.2913C21.8414 14.7985 20.9433 13.7097 19.775 13.1662C20.9434 10.2659 22.471 8.63355 23.9097 8.63355C25.8873 8.63355 27.9556 11.6255 29.124 16.5203C27.4149 16.3392 25.7057 16.1582 23.9097 16.1582ZM13.0309 19.8744C10.3349 20.9632 8.71662 22.504 8.71662 23.9552C8.71662 25.95 11.683 28.1256 16.5361 29.3041C16.2677 27.6717 16.1769 25.8583 16.1769 24.0448V22.5936C14.8289 22.1417 13.6605 21.1444 13.0309 19.8744ZM22.0003 30.0667C20.7161 29.9934 19.4857 29.8513 18.336 29.6679C18.0657 27.946 17.8861 26.1325 17.8861 24.0465V22.7765C20.4024 22.5038 22.3797 20.5094 22.4705 17.9713H23.9093C25.8868 17.9713 27.7736 18.1525 29.4825 18.4252C29.6607 19.5601 29.7995 20.7347 29.8734 22.001C25.5135 22.0686 22 25.624 22 30C22 30.0222 22.0001 30.0445 22.0003 30.0667ZM37.2874 26.6946C36.2431 24.3961 34.1435 22.6788 31.6072 22.1615C31.5607 20.9614 31.4606 19.7881 31.281 18.6959C36.0433 19.8763 39.1003 22.0521 39.1003 23.9552C39.1003 24.882 38.4599 25.8285 37.2874 26.6946ZM26.7363 37.3062C25.845 38.5705 24.8567 39.2771 23.9097 39.2771C21.9321 39.2771 19.8638 36.2852 18.6954 31.3904C19.807 31.5763 20.9605 31.6778 22.186 31.7231C22.7347 34.2226 24.4521 36.2843 26.7363 37.3062ZM28.6938 37.8939C29.1189 37.9637 29.5552 38 30 38C31.2459 38 32.4252 37.7152 33.4765 37.2072C31.5353 38.5993 29.2768 39.5761 26.8378 40.002C27.5122 39.4844 28.1344 38.77 28.6938 37.8939ZM37.1838 33.5245C37.7065 32.4612 38 31.2649 38 30C38 29.554 37.9635 29.1165 37.8933 28.6904C38.7495 28.1435 39.4594 27.547 40 26.9207C39.5712 29.3476 38.5867 31.5942 37.1838 33.5245ZM21.1206 40.002C19.1431 38.4616 17.6155 35.1987 16.8063 31.1179C12.7625 30.3017 9.61635 28.6691 7.99609 26.7641C9.16433 33.4745 14.4696 38.8235 21.1206 40.002ZM17.5266 14.4358C19.3246 14.4358 20.7633 15.887 20.7633 17.7005C20.7633 19.5139 19.3246 20.9651 17.5266 20.9651C15.7287 20.9651 14.2899 19.514 14.2899 17.7005C14.2899 15.887 15.7287 14.4358 17.5266 14.4358Z",fill:"#FCFCFC"}),f.jsx("rect",{x:"28.2324",y:"26.4111",width:"8",height:"3",transform:"rotate(45 28.2324 26.4111)",fill:"#FCFCFC"}),f.jsx("rect",{width:"8",height:"3",transform:"matrix(-0.707107 0.707107 0.707107 0.707107 31.7676 26.4109)",fill:"#FCFCFC"})]}),f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"paint0_linear_602_11506",x1:"0",y1:"0",x2:"49.2632",y2:"49.2632",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#FF4B6B"}),f.jsx("stop",{offset:"1",stopColor:"#9B2020"})]}),f.jsx("clipPath",{id:"clip0_602_11506",children:f.jsx("rect",{width:"32",height:"32",fill:"white",transform:"translate(8 8)"})})]})]})})),bA=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[f.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_linear_32_9728)"}),f.jsx("path",{d:"M12.0744 8.44171L9.95688 10.0752C9.60469 10.3461 9.53688 10.8336 9.80375 11.1816C10.0859 11.5524 10.635 11.6253 11.0134 11.3441L13.1856 9.73558C13.3388 9.62307 13.5575 9.64808 13.6778 9.79392C13.7981 9.93977 13.7697 10.1481 13.6166 10.2627L13.1594 10.6003L17.0356 14.0006H17.95C18.5297 14.0006 19 13.5526 19 13.0005V10.3336C19 9.78142 18.5297 9.33346 17.95 9.33346H16.1847L14.5112 8.31253C14.1766 8.10834 13.785 8 13.3869 8C12.91 8 12.4463 8.15626 12.0744 8.44171ZM12.5731 11.0336L11.4422 11.8712C10.7531 12.3838 9.75344 12.2504 9.23719 11.5753C8.75156 10.9399 8.87406 10.0523 9.515 9.55848L11.335 8.15627C11.0813 8.05417 10.8078 8.00208 10.53 8.00208C10.1188 8 9.71844 8.11668 9.375 8.33337L7.8 9.33346H6.05C5.47031 9.33346 5 9.78142 5 10.3336V13.0005C5 13.5526 5.47031 14.0006 6.05 14.0006H8.41687L10.4163 15.7382C10.845 16.1112 11.5078 16.082 11.8994 15.6737C12.0197 15.5466 12.1006 15.3986 12.1422 15.2444L12.5141 15.5695C12.9406 15.9424 13.6056 15.9153 13.9972 15.5091C14.0956 15.407 14.1678 15.2882 14.2138 15.1653C14.6381 15.4361 15.2156 15.3799 15.5722 15.009C15.9637 14.6027 15.9353 13.9693 15.5087 13.5964L12.5731 11.0336Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_32_9728",x1:"0",y1:"0",x2:"24",y2:"24",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#438FFF"}),f.jsx("stop",{offset:"1",stopColor:"#2969C7"})]})})]})}));Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[f.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_linear_32_9726)"}),f.jsx("path",{d:"M5 11.5002H6.34861V16.7003H5V11.5002Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M18.9735 14.753C18.9676 14.6823 18.953 14.6129 18.9306 14.5454C18.8614 14.3764 18.7242 14.242 18.5508 14.1739C18.378 14.1051 18.1835 14.1083 18.0127 14.1822L17.5985 14.2542L14.9112 14.8064C14.8551 15.1831 14.6461 15.5225 14.3309 15.7475C14.0763 15.9057 13.7637 15.9487 13.4736 15.8652L10.0022 14.7068C9.83074 14.6393 9.74104 14.4561 9.79512 14.2838C9.81226 14.2021 9.86502 14.1308 9.93888 14.0877C10.0127 14.0453 10.1018 14.035 10.1842 14.0594L13.6523 15.2127C13.7288 15.2294 13.8093 15.2294 13.8858 15.2127C14.1272 15.0738 14.2729 14.8199 14.2683 14.5473C14.2808 14.3056 14.1535 14.0774 13.9392 13.9559C10.7783 12.6915 9.97979 12.0313 9.19239 12.0479H6.85385V16.1654C8.42734 16.7793 10.1577 17.4125 11.2671 17.811C12.0123 18.0817 12.8359 18.0611 13.5653 17.7525L18.5337 15.6769C18.845 15.5097 19.025 15.1774 18.9907 14.8322C18.9907 14.8123 19.0006 14.7943 19 14.7737C19 14.7653 18.9893 14.7582 18.9735 14.753Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M13.9087 12.8004C14.192 11.3498 15.361 10.2145 16.8563 9.93965C15.3611 9.66478 14.192 8.53067 13.9087 7.08009C13.6253 8.53064 12.4563 9.66477 10.9611 9.93965C12.4563 10.2145 13.6265 11.3498 13.9087 12.8004Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M10.6931 8.64016C10.8734 7.71709 11.6173 6.99463 12.5688 6.81971C11.6173 6.6448 10.8734 5.92309 10.6931 5C10.5128 5.92307 9.76885 6.6448 8.81733 6.81971C9.76883 6.99463 10.5135 7.71707 10.6931 8.64016Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_32_9726",x1:"0",y1:"0",x2:"24",y2:"24",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#A14BF3"}),f.jsx("stop",{offset:"1",stopColor:"#6C30A6"})]})})]})}));const qpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"47",height:"47",viewBox:"0 0 47 47",fill:"none",...e,children:[f.jsx("circle",{cx:"23.5",cy:"23.5",r:"23.5",fill:"url(#paint0_linear_662_7054)"}),f.jsx("path",{d:"M25.7037 15.9113C25.7037 17.1284 24.7178 18.1142 23.5006 18.1142C22.2834 18.1142 21.2975 17.1284 21.2975 15.9113C21.2975 14.6942 22.2834 13.7083 23.5006 13.7083C24.7178 13.7083 25.7037 14.6942 25.7037 15.9113Z",fill:"white"}),f.jsx("path",{d:"M17.6253 18.1142C17.6253 19.3314 16.6394 20.3172 15.4222 20.3172C14.2064 20.3172 13.2191 19.3314 13.2191 18.1142C13.2191 16.8971 14.2064 15.9113 15.4222 15.9113C16.6394 15.9113 17.6253 16.8971 17.6253 18.1142Z",fill:"white"}),f.jsx("path",{d:"M33.7821 18.1142C33.7821 19.3314 32.7949 20.3172 31.579 20.3172C30.3618 20.3172 29.376 19.3314 29.376 18.1142C29.376 16.8971 30.3618 15.9113 31.579 15.9113C32.7949 15.9113 33.7821 16.8971 33.7821 18.1142Z",fill:"white"}),f.jsx("path",{d:"M31.579 21.7863C30.9181 21.7863 30.3302 22.0066 29.7436 22.2998L23.502 25.9719L17.2604 22.2998C16.6711 22.0066 16.0832 21.7863 15.4223 21.7863C13.3665 21.7863 11.75 23.4013 11.75 25.4583V33.2917H19.0931V26.7801L22.7654 28.9831C22.9127 29.056 22.9857 29.1304 23.133 29.1304C23.2804 29.1304 23.3533 29.2034 23.5007 29.2034C23.648 29.2034 23.721 29.2034 23.8683 29.1304C24.0157 29.1304 24.0886 29.0574 24.236 28.9831L27.9083 26.7801L27.9069 33.2903H35.25V25.4569C35.25 23.4013 33.6348 21.7863 31.579 21.7863Z",fill:"white"}),f.jsx("path",{d:"M23.5006 24.2825L27.0255 22.2269C26.5849 20.7578 25.1901 19.6563 23.5006 19.6563C21.8111 19.6563 20.4893 20.7578 19.9757 22.2269L23.5006 24.2825Z",fill:"white"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_662_7054",x1:"-1.23684",y1:"1.23684",x2:"47",y2:"47",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#34CE76"}),f.jsx("stop",{offset:"1",stopColor:"#229754"})]})})]})})),Gpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"115",height:"115",viewBox:"0 0 115 115",fill:"none",children:[f.jsx("circle",{cx:"57.5",cy:"57.5",r:"57.5",fill:"#322D36"}),f.jsx("path",{d:"M80.7896 70.3308L73.8578 55.4745C73.413 54.5584 72.5214 54 71.5795 54H43.4577C42.4675 54 41.5758 54.5604 41.1793 55.4745L34.2476 70.3308C34.0986 70.6865 34 71.0939 34 71.4496V83.4047C34 84.8295 35.1392 86 36.5259 86H78.4627C79.8495 86 80.9887 84.8295 80.9887 83.4047L80.9867 71.4496C81.037 71.0939 80.9385 70.6865 80.7896 70.3308ZM64.0058 68.6C63.0659 68.6 62.1742 69.21 61.8764 70.1262C61.2826 72.008 59.5497 73.3812 57.4705 73.3812C55.3914 73.3812 53.7068 72.008 53.0647 70.1262C52.7668 69.21 51.8772 68.6 50.9352 68.6H40.6361L44.9936 59.2404H69.899L74.2565 68.6C74.3029 68.5503 67.4212 68.5503 64.0058 68.6Z",fill:"white"}),f.jsx("path",{d:"M53.5655 43.6509C53.7361 44.0223 54.2692 44.0223 54.4398 43.6509L56.3291 39.538C56.3771 39.4334 56.4618 39.3496 56.5675 39.3021L60.7239 37.4326C61.0992 37.2638 61.0992 36.7362 60.7239 36.5674L56.5675 34.6979C56.4618 34.6504 56.3771 34.5666 56.3291 34.462L54.4398 30.3491C54.2692 29.9777 53.7361 29.9777 53.5655 30.3491L51.6763 34.462C51.6282 34.5666 51.5435 34.6504 51.4378 34.6979L47.2815 36.5674C46.9062 36.7362 46.9062 37.2638 47.2815 37.4326L51.4378 39.3021C51.5435 39.3496 51.6282 39.4334 51.6763 39.538L53.5655 43.6509Z",fill:"white"}),f.jsx("path",{d:"M64.3044 32.6277C64.4068 32.8505 64.7266 32.8505 64.829 32.6277L65.7224 30.6827C65.7513 30.6199 65.8021 30.5696 65.8655 30.5411L67.8311 29.657C68.0563 29.5557 68.0563 29.2392 67.8311 29.1379L65.8655 28.2538C65.8021 28.2252 65.7513 28.1749 65.7224 28.1122L64.829 26.1671C64.7266 25.9443 64.4068 25.9443 64.3044 26.1671L63.4109 28.1122C63.3821 28.1749 63.3313 28.2252 63.2679 28.2538L61.3023 29.1379C61.0771 29.2392 61.0771 29.5557 61.3023 29.657L63.2679 30.5411C63.3313 30.5696 63.3821 30.6199 63.4109 30.6827L64.3044 32.6277Z",fill:"white"}),f.jsx("path",{d:"M64.3044 47.8329C64.4068 48.0557 64.7266 48.0557 64.829 47.8329L65.7224 45.8878C65.7513 45.8251 65.8021 45.7748 65.8655 45.7462L67.8311 44.8621C68.0563 44.7608 68.0563 44.4443 67.8311 44.343L65.8655 43.4589C65.8021 43.4304 65.7513 43.3801 65.7224 43.3173L64.829 41.3723C64.7266 41.1495 64.4068 41.1495 64.3044 41.3723L63.4109 43.3173C63.3821 43.3801 63.3313 43.4304 63.2679 43.4589L61.3023 44.343C61.0771 44.4443 61.0771 44.7608 61.3023 44.8621L63.2679 45.7462C63.3313 45.7748 63.3821 45.8251 63.4109 45.8878L64.3044 47.8329Z",fill:"white"})]})}));Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[f.jsx("circle",{cx:"24",cy:"24",r:"24",fill:"url(#paint0_linear_602_11503)"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.8171 22.6667L27.086 20.5214C27.1851 20.3394 27.2901 20.1636 27.4033 20H14.6667V17.3333C14.6667 16.5987 15.2653 16 16 16H17.3333V17.3333C17.3333 18.0667 17.9333 18.6667 18.6667 18.6667C19.4 18.6667 20 18.0667 20 17.3333V16H28V17.3333C28 18.0667 28.6 18.6667 29.3333 18.6667C30.0667 18.6667 30.6667 18.0667 30.6667 17.3333V16H32C32.7347 16 33.3333 16.5987 33.3333 17.3333V20H33L36 25.4V17.3333C36 15.128 34.2053 13.3333 32 13.3333H30.6667C30.6667 12.6 30.0667 12 29.3333 12C28.6 12 28 12.6 28 13.3333H20C20 12.6 19.4 12 18.6667 12C17.9333 12 17.3333 12.6 17.3333 13.3333H16C13.7947 13.3333 12 15.128 12 17.3333V32C12 34.2053 13.7947 36 16 36H22.4814C21.5906 35.9944 20.779 35.4888 20.3332 34.6277C20.1214 34.2183 20.0098 33.7756 20.0006 33.3333H16C15.2653 33.3333 14.6667 32.7347 14.6667 32V22.6667H25.8171Z",fill:"white"}),f.jsx("path",{d:"M36.9328 31.2189L31.8206 22.8888C31.4816 22.3299 30.8779 22 30.1999 22C29.522 22 28.9183 22.3299 28.5793 22.8888L23.4671 31.2189C23.1138 31.7924 23.1138 32.4807 23.4522 33.0681C23.7911 33.6561 24.4098 34 25.0878 34H35.3122C36.0045 34 36.6088 33.6561 36.9479 33.0681C37.2868 32.4806 37.2867 31.7923 36.9328 31.2189ZM30.1999 32.0506C29.758 32.0506 29.4046 31.7067 29.4046 31.2766C29.4046 30.8465 29.758 30.5026 30.1999 30.5026C30.6419 30.5026 30.9953 30.8465 30.9953 31.2766C30.9953 31.7061 30.6419 32.0506 30.1999 32.0506ZM31.0546 26.1577L30.7749 29.3551C30.7455 29.6564 30.4653 29.8854 30.1562 29.8568C29.8765 29.8283 29.6555 29.6132 29.6406 29.3551L29.3609 26.1577C29.3166 25.6991 29.6705 25.2975 30.1418 25.2544C30.6132 25.2113 31.0258 25.5557 31.0701 26.0144C31.0546 26.0575 31.0546 26.1146 31.0546 26.1577Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_602_11503",x1:"0",y1:"0",x2:"49.2632",y2:"49.2632",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#FF4B6B"}),f.jsx("stop",{offset:"1",stopColor:"#9B2020"})]})})]})}));const Kpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[f.jsx("circle",{cx:"24",cy:"24",r:"24",fill:"url(#paint0_linear_602_11502)"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.8833 10V12.339H18.7138L18.7138 10H19.8833ZM22.9866 11.9253L21.3327 13.5792L20.5057 12.7523L22.1596 11.0984L22.9866 11.9253ZM16.5462 11.0985L18.2001 12.7525L17.3731 13.5794L15.7192 11.9255L16.5462 11.0985ZM16.5462 36.5014L15.7192 35.6745L17.3731 34.0206L18.2001 34.8475L16.5462 36.5014ZM22.9866 35.6747L22.1596 36.5016L20.5057 34.8477L21.3327 34.0208L22.9866 35.6747ZM18.7138 37.6L18.7138 35.261H19.8833V37.6H18.7138ZM22.3017 16.1718L21.0036 17.3514H20.597L20.5966 18.9295C20.8093 18.9295 21.2854 19.0238 21.2854 19.1528L21.2854 20.4768C21.2854 20.5841 20.8093 20.6719 20.5966 20.6719V21.7661C20.7734 21.7661 21.2509 21.871 21.2509 22V25.3939C21.2509 25.5011 20.8093 25.5889 20.5966 25.5889V26.6613C20.7734 26.6613 21.2854 26.7662 21.2854 26.8952V28.8465C21.2854 28.9537 20.8093 29.1655 20.5966 29.1655L20.5965 30.5041L21.0022 30.6486L22.3003 31.8282C22.4771 31.9354 22.7603 32 23.0435 32H36.8722C37.509 32 38.0036 31.7 38.0036 31.3138V16.6862C38.0036 16.2999 37.509 16 36.8722 16H23.045C22.7618 16 22.5145 16.0645 22.3017 16.1718ZM34.564 22.3297C34.7796 22.3824 34.9391 22.521 35.0007 22.7107C35.0624 22.8998 35.0175 23.1113 34.8785 23.2912L33.3802 25.2043C33.2665 25.3485 33.1778 25.65 33.193 25.8367L33.3976 28.3019C33.4134 28.4916 33.3637 28.6631 33.2582 28.785C33.1618 28.896 33.0263 28.9584 32.8762 28.9605C32.7926 28.9617 32.7064 28.9443 32.6206 28.9089L30.416 28.0073C30.2605 27.9436 29.9363 27.9481 29.7825 28.0162L27.604 28.9789C27.3654 29.0841 27.1173 29.0408 26.9631 28.8722C26.8543 28.7533 26.7998 28.5833 26.8103 28.3932L26.9461 25.9232C26.9561 25.7361 26.8585 25.4373 26.7414 25.2957L25.1902 23.4251C25.0451 23.2504 24.9947 23.0402 25.051 22.8489C25.1079 22.6575 25.2629 22.5146 25.4769 22.4559L27.7656 21.8307C27.9385 21.7834 28.18 21.5943 28.2723 21.4342L29.4923 19.3159C29.6064 19.1178 29.7818 19.0027 29.9731 19C30.1645 18.9973 30.343 19.1075 30.4626 19.3023L31.7412 21.3858C31.8379 21.5433 32.0846 21.7256 32.2587 21.7681L34.564 22.3297Z",fill:"white"}),f.jsx("path",{d:"M15.6725 32.0001C15.9558 32.0001 16.203 31.9356 16.4158 31.8283L17.7615 30.6487L17.832 29.061C17.6551 29.061 17.4783 28.9756 17.4783 28.8466L17.4783 26.8953C17.4783 26.7881 17.6192 26.6808 17.832 26.6808L17.7975 25.6084C17.6206 25.6084 17.4438 25.523 17.4438 25.394L17.4438 22.0001C17.4438 21.8928 17.5847 21.7856 17.7975 21.7856L17.832 20.6914C17.6551 20.6914 17.4783 20.606 17.4783 20.4769L17.4783 19.1529C17.4783 19.0457 17.6192 18.9384 17.832 18.9384L17.7975 18.145L17.7629 17.3515L16.4172 16.1718C16.2404 16.0646 15.9572 16.0001 15.674 16.0001L12.1323 16C11.4954 16 11.0009 16.2999 11.0009 16.6862L11.0009 21.0618C11.0009 21.4934 11.1405 21.9134 11.3988 22.2591L12.4008 23.5998L12.4008 24.0001L11.3941 25.3567C11.1382 25.7015 11 26.1195 11.0001 26.5489L11.0009 31.3138C11.0009 31.7001 11.4954 32 12.1323 32L15.6725 32.0001Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_602_11502",x1:"0",y1:"0",x2:"48",y2:"48",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#438FFF"}),f.jsx("stop",{offset:"1",stopColor:"#2969C7"})]})})]})})),Ype=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[f.jsx("circle",{cx:"24",cy:"24",r:"24",fill:"url(#paint0_linear_602_11501)"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6744 32C16.9576 32 17.2049 31.9355 17.4176 31.8282L18.7634 30.6486C19.1875 30.4341 19.6122 30.4341 20.0018 30.6486L21.2999 31.8282C21.4768 31.9354 21.76 32 22.0432 32H35.8718C36.5087 32 37.0032 31.7 37.0032 31.3138V16.6862C37.0032 16.2999 36.5087 16 35.8718 16H22.0446C21.7614 16 21.5141 16.0645 21.3014 16.1718L20.0032 17.3514C19.5791 17.5659 19.1544 17.5659 18.7648 17.3514L17.4191 16.1718C17.2422 16.0645 16.959 16 16.6758 16H13.1311C12.4943 16 11.9997 16.2999 11.9997 16.6862L11.9997 20.7505C11.9997 21.3665 12.2836 21.9481 12.7692 22.3272L14.3996 23.5997V24L12.7628 25.287C12.2805 25.6663 11.9989 26.2459 11.999 26.8595L11.9997 31.3138C11.9997 31.7001 12.4943 32 13.1311 32H16.6744ZM18.4457 22C18.4457 21.8928 18.5866 21.7855 18.7993 21.7855H19.9314C20.1082 21.7855 20.2505 21.871 20.2505 22V25.3939C20.2505 25.5011 20.1441 25.6083 19.9314 25.6083H18.7993C18.6225 25.6083 18.4457 25.5229 18.4457 25.3939V22ZM18.8338 18.9383H19.9314C20.1441 18.9383 20.285 19.0238 20.285 19.1528V20.4768C20.285 20.5841 20.1441 20.6913 19.9314 20.6913H18.8338C18.657 20.6913 18.4802 20.6059 18.4802 20.4768V19.1528C18.4802 19.0456 18.6211 18.9383 18.8338 18.9383ZM20.285 28.8465C20.285 28.9537 20.1441 29.061 19.9314 29.061H18.8338C18.657 29.061 18.4802 28.9755 18.4802 28.8465V26.8952C18.4802 26.788 18.6211 26.6807 18.8338 26.6807H19.9314C20.1082 26.6807 20.285 26.7662 20.285 26.8952V28.8465ZM33.564 22.3297C33.7796 22.3824 33.9391 22.521 34.0007 22.7107C34.0624 22.8998 34.0176 23.1113 33.8786 23.2912L32.3802 25.2043C32.2665 25.3485 32.1779 25.65 32.1931 25.8367L32.3976 28.3019C32.4134 28.4916 32.3637 28.6631 32.2583 28.785C32.1618 28.896 32.0263 28.9584 31.8763 28.9605C31.7926 28.9617 31.7064 28.9443 31.6206 28.9089L29.4161 28.0073C29.2605 27.9436 28.9363 27.9481 28.7825 28.0162L26.604 28.9789C26.3654 29.0841 26.1173 29.0408 25.9631 28.8722C25.8543 28.7533 25.7998 28.5833 25.8104 28.3932L25.9461 25.9232C25.9561 25.7361 25.8585 25.4373 25.7414 25.2957L24.1903 23.4251C24.0452 23.2504 23.9947 23.0402 24.051 22.8489C24.1079 22.6575 24.2629 22.5146 24.4769 22.4559L26.7656 21.8307C26.9386 21.7834 27.18 21.5943 27.2723 21.4342L28.4923 19.3159C28.6064 19.1178 28.7819 19.0027 28.9732 19C29.1645 18.9973 29.3431 19.1075 29.4626 19.3023L30.7412 21.3858C30.838 21.5433 31.0846 21.7256 31.2588 21.7681L33.564 22.3297Z",fill:"white"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_602_11501",x1:"-1.26316",y1:"1.26316",x2:"48",y2:"48",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#34CE76"}),f.jsx("stop",{offset:"1",stopColor:"#229754"})]})})]})})),Zpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[f.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_linear_607_12590)"}),f.jsx("path",{d:"M13.1253 8.12491C13.1253 8.74642 12.6219 9.24982 12.0003 9.24982C11.3788 9.24982 10.8753 8.74642 10.8753 8.12491C10.8753 7.5034 11.3788 7 12.0003 7C12.6219 7 13.1253 7.5034 13.1253 8.12491Z",fill:"white"}),f.jsx("path",{d:"M9.00014 9.24982C9.00014 9.87133 8.49671 10.3747 7.87516 10.3747C7.25432 10.3747 6.75019 9.87133 6.75019 9.24982C6.75019 8.62831 7.25432 8.12491 7.87516 8.12491C8.49671 8.12491 9.00014 8.62831 9.00014 9.24982Z",fill:"white"}),f.jsx("path",{d:"M17.2504 9.24982C17.2504 9.87133 16.7463 10.3747 16.1255 10.3747C15.5039 10.3747 15.0005 9.87133 15.0005 9.24982C15.0005 8.62831 15.5039 8.12491 16.1255 8.12491C16.7463 8.12491 17.2504 8.62831 17.2504 9.24982Z",fill:"white"}),f.jsx("path",{d:"M16.1255 11.1249C15.788 11.1249 15.4877 11.2374 15.1882 11.3871L12.001 13.2622L8.81384 11.3871C8.51291 11.2374 8.21269 11.1249 7.8752 11.1249C6.82546 11.1249 6 11.9496 6 13V17H9.74968V13.6749L11.6249 14.7999C11.7001 14.8371 11.7374 14.8751 11.8126 14.8751C11.8879 14.8751 11.9251 14.9123 12.0004 14.9123C12.0756 14.9123 12.1128 14.9123 12.1881 14.8751C12.2633 14.8751 12.3006 14.8378 12.3758 14.7999L14.251 13.6749L14.2503 16.9993H18V12.9993C18 11.9496 17.1752 11.1249 16.1255 11.1249Z",fill:"white"}),f.jsx("path",{d:"M12.0003 12.3996L13.8003 11.3499C13.5753 10.5997 12.863 10.0373 12.0003 10.0373C11.1376 10.0373 10.4626 10.5997 10.2004 11.3499L12.0003 12.3996Z",fill:"white"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_607_12590",x1:"2.5",y1:"1.5",x2:"21",y2:"22.5",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#A14BF3"}),f.jsx("stop",{offset:"1",stopColor:"#6C30A6"})]})})]})})),Xpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"115",height:"115",viewBox:"0 0 115 115",fill:"none",children:[f.jsx("circle",{cx:"57.5",cy:"57.5",r:"57.5",fill:"#322D36"}),f.jsx("path",{d:"M50.0208 64.807H63.9792C66.1095 64.807 67.8333 63.1474 67.8333 61.0965C67.8333 59.0456 66.1095 57.386 63.9792 57.386H50.0208C47.8905 57.386 46.1667 59.0456 46.1667 61.0965C46.1667 63.1474 47.8905 64.807 50.0208 64.807Z",fill:"white"}),f.jsx("path",{d:"M45.8542 51.614H67.3125C69.4428 51.614 71.1667 49.9544 71.1667 47.9035C71.1667 45.8526 69.4428 44.193 67.3125 44.193H45.8542C43.7239 44.193 42 45.8526 42 47.9035C42 49.9544 43.7239 51.614 45.8542 51.614Z",fill:"white"}),f.jsx("path",{d:"M43.3542 38.4211H71.0625C73.1928 38.4211 74.9167 36.7614 74.9167 34.7105C74.9167 32.6596 73.1928 31 71.0625 31H43.3542C41.2239 31 39.5 32.6596 39.5 34.7105C39.5 36.7614 41.2239 38.4211 43.3542 38.4211Z",fill:"white"}),f.jsx("path",{d:"M86.1508 71.156L86.9734 64.6008H86.9698C87.2317 62.5486 85.7635 60.6757 83.6939 60.416C81.6243 60.1562 79.7319 61.6121 79.4736 63.6643L78.651 70.2195C78.4112 72.1034 76.788 73.5154 74.8734 73.4971H39.1266C37.212 73.5154 35.5888 72.1034 35.349 70.2195L34.5264 63.6643H34.5301C34.2682 61.6122 32.3794 60.1563 30.3061 60.416C28.2366 60.6757 26.7684 62.5485 27.0302 64.6008L27.8529 71.156C28.5612 76.7929 33.4011 81.014 39.127 81H74.9031C80.6174 81 85.4387 76.7823 86.1508 71.156Z",fill:"white"})]})}));Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[f.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_linear_32_9727)"}),f.jsx("path",{d:"M17.9988 9.95544C17.9806 9.61638 17.9187 9.28073 17.8154 8.95604C17.8125 8.93553 17.8067 8.91639 17.7979 8.89725C17.0907 6.7255 14.6402 5 12.0034 5C9.37167 5 6.92694 6.71514 6.21019 8.8759C6.19855 8.90256 6.19055 8.93195 6.18182 8.95793C6.18036 8.95929 6.17963 8.96203 6.17891 8.96408C6.0785 9.28674 6.01883 9.61965 6.00064 9.9553C5.99337 10.1426 6.04794 10.3272 6.15635 10.4844L9.19043 14.9723V18.7348C9.1897 18.8052 9.2188 18.8735 9.27192 18.9234C9.32576 18.9733 9.39779 19.0007 9.47346 19H14.5296C14.6053 19 14.6773 18.9726 14.7304 18.9227C14.7836 18.8728 14.8134 18.8045 14.8134 18.7341V14.9695L17.8467 10.4844C17.9559 10.3279 18.009 10.1427 17.9988 9.95544ZM9.62912 14.6264L6.63583 10.2001C6.58999 10.1358 6.56598 10.0593 6.56817 9.98202C6.58272 9.69833 6.63219 9.41737 6.71514 9.14462C6.91595 8.97987 7.63192 8.45351 8.44756 8.51434C8.97651 8.55672 9.46038 8.84383 9.88821 9.37292L9.88966 9.37429L10.9381 14.6264L9.62912 14.6264ZM11.5121 14.6264L10.457 9.34487C10.6717 9.1104 10.9213 8.90805 11.1992 8.74331C11.4393 8.59702 11.7172 8.51635 12.0032 8.50952C12.5038 8.50952 13.0248 8.7939 13.5479 9.35239L12.4943 14.6264H11.5121ZM17.3679 10.2001L14.3739 14.6264H13.07L14.1214 9.36272C14.5456 8.84045 15.0258 8.55403 15.5511 8.51437C16.366 8.4508 17.0936 8.98673 17.2886 9.14738V9.15011C17.3694 9.4215 17.4181 9.7004 17.4327 9.98205C17.4356 10.0593 17.413 10.1351 17.3679 10.2001Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_32_9727",x1:"0",y1:"0",x2:"24.6316",y2:"24.6316",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#FF4BED"}),f.jsx("stop",{offset:"1",stopColor:"#AF2BA2"})]})})]})}));const Jpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[f.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_linear_32_9724)"}),f.jsx("path",{d:"M9.54916 8.53474C9.54916 8.25492 9.4502 8.01635 9.25227 7.81784C9.05434 7.61991 8.81519 7.52094 8.53537 7.52094C8.25556 7.52094 8.017 7.6199 7.81848 7.81784C7.62055 8.01576 7.52158 8.25492 7.52158 8.53474C7.52158 8.81455 7.62055 9.05312 7.81848 9.25164C8.01641 9.44957 8.25556 9.54854 8.53537 9.54854C8.81519 9.54854 9.05375 9.44957 9.25227 9.25164C9.45019 9.05371 9.54916 8.81455 9.54916 8.53474ZM17.9999 13.0971C17.9999 13.3769 17.9021 13.6143 17.7066 13.8099L13.8175 17.7066C13.612 17.9022 13.3716 18 13.0965 18C12.8167 18 12.5793 17.9022 12.3838 17.7066L6.72042 12.0357C6.51956 11.8401 6.34932 11.5733 6.2097 11.2357C6.0701 10.8976 6 10.5889 6 10.3091V7.0138C6 6.73929 6.10014 6.50131 6.30101 6.30102C6.50188 6.10074 6.73927 6 7.01379 6H10.3091C10.5889 6 10.8976 6.0701 11.2357 6.20971C11.5738 6.34932 11.843 6.52015 12.0433 6.72043L17.7066 12.3755C17.9022 12.5811 18 12.8215 18 13.0965L17.9999 13.0971Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_32_9724",x1:"0",y1:"0",x2:"24",y2:"24",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#438FFF"}),f.jsx("stop",{offset:"1",stopColor:"#2969C7"})]})})]})})),Qpe=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[f.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_linear_32_9732)"}),f.jsx("path",{d:"M11.1555 15.947L11.1559 15.9465L12.1178 15.3694L10.0764 14.1444L7 15.9901L9.04183 17.2151L11.1555 15.947Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M12.3947 15.4692L11.4329 16.0463L14.1859 17.6986L17 16.0099L14.247 14.3576L12.3952 15.4687L12.3947 15.4692Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M14.0253 14.225L12.8108 13.4963C12.8108 13.4963 12.4676 14.4144 12 14.4286C11.5218 14.4431 11.1407 13.5056 11.1407 13.5056L10.2979 14.0113L12.3393 15.2362L14.0253 14.225Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M11.2114 16.1795L9.2635 17.3481L12.0165 19L13.9644 17.8313L11.2114 16.1795Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M9.1608 10.2886L9.17766 10.3135C9.19819 10.3448 9.21982 10.3753 9.24144 10.4088L11.6872 13.9768C11.7586 14.0811 11.8756 14.1429 12.0006 14.1429C12.1256 14.1429 12.2425 14.0811 12.314 13.9768L14.7539 10.4115C14.7774 10.378 14.7997 10.3456 14.8224 10.3162L14.8375 10.2935V10.2931C15.2792 9.5992 15.4592 8.76674 15.3448 7.94846C15.2304 7.13019 14.829 6.38157 14.2147 5.83986C13.6003 5.2982 12.8136 5 12.0002 5C11.1864 5 10.4001 5.2982 9.78568 5.83986C9.17093 6.38153 8.76955 7.13018 8.65516 7.94846C8.54078 8.76673 8.72114 9.59912 9.16286 10.2931L9.1608 10.2886ZM12.0007 7.00319C12.3738 7.00319 12.732 7.15396 12.9959 7.422C13.2597 7.69004 13.4082 8.05376 13.4082 8.43269C13.4082 8.81205 13.2598 9.17577 12.9959 9.44377C12.7319 9.71177 12.3738 9.86221 12.0007 9.86221C11.6275 9.86221 11.2693 9.71181 11.0055 9.44377C10.7416 9.17573 10.5931 8.81201 10.5931 8.43269C10.5931 8.05371 10.7415 7.68999 11.0055 7.422C11.2694 7.154 11.6275 7.00319 12.0007 7.00319Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_32_9732",x1:"-0.631579",y1:"0.631579",x2:"24",y2:"24",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#34CE76"}),f.jsx("stop",{offset:"1",stopColor:"#229754"})]})})]})})),e1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[f.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_linear_32_9725)"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5L19 12L12 19L5 12L12 5ZM12 6.96L17.04 12L12 17.04L6.96 12L12 6.96ZM12 14.52C12.6683 14.5201 13.3093 14.2547 13.782 13.7821C14.2546 13.3096 14.5202 12.6686 14.5203 12.0003C14.5204 11.3319 14.2549 10.6909 13.7824 10.2183C13.3099 9.74565 12.6689 9.48008 12.0006 9.48C11.3322 9.48 10.6913 9.7455 10.2187 10.2181C9.74608 10.6907 9.48058 11.3317 9.48058 12C9.48058 12.6683 9.74608 13.3093 10.2187 13.7819C10.6913 14.2545 11.3317 14.52 12 14.52Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_32_9725",x1:"-0.631579",y1:"0.631579",x2:"24",y2:"24",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#34CE76"}),f.jsx("stop",{offset:"1",stopColor:"#229754"})]})})]})})),t1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[f.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_linear_121_6315)"}),f.jsx("path",{d:"M11.993 9.15497C13.5531 9.15497 14.8188 10.4359 14.8188 12.0148C14.8188 13.5936 13.5531 14.8746 11.993 14.8746C10.433 14.8746 9.16732 13.5936 9.16732 12.0148C9.16732 10.4359 10.433 9.15497 11.993 9.15497ZM11.993 8.26128C9.96206 8.26128 8.28428 9.9295 8.28428 12.0148C8.28428 14.1001 9.96206 15.7385 11.993 15.7385C14.024 15.7385 15.6724 14.0703 15.6724 12.0148C15.6724 9.95929 14.024 8.26128 11.993 8.26128Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M12.0001 6.17605L17.004 9.09545V14.9342L12.0001 17.8536L6.99623 14.9342V9.09545L12.0001 6.17605ZM12.0001 5.13341L11.5586 5.40152L6.55471 8.32092L6.11319 8.55924V15.4109L6.55471 15.679L11.5586 18.5984L12.0001 18.8665L12.4416 18.5984L17.4455 15.679L17.887 15.4109V8.58903L17.4455 8.32092L12.4416 5.40152L12.0001 5.13341Z",fill:"#FCFCFC"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5L12.4989 5.30292L17.5036 8.22282L18 8.52428V15.4757L17.5019 15.7782L12.4988 18.6971L12 19L11.5011 18.6971L6.49641 15.7772L6 15.4757V8.49062L6.49974 8.22087L11.5011 5.30292L12 5ZM11.5586 5.40152L6.55471 8.32092L6.11319 8.55924V15.4109L6.55471 15.679L11.5586 18.5984L12.0001 18.8665L12.4416 18.5984L17.4455 15.679L17.887 15.4109V8.58903L17.4455 8.32092L12.4416 5.40152L12.0001 5.13341L11.5586 5.40152ZM14.7056 12.0148C14.7056 10.4992 13.4905 9.26946 11.9929 9.26946C10.4954 9.26946 9.28029 10.4992 9.28029 12.0148C9.28029 13.5305 10.4954 14.7602 11.9929 14.7602C13.4905 14.7602 14.7056 13.5305 14.7056 12.0148ZM8.1711 12.0148C8.1711 9.86576 9.90008 8.14688 11.9929 8.14688C14.0875 8.14688 15.7853 9.89732 15.7853 12.0148C15.7853 14.1335 14.0864 15.853 11.9929 15.853C9.90126 15.853 8.1711 14.1651 8.1711 12.0148ZM12.0001 6.17605L6.99623 9.09545V14.9342L12.0001 17.8536L17.004 14.9342V9.09545L12.0001 6.17605ZM16.8908 9.16162L12 6.3082L7.10919 9.16162V14.8682L12 17.7216L16.8908 14.8682V9.16162ZM14.8188 12.0148C14.8188 10.4359 13.5531 9.15497 11.993 9.15497C10.433 9.15497 9.16732 10.4359 9.16732 12.0148C9.16732 13.5936 10.433 14.8746 11.993 14.8746C13.5531 14.8746 14.8188 13.5936 14.8188 12.0148ZM8.28428 12.0148C8.28428 9.9295 9.96206 8.26128 11.993 8.26128C14.024 8.26128 15.6724 9.95929 15.6724 12.0148C15.6724 14.0703 14.024 15.7385 11.993 15.7385C9.96206 15.7385 8.28428 14.1001 8.28428 12.0148Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_121_6315",x1:"-0.631579",y1:"0.631579",x2:"24",y2:"24",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#34CE76"}),f.jsx("stop",{offset:"1",stopColor:"#229754"})]})})]})})),n1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",...e,children:[f.jsx("circle",{cx:"24",cy:"24",r:"24",fill:"url(#paint0_linear_602_11505)"}),f.jsxs("g",{clipPath:"url(#clip0_602_11505)",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5724 12.7133H18.1112C18.9202 10.6294 19.9997 8.99719 21.2587 8C14.5176 9.17818 9.30405 14.5286 8.1358 21.2362C9.0337 20.056 10.6518 18.9692 12.6291 18.1531V17.6993C12.6291 14.9804 14.7861 12.7133 17.5724 12.7133ZM30.9637 16.8856C30.1546 12.8053 28.6272 9.54277 26.6499 8.00261C33.3001 9.18094 38.6047 14.4395 39.7728 21.2388C38.2435 19.2425 35.0978 17.6997 30.9637 16.8856ZM23.9546 16.1591H22.3365C21.8866 14.7997 20.9886 13.7109 19.8204 13.1676C20.9887 10.2675 22.5161 8.63542 23.9547 8.63542C25.932 8.63542 28 11.627 29.1683 16.5212C27.4594 16.3401 25.7505 16.1591 23.9546 16.1591ZM13.0772 19.8749C10.3815 20.9636 8.7634 22.5042 8.7634 23.9552C8.7634 25.9498 11.7294 28.1251 16.5819 29.3035C16.3135 27.6713 16.2228 25.858 16.2228 24.0448L16.2228 22.5938C14.8749 22.1419 13.7067 21.1448 13.0772 19.8749ZM22.0002 30.0633C20.7325 29.9893 19.5177 29.8485 18.3816 29.6672C18.1113 27.9455 17.9317 26.1322 17.9317 24.0465V22.7766C20.4478 22.504 22.4249 20.5098 22.5156 17.972H23.9542C25.9315 17.972 27.8181 18.1532 29.5268 18.4258C29.7049 19.5604 29.8436 20.7346 29.9176 22.0004C25.5373 22.0446 22 25.6092 22 30C22 30.0211 22.0001 30.0422 22.0002 30.0633ZM37.2981 26.7182C36.2636 24.4213 34.1766 22.7007 31.6516 22.1707C31.6052 20.9676 31.5051 19.7913 31.325 18.6965C36.0868 19.8768 39.1433 22.0523 39.1433 23.9552C39.1433 24.8904 38.4911 25.8458 37.2981 26.7182ZM26.7694 37.3209C25.8812 38.5748 24.8975 39.2753 23.9546 39.2753C21.9772 39.2753 19.9092 36.2837 18.7409 31.3895C19.8386 31.5731 20.9771 31.6743 22.1854 31.7204C22.7361 34.2332 24.4679 36.3037 26.7694 37.3209ZM28.733 37.9002C29.1457 37.9659 29.5689 38 30 38C31.2982 38 32.5242 37.6908 33.6083 37.142C31.6477 38.5678 29.358 39.5678 26.8824 40C27.5546 39.4841 28.175 38.7725 28.733 37.9002ZM37.09 33.7092C37.6712 32.6005 38 31.3386 38 30C38 29.5625 37.9649 29.1332 37.8973 28.7148C38.7709 28.1612 39.4942 27.5561 40.043 26.9204C39.6004 29.4252 38.5658 31.738 37.09 33.7092ZM21.1659 40C19.1886 38.4598 17.6612 35.1973 16.8521 31.117C12.8088 30.301 9.66303 28.6686 8.04297 26.7638C9.21107 33.4734 14.5157 38.8217 21.1659 40ZM17.5723 14.437C19.3701 14.437 20.8087 15.888 20.8087 17.7013C20.8087 19.5145 19.3701 20.9655 17.5723 20.9655C15.7746 20.9655 14.336 19.5145 14.336 17.7013C14.336 15.888 15.7746 14.437 17.5723 14.437Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M25.2002 29.8858L31.2002 29.8858L31.2002 31.6001L25.2002 31.6001V29.8858Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M31.2002 25.6001L31.2002 31.6001H29.4859V25.6001L31.2002 25.6001Z",fill:"#FCFCFC"})]}),f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"paint0_linear_602_11505",x1:"0",y1:"0",x2:"48",y2:"48",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#FF7439"}),f.jsx("stop",{offset:"1",stopColor:"#BF5122"})]}),f.jsx("clipPath",{id:"clip0_602_11505",children:f.jsx("rect",{width:"32",height:"32",fill:"white",transform:"translate(8 8)"})})]})]})})),EA=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"47",height:"47",viewBox:"0 0 47 47",fill:"none",...e,children:[f.jsx("circle",{cx:"23.5",cy:"23.5",r:"23.5",fill:"url(#paint0_linear_662_7058)"}),f.jsx("path",{d:"M18.3075 32.3125L16.6457 33.4204V32.3125H18.3075Z",stroke:"white",strokeWidth:"1.95833"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6667 13.7083C13.5036 13.7083 11.75 15.6811 11.75 18.1146V26.9271C11.75 29.3606 13.5036 31.3333 15.6667 31.3333H21.7885C21.6273 30.7074 21.5417 30.0512 21.5417 29.375C21.5417 25.0488 25.0488 21.5417 29.375 21.5417C31.7146 21.5417 33.8146 22.5674 35.25 24.1936V18.1146C35.25 15.6811 33.4964 13.7083 31.3333 13.7083H15.6667Z",fill:"#FCFCFC"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.25 29.375C35.25 32.6197 32.6197 35.25 29.375 35.25C26.1303 35.25 23.5 32.6197 23.5 29.375C23.5 26.1303 26.1303 23.5 29.375 23.5C32.6197 23.5 35.25 26.1303 35.25 29.375ZM30.158 30.1583V33.2917H28.5913V30.1583H25.4582L25.4582 28.5917H28.5913V25.4583H30.158V28.5917H33.2915V30.1583H30.158Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_662_7058",x1:"-1.23684",y1:"1.23684",x2:"47",y2:"47",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#34CE76"}),f.jsx("stop",{offset:"1",stopColor:"#229754"})]})})]})})),r1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{fill:"none",children:f.jsx("circle",{cx:"6",cy:"6",r:"6",fill:"#FF2D55"})})})),o1e=Y.memo(e=>{const t=fo();return f.jsx(fe,{...e,children:f.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[f.jsx("circle",{cx:"16",cy:"16",r:"16",fill:t.palette.primary.main}),f.jsx("path",{d:"M16 23C15.6021 22.9982 15.2209 22.8503 14.9388 22.5884C14.6568 22.3264 14.4964 21.9714 14.4925 21.6H17.4925C17.4941 21.7872 17.4558 21.9727 17.38 22.146C17.283 22.3537 17.1345 22.5369 16.9467 22.6806C16.7589 22.8242 16.5373 22.9241 16.3 22.972H16.2647C16.1776 22.9889 16.089 22.9983 16 23ZM22 20.9H10V19.5L11.5 18.8L11.5 14.95C11.4605 13.9624 11.6995 12.9824 12.193 12.108C12.4359 11.7071 12.7671 11.3588 13.1647 11.0861C13.5624 10.8134 14.0175 10.6225 14.5 10.526V9L17.5 9V10.526C19.4342 10.9558 20.5 12.5266 20.5 14.95V18.8L22 19.5V20.9Z",fill:t.palette.icon})]})})}),i1e=Y.memo(e=>{const t=fo();return f.jsx(fe,{...e,children:f.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:f.jsx("path",{d:"M16 23C15.6021 22.9982 15.2209 22.8503 14.9388 22.5884C14.6568 22.3264 14.4964 21.9714 14.4925 21.6H17.4925C17.4941 21.7872 17.4558 21.9727 17.38 22.146C17.283 22.3537 17.1345 22.5369 16.9467 22.6806C16.7589 22.8242 16.5373 22.9241 16.3 22.972H16.2647C16.1776 22.9889 16.089 22.9983 16 23ZM22 20.9H10V19.5L11.5 18.8L11.5 14.95C11.4605 13.9624 11.6995 12.9824 12.193 12.108C12.4359 11.7071 12.7671 11.3588 13.1647 11.0861C13.5624 10.8134 14.0175 10.6225 14.5 10.526V9L17.5 9V10.526C19.4342 10.9558 20.5 12.5266 20.5 14.95V18.8L22 19.5V20.9Z",fill:t.palette.icon})})})}),a1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("circle",{cx:"24",cy:"24",r:"24",fill:"url(#paint0_linear_668_7471)"}),f.jsx("path",{d:"M25.8755 17.0248C25.8755 18.1436 25.0364 19.0497 24.0005 19.0497C22.9646 19.0497 22.1256 18.1436 22.1256 17.0248C22.1256 15.9061 22.9646 15 24.0005 15C25.0364 15 25.8755 15.9061 25.8755 17.0248Z",fill:"white"}),f.jsx("path",{d:"M19.0002 19.0497C19.0002 20.1684 18.1612 21.0745 17.1253 21.0745C16.0905 21.0745 15.2503 20.1684 15.2503 19.0497C15.2503 17.931 16.0905 17.0248 17.1253 17.0248C18.1612 17.0248 19.0002 17.931 19.0002 19.0497Z",fill:"white"}),f.jsx("path",{d:"M32.7507 19.0497C32.7507 20.1684 31.9105 21.0745 30.8758 21.0745C29.8399 21.0745 29.0008 20.1684 29.0008 19.0497C29.0008 17.931 29.8399 17.0248 30.8758 17.0248C31.9105 17.0248 32.7507 17.931 32.7507 19.0497Z",fill:"white"}),f.jsx("path",{d:"M30.8758 22.4248C30.3133 22.4248 29.8129 22.6273 29.3137 22.8969L24.0017 26.272L18.6897 22.8969C18.1882 22.6273 17.6878 22.4248 17.1253 22.4248C15.3758 22.4248 14 23.9093 14 25.8V33H20.2495V27.0149L23.3748 29.0397C23.5002 29.1068 23.5623 29.1752 23.6877 29.1752C23.8131 29.1752 23.8752 29.2422 24.0006 29.2422C24.126 29.2422 24.1881 29.2422 24.3135 29.1752C24.4389 29.1752 24.501 29.1081 24.6264 29.0397L27.7517 27.0149L27.7505 32.9987H34V25.7987C34 23.9093 32.6253 22.4248 30.8758 22.4248Z",fill:"white"}),f.jsx("path",{d:"M24.0005 24.7192L27.0005 22.8298C26.6255 21.4795 25.4384 20.4671 24.0005 20.4671C22.5627 20.4671 21.4377 21.4795 21.0006 22.8298L24.0005 24.7192Z",fill:"white"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_668_7471",x1:"-1.26316",y1:"1.26316",x2:"48",y2:"48",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#34CE76"}),f.jsx("stop",{offset:"1",stopColor:"#229754"})]})})]})})),s1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("circle",{cx:"24",cy:"24",r:"24",fill:"url(#paint0_linear_668_7472)"}),f.jsx("path",{d:"M25.8755 17.0248C25.8755 18.1436 25.0364 19.0497 24.0005 19.0497C22.9646 19.0497 22.1256 18.1436 22.1256 17.0248C22.1256 15.9061 22.9646 15 24.0005 15C25.0364 15 25.8755 15.9061 25.8755 17.0248Z",fill:"white"}),f.jsx("path",{d:"M19.0002 19.0497C19.0002 20.1684 18.1612 21.0745 17.1253 21.0745C16.0905 21.0745 15.2503 20.1684 15.2503 19.0497C15.2503 17.931 16.0905 17.0248 17.1253 17.0248C18.1612 17.0248 19.0002 17.931 19.0002 19.0497Z",fill:"white"}),f.jsx("path",{d:"M32.7507 19.0497C32.7507 20.1684 31.9105 21.0745 30.8758 21.0745C29.8399 21.0745 29.0008 20.1684 29.0008 19.0497C29.0008 17.931 29.8399 17.0248 30.8758 17.0248C31.9105 17.0248 32.7507 17.931 32.7507 19.0497Z",fill:"white"}),f.jsx("path",{d:"M30.8758 22.4248C30.3133 22.4248 29.8129 22.6273 29.3137 22.8969L24.0017 26.272L18.6897 22.8969C18.1882 22.6273 17.6878 22.4248 17.1253 22.4248C15.3758 22.4248 14 23.9093 14 25.8V33H20.2495V27.0149L23.3748 29.0397C23.5002 29.1068 23.5623 29.1752 23.6877 29.1752C23.8131 29.1752 23.8752 29.2422 24.0006 29.2422C24.126 29.2422 24.1881 29.2422 24.3135 29.1752C24.4389 29.1752 24.501 29.1081 24.6264 29.0397L27.7517 27.0149L27.7505 32.9987H34V25.7987C34 23.9093 32.6253 22.4248 30.8758 22.4248Z",fill:"white"}),f.jsx("path",{d:"M24.0005 24.7192L27.0005 22.8298C26.6255 21.4795 25.4384 20.4671 24.0005 20.4671C22.5627 20.4671 21.4377 21.4795 21.0006 22.8298L24.0005 24.7192Z",fill:"white"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_668_7472",x1:"-1.26316",y1:"1.26316",x2:"48",y2:"48",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#FF4B6B"}),f.jsx("stop",{offset:"1",stopColor:"#9B2020"})]})})]})})),l1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[f.jsx("circle",{cx:"24",cy:"24",r:"24",fill:"url(#paint0_linear_2576_13)"}),f.jsx("path",{d:"M16.6961 21.9922L13 28.3259V16.6668C13 15.1959 14.1959 14 15.6668 14H20.563C21.2714 14 21.9506 14.2792 22.4506 14.7792L23.5549 15.8835C24.0549 16.3835 24.7341 16.6627 25.4425 16.6627H30.3345C31.8054 16.6627 33.0013 17.8586 33.0013 19.3295V20.6629H19.0004C18.0503 20.6629 17.1753 21.1671 16.6961 21.988V21.9922ZM17.8461 22.6631C18.0878 22.2505 18.5254 22.0005 19.0004 22.0005H35.6681C36.1473 22.0005 36.5849 22.2547 36.8224 22.6714C37.0599 23.0881 37.0599 23.5965 36.8182 24.009L32.1512 32.0095C31.9137 32.4179 31.4762 32.6679 31.0012 32.6679H14.3334C13.8542 32.6679 13.4167 32.4137 13.1792 31.997C12.9417 31.5803 12.9417 31.0719 13.1833 30.6594L17.8503 22.6589L17.8461 22.6631Z",fill:"white"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_2576_13",x1:"0",y1:"0",x2:"48",y2:"48",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#D80027"}),f.jsx("stop",{offset:"1",stopColor:"#720015"})]})})]})})),c1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"47",height:"47",viewBox:"0 0 47 47",fill:"none",...e,children:[f.jsx("circle",{cx:"23.5",cy:"23.5",r:"23.5",fill:"url(#paint0_linear_662_7057)"}),f.jsx("path",{d:"M12.5678 21.7015L15.9619 23.0461C15.5791 23.969 15.274 24.9204 15.0489 25.8904L14.9197 26.4496L19.7856 31.1028L20.3707 30.9827V30.9816C21.3843 30.7675 22.3797 30.4759 23.3453 30.11L24.752 33.3541L24.7532 33.353C24.7806 33.4186 24.8411 33.4666 24.9131 33.4797C24.9863 33.4929 25.0606 33.471 25.112 33.4208L27.2386 31.388H27.2398C27.9414 30.7174 28.3128 29.7933 28.2637 28.8463L28.1871 27.54C32.125 24.7601 36.1086 19.8864 37.1942 11.3809C37.2571 10.9483 37.1051 10.5125 36.7829 10.2034C36.4606 9.89427 36.0058 9.74683 35.5533 9.80362C26.657 10.8489 21.5545 14.6609 18.6475 18.4129L17.2841 18.3463C16.2945 18.295 15.3289 18.6445 14.625 19.3108L12.4983 21.3435C12.4378 21.3926 12.4103 21.468 12.4241 21.5423C12.4389 21.6165 12.4938 21.6766 12.568 21.7017L12.5678 21.7015ZM26.2124 16.7457C26.9666 16.0281 28.0979 15.8151 29.0807 16.2051C30.0634 16.595 30.7034 17.5114 30.7034 18.5283C30.7034 19.5463 30.0634 20.4628 29.0807 20.8527C28.0979 21.2426 26.9666 21.0296 26.2124 20.3109C25.7164 19.8391 25.4376 19.1979 25.4376 18.5283C25.4376 17.8599 25.7164 17.2187 26.2124 16.7457ZM11.9336 31.474C11.3702 31.285 10.7657 31.2392 10.1783 31.3397C10.0721 31.3615 9.96121 31.3298 9.88579 31.2556C9.79094 31.166 9.76466 31.0284 9.82065 30.9115C10.4446 29.6313 12.097 27.0558 15.0899 29.1365C15.1219 29.1638 15.1391 29.2021 15.1391 29.2425C15.1391 29.2829 15.1219 29.3222 15.0899 29.3484C14.2775 29.9601 13.8181 30.9049 13.8523 31.8934C13.8569 32.0125 13.9563 32.1075 14.0809 32.1119C15.1094 32.1512 16.0978 31.722 16.7424 30.9541C16.7709 30.9202 16.8132 30.9017 16.8578 30.9017C16.9035 30.9017 16.9458 30.9202 16.9743 30.9541C17.3903 31.427 18.533 32.9704 17.2669 34.4603C16.7138 35.096 15.9207 35.4979 15.0602 35.5788C13.8318 35.7044 11.5623 36.0878 10.6343 37.1003C10.5589 37.1855 10.4389 37.2248 10.3246 37.2019C10.2092 37.1778 10.1167 37.0959 10.0847 36.9878C9.7567 35.9196 9.24813 33.532 11.9336 31.474Z",fill:"white"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_662_7057",x1:"0",y1:"0",x2:"47",y2:"47",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#438FFF"}),f.jsx("stop",{offset:"1",stopColor:"#2969C7"})]})})]})})),u1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{viewBox:"0 0 47 47",fill:"none",children:[f.jsx("circle",{cx:"23.5",cy:"23.5",r:"23.5",fill:"url(#paint0_linear_662_7055)"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.646 11.75H30.3543C31.9761 11.75 33.2918 13.0657 33.2918 14.6875V19.5836L33.2917 19.5834L30.3542 19.5833C29.4762 19.5833 28.919 20.2671 28.4801 21.073L28.2028 21.5417H18.6043C18.0633 21.5417 17.6252 21.9798 17.6252 22.5208C17.6252 23.0618 18.0633 23.5 18.6043 23.5H27.0445L25.8862 25.4583H18.6043C18.0633 25.4583 17.6252 25.8965 17.6252 26.4375C17.6252 26.9785 18.0633 27.4167 18.6043 27.4167H24.7279L21.8873 32.2191C21.4297 33.046 21.4297 34.0385 21.868 34.8855C21.9352 35.0154 22.011 35.1371 22.0943 35.25H16.646C15.0242 35.25 13.7085 33.9342 13.7085 32.3125V14.6875C13.7085 13.0657 15.0242 11.75 16.646 11.75ZM18.6043 19.5833H28.396C28.937 19.5833 29.3752 19.1452 29.3752 18.6042C29.3752 18.0632 28.937 17.625 28.396 17.625H18.6043C18.0633 17.625 17.6252 18.0632 17.6252 18.6042C17.6252 19.1452 18.0633 19.5833 18.6043 19.5833Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M38.1208 31.5477L33.1151 23.3911C32.7832 22.8438 32.1921 22.5208 31.5282 22.5208C30.8644 22.5208 30.2733 22.8438 29.9414 23.3911L24.9357 31.5477C24.5897 32.1092 24.5897 32.7832 24.921 33.3583C25.2529 33.9341 25.8587 34.2708 26.5226 34.2708H36.534C37.2119 34.2708 37.8036 33.9341 38.1356 33.3583C38.4675 32.7831 38.4674 32.1091 38.1208 31.5477ZM31.5282 32.362C31.0955 32.362 30.7495 32.0253 30.7495 31.6042C30.7495 31.183 31.0955 30.8463 31.5282 30.8463C31.961 30.8463 32.307 31.183 32.307 31.6042C32.307 32.0248 31.961 32.362 31.5282 32.362ZM32.3651 26.592L32.0912 29.7227C32.0625 30.0177 31.788 30.242 31.4854 30.214C31.2116 30.186 30.9952 29.9755 30.9805 29.7227L30.7066 26.592C30.6633 26.1428 31.0098 25.7497 31.4713 25.7074C31.9329 25.6652 32.3369 26.0025 32.3803 26.4516C32.3651 26.4938 32.3651 26.5497 32.3651 26.592Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_662_7055",x1:"0",y1:"0",x2:"47",y2:"47",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#FF7439"}),f.jsx("stop",{offset:"1",stopColor:"#BF5122"})]})})]})})),d1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[f.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#paint0_linear_32_9733)"}),f.jsx("path",{d:"M15.3364 14.1184C15.7643 14.5925 16.0014 15.2025 16.002 15.8344V17.6996H16.3345C16.7018 17.6996 17 17.9909 17 18.3498C17 18.7087 16.7018 19 16.3345 19L7.68488 19C7.31749 19 7.01996 18.7087 7.01996 18.3498C7.01996 17.9909 7.31811 17.6996 7.68551 17.6996H8.01796L8.01796 15.8344C8.01859 15.2025 8.25561 14.5925 8.68351 14.1184L9.34906 13.358C9.79067 12.8674 9.79005 11.1326 9.34843 10.642L8.68289 9.88826C8.25001 9.40931 8.01423 8.79143 8.01796 8.15281L8.01796 6.30037H7.66555C7.29815 6.30037 7 6.0091 7 5.65019C7 5.29127 7.29815 5 7.66555 5L16.3344 5C16.7018 5 17 5.29127 17 5.65019C17 6.0091 16.7018 6.30037 16.3344 6.30037H16.002L16.002 8.15282C16.0057 8.79143 15.7693 9.40931 15.3364 9.88826L14.6709 10.642C14.2293 11.1326 14.2299 12.8674 14.6715 13.358L15.3364 14.1184ZM13.6529 14.2092C13.2294 13.7358 12.9974 12.6288 12.9974 12C12.9974 11.3712 13.23 10.2642 13.6536 9.79077L14.3384 9.03029C14.5543 8.79143 14.6728 8.4837 14.6715 8.16561V6.30038L9.34842 6.30038V8.16561C9.34717 8.4837 9.46569 8.79142 9.6815 9.03029L10.347 9.79077C10.7706 10.2642 11.0026 11.3712 11.0026 12C11.0026 12.6288 10.77 13.7358 10.3464 14.2092L9.68087 14.9764C9.46693 15.2135 9.34904 15.5181 9.34842 15.8344V17.6996L14.6715 17.6996V15.8344C14.6709 15.5181 14.5524 15.2135 14.3384 14.9764L13.6529 14.2092Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M13.3404 17.0501H10.6789C10.5024 17.0501 10.3333 16.9812 10.2086 16.8593C10.0838 16.7374 10.014 16.5723 10.014 16.3999V15.9642C10.014 15.824 10.0607 15.6869 10.1468 15.5742L11.4773 13.8455C11.6027 13.6815 11.8004 13.5853 12.01 13.5853C12.2195 13.5853 12.4167 13.6815 12.542 13.8455L13.8725 15.5742C13.9586 15.6869 14.006 15.824 14.006 15.9642V16.3999C14.006 16.7588 13.7078 17.0501 13.3404 17.0501Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_32_9733",x1:"0",y1:"0",x2:"24",y2:"24",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#FF7439"}),f.jsx("stop",{offset:"1",stopColor:"#BF5122"})]})})]})})),CA=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[f.jsx("circle",{cx:"12",cy:"12",r:"12",transform:"rotate(90 12 12)",fill:"url(#paint0_linear_602_10515)"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 14.9345C14.3691 14.9778 14.2314 15 14.0898 15C13.4065 15 13 14 12 14C11.0938 14 10.4547 14.9979 9.72437 14.9979C9.5856 14.9979 9.45019 14.9762 9.32094 14.9345L7.99985 17.7834C7.97803 17.8753 8.01048 17.972 8.0849 18.0354C8.15988 18.0988 8.26451 18.12 8.3602 18.0909L9.45523 17.7538C9.63038 17.9091 9.96889 18.2072 10.3057 18.4941C10.3578 18.5385 10.4249 18.5623 10.4938 18.5623C10.5223 18.5623 10.5508 18.5581 10.5788 18.5502C10.6739 18.5216 10.7456 18.4471 10.7674 18.3557L12 15L12.8976 18.3557C12.9194 18.4471 12.991 18.5216 13.0861 18.5502C13.1141 18.5581 13.1427 18.5623 13.1712 18.5623C13.2395 18.5623 13.3066 18.5385 13.3592 18.4941C13.696 18.2072 14.0346 17.9091 14.2091 17.7538L15.3047 18.0909C15.3999 18.12 15.5051 18.0988 15.5795 18.0354C15.6539 17.972 15.6869 17.8753 15.6651 17.7834L14.5 14.9345Z",fill:"white"}),f.jsx("path",{d:"M15.9803 9.02436C15.9331 8.87194 15.8071 8.7593 15.6353 8.71473L13.7975 8.23975C13.6586 8.2038 13.4634 8.05522 13.3878 7.9282L12.3883 6.24732C12.2948 6.09011 12.1531 6 12.0001 6C11.847 6 11.7054 6.09011 11.6119 6.24732L10.6124 7.9282C10.5367 8.05522 10.3415 8.20379 10.2026 8.23975L8.3649 8.71426C8.19304 8.75883 8.06746 8.87146 8.0198 9.02388C7.9726 9.1763 8.01064 9.34501 8.12475 9.4864L9.34468 11C9.4368 11.1146 9.5115 11.3547 9.50141 11.5043L9.36529 13.4785C9.35475 13.6305 9.39646 13.7671 9.48216 13.8634C9.60361 14 9.80159 14.0374 9.99362 13.9559L11.747 13.2101C11.8708 13.1574 12.1301 13.1574 12.2539 13.2101L14.0073 13.9559C14.0756 13.9851 14.1443 14 14.2112 14C14.3313 14 14.4404 13.9516 14.5187 13.8639C14.6044 13.7675 14.6461 13.6309 14.6356 13.479L14.4995 11.5047C14.4894 11.3552 14.5636 11.1151 14.6562 11.001L15.8761 9.48735C15.9893 9.345 16.0274 9.17628 15.9802 9.02435L15.9803 9.02436Z",fill:"white"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_602_10515",x1:"19.8561",y1:"-17.0142",x2:"-8.95663",y2:"-2.93744",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#FF2D55"}),f.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]})})]})})),f1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[f.jsx("circle",{cx:"24",cy:"24",r:"24",fill:"url(#paint0_linear_2576_13)"}),f.jsx("path",{d:"M14.6667 14.3333C14.6667 13.5958 14.0708 13 13.3333 13C12.5958 13 12 13.5958 12 14.3333V18.3333V29C12 30.4708 13.1958 31.6667 14.6667 31.6667H22.6667V29H14.6667V19.6667H22.6667V17H14.6667V14.3333ZM24 21C24 21.7375 24.5958 22.3333 25.3333 22.3333H34.6667C35.4042 22.3333 36 21.7375 36 21V15.6667C36 14.9292 35.4042 14.3333 34.6667 14.3333H30.5542C30.2 14.3333 29.8625 14.1917 29.6125 13.9417L29.0583 13.3917C28.8083 13.1417 28.4708 13 28.1167 13H25.3333C24.5958 13 24 13.5958 24 14.3333V21ZM24 33C24 33.7375 24.5958 34.3333 25.3333 34.3333H34.6667C35.4042 34.3333 36 33.7375 36 33V27.6667C36 26.9292 35.4042 26.3333 34.6667 26.3333H30.5542C30.2 26.3333 29.8625 26.1917 29.6125 25.9417L29.0583 25.3875C28.8083 25.1375 28.4708 24.9958 28.1167 24.9958H25.3333C24.5958 24.9958 24 25.5917 24 26.3292V33Z",fill:"white"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_2576_13",x1:"0",y1:"0",x2:"48",y2:"48",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#D80027"}),f.jsx("stop",{offset:"1",stopColor:"#720015"})]})})]})})),p1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"47",height:"47",viewBox:"0 0 47 47",fill:"none",...e,children:[f.jsx("circle",{cx:"23.5",cy:"23.5",r:"23.5",fill:"url(#paint0_linear_662_7056)"}),f.jsx("path",{d:"M30.034 27.6486C30.872 28.577 31.3362 29.7715 31.3374 31.009V34.6618H31.9885C32.7079 34.6618 33.2918 35.2322 33.2918 35.935C33.2918 36.6379 32.7079 37.2083 31.9885 37.2083L15.0497 37.2083C14.3302 37.2083 13.7476 36.6379 13.7476 35.935C13.7476 35.2322 14.3315 34.6618 15.0509 34.6618H15.702L15.702 31.009C15.7032 29.7715 16.1674 28.577 17.0054 27.6486L18.3087 26.1594C19.1736 25.1987 19.1723 21.8012 18.3075 20.8406L17.0041 19.3645C16.1564 18.4266 15.6947 17.2165 15.702 15.9659L15.702 12.3382H15.0119C14.2924 12.3382 13.7085 11.7678 13.7085 11.0649C13.7085 10.3621 14.2924 9.79166 15.0119 9.79166L31.9884 9.79166C32.7079 9.79166 33.2918 10.3621 33.2918 11.0649C33.2918 11.7678 32.7079 12.3382 31.9884 12.3382H31.3374L31.3374 15.9659C31.3447 17.2165 30.8818 18.4266 30.034 19.3645L28.7307 20.8406C27.8658 21.8012 27.867 25.1987 28.7319 26.1594L30.034 27.6486ZM26.7372 27.8264C25.9078 26.8992 25.4534 24.7315 25.4534 23.5C25.4534 22.2685 25.909 20.1008 26.7384 19.1736L28.0796 17.6843C28.5023 17.2165 28.7344 16.6139 28.7319 15.991V12.3382L18.3075 12.3382V15.991C18.305 16.6139 18.5371 17.2165 18.9598 17.6843L20.2631 19.1736C21.0925 20.1008 21.5469 22.2685 21.5469 23.5C21.5469 24.7315 21.0913 26.8992 20.2619 27.8264L18.9585 29.3288C18.5396 29.793 18.3087 30.3897 18.3075 31.009V34.6618L28.7319 34.6618V31.009C28.7307 30.3897 28.4986 29.793 28.0796 29.3288L26.7372 27.8264Z",fill:"#FCFCFC"}),f.jsx("path",{d:"M26.1252 33.3897H20.913C20.5673 33.3897 20.2363 33.2548 19.992 33.0162C19.7477 32.7775 19.6108 32.4541 19.6108 32.1164V31.2632C19.6108 30.9887 19.7025 30.7202 19.871 30.4995L22.4765 27.114C22.722 26.793 23.1092 26.6045 23.5197 26.6045C23.9301 26.6045 24.3161 26.793 24.5616 27.114L27.1671 30.4995C27.3357 30.7202 27.4285 30.9887 27.4285 31.2632V32.1164C27.4285 32.8193 26.8447 33.3897 26.1252 33.3897Z",fill:"#FCFCFC"}),f.jsx("defs",{children:f.jsxs("linearGradient",{id:"paint0_linear_662_7056",x1:"0",y1:"0",x2:"48.2368",y2:"48.2368",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#FF4B6B"}),f.jsx("stop",{offset:"1",stopColor:"#9B2020"})]})})]})})),h1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 9.82515C20 14.1645 15.1574 19.4488 13.0076 21.581C12.4438 22.1401 11.5562 22.1401 10.9924 21.581C8.84257 19.4488 4 14.1645 4 9.82515C4 5.50344 7.58172 2 12 2C16.4183 2 20 5.50344 20 9.82515ZM15.2452 10.037C15.2452 11.6819 13.8819 13.0153 12.2003 13.0153C10.5186 13.0153 9.1554 11.6819 9.1554 10.037C9.1554 8.3921 10.5186 7.05865 12.2003 7.05865C13.8819 7.05865 15.2452 8.3921 15.2452 10.037Z",fill:"white"})})})),m1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M8.67332 11.5583L11.2198 10.285C11.9842 9.90277 12.6035 9.28343 12.9858 8.51896L14.259 5.97243C14.4413 5.60876 14.9602 5.60876 15.1416 5.97243L16.4148 8.51896C16.797 9.28343 17.4163 9.90275 18.1808 10.285L20.7273 11.5583C21.0909 11.7405 21.0909 12.2594 20.7273 12.4409L18.1808 13.7141C17.4163 14.0963 16.797 14.7157 16.4148 15.4802L15.1416 18.0267C14.9593 18.3904 14.4404 18.3904 14.259 18.0267L12.9858 15.4802C12.6036 14.7157 11.9842 14.0964 11.2198 13.7141L8.67332 12.4409C8.30965 12.2586 8.30965 11.7397 8.67332 11.5583ZM3.11707 18.4891L4.2089 19.035C4.53628 19.1987 4.80207 19.4645 4.96576 19.7919L5.51166 20.8829C5.58928 21.039 5.81203 21.039 5.88966 20.8829L6.43557 19.7919C6.59926 19.4645 6.86505 19.1987 7.19242 19.035L8.28425 18.4891C8.44035 18.4115 8.44035 18.1887 8.28425 18.1111L7.19242 17.5652C6.86505 17.4015 6.59926 17.1357 6.43557 16.8083L5.88966 15.7173C5.81204 15.5612 5.58929 15.5612 5.51166 15.7173L4.96576 16.8083C4.80207 17.1357 4.53628 17.4015 4.2089 17.5652L3.11707 18.1111C2.96098 18.1887 2.96098 18.4115 3.11707 18.4891ZM3.11707 5.8889L4.2089 6.43482C4.53628 6.59851 4.80207 6.86431 4.96576 7.19169L5.51166 8.28271C5.58928 8.43881 5.81203 8.43881 5.88966 8.28271L6.43557 7.19169C6.59926 6.86431 6.86505 6.59851 7.19242 6.43482L8.28425 5.8889C8.44035 5.81127 8.44035 5.58852 8.28425 5.51088L7.19242 4.96497C6.86505 4.80127 6.59926 4.53548 6.43557 4.20809L5.88966 3.11708C5.81204 2.96097 5.58929 2.96097 5.51166 3.11708L4.96576 4.20809C4.80207 4.53548 4.53628 4.80127 4.2089 4.96497L3.11707 5.51088C2.96098 5.58851 2.96098 5.81127 3.11707 5.8889Z",fill:"white"})})})),g1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_2_668)",children:[f.jsx("path",{d:"M21.7069 18.3504L16.397 13.3034H15.4051L12.8604 15.7222V16.6649L18.1703 21.7119C18.561 22.0833 19.1922 22.0833 19.583 21.7119L21.7069 19.6931C22.0977 19.3313 22.0977 18.7218 21.7069 18.3504Z",fill:"white"}),f.jsx("path",{d:"M17.3688 10.7513L18.7815 9.40864L20.9054 11.4274C22.0776 10.3133 22.0776 8.50399 20.9054 7.38983L17.3588 4.01881L15.9461 5.36151V2.67611L15.2448 2L11.6982 5.37103L12.4095 6.04714H15.2448L13.8322 7.38983L14.8942 8.39924L11.9987 11.1513L7.86099 7.21843V5.86621L4.83532 2.99036L2 5.68528L5.03569 8.57065H6.44834L10.5861 12.5035L9.7345 13.3129H7.61052L2.30056 18.36C1.90983 18.7313 1.90983 19.3313 2.30056 19.7027L4.42455 21.7215C4.81528 22.0928 5.44646 22.0928 5.83719 21.7215L11.1472 16.6744V14.6556L16.3068 9.75146L17.3688 10.7513Z",fill:"white"})]}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_2_668",children:f.jsx("rect",{width:"24",height:"24",fill:"white"})})})]})})),y1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4306 6C10.5359 6 8.99988 7.536 8.99988 9.43075C8.99988 11.3255 10.5359 12.8615 12.4306 12.8615C14.3254 12.8615 15.8614 11.3255 15.8614 9.43075C15.8614 7.536 14.3254 6 12.4306 6ZM6.99988 9.43075C6.99988 6.43142 9.43132 4 12.4306 4C15.43 4 17.8614 6.43142 17.8614 9.43075C17.8614 12.4301 15.43 14.8615 12.4306 14.8615C9.43131 14.8615 6.99988 12.4301 6.99988 9.43075Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4306 13.153C12.9829 13.153 13.4306 13.6008 13.4306 14.153V19.4C13.4306 19.9523 12.9829 20.4 12.4306 20.4C11.8783 20.4 11.4306 19.9523 11.4306 19.4V14.153C11.4306 13.6008 11.8783 13.153 12.4306 13.153Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.3991 16.9205C8.3991 16.3682 8.84681 15.9205 9.3991 15.9205H15.4623C16.0145 15.9205 16.4623 16.3682 16.4623 16.9205C16.4623 17.4728 16.0145 17.9205 15.4623 17.9205H9.3991C8.84681 17.9205 8.3991 17.4728 8.3991 16.9205Z",fill:"white"})]})})),v1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4311 10.0258C8.53623 10.0258 7.00012 11.5619 7.00012 13.4568C7.00012 15.3517 8.53624 16.8878 10.4311 16.8878C12.326 16.8878 13.8621 15.3517 13.8621 13.4568C13.8621 11.5619 12.326 10.0258 10.4311 10.0258ZM5.00012 13.4568C5.00012 10.4573 7.43167 8.02581 10.4311 8.02581C13.4306 8.02581 15.8621 10.4573 15.8621 13.4568C15.8621 16.4563 13.4306 18.8878 10.4311 18.8878C7.43166 18.8878 5.00012 16.4563 5.00012 13.4568Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.6818 5.60745C18.8421 5.98303 18.7579 6.41831 18.4692 6.70705L14.218 10.9582C13.8275 11.3487 13.1943 11.3487 12.8038 10.9582C12.4133 10.5677 12.4133 9.93449 12.8038 9.54397L15.2952 7.05265L14.6614 7.06613C14.1093 7.07788 13.6521 6.63979 13.6404 6.08763C13.6286 5.53547 14.0667 5.07833 14.6189 5.06658L17.7408 5.00017C18.1491 4.99148 18.5216 5.23188 18.6818 5.60745Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9614 5.06627C18.5136 5.06627 18.9614 5.51398 18.9614 6.06627V9.38747C18.9614 9.93976 18.5136 10.3875 17.9614 10.3875C17.4091 10.3875 16.9614 9.93976 16.9614 9.38747V6.06627C16.9614 5.51398 17.4091 5.06627 17.9614 5.06627Z",fill:"white"})]})})),_1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M13.1069 7.04572C13.6025 7.04572 14.0586 7.11294 14.4753 7.24742C15.7122 7.68469 15.9407 8.52864 16.1414 9.44243L17.0914 14.6197C17.0914 15.3 15.9 15.6 15.476 14.6197L14.4753 9.79839C14.4753 9.79839 14.4753 17.8123 14.4753 21.381C14.4753 22.4912 12.224 22.4624 12.224 21.3573L12.224 14.847C12.224 14.4668 11.5624 14.4668 11.5624 14.847C11.5624 17.663 11.5962 18.5413 11.5962 21.3573C11.5962 22.4479 9.33551 22.3902 9.33551 21.381C9.33551 18.5075 9.33551 9.79839 9.33551 9.79839L8.30573 14.6197C8.30573 15.4488 6.59998 15.4425 6.59998 14.6197L7.6998 9.44243C7.8642 8.49977 8.18612 7.66648 9.28776 7.24742C9.64816 7.11294 9.86732 7.0457 10.3854 7.0457L13.1069 7.04572Z",fill:"white"}),f.jsx("path",{d:"M11.8457 6.46284C13.1333 6.46284 14.1771 5.41902 14.1771 4.13141C14.1771 2.84381 13.1333 1.79999 11.8456 1.79999C10.5581 1.79999 9.51424 2.84381 9.51426 4.13141C9.51426 5.41902 10.5581 6.46284 11.8457 6.46284Z",fill:"white"})]})})),b1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M17.0059 6.40177C17.1116 6.17384 17.4324 6.17384 17.5381 6.40177L18.6398 8.77585C18.6815 8.8656 18.7647 8.92844 18.8616 8.9434L21.3501 9.32718C21.5867 9.36366 21.6833 9.65533 21.5161 9.82843L19.6975 11.7119C19.6324 11.7794 19.6028 11.8741 19.6178 11.9672L20.0437 14.6124C20.0831 14.8572 19.826 15.0402 19.6113 14.9202L17.4142 13.6918C17.3257 13.6423 17.2183 13.6423 17.1298 13.6918L14.9308 14.9202C14.7161 15.0402 14.459 14.8571 14.4986 14.6122L14.9261 11.9673C14.9412 11.8742 14.9116 11.7794 14.8464 11.7118L13.0279 9.82843C12.8607 9.65533 12.9574 9.36366 13.1939 9.32718L15.6824 8.9434C15.7794 8.92844 15.8626 8.8656 15.9042 8.77585L17.0059 6.40177Z",fill:"white"}),f.jsx("path",{d:"M7.49761 9.13144C7.60338 8.90351 7.92409 8.90351 8.02986 9.13144L9.45146 12.1949C9.49311 12.2847 9.5763 12.3475 9.67325 12.3625L12.8775 12.8567C13.1141 12.8931 13.2107 13.1848 13.0435 13.3579L10.7071 15.7777C10.642 15.8452 10.6124 15.9399 10.6273 16.033L11.1753 19.4358C11.2147 19.6806 10.9576 19.8636 10.7428 19.7436L7.90596 18.1575C7.81746 18.108 7.71001 18.108 7.62149 18.1575L4.78224 19.7436C4.56746 19.8636 4.31037 19.6805 4.34995 19.4357L4.90002 16.0331C4.91508 15.94 4.88548 15.8452 4.82029 15.7776L2.48392 13.3579C2.31678 13.1848 2.41339 12.8931 2.64995 12.8567L5.85422 12.3625C5.95117 12.3475 6.03436 12.2847 6.07601 12.1949L7.49761 9.13144Z",fill:"white"}),f.jsx("path",{d:"M9.09232 7.98502C9.09232 8.73409 8.48508 9.34133 7.73602 9.34133C6.98695 9.34133 6.37971 8.73409 6.37971 7.98502C6.37971 7.23596 6.98695 6.62872 7.73602 6.62872C8.48508 6.62872 9.09232 7.23596 9.09232 7.98502Z",fill:"white"}),f.jsx("path",{d:"M18.4086 5.32593C18.4086 5.93711 17.9131 6.43256 17.302 6.43256C16.6908 6.43256 16.1953 5.93711 16.1953 5.32593C16.1953 4.71476 16.6908 4.2193 17.302 4.2193C17.9131 4.2193 18.4086 4.71476 18.4086 5.32593Z",fill:"white"})]})})),E1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M17.4306 10.7672C18.6355 11.3385 19.6836 12.1379 20.6896 13.064C19.6204 12.3259 18.4327 11.7015 17.2739 11.362C16.5689 11.1553 15.8705 11.1554 15.1897 11.1554L15.1609 11.1554C14.4196 11.1554 13.6854 11.2869 12.9972 11.4102L12.9785 11.4135C11.5578 11.6679 10.1406 12.0486 8.74535 12.4234L8.73565 12.426L8.72663 12.4284L8.71771 12.4312L8.70762 12.4344C7.31836 12.8698 5.90545 13.3126 4.5475 13.8823C3.85715 14.1055 3.1364 13.7354 2.92052 13.0467C2.68405 12.2267 3.08453 11.4357 3.69088 11.2186L3.79459 11.1814L3.83786 11.1349C3.85806 11.1266 3.88767 11.1141 3.92104 11.0983C5.40909 10.7921 6.83937 10.5472 8.32475 10.3631C9.83118 10.1763 11.3302 10.0527 12.8831 10.0527C13.6212 10.0527 14.4216 10.1139 15.182 10.1767C15.8772 10.2342 16.7017 10.467 17.4306 10.7672Z",fill:"white",stroke:"white",strokeWidth:"0.905464"})})})),C1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M11.7 8.85001C11.4019 8.85467 11.106 8.90203 10.8213 8.99064C10.953 9.22219 11.0231 9.48364 11.025 9.75001C11.025 9.95684 10.9842 10.1617 10.9051 10.3527C10.8259 10.5438 10.7099 10.7175 10.5637 10.8637C10.4174 11.01 10.2438 11.126 10.0527 11.2051C9.86161 11.2843 9.6568 11.325 9.44997 11.325C9.1836 11.3232 8.92215 11.2531 8.6906 11.1214C8.5079 11.755 8.5292 12.43 8.75146 13.0508C8.97372 13.6717 9.38568 14.2068 9.92899 14.5805C10.4723 14.9542 11.1194 15.1475 11.7787 15.1329C12.4379 15.1184 13.0759 14.8968 13.6022 14.4996C14.1285 14.1023 14.5165 13.5495 14.7112 12.9195C14.9059 12.2895 14.8975 11.6142 14.6871 10.9893C14.4766 10.3643 14.0749 9.82145 13.5388 9.4375C13.0027 9.05356 12.3594 8.84802 11.7 8.85001ZM19.7021 11.5894C18.1769 8.61348 15.1574 6.60001 11.7 6.60001C8.24256 6.60001 5.22221 8.61488 3.69784 11.5897C3.6335 11.7169 3.59998 11.8575 3.59998 12.0002C3.59998 12.1428 3.6335 12.2834 3.69784 12.4106C5.22306 15.3866 8.24256 17.4 11.7 17.4C15.1574 17.4 18.1777 15.3851 19.7021 12.4104C19.7665 12.2831 19.8 12.1425 19.8 11.9999C19.8 11.8573 19.7665 11.7167 19.7021 11.5894ZM11.7 16.05C8.92544 16.05 6.38181 14.5031 5.00818 12C6.38181 9.49689 8.92516 7.95001 11.7 7.95001C14.4748 7.95001 17.0181 9.49689 18.3918 12C17.0184 14.5031 14.4748 16.05 11.7 16.05Z",fill:"white"})})})),S1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.9667 8.67887C21.9667 8.67887 21.8 8.38208 18.795 8.08355C15.64 7.76931 14.07 8.43271 13.42 8.85345C13.3033 8.90582 13.1033 8.95819 12.8683 8.94074H12.8183L12.7426 8.93654C12.4556 8.92059 12.1899 8.90582 11.8833 8.90582H11.8667C11.6833 8.90582 11.2817 8.92328 10.9983 8.94074C10.865 8.95819 10.7483 8.94074 10.6483 8.90582C10.0467 8.48683 8.47833 7.75185 5.19 8.08355C2.18333 8.38208 2.01667 8.67887 2.01667 8.67887L2 9.86775C2 9.86775 2.45 10.0074 2.735 10.374C2.86455 10.5417 2.96275 11.0714 3.07754 11.6906C3.21379 12.4257 3.37343 13.2869 3.63667 13.8185C4.37 15.3408 7.99333 14.9567 7.99333 14.9567C7.99333 14.9567 9.47833 15.0789 10.1967 13.7679C10.7878 12.698 11.0423 11.2117 11.1218 10.7475L11.1317 10.69C11.2817 10.5329 11.565 10.3409 11.9833 10.3234C12.45 10.3234 12.7517 10.5678 12.885 10.7424C12.9517 11.2138 13.2017 12.7012 13.8033 13.7679C14.5217 15.0789 16.0067 14.9567 16.0067 14.9567C16.0067 14.9567 19.63 15.3408 20.3633 13.8202C20.6085 13.3056 20.7622 12.482 20.8963 11.763C21.0174 11.1137 21.1226 10.5498 21.265 10.3758C21.5483 9.9917 22 9.8695 22 9.8695L21.9667 8.67887ZM3.83402 11.4696L10.0804 10.3756C10.066 10.0454 10.0018 9.84336 9.92989 9.71788C9.7799 9.45601 9.42823 8.87816 6.97489 8.80833C4.52156 8.72104 4.10323 9.24652 3.98656 9.4211C3.87541 9.60405 3.71889 10.1213 3.83402 11.4696ZM20.1092 9.8031L13.8996 10.8906C13.8454 10.2381 13.9331 9.89861 14.0366 9.71791C14.1866 9.45604 14.5382 8.87818 16.9916 8.80835C19.4449 8.72106 19.8632 9.2448 19.9799 9.42113C20.0223 9.49086 20.0712 9.60893 20.1092 9.8031Z",fill:"white"})})})),w1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M1.90551 12.5864C1.35529 12.3643 0.749559 12.8973 1.1074 13.4187C3.90591 17.4964 9.96829 16.2084 11.6169 13.2429C13.2671 10.3164 9.67212 6.12606 7.07905 8.9196C5.53008 10.5039 4.33894 13.5689 1.90551 12.5864Z",fill:"white"}),f.jsx("path",{d:"M22.0945 12.5864C22.6447 12.3643 23.2504 12.8973 22.8926 13.4187C20.0941 17.4964 14.0317 16.2084 12.3831 13.2429C10.7329 10.3164 14.3279 6.12606 16.921 8.9196C18.4699 10.5039 19.6611 13.5689 22.0945 12.5864Z",fill:"white"})]})})),x1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3027 9.7401C13.9599 10.8779 15.7012 11.5249 17.4027 11.9042C18.2841 12.0975 19.0236 12.2494 19.6424 12.3765C22.4522 12.9535 22.7758 13.02 22.6128 14.1352C22.6128 14.1687 22.6073 14.2077 22.6017 14.2468C22.5962 14.2858 22.5907 14.3249 22.5907 14.3583C22.4802 15.7416 20.3147 16.8125 17.6631 16.8125H3.83031C3.74801 16.8125 3.66668 16.8136 3.58672 16.8146C2.59843 16.8277 1.8203 16.8379 2.03626 14.7827C2.04613 14.6888 2.06767 14.6441 2.10255 14.6042C2.11259 14.2091 2.10464 13.7392 2.09643 13.2539C2.06847 11.602 2.0375 9.77173 2.70266 10.1042C2.79736 10.1516 2.89373 10.2094 3.00016 10.2733C3.56826 10.6145 4.42277 11.1277 6.83715 11.1277C7.69894 11.1277 8.25136 10.6368 8.47233 10.3691C8.29556 9.8783 8.03039 8.85202 8.56072 8.18271C8.67121 8.04885 8.82589 7.98192 9.00266 8.00423C9.59928 8.09347 10.9106 8.78076 12.3027 9.7401ZM10.9118 12.3468L10.0118 12.3468L7.9668 14.7157H8.89848L10.9118 12.3468ZM8.15674 12.3468L9.05671 12.3468L7.0434 14.7157H6.11172L8.15674 12.3468ZM21.5861 13.8152C21.2762 14.4189 19.2174 15.0739 16.2028 14.8641C16.2695 14.6694 16.355 14.4111 16.4466 14.1342C16.6512 13.5163 16.8864 12.8059 17.0103 12.5041C17.2509 12.5822 17.782 12.6766 18.4009 12.7866C19.8587 13.0457 21.8036 13.3914 21.5861 13.8152Z",fill:"white"})})})),M1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.10903 6.88957C2.84951 8.51027 5.65007 16.4983 6.57802 16.6457C7.193 17.1543 6.88432 13.4024 8.55893 11.4067C10.5928 14.796 16.0155 13.7116 16.0155 13.7116C16.0155 13.7116 18.1863 15.6901 16.9697 19.2678C19.3676 16.8943 21.6051 8.38384 15.7426 5.55227C14.8995 5.14483 13.9468 5.02985 13.0112 5.00409C11.2211 4.9559 9.18297 5.3204 8.21303 6.82564",fill:"white"})})})),R1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M17.0875 16.8H9.91251C9.73992 16.8 9.6 17.0158 9.6 17.282V19.318C9.6 19.5842 9.73992 19.8 9.91251 19.8H17.0875C17.2601 19.8 17.4 19.5842 17.4 19.318V17.282C17.4 17.0158 17.2601 16.8 17.0875 16.8Z",fill:"white"}),f.jsx("path",{d:"M13.409 4.20001C9.78146 4.20001 8.7275 5.03337 8.7275 7.90725C8.7275 7.91337 8.7275 7.9195 8.7275 7.92563C8.7275 10.0764 9.35865 11.1672 10.6087 11.1672C10.8599 11.1672 11.0683 11.3755 11.0683 11.6267C11.0683 11.878 10.8599 12.0863 10.6087 12.0863C9.66504 12.0863 8.1515 11.6451 7.85738 8.89993C7.81448 8.51388 7.44069 8.22588 7.06691 8.33005C6.98112 8.35457 6.89533 8.3852 6.81567 8.42197C6.57669 8.53227 6.26418 8.75286 6.12938 9.15116C5.73721 10.3093 6.09874 13.8878 9.16257 15.7139C9.26674 15.7752 9.38316 15.8058 9.50572 15.8058H16.9324C17.1959 15.8058 17.4288 15.6526 17.5329 15.4136C17.9987 14.3045 18.5685 12.1905 18.5685 9.30435C18.5563 4.96597 16.8957 4.20001 13.409 4.20001Z",fill:"white"})]})})),T1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M21 13.216V13.7258C20.9954 13.7142 20.9908 13.7026 20.9859 13.6899C20.9785 13.7586 20.9746 13.8263 20.9641 13.8926C20.9063 14.2495 20.7826 14.5827 20.591 14.8884C20.3338 15.2981 20.0083 15.6472 19.6257 15.9431C19.21 16.2646 18.7669 16.5411 18.2881 16.7615C17.8932 16.9434 17.4909 17.1056 17.0784 17.2421C16.4985 17.4339 15.9077 17.5813 15.3078 17.6952C14.8604 17.7802 14.4102 17.8461 13.9575 17.8923C13.675 17.9212 13.3921 17.9459 13.1085 17.9632C12.8161 17.9808 12.5233 17.9921 12.2306 17.9974C11.7677 18.0058 11.3048 17.9938 10.8429 17.9625C10.5248 17.9409 10.2067 17.9134 9.88932 17.8799C9.66385 17.856 9.4398 17.8193 9.21575 17.7851C8.73981 17.7125 8.26846 17.6162 7.80168 17.4977C7.34371 17.3814 6.89244 17.2431 6.45067 17.0746C5.84333 16.8429 5.26101 16.5622 4.72096 16.1973C4.38558 15.9709 4.07522 15.716 3.80608 15.4131C3.5327 15.1056 3.29984 14.7734 3.16104 14.3813C3.01414 13.9653 2.95883 13.5411 3.03246 13.1028C3.08354 12.7985 3.17584 12.5086 3.32908 12.2403C3.60457 11.7579 3.972 11.3577 4.41271 11.0203C4.85694 10.6803 5.3364 10.4007 5.84651 10.1754C6.16321 10.0354 6.48907 9.91659 6.81141 9.79036C6.84171 9.77837 6.85721 9.76709 6.85721 9.73253C6.85721 9.69022 6.86179 9.64755 6.86707 9.60559C6.91216 9.25157 6.96853 8.89931 7.05061 8.55129C7.16193 8.07985 7.32398 7.62886 7.58115 7.21595C7.98945 6.5601 8.56226 6.14402 9.33588 6.03083C9.62827 5.98816 9.92349 5.98922 10.2155 6.03753C10.8655 6.14543 11.4182 6.44444 11.8896 6.90072C11.9252 6.93527 11.9607 6.96948 11.9995 7.00685C12.0541 6.95502 12.1052 6.9053 12.1573 6.85664C12.5061 6.53224 12.9028 6.28717 13.3572 6.13908C13.6651 6.03894 13.9807 5.99874 14.3045 6.00509C14.475 6.00861 14.6441 6.0199 14.8104 6.05551C15.4012 6.18139 15.8796 6.48534 16.2456 6.96701C16.6116 7.44867 16.8173 8.00121 16.9533 8.58267C17.0424 8.96313 17.1066 9.34854 17.1421 9.73852C17.1435 9.7551 17.1629 9.77872 17.1784 9.78331C17.5402 9.89367 17.884 10.0492 18.2279 10.2033C18.5738 10.3584 18.9057 10.5414 19.2189 10.7569C19.5359 10.9748 19.841 11.2057 20.1056 11.4868C20.3793 11.7777 20.6164 12.0936 20.7752 12.4631C20.8675 12.6775 20.938 12.8986 20.9669 13.1313C20.9739 13.1878 20.9743 13.2445 20.9778 13.3013C20.9796 13.3013 20.9813 13.3013 20.9827 13.3013C20.9884 13.2731 20.994 13.2442 21 13.216ZM6.75927 11.1347C6.75892 11.1435 6.75786 11.152 6.75786 11.1608C6.75399 11.6062 6.7487 12.5019 6.74835 12.9473C6.74835 13.022 6.76456 13.0985 6.78393 13.1712C6.82233 13.3143 6.91886 13.4222 7.01574 13.5287C7.29968 13.8401 7.64809 14.0608 8.02256 14.2445C8.29241 14.3768 8.5753 14.4769 8.86311 14.5612C9.23935 14.6715 9.62264 14.7516 10.0109 14.8098C10.3762 14.8644 10.7433 14.8983 11.1114 14.9201C11.6648 14.9529 12.2183 14.9427 12.771 14.9025C13.2459 14.8679 13.7176 14.8087 14.1854 14.7206C14.7994 14.6049 15.3969 14.4353 15.9676 14.1758C16.3608 13.997 16.7169 13.766 17.0284 13.4674C17.17 13.3313 17.2464 13.1638 17.2461 12.9663C17.2454 12.5182 17.2422 11.6196 17.2397 11.1714C17.2397 11.1527 17.2397 11.1337 17.2397 11.115C17.2239 11.1492 17.2179 11.1837 17.207 11.2169C17.1615 11.3537 17.0763 11.4634 16.9741 11.5628C16.7131 11.817 16.4083 12.0071 16.0821 12.1636C15.5294 12.4295 14.9481 12.6111 14.3478 12.7292C14.0139 12.7952 13.6767 12.8488 13.3389 12.8925C13.056 12.9292 12.7706 12.9482 12.486 12.9672C12.3081 12.9792 12.1288 12.9803 11.9505 12.9803C11.6782 12.9803 11.4059 12.9782 11.1336 12.9701C10.9744 12.9651 10.8151 12.9503 10.6566 12.933C10.3963 12.9048 10.1352 12.8798 9.87734 12.8368C9.62546 12.7948 9.37533 12.7366 9.12697 12.6763C8.71198 12.5758 8.31214 12.4313 7.93097 12.2387C7.58608 12.0642 7.2722 11.8463 7.0101 11.5596C6.89737 11.4362 6.80049 11.304 6.75963 11.1354L6.75927 11.1347Z",fill:"white"})})})),k1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.07408 7.16381C5.88834 8.42084 5.18182 10.2165 5.18182 12.3654C5.18182 14.4994 5.87449 15.818 6.99681 16.6335C8.15889 17.4779 9.8662 17.8462 12 17.8462C14.1338 17.8462 15.8411 17.4779 17.0032 16.6335C18.1255 15.818 18.8182 14.4994 18.8182 12.3654C18.8182 10.2165 18.1117 8.42084 16.9259 7.16381C15.7404 5.90697 14.043 5.15385 12 5.15385C9.95702 5.15385 8.25964 5.90697 7.07408 7.16381ZM6.30181 6.34885C7.71125 4.85467 9.69568 4 12 4C14.3043 4 16.2887 4.85467 17.6982 6.34885C19.1074 7.84283 19.9091 9.94139 19.9091 12.3654C19.9091 14.8043 19.0936 16.5145 17.6209 17.5846C16.188 18.6258 14.2135 19 12 19C9.7865 19 7.812 18.6258 6.37908 17.5846C4.90641 16.5145 4.09091 14.8043 4.09091 12.3654C4.09091 9.94139 4.89256 7.84283 6.30181 6.34885Z",fill:"white"}),f.jsx("path",{d:"M3 11.5C3 10.5441 3.73263 9.76923 4.63636 9.76923V15.5385C3.73263 15.5385 3 14.7636 3 13.8077V11.5Z",fill:"white"}),f.jsx("path",{d:"M21 11.5C21 10.5441 20.2674 9.76923 19.3636 9.76923V15.5385C20.2674 15.5385 21 14.7636 21 13.8077V11.5Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3636 4.28846H13.6364V8.61538H13.0909V4.86538H10.9091V8.61538H10.3636V4.28846Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 8.03846C15.3812 8.03846 17.1818 9.02834 17.1818 12.0769C17.1818 15.1255 15.3812 16.1154 12 16.1154C8.61877 16.1154 6.81818 15.1255 6.81818 12.0769C6.81818 9.02834 8.61877 8.03846 12 8.03846ZM12 10.9231C13.6569 10.9231 15 10.4065 15 9.76923C15 9.13198 13.6569 8.61538 12 8.61538C10.3431 8.61538 9 9.13198 9 9.76923C9 10.4065 10.3431 10.9231 12 10.9231Z",fill:"white"})]})})),I1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M20.3923 16.5581L18.8251 8.28912V5.88885C18.8251 5.61999 18.5889 5.4 18.3001 5.4H5.70008C5.41133 5.4 5.17508 5.61999 5.17508 5.88885V8.28912L3.60794 16.5581C3.56069 16.8098 3.73132 17.0542 3.99907 17.1178L10.2991 18.5844C10.3411 18.5941 10.3831 18.599 10.4251 18.599C10.6535 18.599 10.8635 18.4573 10.9291 18.2446L11.9528 14.9082L12.8007 18.225C12.8322 18.3522 12.9189 18.4597 13.037 18.5281C13.1551 18.5966 13.2995 18.6161 13.4334 18.5868L19.9959 17.1202C20.2689 17.0591 20.4395 16.8123 20.3923 16.5581ZM17.7751 7.84426H6.22508V6.37771H17.7751V7.84426Z",fill:"white"})})})),L1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M21.9413 9.12015C21.4319 8.47672 19.7001 7.35073 17.1534 7.02902C15.8291 6.86816 14.7594 7.40435 13.0276 7.94053C12.3655 8.15501 11.6524 8.15501 10.9902 7.94053C9.30939 7.40435 8.18882 6.86816 6.86451 7.02902C4.31777 7.35073 2.58597 8.47672 2.07662 9.12015C1.56727 9.76357 3.65561 15.7689 6.60984 15.9833C10.1753 16.2514 10.7356 13.1952 11.958 13.1952C11.958 13.1952 11.958 13.1952 12.0089 13.1952C12.0089 13.1952 12.0089 13.1952 12.0599 13.1952C13.2823 13.1952 13.8426 16.1978 17.4081 15.9833C20.1076 15.7689 22.3997 9.70995 21.9413 9.12015ZM5.3874 10.5679C8.08695 9.22738 9.92061 11.6938 9.92061 12.4445C7.4248 14.482 4.47057 10.9968 5.3874 10.5679ZM14.8104 12.9271C14.2501 12.7126 14.0463 11.9619 14.4029 11.4794C15.116 10.5678 16.5931 9.60271 18.4777 10.5142C19.3436 10.9432 17.1024 13.785 14.8104 12.9271Z",fill:"white"})})})),O1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 8.68494C12 8.68494 11.1 7.18494 9 7.18494C6.9 7.18494 3 11.3849 3 11.3849C3 11.3849 6.3 16.4849 12 16.7849V8.68494ZM12 11.2537C12 11.2537 10.5 10.7849 8.99998 10.7849C7.5 10.7849 5.4 11.9849 5.4 11.9849C5.4 11.9849 7.2 13.4849 12 13.7849V11.2537Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 8.68494C12 8.68494 12.9 7.18494 15 7.18494C17.1 7.18494 21 11.3849 21 11.3849C21 11.3849 17.7 16.4849 12 16.7849V8.68494ZM12 11.2537C12 11.2537 13.5 10.7849 15 10.7849C16.5 10.7849 18.6 11.9849 18.6 11.9849C18.6 11.9849 16.8 13.4849 12 13.7849V11.2537Z",fill:"white"})]})})),A1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0767 6.87111C13.3609 8.38535 13.249 10.0965 13.7618 11.6839L14.0767 12.2934C14.591 13.1118 15.1973 13.8745 15.8846 14.5679L15.8919 14.5758C17.0771 15.8648 18.2167 17.1042 17.8739 18.3616L16.5573 19.0986C15.9001 18.9808 15.2597 18.79 14.6491 18.5299L14.4828 18.7665C14.4028 18.8804 14.3717 19.0192 14.3962 19.1543L14.6172 20.3758C14.6762 20.7019 14.4129 21 14.0659 21H12.6489C12.3194 21 12.0869 20.7073 12.3488 20.5167C12.6903 20.2682 13.225 20.1646 13.5233 20.2221L13.5027 18.8441C13.5006 18.704 13.5564 18.5687 13.658 18.4675L13.9288 18.1979C13.6378 18.0705 12.9461 17.7066 12.6837 17.5565L12.4162 17.9222C12.3337 18.0349 12.3001 18.1736 12.3222 18.3093L12.469 19.211C12.5217 19.5344 12.2594 19.8264 11.9161 19.8264H11.1322C10.8096 19.8264 10.5991 19.543 10.8801 19.392C11.1324 19.2564 11.4636 19.203 11.6581 19.2396V18.0884C11.6581 17.9514 11.7134 17.8196 11.8125 17.7203L12.24 17.2926C11.0845 16.6151 10.1057 15.6958 9.37779 14.6042L9.02478 13.9401C8.96754 13.8173 8.91029 13.6945 8.86259 13.5625C7.38853 9.46854 7.64613 6.75739 10.7278 4.8696C11.1227 4.65076 11.5813 4.55979 12.0349 4.61031C12.2381 4.62628 12.4423 4.62628 12.6455 4.61031C13.2609 4.52388 14.3867 3.50038 14.8638 3C15.3885 3.12282 16.4189 3.605 16.3808 4.55118C15.5188 4.85931 14.6831 5.23039 13.8811 5.66111C14.0488 5.81412 14.1589 6.01566 14.1943 6.23445C14.2297 6.45323 14.1883 6.67703 14.0767 6.87111ZM9.17528 8.64151C9.06401 8.74595 8.994 8.88384 8.97708 9.03184C8.90552 9.36846 9.07249 9.65504 9.33963 9.67324C9.49764 9.66245 9.64669 9.59921 9.76086 9.49449C9.87503 9.38977 9.94711 9.25021 9.96455 9.10008C10.0313 8.76801 9.86438 8.45868 9.58769 8.45868C9.43223 8.47248 9.28655 8.53707 9.17528 8.64151ZM10.7874 9.47551C10.8996 9.57401 11.0476 9.62698 11.2001 9.6232C11.2744 9.60677 11.3445 9.57623 11.4062 9.5334C11.4678 9.49057 11.5198 9.43632 11.559 9.3739C11.5982 9.31149 11.6238 9.24218 11.6342 9.17012C11.6447 9.09806 11.6398 9.02473 11.6199 8.95451C11.6113 8.80932 11.5437 8.67303 11.4315 8.57453C11.3193 8.47603 11.1713 8.42306 11.0188 8.42684C10.9452 8.44438 10.8759 8.47561 10.8149 8.51873C10.7539 8.56185 10.7024 8.61602 10.6634 8.67814C10.6244 8.74025 10.5987 8.80909 10.5876 8.88071C10.5766 8.95234 10.5804 9.02533 10.599 9.09553C10.6076 9.24072 10.6752 9.37701 10.7874 9.47551ZM9.28579 10.8014C9.66816 11.3469 10.6407 11.5419 11.2549 10.9344C11.5199 10.6722 11.2471 10.2987 10.8652 10.2987H9.68328C9.37428 10.2987 9.11407 10.5565 9.28579 10.8014Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.4137 12.3429C15.0253 12.5255 14.5479 12.8102 13.9244 13.1875C13.6418 13.3585 13.2673 13.2787 13.0879 13.0092C12.9086 12.7396 12.9923 12.3825 13.2749 12.2115C13.8825 11.8439 14.4189 11.5219 14.8776 11.3062C15.3192 11.0985 15.8083 10.9287 16.2905 11.0044C16.8342 11.0898 17.1902 11.4495 17.4304 11.8979C17.663 12.3319 17.8348 12.9314 17.9886 13.6828C18.0528 13.9961 17.8385 14.2996 17.51 14.3608C17.1814 14.422 16.8631 14.2176 16.7989 13.9044C16.6488 13.1714 16.5021 12.7059 16.3509 12.4237C16.211 12.1626 16.1192 12.1488 16.0952 12.1453L16.0935 12.145C16.0109 12.132 15.8193 12.1522 15.4137 12.3429Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.60611 11.1681C6.94086 11.1681 7.21222 11.4269 7.21222 11.7461C7.21222 12.4723 7.3111 13.0486 7.45982 13.464C7.61366 13.8937 7.7956 14.0848 7.90575 14.1482C7.9625 14.1809 8.02949 14.2071 8.18543 14.1072C8.37818 13.9838 8.64841 13.6877 8.9266 13.1071C9.0657 12.8168 9.42529 12.6889 9.72977 12.8216C10.0342 12.9542 10.1683 13.2971 10.0292 13.5875C9.70788 14.2581 9.31938 14.7735 8.86126 15.0669C8.36634 15.3838 7.79032 15.4322 7.279 15.1377C6.82108 14.8739 6.50988 14.3884 6.31261 13.8374C6.11022 13.2721 6 12.5636 6 11.7461C6 11.4269 6.27137 11.1681 6.60611 11.1681Z",fill:"white"})]})})),P1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3591 4.35792C14.5365 4.07093 14.8723 3.91448 15.167 4.04911L20.6507 7.21694C20.942 7.34999 21.0779 7.71207 20.9544 8.02569L19.5368 10.8657C19.4133 11.1794 19.077 11.3258 18.7857 11.1927L17.3715 10.5468L17.9715 19.3831C17.9715 19.7238 17.715 20 17.3986 20H6.611C6.29461 20 6.03813 19.7238 6.03813 19.3831L6.63813 10.5123L5.15029 11.1911C4.85906 11.3239 4.52294 11.1775 4.39942 10.864L3.04563 8.02386C2.92206 7.71016 3.05811 7.348 3.34948 7.21503L8.77112 4.04882C9.06583 3.91433 9.40146 4.0708 9.57878 4.35773C9.78542 4.69212 10.0516 4.98168 10.3639 5.20851C10.8381 5.55293 11.397 5.73707 11.969 5.73735C12.541 5.73707 13.0999 5.55293 13.5741 5.20851C13.8863 4.98172 14.1525 4.69222 14.3591 4.35792ZM11.1964 9.00501H14.0515C14.1985 9.00501 14.2953 9.15818 14.2322 9.2909L13.1077 11.6556C13.0446 11.7883 13.1414 11.9415 13.2883 11.9415H13.9591C14.1255 11.9415 14.2191 12.1329 14.1169 12.2643L10.7328 16.6133C10.6014 16.7822 10.3323 16.6545 10.38 16.4459L10.9958 13.7522C11.0245 13.627 10.9293 13.5076 10.8009 13.5076H9.84459C9.70837 13.5076 9.61201 13.3744 9.65464 13.245L11.0065 9.14242C11.0335 9.06041 11.1101 9.00501 11.1964 9.00501Z",fill:"white"})})})),N1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5662 7.27882C12.3525 6.90706 11.8183 6.90706 11.6046 7.27882L7.80097 13.8963L3.94499 10.0839C3.57065 9.71376 2.94137 10.0244 3.0044 10.5482L3.86667 16.5089C3.91032 16.8716 4.28364 17.0949 4.62191 16.9606C8.47078 15.4323 15.4986 15.4202 19.3781 16.9606C19.7164 17.0949 20.0897 16.8716 20.1333 16.5089L20.9956 10.5482C21.0586 10.0244 20.4294 9.71376 20.055 10.0839L16.3079 13.7886L12.5662 7.27882ZM12.5053 11.1072C12.2692 10.737 11.7308 10.737 11.4947 11.1072L10.703 12.349C10.5605 12.5725 10.5803 12.8635 10.752 13.0654L11.5437 13.9967C11.7832 14.2785 12.2168 14.2785 12.4563 13.9967L13.248 13.0654C13.4197 12.8635 13.4395 12.5725 13.297 12.349L12.5053 11.1072Z",fill:"white"})})})),$1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M3.39558 15.4984C4.4906 14.2845 5.84635 13.4016 7.35852 12.7946C8.81856 12.1877 10.435 11.8566 11.9993 11.8566C13.5637 11.9118 15.1801 12.1877 16.6402 12.7946C18.1002 13.4016 19.4559 14.2845 20.6031 15.4432C20.7074 15.5536 20.7074 15.7743 20.6031 15.8847C20.4988 15.995 20.3424 15.995 20.2381 15.9398C19.6645 15.4984 19.0388 15.057 18.3609 14.7259C17.683 14.3396 17.0052 14.0637 16.3273 13.7879C14.9194 13.2912 13.4594 13.0153 11.9993 13.0153C10.5393 13.0153 9.07927 13.2912 7.72352 13.7327C7.04565 13.9534 6.36778 14.2845 5.68991 14.6707C5.01204 15.0018 4.38631 15.4432 3.81272 15.9398C3.70843 16.0502 3.49986 15.995 3.39558 15.8847C3.29129 15.7743 3.29129 15.6088 3.39558 15.4984Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.0952 8.0318C5.57959 8.42505 8.71929 9.54931 11.0158 12.3186L11.3366 12.7054L9.03308 13.2386L8.92162 13.1119C7.5675 11.5728 5.80471 10.8209 4.73395 10.4959C4.43937 10.4319 4.15563 10.6802 4.15192 10.9681C4.17801 11.6021 4.2168 12.4283 4.30598 13.163C4.35077 13.532 4.40735 13.8698 4.47888 14.1444C4.51528 14.2841 4.55317 14.3977 4.59063 14.4869L6.50283 13.374H7.73983L4.10029 15.5046L3.95002 15.2966C3.74115 15.0076 3.59357 14.5528 3.48163 14.0537C3.36708 13.543 3.28078 12.9416 3.21497 12.3253C3.08403 11.099 3.03146 9.78673 3.00519 8.95681C2.96927 8.63811 3.12438 8.36598 3.32462 8.20225C3.52716 8.03663 3.81324 7.94862 4.0952 8.0318Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.9945 8.95162C21.0631 8.32658 20.4796 7.87949 19.908 8.0307L19.9056 8.03135C18.4791 8.42271 15.2826 9.54596 12.9833 12.3186L12.6625 12.7054L14.966 13.2386L15.0775 13.1119C16.4354 11.5684 18.2044 10.8166 19.2743 10.4932L19.2802 10.4913L19.2862 10.4893C19.5459 10.3976 19.844 10.6014 19.8472 10.9678C19.8212 11.5973 19.7695 12.4247 19.6739 13.1603C19.6258 13.5298 19.5675 13.8697 19.4976 14.1468C19.4639 14.2802 19.4296 14.3908 19.3959 14.4796L17.4962 13.374H16.2592L19.8924 15.5008L20.0438 15.3036C20.6354 14.5331 20.7004 13.2719 20.8035 12.3475C20.9408 11.1157 20.9937 9.79042 20.9945 8.95162Z",fill:"white"}),f.jsx("path",{d:"M7.8472 20.9016C7.90682 21.0328 8.09315 21.0328 8.15277 20.9016L8.67324 19.7566C8.69003 19.7197 8.71964 19.69 8.75658 19.6733L9.9016 19.1528C10.0328 19.0932 10.0328 18.9068 9.9016 18.8472L8.75658 18.3267C8.71964 18.31 8.69003 18.2803 8.67324 18.2434L8.15277 17.0984C8.09315 16.9672 7.90682 16.9672 7.8472 17.0984L7.32673 18.2434C7.30994 18.2803 7.28033 18.31 7.24339 18.3267L6.09837 18.8472C5.96719 18.9068 5.96719 19.0932 6.09837 19.1528L7.24339 19.6733C7.28033 19.69 7.30994 19.7197 7.32673 19.7566L7.8472 20.9016Z",fill:"white"}),f.jsx("path",{d:"M15.3775 6.92114C15.4253 7.02629 15.5747 7.02629 15.6225 6.92114L16.3199 5.38673C16.3334 5.35712 16.3571 5.33339 16.3867 5.31993L17.9211 4.62247C18.0263 4.57468 18.0263 4.42532 17.9211 4.37753L16.3867 3.68007C16.3571 3.66661 16.3334 3.64288 16.3199 3.61327L15.6225 2.07886C15.5747 1.97371 15.4253 1.97371 15.3775 2.07886L14.6801 3.61327C14.6666 3.64288 14.6429 3.66661 14.6133 3.68007L13.0788 4.37753C12.9737 4.42532 12.9737 4.57468 13.0788 4.62247L14.6133 5.31993C14.6429 5.33339 14.6666 5.35712 14.6801 5.38673L15.3775 6.92114Z",fill:"white"})]})})),j1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5606 8.06356C11.3013 6.8043 9.20382 6.8043 7.94457 8.06356C6.69372 9.3144 6.67492 11.3596 7.95054 12.6855C9.21044 13.9388 11.3033 13.9368 12.5606 12.6796C13.8199 11.4203 13.8199 9.32282 12.5606 8.06356ZM6.53035 6.64935C8.57066 4.60904 11.9345 4.60904 13.9748 6.64935C16.0151 8.68965 16.0151 12.0535 13.9748 14.0938C11.9345 16.1341 8.57066 16.1341 6.53035 14.0938L6.51847 14.0817C4.50049 11.9941 4.48356 8.69614 6.53035 6.64935Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.633 4C13.633 3.44772 14.0808 3 14.633 3H17.3637C17.7724 3 18.1399 3.24863 18.2919 3.62792C18.444 4.00721 18.3499 4.44085 18.0545 4.72311L14.2429 8.36401C13.8435 8.74549 13.2105 8.731 12.829 8.33163C12.4476 7.93227 12.4621 7.29927 12.8614 6.91779L14.8691 5H14.633C14.0808 5 13.633 4.55228 13.633 4Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.4206 3.05691C17.9729 3.05691 18.4206 3.50462 18.4206 4.05691V6.78758C18.4206 7.33987 17.9729 7.78758 17.4206 7.78758C16.8683 7.78758 16.4206 7.33987 16.4206 6.78758V4.05691C16.4206 3.50462 16.8683 3.05691 17.4206 3.05691Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3095 13.5813C10.8617 13.5813 11.3095 14.029 11.3095 14.5813V19.36C11.3095 19.9123 10.8617 20.36 10.3095 20.36C9.75718 20.36 9.30946 19.9123 9.30946 19.36V14.5813C9.30946 14.029 9.75718 13.5813 10.3095 13.5813Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.97708 17.4C6.97708 16.8477 7.42479 16.4 7.97708 16.4H12.5282C13.0805 16.4 13.5282 16.8477 13.5282 17.4C13.5282 17.9523 13.0805 18.4 12.5282 18.4H7.97708C7.42479 18.4 6.97708 17.9523 6.97708 17.4Z",fill:"white"})]})})),D1e=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M20.4721 5.06016L17.2515 3.07734C17.1724 3.02728 17.0824 3.0006 16.9907 3H14.9044C14.7661 3 14.6334 3.05926 14.5356 3.16475C14.4378 3.27024 14.3829 3.41332 14.3829 3.5625C14.3829 4.01005 14.218 4.43928 13.9246 4.75574C13.6312 5.07221 12.415 5.25 12 5.25C11.585 5.25 10.3688 5.07221 10.0754 4.75574C9.78198 4.43928 9.61713 4.01005 9.61713 3.5625C9.61713 3.41332 9.56217 3.27024 9.46436 3.16475C9.36655 3.05926 9.23389 3 9.09556 3H7.0093C6.91758 3.0006 6.82763 3.02728 6.74852 3.07734L3.52786 5.06016C3.29564 5.20123 3.12273 5.43335 3.04503 5.70831C2.96733 5.98327 2.99082 6.27994 3.11061 6.53672L4.31021 9.13125C4.39719 9.31742 4.53043 9.47386 4.69505 9.58312C4.85968 9.69237 5.04921 9.75015 5.24251 9.75H6.48774V19.875C6.48774 20.1734 6.59764 20.4595 6.79327 20.6705C6.98889 20.8815 7.25421 21 7.53087 21H16.4691C16.7458 21 17.0111 20.8815 17.2067 20.6705C17.4024 20.4595 17.5123 20.1734 17.5123 19.875V9.75H18.7575C18.9508 9.75015 19.1403 9.69237 19.3049 9.58312C19.4696 9.47386 19.6028 9.31742 19.6898 9.13125L20.8894 6.53672C21.0092 6.27994 21.0327 5.98327 20.955 5.70831C20.8773 5.43335 20.7044 5.20123 20.4721 5.06016Z",fill:"white"})})}));var Gb={},B1e=ir;Object.defineProperty(Gb,"__esModule",{value:!0});var SA=Gb.default=void 0,F1e=B1e(jr()),U1e=f;SA=Gb.default=(0,F1e.default)((0,U1e.jsx)("path",{d:"M7 7h10v1.79c0 .45.54.67.85.35l2.79-2.79c.2-.2.2-.51 0-.71l-2.79-2.79c-.31-.31-.85-.09-.85.36V5H6c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1zm10 10H7v-1.79c0-.45-.54-.67-.85-.35l-2.79 2.79c-.2.2-.2.51 0 .71l2.79 2.79c.31.31.85.09.85-.36V19h11c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1zm-4-2.75V9.81c0-.45-.36-.81-.81-.81-.13 0-.25.03-.36.09l-1.49.74c-.21.1-.34.32-.34.55 0 .34.28.62.62.62h.88v3.25c0 .41.34.75.75.75s.75-.34.75-.75"}),"RepeatOneRounded");var Kb={},H1e=ir;Object.defineProperty(Kb,"__esModule",{value:!0});var wA=Kb.default=void 0,V1e=H1e(jr()),z1e=f;wA=Kb.default=(0,V1e.default)((0,z1e.jsx)("path",{d:"M7 7h10v1.79c0 .45.54.67.85.35l2.79-2.79c.2-.2.2-.51 0-.71l-2.79-2.79c-.31-.31-.85-.09-.85.36V5H6c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1zm10 10H7v-1.79c0-.45-.54-.67-.85-.35l-2.79 2.79c-.2.2-.2.51 0 .71l2.79 2.79c.31.31.85.09.85-.36V19h11c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1z"}),"RepeatRounded");var st;(function(e){e.BaseMale="BaseMale",e.BaseFemale="BaseFemale",e.Unisex="Unisex",e.BodyShape="BodyShape",e.Earring="Earring",e.Eyebrows="Eyebrows",e.Eyes="Eyes",e.Eyewear="Eyewear",e.FacialHair="FacialHair",e.Feet="Feet",e.Hair="Hair",e.Hat="Hat",e.Helmet="Helmet",e.LowerBody="LowerBody",e.Mask="Mask",e.Mouth="Mouth",e.Tiara="Tiara",e.TopHead="TopHead",e.UpperBody="UpperBody",e.Skin="Skin",e.HandsWear="HandsWear",e.PlayOnce="PlayOnce",e.PlayLoop="PlayLoop",e.SmartWearable="SmartWearable",e.Sound="Sound",e.Props="Props",e.Sparkles="Sparkles",e.Places="Places",e.Utility="Utility"})(st||(st={}));const W1e=K(Gs)(e=>{const{inline:t,onClick:n}=e;return{display:t?"inline-flex":"flex",backgroundColor:ft.gray1,alignItems:"center",justifyContent:"center",color:bh.gray1,verticalAlign:"middle",fontSize:"13px",lineHeight:"inherit",textTransform:"uppercase",padding:"2px 8px",borderRadius:"5px",cursor:n?"pointer":"default","& + &":{marginLeft:"0.3em"}}}),q1e=K(Ne)({display:"flex","& svg path":{fill:bh.gray1}}),G1e=K(bt)({fontSize:"inherit",color:"inherit",":not(:first-child)":{paddingLeft:"0.3em"}}),K1e=e=>{const t={fontSize:"small",color:"inherit"};switch(e){case st.BaseFemale:return f.jsx(y1e,{...t});case st.BaseMale:return f.jsx(v1e,{...t});case st.Unisex:return f.jsx(j1e,{...t});case st.BodyShape:return f.jsx(_1e,{...t});case st.Earring:return f.jsx(b1e,{...t});case st.Eyebrows:return f.jsx(E1e,{...t});case st.Eyes:return f.jsx(C1e,{...t});case st.Eyewear:return f.jsx(S1e,{...t});case st.FacialHair:return f.jsx(w1e,{...t});case st.Feet:return f.jsx(x1e,{...t});case st.Hair:return f.jsx(M1e,{...t});case st.Hat:return f.jsx(T1e,{...t});case st.Helmet:return f.jsx(k1e,{...t});case st.LowerBody:return f.jsx(I1e,{...t});case st.Mask:return f.jsx(L1e,{...t});case st.Mouth:return f.jsx(O1e,{...t});case st.Tiara:return f.jsx(N1e,{...t});case st.TopHead:return f.jsx($1e,{...t});case st.UpperBody:return f.jsx(D1e,{...t});case st.Skin:return f.jsx(A1e,{...t});case st.HandsWear:return f.jsx(R1e,{...t});case st.PlayOnce:return f.jsx(SA,{...t});case st.PlayLoop:return f.jsx(wA,{...t});case st.SmartWearable:return f.jsx(P1e,{...t});case st.Sound:return f.jsx(Vpe,{...t});case st.Props:return f.jsx(Hpe,{...t});case st.Sparkles:return f.jsx(m1e,{...t});case st.Places:return f.jsx(h1e,{...t});case st.Utility:return f.jsx(g1e,{...t});default:return f.jsx(f.Fragment,{})}},xA=Y.memo(e=>{const{icon:t,text:n,children:r,...o}=e;return f.jsxs(W1e,{...o,children:[t&&f.jsx(q1e,{children:r?{children:r}:K1e(t)}),n?f.jsx(G1e,{children:n}):null]})}),Y1e=K(fe)(({theme:e})=>({fontSize:"36px",[e.breakpoints.down("xs")]:{fontSize:"32px"}})),ZC=Y.memo(e=>f.jsx(Y1e,{...e,children:f.jsxs("svg",{width:"90",height:"90",viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#paint0_linear_1_49380)"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00008 71.9996C11.5651 75.3971 14.6026 78.4346 18.0001 80.9996H72C75.3975 78.4346 78.435 75.3971 81 71.9996H9.00008Z",fill:"#FFA25A"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.3675 62.9997H3.75757C5.15257 66.2172 6.93007 69.2322 9.00006 71.9997H60.39V62.9997H60.3675Z",fill:"#FFC95B"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.8826 29.2496V62.9996H60.0075L31.8826 29.2496Z",fill:"url(#paint1_linear_1_49380)"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75757 62.9997H31.8826V29.2497L3.75757 62.9997Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.3675 47.25V72H81L60.3675 47.25Z",fill:"url(#paint2_linear_1_49380)"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.7574 72H60.3674V47.25L39.7574 72Z",fill:"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.3675 40.4997C66.5807 40.4997 71.6175 35.4629 71.6175 29.2497C71.6175 23.0365 66.5807 17.9997 60.3675 17.9997C54.1543 17.9997 49.1175 23.0365 49.1175 29.2497C49.1175 35.4629 54.1543 40.4997 60.3675 40.4997Z",fill:"#FFC95B"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.8824 22.4997C34.989 22.4997 37.5074 19.9813 37.5074 16.8747C37.5074 13.7681 34.989 11.2497 31.8824 11.2497C28.7758 11.2497 26.2574 13.7681 26.2574 16.8747C26.2574 19.9813 28.7758 22.4997 31.8824 22.4997Z",fill:"#FFC95B"}),f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"paint0_linear_1_49380",x1:"45",y1:"-18.6396",x2:"-18.6396",y2:"45",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#FF2D55"}),f.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),f.jsxs("linearGradient",{id:"paint1_linear_1_49380",x1:"31.8731",y1:"29.2497",x2:"31.8731",y2:"62.9996",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#A524B3"}),f.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),f.jsxs("linearGradient",{id:"paint2_linear_1_49380",x1:"60.3605",y1:"47.25",x2:"60.3605",y2:"72",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#A524B3"}),f.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})})),Z1e={[_e.Network.ETHEREUM]:"Ethereum",[_e.Network.MATIC]:"Polygon",[_e.Network.ARBITRUM]:"Arbitrum",[_e.Network.AVALANCHE]:"Avalanche",[_e.Network.FANTOM]:"Fantom",[_e.Network.BSC]:"Binance Smart Chain",[_e.Network.OPTIMISM]:"Optimism"},X1e=e=>Z1e[e],J1e=e=>{const t=X1e(e);return t?`${t} MANA`:"MANA"},Q1e=K(Gs)(e=>{const{inline:t,fontSize:n,href:r,onClick:o,theme:i}=e;return{display:t?"inline-flex":"flex",alignItems:"center",justifyContent:"center",color:i.palette.text.primary,verticalAlign:"middle",fontSize:n==="small"?"20px":n==="medium"?"24px":n==="large"?"36px":"inherit",lineHeight:"inherit",cursor:r||o?"pointer":"default","& + &":{marginLeft:"0.3em"}}}),ehe=K("div")(e=>{const{color:t,primary:n,theme:r}=e;return{display:"flex",paddingRight:"0.3em","& svg path":{fill:t||(n?r.palette.primary.main:r.palette.text.primary)}}}),XC=Y.memo(e=>{const{children:t,size:n,network:r,primary:o,color:i,...a}=e;return f.jsxs(Q1e,{fontSize:n,...a,children:[f.jsx(ehe,{primary:o,color:i,children:!r||r!==_e.Network.MATIC?f.jsx(zpe,{fontSize:n||"inherit"}):f.jsx(Wpe,{fontSize:n||"inherit"})}),t]})}),Z0=Y.memo(e=>{const{showTooltip:t,...n}=e;return t?f.jsx(Mq,{placement:"top",title:J1e(n.network||_e.Network.ETHEREUM),children:f.jsx(XC,{...n})}):f.jsx(XC,{...n})}),the="https://wearable-preview.decentraland.zone",nhe="https://decentraland.zone/account",rhe="https://decentraland.zone/profile",ohe="https://decentraland.zone/marketplace",ihe="https://decentraland.zone/builder",ahe="https://decentraland.zone/dao",she="https://decentraland.zone/governance",lhe="https://decentraland.zone/events",che="https://decentraland.zone/places",uhe="https://decentraland.org/create/",dhe="https://docs.decentraland.org/player/",fhe="https://decentraland.zone/download/creator-hub/",phe="https://decentraland.zone/download/",hhe="https://decentraland.zone/download_success/",mhe="ea2ybdmmn1kv",ghe="master",yhe="18g1DzIyBxvu0steSwKyQr",vhe="https://cms.decentraland.org",_he="https://decentraland.zone/marketplace/names/claim",bhe="https://decentraland.zone/marketplace/browse?assetType=item§ion=wearables",Ehe="https://decentraland.zone/marketplace/lands",Che="https://decentraland.zone/marketplace/browse?assetType=item§ion=emotes",She="https://decentraland.zone/marketplace/account",whe="https://decentraland.zone/create/",xhe="https://studios.decentraland.zone/",Mhe="https://decentraland.zone/builder/collections",Rhe="https://decentraland.zone/builder/names",The="https://decentraland.zone/builder/worlds?tab=dcl",khe="https://decentraland.zone/builder/land",Ihe="https://decentraland.zone/events/me/",Lhe="https://decentraland.zone/places/favorites/",Ohe="https://docs.decentraland.org/player/",Ahe="https://docs.decentraland.org/creator/",Phe="https://decentraland.zone/blog/",Nhe="https://docs.decentraland.org/contributor/",$he="https://decentraland.zone/governance/transparency/",jhe="https://decentraland.zone/governance/proposals/",Dhe="https://decentraland.zone/dao/grants/",Bhe="https://decentraland.zone/governance/projects/",Fhe="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Uhe="https://decentraland.zone/marketplace/settings",Hhe={WEARABLE_PREVIEW_URL:the,ACCOUNT_URL:nhe,PROFILE_URL:rhe,MARKETPLACE_URL:ohe,BUILDER_URL:ihe,DAO_URL:ahe,GOVERNANCE_URL:she,EVENTS_URL:lhe,PLACES_URL:che,CREATE_URL:uhe,LEARN_URL:dhe,CREATOR_HUB_URL:fhe,DOWNLOAD_URL:phe,DOWNLOAD_SUCCESS_URL:hhe,CONTENTFUL_SPACE_ID:mhe,CONTENTFUL_ENV:ghe,CONTENTFUL_NAVBAR_ENTRY_ID:yhe,CONTENTFUL_CONTENTFUL_CDN_URL:vhe,MARKETPLACE_NAMES_URL:_he,MARKETPLACE_WEARABLES_URL:bhe,MARKETPLACE_LANDS_URL:Ehe,MARKETPLACE_EMOTES_URL:Che,MARKETPLACE_MY_ASSETS_URL:She,LANDING_CREATORS_URL:whe,STUDIOS_URL:xhe,BUILDER_WEARABLE_EMOTES_URL:Mhe,BUILDER_NAMES_URL:Rhe,BUILDER_WORLDS_URL:The,BUILDER_LAND_URL:khe,EVENTS_MY_EVENTS:Ihe,PLACES_MY_FAVORITE_URL:Lhe,DOCS_ABOUT_URL:Ohe,DOCS_CREATORS_URL:Ahe,BLOG_URL:Phe,DOCS_CONTRIBUTOR_URL:Nhe,GOVERNANCE_TRANSPARENCY_URL:$he,GOVERNANCE_PROPOSALS_URL:jhe,DAO_GRANTS_URL:Dhe,GOVERNANCE_PROJECTS_URL:Bhe,DOCS_DAO_URL:Fhe,MARKETPLACE_SETTINGS_URL:Uhe},Vhe="https://wearable-preview.decentraland.org",zhe="https://decentraland.org/account",Whe="https://decentraland.org/profile",qhe="https://decentraland.org/marketplace",Ghe="https://decentraland.org/builder",Khe="https://decentraland.org/dao",Yhe="https://decentraland.org/governance",Zhe="https://decentraland.org/events",Xhe="https://decentraland.org/places",Jhe="https://decentraland.org/create/",Qhe="https://docs.decentraland.org/player/",eme="https://decentraland.org/download/creator-hub/",tme="https://decentraland.org/download/",nme="https://decentraland.org/download_success/",rme="ea2ybdmmn1kv",ome="master",ime="18g1DzIyBxvu0steSwKyQr",ame="https://cms.decentraland.org",sme="https://decentraland.org/marketplace/names/claim",lme="https://decentraland.org/marketplace/browse?assetType=item§ion=wearables",cme="https://decentraland.org/marketplace/lands",ume="https://decentraland.org/marketplace/browse?assetType=item§ion=emotes",dme="https://decentraland.org/marketplace/account",fme="https://decentraland.org/create/",pme="https://studios.decentraland.org/",hme="https://decentraland.org/builder/collections",mme="https://decentraland.org/builder/names",gme="https://decentraland.org/builder/worlds?tab=dcl",yme="https://decentraland.org/builder/land",vme="https://decentraland.org/events/me/",_me="https://decentraland.org/places/favorites/",bme="https://docs.decentraland.org/player/",Eme="https://docs.decentraland.org/creator/",Cme="https://decentraland.org/blog/",Sme="https://docs.decentraland.org/contributor/",wme="https://decentraland.org/governance/transparency/",xme="https://decentraland.org/governance/proposals/",Mme="https://decentraland.org/dao/grants/",Rme="https://decentraland.org/governance/projects/",Tme="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",kme="https://decentraland.org/marketplace/settings",Ime={WEARABLE_PREVIEW_URL:Vhe,ACCOUNT_URL:zhe,PROFILE_URL:Whe,MARKETPLACE_URL:qhe,BUILDER_URL:Ghe,DAO_URL:Khe,GOVERNANCE_URL:Yhe,EVENTS_URL:Zhe,PLACES_URL:Xhe,CREATE_URL:Jhe,LEARN_URL:Qhe,CREATOR_HUB_URL:eme,DOWNLOAD_URL:tme,DOWNLOAD_SUCCESS_URL:nme,CONTENTFUL_SPACE_ID:rme,CONTENTFUL_ENV:ome,CONTENTFUL_NAVBAR_ENTRY_ID:ime,CONTENTFUL_CONTENTFUL_CDN_URL:ame,MARKETPLACE_NAMES_URL:sme,MARKETPLACE_WEARABLES_URL:lme,MARKETPLACE_LANDS_URL:cme,MARKETPLACE_EMOTES_URL:ume,MARKETPLACE_MY_ASSETS_URL:dme,LANDING_CREATORS_URL:fme,STUDIOS_URL:pme,BUILDER_WEARABLE_EMOTES_URL:hme,BUILDER_NAMES_URL:mme,BUILDER_WORLDS_URL:gme,BUILDER_LAND_URL:yme,EVENTS_MY_EVENTS:vme,PLACES_MY_FAVORITE_URL:_me,DOCS_ABOUT_URL:bme,DOCS_CREATORS_URL:Eme,BLOG_URL:Cme,DOCS_CONTRIBUTOR_URL:Sme,GOVERNANCE_TRANSPARENCY_URL:wme,GOVERNANCE_PROPOSALS_URL:xme,DAO_GRANTS_URL:Mme,GOVERNANCE_PROJECTS_URL:Rme,DOCS_DAO_URL:Tme,MARKETPLACE_SETTINGS_URL:kme},Lme="https://wearable-preview.decentraland.today",Ome="https://decentraland.today/account",Ame="https://decentraland.today/profile",Pme="https://decentraland.today/marketplace",Nme="https://decentraland.today/builder",$me="https://decentraland.today/dao",jme="https://decentraland.today/governance",Dme="https://decentraland.zone/events",Bme="https://decentraland.zone/places",Fme="https://decentraland.today/create/",Ume="https://docs.decentraland.org/player/",Hme="https://decentraland.today/download/creator-hub/",Vme="https://decentraland.today/download/",zme="https://decentraland.today/download_success/",Wme="ea2ybdmmn1kv",qme="master",Gme="18g1DzIyBxvu0steSwKyQr",Kme="https://cms.decentraland.org",Yme="https://decentraland.today/marketplace/names/claim",Zme="https://decentraland.today/marketplace/browse?assetType=item§ion=wearables",Xme="https://decentraland.today/marketplace/lands",Jme="https://decentraland.today/marketplace/browse?assetType=item§ion=emotes",Qme="https://decentraland.today/marketplace/account",e0e="https://decentraland.today/create/",t0e="https://studios.decentraland.today/",n0e="https://decentraland.today/builder/collections",r0e="https://decentraland.today/builder/names",o0e="https://decentraland.today/builder/worlds?tab=dcl",i0e="https://decentraland.today/builder/land",a0e="https://decentraland.today/events/me/",s0e="https://decentraland.today/places/favorites/",l0e="https://docs.decentraland.org/player/",c0e="https://docs.decentraland.org/creator/",u0e="https://decentraland.today/blog/",d0e="https://docs.decentraland.org/contributor/",f0e="https://decentraland.today/governance/transparency/",p0e="https://decentraland.today/governance/proposals/",h0e="https://decentraland.today/dao/grants/",m0e="https://decentraland.today/governance/projects/",g0e="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",y0e="https://decentraland.today/marketplace/settings",v0e={WEARABLE_PREVIEW_URL:Lme,ACCOUNT_URL:Ome,PROFILE_URL:Ame,MARKETPLACE_URL:Pme,BUILDER_URL:Nme,DAO_URL:$me,GOVERNANCE_URL:jme,EVENTS_URL:Dme,PLACES_URL:Bme,CREATE_URL:Fme,LEARN_URL:Ume,CREATOR_HUB_URL:Hme,DOWNLOAD_URL:Vme,DOWNLOAD_SUCCESS_URL:zme,CONTENTFUL_SPACE_ID:Wme,CONTENTFUL_ENV:qme,CONTENTFUL_NAVBAR_ENTRY_ID:Gme,CONTENTFUL_CONTENTFUL_CDN_URL:Kme,MARKETPLACE_NAMES_URL:Yme,MARKETPLACE_WEARABLES_URL:Zme,MARKETPLACE_LANDS_URL:Xme,MARKETPLACE_EMOTES_URL:Jme,MARKETPLACE_MY_ASSETS_URL:Qme,LANDING_CREATORS_URL:e0e,STUDIOS_URL:t0e,BUILDER_WEARABLE_EMOTES_URL:n0e,BUILDER_NAMES_URL:r0e,BUILDER_WORLDS_URL:o0e,BUILDER_LAND_URL:i0e,EVENTS_MY_EVENTS:a0e,PLACES_MY_FAVORITE_URL:s0e,DOCS_ABOUT_URL:l0e,DOCS_CREATORS_URL:c0e,BLOG_URL:u0e,DOCS_CONTRIBUTOR_URL:d0e,GOVERNANCE_TRANSPARENCY_URL:f0e,GOVERNANCE_PROPOSALS_URL:p0e,DAO_GRANTS_URL:h0e,GOVERNANCE_PROJECTS_URL:m0e,DOCS_DAO_URL:g0e,MARKETPLACE_SETTINGS_URL:y0e},Se=Sa.createConfig({[Sa.Env.DEVELOPMENT]:Hhe,[Sa.Env.STAGING]:v0e,[Sa.Env.PRODUCTION]:Ime});var Yb={},_0e=ir;Object.defineProperty(Yb,"__esModule",{value:!0});var MA=Yb.default=void 0,b0e=_0e(jr()),E0e=f;MA=Yb.default=(0,b0e.default)((0,E0e.jsx)("path",{d:"M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1"}),"ArrowForwardRounded");const C0e=K(Ne,{shouldForwardProp:e=>!["active","backgroundColor"].includes(e)})(e=>{const{active:t,backgroundColor:n,theme:r}=e;let o;return t&&(o={fontWeight:"bold",color:r.palette.text.primary}),{backgroundColor:n||"transparent",display:"flex",cursor:"pointer",alignItems:"center",margin:"0 0 0 0",padding:"0 10px",border:0,color:r.palette.text.secondary,fontWeight:"normal",...o,"& :hover":{color:r.palette.text.primary},[r.breakpoints.down("sm")]:{padding:"40px 0 23.66px",fontSize:"20px",fontStyle:"normal",fontWeight:"normal",lineHeight:"18px",color:r.palette.text.primary,borderBottomColor:r.palette.text.primary,borderBottomStyle:"solid",borderBottomWidth:"1px",width:"calc(100% - 50px)",margin:"0 25px",justifyContent:"space-between"}}}),S0e=K(bt,{shouldForwardProp:e=>e!=="textColor"})(e=>{const{textColor:t,theme:n}=e;return{textTransform:"capitalize",fontWeight:"inherit",fontSize:"16px",color:t||n.palette.text.secondary,[n.breakpoints.down("sm")]:{color:t||n.palette.text.primary}}}),yl=e=>{const{activePage:t,section:n,title:r,onToggleShowSubMenu:o,mainUrl:i,isMobile:a,textColor:s,backgroundColor:l,isExtraButton:c}=e,u=M.useCallback(()=>{i&&window.open(i,"_self")},[i]);return f.jsxs(C0e,{active:t===n,onClick:d=>{a&&!c&&o(d,!0,n)},onMouseEnter:d=>!a&&o(d,!0,n),onMouseLeave:d=>!a&&o(d,!1,n),backgroundColor:l,"aria-label":`${r} menu item`,children:[f.jsx(S0e,{variant:"subtitle1",onClick:u,textColor:s,"aria-label":`${r}`,children:r}),a&&f.jsx(MA,{"aria-label":"forward arrow icon"})]})};var Mr;(function(e){e.MARKETPLACE="marketplace",e.CREATE="create",e.EXPLORE="explore",e.LEARN="learn",e.GOVERNANCE="governance",e.EXTRA="extra"})(Mr||(Mr={}));const w0e=async()=>{const e=localStorage.getItem("navbarExtraButton");if(e)try{const t=JSON.parse(e);if(t.expiresAt>Date.now())return t.button}catch{}try{const t=Se.get("CONTENTFUL_SPACE_ID"),n=Se.get("CONTENTFUL_ENV"),r=Se.get("CONTENTFUL_NAVBAR_ENTRY_ID"),i=`${Se.get("CONTENTFUL_CONTENTFUL_CDN_URL")}/spaces/${t}/environments/${n}/entries/${r}`,l=(await(await fetch(i)).json()).fields;return localStorage.setItem("navbarExtraButton",JSON.stringify({button:l,expiresAt:Date.now()+l.ttl*1e3})),l}catch(t){return console.error(t),null}},x0e=K(Ne,{shouldForwardProp:e=>e!=="isOpenOnMobile"})(e=>{const{isOpenOnMobile:t,theme:n}=e;let r;return t&&(r={top:"56px"}),{display:"flex",height:"64px",marginLeft:"10px",[n.breakpoints.down("sm")]:{position:"absolute",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",backgroundColor:n.palette.background.default,width:"100vw",height:"100vh",top:"-150vh",left:0,marginLeft:0,zIndex:_f.mobileStepper,transition:`${n.transitions.create(["top"],{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeInOut})}`,...r}}}),JC=e=>{const{i18n:t,isOpenOnMobile:n,...r}=e,[o,i]=M.useState(null);return M.useEffect(()=>{let a=!0;return o||w0e().then(s=>{a&&i(s)}),()=>{a=!1}},[o,i]),f.jsxs(x0e,{isOpenOnMobile:n,"aria-label":"main menu",children:[f.jsx(yl,{...r,section:Mr.MARKETPLACE,title:t.marketplace,mainUrl:Se.get("MARKETPLACE_URL"),"aria-label":`${t.marketplace} menu item`}),f.jsx(yl,{...r,section:Mr.CREATE,title:t.create,mainUrl:Se.get("CREATE_URL"),"aria-label":`${t.create} menu item`}),f.jsx(yl,{...r,section:Mr.LEARN,title:t.learn,mainUrl:Se.get("LEARN_URL"),"aria-label":`${t.learn} menu item`}),f.jsx(yl,{...r,section:Mr.GOVERNANCE,title:t.governance,mainUrl:Se.get("GOVERNANCE_URL"),"aria-label":`${t.governance} menu item`}),f.jsx(yl,{...r,section:Mr.EXPLORE,title:t.explore,mainUrl:Se.get("EVENTS_URL"),"aria-label":`${t.explore} menu item`}),o&&o.visible?f.jsx(yl,{...r,section:Mr.EXTRA,title:o.text,mainUrl:o.link,textColor:o.textColor,backgroundColor:o.backgroundColor,isExtraButton:!0,"aria-label":`${o.text} menu item`}):null]})},M0e={marketplace:"shop",create:"create",learn:"learn",governance:"vote",explore:"events"},R0e={title:"Select a network",connected:"Connected",confirmInWallet:"Confirm in wallet"},T0e={marketplace:{column1:[{title:"Overview",description:"See what's trending & new",url:Se.get("MARKETPLACE_URL"),eventTrackingName:"marketplace_overview"},{title:"NAMEs",description:"Claim a NAME, get a whole World",url:Se.get("MARKETPLACE_NAMES_URL"),eventTrackingName:"marketplace_names"}],column2:[{title:"Wearables",description:"Customize your digital identity",url:Se.get("MARKETPLACE_WEARABLES_URL"),eventTrackingName:"marketplace_wearables"},{title:"LAND",description:"Buy or Rent parcels on the Genesis City map",url:Se.get("MARKETPLACE_LANDS_URL"),eventTrackingName:"marketplace_lands"}],column3:[{title:"Emotes",description:"Animate your avatar",url:Se.get("MARKETPLACE_EMOTES_URL"),eventTrackingName:"marketplace_emotes"},{title:"My Assets",description:"Manage your assets, listings, bids, & more",url:Se.get("MARKETPLACE_MY_ASSETS_URL"),eventTrackingName:"marketplace_my_assets"}]},create:{column1:[{title:"Create in Decentraland",description:"Discover all the benefits and possibilities",url:Se.get("LANDING_CREATORS_URL"),eventTrackingName:"landing_creators"},{title:"Decentraland Studios",description:"Hire pros to transform your ideas to reality",url:Se.get("STUDIOS_URL"),eventTrackingName:"studios",isExternal:!0}],column2Title:"PUBLISH",column2:[{title:"Wearables & Emotes",description:"Publish & manage Marketplace collections",url:Se.get("BUILDER_WEARABLE_EMOTES_URL"),eventTrackingName:"builder_wearables_emotes"},{title:"Scenes",description:"Create & publish scenes to LAND or Worlds",url:Se.get("CREATOR_HUB_URL"),eventTrackingName:"creator_hub_scenes"}],column3Title:"MANAGE",column3:[{title:"My NAMEs",description:"Create & manage NAMEs",url:Se.get("BUILDER_NAMES_URL"),eventTrackingName:"builder_names"},{title:"My Worlds",description:"Manage Worlds & Worlds storage",url:Se.get("BUILDER_WORLDS_URL"),eventTrackingName:"builder_worlds"},{title:"My LAND",description:"Manage parcel permissions & more",url:Se.get("BUILDER_LAND_URL"),eventTrackingName:"builder_land"}]},explore:{column1:[{title:"Events",description:"Find an event to jump into",url:Se.get("EVENTS_URL"),eventTrackingName:"events"},{title:"My Events",description:"See saved events & events you’re hosting",url:Se.get("EVENTS_MY_EVENTS"),eventTrackingName:"events_my_events"}],column2:[{title:"Places",description:"Browse locations in Genesis City & Worlds",url:Se.get("PLACES_URL"),eventTrackingName:"places"},{title:"My Favorite Places",description:"See your saved locations",url:Se.get("PLACES_MY_FAVORITE_URL"),eventTrackingName:"places_my_favorite"}]},learn:{column1:[{title:"About Decentraland",description:"FAQs, Whitepaper, & DAO docs",url:Se.get("DOCS_ABOUT_URL"),eventTrackingName:"docs_about"},{title:"Creator Docs",description:"Make Wearables, Emotes, scenes, games, & more",url:Se.get("DOCS_CREATORS_URL"),eventTrackingName:"docs_creators"}],column2:[{title:"Blog",description:"News, Community Highlights, & more",url:Se.get("BLOG_URL"),eventTrackingName:"blog",isExternal:!0},{title:"Open Protocol Docs",description:"See how Decentraland works & contribute",url:Se.get("DOCS_CONTRIBUTOR_URL"),eventTrackingName:"docs_contributor"}]},governance:{column1:[{title:"Overview",description:"The latest in Decentraland governance",url:Se.get("GOVERNANCE_URL"),eventTrackingName:"governance_overview"},{title:"DAO Transparency",description:"Treasury, Activity Dashboards, & more",url:Se.get("GOVERNANCE_TRANSPARENCY_URL"),eventTrackingName:"governance_transparency"}],column2:[{title:"Proposals",description:"Vote on active proposals",url:Se.get("GOVERNANCE_PROPOSALS_URL"),eventTrackingName:"governance_proposals"},{title:"DAO Grants",description:"Community grants overview, highlights, & resources",url:Se.get("DAO_GRANTS_URL"),eventTrackingName:"dao_grants",isExternal:!0}],column3:[{title:"Active Grants",description:"Browse grant-funded community projects",url:Se.get("GOVERNANCE_PROJECTS_URL"),eventTrackingName:"governance_active_grants"},{title:"DAO Docs",description:"Learn about the DAO & how to participate",url:Se.get("DOCS_DAO_URL"),eventTrackingName:"docs_dao"}]}},k0e=K(Ne)(e=>{const{theme:t}=e;return{display:"flex",flexFlow:"column nowrap",justifyContent:"center",height:"100%",flexWrap:"nowrap",marginRight:"56px",flex:1,maxWidth:"350px","&:hover":{borderBottomColor:"blue"},[t.breakpoints.down("sm")]:{maxWidth:"100%",width:"100%"}}});K(bt)(()=>({fontSize:"18px",fontWeight:600,lineHeight:"18px",marginBottom:"6px","&:hover":{color:"blue"}}));const N2=e=>{const{children:t,title:n}=e;return f.jsxs(k0e,{children:[!!n&&f.jsx(bt,{variant:"body2",children:n}),t]})};var Zb={},I0e=ir;Object.defineProperty(Zb,"__esModule",{value:!0});var Xb=Zb.default=void 0,L0e=I0e(jr()),O0e=f;Xb=Zb.default=(0,L0e.default)((0,O0e.jsx)("path",{d:"M6 7c0 .55.45 1 1 1h7.59l-8.88 8.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L16 9.41V17c0 .55.45 1 1 1s1-.45 1-1V7c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1"}),"ArrowOutwardRounded");const A0e=K(Ne,{shouldForwardProp:e=>e!=="isExternal"})(e=>{const{isExternal:t,theme:n}=e;let r={};return t&&(r={backgroundImage:`url(${Xb})`}),{display:"flex",padding:0,width:"100%",borderBottomColor:n.palette.text.secondary,color:n.palette.text.secondary,borderBottomStyle:"solid",marginBottom:"6px",paddingBottom:"16px",height:"77.5px",cursor:"pointer",marginTop:"52px",position:"relative",...r,"&:not(:first-child)":{marginTop:"32px"},"&:hover":{borderBottomColor:n.palette.text.primary,color:n.palette.text.primary},[n.breakpoints.down("sm")]:{color:n.palette.text.primary,borderBottomColor:n.palette.text.primary}}}),P0e=K(bn,{shouldForwardProp:e=>e!=="isExternal"})(e=>{const{isExternal:t}=e;return{textDecoration:"none",color:"inherit","&:hover":{color:"inherit"},...t&&{paddingRight:"32px"}}}),N0e=K(bt)(()=>({fontSize:"18px",fontWeight:600,lineHeight:"18px",marginBottom:"6px",textDecoration:"none",color:"inherit","&:hover":{color:"inherit"}})),$0e=K(bt)(()=>({fontSize:"14px",fontWeight:400,lineHeight:"18px",textDecoration:"none",color:"inherit","&:hover":{color:"inherit"}})),j0e=K(Xb)({position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"}),$2=e=>{const{title:t,description:n,href:r,isExternal:o,eventTrackingName:i,onClickMenuOption:a}=e,s=M.useCallback(l=>{l.preventDefault(),a&&a(l,{eventTrackingName:i,url:r,isExternal:o}),setTimeout(()=>{window.open(r,o?"_blank":"_self","noopener")},a?300:0)},[a,i,r,o]);return f.jsx(A0e,{isExternal:o,"aria-label":"submenu item",children:f.jsxs(P0e,{href:r,onClick:s,isExternal:o,"aria-label":`${t} - ${o?"opens in new tab":"opens in same tab"}`,children:[f.jsx(N0e,{"aria-label":t,children:t}),f.jsx($0e,{"aria-label":n,children:n}),o&&f.jsx(j0e,{"aria-label":"external link icon"})]})})},D0e="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/create-submenu-DEFVbrc5.png",B0e="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/explore-submenu-KVl6Dc-h.png",F0e="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/governance-submenu-CXxLX9nT.png",U0e="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/learn-submenu-Xs1jOwfy.png",H0e="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/marketplace-submenu-CjxTqNhj.png",V0e=K(Ne)(e=>{const{theme:t}=e;return{[t.breakpoints.down("sm")]:{position:"absolute",zIndex:_f.modal}}}),z0e=K(Ne,{shouldForwardProp:e=>!["active","section","isMobile"].includes(e)})(e=>{const{active:t,section:n,theme:r}=e;let o,i,a;const s={opacity:1,top:"-200%",width:"100%",backgroundSize:"100% 100%",backgroundPosition:"0px 0px, 0px 0px",position:"fixed",zIndex:1099,left:0,paddingLeft:"370px",paddingRight:"48px",height:"328px",minHeight:"calc(390px + 64px)",boxShadow:"none",backgroundRepeat:"no-repeat",display:"flex",alignItems:"center",paddingTop:"64px",backgroundColor:r.palette.background.default,transition:`${r.transitions.create(["box-shadow","height"],{duration:r.transitions.duration.shorter,easing:r.transitions.easing.easeInOut})}, ${r.transitions.create(["top","left"],{duration:r.transitions.duration.complex,easing:"cubic-bezier(1, 0, 0.15, 1)"})}`};switch(t&&(o={opacity:1,top:0,zIndex:1099,boxShadow:r.shadows[20]},i={left:0}),n){case Mr.MARKETPLACE:o={...o,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#691fa933 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #691fa933 0%, #073aff00 100%)"},a={backgroundImage:`url(${H0e})`};break;case Mr.CREATE:o={...o,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#ff743933 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #ff743933 0%, #073aff00 100%)"},a={backgroundImage:`url(${D0e})`};break;case Mr.EXPLORE:o={...o,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#3dd0ff33 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #3dd0ff33 0%, #073aff00 100%)"},a={backgroundImage:`url(${B0e})`};break;case Mr.LEARN:o={...o,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#a6746433 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #a6746433 0%, #073aff00 100%)"},a={backgroundImage:`url(${U0e})`};break;case Mr.GOVERNANCE:o={...o,backgroundImage:"radial-gradient(350px 200px at 400px 120%,#ff3dec33 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #ff3dec33 0%, #073aff00 100%)"},a={backgroundImage:`url(${F0e})`};break}return{...s,...o,"&::after":{content:'""',position:"absolute",width:"370px",height:"calc(100% - 64px)",top:"64px",backgroundRepeat:"no-repeat",backgroundPosition:"bottom center",left:0,backgroundSize:"auto 90%",...a,[r.breakpoints.between("sm","lg")]:{backgroundImage:"none"}},[r.breakpoints.down("lg")]:{paddingLeft:"48px","&::after":{content:"none"}},[r.breakpoints.down("sm")]:{top:"64px",left:"150%",height:"100vh",padding:"0 25px",margin:0,alignItems:"flex-start",boxShadow:"none",backgroundColor:r.palette.background.default,...i,"&::after":{content:"none"}}}}),W0e=K(Ne)(e=>{const{theme:t}=e;return{width:"100%",display:"flex",alignItems:"flex-start",height:"fit-content",[t.breakpoints.down("sm")]:{flexDirection:"column"}}}),q0e=K(Ji)({padding:"0"}),QC=e=>{const{selectedMenu:t,onToggleShowSubMenu:n,onClickMenuOption:r,isMobile:o,submenus:i}=e;return f.jsx(V0e,{children:Object.keys(i).map(a=>{const s=a,l=i[s];return f.jsx(z0e,{onMouseEnter:c=>!o&&n(c,!0,s),onMouseLeave:c=>!o&&n(c,!1,s),active:t===s,section:s,isMobile:o,"aria-label":`${s.toLowerCase()} submenu section`,children:f.jsxs(W0e,{children:[o&&f.jsx(q0e,{variant:"text",color:"inherit",onClick:c=>n(c,!1,s),startIcon:f.jsx(Wb,{}),"aria-label":"back to main menu",children:"Back"}),f.jsx(N2,{title:l.column1Title,children:l.column1.map((c,u)=>f.jsx($2,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:r},u))}),f.jsx(N2,{title:l.column2Title,children:l.column2.map((c,u)=>f.jsx($2,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:r},u))}),!!l.column3&&f.jsx(N2,{title:l.column3Title,children:l.column3.map((c,u)=>f.jsx($2,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:r},u))})]})},a)})})};var Jb={},G0e=ir;Object.defineProperty(Jb,"__esModule",{value:!0});var RA=Jb.default=void 0,K0e=G0e(jr()),Y0e=f;RA=Jb.default=(0,K0e.default)((0,Y0e.jsx)("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download");const Mn=[];for(let e=0;e<256;++e)Mn.push((e+256).toString(16).slice(1));function Z0e(e,t=0){return(Mn[e[t+0]]+Mn[e[t+1]]+Mn[e[t+2]]+Mn[e[t+3]]+"-"+Mn[e[t+4]]+Mn[e[t+5]]+"-"+Mn[e[t+6]]+Mn[e[t+7]]+"-"+Mn[e[t+8]]+Mn[e[t+9]]+"-"+Mn[e[t+10]]+Mn[e[t+11]]+Mn[e[t+12]]+Mn[e[t+13]]+Mn[e[t+14]]+Mn[e[t+15]]).toLowerCase()}let j2;const X0e=new Uint8Array(16);function J0e(){if(!j2){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");j2=crypto.getRandomValues.bind(crypto)}return j2(X0e)}const Q0e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),eS={randomUUID:Q0e};function ege(e,t,n){var o;if(eS.randomUUID&&!t&&!e)return eS.randomUUID();e=e||{};const r=e.random??((o=e.rng)==null?void 0:o.call(e))??J0e();if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=r[6]&15|64,r[8]=r[8]&63|128,Z0e(r)}const TA={account:"Account Settings",activity:"Activity",guest:"Guest",download:"Download",marketplaceAuthorizations:"Marketplace Authorizations",myAssets:"My Assets",myLists:"My Lists",profile:"Profile",signIn:"Sign In",signOut:"Log Out",viewProfile:"View Profile"};var Qb={},tge=ir;Object.defineProperty(Qb,"__esModule",{value:!0});var Xu=Qb.default=void 0,nge=tge(jr()),rge=f;Xu=Qb.default=(0,nge.default)((0,rge.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");var e6={},oge=ir;Object.defineProperty(e6,"__esModule",{value:!0});var kA=e6.default=void 0,ige=oge(jr()),age=f;kA=e6.default=(0,ige.default)((0,age.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"}),"Logout");var t6={},sge=ir;Object.defineProperty(t6,"__esModule",{value:!0});var IA=t6.default=void 0,lge=sge(jr()),cge=f;IA=t6.default=(0,lge.default)((0,cge.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 16.5c-.83 0-1.5-.67-1.5-1.5h3c0 .83-.67 1.5-1.5 1.5m4-2.5H8c-.55 0-1-.45-1-1s.45-1 1-1v-3c0-1.86 1.28-3.41 3-3.86V6.5c0-.55.45-1 1-1s1 .45 1 1v.64c1.72.45 3 2 3 3.86v3c.55 0 1 .45 1 1s-.45 1-1 1"}),"CircleNotificationsRounded");function gn(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function uge(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const dge=36e5,Qp=43200,tS=1440;let fge={};function LA(){return fge}function nS(e,t){var s,l,c,u;const n=LA(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,o=gn(e),i=o.getDay(),a=(i<r?7:0)+i-r;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}function rS(e){const t=gn(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function H1(e,t){const n=gn(e),r=gn(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function pge(e){return uge(e,Date.now())}function hge(e,t){const n=gn(e),r=gn(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return o*12+i}function OA(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return r===0?0:r}}function AA(e,t){return+gn(e)-+gn(t)}function mge(e,t,n){const r=AA(e,t)/dge;return OA(n==null?void 0:n.roundingMethod)(r)}function gge(e){const t=gn(e);return t.setHours(23,59,59,999),t}function yge(e){const t=gn(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function vge(e){const t=gn(e);return+gge(t)==+yge(t)}function _ge(e,t){const n=gn(e),r=gn(t),o=H1(n,r),i=Math.abs(hge(n,r));let a;if(i<1)a=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-o*i);let s=H1(n,r)===-o;vge(gn(e))&&i===1&&H1(e,r)===1&&(s=!1),a=o*(i-Number(s))}return a===0?0:a}function bge(e,t,n){const r=AA(e,t)/1e3;return OA(n==null?void 0:n.roundingMethod)(r)}const Ege={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Cge=(e,t,n)=>{let r;const o=Ege[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Ii(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Sge={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},wge={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},xge={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Mge={date:Ii({formats:Sge,defaultWidth:"full"}),time:Ii({formats:wge,defaultWidth:"full"}),dateTime:Ii({formats:xge,defaultWidth:"full"})},Rge={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Tge=(e,t,n,r)=>Rge[e];function Zn(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):a;o=e.formattingValues[s]||e.formattingValues[a]}else{const a=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(t):t;return o[i]}}const kge={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ige={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Lge={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Oge={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Age={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Pge={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Nge=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},$ge={ordinalNumber:Nge,era:Zn({values:kge,defaultWidth:"wide"}),quarter:Zn({values:Ige,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Zn({values:Lge,defaultWidth:"wide"}),day:Zn({values:Oge,defaultWidth:"wide"}),dayPeriod:Zn({values:Age,defaultWidth:"wide",formattingValues:Pge,defaultFormattingWidth:"wide"})};function Xn(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Dge(s,d=>d.test(a)):jge(s,d=>d.test(a));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(a.length);return{value:c,rest:u}}}function jge(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Dge(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function n6(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const s=t.slice(o.length);return{value:a,rest:s}}}const Bge=/^(\d+)(th|st|nd|rd)?/i,Fge=/\d+/i,Uge={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Hge={any:[/^b/i,/^(a|c)/i]},Vge={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},zge={any:[/1/i,/2/i,/3/i,/4/i]},Wge={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},qge={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Gge={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Kge={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Yge={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Zge={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Xge={ordinalNumber:n6({matchPattern:Bge,parsePattern:Fge,valueCallback:e=>parseInt(e,10)}),era:Xn({matchPatterns:Uge,defaultMatchWidth:"wide",parsePatterns:Hge,defaultParseWidth:"any"}),quarter:Xn({matchPatterns:Vge,defaultMatchWidth:"wide",parsePatterns:zge,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Xn({matchPatterns:Wge,defaultMatchWidth:"wide",parsePatterns:qge,defaultParseWidth:"any"}),day:Xn({matchPatterns:Gge,defaultMatchWidth:"wide",parsePatterns:Kge,defaultParseWidth:"any"}),dayPeriod:Xn({matchPatterns:Yge,defaultMatchWidth:"any",parsePatterns:Zge,defaultParseWidth:"any"})},PA={code:"en-US",formatDistance:Cge,formatLong:Mge,formatRelative:Tge,localize:$ge,match:Xge,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Jge(e,t,n){const r=LA(),o=(n==null?void 0:n.locale)??r.locale??PA,i=2520,a=H1(e,t);if(isNaN(a))throw new RangeError("Invalid time value");const s=Object.assign({},n,{addSuffix:n==null?void 0:n.addSuffix,comparison:a});let l,c;a>0?(l=gn(t),c=gn(e)):(l=gn(e),c=gn(t));const u=bge(c,l),d=(rS(c)-rS(l))/1e3,p=Math.round((u-d)/60);let h;if(p<2)return n!=null&&n.includeSeconds?u<5?o.formatDistance("lessThanXSeconds",5,s):u<10?o.formatDistance("lessThanXSeconds",10,s):u<20?o.formatDistance("lessThanXSeconds",20,s):u<40?o.formatDistance("halfAMinute",0,s):u<60?o.formatDistance("lessThanXMinutes",1,s):o.formatDistance("xMinutes",1,s):p===0?o.formatDistance("lessThanXMinutes",1,s):o.formatDistance("xMinutes",p,s);if(p<45)return o.formatDistance("xMinutes",p,s);if(p<90)return o.formatDistance("aboutXHours",1,s);if(p<tS){const g=Math.round(p/60);return o.formatDistance("aboutXHours",g,s)}else{if(p<i)return o.formatDistance("xDays",1,s);if(p<Qp){const g=Math.round(p/tS);return o.formatDistance("xDays",g,s)}else if(p<Qp*2)return h=Math.round(p/Qp),o.formatDistance("aboutXMonths",h,s)}if(h=_ge(c,l),h<12){const g=Math.round(p/Qp);return o.formatDistance("xMonths",g,s)}else{const g=h%12,v=Math.trunc(h/12);return g<3?o.formatDistance("aboutXYears",v,s):g<9?o.formatDistance("overXYears",v,s):o.formatDistance("almostXYears",v+1,s)}}function Qge(e,t){return Jge(e,pge(e),t)}function e2e(e,t,n){const r=nS(e,n),o=nS(t,n);return+r==+o}const D2={en:{onboarding:{title:"Welcome to Decentraland Notifications",description:"Never miss a thing! Now, you'll receive a notification each time something relevant happens with your account.",button:"Let's begin"}},es:{onboarding:{title:"Tus Notificaciones de Decentraland",description:"¡No te pierdas nada nunca más! Ahora recibirás una notificación cada vez que ocurra algo relevante en tu cuenta.",button:"Continuar"}},zh:{onboarding:{title:"欢迎访问 Decentraland 通知",description:"不再错过任何信息!现在,每当您的账户发生相关事件,您都会收到通知。",button:"讓我們開始"}}},Si={en:{previous:"Previous",feed:{title:"Notifications",tabs:{newest:"New",read:"Seen"},empty:{title:"You're all caught up!",description:"No new notifications."},history:{title:"Notifications History",description:"You'll be able to access old notifications here."}}},es:{previous:"Previo",feed:{title:"Notificaciones",tabs:{newest:"Reciente",read:"Visto"},empty:{title:"¡Ya estas al día!",description:"Te avisaremos si hay nuevas notificaciones para ti."},history:{title:"Historial de Notificaciones",description:"Aquí aparecerá una lista detallada de las Notificaciones pasadas"}}},zh:{previous:"以前的",feed:{title:"通知",tabs:{newest:"新",read:"看到的"},empty:{title:"你们都赶上了!",description:"没有新通知。"},history:{title:"通知历史",description:"您可以在这里访问旧通知。"}}}};var wd;(function(e){e.NEWEST="newest",e.READ="read"})(wd||(wd={}));const B2={en:{description:{start:"The event",end:"has begun!"},title:"Event started"},es:{description:{start:"El evento",end:"ha empezado!"},title:"Evento ha comenzado"},zh:{description:{start:"事件",end:"已开始"},title:"事件开始"}},t2e={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},n2e=(e,t,n)=>{let r;const o=t2e[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},r2e={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},o2e={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},i2e={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},a2e={date:Ii({formats:r2e,defaultWidth:"full"}),time:Ii({formats:o2e,defaultWidth:"full"}),dateTime:Ii({formats:i2e,defaultWidth:"full"})},s2e={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},l2e={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},c2e=(e,t,n,r)=>t.getHours()!==1?l2e[e]:s2e[e],u2e={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},d2e={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},f2e={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},p2e={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},h2e={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},m2e={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},g2e=(e,t)=>Number(e)+"º",y2e={ordinalNumber:g2e,era:Zn({values:u2e,defaultWidth:"wide"}),quarter:Zn({values:d2e,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:Zn({values:f2e,defaultWidth:"wide"}),day:Zn({values:p2e,defaultWidth:"wide"}),dayPeriod:Zn({values:h2e,defaultWidth:"wide",formattingValues:m2e,defaultFormattingWidth:"wide"})},v2e=/^(\d+)(º)?/i,_2e=/\d+/i,b2e={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},E2e={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},C2e={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},S2e={any:[/1/i,/2/i,/3/i,/4/i]},w2e={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},x2e={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},M2e={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},R2e={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},T2e={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},k2e={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},I2e={ordinalNumber:n6({matchPattern:v2e,parsePattern:_2e,valueCallback:function(e){return parseInt(e,10)}}),era:Xn({matchPatterns:b2e,defaultMatchWidth:"wide",parsePatterns:E2e,defaultParseWidth:"any"}),quarter:Xn({matchPatterns:C2e,defaultMatchWidth:"wide",parsePatterns:S2e,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Xn({matchPatterns:w2e,defaultMatchWidth:"wide",parsePatterns:x2e,defaultParseWidth:"any"}),day:Xn({matchPatterns:M2e,defaultMatchWidth:"wide",parsePatterns:R2e,defaultParseWidth:"any"}),dayPeriod:Xn({matchPatterns:T2e,defaultMatchWidth:"any",parsePatterns:k2e,defaultParseWidth:"any"})},L2e={code:"es",formatDistance:n2e,formatLong:a2e,formatRelative:c2e,localize:y2e,match:I2e,options:{weekStartsOn:1,firstWeekContainsDate:1}},O2e={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},A2e=(e,t,n)=>{let r;const o=O2e[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+"内":r+"前":r},P2e={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},N2e={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},$2e={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},j2e={date:Ii({formats:P2e,defaultWidth:"full"}),time:Ii({formats:N2e,defaultWidth:"full"}),dateTime:Ii({formats:$2e,defaultWidth:"full"})};function oS(e,t,n){const r="eeee p";return e2e(e,t,n)?r:e.getTime()>t.getTime()?"'下个'"+r:"'上个'"+r}const D2e={lastWeek:oS,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:oS,other:"PP p"},B2e=(e,t,n,r)=>{const o=D2e[e];return typeof o=="function"?o(t,n,r):o},F2e={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},U2e={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},H2e={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},V2e={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},z2e={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},W2e={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},q2e=(e,t)=>{const n=Number(e);switch(t==null?void 0:t.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},G2e={ordinalNumber:q2e,era:Zn({values:F2e,defaultWidth:"wide"}),quarter:Zn({values:U2e,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Zn({values:H2e,defaultWidth:"wide"}),day:Zn({values:V2e,defaultWidth:"wide"}),dayPeriod:Zn({values:z2e,defaultWidth:"wide",formattingValues:W2e,defaultFormattingWidth:"wide"})},K2e=/^(第\s*)?\d+(日|时|分|秒)?/i,Y2e=/\d+/i,Z2e={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},X2e={any:[/^(前)/i,/^(公元)/i]},J2e={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},Q2e={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},eye={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},tye={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},nye={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},rye={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},oye={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},iye={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},aye={ordinalNumber:n6({matchPattern:K2e,parsePattern:Y2e,valueCallback:e=>parseInt(e,10)}),era:Xn({matchPatterns:Z2e,defaultMatchWidth:"wide",parsePatterns:X2e,defaultParseWidth:"any"}),quarter:Xn({matchPatterns:J2e,defaultMatchWidth:"wide",parsePatterns:Q2e,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Xn({matchPatterns:eye,defaultMatchWidth:"wide",parsePatterns:tye,defaultParseWidth:"any"}),day:Xn({matchPatterns:nye,defaultMatchWidth:"wide",parsePatterns:rye,defaultParseWidth:"any"}),dayPeriod:Xn({matchPatterns:oye,defaultMatchWidth:"any",parsePatterns:iye,defaultParseWidth:"any"})},sye={code:"zh-CN",formatDistance:A2e,formatLong:j2e,formatRelative:B2e,localize:G2e,match:aye,options:{weekStartsOn:1,firstWeekContainsDate:4}},lye=K(M5)({height:"48px",width:"48px","& svg.MuiSvgIcon-root":{fontSize:"inherit"}}),cye=K("div",{shouldForwardProp:e=>e!=="backgroundColor"})(e=>{const{backgroundColor:t}=e;return{borderRadius:"100%",height:"48px",width:"48px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(103, 99, 112, 0.4)",backgroundImage:t&&`radial-gradient(${t})`,"& img":{width:"80%"}}}),uye=Y.memo(e=>{const{image:t,badgeIcon:n,imageBackgroundColor:r}=e;return f.jsx(lye,{overlap:"circular",anchorOrigin:{vertical:"bottom",horizontal:"left"},badgeContent:n,children:typeof t=="string"?f.jsx(cye,{backgroundColor:r,children:f.jsx("img",{src:t,alt:"Notification Image"})}):t})}),dye=K("div")({display:"flex",flexDirection:"row",alignItems:"center",padding:"8px 16px",justifyContent:"space-between",gap:"16px","&:last-of-type":{padding:"8px 16px 16px"}}),fye=K("div")({marginLeft:"16px",fontSize:"48px"}),pye=K("div")({display:"flex",flexDirection:"column",flexGrow:1}),hye=K(bt)({fontWeight:600,fontSize:"12px"}),Bt=K(bt)({fontWeight:600,fontSize:"14px",marginBottom:0}),Ft=K(bn)({display:"inline",color:"#a09ba8",margin:"4px 0",gap:"5px",flexWrap:"wrap",alignItems:"center",fontSize:"14px"}),mye=K("div")({padding:"0 10px",backgroundColor:"#37333d",width:"fit-content",color:"#fff",borderRadius:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",marginTop:"-2px",transform:"translateY(2px)","& svg":{marginRight:"5px"}}),el=K("span")(e=>{const{theme:t}=e;return{color:t.palette.primary.main}}),Ut=Y.memo(e=>{const{image:t,imageBackgroundColor:n,badgeIcon:r,timestamp:o,isNew:i,children:a,locale:s}=e,l=s==="en"?PA:s==="es"?L2e:sye;return f.jsxs(dye,{children:[f.jsx(fye,{children:f.jsx(uye,{image:t,imageBackgroundColor:n,badgeIcon:r})}),f.jsxs(pye,{children:[a,f.jsx(hye,{children:Qge(o,{locale:l})})]}),i&&f.jsx(r1e,{fontStyle:12})]})}),gye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(Kpe,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:B2[n].title}),f.jsxs(Ft,{href:t.metadata.link,color:"inherit",underline:"none",children:[B2[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:t.metadata.name})," ",B2[n].description.end]})]})});var r6={},yye=ir;Object.defineProperty(r6,"__esModule",{value:!0});var NA=r6.default=void 0,vye=yye(jr()),_ye=f;NA=r6.default=(0,vye.default)((0,_ye.jsx)("path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7z"}),"WatchLaterOutlined");let F2;const bye=Y.memo(({startDate:e})=>{const[t,n]=M.useState("--:--");return M.useEffect(()=>(F2=setInterval(()=>{const o=new Date(e).getTime()-Date.now(),i=Math.floor(o%(1e3*60*60)/(1e3*60)).toString(),a=Math.floor(o%(1e3*60)/1e3);n(`${i.padStart(2,"0")}:${a}`),o<0&&(n("00:00"),clearInterval(F2))},1e3),()=>clearInterval(F2)),[]),f.jsxs(mye,{children:[f.jsx(NA,{fontSize:"inherit"}),t]})}),Du={en:{description:{aboutToStart:{start:"The event",end:"is about to start in"},startsInOneHour:{start:"The event",end:"starts in an hour"}},title:"Event starts soon"},es:{description:{aboutToStart:{start:"El evento",end:"esta por empezar en"},startsInOneHour:{start:"El evento",end:"empieza en una hora"}},title:"Evento empieza pronto"},zh:{description:{aboutToStart:{start:"事件",end:"即将开始 在"},startsInOneHour:{start:"事件",end:"从一个开始 小时"}},title:"事件即将开始"}},Eye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(Ype,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:Du[n].title}),f.jsx(Ft,{href:t.metadata.link,color:"inherit",underline:"none",children:new Date(t.metadata.startsAt).getTime()>Date.now()?f.jsxs(f.Fragment,{children:[Du[n].description.aboutToStart.start," ",f.jsx(bn,{href:t.metadata.link,children:t.metadata.name})," ",Du[n].description.aboutToStart.end," ",f.jsx(bye,{startDate:t.metadata.startsAt})]}):f.jsxs(f.Fragment,{children:[Du[n].description.startsInOneHour.start," ",f.jsx(bn,{href:t.metadata.link,children:t.metadata.name})," ",Du[n].description.startsInOneHour.end]})})]})}),Cye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(Zpe,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:t.metadata.title}),f.jsx(Ft,{href:t.metadata.link,color:"inherit",underline:"none",children:t.metadata.description})]})}),U2={en:{description:{start:"The votes are in! Find out the outcome of the voting on",link_text:"your proposal"},title:"Voting ended on your proposal"},es:{description:{start:"Ya estan los votos! Descubre el resultado de la votacion en",link_text:"tu propuesta"},title:"La votacion finalizo en tu propuesta"},zh:{description:{start:"投票结果出来了!",link_text:"了解您提案的投票结果"},title:"您的提案投票结束"}},Sye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(u1e,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[U2[n].title," ",f.jsx(el,{children:t.metadata.proposalTitle})]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[U2[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:U2[n].description.link_text})]})]})}),H2={en:{description:{start:"You've been invited to collaborate as a co-author on a published proposal. Accept it or reject it",link_text:"here"},title:"Co-author request received"},es:{description:{start:"Has sido invitado a colaborar como coautor en un propuesta publicada. Aceptala o rechazala",link_text:"aqui"},title:"Solicitud de coautoria"},zh:{description:{start:"您受邀作为共同作者参与一项已发表提案的合作. ",link_text:"在此接受或拒绝"},title:"收到共同作者申请"}},wye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(qpe,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[H2[n].title," ",f.jsx(el,{children:t.metadata.proposalTitle})]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[H2[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:H2[n].description.link_text})]})]})}),V2={en:{description:{start:"Engage in a productive conversation by replying to",link_text:"this comment"},title:"New comment on your update for your project"},es:{description:{start:"Participe en una conversación productiva respondiendo a",link_text:"este comentario"},title:"Nuevo comentario en la actualización del proyecto"},zh:{description:{start:"进行富有成效的对话",link_text:"回复此评论"},title:"您的更新收到了新评论"}},xye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(EA,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[V2[n].title," ",f.jsx(el,{children:t.metadata.proposalTitle})]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[V2[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:V2[n].description.link_text}),"."]})]})}),z2={en:{description:{start:"Engage in a productive conversation by replying to",link_text:"this comment"},title:"New comment on your update for your project"},es:{description:{start:"Participe en una conversación productiva respondiendo a",link_text:"este comentario"},title:"Nuevo comentario en la actualización del proyecto"},zh:{description:{start:"进行富有成效的对话",link_text:"回复此评论"},title:"您的更新收到了新评论"}},Mye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(EA,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[z2[n].title," ",f.jsx(el,{children:t.metadata.proposalTitle})]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[z2[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:z2[n].description.link_text}),"."]})]})}),e1={en:{description:{start:"Help to advance this idea by proposing potential solutions",link_text:"here"},title:{start:"The Pitch "",end:"" can now receive Tenders"}},es:{description:{start:"Ayuda a avanzar esta idea proponiendo soluciones potenciales",link_text:"aquí"},title:{start:"La Convocatoria "",end:"" ahora puede recibir licitaciones"}},zh:{description:{start:"通过提出可能的解决方案来帮助推进这个想法",link_text:"这里"},title:{start:"投标邀请 "",end:"" 现在可以接收投标"}}},Rye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(l1e,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[e1[n].title.start," ",f.jsx(el,{children:t.metadata.proposalTitle})," ",e1[n].title.end]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[e1[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:e1[n].description.link_text})]})]})}),W2={en:{description:{start:"Congratulations!",link_text:"Your Project",end:"has been successfully enacted and a funding Vesting Contract was created."},title:"Your Project has been funded"},es:{description:{start:"Felicitaciones!",link_text:"Tu proyecto",end:"ha sido aprobado y un Vesting Contract de financiamiento fue creado."},title:"Su proyecto ha sido financiado"},zh:{description:{start:"恭喜您!",link_text:"您的项目已成功立项",end:",并签订了资金归属合同."},title:"您的项目已获得资助"}},Tye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(c1e,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:W2[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[W2[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:t.metadata.link})," ",W2[n].description.end]})]})}),t1={en:{description:{start:"If think you can tackle this solution, propose a Project and get funding from the DAO",link_text:"here"},title:{start:"The Tender "",end:"" can now receive Bid Projects"}},es:{description:{start:"Si crees que puedes abordar esta solución, propón un proyecto y obtén financiación del DAO",link_text:"aquí"},title:{start:"La Licitación "",end:"" ahora puede recibir Proyectos de Oferta"}},zh:{description:{start:"如果您认为可以解决这个问题,请提出一个项目并从DAO获得资金支持",link_text:"这里"},title:{start:"投标 "",end:"" 现在可以接收项目投标"}}},kye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(f1e,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[t1[n].title.start," ",f.jsx(el,{children:t.metadata.proposalTitle})," ",t1[n].title.end]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[t1[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:t1[n].description.link_text})]})]})}),q2={en:{description:{end:"of the proposal you participated in as a voter. Your input matters!",link_text:"Discover the results"},title:"Voting ended on a proposal you voted on"},es:{description:{end:"de la propuesta en la que participaste como votante. Tu opinion es importante!",link_text:"Descubre los resultados"},title:"La votacion ha finalizado en una propuesta que votaste"},zh:{description:{end:"这是您作为选民参与的提案。您的意见很重要!",link_text:"输入这些结果"},title:"您已投票的提案投票结束"}},Iye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(p1e,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[q2[n].title," ",f.jsx(el,{children:t.metadata.proposalTitle})]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[f.jsx(bn,{href:t.metadata.link,children:q2[n].description.link_text})," ",q2[n].description.end]})]})}),G2={en:{description:{start:"The rent on your LAND at",end:"has ended"},title:"Rent Period Ended"},es:{description:{start:"El alquiler de su LAND en",end:"ha terminado"},title:"Período de alquiler finalizado"},zh:{description:{start:"土地上的租金",end:"结束了"},title:"租金期结束"}},Lye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(d1e,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:G2[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[G2[n].description.start," ",f.jsx(xA,{inline:!0,icon:st.Places,text:t.metadata.land,onClick:()=>window.open(t.metadata.link,"_blank")})," ",G2[n].description.end]})]})}),K2={en:{description:{start:"The rent on your LAND at",end:"was rented by"},title:"LAND Rented"},es:{description:{start:"La renta de tu LAND en",end:"fue alquilada por"},title:"LAND alquilada"},zh:{description:{start:"你的土地",end:"租了"},title:"租用的土地"}},Oye=Y.memo(e=>{const{notification:t,locale:n,renderProfile:r}=e,o=r?r(t.metadata.tenant):t.metadata.tenant;return f.jsxs(Ut,{image:f.jsx(Qpe,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:K2[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[K2[n].description.start," ",f.jsx(xA,{inline:!0,icon:st.Places,text:t.metadata.land,onClick:()=>window.open(t.metadata.link,"_blank")})," ",K2[n].description.end," ",o]})]})}),Y2={en:{description:{start:"Your offer of",middle:"was accepted for"},title:"Offer Accepted"},es:{description:{start:"Tu oferta de",middle:"fue aceptada para"},title:"Oferta aceptada"},zh:{description:{start:"您的出价",middle:"已被接受"},title:"接受报价"}},Aye=K(bn)(e=>({color:`${_e.Rarity.getColor(e.rarity)}`,textDecorationColor:"transparent"})),Kf=Y.memo(e=>{const{link:t,rarity:n,name:r}=e;return f.jsx(Aye,{href:t,rarity:n,children:r})}),Pye=Y.memo(e=>{const{notification:t,locale:n}=e,r=fo();return f.jsxs(Ut,{image:t.metadata.image,imageBackgroundColor:Yf(t.metadata.rarity),badgeIcon:f.jsx(bA,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:Y2[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[Y2[n].description.start," ",f.jsx(Z0,{inline:!0,network:t.metadata.network==="polygon"?_e.Network.MATIC:_e.Network.ETHEREUM,color:r.palette.text.secondary,children:a6(t.metadata.price)})," ",Y2[n].description.middle," ",f.jsx(Kf,{name:t.metadata.nftName,rarity:t.metadata.rarity,link:t.metadata.link})]})]})}),Z2={en:{description:{start:"You received an offer of",middle:"for"},title:"Offer Received"},es:{description:{start:"Recibiste una oferta de",middle:"para"},title:"Oferta recibida"},zh:{description:{start:"您的出价",middle:"已被接受"},title:"收到报价"}},Nye=Y.memo(e=>{const{notification:t,locale:n}=e,r=fo();return f.jsxs(Ut,{image:t.metadata.image,imageBackgroundColor:Yf(t.metadata.rarity),badgeIcon:f.jsx(bA,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:Z2[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[Z2[n].description.start," ",f.jsx(Z0,{inline:!0,network:t.metadata.network==="polygon"?_e.Network.MATIC:_e.Network.ETHEREUM,color:r.palette.text.secondary,children:a6(t.metadata.price)})," ",Z2[n].description.middle," ",f.jsx(Kf,{name:t.metadata.nftName,rarity:t.metadata.rarity,link:t.metadata.link})]})]})}),iS={en:{description:"Someone just bought your ",title:"Item Sold"},es:{description:"Alguien acaba de comprar tu ",title:"Item vendido"},zh:{description:"有人刚买了你的 ",title:"已售商品"}},$ye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:t.metadata.image,imageBackgroundColor:Yf(t.metadata.rarity),badgeIcon:f.jsx(Jpe,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:iS[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[iS[n].description," ",f.jsx(Kf,{rarity:t.metadata.rarity,name:t.metadata.nftName,link:t.metadata.link})]})]})}),X2={en:{description:{start:"You've earned",middle:"in royalties for"},title:"Royalties Earned"},es:{description:{start:"Ganaste",middle:"en regalias por"},title:"Regalias ganadas"},zh:{description:{start:"您为",middle:"赢得了"},title:"所得版税"}},jye=Y.memo(e=>{const{notification:t,locale:n}=e,r=fo();return f.jsxs(Ut,{image:t.metadata.image,imageBackgroundColor:Yf(t.metadata.rarity),badgeIcon:t.metadata.network==="ethereum"?f.jsx(e1e,{}):f.jsx(t1e,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:X2[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[X2[n].description.start," ",f.jsx(Z0,{inline:!0,network:t.metadata.network==="polygon"?_e.Network.MATIC:_e.Network.ETHEREUM,color:r.palette.text.secondary,children:a6(t.metadata.royaltiesCut)})," ",X2[n].description.middle," ",f.jsx(Kf,{name:t.metadata.nftName,rarity:t.metadata.rarity,link:t.metadata.link})]})]})}),Dye={en:{description:{start:"The gas price for the",end:"campaign is lower than expected, and the transactions may not be processed."},title:"Gas Price Higher Than Expected"},es:{description:{start:"El precio del gas para la",end:"campaña es más alto de lo esperado, y las transacciones pueden no ser procesadas."},title:"Precio del Gas Más Alto de lo Esperado"},zh:{description:{start:"该",end:"活动的燃气价格高于预期,交易可能无法处理。"},title:"燃气价格高于预期"}},Bye=e=>{const{metadata:t}=e.notification;return t.link?f.jsx("a",{href:t.link,children:t.campaignName}):f.jsx("strong",{children:t.campaignName})},o6=Y.memo(e=>{const{notification:t,locale:n,i18n:r}=e;return f.jsxs(Ut,{image:f.jsx(CA,{width:48,height:48}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:r[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[r[n].description.start," ",f.jsx(Bye,{...e})," ",r[n].description.end]})]})}),Fye=Y.memo(e=>f.jsx(o6,{...e,i18n:Dye})),Uye={en:{description:{start:"The",end:"campaign has run out of funds."},title:"Campaign Out of Funds"},es:{description:{start:"La",end:"campaña se ha quedado sin fondos."},title:"Campaña sin fondos"},zh:{description:{start:"该",end:"活动已经用完资金。"},title:"活动资金用完"}},Hye=Y.memo(e=>f.jsx(o6,{...e,i18n:Uye})),Vye={en:{description:{start:"The",end:"campaign has run out of stock."},title:"Campaign Out of Stock"},es:{description:{start:"La",end:"campaña se ha quedado sin stock."},title:"Campaña sin stock"},zh:{description:{start:"该",end:"活动已经售罄。"},title:"活动售罄"}},zye=Y.memo(e=>f.jsx(o6,{...e,i18n:Vye})),Wye={en:{description:{start:"This",end:"is already in your backpack"},title:"New Item Received"},es:{description:{start:"El item",end:"ya esta disponible en tu backpack"},title:"Nuevo artículo recibido"},zh:{description:{start:"这",end:"已经在您的背包里"},title:"收到的新项目"}},i6=Y.memo(e=>{const{notification:t,locale:n,i18n:r}=e;return f.jsxs(Ut,{image:t.metadata.tokenImage,imageBackgroundColor:Yf(t.metadata.tokenRarity),badgeIcon:f.jsx(CA,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:r[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[r[n].description.start," ",f.jsx(Kf,{rarity:t.metadata.tokenRarity,name:t.metadata.tokenName,link:Se.get("EXPLORER_URL")})," ",r[n].description.end]})]})}),qye=Y.memo(e=>f.jsx(i6,{...e,i18n:Wye})),Gye={en:{description:{start:"We’re working on delivering your",end:"as soon as possible."},title:"Your Gift is Delayed"},es:{description:{start:"Estamos trabajando en entregar tu",end:"lo antes posible."},title:"Tu regalo está retrasado"},zh:{description:{start:"我们正在尽快交付您的",end:"。"},title:"您的礼物延迟了"}},Kye=Y.memo(e=>f.jsx(i6,{...e,i18n:Gye})),Yye={en:{description:{start:"You’ve received a",end:"for free. Try it out once it arrives!"},title:"A Gift is on its way!"},es:{description:{start:"Recibiste un",end:"gratis. ¡Pruebalo cuando llegue!"},title:"¡Un regalo está en camino!"},zh:{description:{start:"您已免费收到一个",end:"。一旦到达,立即试试吧!"},title:"一份礼物正在路上!"}},Zye=Y.memo(e=>f.jsx(i6,{...e,i18n:Yye})),aS={en:{description:"Access to your Worlds has been restored.",title:"Worlds available"},es:{description:"El acceso a tus Mundos ha sido restaurado.",title:"Mundos disponible"},zh:{description:'您的 "世界 "访问权限已恢复.',title:"可用的世界"}},Xye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(vA,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:aS[n].title}),f.jsx(Ft,{color:"inherit",underline:"none",children:aS[n].description})]})}),J2={en:{description:{start:"Access to your Worlds has been restricted due to",link_text:"insufficient resources"},title:"Worlds restricted"},es:{description:{start:"El acceso a tus Mundos ha sido restringido debido a",link_text:"falta de recursos"},title:"Mundos restringidos"},zh:{description:{start:"由于资源不足",link_text:"访问您的世界受到限制"},title:"世界限制"}},Jye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(_A,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:J2[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[J2[n].description.start," ",f.jsx(bn,{href:t.metadata.url,children:J2[n].description.link_text}),"."]})]})}),n1={en:{description:{start:"WORLDS access at risk in 48hs.",link_text:"Rectify now",end:"to percent disruption."},title:"Missing resources"},es:{description:{start:"El acceso a tus Mundos sera restringido en 48 horas.",link_text:"Rectifique ahora",end:"para evitar interrupciones."},title:"Faltan recursos"},zh:{description:{start:"世界接入在 48 小时内面临风险.",link_text:"立即纠正",end:",以减少中断"},title:"缺失的资源"}},Qye=Y.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(n1e,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:n1[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[n1[n].description.start," ",f.jsx(bn,{href:t.metadata.url,children:n1[n].description.link_text})," ",n1[n].description.end]})]})}),Q2={en:{title:"World Permission Granted",accessTitle:"World Access",access:"You have been given permission to access World {world}",deployment:"You have been granted deployer permission to World {world}",streaming:"You have been granted streamer permission to World {world}"},es:{title:"Permiso para mundo otorgado",accessTitle:"Acceso a Mundo",access:"Te han dado permiso para acceder al mundo {world}",deployment:"Te han otorgado permiso de deployar al mundo {world}",streaming:"Te han otorgado permiso de trasmitir en el mundo {world}"},zh:{title:"获得世界许可",accessTitle:"世界访问",access:"您已获得访问世界的许可 {world}",deployment:"您已被授予部署者的许可 {world}",streaming:"您已获得流媒体的许可 {world}"}},eve=`${Se.get("BUILDER_URL")}/worlds?tab=collaborator`,tve=`${Se.get("EXPLORER_URL")}?realm=`,nve=Y.memo(e=>{const{notification:t,locale:n}=e,r=t.metadata.permissions[0],o=r==="access",i=t.metadata.world,a=o?vA:a1e;return f.jsxs(Ut,{image:f.jsx(a,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:o?Q2[n].accessTitle:Q2[n].title}),f.jsx(Ft,{color:"inherit",underline:"none",children:$A(Q2[n][r],{world:f.jsx(bn,{href:o?`${tve}${i}`:eve,target:"_blank",rel:"noreferrer",children:i})})})]})}),ey={en:{title:"World Permission Revoked",accessTitle:"World Access Revoked",access:"You have been revoked the permission to access World {world}",deployment:"The owner of the World {world} has revoked your permission to deploy in their world",streaming:"The owner of the World {world} has revoked your permission to stream in their world"},es:{title:"Permiso para mundo revocado",accessTitle:"Acceso a Mundo revocado",access:"Te han removido el permiso para acceder al mundo {world}",deployment:"El propietario del mundo {world} ha revocado tu permiso para deployar en su mundo",streaming:"El propietario del mundo {world} ha revocado tu permiso para transmitir en su mundo"},zh:{title:"世界许可被撤销",accessTitle:"世界访问被撤销",access:"您已被撤销访问世界{workd}的许可",deployment:"世界所有者{world}已撤销您在其世界中部署的许可",streaming:"世界的所有者{world}已撤销了您在世界上流媒体的允许"}},rve=Y.memo(e=>{const{notification:t,locale:n}=e,r=t.metadata.permissions[0],o=r==="access",i=o?_A:s1e;return f.jsxs(Ut,{image:f.jsx(i,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:o?ey[n].accessTitle:ey[n].title}),f.jsx(Ft,{color:"inherit",underline:"none",children:$A(ey[n][r],{world:f.jsx("strong",{children:t.metadata.world})})})]})}),ove=2;function a6(e,t=ove){return(Number(e)/1e18).toFixed(t).toLocaleString()}function Yf(e){return _e.Rarity.getGradient(e).join()}const ive={[_e.NotificationType.ROYALTIES_EARNED]:jye,[_e.NotificationType.ITEM_SOLD]:$ye,[_e.NotificationType.BID_ACCEPTED]:Pye,[_e.NotificationType.BID_RECEIVED]:Nye,[_e.NotificationType.GOVERNANCE_ANNOUNCEMENT]:Cye,[_e.NotificationType.GOVERNANCE_COAUTHOR_REQUESTED]:wye,[_e.NotificationType.GOVERNANCE_AUTHORED_PROPOSAL_FINISHED]:Sye,[_e.NotificationType.GOVERNANCE_NEW_COMMENT_ON_PROPOSAL]:Mye,[_e.NotificationType.GOVERNANCE_NEW_COMMENT_ON_PROJECT_UPDATE]:xye,[_e.NotificationType.GOVERNANCE_PROPOSAL_ENACTED]:Tye,[_e.NotificationType.GOVERNANCE_VOTING_ENDED_VOTER]:Iye,[_e.NotificationType.GOVERNANCE_PITCH_PASSED]:Rye,[_e.NotificationType.GOVERNANCE_TENDER_PASSED]:kye,[_e.NotificationType.WORLDS_MISSING_RESOURCES]:Qye,[_e.NotificationType.WORLDS_ACCESS_RESTORED]:Xye,[_e.NotificationType.WORLDS_ACCESS_RESTRICTED]:Jye,[_e.NotificationType.LAND_RENTED]:Oye,[_e.NotificationType.LAND_RENTAL_ENDED]:Lye,[_e.NotificationType.REWARD_ASSIGNED]:qye,[_e.NotificationType.REWARD_IN_PROGRESS]:Zye,[_e.NotificationType.REWARD_DELAYED]:Kye,[_e.NotificationType.EVENTS_STARTS_SOON]:Eye,[_e.NotificationType.EVENTS_STARTED]:gye,[_e.NotificationType.WORLDS_PERMISSION_GRANTED]:nve,[_e.NotificationType.WORLDS_PERMISSION_REVOKED]:rve,[_e.NotificationType.REWARD_CAMPAIGN_OUT_OF_FUNDS]:Hye,[_e.NotificationType.REWARD_CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED]:Fye,[_e.NotificationType.REWARD_CAMPAIGN_OUT_OF_STOCK]:zye},$A=(e,t)=>{const r=e.split(/{|}/).map((o,i)=>{if(i%2===0)return o;{const a=t[o.trim()];return a!==void 0?a:`{${o}}`}});return f.jsx(f.Fragment,{children:r})},ave=K("div")(({theme:e})=>({width:"384px",[e.breakpoints.down("sm")]:{height:"90vh",display:"flex",alignItems:"center",marginLeft:"auto",marginRight:"auto"}})),jA=K("div")({height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"16px",padding:"40px 80px",alignItems:"center",textAlign:"center"}),s6=K(bt)({fontSize:"18px",fontWeight:"600",marginBottom:0}),l6=K(bt)({fontSize:"16px",color:"#a09ba8"}),sve=K(Ne)({display:"flex",flexDirection:"column",gap:"16px",alignItems:"center",textAlign:"center",padding:"30px"}),lve=K("div")({height:"290px",width:"384px",display:"flex",justifyContent:"center",alignItems:"center"}),cve=K(Y0)(({theme:e})=>({alignItems:"flex-end","& .MuiPaper-root.MuiPaper-elevation.MuiPaper-rounded":{borderTopLeftRadius:"8px",borderTopRightRadius:"8px",[e.breakpoints.down("xs")]:{minHeight:"calc(100vh - 70px)",height:"calc(100vh - 70px)"},"& > *:nth-of-type(1)":{padding:"24px 24px 0"},"& > *:nth-of-type(2)":{padding:"0px"}}})),uve=K(Ne)({display:"flex",flexDirection:"column"}),dve=K(vR)({width:"484px",pointerEvents:"visible","& .MuiPaper-root":{borderRadius:"8px"}}),fve=K(Ne)(e=>{const{theme:t}=e;return{width:"384px",[t.breakpoints.down("sm")]:{width:"100%"}}}),pve=K("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"8px 16px"}),hve=K(bt)({margin:0,fontSize:"18px",fontWeight:600}),mve=K("div")({height:"100%"}),gve=K("div")({display:"flex",maxHeight:"auto",overflowX:"hidden",overflowY:"default",overscrollBehaviorY:"default",width:"100vw",height:"calc(100vh - 250px)"},e=>e.isModal?{}:{maxHeight:"290px",overflowY:"auto",overscrollBehaviorY:"contain",width:"auto",height:"auto"}),yve=K("div")({display:"flex",flexDirection:"column",width:"100%"}),vve=K(bt)(()=>({fontSize:"16px",fontWeight:600,paddingLeft:"16px",marginBottom:0,marginTop:"8px"})),ty=({locale:e,notification:t,renderProfile:n})=>{const r=ive[t.type];return r?f.jsx(r,{notification:t,locale:e,renderProfile:n}):null},_ve=({locale:e})=>f.jsxs(jA,{children:[f.jsx(Xpe,{sx:{fontSize:"115px"}}),f.jsx(s6,{children:Si[e].feed.history.title}),f.jsx(l6,{children:Si[e].feed.history.description})]}),bve=({locale:e})=>f.jsxs(jA,{children:[f.jsx(Gpe,{sx:{fontSize:"115px"}}),f.jsx(s6,{children:Si[e].feed.empty.title}),f.jsx(l6,{children:Si[e].feed.empty.description})]}),sS=Y.memo(e=>{const{unreadNotifications:t,locale:n,previousNotifications:r,readNotifications:o,activeTab:i,isModal:a,renderProfile:s,onChangeTab:l}=e,c=M.useCallback((u,d)=>{l(u,d)},[l]);return f.jsxs(fve,{children:[f.jsx(mA,{children:f.jsx(pve,{children:f.jsx(hve,{children:Si[n].feed.title})})}),f.jsxs(mve,{children:[f.jsxs(rG,{value:i,onChange:c,indicatorColor:"primary",children:[f.jsx(W9,{label:Si[n].feed.tabs.newest,value:wd.NEWEST}),f.jsx(W9,{label:Si[n].feed.tabs.read,value:wd.READ})]}),f.jsx(gve,{isModal:a,children:f.jsx(yve,{children:i===wd.NEWEST?f.jsx(f.Fragment,{children:!t.length&&!r.length?f.jsx(bve,{locale:n}):f.jsxs(f.Fragment,{children:[f.jsx("div",{children:t.map(u=>f.jsx(ty,{notification:u,locale:n,renderProfile:s},u.id))}),r.length>0&&f.jsxs("div",{children:[f.jsx(vve,{children:Si[n].previous}),r.map(u=>f.jsx(ty,{notification:u,locale:n,renderProfile:s},u.id))]})]})}):f.jsx(f.Fragment,{children:o.length>0?o.map(u=>f.jsx(ty,{notification:u,locale:n,renderProfile:s},u.id)):f.jsx(_ve,{locale:n})})})})]})]})}),lS=({locale:e,onBegin:t})=>f.jsx(ave,{children:f.jsxs(sve,{children:[f.jsx(IA,{sx:{fontSize:120}}),f.jsx(s6,{color:"text.primary",children:D2[e].onboarding.title}),f.jsx(l6,{children:D2[e].onboarding.description}),f.jsx(Ji,{variant:"outlined",size:"small",color:"inherit",onClick:t,children:D2[e].onboarding.button})]})}),Eve=Y.memo(e=>{const{items:t,isLoading:n,locale:r,isOnboarding:o,activeTab:i,isOpen:a,anchorEl:s,renderProfile:l,onChangeTab:c,onBegin:u,onClose:d}=e,p=M.useMemo(()=>t.filter(v=>!v.read),[t]),h=M.useMemo(()=>t.filter(v=>{const b=mge(v.timestamp,new Date);return v.read&&b>=-48&&b<=0}),[t]),g=M.useMemo(()=>t.filter(v=>v.read&&!h.find(({id:b})=>b===v.id)),[t,h]);return M.useEffect(()=>{function v(b){const m=document.querySelector(".notifications-feed");m&&!m.contains(b.target)&&(b.preventDefault(),b.stopPropagation(),d(b))}return a?document.addEventListener("mousedown",v):document.removeEventListener("mousedown",v),()=>{document.removeEventListener("mousedown",v)}},[a]),f.jsxs(f.Fragment,{children:[f.jsx(bpe,{children:f.jsx(cve,{open:a,onClose:d,title:Si[r].feed.title,children:o?f.jsx(lS,{locale:r,onBegin:u}):f.jsx(uve,{children:f.jsx(sS,{locale:r,previousNotifications:h,readNotifications:g,unreadNotifications:p,onChangeTab:c,activeTab:i,isModal:!0,renderProfile:l})})})}),f.jsx(mA,{children:f.jsx(dve,{anchorEl:s,open:!!a,onClose:d,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},elevation:24,children:n?f.jsx(lve,{children:f.jsx(wh,{size:20})}):o?f.jsx(lS,{locale:r,onBegin:u}):f.jsx(sS,{locale:r,previousNotifications:h,readNotifications:g,unreadNotifications:p,onChangeTab:c,activeTab:i,renderProfile:l})})})]})}),Cve=Xi`
|
|
799
|
-
0% {
|
|
800
|
-
transform: translate(1px, 1px) rotate(0deg);
|
|
801
|
-
}
|
|
802
|
-
10% {
|
|
803
|
-
transform: translate(-1px, -2px) rotate(-1deg);
|
|
804
|
-
}
|
|
805
|
-
20% {
|
|
806
|
-
transform: translate(-2px, 0px) rotate(1deg);
|
|
807
|
-
}
|
|
808
|
-
30% {
|
|
809
|
-
transform: translate(2px, 2px) rotate(0deg);
|
|
810
|
-
}
|
|
811
|
-
40% {
|
|
812
|
-
transform: translate(1px, -1px) rotate(1deg);
|
|
813
|
-
}
|
|
814
|
-
50% {
|
|
815
|
-
transform: translate(-1px, 2px) rotate(-1deg);
|
|
816
|
-
}
|
|
817
|
-
60% {
|
|
818
|
-
transform: translate(-2px, 1px) rotate(0deg);
|
|
819
|
-
}
|
|
820
|
-
70% {
|
|
821
|
-
transform: translate(2px, 1px) rotate(-1deg);
|
|
822
|
-
}
|
|
823
|
-
80% {
|
|
824
|
-
transform: translate(-1px, -1px) rotate(1deg);
|
|
825
|
-
}
|
|
826
|
-
90% {
|
|
827
|
-
transform: translate(1px, 2px) rotate(0deg);
|
|
828
|
-
}
|
|
829
|
-
100% {
|
|
830
|
-
transform: translate(1px, -2px) rotate(-1deg);
|
|
831
|
-
}`,Sve=K(M5)(e=>{const{active:t,theme:n}=e;let r={};return t&&(r={animation:`${Cve} 0.8s`,animationIterationCount:4}),{...r,"&:hover":{backgroundColor:"transparent"},"& .MuiBadge-badge":{transform:"scale(0.8) translate(40%, 60%)"},[n.breakpoints.down("sm")]:{marginLeft:"8px"}}}),wve=K(Ne)(({theme:e})=>({height:"30.625px","&:hover":{backgroundColor:e.palette.action.hover,borderRadius:"50%",cursor:"pointer"}})),xve=Y.memo(e=>{const{isOpen:t,items:n,isLoading:r,locale:o,isOnboarding:i,activeTab:a,renderProfile:s,onClick:l,onChangeTab:c,onBegin:u,onClose:d}=e,p=M.useMemo(()=>n.filter(m=>!m.read).length,[n]),[h,g]=M.useState(null),v=M.useCallback(m=>{l(m),g(m.currentTarget)},[]),b=M.useCallback(m=>{d(m),g(null)},[]);return f.jsxs(f.Fragment,{children:[f.jsx(Sve,{active:p>0,onClick:v,badgeContent:p,color:"primary",anchorOrigin:{vertical:"top",horizontal:"right"},invisible:p===0,children:t?f.jsx(o1e,{fontSize:"large",color:"primary"}):f.jsx(wve,{children:f.jsx(i1e,{fontSize:"large",color:"primary"})})}),t&&f.jsx(Eve,{isOpen:t,items:n,isLoading:r,locale:o,isOnboarding:i,activeTab:a,onChangeTab:c,onBegin:u,onClose:b,renderProfile:s,anchorEl:h})]})}),Mve=K("div")(e=>{const{theme:t}=e;return{display:"flex","& svg":{fontSize:t.typography.subtitle2.fontSize}}}),Rve=K(bt)({lineHeight:"inherit"}),Tve=Y.memo(e=>{const{manaBalances:t,onClickBalance:n}=e;return f.jsx(Mve,{children:t&&Object.keys(t).map(r=>f.jsx(Z0,{network:r,href:Se.get("ACCOUNT_URL"),onClick:n,primary:r===_e.Network.ETHEREUM,children:f.jsx(Rve,{variant:"subtitle2",children:Number(t[r].toFixed(2)).toLocaleString()})},r))})});var Mo;(function(e){e.ACTIVITY="activity",e.ACCOUNT="account",e.MY_ASSETS="my_assets",e.PROFILE="profile",e.SIGN_IN="sign_in",e.SIGN_OUT="sign_out",e.GUEST="guest",e.MARKETPLACE_AUTHORIZATIONS="marketplace_authorizations",e.DOWNLOAD="download",e.BALANCE="balance"})(Mo||(Mo={}));var c6={},kve=ir;Object.defineProperty(c6,"__esModule",{value:!0});var DA=c6.default=void 0,Ive=kve(jr()),Lve=f;DA=c6.default=(0,Ive.default)((0,Lve.jsx)("path",{d:"M13.26 3C8.17 2.86 4 6.95 4 12H2.21c-.45 0-.67.54-.35.85l2.79 2.8c.2.2.51.2.71 0l2.79-2.8c.31-.31.09-.85-.36-.85H6c0-3.9 3.18-7.05 7.1-7 3.72.05 6.85 3.18 6.9 6.9.05 3.91-3.1 7.1-7 7.1-1.61 0-3.1-.55-4.28-1.48-.4-.31-.96-.28-1.32.08-.42.42-.39 1.13.08 1.49C9 20.29 10.91 21 13 21c5.05 0 9.14-4.17 9-9.26-.13-4.69-4.05-8.61-8.74-8.74m-.51 5c-.41 0-.75.34-.75.75v3.68c0 .35.19.68.49.86l3.12 1.85c.36.21.82.09 1.03-.26.21-.36.09-.82-.26-1.03l-2.88-1.71v-3.4c0-.4-.34-.74-.75-.74"}),"HistoryRounded");const Ove="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/man-default1-BEO13leF.png",Ave=K(Ne)(e=>{const{theme:t}=e;return{display:"flex",position:"relative",textAlign:"left",outline:"none",justifyContent:"flex-end",alignItems:"center",height:"66px",[t.breakpoints.up("sm")]:{"& > *":{marginLeft:"16px"}}}}),Pve=K(DA)(e=>{const{theme:t}=e;return{"& path":{fill:t.palette.icon}}}),Nve=K(Ne)(e=>{const{theme:t}=e;return{cursor:"pointer",marginLeft:"16px",marginRight:"16px",[t.breakpoints.down("sm")]:{marginRight:"0"}}}),$ve=K(Cf)(e=>{const{theme:t}=e;return{height:"607px",width:"561px",display:"flex",flexDirection:"row",justifyContent:"flex-start",overflow:"hidden",[t.breakpoints.down("sm")]:{position:"fixed",flexDirection:"column-reverse",top:"66px",left:0,paddingLeft:"25px",paddingRight:"22px",width:"100vw",height:"calc(100vh - 66px)"}}}),jve=K(Ne)(e=>{const{theme:t}=e;return{height:"100%",width:"330px",[t.breakpoints.down("sm")]:{width:"100%"}}}),Dve=K(Ne)(e=>{var r,o;const{avatar:t}=e;let n={height:"100%",width:"100%",backgroundRepeat:"no-repeat",backgroundSize:"80%",backgroundImage:`url(${Ove})`,backgroundPosition:"bottom center"};return(o=(r=t==null?void 0:t.avatar)==null?void 0:r.snapshots)!=null&&o.body&&(n={...n,backgroundSize:"contain",backgroundImage:`url("${t.avatar.snapshots.body}")`}),n}),Bve=K(Ne)(e=>{const{theme:t}=e;return{height:"100%",width:"331px",display:"flex",flexDirection:"column",[t.breakpoints.down("sm")]:{width:"100%"}}}),Fve=K(vR)(e=>{const{theme:t}=e;return{height:"720px",width:"561px",display:"flex",flexDirection:"column",justifyContent:"flex-start","& .MuiPaper-root .MuiList-root":{paddingTop:0,paddingBottom:0},[t.breakpoints.down("sm")]:{marginLeft:"25px",marginRight:"22px",width:"calc(100% - 25px - 22px)",height:"auto"}}}),Uve=K(Ne)({display:"flex",alignItems:"center",padding:"64px 0 47px"}),Hve=K(bt)(e=>{const{theme:t}=e;return{color:t.palette.text.primary}}),Vve=K("span")(e=>{const{theme:t}=e;return{color:t.palette.text.secondary,marginLeft:"12px",fontSize:"20px",fontStyle:"normal",fontWeight:"400",lineHeight:"18px"}}),zve=K(Ne)(e=>{const{theme:t}=e;return{height:"330px",display:"flex",flexDirection:"column",justifyContent:"flex-start",margin:"0 55px 0 0",[t.breakpoints.down("sm")]:{margin:"0"}}}),r1=K(fq)(e=>{const{theme:t}=e;return{borderBottomColor:t.palette.text.primary,borderBottomWidth:"1px",borderBottomStyle:"solid",color:t.palette.text.primary,paddingLeft:0,paddingRight:0,flex:1,width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"}}),o1=K(HW)(e=>{const{theme:t}=e;return{color:t.palette.text.primary,"&.MuiListItemIcon-root":{minWidth:0}}}),Wve=K(Ne)(e=>{const{theme:t}=e;return{color:t.palette.text.primary,fontWeight:"600",height:"24px",lineHeight:"18px",margin:"auto 55px 48px 0",display:"flex",justifyContent:"flex-end",alignItems:"center",cursor:"pointer","& svg":{marginLeft:"16px"},[t.breakpoints.down("sm")]:{position:"absolute",bottom:"0",right:"0"}}}),cS=e=>{const{avatar:t,address:n,i18n:r,trackingId:o,onClickMarketplaceAuthorization:i,onClickMyAssets:a,onClickProfile:s,onClickSignOut:l,onClickAccount:c,onClickUserMenuItem:u}=e,d=M.useCallback(m=>{u&&u(m,{type:Mo.MY_ASSETS,track_uuid:o,url:Se.get("MARKETPLACE_MY_ASSETS_URL")}),setTimeout(()=>{a?a(m):window.open(`${Se.get("MARKETPLACE_MY_ASSETS_URL")}`,"_blank","noopener")},u?300:0)},[a,u,o]),p=M.useCallback(m=>{u&&u(m,{type:Mo.MARKETPLACE_AUTHORIZATIONS,track_uuid:o,url:Se.get("MARKETPLACE_SETTINGS_URL")}),setTimeout(()=>{i?i(m):window.open(`${Se.get("MARKETPLACE_SETTINGS_URL")}`,"_blank","noopener")},u?300:0)},[i,u,o]),h=M.useCallback(m=>{u&&u(m,{type:Mo.PROFILE,track_uuid:o,url:Se.get("PROFILE_URL")}),setTimeout(()=>{s?s(m):window.open(Se.get("PROFILE_URL"),"_blank","noopener")},u?300:0)},[s,u,o]),g=M.useCallback(m=>{u&&u(m,{type:Mo.ACCOUNT,track_uuid:o,url:Se.get("ACCOUNT_URL")}),setTimeout(()=>{c?c(m):window.open(Se.get("ACCOUNT_URL"),"_blank","noopener")},u?300:0)},[c,u,o]),v=M.useCallback(m=>{u&&u(m,{type:Mo.SIGN_OUT,track_uuid:o}),l&&l(m,o||"")},[l,u,o]),b=M.useMemo(()=>(t==null?void 0:t.ethAddress)||n,[t,n]);return f.jsxs($ve,{elevation:0,children:[f.jsx(jve,{children:f.jsx(Dve,{avatar:t})}),f.jsxs(Bve,{children:[f.jsx(Uve,{children:f.jsxs(Hve,{variant:"h4",children:[(t==null?void 0:t.name)||r.guest," ",!(t!=null&&t.hasClaimedName)&&b&&f.jsxs(Vve,{children:["#",b.substring(b.length-4)]})]})}),f.jsxs(zve,{children:[f.jsxs(r1,{onClick:h,children:[f.jsx(bt,{variant:"h6",children:r.viewProfile}),f.jsx(o1,{children:f.jsx(Xu,{})})]}),f.jsxs(r1,{onClick:d,children:[f.jsx(bt,{variant:"h6",children:r.myAssets}),f.jsx(o1,{children:f.jsx(Xu,{})})]}),f.jsxs(r1,{onClick:g,children:[f.jsx(bt,{variant:"h6",children:r.account}),f.jsx(o1,{children:f.jsx(Xu,{})})]}),f.jsxs(r1,{onClick:p,children:[f.jsx(bt,{variant:"h6",children:r.marketplaceAuthorizations}),f.jsx(o1,{children:f.jsx(Xu,{})})]})]}),f.jsxs(Wve,{onClick:v,children:[f.jsx(bt,{variant:"h6",children:r.signOut}),f.jsx(kA,{})]})]})]})},qve=Y.memo(e=>{const{manaBalances:t,avatar:n,hasActivity:r,isOpen:o,trackingId:i,notifications:a,onClickActivity:s,onClickBalance:l,onClickClose:c,onClickUserMenuItem:u,onClickToggle:d,...p}=e,[h,g]=M.useState(null),v=K0(),b=M.useCallback(E=>{u&&u(E,{type:Mo.ACTIVITY,track_uuid:i,url:`${Se.get("MARKETPLACE_URL")}/activity`}),setTimeout(()=>{s?s(E):window.open(`${Se.get("MARKETPLACE_URL")}/activity`,"_blank","noopener")},s?300:0)},[s,u,i]),m=M.useCallback(E=>{d&&d(E),g(E.currentTarget)},[d]),y=M.useCallback(()=>{c&&c()},[c]);return f.jsxs(Ave,{children:[a&&f.jsx(xve,{...a}),!v&&f.jsx(hc,{"aria-label":"activity",onClick:b,children:f.jsx(M5,{color:"secondary",variant:"dot",invisible:!r,children:f.jsx(Pve,{})})}),!v&&f.jsx(Tve,{manaBalances:t,onClickBalance:l}),f.jsx(Nve,{onClick:m,children:f.jsx(fse,{size:"medium",avatar:n})}),f.jsxs(Ne,{onMouseLeave:y,onScroll:v?void 0:y,children:[!v&&f.jsx(Fve,{anchorEl:h,open:!!o,onClose:y,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:f.jsx(cS,{onClickUserMenuItem:u,avatar:n,trackingId:i,...p})}),v&&o&&f.jsx(cS,{onClickUserMenuItem:u,avatar:n,trackingId:i,...p})]})]})});var Un;(function(e){e.WINDOWS="Windows",e.MACOS="macOS"})(Un||(Un={}));const Gve=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{width:"560.035px",height:"560.035px",viewBox:"-52.01 0 560.035 560.035",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M380.844 297.529c.787 84.752 74.349 112.955 75.164 113.314-.622 1.988-11.754 40.191-38.756 79.652-23.343 34.117-47.568 68.107-85.731 68.811-37.499.691-49.557-22.236-92.429-22.236-42.859 0-56.256 21.533-91.753 22.928-36.837 1.395-64.889-36.891-88.424-70.883-48.093-69.53-84.846-196.475-35.496-282.165 24.516-42.554 68.328-69.501 115.882-70.192 36.173-.69 70.315 24.336 92.429 24.336 22.1 0 63.59-30.096 107.208-25.676 18.26.76 69.517 7.376 102.429 55.552-2.652 1.644-61.159 35.704-60.523 106.559M310.369 89.418C329.926 65.745 343.089 32.79 339.498 0 311.308 1.133 277.22 18.785 257 42.445c-18.121 20.952-33.991 54.487-29.709 86.628 31.421 2.431 63.52-15.967 83.078-39.655"})})})),Kve=Y.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:f.jsx("path",{fill:"white",d:"M3,12V6.75L9,5.43V11.91L3,12M20,3V11.75L10,11.9V5.21L20,3M3,13L9,13.09V19.9L3,18.75V13M20,13.25V22L10,20.09V13.1L20,13.25Z"})})})),Yve=K(Ji)(e=>{const{theme:t}=e;return{"&.MuiButton-sizeMedium.MuiButton-containedPrimary":{height:"46px",fontSize:"14px",fontWeight:600,borderRadius:"6px",boxShadow:"rgba(0, 0, 0, 0.4) 0px 2px 8px",marginLeft:"16px","& .MuiButton-icon.MuiButton-endIcon":{marginLeft:"8px"}},"&.MuiButton-sizeMedium.MuiButton-containedPrimary:not(.Mui-disabled):not(.Mui-focusVisible):hover":{backgroundColor:t.palette.primary.main,color:"white"},"&::before":{content:"''",position:"absolute",top:0,right:0,bottom:0,left:0,border:"4px solid #FCFCFC",borderRadius:"14px",opacity:0,transition:`${t.transitions.create(["top","right","bottom","left","opacity"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeInOut})}`},"&:hover":{"&::before":{opacity:1,top:"-7.5px",right:"-7.5px",bottom:"-7.5px",left:"-7.5px"}},"& span":{fontSize:"14px"}}}),Zve=K(Ne)({display:"flex",flexDirection:"column",lineHeight:"20px","& span":{display:"block",fontSize:"14px",fontWeight:400,lineHeight:"20px"}}),Xve=K(Gve)({fontSize:"14px!important",marginTop:"-3px","& path":{fill:"#fff"}}),Jve=K(Kve)({"& path":{fill:"#fff"}}),q3=Y.memo(e=>{const{href:t,onClick:n,label:r,startIcon:o,endIcon:i}=e;return f.jsx(Yve,{variant:"contained",href:t,onClick:n,startIcon:o,endIcon:i,children:f.jsx(Zve,{children:r||"Download"})})});var sf;(function(e){e.LAUNCHER="launcher"})(sf||(sf={}));const Qve={[sf.LAUNCHER]:{baseUrl:"https://explorer-artifacts.decentraland.org/launcher/dcl",fileNamePattern:{[Un.WINDOWS]:{amd64:"Decentraland%20Launcher-win-x64.exe"},[Un.MACOS]:{amd64:"Decentraland%20Launcher-mac-x64.dmg",arm64:"Decentraland%20Launcher-mac-arm64.dmg"}}}},BA=e=>{const t=Qve[e];return t?{[Un.WINDOWS]:{amd64:`${t.baseUrl}/${t.fileNamePattern.Windows.amd64}`},[Un.MACOS]:{amd64:`${t.baseUrl}/${t.fileNamePattern.macOS.amd64}`,arm64:`${t.baseUrl}/${t.fileNamePattern.macOS.arm64}`}}:null},e3e=e=>new Promise(t=>{const n=document.createElement("a");n.href=e,n.setAttribute("download",""),document.body.appendChild(n),n.click(),document.body.removeChild(n),setTimeout(t,3e3)}),t3e=(e,t)=>{if(!t||Object.keys(t).length===0)return e;const n=new URL(e);return Object.entries(t).forEach(([r,o])=>{o!=null&&n.searchParams.append(r,o)}),n.toString()},n3e=(e,t,n)=>{const r=new URL(e);return r.searchParams.delete(t),r.searchParams.append(t,n),r.toString()},r3e=(e,t)=>(t===Un.MACOS?(e.os.name=Un.MACOS,e.cpu.architecture="unknown"):t===Un.WINDOWS&&(e.os.name=Un.WINDOWS,e.cpu.architecture="amd64"),e),o3e=K(Ne)({display:"flex",position:"relative",textAlign:"left",outline:"none",alignItems:"center",zIndex:_f.appBar}),i3e=K(Ne)({display:"flex",alignItems:"center",height:"100%"}),a3e=K(Ji)({height:"46px",minWidth:"90px"}),s3e=Y.memo(e=>{const{isSignedIn:t,isSigningIn:n,isDisconnecting:r,manaBalances:o,i18n:i=TA,hideDownloadButton:a,onClickSignIn:s,onClickBalance:l,onClickOpen:c,onClickDownload:u,onClickUserMenuItem:d,...p}=e,[h,g]=M.useState(!1),[v,b]=M.useState(void 0),[m,y]=JI(),E=typeof window<"u"?new URLSearchParams(window.location.search):void 0,S=new URLSearchParams(E).get("os");y&&S&&r3e(y,S);const _=BA(sf.LAUNCHER),C=M.useMemo(()=>!y||!_||!_[y.os.name]||!_[y.os.name][y.cpu.architecture]?null:y.os.name===Un.MACOS&&_[y.os.name][y.cpu.architecture]?{icon:f.jsx(Xve,{}),link:_[y.os.name][y.cpu.architecture],arch:y.cpu.architecture}:{icon:f.jsx(Jve,{}),link:_[y.os.name][y.cpu.architecture],arch:y.cpu.architecture},[y,_]),R=M.useCallback(W=>{const Q=ege();g(H=>(H||b(Q),!H&&c&&c(W,Q),!H))},[g,c]),T=M.useCallback(()=>{g(!1)},[g]),I=M.useCallback(W=>{W.preventDefault(),d&&d(W,{type:Mo.DOWNLOAD,track_uuid:v||void 0,url:Se.get("DOWNLOAD_URL")}),setTimeout(()=>{window.open(Se.get("DOWNLOAD_URL"),"_blank","noopener")},d?300:0)},[u,d,v]),D=M.useCallback(W=>{if(W.preventDefault(),!y||!C)return;u&&u(W,{href:C.link});const Q=n3e(Se.get("DOWNLOAD_SUCCESS_URL"),"os",y.os.name),H=t3e(Q,{arch:y.cpu.architecture});setTimeout(()=>{e3e(C.link).then(()=>{window.location.href=H})},u?300:0)},[C,y]),F=M.useCallback(W=>{W.preventDefault(),d&&d(W,{type:Mo.SIGN_IN,track_uuid:v||void 0,url:Se.get("MARKETPLACE_URL")}),s&&s(W)},[s,d,v]),q=M.useCallback((W,Q)=>{W.preventDefault(),d&&d(W,{type:Mo.BALANCE}),setTimeout(()=>{l?l(W,Q):window.open(Se.get("ACCOUNT_URL"),"_blank","noopener")},d?300:0)},[l,d,v]);return f.jsx(o3e,{children:r?f.jsx(i3e,{children:f.jsx(wh,{size:20})}):f.jsxs(f.Fragment,{children:[t&&f.jsx(qve,{...p,manaBalances:o,trackingId:v,isOpen:h,i18n:i,onClickToggle:R,onClickClose:T,onClickUserMenuItem:d,onClickBalance:q}),t?null:f.jsx(a3e,{variant:"outlined",color:"inherit",disabled:n,onClick:F,children:n?f.jsx(wh,{size:20,color:"inherit"}):i.signIn}),(m||!C)&&y&&!y.mobile&&!y.tablet&&!a&&f.jsx(q3,{href:Se.get("DOWNLOAD_URL"),onClick:I,label:i.download,startIcon:f.jsx(RA,{})}),!m&&C&&!a&&f.jsx(q3,{href:C.link,onClick:D,endIcon:C.icon,label:i.download})]})})}),l3e=K(UH,{shouldForwardProp:e=>!["isSubmenuOpen","isMobileOpen"].includes(e)})(e=>{const{isSubmenuOpen:t,isMobileOpen:n}=e;let r;return(t||n)&&(r={boxShadow:"none",backgroundImage:"none"}),{...r}}),uS=K(bn,{shouldForwardProp:e=>e!=="isMobile"})(e=>{const{isMobile:t}=e;let n;return t&&(n={zIndex:_f.appBar}),{height:"36px",...n}}),c3e=K(Ne)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",[e.breakpoints.down("sm")]:{display:"none"}})),u3e=K(Ne)({display:"flex",justifyContent:"space-between",width:"100%",alignItems:"center",height:"66px"}),d3e=K(Ne)({width:"85px",display:"flex",alignItems:"center",height:"66px",justifyContent:"space-between"}),f3e=K(Ne)({display:"flex",alignItems:"center"}),p3e=K(Ji)({height:"32px",width:"32px",minWidth:"32px",position:"relative",padding:0,"&:hover":{backgroundColor:"transparent"}}),dS=K("span",{shouldForwardProp:e=>e!=="isOpen"&&e!=="active"})(e=>{const{isOpen:t,theme:n}=e;let r;return t&&(r={"&:nth-of-type(1)":{top:"50%",left:"50%",transform:"translate(-50%, -50%) rotate(45deg)",width:"33.94px"},"&:nth-of-type(2)":{top:"50%",left:"50%",transform:"translate(-50%, -50%) rotate(-45deg)",width:"33.94px"}}),{transition:"all 0.3s ease",height:"2px",width:"100%",backgroundColor:n.palette.text.primary,position:"absolute","&:nth-of-type(1)":{top:"8px",left:0},"&:nth-of-type(2)":{top:"21px",left:0},...r}}),h3e=K(i0)(()=>({"& .MuiBackdrop-root.MuiModal-backdrop":{backgroundColor:"transparent"}}));Y.memo(e=>{const{activePage:t,chains:n,chainBeingConfirmed:r,onSelectChain:o,selectedChain:i,isSignedIn:a,i18nNavbar:s=M0e,i18nUserMenu:l=TA,i18nChainSelector:c=R0e,submenuItems:u=T0e,onClickNavbarItem:d,...p}=e,[h,g]=M.useState(!1),[v,b]=M.useState(),[m,y]=M.useState(!1),E=K0(),w=M.useCallback((R,T,I)=>{g(T),b(T&&I)},[g,b]),S=M.useCallback((R,T)=>{d&&d(R,T)},[d]),_=M.useCallback((R,T)=>{T||g(!1),y(T)},[g,y]),C=M.useCallback((R,T)=>{p.onClickOpen&&p.onClickOpen(R,T),_(R,!1)},[p.onClickOpen,_]);return f.jsxs(f.Fragment,{children:[f.jsx(l3e,{isSubmenuOpen:h,isMobileOpen:m,"aria-label":"navigation bar",children:f.jsx(Nq,{children:f.jsxs(u3e,{children:[f.jsx(_pe,{children:f.jsxs(d3e,{children:[f.jsx(uS,{isMobile:!0,href:"https://decentraland.org","aria-label":"Decentraland home",children:f.jsx(ZC,{})}),f.jsxs(p3e,{"aria-label":"toggle menu",onClick:R=>_(R,!m),children:[f.jsx(dS,{isOpen:m,"aria-label":"menu bar"}),f.jsx(dS,{isOpen:m,"aria-label":"menu bar"})]})]})}),f.jsxs(c3e,{children:[f.jsx(uS,{href:"https://decentraland.org","aria-label":"Decentraland home",children:f.jsx(ZC,{})}),f.jsx(JC,{activePage:t,onToggleShowSubMenu:w,i18n:s,isMobile:!1,"aria-label":"main navigation menu"})]}),f.jsxs(f3e,{children:[a&&o&&(n!=null&&n.length)&&i?f.jsx(Upe,{chains:n,selectedChain:i,chainBeingConfirmed:r,i18n:c,onSelectChain:o,"aria-label":"blockchain network selector"}):null,f.jsx(s3e,{...p,onClickOpen:E?C:p.onClickOpen,isSignedIn:a,i18n:l,"aria-label":"user menu"})]})]})})}),f.jsx(QC,{selectedMenu:v,onToggleShowSubMenu:w,onClickMenuOption:S,submenus:u,"aria-label":"submenu navigation"}),f.jsx(h3e,{open:E&&m,onClose:R=>_(R,!1),"aria-label":"mobile menu",children:f.jsxs(f.Fragment,{children:[f.jsx(JC,{activePage:t,onToggleShowSubMenu:w,isOpenOnMobile:m,i18n:s,isMobile:!0,"aria-label":"main mobile navigation menu"}),f.jsx(QC,{selectedMenu:v,onToggleShowSubMenu:w,onClickMenuOption:S,isMobile:E,submenus:u,"aria-label":"mobile submenu navigation"})]})})]})});var FA={},m3e=e=>{if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype};(function(e){var t=m3e;e.BLOCKS=void 0,function(L){L.DOCUMENT="document",L.PARAGRAPH="paragraph",L.HEADING_1="heading-1",L.HEADING_2="heading-2",L.HEADING_3="heading-3",L.HEADING_4="heading-4",L.HEADING_5="heading-5",L.HEADING_6="heading-6",L.OL_LIST="ordered-list",L.UL_LIST="unordered-list",L.LIST_ITEM="list-item",L.HR="hr",L.QUOTE="blockquote",L.EMBEDDED_ENTRY="embedded-entry-block",L.EMBEDDED_ASSET="embedded-asset-block",L.EMBEDDED_RESOURCE="embedded-resource-block",L.TABLE="table",L.TABLE_ROW="table-row",L.TABLE_CELL="table-cell",L.TABLE_HEADER_CELL="table-header-cell"}(e.BLOCKS||(e.BLOCKS={})),e.INLINES=void 0,function(L){L.ASSET_HYPERLINK="asset-hyperlink",L.EMBEDDED_ENTRY="embedded-entry-inline",L.EMBEDDED_RESOURCE="embedded-resource-inline",L.ENTRY_HYPERLINK="entry-hyperlink",L.HYPERLINK="hyperlink",L.RESOURCE_HYPERLINK="resource-hyperlink"}(e.INLINES||(e.INLINES={})),e.MARKS=void 0,function(L){L.BOLD="bold",L.ITALIC="italic",L.UNDERLINE="underline",L.CODE="code",L.SUPERSCRIPT="superscript",L.SUBSCRIPT="subscript",L.STRIKETHROUGH="strikethrough"}(e.MARKS||(e.MARKS={}));var n=function(L,U){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,z){G.__proto__=z}||function(G,z){for(var V in z)Object.prototype.hasOwnProperty.call(z,V)&&(G[V]=z[V])},n(L,U)};function r(L,U){if(typeof U!="function"&&U!==null)throw new TypeError("Class extends value "+String(U)+" is not a constructor or null");n(L,U);function G(){this.constructor=L}L.prototype=U===null?Object.create(U):(G.prototype=U.prototype,new G)}function o(L,U,G){if(G||arguments.length===2)for(var z=0,V=U.length,Z;z<V;z++)(Z||!(z in U))&&(Z||(Z=Array.prototype.slice.call(U,0,z)),Z[z]=U[z]);return L.concat(Z||Array.prototype.slice.call(U))}typeof SuppressedError=="function"&&SuppressedError;var i,a=[e.BLOCKS.PARAGRAPH,e.BLOCKS.HEADING_1,e.BLOCKS.HEADING_2,e.BLOCKS.HEADING_3,e.BLOCKS.HEADING_4,e.BLOCKS.HEADING_5,e.BLOCKS.HEADING_6,e.BLOCKS.OL_LIST,e.BLOCKS.UL_LIST,e.BLOCKS.HR,e.BLOCKS.QUOTE,e.BLOCKS.EMBEDDED_ENTRY,e.BLOCKS.EMBEDDED_ASSET,e.BLOCKS.EMBEDDED_RESOURCE,e.BLOCKS.TABLE],s=[e.BLOCKS.PARAGRAPH,e.BLOCKS.HEADING_1,e.BLOCKS.HEADING_2,e.BLOCKS.HEADING_3,e.BLOCKS.HEADING_4,e.BLOCKS.HEADING_5,e.BLOCKS.HEADING_6,e.BLOCKS.OL_LIST,e.BLOCKS.UL_LIST,e.BLOCKS.HR,e.BLOCKS.QUOTE,e.BLOCKS.EMBEDDED_ENTRY,e.BLOCKS.EMBEDDED_ASSET,e.BLOCKS.EMBEDDED_RESOURCE],l=[e.BLOCKS.TABLE,e.BLOCKS.TABLE_ROW,e.BLOCKS.TABLE_CELL,e.BLOCKS.TABLE_HEADER_CELL],c=[e.BLOCKS.HR,e.BLOCKS.EMBEDDED_ENTRY,e.BLOCKS.EMBEDDED_ASSET,e.BLOCKS.EMBEDDED_RESOURCE],u=(i={},i[e.BLOCKS.OL_LIST]=[e.BLOCKS.LIST_ITEM],i[e.BLOCKS.UL_LIST]=[e.BLOCKS.LIST_ITEM],i[e.BLOCKS.LIST_ITEM]=s,i[e.BLOCKS.QUOTE]=[e.BLOCKS.PARAGRAPH],i[e.BLOCKS.TABLE]=[e.BLOCKS.TABLE_ROW],i[e.BLOCKS.TABLE_ROW]=[e.BLOCKS.TABLE_CELL,e.BLOCKS.TABLE_HEADER_CELL],i[e.BLOCKS.TABLE_CELL]=[e.BLOCKS.PARAGRAPH,e.BLOCKS.UL_LIST,e.BLOCKS.OL_LIST],i[e.BLOCKS.TABLE_HEADER_CELL]=[e.BLOCKS.PARAGRAPH],i),d=[e.BLOCKS.HEADING_1,e.BLOCKS.HEADING_2,e.BLOCKS.HEADING_3,e.BLOCKS.HEADING_4,e.BLOCKS.HEADING_5,e.BLOCKS.HEADING_6],p=o([e.BLOCKS.PARAGRAPH],d,!0),h=[e.BLOCKS.DOCUMENT,e.BLOCKS.PARAGRAPH,e.BLOCKS.HEADING_1,e.BLOCKS.HEADING_2,e.BLOCKS.HEADING_3,e.BLOCKS.HEADING_4,e.BLOCKS.HEADING_5,e.BLOCKS.HEADING_6,e.BLOCKS.OL_LIST,e.BLOCKS.UL_LIST,e.BLOCKS.LIST_ITEM,e.BLOCKS.HR,e.BLOCKS.QUOTE,e.BLOCKS.EMBEDDED_ENTRY,e.BLOCKS.EMBEDDED_ASSET,e.INLINES.HYPERLINK,e.INLINES.ENTRY_HYPERLINK,e.INLINES.ASSET_HYPERLINK,e.INLINES.EMBEDDED_ENTRY,"text"],g=[e.MARKS.BOLD,e.MARKS.CODE,e.MARKS.ITALIC,e.MARKS.UNDERLINE],v={nodeType:e.BLOCKS.DOCUMENT,data:{},content:[{nodeType:e.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};function b(L,U){for(var G=0,z=Object.keys(L);G<z.length;G++){var V=z[G];if(U===L[V])return!0}return!1}function m(L){return b(e.INLINES,L.nodeType)}function y(L){return b(e.BLOCKS,L.nodeType)}function E(L){return L.nodeType==="text"}var w=Object.freeze({__proto__:null,isBlock:y,isInline:m,isText:E}),S=function(L){var U=L.path,G=L.property,z=L.typeName,V=L.value;return{details:'The type of "'.concat(G,'" is incorrect, expected type: ').concat(z),name:"type",path:U.toArray(),type:z,value:V}},_=function(L){var U=L.min,G=L.value,z=L.path;return{name:"size",min:U,path:z.toArray(),details:"Size must be at least ".concat(U),value:G}},C=function(L){var U=L.max,G=L.value,z=L.path;return{name:"size",max:U,path:z.toArray(),details:"Size must be at most ".concat(U),value:G}},R=function(L){var U=L.expected,G=L.value,z=L.path;return{details:"Value must be one of expected values",name:"in",expected:o([],U,!0).sort(),path:z.toArray(),value:G}},T=function(L){var U=L.property,G=L.path;return{details:'The property "'.concat(U,'" is not expected'),name:"unexpected",path:G.toArray()}},I=function(L){var U=L.property,G=L.path;return{details:'The property "'.concat(U,'" is required here'),name:"required",path:G.toArray()}},D=function(){function L(U,G){var z=this;this.obj=U,this.path=G,this._errors=[],this.catch=function(){for(var V,Z=[],ue=0;ue<arguments.length;ue++)Z[ue]=arguments[ue];(V=z._errors).push.apply(V,Z)},this.exists=function(V){return V in z.obj?!0:(z.catch(I({property:V,path:z.path.of(V)})),!1)},this.object=function(V){var Z,ue=V?z.obj[V]:z.obj;if(V&&!z.exists(V))return!1;if(t(ue))return!0;var pe=V?z.path.of(V):z.path,be=(Z=V??z.path.last())!==null&&Z!==void 0?Z:"value";return z.catch(S({typeName:"Object",property:be,path:pe,value:ue})),!1},this.string=function(V){var Z=z.obj[V];return V&&!z.exists(V)?!1:typeof Z=="string"?!0:(z.catch(S({typeName:"String",property:V,path:z.path.of(V),value:Z})),!1)},this.number=function(V,Z){var ue=z.obj[V];return Z&&!(V in z.obj)?!0:z.exists(V)?typeof ue=="number"&&!Number.isNaN(ue)?!0:(z.catch(S({typeName:"Number",property:V,path:z.path.of(V),value:ue})),!1):!1},this.array=function(V){var Z=z.obj[V];return V&&!z.exists(V)?!1:Array.isArray(Z)?!0:(z.catch(S({typeName:"Array",property:V,path:z.path.of(V),value:Z})),!1)},this.enum=function(V,Z){var ue=z.obj[V];return typeof ue=="string"&&Z.includes(ue)?!0:(z.catch(R({expected:Z,value:ue,path:z.path.of(V)})),!1)},this.empty=function(V){if(!z.array(V))return!1;var Z=z.obj[V];return Z.length===0?!0:(z.catch(C({max:0,value:Z,path:z.path.of(V)})),!1)},this.minLength=function(V,Z){if(!z.array(V))return!1;var ue=z.obj[V];return ue.length>=Z?!0:(z.catch(_({min:Z,value:ue,path:z.path.of(V)})),!1)},this.noAdditionalProperties=function(V){var Z=Object.keys(z.obj).sort().filter(function(ue){return!V.includes(ue)});return Z.forEach(function(ue){return z.catch(T({property:ue,path:z.path.of(ue)}))}),Z.length===0},this.each=function(V,Z){if(z.array(V)){var ue=z.obj[V],pe=!1;ue.forEach(function(be,we){if(!pe){var ke=Z(be,z.path.of(V).of(we));ke.length>0&&(pe=!0),z.catch.apply(z,ke)}})}}}return Object.defineProperty(L.prototype,"errors",{get:function(){var U=this,G=function(z){return JSON.stringify({details:z.details,path:z.path})};return this._errors.filter(function(z,V){return U._errors.findIndex(function(Z){return G(z)===G(Z)})===V})},enumerable:!1,configurable:!0}),L}(),F=[],q=function(){function L(U,G){this.contentRule=U,this.validateData=G}return L.prototype.assert=function(U,G){var z,V,Z=new D(U,G);if(!Z.object())return Z.errors;Z.noAdditionalProperties(["nodeType","data","content"]);var ue=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(U,G),pe=ue.nodeTypes,be=ue.min,we=be===void 0?0:be;if(pe.length===0&&we>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(we," with no nodeTypes"));if(Z.minLength("content",we),pe.length===0?Z.empty("content"):Z.each("content",function(pt,ye){var Ge=new D(pt,ye);return Ge.object()&&Ge.enum("nodeType",pe),Ge.errors}),Z.object("data")){var ke=(V=(z=this.validateData)===null||z===void 0?void 0:z.call(this,U.data,G.of("data")))!==null&&V!==void 0?V:[];Z.catch.apply(Z,ke)}return Z.errors},L}(),W=function(L){r(U,L);function U(G,z){var V=L.call(this,z,function(Z,ue){return V.assertLink(Z,ue)})||this;return V.linkType=G,V.assertLink=function(Z,ue){var pe=new D(Z,ue);if(pe.object("target")){var be=new D(Z.target.sys,ue.of("target").of("sys"));be.object()&&(be.enum("type",[V.type]),be.enum("linkType",[V.linkType]),V.type==="Link"?(be.string("id"),be.noAdditionalProperties(["type","linkType","id"])):V.type==="ResourceLink"&&(be.string("urn"),be.noAdditionalProperties(["type","linkType","urn"]))),pe.catch.apply(pe,be.errors)}return pe.noAdditionalProperties(["target"]),pe.errors},V.type=V.linkType.startsWith("Contentful:")?"ResourceLink":"Link",V}return U}(q),Q=function(L){r(U,L);function U(){var G=L.call(this,["text"],function(z,V){return G.assertLink(z,V)})||this;return G.assertLink=function(z,V){var Z=new D(z,V);return Z.string("uri"),Z.noAdditionalProperties(["uri"]),Z.errors},G}return U}(q),H=function(L,U){return new q(L,U)},re=function(L,U){return new W(L,U)},B=function(){function L(U){U===void 0&&(U=[]);var G=this;this.path=U,this.of=function(z){return new L(o(o([],G.path,!0),[z],!1))},this.isRoot=function(){return G.path.length===0},this.last=function(){return G.path[G.path.length-1]},this.toArray=function(){return G.path}}return L}();function ee(L,U){var G=new D(L,U);return G.object()&&(G.noAdditionalProperties(["nodeType","data","value","marks"]),G.object("data"),G.each("marks",function(z,V){var Z=new D(z,V);return Z.object()&&Z.string("type"),Z.errors}),G.string("value")),G.errors}var $,P=H(o(o([],Object.values(e.INLINES),!0),["text"],!1).sort()),N=H([e.BLOCKS.LIST_ITEM]),O=re("Entry",F),x=H(function(){return{nodeTypes:[e.BLOCKS.PARAGRAPH],min:1}},function(L,U){var G=new D(L,U);return G.noAdditionalProperties(["colspan","rowspan"]),G.number("colspan",!0),G.number("rowspan",!0),G.errors}),k=($={},$[e.BLOCKS.DOCUMENT]=H(a),$[e.BLOCKS.PARAGRAPH]=P,$[e.BLOCKS.HEADING_1]=P,$[e.BLOCKS.HEADING_2]=P,$[e.BLOCKS.HEADING_3]=P,$[e.BLOCKS.HEADING_4]=P,$[e.BLOCKS.HEADING_5]=P,$[e.BLOCKS.HEADING_6]=P,$[e.BLOCKS.QUOTE]=H(u[e.BLOCKS.QUOTE]),$[e.BLOCKS.EMBEDDED_ENTRY]=O,$[e.BLOCKS.EMBEDDED_ASSET]=re("Asset",F),$[e.BLOCKS.EMBEDDED_RESOURCE]=re("Contentful:Entry",F),$[e.BLOCKS.HR]=H(F),$[e.BLOCKS.OL_LIST]=N,$[e.BLOCKS.UL_LIST]=N,$[e.BLOCKS.LIST_ITEM]=H(o([],s,!0).sort()),$[e.BLOCKS.TABLE]=H(function(){return{nodeTypes:[e.BLOCKS.TABLE_ROW],min:1}}),$[e.BLOCKS.TABLE_ROW]=H(function(){return{nodeTypes:[e.BLOCKS.TABLE_CELL,e.BLOCKS.TABLE_HEADER_CELL],min:1}}),$[e.BLOCKS.TABLE_CELL]=x,$[e.BLOCKS.TABLE_HEADER_CELL]=x,$[e.INLINES.HYPERLINK]=new Q,$[e.INLINES.EMBEDDED_ENTRY]=O,$[e.INLINES.EMBEDDED_RESOURCE]=re("Contentful:Entry",F),$[e.INLINES.ENTRY_HYPERLINK]=re("Entry",["text"]),$[e.INLINES.ASSET_HYPERLINK]=re("Asset",["text"]),$[e.INLINES.RESOURCE_HYPERLINK]=re("Contentful:Entry",["text"]),$);function j(L,U){if(L.nodeType==="text")return ee(L,U);var G=k[L.nodeType].assert(L,U);if(G.length>0)return G;var z=new D(L,U);return z.each("content",function(V,Z){return j(V,Z)}),z.errors}var J=function(L){var U=new B,G=new D(L,U);return G.object()&&G.enum("nodeType",[e.BLOCKS.DOCUMENT]),G.errors.length>0?G.errors:j(L,U)};e.CONTAINERS=u,e.EMPTY_DOCUMENT=v,e.HEADINGS=d,e.LIST_ITEM_BLOCKS=s,e.TABLE_BLOCKS=l,e.TEXT_CONTAINERS=p,e.TOP_LEVEL_BLOCKS=a,e.V1_MARKS=g,e.V1_NODE_TYPES=h,e.VOID_BLOCKS=c,e.helpers=w,e.validateRichTextDocument=J})(FA);var ht=M,et=FA;var wt,ci;wt={},wt[et.BLOCKS.DOCUMENT]=function(e,t){return t},wt[et.BLOCKS.PARAGRAPH]=function(e,t){return ht.createElement("p",null,t)},wt[et.BLOCKS.HEADING_1]=function(e,t){return ht.createElement("h1",null,t)},wt[et.BLOCKS.HEADING_2]=function(e,t){return ht.createElement("h2",null,t)},wt[et.BLOCKS.HEADING_3]=function(e,t){return ht.createElement("h3",null,t)},wt[et.BLOCKS.HEADING_4]=function(e,t){return ht.createElement("h4",null,t)},wt[et.BLOCKS.HEADING_5]=function(e,t){return ht.createElement("h5",null,t)},wt[et.BLOCKS.HEADING_6]=function(e,t){return ht.createElement("h6",null,t)},wt[et.BLOCKS.EMBEDDED_ENTRY]=function(e,t){return ht.createElement("div",null,t)},wt[et.BLOCKS.EMBEDDED_RESOURCE]=function(e,t){return ht.createElement("div",null,t)},wt[et.BLOCKS.UL_LIST]=function(e,t){return ht.createElement("ul",null,t)},wt[et.BLOCKS.OL_LIST]=function(e,t){return ht.createElement("ol",null,t)},wt[et.BLOCKS.LIST_ITEM]=function(e,t){return ht.createElement("li",null,t)},wt[et.BLOCKS.QUOTE]=function(e,t){return ht.createElement("blockquote",null,t)},wt[et.BLOCKS.HR]=function(){return ht.createElement("hr",null)},wt[et.BLOCKS.TABLE]=function(e,t){return ht.createElement("table",null,ht.createElement("tbody",null,t))},wt[et.BLOCKS.TABLE_ROW]=function(e,t){return ht.createElement("tr",null,t)},wt[et.BLOCKS.TABLE_HEADER_CELL]=function(e,t){return ht.createElement("th",null,t)},wt[et.BLOCKS.TABLE_CELL]=function(e,t){return ht.createElement("td",null,t)},wt[et.INLINES.ASSET_HYPERLINK]=function(e){return ny(et.INLINES.ASSET_HYPERLINK,e)},wt[et.INLINES.ENTRY_HYPERLINK]=function(e){return ny(et.INLINES.ENTRY_HYPERLINK,e)},wt[et.INLINES.RESOURCE_HYPERLINK]=function(e){return fS(et.INLINES.RESOURCE_HYPERLINK,e)},wt[et.INLINES.EMBEDDED_ENTRY]=function(e){return ny(et.INLINES.EMBEDDED_ENTRY,e)},wt[et.INLINES.EMBEDDED_RESOURCE]=function(e,t){return fS(et.INLINES.EMBEDDED_RESOURCE,e)},wt[et.INLINES.HYPERLINK]=function(e,t){return ht.createElement("a",{href:e.data.uri},t)};ci={},ci[et.MARKS.BOLD]=function(e){return ht.createElement("b",null,e)},ci[et.MARKS.ITALIC]=function(e){return ht.createElement("i",null,e)},ci[et.MARKS.UNDERLINE]=function(e){return ht.createElement("u",null,e)},ci[et.MARKS.CODE]=function(e){return ht.createElement("code",null,e)},ci[et.MARKS.SUPERSCRIPT]=function(e){return ht.createElement("sup",null,e)},ci[et.MARKS.SUBSCRIPT]=function(e){return ht.createElement("sub",null,e)},ci[et.MARKS.STRIKETHROUGH]=function(e){return ht.createElement("s",null,e)};function ny(e,t){return ht.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function fS(e,t){return ht.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}K(Ne)({display:"flex",justifyContent:"center",alignItems:"center",width:"100%"});K(Ne,{shouldForwardProp:e=>e!=="background"})(e=>{const{theme:t,background:n}=e;return{width:"100%",overflow:"hidden",display:"flex",padding:"2rem",justifyContent:"space-between",flexDirection:"row",backgroundImage:`url(${n})`,backgroundSize:"cover",backgroundPosition:"center",alignItems:"center",[t.breakpoints.down("sm")]:{flexDirection:"column-reverse"}}});K(Ne)({display:"flex",flexDirection:"row",flexGrow:1,marginRight:"20px"});K(Ne)(e=>{const{theme:t}=e;return{display:"flex",flexDirection:"column",gap:"0.1rem",[t.breakpoints.down("sm")]:{padding:"1rem"}}});K("img")(e=>{const{theme:t}=e;return{flexShrink:0,maxWidth:"400px",[t.breakpoints.down("sm")]:{maxWidth:"300px",marginBottom:"1rem"}}});K(bt)(e=>{const{theme:t}=e;return{margin:0,color:"#fff",fontSize:"28px",textTransform:"uppercase",fontWeight:800,[t.breakpoints.down("sm")]:{fontSize:"24px"}}});K(Ne)(e=>{const{theme:t}=e;return{color:ft.white,fontSize:"19px","& p":{margin:0,padding:0},[t.breakpoints.down("sm")]:{fontSize:"16px"}}});K(Ne)({display:"flex",marginTop:"1rem"});K(Ji)({textTransform:"uppercase",minWidth:"300px"});const g3e="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/dcl-CSCjwju1.webp",u6=()=>{const e=M.useContext(ER);if(!e)throw new Error("useAnalytics must be used within AnalyticsProvider");return e.isInitialized?{track:e.track,identify:e.identify,page:e.page,isInitialized:!0}:{track:()=>{},identify:()=>{},page:()=>{},isInitialized:!1}};var ys=(e=>(e.CLICK_JUMP_IN="Click on Jump In",e.CLICK_DOWNLOAD="Click on Download",e.CLIENT_NOT_INSTALLED="Client not installed",e.CLICK_DOWNLOAD_MODAL_CLOSE="Click on Download Modal Close",e.CLICK_MOBILE_DISCLAIMER_MODAL_CLOSE="Click on Mobile Disclaimer Modal Close",e.CLICK_JUMP_IN_MOBILE="Click on Jump In Mobile",e))(ys||{});const pS=bR.get("PLACES_URL","");function UA(e){var t;return!!((t=e==null?void 0:e.match(/^[a-zA-Z0-9.]+\.eth$/))!=null&&t.length)}async function y3e(e,t){const n=UA(e)?`${pS}/api/worlds?names=${e.toLowerCase()}`:`${pS}/api/places?positions=${t}`;return(await(await fetch(n)).json()).data[0]}const v3e=async(e,t)=>{let n=!1,r=!1;const o=()=>{n=!0},i=()=>{r=!0};window.addEventListener("blur",o),e.addEventListener("mouseup",i);const a=document.createElement("iframe");return a.setAttribute("style","display: none"),a.src=t,document.body.appendChild(a),new Promise(s=>{setTimeout(()=>{window.removeEventListener("blur",o),e.removeEventListener("mouseup",i),document.body.removeChild(a),!r&&e.matches(":hover")&&o(),s(n)},500)})},_3e=K("div")({width:"100%",height:"100%",position:"absolute",top:0,left:0}),b3e=K("img")({width:"100%",height:"100%",objectFit:"cover",objectPosition:"center",transition:"transform 0.3s ease"}),E3e=K("div")(e=>{const t=e.theme;return{position:"relative",height:400,width:600,overflow:"hidden",borderRadius:16,boxShadow:"0 4px 8px rgba(0, 0, 0, 0.1)","&:hover img":{transform:"scale(1.1)"},[t.breakpoints.down("xs")]:{width:"calc(100vw - 32px)",height:250,margin:"0 16px"},[t.breakpoints.between("xs","sm")]:{width:"calc(100vw - 32px)",height:300,margin:"0 16px"}}}),C3e=K("div")(e=>({display:"flex",position:"absolute",alignItems:"center",bottom:0,left:0,right:0,padding:20,background:"rgba(0, 0, 0, 0.6)",color:"white",[e.theme.breakpoints.down("xs")]:{padding:16}})),S3e=K("div")({flexGrow:1}),w3e=K("h2")(e=>({fontSize:24,fontWeight:700,margin:"0 0 10px",color:"white",[e.theme.breakpoints.down("xs")]:{fontSize:20,margin:"0 0 6px"}})),x3e=K("p")(e=>({margin:"4px 0 0",fontSize:15,opacity:1,[e.theme.breakpoints.down("xs")]:{fontSize:12,margin:"2px 0 0"}})),M3e=K("div")({display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",background:"rgba(0, 0, 0, 0.4)"}),R3e=M.memo(({imageUrl:e,title:t,subtitle:n,isLoading:r=!1})=>f.jsxs(E3e,{children:[f.jsx(_3e,{children:r?f.jsx(M3e,{children:f.jsx(wh,{disableShrink:!0})}):f.jsx(b3e,{src:e,alt:t})}),f.jsx(C3e,{children:f.jsx(S3e,{children:r?f.jsxs(f.Fragment,{children:[f.jsx(V9,{variant:"text",animation:"wave",sx:{fontSize:24,fontWeight:700,marginBottom:"10px"}}),f.jsx(V9,{variant:"text",animation:"wave",sx:{fontSize:16,marginTop:"4px"}})]}):f.jsxs(f.Fragment,{children:[f.jsx(w3e,{children:t}),f.jsx(x3e,{children:n})]})})})]})),T3e="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/laptop-CAoLKjvd.svg",k3e="data:image/svg+xml,%3csvg%20width='560.035px'%20height='560.035px'%20viewBox='-52.01%200%20560.035%20560.035'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M380.844%20297.529c.787%2084.752%2074.349%20112.955%2075.164%20113.314-.622%201.988-11.754%2040.191-38.756%2079.652-23.343%2034.117-47.568%2068.107-85.731%2068.811-37.499.691-49.557-22.236-92.429-22.236-42.859%200-56.256%2021.533-91.753%2022.928-36.837%201.395-64.889-36.891-88.424-70.883-48.093-69.53-84.846-196.475-35.496-282.165%2024.516-42.554%2068.328-69.501%20115.882-70.192%2036.173-.69%2070.315%2024.336%2092.429%2024.336%2022.1%200%2063.59-30.096%20107.208-25.676%2018.26.76%2069.517%207.376%20102.429%2055.552-2.652%201.644-61.159%2035.704-60.523%20106.559M310.369%2089.418C329.926%2065.745%20343.089%2032.79%20339.498%200%20311.308%201.133%20277.22%2018.785%20257%2042.445c-18.121%2020.952-33.991%2054.487-29.709%2086.628%2031.421%202.431%2063.52-15.967%2083.078-39.655'/%3e%3c/svg%3e",I3e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='white'%20d='M3,12V6.75L9,5.43V11.91L3,12M20,3V11.75L10,11.9V5.21L20,3M3,13L9,13.09V19.9L3,18.75V13M20,13.25V22L10,20.09V13.1L20,13.25Z'%20/%3e%3c/svg%3e",L3e=K("img")({height:32,width:32,filter:"brightness(0) invert(1)"}),O3e="https://decentraland.org/download",vl=BA(sf.LAUNCHER),hS={[Un.MACOS]:{...vl==null?void 0:vl.macOS,icon:k3e,alt:"Apple Logo"},[Un.WINDOWS]:{...vl==null?void 0:vl.Windows,icon:I3e,alt:"Windows Logo"}},A3e=M.memo(({osName:e="unknown",arch:t="unknown"})=>{const{track:n}=u6(),r=M.useCallback(a=>{const s=hS[a],l=`${O3e}/?os=${a}`;return a===Un.MACOS&&t==="arm64",s.amd64??l},[t]),o=M.useCallback(a=>{n(ys.CLICK_DOWNLOAD,{osName:a,arch:t,url:r(a)}),window.open(Se.get("DOWNLOAD_SUCCESS_URL"),"_blank","noopener")},[t,n]),i=M.useCallback(a=>{const s=hS[a];return f.jsx(q3,{label:`Download for ${a}`,endIcon:f.jsx(L3e,{src:s.icon,alt:s.alt}),href:r(a),onClick:()=>o(a)},a)},[o,r]);return e==="unknown"?f.jsxs(Ne,{display:"flex",gap:2,mt:2,children:[i(Un.MACOS),i(Un.WINDOWS)]}):i(e)}),P3e=K(Y0)({".MuiPaper-root":{backgroundColor:"white",position:"relative"}}),N3e=K(Ne)({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:32,padding:32,textAlign:"center"}),mS=K("h2")({fontSize:21,fontWeight:600,textAlign:"center",margin:0,lineHeight:1.2,color:"black"}),$3e=K("img")({width:200,height:200}),j3e=K(Ne)({display:"flex",flexDirection:"column",alignItems:"center",gap:24,width:"100%"}),D3e=K(hc)({position:"absolute",top:14,right:14,"&:hover":{backgroundColor:"#31282814"},svg:{color:"black"}}),B3e=({open:e,onClose:t,osName:n,arch:r})=>f.jsx(P3e,{open:e,size:"tiny",children:f.jsxs(N3e,{children:[f.jsx(D3e,{onClick:t,children:f.jsx(QI,{})}),f.jsxs(j3e,{children:[f.jsx($3e,{src:T3e,alt:"Download Decentraland"}),f.jsx(mS,{children:"Download Decentraland to Jump in."}),f.jsx(mS,{as:"h3",style:{fontSize:"19px",fontWeight:500},children:"Download the all-new Decentraland and come back to this page to jump straight into this place."}),f.jsx(A3e,{osName:n,arch:r})]})]})}),F3e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%3e%3cpath%20d='M23.9535%2046.5C27.6473%2046.5%2031.1733%2045.6667%2034.2795%2044.0834H13.6274C16.7336%2045.6667%2020.1756%2046.5%2023.9535%2046.5Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M23.9535%201.5C11.5287%201.5%201.37054%2011.5%201.37054%2023.9167C1.37054%2026.6667%201.87425%2029.3333%202.79772%2031.75L11.5287%2021.3333L16.5657%2015.25L28.8226%2029.9167L32.3486%2025.6667L41.5833%2036.6667H42.3388C44.9413%2033%2046.3685%2028.5833%2046.3685%2023.8333C46.5364%2011.5%2036.3783%201.5%2023.9535%201.5ZM16.4818%2013.25C14.7188%2013.25%2013.3756%2011.8333%2013.3756%2010.1667C13.3756%208.5%2014.8028%207.08333%2016.4818%207.08333C18.2448%207.08333%2019.588%208.5%2019.588%2010.1667C19.588%2011.8333%2018.2448%2013.25%2016.4818%2013.25ZM32.8523%2023.3333C29.4103%2023.3333%2026.6399%2020.5833%2026.6399%2017.1667C26.6399%2013.75%2029.4103%2011%2032.8523%2011C36.2943%2011%2039.0647%2013.75%2039.0647%2017.1667C39.1487%2020.5833%2036.2943%2023.3333%2032.8523%2023.3333Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M9.76567%2041.6666H37.8894C38.8129%2040.9166%2039.8203%2039.9999%2040.4079%2039.3333H7.24713C8.08665%2040.1666%208.92616%2040.9999%209.76567%2041.6666Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M25.3806%2034.0834H3.55328C4.05699%2035.0834%204.64465%2036%205.23231%2036.9167H22.9461L25.3806%2034.0834Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M17.1534%2019.4166V31.8333H27.4795L17.1534%2019.4166Z'%20fill='%23FCFCFC'/%3e%3cpath%20d='M33.1042%2037.0833H38.9808L33.1042%2030V37.0833Z'%20fill='%23FCFCFC'/%3e%3c/svg%3e",U3e=K(Y0)({".MuiPaper-root":{background:"linear-gradient(332deg, rgba(131, 14, 91, 0.95) 3%, rgba(46, 1, 62, 0.95) 35%)",position:"relative",borderRadius:16,maxWidth:"90%",margin:16,minHeight:"auto"}}),H3e=K(Ne)({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:24,padding:32,textAlign:"center"}),V3e=K("h2")({fontSize:24,fontWeight:600,textAlign:"center",margin:0,lineHeight:1.2,color:"white"}),z3e=K("p")({fontSize:16,lineHeight:1.5,textAlign:"center",margin:0,color:"white",opacity:.8}),W3e=K(hc)({position:"absolute",top:14,right:14,"&:hover":{backgroundColor:"#31282814"},svg:{color:"white"}}),q3e=({open:e,onClose:t})=>f.jsx(U3e,{open:e,size:"tiny",children:f.jsxs(H3e,{children:[f.jsx(W3e,{onClick:t,children:f.jsx(QI,{})}),f.jsx("img",{src:F3e,alt:"Decentraland Logo",width:"64",height:"64"}),f.jsx(V3e,{children:"Switch to a Computer to Use Decentraland"}),f.jsx(z3e,{children:"Enter your email to get a download reminder message for when you're back at your computer. This also signs you up for Decentraland's newsletter for the latest news and events"}),f.jsx("iframe",{src:"https://embeds.beehiiv.com/d7d652da-adc8-422f-9176-4b653a244020?slim=true","data-test-id":"beehiiv-embed",height:"52",frameBorder:"0",scrolling:"no",width:"100%",style:{margin:0,borderRadius:"0px !important",backgroundColor:"transparent"}})]})}),G3e="https://cdn.decentraland.org/@dcl/jump-site/0.0.3/assets/background-v4-CcTBZUhV.jpg",K3e=K(Ne)({display:"flex",flexDirection:"column",alignItems:"center",height:"100vh",paddingTop:96,backgroundImage:`url(${G3e})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}),gS="0,0",yS="main",Y3e=M.memo(()=>{var w,S,_;const[e]=yj(),[,t]=JI(),{track:n}=u6(),[r,o]=M.useState(),[i,a]=M.useState(!0),[s,l]=M.useState(!1),[c,u]=M.useState(!1),d=e.get("position")??gS,p=e.get("realm")??yS,h=((w=t==null?void 0:t.os)==null?void 0:w.name)??"unknown",g=((_=(S=t==null?void 0:t.cpu)==null?void 0:S.architecture)==null?void 0:_.toLowerCase())??"unknown",v=!!(t!=null&&t.mobile),b=M.useMemo(()=>p&&UA(p)?`World: ${p}`:`Genesis City at ${d}`,[p,d]);M.useEffect(()=>{(async()=>{a(!0);try{const R=await y3e(p,d);o(R)}catch(R){console.error("Error fetching metadata:",R)}finally{a(!1)}})()},[d,p]);const m=M.useCallback(async C=>{if(v){u(!0),n(ys.CLICK_JUMP_IN_MOBILE,{osName:h,arch:g});return}const{target:R}=C,T=new URL("decentraland://");p!==yS&&T.searchParams.set("realm",p),d!==gS&&T.searchParams.set("position",d),n(ys.CLICK_JUMP_IN,{deepLink:T.toString(),osName:h,arch:g}),await v3e(R,T.toString())||(l(!0),n(ys.CLIENT_NOT_INSTALLED,{osName:h,arch:g}))},[p,d,h,g,v,n,u]),y=M.useCallback(()=>{n(ys.CLICK_DOWNLOAD_MODAL_CLOSE,{osName:h,arch:g}),l(!1)},[h,g,l,n]),E=M.useCallback(()=>{n(ys.CLICK_MOBILE_DISCLAIMER_MODAL_CLOSE,{osName:h,arch:g}),u(!1)},[h,g,u,n]);return f.jsxs(K3e,{children:[f.jsxs(Ne,{mb:4,children:[f.jsx(bt,{variant:"h3",align:"center",sx:C=>({[C.breakpoints.down("xs")]:{fontSize:36}}),children:b}),r!=null&&r.owner&&!i?f.jsxs(bt,{variant:"body1",align:"center",sx:C=>({fontSize:36,fontWeight:700,[C.breakpoints.down("xs")]:{fontSize:28}}),children:["Created by ",r.owner]}):null]}),f.jsx(Ne,{mb:5,children:f.jsx(R3e,{isLoading:i,imageUrl:(r==null?void 0:r.image)??g3e,title:(r==null?void 0:r.title)??"",subtitle:(r==null?void 0:r.description)??""})}),f.jsx(Ne,{mb:4,children:f.jsx(Ji,{variant:"contained",size:"large",onMouseDown:m,sx:C=>({width:300,height:65,[C.breakpoints.down("xs")]:{width:200}}),children:f.jsx(bt,{variant:"body1",sx:C=>({fontSize:30,fontWeight:700,[C.breakpoints.down("xs")]:{fontSize:20}}),children:"Jump in"})})}),f.jsx(B3e,{open:s,onClose:y,osName:h,arch:g}),f.jsx(q3e,{open:c,onClose:E})]})});function Z3e(){const e=Cm(),{page:t}=u6();M.useEffect(()=>{t(e.pathname)},[e,t])}const X3e=M.memo(()=>(Z3e(),f.jsx(fj,{children:f.jsx(Wx,{path:"*",element:f.jsx(Y3e,{})})}))),J3e=/^decentraland.(zone|org|today)$/.test(window.location.host)?"/jump":"/";Px(document.getElementById("root")).render(f.jsx(M.StrictMode,{children:f.jsx(gj,{basename:J3e,children:f.jsx(sG,{theme:cG,children:f.jsx(MG,{writeKey:bR.get("SEGMENT_API_KEY"),children:f.jsx(X3e,{})})})})}));export{EG as _,ie as c,ES as g};
|