@dcl/jump-site 0.0.0-14044336460.commit-5bfcec4
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/RoobertPRO-Bold-BLoSpx-h.otf +0 -0
- package/assets/RoobertPRO-Bold-zQ2qeH97.ttf +0 -0
- package/assets/auto-track-CjlcxRbq.js +1 -0
- package/assets/background-v4-CcTBZUhV.jpg +0 -0
- package/assets/create-submenu-DEFVbrc5.png +0 -0
- package/assets/dcl-CSCjwju1.webp +0 -0
- package/assets/explore-submenu-KVl6Dc-h.png +0 -0
- package/assets/governance-submenu-CXxLX9nT.png +0 -0
- package/assets/index-ByYXaOcJ.js +1 -0
- package/assets/index-CgN-hMjL.js +1 -0
- package/assets/index-CrLwwrpf.js +1 -0
- package/assets/index-D6ZMQedT.js +1 -0
- package/assets/index-DWHvKSQh.js +1 -0
- package/assets/index-DkM9OuO4.js +2 -0
- package/assets/index-ca5CQ7kN.js +831 -0
- package/assets/index-lyD-Z9fX.js +2 -0
- package/assets/index.umd-C6IxKM3D.js +1 -0
- package/assets/is-plan-event-enabled-DS1Agtkw.js +1 -0
- package/assets/learn-submenu-Xs1jOwfy.png +0 -0
- package/assets/man-default1-BEO13leF.png +0 -0
- package/assets/marketplace-submenu-CjxTqNhj.png +0 -0
- package/index.html +13 -0
- package/package.json +22 -0
- package/vite.svg +1 -0
|
@@ -0,0 +1,831 @@
|
|
|
1
|
+
function ZA(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 SC(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 CC={exports:{}},nm={},wC={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 af=Symbol.for("react.element"),XA=Symbol.for("react.portal"),JA=Symbol.for("react.fragment"),QA=Symbol.for("react.strict_mode"),eP=Symbol.for("react.profiler"),tP=Symbol.for("react.provider"),nP=Symbol.for("react.context"),rP=Symbol.for("react.forward_ref"),oP=Symbol.for("react.suspense"),iP=Symbol.for("react.memo"),aP=Symbol.for("react.lazy"),y6=Symbol.iterator;function sP(e){return e===null||typeof e!="object"?null:(e=y6&&e[y6]||e["@@iterator"],typeof e=="function"?e:null)}var xC={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},MC=Object.assign,RC={};function Bc(e,t,n){this.props=e,this.context=t,this.refs=RC,this.updater=n||xC}Bc.prototype.isReactComponent={};Bc.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")};Bc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function TC(){}TC.prototype=Bc.prototype;function G3(e,t,n){this.props=e,this.context=t,this.refs=RC,this.updater=n||xC}var K3=G3.prototype=new TC;K3.constructor=G3;MC(K3,Bc.prototype);K3.isPureReactComponent=!0;var v6=Array.isArray,kC=Object.prototype.hasOwnProperty,Y3={current:null},IC={key:!0,ref:!0,__self:!0,__source:!0};function LC(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)kC.call(t,r)&&!IC.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:af,type:e,key:i,ref:a,props:o,_owner:Y3.current}}function lP(e,t){return{$$typeof:af,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===af}function cP(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var _6=/\/+/g;function Q0(e,t){return typeof e=="object"&&e!==null&&e.key!=null?cP(""+e.key):t.toString(36)}function n1(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 af:case XA:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+Q0(a,0):r,v6(o)?(n="",e!=null&&(n=e.replace(_6,"$&/")+"/"),n1(o,t,n,"",function(c){return c})):o!=null&&(Z3(o)&&(o=lP(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(_6,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",v6(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+Q0(i,s);a+=n1(i,t,n,l,o)}else if(l=sP(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+Q0(i,s++),a+=n1(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 Gf(e,t,n){if(e==null)return e;var r=[],o=0;return n1(e,r,"","",function(i){return t.call(n,i,o++)}),r}function uP(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},r1={transition:null},dP={ReactCurrentDispatcher:rr,ReactCurrentBatchConfig:r1,ReactCurrentOwner:Y3};function OC(){throw Error("act(...) is not supported in production builds of React.")}tt.Children={map:Gf,forEach:function(e,t,n){Gf(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Gf(e,function(){t++}),t},toArray:function(e){return Gf(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=Bc;tt.Fragment=JA;tt.Profiler=eP;tt.PureComponent=G3;tt.StrictMode=QA;tt.Suspense=oP;tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dP;tt.act=OC;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=MC({},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)kC.call(t,l)&&!IC.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:af,type:e.type,key:o,ref:i,props:r,_owner:a}};tt.createContext=function(e){return e={$$typeof:nP,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:tP,_context:e},e.Consumer=e};tt.createElement=LC;tt.createFactory=function(e){var t=LC.bind(null,e);return t.type=e,t};tt.createRef=function(){return{current:null}};tt.forwardRef=function(e){return{$$typeof:rP,render:e}};tt.isValidElement=Z3;tt.lazy=function(e){return{$$typeof:aP,_payload:{_status:-1,_result:e},_init:uP}};tt.memo=function(e,t){return{$$typeof:iP,type:e,compare:t===void 0?null:t}};tt.startTransition=function(e){var t=r1.transition;r1.transition={};try{e()}finally{r1.transition=t}};tt.unstable_act=OC;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";wC.exports=tt;var M=wC.exports;const K=SC(M),F1=ZA({__proto__:null,default:K},[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 fP=M,pP=Symbol.for("react.element"),hP=Symbol.for("react.fragment"),mP=Object.prototype.hasOwnProperty,gP=fP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,yP={key:!0,ref:!0,__self:!0,__source:!0};function AC(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)mP.call(t,r)&&!yP.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:pP,type:e,key:i,ref:a,props:o,_owner:gP.current}}nm.Fragment=hP;nm.jsx=AC;nm.jsxs=AC;CC.exports=nm;var f=CC.exports,PC={exports:{}},Pr={},NC={exports:{}},$C={};/**
|
|
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 C(B){if(v=!1,E(B),!g)if(n(l)!==null)g=!0,H(S);else{var ee=n(c);ee!==null&&re(C,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(C,x.startTime-ee),O=!1}return O}finally{d=null,p=$,h=!1}}var _=!1,w=null,R=-1,T=5,I=-1;function D(){return!(e.unstable_now()-I<T)}function F(){if(w!==null){var B=e.unstable_now();I=B;var ee=!0;try{ee=w(!0,B)}finally{ee?q():(_=!1,w=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){w=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(C,$-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=$}}}})($C);NC.exports=$C;var vP=NC.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 _P=M,Lr=vP;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 jC=new Set,Cd={};function Vs(e,t){rc(e,t),rc(e+"Capture",t)}function rc(e,t){for(Cd[e]=t,e=0;e<t.length;e++)jC.add(t[e])}var Li=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ny=Object.prototype.hasOwnProperty,bP=/^[: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]*$/,b6={},E6={};function EP(e){return ny.call(E6,e)?!0:ny.call(b6,e)?!1:bP.test(e)?E6[e]=!0:(b6[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 CP(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")&&(CP(t,n,o,r)&&(n=null),r||o===null?EP(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=_P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Kf=Symbol.for("react.element"),Cl=Symbol.for("react.portal"),wl=Symbol.for("react.fragment"),e4=Symbol.for("react.strict_mode"),ry=Symbol.for("react.profiler"),DC=Symbol.for("react.provider"),BC=Symbol.for("react.context"),t4=Symbol.for("react.forward_ref"),oy=Symbol.for("react.suspense"),iy=Symbol.for("react.suspense_list"),n4=Symbol.for("react.memo"),ca=Symbol.for("react.lazy"),FC=Symbol.for("react.offscreen"),S6=Symbol.iterator;function uu(e){return e===null||typeof e!="object"?null:(e=S6&&e[S6]||e["@@iterator"],typeof e=="function"?e:null)}var qt=Object.assign,eg;function ju(e){if(eg===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);eg=t&&t[1]||""}return`
|
|
34
|
+
`+eg+e}var tg=!1;function ng(e,t){if(!e||tg)return"";tg=!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{tg=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ju(e):""}function wP(e){switch(e.tag){case 5:return ju(e.type);case 16:return ju("Lazy");case 13:return ju("Suspense");case 19:return ju("SuspenseList");case 0:case 2:case 15:return e=ng(e.type,!1),e;case 11:return e=ng(e.type.render,!1),e;case 1:return e=ng(e.type,!0),e;default:return""}}function ay(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 wl:return"Fragment";case Cl:return"Portal";case ry:return"Profiler";case e4:return"StrictMode";case oy:return"Suspense";case iy:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case BC:return(e.displayName||"Context")+".Consumer";case DC: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:ay(e.type)||"Memo";case ca:t=e._payload,e=e._init;try{return ay(e(t))}catch{}}return null}function xP(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 ay(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 UC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function MP(e){var t=UC(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 Yf(e){e._valueTracker||(e._valueTracker=MP(e))}function HC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=UC(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function U1(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 sy(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 VC(e,t){t=t.checked,t!=null&&Q3(e,"checked",t,!1)}function ly(e,t){VC(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")?cy(e,t.type,n):t.hasOwnProperty("defaultValue")&&cy(e,t.type,Ba(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function w6(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 cy(e,t,n){(t!=="number"||U1(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Du=Array.isArray;function zl(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 uy(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(ce(91));return qt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function x6(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(Du(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 zC(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 M6(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function WC(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 dy(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?WC(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Zf,qC=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(Zf=Zf||document.createElement("div"),Zf.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Zf.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function wd(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Zu={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},RP=["Webkit","ms","Moz","O"];Object.keys(Zu).forEach(function(e){RP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zu[t]=Zu[e]})});function GC(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Zu.hasOwnProperty(e)&&Zu[e]?(""+t).trim():t+"px"}function KC(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=GC(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var TP=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 fy(e,t){if(t){if(TP[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 py(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 hy=null;function r4(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var my=null,Wl=null,ql=null;function R6(e){if(e=cf(e)){if(typeof my!="function")throw Error(ce(280));var t=e.stateNode;t&&(t=sm(t),my(e.stateNode,e.type,t))}}function YC(e){Wl?ql?ql.push(e):ql=[e]:Wl=e}function ZC(){if(Wl){var e=Wl,t=ql;if(ql=Wl=null,R6(e),t)for(e=0;e<t.length;e++)R6(t[e])}}function XC(e,t){return e(t)}function JC(){}var rg=!1;function QC(e,t,n){if(rg)return e(t,n);rg=!0;try{return XC(e,t,n)}finally{rg=!1,(Wl!==null||ql!==null)&&(JC(),ZC())}}function xd(e,t){var n=e.stateNode;if(n===null)return null;var r=sm(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 gy=!1;if(Li)try{var du={};Object.defineProperty(du,"passive",{get:function(){gy=!0}}),window.addEventListener("test",du,du),window.removeEventListener("test",du,du)}catch{gy=!1}function kP(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 Xu=!1,H1=null,V1=!1,yy=null,IP={onError:function(e){Xu=!0,H1=e}};function LP(e,t,n,r,o,i,a,s,l){Xu=!1,H1=null,kP.apply(IP,arguments)}function OP(e,t,n,r,o,i,a,s,l){if(LP.apply(this,arguments),Xu){if(Xu){var c=H1;Xu=!1,H1=null}else throw Error(ce(198));V1||(V1=!0,yy=c)}}function zs(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 ew(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 T6(e){if(zs(e)!==e)throw Error(ce(188))}function AP(e){var t=e.alternate;if(!t){if(t=zs(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 T6(o),e;if(i===r)return T6(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 tw(e){return e=AP(e),e!==null?nw(e):null}function nw(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=nw(e);if(t!==null)return t;e=e.sibling}return null}var rw=Lr.unstable_scheduleCallback,k6=Lr.unstable_cancelCallback,PP=Lr.unstable_shouldYield,NP=Lr.unstable_requestPaint,Qt=Lr.unstable_now,$P=Lr.unstable_getCurrentPriorityLevel,o4=Lr.unstable_ImmediatePriority,ow=Lr.unstable_UserBlockingPriority,z1=Lr.unstable_NormalPriority,jP=Lr.unstable_LowPriority,iw=Lr.unstable_IdlePriority,rm=null,Zo=null;function DP(e){if(Zo&&typeof Zo.onCommitFiberRoot=="function")try{Zo.onCommitFiberRoot(rm,e,void 0,(e.current.flags&128)===128)}catch{}}var To=Math.clz32?Math.clz32:UP,BP=Math.log,FP=Math.LN2;function UP(e){return e>>>=0,e===0?32:31-(BP(e)/FP|0)|0}var Xf=64,Jf=4194304;function Bu(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 W1(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=Bu(s):(i&=a,i!==0&&(r=Bu(i)))}else a=n&~o,a!==0?r=Bu(a):i!==0&&(r=Bu(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 HP(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 VP(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]=HP(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function vy(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function aw(){var e=Xf;return Xf<<=1,!(Xf&4194240)&&(Xf=64),e}function og(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function sf(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 zP(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 gt=0;function sw(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var lw,a4,cw,uw,dw,_y=!1,Qf=[],Ra=null,Ta=null,ka=null,Md=new Map,Rd=new Map,ha=[],WP="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 I6(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":Md.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rd.delete(t.pointerId)}}function fu(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=cf(t),t!==null&&a4(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function qP(e,t,n,r,o){switch(t){case"focusin":return Ra=fu(Ra,e,t,n,r,o),!0;case"dragenter":return Ta=fu(Ta,e,t,n,r,o),!0;case"mouseover":return ka=fu(ka,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Md.set(i,fu(Md.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Rd.set(i,fu(Rd.get(i)||null,e,t,n,r,o)),!0}return!1}function fw(e){var t=ys(e.target);if(t!==null){var n=zs(t);if(n!==null){if(t=n.tag,t===13){if(t=ew(n),t!==null){e.blockedOn=t,dw(e.priority,function(){cw(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 o1(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=by(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);hy=r,n.target.dispatchEvent(r),hy=null}else return t=cf(n),t!==null&&a4(t),e.blockedOn=n,!1;t.shift()}return!0}function L6(e,t,n){o1(e)&&n.delete(t)}function GP(){_y=!1,Ra!==null&&o1(Ra)&&(Ra=null),Ta!==null&&o1(Ta)&&(Ta=null),ka!==null&&o1(ka)&&(ka=null),Md.forEach(L6),Rd.forEach(L6)}function pu(e,t){e.blockedOn===t&&(e.blockedOn=null,_y||(_y=!0,Lr.unstable_scheduleCallback(Lr.unstable_NormalPriority,GP)))}function Td(e){function t(o){return pu(o,e)}if(0<Qf.length){pu(Qf[0],e);for(var n=1;n<Qf.length;n++){var r=Qf[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ra!==null&&pu(Ra,e),Ta!==null&&pu(Ta,e),ka!==null&&pu(ka,e),Md.forEach(t),Rd.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);)fw(n),n.blockedOn===null&&ha.shift()}var Gl=Zi.ReactCurrentBatchConfig,q1=!0;function KP(e,t,n,r){var o=gt,i=Gl.transition;Gl.transition=null;try{gt=1,s4(e,t,n,r)}finally{gt=o,Gl.transition=i}}function YP(e,t,n,r){var o=gt,i=Gl.transition;Gl.transition=null;try{gt=4,s4(e,t,n,r)}finally{gt=o,Gl.transition=i}}function s4(e,t,n,r){if(q1){var o=by(e,t,n,r);if(o===null)hg(e,t,r,G1,n),I6(e,r);else if(qP(o,e,t,n,r))r.stopPropagation();else if(I6(e,r),t&4&&-1<WP.indexOf(e)){for(;o!==null;){var i=cf(o);if(i!==null&&lw(i),i=by(e,t,n,r),i===null&&hg(e,t,r,G1,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else hg(e,t,r,null,n)}}var G1=null;function by(e,t,n,r){if(G1=null,e=r4(r),e=ys(e),e!==null)if(t=zs(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ew(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 G1=e,null}function pw(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($P()){case o4:return 1;case ow:return 4;case z1:case jP:return 16;case iw:return 536870912;default:return 16}default:return 16}}var _a=null,l4=null,i1=null;function hw(){if(i1)return i1;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 i1=o.slice(e,1<r?1-r:void 0)}function a1(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 ep(){return!0}function O6(){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)?ep:O6,this.isPropagationStopped=O6,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=ep)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ep)},persist:function(){},isPersistent:ep}),t}var Fc={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},c4=Nr(Fc),lf=qt({},Fc,{view:0,detail:0}),ZP=Nr(lf),ig,ag,hu,om=qt({},lf,{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!==hu&&(hu&&e.type==="mousemove"?(ig=e.screenX-hu.screenX,ag=e.screenY-hu.screenY):ag=ig=0,hu=e),ig)},movementY:function(e){return"movementY"in e?e.movementY:ag}}),A6=Nr(om),XP=qt({},om,{dataTransfer:0}),JP=Nr(XP),QP=qt({},lf,{relatedTarget:0}),sg=Nr(QP),eN=qt({},Fc,{animationName:0,elapsedTime:0,pseudoElement:0}),tN=Nr(eN),nN=qt({},Fc,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),rN=Nr(nN),oN=qt({},Fc,{data:0}),P6=Nr(oN),iN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},aN={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"},sN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lN(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=sN[e])?!!t[e]:!1}function u4(){return lN}var cN=qt({},lf,{key:function(e){if(e.key){var t=iN[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=a1(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?aN[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"?a1(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?a1(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),uN=Nr(cN),dN=qt({},om,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),N6=Nr(dN),fN=qt({},lf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:u4}),pN=Nr(fN),hN=qt({},Fc,{propertyName:0,elapsedTime:0,pseudoElement:0}),mN=Nr(hN),gN=qt({},om,{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}),yN=Nr(gN),vN=[9,13,27,32],d4=Li&&"CompositionEvent"in window,Ju=null;Li&&"documentMode"in document&&(Ju=document.documentMode);var _N=Li&&"TextEvent"in window&&!Ju,mw=Li&&(!d4||Ju&&8<Ju&&11>=Ju),$6=" ",j6=!1;function gw(e,t){switch(e){case"keyup":return vN.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xl=!1;function bN(e,t){switch(e){case"compositionend":return yw(t);case"keypress":return t.which!==32?null:(j6=!0,$6);case"textInput":return e=t.data,e===$6&&j6?null:e;default:return null}}function EN(e,t){if(xl)return e==="compositionend"||!d4&&gw(e,t)?(e=hw(),i1=l4=_a=null,xl=!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 mw&&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 D6(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!SN[e.type]:t==="textarea"}function vw(e,t,n,r){YC(r),t=K1(t,"onChange"),0<t.length&&(n=new c4("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qu=null,kd=null;function CN(e){kw(e,0)}function im(e){var t=Tl(e);if(HC(t))return e}function wN(e,t){if(e==="change")return t}var _w=!1;if(Li){var lg;if(Li){var cg="oninput"in document;if(!cg){var B6=document.createElement("div");B6.setAttribute("oninput","return;"),cg=typeof B6.oninput=="function"}lg=cg}else lg=!1;_w=lg&&(!document.documentMode||9<document.documentMode)}function F6(){Qu&&(Qu.detachEvent("onpropertychange",bw),kd=Qu=null)}function bw(e){if(e.propertyName==="value"&&im(kd)){var t=[];vw(t,kd,e,r4(e)),QC(CN,t)}}function xN(e,t,n){e==="focusin"?(F6(),Qu=t,kd=n,Qu.attachEvent("onpropertychange",bw)):e==="focusout"&&F6()}function MN(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return im(kd)}function RN(e,t){if(e==="click")return im(t)}function TN(e,t){if(e==="input"||e==="change")return im(t)}function kN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Lo=typeof Object.is=="function"?Object.is:kN;function Id(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(!ny.call(t,o)||!Lo(e[o],t[o]))return!1}return!0}function U6(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function H6(e,t){var n=U6(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=U6(n)}}function Ew(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ew(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sw(){for(var e=window,t=U1();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=U1(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 IN(e){var t=Sw(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ew(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=H6(n,i);var a=H6(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 LN=Li&&"documentMode"in document&&11>=document.documentMode,Ml=null,Ey=null,ed=null,Sy=!1;function V6(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sy||Ml==null||Ml!==U1(r)||(r=Ml,"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}),ed&&Id(ed,r)||(ed=r,r=K1(Ey,"onSelect"),0<r.length&&(t=new c4("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ml)))}function tp(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Rl={animationend:tp("Animation","AnimationEnd"),animationiteration:tp("Animation","AnimationIteration"),animationstart:tp("Animation","AnimationStart"),transitionend:tp("Transition","TransitionEnd")},ug={},Cw={};Li&&(Cw=document.createElement("div").style,"AnimationEvent"in window||(delete Rl.animationend.animation,delete Rl.animationiteration.animation,delete Rl.animationstart.animation),"TransitionEvent"in window||delete Rl.transitionend.transition);function am(e){if(ug[e])return ug[e];if(!Rl[e])return e;var t=Rl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Cw)return ug[e]=t[n];return e}var ww=am("animationend"),xw=am("animationiteration"),Mw=am("animationstart"),Rw=am("transitionend"),Tw=new Map,z6="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){Tw.set(e,t),Vs(t,[e])}for(var dg=0;dg<z6.length;dg++){var fg=z6[dg],ON=fg.toLowerCase(),AN=fg[0].toUpperCase()+fg.slice(1);qa(ON,"on"+AN)}qa(ww,"onAnimationEnd");qa(xw,"onAnimationIteration");qa(Mw,"onAnimationStart");qa("dblclick","onDoubleClick");qa("focusin","onFocus");qa("focusout","onBlur");qa(Rw,"onTransitionEnd");rc("onMouseEnter",["mouseout","mouseover"]);rc("onMouseLeave",["mouseout","mouseover"]);rc("onPointerEnter",["pointerout","pointerover"]);rc("onPointerLeave",["pointerout","pointerover"]);Vs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Vs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Vs("onBeforeInput",["compositionend","keypress","textInput","paste"]);Vs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Vs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Vs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fu="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(" "),PN=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fu));function W6(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,OP(r,t,void 0,e),e.currentTarget=null}function kw(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;W6(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;W6(o,s,c),i=l}}}if(V1)throw e=yy,V1=!1,yy=null,e}function At(e,t){var n=t[Ry];n===void 0&&(n=t[Ry]=new Set);var r=e+"__bubble";n.has(r)||(Iw(t,e,2,!1),n.add(r))}function pg(e,t,n){var r=0;t&&(r|=4),Iw(n,e,r,t)}var np="_reactListening"+Math.random().toString(36).slice(2);function Ld(e){if(!e[np]){e[np]=!0,jC.forEach(function(n){n!=="selectionchange"&&(PN.has(n)||pg(n,!1,e),pg(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[np]||(t[np]=!0,pg("selectionchange",!1,t))}}function Iw(e,t,n,r){switch(pw(t)){case 1:var o=KP;break;case 4:o=YP;break;default:o=s4}n=o.bind(null,t,n,e),o=void 0,!gy||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 hg(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=ys(s),a===null)return;if(l=a.tag,l===5||l===6){r=i=a;continue e}s=s.parentNode}}r=r.return}QC(function(){var c=i,u=r4(n),d=[];e:{var p=Tw.get(e);if(p!==void 0){var h=c4,g=e;switch(e){case"keypress":if(a1(n)===0)break e;case"keydown":case"keyup":h=uN;break;case"focusin":g="focus",h=sg;break;case"focusout":g="blur",h=sg;break;case"beforeblur":case"afterblur":h=sg;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=A6;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=JP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=pN;break;case ww:case xw:case Mw:h=tN;break;case Rw:h=mN;break;case"scroll":h=ZP;break;case"wheel":h=yN;break;case"copy":case"cut":case"paste":h=rN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=N6}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 C=E.stateNode;if(E.tag===5&&C!==null&&(E=C,m!==null&&(C=xd(y,m),C!=null&&v.push(Od(y,C,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!==hy&&(g=n.relatedTarget||n.fromElement)&&(ys(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?ys(g):null,g!==null&&(b=zs(g),g!==b||g.tag!==5&&g.tag!==6)&&(g=null)):(h=null,g=c),h!==g)){if(v=A6,C="onMouseLeave",m="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(v=N6,C="onPointerLeave",m="onPointerEnter",y="pointer"),b=h==null?p:Tl(h),E=g==null?p:Tl(g),p=new v(C,y+"leave",h,n,u),p.target=b,p.relatedTarget=E,C=null,ys(u)===c&&(v=new v(m,y+"enter",g,n,u),v.target=E,v.relatedTarget=b,C=v),b=C,h&&g)t:{for(v=h,m=g,y=0,E=v;E;E=tl(E))y++;for(E=0,C=m;C;C=tl(C))E++;for(;0<y-E;)v=tl(v),y--;for(;0<E-y;)m=tl(m),E--;for(;y--;){if(v===m||m!==null&&v===m.alternate)break t;v=tl(v),m=tl(m)}v=null}else v=null;h!==null&&q6(d,p,h,v,!1),g!==null&&b!==null&&q6(d,b,g,v,!0)}}e:{if(p=c?Tl(c):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var S=wN;else if(D6(p))if(_w)S=TN;else{S=MN;var _=xN}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(S=RN);if(S&&(S=S(e,c))){vw(d,S,n,u);break e}_&&_(e,p,c),e==="focusout"&&(_=p._wrapperState)&&_.controlled&&p.type==="number"&&cy(p,"number",p.value)}switch(_=c?Tl(c):window,e){case"focusin":(D6(_)||_.contentEditable==="true")&&(Ml=_,Ey=c,ed=null);break;case"focusout":ed=Ey=Ml=null;break;case"mousedown":Sy=!0;break;case"contextmenu":case"mouseup":case"dragend":Sy=!1,V6(d,n,u);break;case"selectionchange":if(LN)break;case"keydown":case"keyup":V6(d,n,u)}var w;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 xl?gw(e,n)&&(R="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(mw&&n.locale!=="ko"&&(xl||R!=="onCompositionStart"?R==="onCompositionEnd"&&xl&&(w=hw()):(_a=u,l4="value"in _a?_a.value:_a.textContent,xl=!0)),_=K1(c,R),0<_.length&&(R=new P6(R,e,null,n,u),d.push({event:R,listeners:_}),w?R.data=w:(w=yw(n),w!==null&&(R.data=w)))),(w=_N?bN(e,n):EN(e,n))&&(c=K1(c,"onBeforeInput"),0<c.length&&(u=new P6("onBeforeInput","beforeinput",null,n,u),d.push({event:u,listeners:c}),u.data=w))}kw(d,t)})}function Od(e,t,n){return{instance:e,listener:t,currentTarget:n}}function K1(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=xd(e,n),i!=null&&r.unshift(Od(e,i,o)),i=xd(e,t),i!=null&&r.push(Od(e,i,o))),e=e.return}return r}function tl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function q6(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=xd(n,i),l!=null&&a.unshift(Od(n,l,s))):o||(l=xd(n,i),l!=null&&a.push(Od(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var NN=/\r\n?/g,$N=/\u0000|\uFFFD/g;function G6(e){return(typeof e=="string"?e:""+e).replace(NN,`
|
|
38
|
+
`).replace($N,"")}function rp(e,t,n){if(t=G6(t),G6(e)!==t&&n)throw Error(ce(425))}function Y1(){}var Cy=null,wy=null;function xy(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 My=typeof setTimeout=="function"?setTimeout:void 0,jN=typeof clearTimeout=="function"?clearTimeout:void 0,K6=typeof Promise=="function"?Promise:void 0,DN=typeof queueMicrotask=="function"?queueMicrotask:typeof K6<"u"?function(e){return K6.resolve(null).then(e).catch(BN)}:My;function BN(e){setTimeout(function(){throw e})}function mg(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),Td(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Td(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 Y6(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 Uc=Math.random().toString(36).slice(2),Wo="__reactFiber$"+Uc,Ad="__reactProps$"+Uc,Oi="__reactContainer$"+Uc,Ry="__reactEvents$"+Uc,FN="__reactListeners$"+Uc,UN="__reactHandles$"+Uc;function ys(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=Y6(e);e!==null;){if(n=e[Wo])return n;e=Y6(e)}return t}e=n,n=e.parentNode}return null}function cf(e){return e=e[Wo]||e[Oi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Tl(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ce(33))}function sm(e){return e[Ad]||null}var Ty=[],kl=-1;function Ga(e){return{current:e}}function Nt(e){0>kl||(e.current=Ty[kl],Ty[kl]=null,kl--)}function Lt(e,t){kl++,Ty[kl]=e.current,e.current=t}var Fa={},Vn=Ga(Fa),hr=Ga(!1),Ls=Fa;function oc(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 Z1(){Nt(hr),Nt(Vn)}function Z6(e,t,n){if(Vn.current!==Fa)throw Error(ce(168));Lt(Vn,t),Lt(hr,n)}function Lw(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,xP(e)||"Unknown",o));return qt({},n,r)}function X1(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fa,Ls=Vn.current,Lt(Vn,e),Lt(hr,hr.current),!0}function X6(e,t,n){var r=e.stateNode;if(!r)throw Error(ce(169));n?(e=Lw(e,t,Ls),r.__reactInternalMemoizedMergedChildContext=e,Nt(hr),Nt(Vn),Lt(Vn,e)):Nt(hr),Lt(hr,n)}var gi=null,lm=!1,gg=!1;function Ow(e){gi===null?gi=[e]:gi.push(e)}function HN(e){lm=!0,Ow(e)}function Ka(){if(!gg&&gi!==null){gg=!0;var e=0,t=gt;try{var n=gi;for(gt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}gi=null,lm=!1}catch(o){throw gi!==null&&(gi=gi.slice(e+1)),rw(o4,Ka),o}finally{gt=t,gg=!1}}return null}var Il=[],Ll=0,J1=null,Q1=0,Wr=[],qr=0,Os=null,vi=1,_i="";function ls(e,t){Il[Ll++]=Q1,Il[Ll++]=J1,J1=e,Q1=t}function Aw(e,t,n){Wr[qr++]=vi,Wr[qr++]=_i,Wr[qr++]=Os,Os=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),Aw(e,1,0))}function h4(e){for(;e===J1;)J1=Il[--Ll],Il[Ll]=null,Q1=Il[--Ll],Il[Ll]=null;for(;e===Os;)Os=Wr[--qr],Wr[qr]=null,_i=Wr[--qr],Wr[qr]=null,vi=Wr[--qr],Wr[qr]=null}var kr=null,Tr=null,Dt=!1,So=null;function Pw(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 J6(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=Os!==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 ky(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Iy(e){if(Dt){var t=Tr;if(t){var n=t;if(!J6(e,t)){if(ky(e))throw Error(ce(418));t=Ia(n.nextSibling);var r=kr;t&&J6(e,t)?Pw(r,n):(e.flags=e.flags&-4097|2,Dt=!1,kr=e)}}else{if(ky(e))throw Error(ce(418));e.flags=e.flags&-4097|2,Dt=!1,kr=e}}}function Q6(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;kr=e}function op(e){if(e!==kr)return!1;if(!Dt)return Q6(e),Dt=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!xy(e.type,e.memoizedProps)),t&&(t=Tr)){if(ky(e))throw Nw(),Error(ce(418));for(;t;)Pw(e,t),t=Ia(t.nextSibling)}if(Q6(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 Nw(){for(var e=Tr;e;)e=Ia(e.nextSibling)}function ic(){Tr=kr=null,Dt=!1}function m4(e){So===null?So=[e]:So.push(e)}var VN=Zi.ReactCurrentBatchConfig;function mu(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 ip(e,t){throw e=Object.prototype.toString.call(t),Error(ce(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function e8(e){var t=e._init;return t(e._payload)}function $w(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,C){return y===null||y.tag!==6?(y=Cg(E,m.mode,C),y.return=m,y):(y=o(y,E),y.return=m,y)}function l(m,y,E,C){var S=E.type;return S===wl?u(m,y,E.props.children,C,E.key):y!==null&&(y.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ca&&e8(S)===y.type)?(C=o(y,E.props),C.ref=mu(m,y,E),C.return=m,C):(C=p1(E.type,E.key,E.props,null,m.mode,C),C.ref=mu(m,y,E),C.return=m,C)}function c(m,y,E,C){return y===null||y.tag!==4||y.stateNode.containerInfo!==E.containerInfo||y.stateNode.implementation!==E.implementation?(y=wg(E,m.mode,C),y.return=m,y):(y=o(y,E.children||[]),y.return=m,y)}function u(m,y,E,C,S){return y===null||y.tag!==7?(y=xs(E,m.mode,C,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=Cg(""+y,m.mode,E),y.return=m,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Kf:return E=p1(y.type,y.key,y.props,null,m.mode,E),E.ref=mu(m,null,y),E.return=m,E;case Cl:return y=wg(y,m.mode,E),y.return=m,y;case ca:var C=y._init;return d(m,C(y._payload),E)}if(Du(y)||uu(y))return y=xs(y,m.mode,E,null),y.return=m,y;ip(m,y)}return null}function p(m,y,E,C){var S=y!==null?y.key:null;if(typeof E=="string"&&E!==""||typeof E=="number")return S!==null?null:s(m,y,""+E,C);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Kf:return E.key===S?l(m,y,E,C):null;case Cl:return E.key===S?c(m,y,E,C):null;case ca:return S=E._init,p(m,y,S(E._payload),C)}if(Du(E)||uu(E))return S!==null?null:u(m,y,E,C,null);ip(m,E)}return null}function h(m,y,E,C,S){if(typeof C=="string"&&C!==""||typeof C=="number")return m=m.get(E)||null,s(y,m,""+C,S);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Kf:return m=m.get(C.key===null?E:C.key)||null,l(y,m,C,S);case Cl:return m=m.get(C.key===null?E:C.key)||null,c(y,m,C,S);case ca:var _=C._init;return h(m,y,E,_(C._payload),S)}if(Du(C)||uu(C))return m=m.get(E)||null,u(y,m,C,S,null);ip(y,C)}return null}function g(m,y,E,C){for(var S=null,_=null,w=y,R=y=0,T=null;w!==null&&R<E.length;R++){w.index>R?(T=w,w=null):T=w.sibling;var I=p(m,w,E[R],C);if(I===null){w===null&&(w=T);break}e&&w&&I.alternate===null&&t(m,w),y=i(I,y,R),_===null?S=I:_.sibling=I,_=I,w=T}if(R===E.length)return n(m,w),Dt&&ls(m,R),S;if(w===null){for(;R<E.length;R++)w=d(m,E[R],C),w!==null&&(y=i(w,y,R),_===null?S=w:_.sibling=w,_=w);return Dt&&ls(m,R),S}for(w=r(m,w);R<E.length;R++)T=h(w,m,R,E[R],C),T!==null&&(e&&T.alternate!==null&&w.delete(T.key===null?R:T.key),y=i(T,y,R),_===null?S=T:_.sibling=T,_=T);return e&&w.forEach(function(D){return t(m,D)}),Dt&&ls(m,R),S}function v(m,y,E,C){var S=uu(E);if(typeof S!="function")throw Error(ce(150));if(E=S.call(E),E==null)throw Error(ce(151));for(var _=S=null,w=y,R=y=0,T=null,I=E.next();w!==null&&!I.done;R++,I=E.next()){w.index>R?(T=w,w=null):T=w.sibling;var D=p(m,w,I.value,C);if(D===null){w===null&&(w=T);break}e&&w&&D.alternate===null&&t(m,w),y=i(D,y,R),_===null?S=D:_.sibling=D,_=D,w=T}if(I.done)return n(m,w),Dt&&ls(m,R),S;if(w===null){for(;!I.done;R++,I=E.next())I=d(m,I.value,C),I!==null&&(y=i(I,y,R),_===null?S=I:_.sibling=I,_=I);return Dt&&ls(m,R),S}for(w=r(m,w);!I.done;R++,I=E.next())I=h(w,m,R,I.value,C),I!==null&&(e&&I.alternate!==null&&w.delete(I.key===null?R:I.key),y=i(I,y,R),_===null?S=I:_.sibling=I,_=I);return e&&w.forEach(function(F){return t(m,F)}),Dt&&ls(m,R),S}function b(m,y,E,C){if(typeof E=="object"&&E!==null&&E.type===wl&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Kf:e:{for(var S=E.key,_=y;_!==null;){if(_.key===S){if(S=E.type,S===wl){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&&e8(S)===_.type){n(m,_.sibling),y=o(_,E.props),y.ref=mu(m,_,E),y.return=m,m=y;break e}n(m,_);break}else t(m,_);_=_.sibling}E.type===wl?(y=xs(E.props.children,m.mode,C,E.key),y.return=m,m=y):(C=p1(E.type,E.key,E.props,null,m.mode,C),C.ref=mu(m,y,E),C.return=m,m=C)}return a(m);case Cl: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=wg(E,m.mode,C),y.return=m,m=y}return a(m);case ca:return _=E._init,b(m,y,_(E._payload),C)}if(Du(E))return g(m,y,E,C);if(uu(E))return v(m,y,E,C);ip(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=Cg(E,m.mode,C),y.return=m,m=y),a(m)):n(m,y)}return b}var ac=$w(!0),jw=$w(!1),eh=Ga(null),th=null,Ol=null,g4=null;function y4(){g4=Ol=th=null}function v4(e){var t=eh.current;Nt(eh),e._currentValue=t}function Ly(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 Kl(e,t){th=e,g4=Ol=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},Ol===null){if(th===null)throw Error(ce(308));Ol=e,th.dependencies={lanes:0,firstContext:e}}else Ol=Ol.next=e;return t}var vs=null;function _4(e){vs===null?vs=[e]:vs.push(e)}function Dw(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 Bw(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 s1(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 t8(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 nh(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);Ps|=a,e.lanes=a,e.memoizedState=d}}function n8(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 uf={},Xo=Ga(uf),Pd=Ga(uf),Nd=Ga(uf);function _s(e){if(e===uf)throw Error(ce(174));return e}function E4(e,t){switch(Lt(Nd,t),Lt(Pd,e),Lt(Xo,uf),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:dy(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=dy(t,e)}Nt(Xo),Lt(Xo,t)}function sc(){Nt(Xo),Nt(Pd),Nt(Nd)}function Fw(e){_s(Nd.current);var t=_s(Xo.current),n=dy(t,e.type);t!==n&&(Lt(Pd,e),Lt(Xo,n))}function S4(e){Pd.current===e&&(Nt(Xo),Nt(Pd))}var zt=Ga(0);function rh(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 yg=[];function C4(){for(var e=0;e<yg.length;e++)yg[e]._workInProgressVersionPrimary=null;yg.length=0}var l1=Zi.ReactCurrentDispatcher,vg=Zi.ReactCurrentBatchConfig,As=0,Wt=null,cn=null,hn=null,oh=!1,td=!1,$d=0,zN=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(As=i,Wt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,l1.current=e===null||e.memoizedState===null?KN:YN,e=n(r,o),td){i=0;do{if(td=!1,$d=0,25<=i)throw Error(ce(301));i+=1,hn=cn=null,t.updateQueue=null,l1.current=ZN,e=n(r,o)}while(td)}if(l1.current=ih,t=cn!==null&&cn.next!==null,As=0,hn=cn=Wt=null,oh=!1,t)throw Error(ce(300));return e}function M4(){var e=$d!==0;return $d=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 jd(e,t){return typeof t=="function"?t(e):t}function _g(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((As&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,Ps|=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,Ps|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function bg(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 Uw(){}function Hw(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(Ww.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||hn!==null&&hn.memoizedState.tag&1){if(n.flags|=2048,Dd(9,zw.bind(null,n,r,o,t),void 0,null),yn===null)throw Error(ce(349));As&30||Vw(n,t,o)}return o}function Vw(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 zw(e,t,n,r){t.value=n,t.getSnapshot=r,qw(t)&&Gw(e)}function Ww(e,t,n){return n(function(){qw(t)&&Gw(e)})}function qw(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Lo(e,n)}catch{return!0}}function Gw(e){var t=Ai(e,1);t!==null&&ko(t,e,1,-1)}function r8(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:jd,lastRenderedState:e},t.queue=e,e=e.dispatch=GN.bind(null,Wt,e),[t.memoizedState,e]}function Dd(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 Kw(){return io().memoizedState}function c1(e,t,n,r){var o=Uo();Wt.flags|=e,o.memoizedState=Dd(1|t,n,void 0,r===void 0?null:r)}function cm(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=Dd(t,n,i,r);return}}Wt.flags|=e,o.memoizedState=Dd(1|t,n,i,r)}function o8(e,t){return c1(8390656,8,e,t)}function R4(e,t){return cm(2048,8,e,t)}function Yw(e,t){return cm(4,2,e,t)}function Zw(e,t){return cm(4,4,e,t)}function Xw(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 Jw(e,t,n){return n=n!=null?n.concat([e]):null,cm(4,4,Xw.bind(null,t,e),n)}function T4(){}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]:(n.memoizedState=[e,t],e)}function ex(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 tx(e,t,n){return As&21?(Lo(n,t)||(n=aw(),Wt.lanes|=n,Ps|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,pr=!0),e.memoizedState=n)}function WN(e,t){var n=gt;gt=n!==0&&4>n?n:4,e(!0);var r=vg.transition;vg.transition={};try{e(!1),t()}finally{gt=n,vg.transition=r}}function nx(){return io().memoizedState}function qN(e,t,n){var r=Aa(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rx(e))ox(t,n);else if(n=Dw(e,t,n,r),n!==null){var o=er();ko(n,e,r,o),ix(n,t,r)}}function GN(e,t,n){var r=Aa(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rx(e))ox(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=Dw(e,t,o,r),n!==null&&(o=er(),ko(n,e,r,o),ix(n,t,r))}}function rx(e){var t=e.alternate;return e===Wt||t!==null&&t===Wt}function ox(e,t){td=oh=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ix(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,i4(e,n)}}var ih={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},KN={readContext:oo,useCallback:function(e,t){return Uo().memoizedState=[e,t===void 0?null:t],e},useContext:oo,useEffect:o8,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,c1(4194308,4,Xw.bind(null,t,e),n)},useLayoutEffect:function(e,t){return c1(4194308,4,e,t)},useInsertionEffect:function(e,t){return c1(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=qN.bind(null,Wt,e),[r.memoizedState,e]},useRef:function(e){var t=Uo();return e={current:e},t.memoizedState=e},useState:r8,useDebugValue:T4,useDeferredValue:function(e){return Uo().memoizedState=e},useTransition:function(){var e=r8(!1),t=e[0];return e=WN.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));As&30||Vw(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,o8(Ww.bind(null,r,i,e),[e]),r.flags|=2048,Dd(9,zw.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=$d++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=zN++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},YN={readContext:oo,useCallback:Qw,useContext:oo,useEffect:R4,useImperativeHandle:Jw,useInsertionEffect:Yw,useLayoutEffect:Zw,useMemo:ex,useReducer:_g,useRef:Kw,useState:function(){return _g(jd)},useDebugValue:T4,useDeferredValue:function(e){var t=io();return tx(t,cn.memoizedState,e)},useTransition:function(){var e=_g(jd)[0],t=io().memoizedState;return[e,t]},useMutableSource:Uw,useSyncExternalStore:Hw,useId:nx,unstable_isNewReconciler:!1},ZN={readContext:oo,useCallback:Qw,useContext:oo,useEffect:R4,useImperativeHandle:Jw,useInsertionEffect:Yw,useLayoutEffect:Zw,useMemo:ex,useReducer:bg,useRef:Kw,useState:function(){return bg(jd)},useDebugValue:T4,useDeferredValue:function(e){var t=io();return cn===null?t.memoizedState=e:tx(t,cn.memoizedState,e)},useTransition:function(){var e=bg(jd)[0],t=io().memoizedState;return[e,t]},useMutableSource:Uw,useSyncExternalStore:Hw,useId:nx,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 Oy(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 um={isMounted:function(e){return(e=e._reactInternals)?zs(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),s1(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),s1(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),s1(t,e,r))}};function i8(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?!Id(n,r)||!Id(o,i):!0}function ax(e,t,n){var r=!1,o=Fa,i=t.contextType;return typeof i=="object"&&i!==null?i=oo(i):(o=mr(t)?Ls:Vn.current,r=t.contextTypes,i=(r=r!=null)?oc(e,o):Fa),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=um,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function a8(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&&um.enqueueReplaceState(t,t.state,null)}function Ay(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)?Ls:Vn.current,o.context=oc(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Oy(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&&um.enqueueReplaceState(o,o.state,null),nh(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function lc(e,t){try{var n="",r=t;do n+=wP(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 Eg(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Py(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var XN=typeof WeakMap=="function"?WeakMap:Map;function sx(e,t,n){n=wi(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){sh||(sh=!0,zy=r),Py(e,t)},n}function lx(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(){Py(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Py(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 s8(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new XN;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=d$.bind(null,e,t,n),t.then(e,e))}function l8(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 c8(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 JN=Zi.ReactCurrentOwner,pr=!1;function Gn(e,t,n,r){t.child=e===null?jw(t,null,n,r):ac(t,e.child,n,r)}function u8(e,t,n,r,o){n=n.render;var i=t.ref;return Kl(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 d8(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,cx(e,t,i,r,o)):(e=p1(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:Id,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 cx(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Id(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 Ny(e,t,n,r,o)}function ux(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(Pl,Cr),Cr|=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(Pl,Cr),Cr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Lt(Pl,Cr),Cr|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Lt(Pl,Cr),Cr|=r;return Gn(e,t,o,n),t.child}function dx(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ny(e,t,n,r,o){var i=mr(n)?Ls:Vn.current;return i=oc(t,i),Kl(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 f8(e,t,n,r,o){if(mr(n)){var i=!0;X1(t)}else i=!1;if(Kl(t,o),t.stateNode===null)u1(e,t),ax(t,n,r),Ay(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)?Ls:Vn.current,c=oc(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)&&a8(t,a,r,c),ua=!1;var p=t.memoizedState;a.state=p,nh(t,r,a,o),l=t.memoizedState,s!==r||p!==l||hr.current||ua?(typeof u=="function"&&(Oy(t,n,u,r),l=t.memoizedState),(s=ua||i8(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,Bw(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)?Ls:Vn.current,l=oc(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)&&a8(t,a,r,l),ua=!1,p=t.memoizedState,a.state=p,nh(t,r,a,o);var g=t.memoizedState;s!==d||p!==g||hr.current||ua?(typeof h=="function"&&(Oy(t,n,h,r),g=t.memoizedState),(c=ua||i8(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 $y(e,t,n,r,i,o)}function $y(e,t,n,r,o,i){dx(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&X6(t,n,!1),Pi(e,t,i);r=t.stateNode,JN.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=ac(t,e.child,null,i),t.child=ac(t,null,s,i)):Gn(e,t,s,i),t.memoizedState=r.state,o&&X6(t,n,!0),t.child}function fx(e){var t=e.stateNode;t.pendingContext?Z6(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Z6(e,t.context,!1),E4(e,t.containerInfo)}function p8(e,t,n,r,o){return ic(),m4(o),t.flags|=256,Gn(e,t,n,r),t.child}var jy={dehydrated:null,treeContext:null,retryLane:0};function Dy(e){return{baseLanes:e,cachePool:null,transitions:null}}function px(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 Iy(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=pm(a,r,0,null),e=xs(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Dy(n),t.memoizedState=jy,e):k4(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return QN(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=xs(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?Dy(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=jy,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=pm({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ap(e,t,n,r){return r!==null&&m4(r),ac(t,e.child,null,n),e=k4(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function QN(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=Eg(Error(ce(422))),ap(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=pm({mode:"visible",children:r.children},o,0,null),i=xs(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&ac(t,e.child,null,a),t.child.memoizedState=Dy(a),t.memoizedState=jy,i);if(!(t.mode&1))return ap(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=Eg(i,r,void 0),ap(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=Eg(Error(ce(421))),ap(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=f$.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Tr=Ia(o.nextSibling),kr=t,Dt=!0,So=null,e!==null&&(Wr[qr++]=vi,Wr[qr++]=_i,Wr[qr++]=Os,vi=e.id,_i=e.overflow,Os=t),t=k4(t,r.children),t.flags|=4096,t)}function h8(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ly(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 hx(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&&h8(e,n,t);else if(e.tag===19)h8(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&&rh(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&&rh(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 u1(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),Ps|=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 e$(e,t,n){switch(t.tag){case 3:fx(t),ic();break;case 5:Fw(t);break;case 1:mr(t.type)&&X1(t);break;case 4:E4(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Lt(eh,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?px(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 hx(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,ux(e,t,n)}return Pi(e,t,n)}var mx,By,gx,yx;mx=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}};By=function(){};gx=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,_s(Xo.current);var i=null;switch(n){case"input":o=sy(e,o),r=sy(e,r),i=[];break;case"select":o=qt({},o,{value:void 0}),r=qt({},r,{value:void 0}),i=[];break;case"textarea":o=uy(e,o),r=uy(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Y1)}fy(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"&&(Cd.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"&&(Cd.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)}};yx=function(e,t,n,r){n!==r&&(t.flags|=4)};function gu(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 t$(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)&&Z1(),jn(t),null;case 3:return r=t.stateNode,sc(),Nt(hr),Nt(Vn),C4(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(op(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,So!==null&&(Gy(So),So=null))),By(e,t),jn(t),null;case 5:S4(t);var o=_s(Nd.current);if(n=t.type,e!==null&&t.stateNode!=null)gx(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=_s(Xo.current),op(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Wo]=t,r[Ad]=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<Fu.length;o++)At(Fu[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":x6(r,i),At("invalid",r)}fy(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&&rp(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&rp(r.textContent,s,e),o=["children",""+s]):Cd.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&At("scroll",r)}switch(n){case"input":Yf(r),w6(r,i,!0);break;case"textarea":Yf(r),M6(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Y1)}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=WC(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[Ad]=r,mx(e,t,!1,!1),t.stateNode=e;e:{switch(a=py(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<Fu.length;o++)At(Fu[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=sy(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":x6(e,r),o=uy(e,r),At("invalid",e);break;default:o=r}fy(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?KC(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&qC(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&wd(e,l):typeof l=="number"&&wd(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Cd.hasOwnProperty(i)?l!=null&&i==="onScroll"&&At("scroll",e):l!=null&&Q3(e,i,l,a))}switch(n){case"input":Yf(e),w6(e,r,!1);break;case"textarea":Yf(e),M6(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?zl(e,!!r.multiple,i,!1):r.defaultValue!=null&&zl(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Y1)}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)yx(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(ce(166));if(n=_s(Nd.current),_s(Xo.current),op(t)){if(r=t.stateNode,n=t.memoizedProps,r[Wo]=t,(i=r.nodeValue!==n)&&(e=kr,e!==null))switch(e.tag){case 3:rp(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&rp(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))Nw(),ic(),t.flags|=98560,i=!1;else if(i=op(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 ic(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;jn(t),i=!1}else So!==null&&(Gy(So),So=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 sc(),By(e,t),e===null&&Ld(t.stateNode.containerInfo),jn(t),null;case 10:return v4(t.type._context),jn(t),null;case 17:return mr(t.type)&&Z1(),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)gu(i,!1);else{if(dn!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=rh(e),a!==null){for(t.flags|=128,gu(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()>cc&&(t.flags|=128,r=!0,gu(i,!1),t.lanes=4194304)}else{if(!r)if(e=rh(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),gu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Dt)return jn(t),null}else 2*Qt()-i.renderingStartTime>cc&&n!==1073741824&&(t.flags|=128,r=!0,gu(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?Cr&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 n$(e,t){switch(h4(t),t.tag){case 1:return mr(t.type)&&Z1(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sc(),Nt(hr),Nt(Vn),C4(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return S4(t),null;case 13:if(Nt(zt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ce(340));ic()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Nt(zt),null;case 4:return sc(),null;case 10:return v4(t.type._context),null;case 22:case 23:return P4(),null;case 24:return null;default:return null}}var sp=!1,Fn=!1,r$=typeof WeakSet=="function"?WeakSet:Set,ge=null;function Al(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 Fy(e,t,n){try{n()}catch(r){Xt(e,t,r)}}var m8=!1;function o$(e,t){if(Cy=q1,e=Sw(),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(wy={focusedElem:e,selectionRange:n},q1=!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(C){Xt(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,ge=e;break}ge=t.return}return g=m8,m8=!1,g}function nd(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&&Fy(t,n,i)}o=o.next}while(o!==r)}}function dm(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 Uy(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 vx(e){var t=e.alternate;t!==null&&(e.alternate=null,vx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Wo],delete t[Ad],delete t[Ry],delete t[FN],delete t[UN])),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 _x(e){return e.tag===5||e.tag===3||e.tag===4}function g8(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_x(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 Hy(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=Y1));else if(r!==4&&(e=e.child,e!==null))for(Hy(e,t,n),e=e.sibling;e!==null;)Hy(e,t,n),e=e.sibling}function Vy(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(Vy(e,t,n),e=e.sibling;e!==null;)Vy(e,t,n),e=e.sibling}var Tn=null,Eo=!1;function ta(e,t,n){for(n=n.child;n!==null;)bx(e,t,n),n=n.sibling}function bx(e,t,n){if(Zo&&typeof Zo.onCommitFiberUnmount=="function")try{Zo.onCommitFiberUnmount(rm,n)}catch{}switch(n.tag){case 5:Fn||Al(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?mg(e.parentNode,n):e.nodeType===1&&mg(e,n),Td(e)):mg(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)&&Fy(n,t,a),o=o.next}while(o!==r)}ta(e,t,n);break;case 1:if(!Fn&&(Al(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 y8(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new r$),t.forEach(function(r){var o=p$.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));bx(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;)Ex(t,e),t=t.sibling}function Ex(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{nd(3,e,e.return),dm(3,e)}catch(v){Xt(e,e.return,v)}try{nd(5,e,e.return)}catch(v){Xt(e,e.return,v)}}break;case 1:go(t,e),$o(e),r&512&&n!==null&&Al(n,n.return);break;case 5:if(go(t,e),$o(e),r&512&&n!==null&&Al(n,n.return),e.flags&32){var o=e.stateNode;try{wd(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&&VC(o,i),py(s,a);var c=py(s,i);for(a=0;a<l.length;a+=2){var u=l[a],d=l[a+1];u==="style"?KC(o,d):u==="dangerouslySetInnerHTML"?qC(o,d):u==="children"?wd(o,d):Q3(o,u,d,c)}switch(s){case"input":ly(o,i);break;case"textarea":zC(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?zl(o,!!i.multiple,h,!1):p!==!!i.multiple&&(i.defaultValue!=null?zl(o,!!i.multiple,i.defaultValue,!0):zl(o,!!i.multiple,i.multiple?[]:"",!1))}o[Ad]=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{Td(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&&y8(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:nd(4,p,p.return);break;case 1:Al(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:Al(p,p.return);break;case 22:if(p.memoizedState!==null){_8(d);continue}}h!==null?(h.return=p,ge=h):_8(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=GC("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&&y8(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(_x(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&&(wd(o,""),r.flags&=-33);var i=g8(e);Vy(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,s=g8(e);Hy(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 i$(e,t,n){ge=e,Sx(e)}function Sx(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||sp;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||Fn;s=sp;var c=Fn;if(sp=a,(Fn=l)&&!c)for(ge=o;ge!==null;)a=ge,l=a.child,a.tag===22&&a.memoizedState!==null?b8(o):l!==null?(l.return=a,ge=l):b8(o);for(;i!==null;)ge=i,Sx(i),i=i.sibling;ge=o,sp=s,Fn=c}v8(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,ge=i):v8(e)}}function v8(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||dm(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&&n8(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}n8(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&&Td(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ce(163))}Fn||t.flags&512&&Uy(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 _8(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 b8(e){for(;ge!==null;){var t=ge;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{dm(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{Uy(t)}catch(l){Xt(t,i,l)}break;case 5:var a=t.return;try{Uy(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 a$=Math.ceil,ah=Zi.ReactCurrentDispatcher,I4=Zi.ReactCurrentOwner,eo=Zi.ReactCurrentBatchConfig,ct=0,yn=null,ln=null,On=0,Cr=0,Pl=Ga(0),dn=0,Bd=null,Ps=0,fm=0,L4=0,rd=null,dr=null,O4=0,cc=1/0,fi=null,sh=!1,zy=null,Oa=null,lp=!1,ba=null,lh=0,od=0,Wy=null,d1=-1,f1=0;function er(){return ct&6?Qt():d1!==-1?d1:d1=Qt()}function Aa(e){return e.mode&1?ct&2&&On!==0?On&-On:VN.transition!==null?(f1===0&&(f1=aw()),f1):(e=gt,e!==0||(e=window.event,e=e===void 0?16:pw(e.type)),e):1}function ko(e,t,n,r){if(50<od)throw od=0,Wy=null,Error(ce(185));sf(e,n,r),(!(ct&2)||e!==yn)&&(e===yn&&(!(ct&2)&&(fm|=n),dn===4&&ma(e,On)),gr(e,r),n===1&&ct===0&&!(t.mode&1)&&(cc=Qt()+500,lm&&Ka()))}function gr(e,t){var n=e.callbackNode;VP(e,t);var r=W1(e,e===yn?On:0);if(r===0)n!==null&&k6(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&k6(n),t===1)e.tag===0?HN(E8.bind(null,e)):Ow(E8.bind(null,e)),DN(function(){!(ct&6)&&Ka()}),n=null;else{switch(sw(r)){case 1:n=o4;break;case 4:n=ow;break;case 16:n=z1;break;case 536870912:n=iw;break;default:n=z1}n=Ix(n,Cx.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Cx(e,t){if(d1=-1,f1=0,ct&6)throw Error(ce(327));var n=e.callbackNode;if(Yl()&&e.callbackNode!==n)return null;var r=W1(e,e===yn?On:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ch(e,r);else{t=r;var o=ct;ct|=2;var i=xx();(yn!==e||On!==t)&&(fi=null,cc=Qt()+500,ws(e,t));do try{c$();break}catch(s){wx(e,s)}while(!0);y4(),ah.current=i,ct=o,ln!==null?t=0:(yn=null,On=0,t=dn)}if(t!==0){if(t===2&&(o=vy(e),o!==0&&(r=o,t=qy(e,o))),t===1)throw n=Bd,ws(e,0),ma(e,r),gr(e,Qt()),n;if(t===6)ma(e,r);else{if(o=e.current.alternate,!(r&30)&&!s$(o)&&(t=ch(e,r),t===2&&(i=vy(e),i!==0&&(r=i,t=qy(e,i))),t===1))throw n=Bd,ws(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(W1(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){er(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=My(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*a$(r/1960))-r,10<r){e.timeoutHandle=My(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 qy(e,t){var n=rd;return e.current.memoizedState.isDehydrated&&(ws(e,t).flags|=256),e=ch(e,t),e!==2&&(t=dr,dr=n,t!==null&&Gy(t)),e}function Gy(e){dr===null?dr=e:dr.push.apply(dr,e)}function s$(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&=~fm,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 E8(e){if(ct&6)throw Error(ce(327));Yl();var t=W1(e,0);if(!(t&1))return gr(e,Qt()),null;var n=ch(e,t);if(e.tag!==0&&n===2){var r=vy(e);r!==0&&(t=r,n=qy(e,r))}if(n===1)throw n=Bd,ws(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&&(cc=Qt()+500,lm&&Ka())}}function Ns(e){ba!==null&&ba.tag===0&&!(ct&6)&&Yl();var t=ct;ct|=1;var n=eo.transition,r=gt;try{if(eo.transition=null,gt=1,e)return e()}finally{gt=r,eo.transition=n,ct=t,!(ct&6)&&Ka()}}function P4(){Cr=Pl.current,Nt(Pl)}function ws(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,jN(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&&Z1();break;case 3:sc(),Nt(hr),Nt(Vn),C4();break;case 5:S4(r);break;case 4:sc();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=Cr=t,dn=0,Bd=null,L4=fm=Ps=0,dr=rd=null,vs!==null){for(t=0;t<vs.length;t++)if(n=vs[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}vs=null}return e}function wx(e,t){do{var n=ln;try{if(y4(),l1.current=ih,oh){for(var r=Wt.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}oh=!1}if(As=0,hn=cn=Wt=null,td=!1,$d=0,I4.current=null,n===null||n.return===null){dn=1,Bd=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=l8(a);if(h!==null){h.flags&=-257,c8(h,a,s,i,t),h.mode&1&&s8(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)){s8(i,c,t),N4();break e}l=Error(ce(426))}}else if(Dt&&s.mode&1){var b=l8(a);if(b!==null){!(b.flags&65536)&&(b.flags|=256),c8(b,a,s,i,t),m4(lc(l,s));break e}}i=l=lc(l,s),dn!==4&&(dn=2),rd===null?rd=[i]:rd.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=sx(i,l,t);t8(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 C=lx(i,s,t);t8(i,C);break e}}i=i.return}while(i!==null)}Rx(n)}catch(S){t=S,ln===n&&n!==null&&(ln=n=n.return);continue}break}while(!0)}function xx(){var e=ah.current;return ah.current=ih,e===null?ih:e}function N4(){(dn===0||dn===3||dn===2)&&(dn=4),yn===null||!(Ps&268435455)&&!(fm&268435455)||ma(yn,On)}function ch(e,t){var n=ct;ct|=2;var r=xx();(yn!==e||On!==t)&&(fi=null,ws(e,t));do try{l$();break}catch(o){wx(e,o)}while(!0);if(y4(),ct=n,ah.current=r,ln!==null)throw Error(ce(261));return yn=null,On=0,dn}function l$(){for(;ln!==null;)Mx(ln)}function c$(){for(;ln!==null&&!PP();)Mx(ln)}function Mx(e){var t=kx(e.alternate,e,Cr);e.memoizedProps=e.pendingProps,t===null?Rx(e):ln=t,I4.current=null}function Rx(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=n$(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=t$(n,t,Cr),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=gt,o=eo.transition;try{eo.transition=null,gt=1,u$(e,t,n,r)}finally{eo.transition=o,gt=r}return null}function u$(e,t,n,r){do Yl();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(zP(e,i),e===yn&&(ln=yn=null,On=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||lp||(lp=!0,Ix(z1,function(){return Yl(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=eo.transition,eo.transition=null;var a=gt;gt=1;var s=ct;ct|=4,I4.current=null,o$(e,n),Ex(n,e),IN(wy),q1=!!Cy,wy=Cy=null,e.current=n,i$(n),NP(),ct=s,gt=a,eo.transition=i}else e.current=n;if(lp&&(lp=!1,ba=e,lh=o),i=e.pendingLanes,i===0&&(Oa=null),DP(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(sh)throw sh=!1,e=zy,zy=null,e;return lh&1&&e.tag!==0&&Yl(),i=e.pendingLanes,i&1?e===Wy?od++:(od=0,Wy=e):od=0,Ka(),null}function Yl(){if(ba!==null){var e=sw(lh),t=eo.transition,n=gt;try{if(eo.transition=null,gt=16>e?16:e,ba===null)var r=!1;else{if(e=ba,ba=null,lh=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:nd(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(vx(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:nd(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:dm(9,s)}}catch(S){Xt(s,s.return,S)}if(s===a){ge=null;break e}var C=s.sibling;if(C!==null){C.return=s.return,ge=C;break e}ge=s.return}}if(ct=o,Ka(),Zo&&typeof Zo.onPostCommitFiberRoot=="function")try{Zo.onPostCommitFiberRoot(rm,e)}catch{}r=!0}return r}finally{gt=n,eo.transition=t}}return!1}function S8(e,t,n){t=lc(n,t),t=sx(e,t,1),e=La(e,t,1),t=er(),e!==null&&(sf(e,1,t),gr(e,t))}function Xt(e,t,n){if(e.tag===3)S8(e,e,n);else for(;t!==null;){if(t.tag===3){S8(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=lc(n,e),e=lx(t,e,1),t=La(t,e,1),e=er(),t!==null&&(sf(t,1,e),gr(t,e));break}}t=t.return}}function d$(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?ws(e,0):L4|=n),gr(e,t)}function Tx(e,t){t===0&&(e.mode&1?(t=Jf,Jf<<=1,!(Jf&130023424)&&(Jf=4194304)):t=1);var n=er();e=Ai(e,t),e!==null&&(sf(e,t,n),gr(e,n))}function f$(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Tx(e,n)}function p$(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),Tx(e,n)}var kx;kx=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,e$(e,t,n);pr=!!(e.flags&131072)}else pr=!1,Dt&&t.flags&1048576&&Aw(t,Q1,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;u1(e,t),e=t.pendingProps;var o=oc(t,Vn.current);Kl(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,X1(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,b4(t),o.updater=um,t.stateNode=o,o._reactInternals=t,Ay(t,r,e,n),t=$y(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(u1(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=m$(r),e=bo(r,e),o){case 0:t=Ny(null,t,r,e,n);break e;case 1:t=f8(null,t,r,e,n);break e;case 11:t=u8(null,t,r,e,n);break e;case 14:t=d8(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),Ny(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bo(r,o),f8(e,t,r,o,n);case 3:e:{if(fx(t),e===null)throw Error(ce(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Bw(e,t),nh(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=lc(Error(ce(423)),t),t=p8(e,t,r,n,o);break e}else if(r!==o){o=lc(Error(ce(424)),t),t=p8(e,t,r,n,o);break e}else for(Tr=Ia(t.stateNode.containerInfo.firstChild),kr=t,Dt=!0,So=null,n=jw(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ic(),r===o){t=Pi(e,t,n);break e}Gn(e,t,r,n)}t=t.child}return t;case 5:return Fw(t),e===null&&Iy(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,xy(r,o)?a=null:i!==null&&xy(r,i)&&(t.flags|=32),dx(e,t),Gn(e,t,a,n),t.child;case 6:return e===null&&Iy(t),null;case 13:return px(e,t,n);case 4:return E4(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ac(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),u8(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(eh,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),Ly(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),Ly(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,Kl(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),d8(e,t,r,o,n);case 15:return cx(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:bo(r,o),u1(e,t),t.tag=1,mr(r)?(e=!0,X1(t)):e=!1,Kl(t,n),ax(t,r,o),Ay(t,r,o,n),$y(null,t,r,!0,e,n);case 19:return hx(e,t,n);case 22:return ux(e,t,n)}throw Error(ce(156,t.tag))};function Ix(e,t){return rw(e,t)}function h$(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 h$(e,t,n,r)}function $4(e){return e=e.prototype,!(!e||!e.isReactComponent)}function m$(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 p1(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 wl:return xs(n.children,o,i,t);case e4:a=8,o|=8;break;case ry:return e=Zr(12,n,t,o|2),e.elementType=ry,e.lanes=i,e;case oy:return e=Zr(13,n,t,o),e.elementType=oy,e.lanes=i,e;case iy:return e=Zr(19,n,t,o),e.elementType=iy,e.lanes=i,e;case FC:return pm(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case DC:a=10;break e;case BC: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 xs(e,t,n,r){return e=Zr(7,e,r,t),e.lanes=n,e}function pm(e,t,n,r){return e=Zr(22,e,r,t),e.elementType=FC,e.lanes=n,e.stateNode={isHidden:!1},e}function Cg(e,t,n){return e=Zr(6,e,null,t),e.lanes=n,e}function wg(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 g$(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=og(0),this.expirationTimes=og(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=og(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function j4(e,t,n,r,o,i,a,s,l){return e=new g$(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 y$(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Cl,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Lx(e){if(!e)return Fa;e=e._reactInternals;e:{if(zs(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 Lw(e,n,t)}return t}function Ox(e,t,n,r,o,i,a,s,l){return e=j4(n,r,!0,e,o,i,a,s,l),e.context=Lx(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,sf(e,o,r),gr(e,r),e}function hm(e,t,n,r){var o=t.current,i=er(),a=Aa(o);return n=Lx(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),s1(e,o,a)),a}function uh(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 v$(){return null}var Ax=typeof reportError=="function"?reportError:function(e){console.error(e)};function B4(e){this._internalRoot=e}mm.prototype.render=B4.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(ce(409));hm(e,t,null,null)};mm.prototype.unmount=B4.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ns(function(){hm(null,e,null,null)}),t[Oi]=null}};function mm(e){this._internalRoot=e}mm.prototype.unstable_scheduleHydration=function(e){if(e){var t=uw();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&&fw(e)}};function F4(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function gm(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function w8(){}function _$(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var c=uh(a);i.call(c)}}var a=Ox(t,r,e,0,null,!1,!1,"",w8);return e._reactRootContainer=a,e[Oi]=a.current,Ld(e.nodeType===8?e.parentNode:e),Ns(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var c=uh(l);s.call(c)}}var l=j4(e,0,!1,null,null,!1,!1,"",w8);return e._reactRootContainer=l,e[Oi]=l.current,Ld(e.nodeType===8?e.parentNode:e),Ns(function(){hm(t,l,n,r)}),l}function ym(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=uh(a);s.call(l)}}hm(t,a,e,o)}else a=_$(n,t,e,o,r);return uh(a)}lw=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Bu(t.pendingLanes);n!==0&&(i4(t,n|1),gr(t,Qt()),!(ct&6)&&(cc=Qt()+500,Ka()))}break;case 13:Ns(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)}};cw=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)}};uw=function(){return gt};dw=function(e,t){var n=gt;try{return gt=e,t()}finally{gt=n}};my=function(e,t,n){switch(t){case"input":if(ly(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=sm(r);if(!o)throw Error(ce(90));HC(r),ly(r,o)}}}break;case"textarea":zC(e,n);break;case"select":t=n.value,t!=null&&zl(e,!!n.multiple,t,!1)}};XC=A4;JC=Ns;var b$={usingClientEntryPoint:!1,Events:[cf,Tl,sm,YC,ZC,A4]},yu={findFiberByHostInstance:ys,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},E$={bundleType:yu.bundleType,version:yu.version,rendererPackageName:yu.rendererPackageName,rendererConfig:yu.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=tw(e),e===null?null:e.stateNode},findFiberByHostInstance:yu.findFiberByHostInstance||v$,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 cp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cp.isDisabled&&cp.supportsFiber)try{rm=cp.inject(E$),Zo=cp}catch{}}Pr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=b$;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 y$(e,t,null,n)};Pr.createRoot=function(e,t){if(!F4(e))throw Error(ce(299));var n=!1,r="",o=Ax;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,Ld(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=tw(t),e=e===null?null:e.stateNode,e};Pr.flushSync=function(e){return Ns(e)};Pr.hydrate=function(e,t,n){if(!gm(t))throw Error(ce(200));return ym(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=Ax;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Ox(t,null,e,1,n??null,o,!1,i,a),e[Oi]=t.current,Ld(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 mm(t)};Pr.render=function(e,t,n){if(!gm(t))throw Error(ce(200));return ym(null,e,t,!1,n)};Pr.unmountComponentAtNode=function(e){if(!gm(e))throw Error(ce(40));return e._reactRootContainer?(Ns(function(){ym(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(!gm(n))throw Error(ce(200));if(e==null||e._reactInternals===void 0)throw Error(ce(38));return ym(e,t,n,!1,r)};Pr.version="18.3.1-next-f1338f8080-20240426";function Px(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Px)}catch(e){console.error(e)}}Px(),PC.exports=Pr;var U4=PC.exports;const up=SC(U4);var Nx,x8=U4;Nx=x8.createRoot,x8.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 Fd(){return Fd=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},Fd.apply(this,arguments)}var Ea;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ea||(Ea={}));const M8="popstate";function S$(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:a,hash:s}=r.location;return Ky("",{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:jx(o)}return w$(t,n,null,e)}function fn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function $x(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function C$(){return Math.random().toString(36).substr(2,8)}function R8(e,t){return{usr:e.state,key:e.key,idx:t}}function Ky(e,t,n,r){return n===void 0&&(n=null),Fd({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Hc(t):t,{state:n,key:t&&t.key||r||C$()})}function jx(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 Hc(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 w$(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(Fd({},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=Ky(v.location,b,m);c=u()+1;let E=R8(y,c),C=v.createHref(y);try{a.pushState(E,"",C)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(C)}i&&l&&l({action:s,location:v.location,delta:1})}function h(b,m){s=Ea.Replace;let y=Ky(v.location,b,m);c=u();let E=R8(y,c),C=v.createHref(y);a.replaceState(E,"",C),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:jx(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(M8,d),l=b,()=>{o.removeEventListener(M8,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 T8;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(T8||(T8={}));function x$(e,t,n){return n===void 0&&(n="/"),M$(e,t,n,!1)}function M$(e,t,n,r){let o=typeof t=="string"?Hc(t):t,i=Fx(o.pathname||"/",n);if(i==null)return null;let a=Dx(e);R$(a);let s=null;for(let l=0;s==null&&l<a.length;++l){let c=D$(i);s=$$(a[l],c,r)}return s}function Dx(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=Ms([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+'".')),Dx(i.children,t,u,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:P$(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 Bx(i.path))o(i,a,l)}),t}function Bx(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=Bx(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 R$(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:N$(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const T$=/^:[\w-]+$/,k$=3,I$=2,L$=1,O$=10,A$=-2,k8=e=>e==="*";function P$(e,t){let n=e.split("/"),r=n.length;return n.some(k8)&&(r+=A$),t&&(r+=I$),n.filter(o=>!k8(o)).reduce((o,i)=>o+(T$.test(i)?k$:i===""?L$:O$),r)}function N$(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 $$(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=I8({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),p=l.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=I8({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!d)return null;Object.assign(o,d.params),a.push({params:o,pathname:Ms([i,d.pathname]),pathnameBase:z$(Ms([i,d.pathnameBase])),route:p}),d.pathnameBase!=="/"&&(i=Ms([i,d.pathnameBase]))}return a}function I8(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=j$(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 j$(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$x(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 D$(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $x(!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 Fx(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 B$(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Hc(e):e;return{pathname:n?n.startsWith("/")?n:F$(n,t):t,search:W$(r),hash:q$(o)}}function F$(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 xg(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 U$(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function H$(e,t){let n=U$(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function V$(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Hc(e):(o=Fd({},e),fn(!o.pathname||!o.pathname.includes("?"),xg("?","pathname","search",o)),fn(!o.pathname||!o.pathname.includes("#"),xg("#","pathname","hash",o)),fn(!o.search||!o.search.includes("#"),xg("#","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=B$(o,s),c=a&&a!=="/"&&a.endsWith("/"),u=(i||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const Ms=e=>e.join("/").replace(/\/\/+/g,"/"),z$=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),W$=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,q$=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function G$(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Ux=["post","put","patch","delete"];new Set(Ux);const K$=["get",...Ux];new Set(K$);/**
|
|
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 Ud(){return Ud=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},Ud.apply(this,arguments)}const H4=M.createContext(null),Y$=M.createContext(null),vm=M.createContext(null),_m=M.createContext(null),Vc=M.createContext({outlet:null,matches:[],isDataRoute:!1}),Hx=M.createContext(null);function bm(){return M.useContext(_m)!=null}function Em(){return bm()||fn(!1),M.useContext(_m).location}function Vx(e){M.useContext(vm).static||M.useLayoutEffect(e)}function Z$(){let{isDataRoute:e}=M.useContext(Vc);return e?cj():X$()}function X$(){bm()||fn(!1);let e=M.useContext(H4),{basename:t,future:n,navigator:r}=M.useContext(vm),{matches:o}=M.useContext(Vc),{pathname:i}=Em(),a=JSON.stringify(H$(o,n.v7_relativeSplatPath)),s=M.useRef(!1);return Vx(()=>{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=V$(c,JSON.parse(a),i,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Ms([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,a,i,e])}function J$(e,t){return Q$(e,t)}function Q$(e,t,n,r){bm()||fn(!1);let{navigator:o}=M.useContext(vm),{matches:i}=M.useContext(Vc),a=i[i.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=Em(),u;if(t){var d;let b=typeof t=="string"?Hc(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=x$(e,{pathname:h}),v=oj(g&&g.map(b=>Object.assign({},b,{params:Object.assign({},s,b.params),pathname:Ms([l,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:Ms([l,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&v?M.createElement(_m.Provider,{value:{location:Ud({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Ea.Pop}},v):v}function ej(){let e=lj(),t=G$(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 tj=M.createElement(ej,null);class nj 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(Vc.Provider,{value:this.props.routeContext},M.createElement(Hx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function rj(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(Vc.Provider,{value:t},r)}function oj(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||tj,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(rj,{match:d,routeContext:{outlet:u,matches:m,isDataRoute:n!=null},children:E})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?M.createElement(nj,{location:n.location,revalidation:n.revalidation,component:v,error:h,children:y(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):y()},null)}var zx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(zx||{}),dh=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}(dh||{});function ij(e){let t=M.useContext(H4);return t||fn(!1),t}function aj(e){let t=M.useContext(Y$);return t||fn(!1),t}function sj(e){let t=M.useContext(Vc);return t||fn(!1),t}function Wx(e){let t=sj(),n=t.matches[t.matches.length-1];return n.route.id||fn(!1),n.route.id}function lj(){var e;let t=M.useContext(Hx),n=aj(dh.UseRouteError),r=Wx(dh.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function cj(){let{router:e}=ij(zx.UseNavigateStable),t=Wx(dh.UseNavigateStable),n=M.useRef(!1);return Vx(()=>{n.current=!0}),M.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Ud({fromRouteId:t},i)))},[e,t])}function Yy(e){fn(!1)}function uj(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Ea.Pop,navigator:i,static:a=!1,future:s}=e;bm()&&fn(!1);let l=t.replace(/^\/*/,"/"),c=M.useMemo(()=>({basename:l,navigator:i,static:a,future:Ud({v7_relativeSplatPath:!1},s)}),[l,s,i,a]);typeof r=="string"&&(r=Hc(r));let{pathname:u="/",search:d="",hash:p="",state:h=null,key:g="default"}=r,v=M.useMemo(()=>{let b=Fx(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(vm.Provider,{value:c},M.createElement(_m.Provider,{children:n,value:v}))}function dj(e){let{children:t,location:n}=e;return J$(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!==Yy&&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 fj(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 pj="6";try{window.__reactRouterVersion=pj}catch{}const hj="startTransition",L8=F1[hj];function mj(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&&L8?L8(()=>l(d)):l(d)},[l,c]);return M.useLayoutEffect(()=>a.listen(u),[a,u]),M.createElement(uj,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}var O8;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(O8||(O8={}));var A8;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(A8||(A8={}));function gj(e){let t=M.useRef(Xy(e)),n=M.useRef(!1),r=Em(),o=M.useMemo(()=>fj(r.search,n.current?null:t.current),[r.search]),i=Z$(),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 yj=Object.freeze(Object.defineProperty({__proto__:null,default:Ua},Symbol.toStringTag,{value:"Module"})),df="$$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.includes(r))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 vj=/^((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)-.*))$/,_j=qx(function(e){return vj.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),bj=!1;function Ej(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 Cj=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?!bj: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=Ej(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-",fh="-moz-",ut="-webkit-",Gx="comm",V4="rule",z4="decl",wj="@import",Kx="@keyframes",xj="@layer",Mj=Math.abs,Sm=String.fromCharCode,Rj=Object.assign;function Tj(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 kj(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 Hd(e,t,n){return e.slice(t,n)}function Ho(e){return e.length}function W4(e){return e.length}function dp(e,t){return t.push(e),e}function Ij(e,t){return e.map(t).join("")}var Cm=1,uc=1,Zx=0,_r=0,sn=0,zc="";function wm(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Cm,column:uc,length:a,return:""}}function vu(e,t){return Rj(wm("",null,null,"",null,null,0),e,{length:-e.length},t)}function Lj(){return sn}function Oj(){return sn=_r>0?In(zc,--_r):0,uc--,sn===10&&(uc=1,Cm--),sn}function Ir(){return sn=_r<Zx?In(zc,_r++):0,uc++,sn===10&&(uc=1,Cm++),sn}function Jo(){return In(zc,_r)}function h1(){return _r}function ff(e,t){return Hd(zc,e,t)}function Vd(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 Cm=uc=1,Zx=Ho(zc=e),_r=0,[]}function Jx(e){return zc="",e}function m1(e){return Yx(ff(_r-1,Qy(e===91?e+2:e===40?e+1:e)))}function Aj(e){for(;(sn=Jo())&&sn<33;)Ir();return Vd(e)>2||Vd(sn)>3?"":" "}function Pj(e,t){for(;--t&&Ir()&&!(sn<48||sn>102||sn>57&&sn<65||sn>70&&sn<97););return ff(e,h1()+(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 Nj(e,t){for(;Ir()&&e+sn!==57;)if(e+sn===84&&Jo()===47)break;return"/*"+ff(t,_r-1)+"*"+Sm(e===47?e:Ir())}function $j(e){for(;!Vd(Jo());)Ir();return ff(e,_r)}function jj(e){return Jx(g1("",null,null,null,[""],e=Xx(e),0,[0],e))}function g1(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="",C=o,S=i,_=r,w=E;b;)switch(g=y,y=Ir()){case 40:if(g!=108&&In(w,d-1)==58){Jy(w+=dt(m1(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:w+=m1(y);break;case 9:case 10:case 13:case 32:w+=Aj(g);break;case 92:w+=Pj(h1()-1,7);continue;case 47:switch(Jo()){case 42:case 47:dp(Dj(Nj(Ir(),h1()),t,n),l);break;default:w+="/"}break;case 123*v:s[c++]=Ho(w)*m;case 125*v:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+u:m==-1&&(w=dt(w,/\f/g,"")),h>0&&Ho(w)-d&&dp(h>32?N8(w+";",r,n,d-1):N8(dt(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(dp(_=P8(w,t,n,c,u,o,s,E,C=[],S=[],d),i),y===123)if(u===0)g1(w,t,_,_,C,i,d,s,S);else switch(p===99&&In(w,3)===110?100:p){case 100:case 108:case 109:case 115:g1(e,_,_,r&&dp(P8(e,_,_,0,0,o,s,E,o,C=[],d),S),o,S,d,s,r?C:S);break;default:g1(w,_,_,_,[""],S,0,s,S)}}c=u=h=0,v=m=1,E=w="",d=a;break;case 58:d=1+Ho(w),h=g;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&Oj()==125)continue}switch(w+=Sm(y),y*v){case 38:m=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(Ho(w)-1)*m,m=1;break;case 64:Jo()===45&&(w+=m1(Ir())),p=Jo(),u=d=Ho(E=w+=$j(h1())),y++;break;case 45:g===45&&Ho(w)==2&&(v=0)}}return i}function P8(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=Hd(e,d+1,d=Mj(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 wm(e,t,n,o===0?V4:s,l,c,u)}function Dj(e,t,n){return wm(e,t,n,Gx,Sm(Lj()),Hd(e,2,-2),0)}function N8(e,t,n,r){return wm(e,t,n,z4,Hd(e,0,r),Hd(e,r+1,-1),r)}function Zl(e,t){for(var n="",r=W4(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Bj(e,t,n,r){switch(e.type){case xj:if(e.children.length)break;case wj:case z4:return e.return=e.return||e.value;case Gx:return"";case Kx:return e.return=e.value+"{"+Zl(e.children,r)+"}";case V4:e.value=e.props.join(",")}return Ho(n=Zl(e.children,r))?e.return=e.value+"{"+n+"}":""}function Fj(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 Uj(e){return function(t){t.root||(t=t.return)&&e(t)}}var Hj=function(t,n,r){for(var o=0,i=0;o=i,i=Jo(),o===38&&i===12&&(n[r]=1),!Vd(i);)Ir();return ff(t,_r)},Vj=function(t,n){var r=-1,o=44;do switch(Vd(o)){case 0:o===38&&Jo()===12&&(n[r]=1),t[r]+=Hj(_r-1,n,r);break;case 2:t[r]+=m1(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},zj=function(t,n){return Jx(Vj(Xx(t),n))},$8=new WeakMap,Wj=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&&!$8.get(r))&&!o){$8.set(t,!0);for(var i=[],a=zj(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]}}},qj=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(Tj(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+fh+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"+fh+(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 Gj=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 Zl([vu(t,{value:dt(t.value,"@","@"+ut)})],o);case V4:if(t.length)return Ij(t.props,function(i){switch(kj(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Zl([vu(t,{props:[dt(i,/:(read-\w+)/,":"+fh+"$1")]})],o);case"::placeholder":return Zl([vu(t,{props:[dt(i,/:(plac\w+)/,":"+ut+"input-$1")]}),vu(t,{props:[dt(i,/:(plac\w+)/,":"+fh+"$1")]}),vu(t,{props:[dt(i,/:(plac\w+)/,Bn+"input-$1")]})],o)}return""})}},Kj=[Gj],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||Kj,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=[Wj,qj];{var u,d=[Bj,Uj(function(v){u.insert(v)})],p=Fj(c.concat(o,d)),h=function(b){return Zl(jj(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 Cj({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:{}},yt={};/** @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,xm=En?Symbol.for("react.fragment"):60107,Mm=En?Symbol.for("react.strict_mode"):60108,Rm=En?Symbol.for("react.profiler"):60114,Tm=En?Symbol.for("react.provider"):60109,km=En?Symbol.for("react.context"):60110,K4=En?Symbol.for("react.async_mode"):60111,Im=En?Symbol.for("react.concurrent_mode"):60111,Lm=En?Symbol.for("react.forward_ref"):60112,Om=En?Symbol.for("react.suspense"):60113,Yj=En?Symbol.for("react.suspense_list"):60120,Am=En?Symbol.for("react.memo"):60115,Pm=En?Symbol.for("react.lazy"):60116,Zj=En?Symbol.for("react.block"):60121,Xj=En?Symbol.for("react.fundamental"):60117,Jj=En?Symbol.for("react.responder"):60118,Qj=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 Im:case xm:case Rm:case Mm:case Om:return e;default:switch(e=e&&e.$$typeof,e){case km:case Lm:case Pm:case Am:case Tm:return e;default:return t}}case G4:return t}}}function nM(e){return $r(e)===Im}yt.AsyncMode=K4;yt.ConcurrentMode=Im;yt.ContextConsumer=km;yt.ContextProvider=Tm;yt.Element=q4;yt.ForwardRef=Lm;yt.Fragment=xm;yt.Lazy=Pm;yt.Memo=Am;yt.Portal=G4;yt.Profiler=Rm;yt.StrictMode=Mm;yt.Suspense=Om;yt.isAsyncMode=function(e){return nM(e)||$r(e)===K4};yt.isConcurrentMode=nM;yt.isContextConsumer=function(e){return $r(e)===km};yt.isContextProvider=function(e){return $r(e)===Tm};yt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===q4};yt.isForwardRef=function(e){return $r(e)===Lm};yt.isFragment=function(e){return $r(e)===xm};yt.isLazy=function(e){return $r(e)===Pm};yt.isMemo=function(e){return $r(e)===Am};yt.isPortal=function(e){return $r(e)===G4};yt.isProfiler=function(e){return $r(e)===Rm};yt.isStrictMode=function(e){return $r(e)===Mm};yt.isSuspense=function(e){return $r(e)===Om};yt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===xm||e===Im||e===Rm||e===Mm||e===Om||e===Yj||typeof e=="object"&&e!==null&&(e.$$typeof===Pm||e.$$typeof===Am||e.$$typeof===Tm||e.$$typeof===km||e.$$typeof===Lm||e.$$typeof===Xj||e.$$typeof===Jj||e.$$typeof===Qj||e.$$typeof===Zj)};yt.typeOf=$r;tM.exports=yt;var eD=tM.exports,rM=eD,tD={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},nD={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},oM={};oM[rM.ForwardRef]=tD;oM[rM.Memo]=nD;var rD=!0;function oD(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||rD===!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 iD(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 aD={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},sD=!1,lD=/[A-Z]|^ms/g,cD=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sM=function(t){return t.charCodeAt(1)===45},j8=function(t){return t!=null&&typeof t!="boolean"},Mg=qx(function(e){return sM(e)?e:e.replace(lD,"-$&").toLowerCase()}),D8=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(cD,function(r,o,i){return Vo={name:o,styles:i,next:Vo},o})}return aD[t]!==1&&!sM(t)&&typeof n=="number"&&n!==0?n+"px":n},uD="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function zd(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 dD(e,t,n)}case"function":{if(e!==void 0){var l=Vo,c=n(e);return Vo=l,zd(e,t,c)}break}}var u=n;if(t==null)return u;var d=t[u];return d!==void 0?d:u}function dD(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=zd(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]+"}":j8(s)&&(r+=Mg(i)+":"+D8(i,s)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&sD)throw new Error(uD);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)j8(a[l])&&(r+=Mg(i)+":"+D8(i,a[l])+";");else{var c=zd(e,t,a);switch(i){case"animation":case"animationName":{r+=Mg(i)+":"+c+";";break}default:r+=i+"{"+c+"}"}}}}return r}var B8=/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+=zd(n,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=zd(n,t,e[s]),r){var l=i;o+=l[s]}B8.lastIndex=0;for(var c="",u;(u=B8.exec(o))!==null;)c+="-"+u[1];var d=iD(o)+c;return{name:d,styles:o,next:Vo}}var fD=function(t){return t()},lM=F1.useInsertionEffect?F1.useInsertionEffect:!1,pD=lM||fD,F8=lM||M.useLayoutEffect,cM=M.createContext(typeof HTMLElement<"u"?eM({key:"css"}):null),hD=cM.Provider,uM=function(t){return M.forwardRef(function(n,r){var o=M.useContext(cM);return t(n,o,r)})},pf=M.createContext({}),Rg={exports:{}},U8;function dM(){return U8||(U8=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}(Rg)),Rg.exports}dM();var mD=uM(function(e,t){var n=e.styles,r=Y4([n],void 0,M.useContext(pf)),o=M.useRef();return F8(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]),F8(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 dc(){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=dc.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_"}}},gD=_j,yD=function(t){return t!=="theme"},H8=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?gD:yD},V8=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},vD=!1,_D=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return iM(n,r,o),pD(function(){return aM(n,r,o)}),null},bD=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=V8(t,n,r),l=s||H8(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="",C=[],S=v;if(v.theme==null){S={};for(var _ in v)S[_]=v[_];S.theme=M.useContext(pf)}typeof v.className=="string"?E=oD(b.registered,C,v.className):v.className!=null&&(E=v.className+" ");var w=Y4(d.concat(C),b.registered,S);E+=b.key+"-"+w.name,a!==void 0&&(E+=" "+a);var R=c&&s===void 0?H8(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(_D,{cache:b,serialized:w,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&&vD?"NO_COMPONENT_SELECTOR":"."+a}}),g.withComponent=function(v,b){return e(v,A({},n,b,{shouldForwardProp:V8(g,b,!0)})).apply(void 0,d)},g}},ED=["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"],X=bD.bind();ED.forEach(function(e){X[e]=X(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(hD,{value:ev,children:n}):n}function CD(e){return e==null||Object.keys(e).length===0}function id(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(CD(o)?n:o):t;return f.jsx(mD,{styles:r})}function fM(e,t){return X(e,t)}const wD=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},xD=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:id,StyledEngineProvider:SD,ThemeContext:pf,css:dc,default:fM,internal_processStyles:wD,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 MD=Object.freeze(Object.defineProperty({__proto__:null,default:tr,isPlainObject:ga},Symbol.toStringTag,{value:"Module"})),RD=["values","unit","step"],TD=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,RD),i=TD(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 kD={borderRadius:4};function ad(e,t){return t?tr(e,t,{clone:!1}):e}const Z4={xs:0,sm:600,md:900,lg:1200,xl:1536},z8={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||z8;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const i=r.breakpoints||z8;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 ID(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function LD(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 OD=Object.freeze(Object.defineProperty({__proto__:null,default:Ie},Symbol.toStringTag,{value:"Module"}));function fc(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 ph(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=fc(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=fc(l,r)||{};return Ni(a,s,d=>{let p=ph(c,o,d);return d===p&&typeof d=="string"&&(p=ph(c,o,`${t}${d==="default"?"":Ie(d)}`,d)),n===!1?p:{[n]:p}})};return i.propTypes={},i.filterProps=[t],i}function AD(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const PD={m:"margin",p:"padding"},ND={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},W8={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$D=AD(e=>{if(e.length>2)if(W8[e])e=W8[e];else return[e];const[t,n]=e.split(""),r=PD[t],o=ND[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 hf(e,t,n,r){var o;const i=(o=fc(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 hf(e,"spacing",8)}function mf(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 jD(e,t){return n=>e.reduce((r,o)=>(r[o]=mf(t,n),r),{})}function DD(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=$D(n),i=jD(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=>DD(e,t,r,n)).reduce(ad,{})}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 BD(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 Nm(...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]?ad(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 FD=co("border",Gr),UD=co("borderTop",Gr),HD=co("borderRight",Gr),VD=co("borderBottom",Gr),zD=co("borderLeft",Gr),WD=co("borderColor"),qD=co("borderTopColor"),GD=co("borderRightColor"),KD=co("borderBottomColor"),YD=co("borderLeftColor"),ZD=co("outline",Gr),XD=co("outlineColor"),$m=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=hf(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:mf(t,r)});return Ni(e,e.borderRadius,n)}return null};$m.propTypes={};$m.filterProps=["borderRadius"];Nm(FD,UD,HD,VD,zD,WD,qD,GD,KD,YD,$m,ZD,XD);const jm=e=>{if(e.gap!==void 0&&e.gap!==null){const t=hf(e.theme,"spacing",8),n=r=>({gap:mf(t,r)});return Ni(e,e.gap,n)}return null};jm.propTypes={};jm.filterProps=["gap"];const Dm=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=hf(e.theme,"spacing",8),n=r=>({columnGap:mf(t,r)});return Ni(e,e.columnGap,n)}return null};Dm.propTypes={};Dm.filterProps=["columnGap"];const Bm=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=hf(e.theme,"spacing",8),n=r=>({rowGap:mf(t,r)});return Ni(e,e.rowGap,n)}return null};Bm.propTypes={};Bm.filterProps=["rowGap"];const JD=nn({prop:"gridColumn"}),QD=nn({prop:"gridRow"}),eB=nn({prop:"gridAutoFlow"}),tB=nn({prop:"gridAutoColumns"}),nB=nn({prop:"gridAutoRows"}),rB=nn({prop:"gridTemplateColumns"}),oB=nn({prop:"gridTemplateRows"}),iB=nn({prop:"gridTemplateAreas"}),aB=nn({prop:"gridArea"});Nm(jm,Dm,Bm,JD,QD,eB,tB,nB,rB,oB,iB,aB);function Xl(e,t){return t==="grey"?t:e}const sB=nn({prop:"color",themeKey:"palette",transform:Xl}),lB=nn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xl}),cB=nn({prop:"backgroundColor",themeKey:"palette",transform:Xl});Nm(sB,lB,cB);function Rr(e){return e<=1&&e!==0?`${e*100}%`:e}const uB=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 dB=nn({prop:"minWidth",transform:Rr}),fB=nn({prop:"height",transform:Rr}),pB=nn({prop:"maxHeight",transform:Rr}),hB=nn({prop:"minHeight",transform:Rr});nn({prop:"size",cssProperty:"width",transform:Rr});nn({prop:"size",cssProperty:"height",transform:Rr});const mB=nn({prop:"boxSizing"});Nm(uB,Q4,dB,fB,pB,hB,mB);const Wc={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:$m},color:{themeKey:"palette",transform:Xl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xl},backgroundColor:{themeKey:"palette",transform:Xl},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:jm},rowGap:{style:Bm},columnGap:{style:Dm},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 gB(...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 yB(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=fc(o,c)||{};return d?d(a):Ni(a,r,g=>{let v=ph(p,u,g);return g===v&&typeof g=="string"&&(v=ph(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:Wc;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=ID(i.breakpoints),d=Object.keys(u);let p=u;return Object.keys(c).forEach(h=>{const g=yB(c[h],i);if(g!=null)if(typeof g=="object")if(a[h])p=ad(p,e(h,g,i,a));else{const v=Ni({theme:i},g,b=>({[h]:b}));gB(v,g)?p[h]=t({sx:g,theme:i}):p=ad(p,v)}else p=ad(p,e(h,g,i,a))}),LD(d,p)}return Array.isArray(o)?o.map(s):s(o)}return t}const Ws=yM();Ws.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 vB=["breakpoints","palette","spacing","shape"];function e5(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Me(e,vB),s=hM(n),l=BD(o);let c=tr({breakpoints:s,direction:"ltr",components:{},palette:A({mode:"light"},r),spacing:l,shape:A({},kD,i)},a);return c.applyStyles=vM,c=t.reduce((u,d)=>tr(u,d),c),c.unstable_sxConfig=A({},Wc,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(d){return Ws({sx:d,theme:this})},c}const _B=Object.freeze(Object.defineProperty({__proto__:null,default:e5,private_createBreakpoints:hM,unstable_applyStyles:vM},Symbol.toStringTag,{value:"Module"}));function bB(e){return Object.keys(e).length===0}function t5(e=null){const t=M.useContext(pf);return!t||bB(t)?e:t}const EB=e5();function n5(e=EB){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(id,{styles:o})}const CB=["sx"],wB=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Wc;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,CB),{systemProps:r,otherProps:o}=wB(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 xB=Object.freeze(Object.defineProperty({__proto__:null,default:Ws,extendSxProp:r5,unstable_createStyleFunctionSx:yM,unstable_defaultSxConfig:Wc},Symbol.toStringTag,{value:"Module"})),q8=e=>e,MB=()=>{let e=q8;return{configure(t){e=t},generate(t){return e(t)},reset(){e=q8}}},o5=MB();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 RB=["className","component"];function TB(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=fM("div",{shouldForwardProp:s=>s!=="theme"&&s!=="sx"&&s!=="as"})(Ws);return M.forwardRef(function(l,c){const u=n5(n),d=r5(l),{className:p,component:h="div"}=d,g=Me(d,RB);return f.jsx(i,A({as:h,ref:c,className:Ae(p,o?o(r):r),theme:t&&u[t]||u},g))})}const kB={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=kB[t];return r?`${n}-${r}`:`${o5.generate(e)}-${t}`}function vt(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ot(e,o,n)}),r}var bM={exports:{}},_t={};/**
|
|
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"),Fm=Symbol.for("react.fragment"),Um=Symbol.for("react.strict_mode"),Hm=Symbol.for("react.profiler"),Vm=Symbol.for("react.provider"),zm=Symbol.for("react.context"),IB=Symbol.for("react.server_context"),Wm=Symbol.for("react.forward_ref"),qm=Symbol.for("react.suspense"),Gm=Symbol.for("react.suspense_list"),Km=Symbol.for("react.memo"),Ym=Symbol.for("react.lazy"),LB=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 Fm:case Hm:case Um:case qm:case Gm:return e;default:switch(e=e&&e.$$typeof,e){case IB:case zm:case Wm:case Ym:case Km:case Vm:return e;default:return t}}case a5:return t}}}_t.ContextConsumer=zm;_t.ContextProvider=Vm;_t.Element=i5;_t.ForwardRef=Wm;_t.Fragment=Fm;_t.Lazy=Ym;_t.Memo=Km;_t.Portal=a5;_t.Profiler=Hm;_t.StrictMode=Um;_t.Suspense=qm;_t.SuspenseList=Gm;_t.isAsyncMode=function(){return!1};_t.isConcurrentMode=function(){return!1};_t.isContextConsumer=function(e){return uo(e)===zm};_t.isContextProvider=function(e){return uo(e)===Vm};_t.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===i5};_t.isForwardRef=function(e){return uo(e)===Wm};_t.isFragment=function(e){return uo(e)===Fm};_t.isLazy=function(e){return uo(e)===Ym};_t.isMemo=function(e){return uo(e)===Km};_t.isPortal=function(e){return uo(e)===a5};_t.isProfiler=function(e){return uo(e)===Hm};_t.isStrictMode=function(e){return uo(e)===Um};_t.isSuspense=function(e){return uo(e)===qm};_t.isSuspenseList=function(e){return uo(e)===Gm};_t.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Fm||e===Hm||e===Um||e===qm||e===Gm||e===LB||typeof e=="object"&&e!==null&&(e.$$typeof===Ym||e.$$typeof===Km||e.$$typeof===Vm||e.$$typeof===zm||e.$$typeof===Wm||e.$$typeof===EM||e.getModuleId!==void 0)};_t.typeOf=uo;bM.exports=_t;var G8=bM.exports;const OB=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function SM(e){const t=`${e}`.match(OB);return t&&t[1]||""}function CM(e,t=""){return e.displayName||e.name||SM(e)||t}function K8(e,t,n){const r=CM(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function AB(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return CM(e,"Component");if(typeof e=="object")switch(e.$$typeof){case G8.ForwardRef:return K8(e,e.render,"ForwardRef");case G8.Memo:return K8(e,e.type,"memo");default:return}}}const PB=Object.freeze(Object.defineProperty({__proto__:null,default:AB,getFunctionName:SM},Symbol.toStringTag,{value:"Module"}));function Wd(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]=Wd(o[a],i[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function NB(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Wd(t.components[n].defaultProps,r)}const ti=typeof window<"u"?M.useLayoutEffect:M.useEffect;function $B(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 jB(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}=NB({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(wM!==void 0?jB:$B)(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 DB=Object.freeze(Object.defineProperty({__proto__:null,default:xM},Symbol.toStringTag,{value:"Module"}));function BB(e,t=0,n=1){return xM(e,t,n)}function FB(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(FB(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 UB(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 HB(e,t){return e=MM(e),t=BB(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,UB(e)}function tv(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Zm(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 VB(e,t){return()=>null}function zB(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 WB(e,t){return()=>null}function hh(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Y8=0;function qB(e){const[t,n]=M.useState(e),r=e||t;return M.useEffect(()=>{t==null&&(Y8+=1,n(`mui-${Y8}`))},[t]),r}const Z8=F1.useId;function RM(e){if(Z8!==void 0){const t=Z8();return e??t}return qB(e)}function GB(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=>{hh(n,t)})},e)}const X8={};function KB(e,t){const n=M.useRef(X8);return n.current===X8&&(n.current=e(t)),n}const YB=[];function ZB(e){M.useEffect(e,YB)}class gf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new gf}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Nl(){const e=KB(gf.create).current;return ZB(e.disposeEffect),e}let Xm=!0,nv=!1;const XB=new gf,JB={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 QB(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&JB[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function eF(e){e.metaKey||e.altKey||e.ctrlKey||(Xm=!0)}function Tg(){Xm=!1}function tF(){this.visibilityState==="hidden"&&nv&&(Xm=!0)}function nF(e){e.addEventListener("keydown",eF,!0),e.addEventListener("mousedown",Tg,!0),e.addEventListener("pointerdown",Tg,!0),e.addEventListener("touchstart",Tg,!0),e.addEventListener("visibilitychange",tF,!0)}function rF(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Xm||QB(t)}function Jm(){const e=M.useCallback(o=>{o!=null&&nF(o.ownerDocument)},[]),t=M.useRef(!1);function n(){return t.current?(nv=!0,XB.start(100,()=>{nv=!1}),t.current=!1,!0):!1}function r(o){return rF(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 nl;function IM(){if(nl)return nl;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),nl="reverse",e.scrollLeft>0?nl="default":(e.scrollLeft=1,e.scrollLeft===0&&(nl="negative")),document.body.removeChild(e),nl}function oF(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 $l(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 J8(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=J8(r),l=J8(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 iF=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Or(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=Me(e,iF),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 $l(n,A({},l,{ref:u}),o)}const $M=M.createContext(null);function l5(){return M.useContext($M)}const aF=typeof Symbol=="function"&&Symbol.for,sF=aF?Symbol.for("mui.nested"):"__THEME_NESTED__";function lF(e,t){return typeof t=="function"?t(e):A({},e,t)}function cF(e){const{children:t,theme:n}=e,r=l5(),o=M.useMemo(()=>{const i=r===null?n:lF(r,n);return i!=null&&(i[sF]=r!==null),i},[n,r]);return f.jsx($M.Provider,{value:o,children:t})}const uF=["value"],jM=M.createContext();function dF(e){let{value:t}=e,n=Me(e,uF);return f.jsx(jM.Provider,A({value:t??!0},n))}const Qm=()=>{const e=M.useContext(jM);return e??!1},DM=M.createContext(void 0);function fF({value:e,children:t}){return f.jsx(DM.Provider,{value:e,children:t})}function pF(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?Wd(o.defaultProps,r):!o.styleOverrides&&!o.variants?Wd(o,r):r}function hF({props:e,name:t}){const n=M.useContext(DM);return pF({props:e,name:t,theme:{components:n}})}const Q8={};function e9(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 mF(e){const{children:t,theme:n,themeId:r}=e,o=t5(Q8),i=l5()||Q8,a=e9(r,o,n),s=e9(r,i,n,!0),l=a.direction==="rtl";return f.jsx(cF,{theme:s,children:f.jsx(pf.Provider,{value:a,children:f.jsx(dF,{value:l,children:f.jsx(fF,{value:a==null?void 0:a.components,children:t})})})})}const c5="mode",u5="color-scheme",BM="data-color-scheme";function gF(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 t9(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 yF(e){return FM(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function kg(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 vF(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=kg(i,t),m=kg(`${a}-light`,n),y=kg(`${a}-dark`,r);return{mode:b,systemMode:t9(b),lightColorScheme:m,darkColorScheme:y}}),d=yF(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:t9(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,C=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(C)if(!l.includes(C))console.error(`\`${C}\` does not exist in \`theme.colorSchemes\`.`);else{y.darkColorScheme=C;try{localStorage.setItem(`${a}-dark`,C)}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 _F=["colorSchemes","components","generateCssVars","cssVarPrefix"],bF="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function EF(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:C=o,colorSchemeStorageKey:S=i,attribute:_=r,defaultMode:w=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,_F),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:Y,darkColorScheme:ue,colorScheme:pe,setColorScheme:be}=vF({supportedColorSchemes:J,defaultLightColorScheme:L,defaultDarkColorScheme:U,modeStorageKey:C,colorSchemeStorageKey:S,defaultMode:w,storageWindow:I});let Ce=G,ke=pe;ee&&(Ce=B.mode,ke=B.colorScheme);const pt=Ce||(w==="system"?a:w),ye=ke||(pt==="dark"?U:L),{css:Ge,vars:Se}=x(),Ve=A({},j,{components:O,colorSchemes:N,cssVarPrefix:k,vars:Se,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:w==="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,Se),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(bF)),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:Y,mode:Ce,setColorScheme:be,setMode:z,systemMode:V}),[J,ke,ue,Y,Ce,be,z,V]);let Cn=!0;(Q||ee&&(re==null?void 0:re.cssVarPrefix)===k)&&(Cn=!1);const zn=f.jsxs(M.Fragment,{children:[Cn&&f.jsxs(M.Fragment,{children:[f.jsx(id,{styles:{[q]:Ge}}),f.jsx(id,{styles:Ue}),f.jsx(id,{styles:Le})]}),f.jsx(mF,{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=>gF(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 n9=(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])})},CF=(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)},wF=(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 Ig(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return CF(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]:wF(s,l)}),n9(i,s,`var(${u})`,c),n9(a,s,`var(${u}, ${l})`,c)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function qd(e){"@babel/helpers - typeof";return qd=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},qd(e)}function xF(e,t){if(qd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(qd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function MF(e){var t=xF(e,"string");return qd(t)=="symbol"?t:t+""}const RF=["colorSchemes","components","defaultColorScheme"];function TF(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=Me(e,RF),{vars:i,css:a,varsWithDefaults:s}=Ig(o,t);let l=s;const c={},{[r]:u}=n,d=Me(n,[r].map(MF));if(Object.entries(d||{}).forEach(([h,g])=>{const{vars:v,css:b,varsWithDefaults:m}=Ig(g,t);l=tr(l,m),c[h]={css:b,vars:v}}),u){const{css:h,vars:g,varsWithDefaults:v}=Ig(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 kF(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 IF=Yi(yj),LF=Yi(DB);var HM=ir;Object.defineProperty(rn,"__esModule",{value:!0});var Jn=rn.alpha=qM;rn.blend=WF;rn.colorChannel=void 0;var OF=rn.darken=f5;rn.decomposeColor=ao;rn.emphasize=GM;var AF=rn.getContrastRatio=FF;rn.getLuminance=mh;rn.hexToRgb=VM;var PF=rn.hslToRgb=WM,NF=rn.lighten=p5,fp=rn.private_safeAlpha=UF,jl=rn.private_safeColorChannel=void 0,St=rn.private_safeDarken=HF,pp=rn.private_safeEmphasize=zF,Ct=rn.private_safeLighten=VF;rn.recomposeColor=qc;rn.rgbToHex=BF;var r9=HM(IF),$F=HM(LF);function d5(e,t=0,n=1){return(0,$F.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 jF(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,r9.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,r9.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 DF=(e,t)=>{try{return zM(e)}catch{return e}};jl=rn.private_safeColorChannel=DF;function qc(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 BF(e){if(e.indexOf("#")===0)return e;const{values:t}=ao(e);return`#${t.map((n,r)=>jF(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])),qc({type:s,values:l})}function mh(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 FF(e,t){const n=mh(e),r=mh(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,qc(e)}function UF(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 qc(e)}function HF(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 qc(e)}function VF(e,t,n){try{return p5(e,t)}catch{return e}}function GM(e,t=.15){return mh(e)>.5?f5(e,t):p5(e,t)}function zF(e,t,n){try{return GM(e,t)}catch{return e}}function WF(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 qc({type:"rgb",values:s})}const Gd={black:"#000",white:"#fff"},qF={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"},rl={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"},ol={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"},_u={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"},il={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"},al={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"},sl={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"},GF=["mode","contrastThreshold","tonalOffset"],o9={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:Gd.white,default:Gd.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}},Lg={text:{primary:Gd.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:Gd.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 i9(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=NF(e.main,o):t==="dark"&&(e.dark=OF(e.main,i)))}function KF(e="light"){return e==="dark"?{main:il[200],light:il[50],dark:il[400]}:{main:il[700],light:il[400],dark:il[800]}}function YF(e="light"){return e==="dark"?{main:rl[200],light:rl[50],dark:rl[400]}:{main:rl[500],light:rl[300],dark:rl[700]}}function ZF(e="light"){return e==="dark"?{main:ol[500],light:ol[300],dark:ol[700]}:{main:ol[700],light:ol[400],dark:ol[800]}}function XF(e="light"){return e==="dark"?{main:al[400],light:al[300],dark:al[700]}:{main:al[700],light:al[500],dark:al[900]}}function JF(e="light"){return e==="dark"?{main:sl[400],light:sl[300],dark:sl[700]}:{main:sl[800],light:sl[500],dark:sl[900]}}function QF(e="light"){return e==="dark"?{main:_u[400],light:_u[300],dark:_u[700]}:{main:"#ed6c02",light:_u[500],dark:_u[900]}}function KM(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Me(e,GF),i=e.primary||KF(t),a=e.secondary||YF(t),s=e.error||ZF(t),l=e.info||XF(t),c=e.success||JF(t),u=e.warning||QF(t);function d(v){return AF(v,Lg.text.primary)>=n?Lg.text.primary:o9.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 i9(v,"light",y,r),i9(v,"dark",E,r),v.contrastText||(v.contrastText=d(v.main)),v},h={dark:Lg,light:o9};return tr(A({common:A({},Gd),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:qF,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},h[t]),o)}const eU=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function tU(e){return Math.round(e*1e5)/1e5}const a9={textTransform:"uppercase"},s9='"Roboto", "Helvetica", "Arial", sans-serif';function YM(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=s9,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,eU),h=o/14,g=d||(m=>`${m/c*h}rem`),v=(m,y,E,C,S)=>A({fontFamily:r,fontWeight:m,fontSize:g(y),lineHeight:E},r===s9?{letterSpacing:`${tU(C/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,a9),caption:v(a,12,1.66,.4),overline:v(a,12,2.66,1,a9),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 nU=.2,rU=.14,oU=.12;function jt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${nU})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${rU})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${oU})`].join(",")}const iU=["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)],aU=["duration","easing","delay"],sU={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)"},lU={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l9(e){return`${Math.round(e)}ms`}function cU(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function uU(e){const t=A({},sU,e.easing),n=A({},lU,e.duration);return A({getAutoHeightDuration:cU,create:(o=["all"],i={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:l=0}=i;return Me(i,aU),(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof a=="string"?a:l9(a)} ${s} ${typeof l=="string"?l:l9(l)}`).join(",")}},e,{easing:t,duration:n})}const yf={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},dU=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function gh(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=Me(e,dU);if(e.vars)throw new Error(Ua(18));const s=KM(r),l=e5(e);let c=tr(l,{mixins:kF(l.breakpoints,n),palette:s,shadows:iU.slice(),typography:YM(s,i),transitions:uU(o),zIndex:A({},yf)});return c=tr(c,a),c=t.reduce((u,d)=>tr(u,d),c),c.unstable_sxConfig=A({},Wc,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(d){return Ws({sx:d,theme:this})},c}function fU(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function pU(e){return parseFloat(e)}const h5=gh();function fo(){const e=n5(h5);return e[df]||e}var vf={},Og={exports:{}},c9;function hU(){return c9||(c9=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.includes(i))continue;o[i]=n[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Og)),Og.exports}const ZM=Yi(xD),mU=Yi(MD),gU=Yi(OD),yU=Yi(PB),vU=Yi(_B),_U=Yi(xB);var Gc=ir;Object.defineProperty(vf,"__esModule",{value:!0});var bU=vf.default=AU;vf.shouldForwardProp=y1;vf.systemDefaultTheme=void 0;var Ur=Gc(dM()),rv=Gc(hU()),u9=RU(ZM),EU=mU;Gc(gU);Gc(yU);var SU=Gc(vU),CU=Gc(_U);const wU=["ownerState"],xU=["variants"],MU=["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 RU(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 TU(e){return Object.keys(e).length===0}function kU(e){return typeof e=="string"&&e.charCodeAt(0)>96}function y1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const IU=vf.systemDefaultTheme=(0,SU.default)(),LU=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function hp({defaultTheme:e,theme:t,themeId:n}){return TU(t)?e:t[n]||t}function OU(e){return e?(t,n)=>n[e]:null}function v1(e,t){let{ownerState:n}=t,r=(0,rv.default)(t,wU);const o=typeof e=="function"?e((0,Ur.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>v1(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,xU);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 AU(e={}){const{themeId:t,defaultTheme:n=IU,rootShouldForwardProp:r=y1,slotShouldForwardProp:o=y1}=e,i=a=>(0,CU.default)((0,Ur.default)({},a,{theme:hp((0,Ur.default)({},a,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{(0,u9.internal_processStyles)(a,S=>S.filter(_=>!(_!=null&&_.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:d,overridesResolver:p=OU(LU(c))}=s,h=(0,rv.default)(s,MU),g=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,v=d||!1;let b,m=y1;c==="Root"||c==="root"?m=r:c?m=o:kU(a)&&(m=void 0);const y=(0,u9.default)(a,(0,Ur.default)({shouldForwardProp:m,label:b},h)),E=S=>typeof S=="function"&&S.__emotion_real!==S||(0,EU.isPlainObject)(S)?_=>v1(S,(0,Ur.default)({},_,{theme:hp({theme:_.theme,defaultTheme:n,themeId:t})})):S,C=(S,..._)=>{let w=E(S);const R=_?_.map(E):[];l&&p&&R.push(D=>{const F=hp((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]=v1(H,(0,Ur.default)({},D,{theme:F}))}),p(D,W)}),l&&!g&&R.push(D=>{var F;const q=hp((0,Ur.default)({},D,{defaultTheme:n,themeId:t})),W=q==null||(F=q.components)==null||(F=F[l])==null?void 0:F.variants;return v1({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("");w=[...S,...D],w.raw=[...S.raw,...D]}const I=y(w,...R);return a.muiName&&(I.muiName=a.muiName),I};return y.withConfig&&(C.withConfig=y.withConfig),C}}function PU(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const e0=e=>PU(e)&&e!=="classes",He=bU({themeId:df,defaultTheme:h5,rootShouldForwardProp:e0});function NU(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)},$U=["colorSchemes","cssVarPrefix","shouldSkipGeneratingVar"],jU=["palette"],DU=[...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 BU(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Z(e,t,n){!e[t]&&n&&(e[t]=n)}function Uu(e){return!e||!e.startsWith("hsl")?e:PF(e)}function li(e,t){`${t}Channel`in e||(e[`${t}Channel`]=jl(Uu(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{}},FU=(e="mui")=>SF(e);function m5(e={},...t){var n,r,o,i,a,s;const{colorSchemes:l={},cssVarPrefix:c="mui",shouldSkipGeneratingVar:u=NU}=e,d=Me(e,$U),p=FU(c),h=gh(A({},d,l.light&&{palette:(n=l.light)==null?void 0:n.palette})),{palette:g}=h,v=Me(h,jU),{palette:b}=gh({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)||DU})})});Object.keys(m.colorSchemes).forEach(S=>{const _=m.colorSchemes[S].palette,w=R=>{const T=R.split("-"),I=T[1],D=T[2];return p(R,_[I][D])};if(S==="light"?(Z(_.common,"background","#fff"),Z(_.common,"onBackground","#000")):(Z(_.common,"background","#000"),Z(_.common,"onBackground","#fff")),BU(_,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),S==="light"){Z(_.Alert,"errorColor",St(_.error.light,.6)),Z(_.Alert,"infoColor",St(_.info.light,.6)),Z(_.Alert,"successColor",St(_.success.light,.6)),Z(_.Alert,"warningColor",St(_.warning.light,.6)),Z(_.Alert,"errorFilledBg",w("palette-error-main")),Z(_.Alert,"infoFilledBg",w("palette-info-main")),Z(_.Alert,"successFilledBg",w("palette-success-main")),Z(_.Alert,"warningFilledBg",w("palette-warning-main")),Z(_.Alert,"errorFilledColor",jo(()=>g.getContrastText(_.error.main))),Z(_.Alert,"infoFilledColor",jo(()=>g.getContrastText(_.info.main))),Z(_.Alert,"successFilledColor",jo(()=>g.getContrastText(_.success.main))),Z(_.Alert,"warningFilledColor",jo(()=>g.getContrastText(_.warning.main))),Z(_.Alert,"errorStandardBg",Ct(_.error.light,.9)),Z(_.Alert,"infoStandardBg",Ct(_.info.light,.9)),Z(_.Alert,"successStandardBg",Ct(_.success.light,.9)),Z(_.Alert,"warningStandardBg",Ct(_.warning.light,.9)),Z(_.Alert,"errorIconColor",w("palette-error-main")),Z(_.Alert,"infoIconColor",w("palette-info-main")),Z(_.Alert,"successIconColor",w("palette-success-main")),Z(_.Alert,"warningIconColor",w("palette-warning-main")),Z(_.AppBar,"defaultBg",w("palette-grey-100")),Z(_.Avatar,"defaultBg",w("palette-grey-400")),Z(_.Button,"inheritContainedBg",w("palette-grey-300")),Z(_.Button,"inheritContainedHoverBg",w("palette-grey-A100")),Z(_.Chip,"defaultBorder",w("palette-grey-400")),Z(_.Chip,"defaultAvatarColor",w("palette-grey-700")),Z(_.Chip,"defaultIconColor",w("palette-grey-700")),Z(_.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Z(_.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Z(_.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Z(_.LinearProgress,"primaryBg",Ct(_.primary.main,.62)),Z(_.LinearProgress,"secondaryBg",Ct(_.secondary.main,.62)),Z(_.LinearProgress,"errorBg",Ct(_.error.main,.62)),Z(_.LinearProgress,"infoBg",Ct(_.info.main,.62)),Z(_.LinearProgress,"successBg",Ct(_.success.main,.62)),Z(_.LinearProgress,"warningBg",Ct(_.warning.main,.62)),Z(_.Skeleton,"bg",`rgba(${w("palette-text-primaryChannel")} / 0.11)`),Z(_.Slider,"primaryTrack",Ct(_.primary.main,.62)),Z(_.Slider,"secondaryTrack",Ct(_.secondary.main,.62)),Z(_.Slider,"errorTrack",Ct(_.error.main,.62)),Z(_.Slider,"infoTrack",Ct(_.info.main,.62)),Z(_.Slider,"successTrack",Ct(_.success.main,.62)),Z(_.Slider,"warningTrack",Ct(_.warning.main,.62));const R=pp(_.background.default,.8);Z(_.SnackbarContent,"bg",R),Z(_.SnackbarContent,"color",jo(()=>g.getContrastText(R))),Z(_.SpeedDialAction,"fabHoverBg",pp(_.background.paper,.15)),Z(_.StepConnector,"border",w("palette-grey-400")),Z(_.StepContent,"border",w("palette-grey-400")),Z(_.Switch,"defaultColor",w("palette-common-white")),Z(_.Switch,"defaultDisabledColor",w("palette-grey-100")),Z(_.Switch,"primaryDisabledColor",Ct(_.primary.main,.62)),Z(_.Switch,"secondaryDisabledColor",Ct(_.secondary.main,.62)),Z(_.Switch,"errorDisabledColor",Ct(_.error.main,.62)),Z(_.Switch,"infoDisabledColor",Ct(_.info.main,.62)),Z(_.Switch,"successDisabledColor",Ct(_.success.main,.62)),Z(_.Switch,"warningDisabledColor",Ct(_.warning.main,.62)),Z(_.TableCell,"border",Ct(fp(_.divider,1),.88)),Z(_.Tooltip,"bg",fp(_.grey[700],.92))}else{Z(_.Alert,"errorColor",Ct(_.error.light,.6)),Z(_.Alert,"infoColor",Ct(_.info.light,.6)),Z(_.Alert,"successColor",Ct(_.success.light,.6)),Z(_.Alert,"warningColor",Ct(_.warning.light,.6)),Z(_.Alert,"errorFilledBg",w("palette-error-dark")),Z(_.Alert,"infoFilledBg",w("palette-info-dark")),Z(_.Alert,"successFilledBg",w("palette-success-dark")),Z(_.Alert,"warningFilledBg",w("palette-warning-dark")),Z(_.Alert,"errorFilledColor",jo(()=>b.getContrastText(_.error.dark))),Z(_.Alert,"infoFilledColor",jo(()=>b.getContrastText(_.info.dark))),Z(_.Alert,"successFilledColor",jo(()=>b.getContrastText(_.success.dark))),Z(_.Alert,"warningFilledColor",jo(()=>b.getContrastText(_.warning.dark))),Z(_.Alert,"errorStandardBg",St(_.error.light,.9)),Z(_.Alert,"infoStandardBg",St(_.info.light,.9)),Z(_.Alert,"successStandardBg",St(_.success.light,.9)),Z(_.Alert,"warningStandardBg",St(_.warning.light,.9)),Z(_.Alert,"errorIconColor",w("palette-error-main")),Z(_.Alert,"infoIconColor",w("palette-info-main")),Z(_.Alert,"successIconColor",w("palette-success-main")),Z(_.Alert,"warningIconColor",w("palette-warning-main")),Z(_.AppBar,"defaultBg",w("palette-grey-900")),Z(_.AppBar,"darkBg",w("palette-background-paper")),Z(_.AppBar,"darkColor",w("palette-text-primary")),Z(_.Avatar,"defaultBg",w("palette-grey-600")),Z(_.Button,"inheritContainedBg",w("palette-grey-800")),Z(_.Button,"inheritContainedHoverBg",w("palette-grey-700")),Z(_.Chip,"defaultBorder",w("palette-grey-700")),Z(_.Chip,"defaultAvatarColor",w("palette-grey-300")),Z(_.Chip,"defaultIconColor",w("palette-grey-300")),Z(_.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Z(_.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Z(_.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Z(_.LinearProgress,"primaryBg",St(_.primary.main,.5)),Z(_.LinearProgress,"secondaryBg",St(_.secondary.main,.5)),Z(_.LinearProgress,"errorBg",St(_.error.main,.5)),Z(_.LinearProgress,"infoBg",St(_.info.main,.5)),Z(_.LinearProgress,"successBg",St(_.success.main,.5)),Z(_.LinearProgress,"warningBg",St(_.warning.main,.5)),Z(_.Skeleton,"bg",`rgba(${w("palette-text-primaryChannel")} / 0.13)`),Z(_.Slider,"primaryTrack",St(_.primary.main,.5)),Z(_.Slider,"secondaryTrack",St(_.secondary.main,.5)),Z(_.Slider,"errorTrack",St(_.error.main,.5)),Z(_.Slider,"infoTrack",St(_.info.main,.5)),Z(_.Slider,"successTrack",St(_.success.main,.5)),Z(_.Slider,"warningTrack",St(_.warning.main,.5));const R=pp(_.background.default,.98);Z(_.SnackbarContent,"bg",R),Z(_.SnackbarContent,"color",jo(()=>b.getContrastText(R))),Z(_.SpeedDialAction,"fabHoverBg",pp(_.background.paper,.15)),Z(_.StepConnector,"border",w("palette-grey-600")),Z(_.StepContent,"border",w("palette-grey-600")),Z(_.Switch,"defaultColor",w("palette-grey-300")),Z(_.Switch,"defaultDisabledColor",w("palette-grey-600")),Z(_.Switch,"primaryDisabledColor",St(_.primary.main,.55)),Z(_.Switch,"secondaryDisabledColor",St(_.secondary.main,.55)),Z(_.Switch,"errorDisabledColor",St(_.error.main,.55)),Z(_.Switch,"infoDisabledColor",St(_.info.main,.55)),Z(_.Switch,"successDisabledColor",St(_.success.main,.55)),Z(_.Switch,"warningDisabledColor",St(_.warning.main,.55)),Z(_.TableCell,"border",St(fp(_.divider,1),.68)),Z(_.Tooltip,"bg",fp(_.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&&Z(_[R],"mainChannel",jl(Uu(T.main))),T.light&&Z(_[R],"lightChannel",jl(Uu(T.light))),T.dark&&Z(_[R],"darkChannel",jl(Uu(T.dark))),T.contrastText&&Z(_[R],"contrastTextChannel",jl(Uu(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:C}=TF(m,y);return m.vars=E,m.generateCssVars=C,m.shouldSkipGeneratingVar=u,m.unstable_sxConfig=A({},Wc,d==null?void 0:d.unstable_sxConfig),m.unstable_sx=function(_){return Ws({sx:_,theme:this})},m}const UU=e=>[...[...Array(24)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],bu={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},HU=m5(),{CssVarsProvider:VU,useColorScheme:j3e,getInitColorSchemeScript:D3e}=EF({themeId:df,theme:HU,attribute:bu.attribute,colorSchemeStorageKey:bu.colorSchemeStorageKey,modeStorageKey:bu.modeStorageKey,defaultColorScheme:{light:bu.defaultLightColorScheme,dark:bu.defaultDarkColorScheme},resolveTheme:e=>{const t=A({},e,{typography:YM(e.palette,e.typography)});return t.unstable_sx=function(r){return Ws({sx:r,theme:this})},t},excludeVariablesFromRoot:UU}),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"},yh={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"},d9={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 hF(e)}function zU(e){return Ot("MuiSvgIcon",e)}vt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const WU=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],qU=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Ie(t)}`,`fontSize${Ie(n)}`]};return $t(o,zU,r)},GU=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,WU),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=qU(v);return f.jsxs(GU,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 t0(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 KU={configure:e=>{o5.configure(e)}},YU=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Ie,createChainedFunction:tv,createSvgIcon:t0,debounce:Zm,deprecatedPropType:VB,isMuiElement:zB,ownerDocument:Hn,ownerWindow:Ha,requirePropFactory:WB,setRef:hh,unstable_ClassNameGenerator:KU,unstable_useEnhancedEffect:ti,unstable_useId:RM,unsupportedProp:GB,useControlled:TM,useEventCallback:Xr,useForkRef:Pn,useIsFocusVisible:Jm},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 f9={disabled:!1},vh=K.createContext(null);var ZU=function(t){return t.scrollTop},Hu="unmounted",us="exited",ds="entering",vl="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=vl:r.unmountOnExit||r.mountOnEnter?l=Hu:l=us,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Hu?{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!==vl&&(i=ds):(a===ds||a===vl)&&(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:up.findDOMNode(this);a&&ZU(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===us&&this.setState({status:Hu})},n.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[up.findDOMNode(this),s],c=l[0],u=l[1],d=this.getTimeouts(),p=s?d.appear:d.enter;if(!o&&!a||f9.disabled){this.safeSetState({status:vl},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:vl},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:up.findDOMNode(this);if(!i||f9.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:up.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===Hu)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 K.createElement(vh.Provider,{value:null},typeof a=="function"?a(o,s):K.cloneElement(K.Children.only(a),s))},t}(K.Component);ai.contextType=vh;ai.propTypes={};function ll(){}ai.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ll,onEntering:ll,onEntered:ll,onExit:ll,onExiting:ll,onExited:ll};ai.UNMOUNTED=Hu;ai.EXITED=us;ai.ENTERING=ds;ai.ENTERED=vl;ai.EXITING=iv;function XU(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 JU(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 bs(e,t,n){return n[t]!=null?n[t]:e.props[t]}function QU(e,t){return g5(e.children,function(n){return M.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:bs(n,"appear",e),enter:bs(n,"enter",e),exit:bs(n,"exit",e)})})}function eH(e,t,n){var r=g5(e.children),o=JU(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:bs(a,"exit",e),enter:bs(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:bs(a,"exit",e),enter:bs(a,"enter",e)}))}}),o}var tH=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},nH={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(XU(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?QU(o,s):eH(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=tH(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?K.createElement(vh.Provider,{value:l},c):K.createElement(vh.Provider,{value:l},K.createElement(i,s,c))},t}(K.Component);y5.propTypes={};y5.defaultProps=nH;const eR=e=>e.scrollTop;function _h(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 rH(e){return Ot("MuiPaper",e)}vt("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 oH=["className","component","elevation","square","variant"],iH=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return $t(i,rH,o)},aH=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]}))}),_f=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,oH),u=A({},r,{component:i,elevation:a,square:s,variant:l}),d=iH(u);return f.jsx(aH,A({as:i,ownerState:u,className:Ae(d.root,o),ref:n},c))}),sH=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],lH=["component","slots","slotProps"],cH=["component"];function uH(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:s}=t,l=Me(t,sH),{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0}}=i;Me(i,lH);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,cH),y=Pn(b,h==null?void 0:h.ref,t.ref),E=a?a(m):{},C=A({},o,E),S=v,_=$l(p,A({},e==="root",!u[e]&&s,m,S&&{as:S},{ref:y}),C);return Object.keys(E).forEach(w=>{delete _[w]}),[p,_]}function dH(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=vt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),fH=["center","classes","className"];let n0=e=>e,p9,h9,m9,g9;const av=550,pH=80,hH=Xi(p9||(p9=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
|
+
`)),mH=Xi(h9||(h9=n0`
|
|
116
|
+
0% {
|
|
117
|
+
opacity: 1;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
100% {
|
|
121
|
+
opacity: 0;
|
|
122
|
+
}
|
|
123
|
+
`)),gH=Xi(m9||(m9=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
|
+
`)),yH=He("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),vH=He(dH,{name:"MuiTouchRipple",slot:"Ripple"})(g9||(g9=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,hH,av,({theme:e})=>e.transitions.easing.easeInOut,Vr.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Vr.child,Vr.childLeaving,mH,av,({theme:e})=>e.transitions.easing.easeInOut,Vr.childPulsate,gH,({theme:e})=>e.transitions.easing.easeInOut),_H=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=r,s=Me(r,fH),[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=Nl(),g=M.useRef(null),v=M.useRef(null),b=M.useCallback(C=>{const{pulsate:S,rippleX:_,rippleY:w,rippleSize:R,cb:T}=C;c(I=>[...I,f.jsx(vH,{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:w,rippleSize:R},u.current)]),u.current+=1,d.current=T},[i]),m=M.useCallback((C={},S={},_=()=>{})=>{const{pulsate:w=!1,center:R=o||S.pulsate,fakeElement:T=!1}=S;if((C==null?void 0:C.type)==="mousedown"&&p.current){p.current=!1;return}(C==null?void 0:C.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||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)F=Math.round(D.width/2),q=Math.round(D.height/2);else{const{clientX:Q,clientY:H}=C.touches&&C.touches.length>0?C.touches[0]:C;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)}C!=null&&C.touches?g.current===null&&(g.current=()=>{b({pulsate:w,rippleX:F,rippleY:q,rippleSize:W,cb:_})},h.start(pH,()=>{g.current&&(g.current(),g.current=null)})):b({pulsate:w,rippleX:F,rippleY:q,rippleSize:W,cb:_})},[o,b,h]),y=M.useCallback(()=>{m({},{pulsate:!0})},[m]),E=M.useCallback((C,S)=>{if(h.clear(),(C==null?void 0:C.type)==="touchend"&&g.current){g.current(),g.current=null,h.start(0,()=>{E(C,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(yH,A({className:Ae(Vr.root,i.root,a),ref:v},s,{children:f.jsx(y5,{component:null,exit:!0,children:l})}))});function bH(e){return Ot("MuiButtonBase",e)}const EH=vt("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"],CH=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=$t({root:["root",t&&"disabled",n&&"focusVisible"]},bH,o);return n&&r&&(a.root+=` ${r}`),a},wH=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"},[`&.${EH.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),qs=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:C,onKeyUp:S,onMouseDown:_,onMouseLeave:w,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}=Jm(),[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),Y=U("stop",R),ue=U("stop",ve=>{x&&ve.preventDefault(),w&&w(ve)}),pe=U("start",D),be=U("stop",T),Ce=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),Se=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(),C&&C(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),Cn=A({},r,{centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:p,tabIndex:F,focusVisible:x}),zn=CH(Cn);return f.jsxs(wH,A({as:Ue,className:Ae(zn.root,s),ownerState:Cn,onBlur:ke,onClick:v,onContextMenu:z,onFocus:pt,onKeyDown:Se,onKeyUp:Ve,onMouseDown:G,onMouseLeave:ue,onMouseUp:Y,onDragLeave:V,onTouchEnd:be,onTouchMove:Ce,onTouchStart:pe,ref:Ht,tabIndex:c?-1:F,type:Q},Le,H,{children:[a,L?f.jsx(_H,A({ref:ee,center:i},q)):null]}))});function xH(e){return Ot("MuiIconButton",e)}const MH=vt("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),RH=["edge","children","className","color","disabled","disableFocusRipple","size"],TH=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,xH,t)},kH=He(qs,{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)},{[`&.${MH.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),bh=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,RH),p=A({},r,{edge:o,color:s,disabled:l,disableFocusRipple:c,size:u}),h=TH(p);return f.jsx(kH,A({className:Ae(h.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:n},d,{ownerState:p,children:i}))});function IH(e){return Ot("MuiTypography",e)}vt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const LH=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],OH=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,IH,a)},AH=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})),y9={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},PH={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},NH=e=>PH[e]||e,mt=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTypography"}),o=NH(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=y9}=i,g=Me(i,LH),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]||y9[p])||"span",m=OH(v);return f.jsx(AH,A({as:b,ref:n,ownerState:v,className:Ae(m.root,s)},g))});function $H(e){return Ot("MuiAppBar",e)}vt("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const jH=["className","color","enableColorOnDark","position"],DH=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${Ie(t)}`,`position${Ie(n)}`]};return $t(o,$H,r)},mp=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,BH=He(_f,{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:mp(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:mp(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:mp(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:mp(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"}))}),FH=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,jH),c=A({},r,{color:i,position:s,enableColorOnDark:a}),u=DH(c);return f.jsx(BH,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,UH=VH(M),HH=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 VH(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 zH(e){return Object.keys(e).length===0}function WH(e=null){const t=UH.useContext(HH.ThemeContext);return!t||zH(t)?e:t}tR=v5.default=WH;var yr="top",so="bottom",lo="right",vr="left",_5="auto",bf=[yr,so,lo,vr],pc="start",Kd="end",qH="clippingParents",rR="viewport",Eu="popper",GH="reference",v9=bf.reduce(function(e,t){return e.concat([t+"-"+pc,t+"-"+Kd])},[]),oR=[].concat(bf,[_5]).reduce(function(e,t){return e.concat([t,t+"-"+pc,t+"-"+Kd])},[]),KH="beforeRead",YH="read",ZH="afterRead",XH="beforeMain",JH="main",QH="afterMain",eV="beforeWrite",tV="write",nV="afterWrite",rV=[KH,YH,ZH,XH,JH,QH,eV,tV,nV];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 $s(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 oV(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 iV(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 aV={name:"applyStyles",enabled:!0,phase:"write",fn:oV,effect:iV,requires:["computeStyles"]};function Qo(e){return e.split("-")[0]}var Rs=Math.max,Eh=Math.min,hc=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 mc(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&&hc(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&hc(r.height)/e.offsetHeight||1);var a=$s(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=mc(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 sV(e){return["table","td","th"].indexOf(ni(e))>=0}function Ya(e){return(($s(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 _9(e){return!to(e)||$i(e).position==="fixed"?null:e.offsetParent}function lV(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 Ef(e){for(var t=Ar(e),n=_9(e);n&&sV(n)&&$i(n).position==="static";)n=_9(n);return n&&(ni(n)==="html"||ni(n)==="body"&&$i(n).position==="static")?t:n||lV(e)||t}function S5(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function sd(e,t,n){return Rs(e,Eh(t,n))}function cV(e,t,n){var r=sd(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 uV=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,lR(typeof t!="number"?t:cR(t,bf))};function dV(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=S5(s),c=[vr,lo].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var d=uV(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=Ef(i),y=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,E=v/2-b/2,C=d[h],S=y-p[u]-d[g],_=y/2-p[u]/2+E,w=sd(C,_,S),R=l;n.modifiersData[r]=(t={},t[R]=w,t.centerOffset=w-_,t)}}function fV(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 pV={name:"arrow",enabled:!0,phase:"main",fn:dV,effect:fV,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gc(e){return e.split("-")[1]}var hV={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mV(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:hc(n*o)/o||0,y:hc(r*o)/o||0}}function b9(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,C=yr,S=window;if(c){var _=Ef(n),w="clientHeight",R="clientWidth";if(_===Ar(n)&&(_=Ya(n),$i(_).position!=="static"&&s==="absolute"&&(w="scrollHeight",R="scrollWidth")),_=_,o===yr||(o===vr||o===lo)&&i===Kd){C=so;var T=d&&_===S&&S.visualViewport?S.visualViewport.height:_[w];v-=T-r.height,v*=l?1:-1}if(o===vr||(o===yr||o===so)&&i===Kd){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&&hV),F=u===!0?mV({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[C]=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[C]=y?v+"px":"",t[E]=m?h+"px":"",t.transform="",t))}function gV(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:gc(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,b9(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,b9(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 yV={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:gV,data:{}};var gp={passive:!0};function vV(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,gp)}),s&&l.addEventListener("resize",n.update,gp),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,gp)}),s&&l.removeEventListener("resize",n.update,gp)}}const _V={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:vV,data:{}};var bV={left:"right",right:"left",bottom:"top",top:"bottom"};function _1(e){return e.replace(/left|right|bottom|top/g,function(t){return bV[t]})}var EV={start:"end",end:"start"};function E9(e){return e.replace(/start|end/g,function(t){return EV[t]})}function C5(e){var t=Ar(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function w5(e){return mc(Ya(e)).left+C5(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 CV(e){var t,n=Ya(e),r=C5(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Rs(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Rs(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+=Rs(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 ld(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(ld(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 wV(e,t){var n=mc(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 S9(e,t,n){return t===rR?lv(SV(e,n)):$s(t)?wV(t,n):lv(CV(Ya(e)))}function xV(e){var t=ld(r0(e)),n=["absolute","fixed"].indexOf($i(e).position)>=0,r=n&&to(e)?Ef(e):e;return $s(r)?t.filter(function(o){return $s(o)&&aR(o,r)&&ni(o)!=="body"}):[]}function MV(e,t,n,r){var o=t==="clippingParents"?xV(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(l,c){var u=S9(e,c,r);return l.top=Rs(u.top,l.top),l.right=Eh(u.right,l.right),l.bottom=Eh(u.bottom,l.bottom),l.left=Rs(u.left,l.left),l},S9(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?gc(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?S5(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case pc:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Kd:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function Yd(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?qH:s,c=n.rootBoundary,u=c===void 0?rR:c,d=n.elementContext,p=d===void 0?Eu: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,bf)),y=p===Eu?GH:Eu,E=e.rects.popper,C=e.elements[g?y:p],S=MV($s(C)?C:C.contextElement||Ya(e.elements.popper),l,u,a),_=mc(e.elements.reference),w=dR({reference:_,element:E,strategy:"absolute",placement:o}),R=lv(Object.assign({},E,w)),T=p===Eu?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===Eu&&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 RV(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=gc(r),d=u?s?v9:v9.filter(function(g){return gc(g)===u}):bf,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]=Yd(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 TV(e){if(Qo(e)===_5)return[];var t=_1(e);return[E9(e),t,E9(t)]}function kV(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?[_1(b)]:TV(b)),C=[b].concat(E).reduce(function(x,k){return x.concat(Qo(k)===_5?RV(t,{placement:k,boundary:u,rootBoundary:d,padding:c,flipVariations:g,allowedAutoPlacements:v}):k)},[]),S=t.rects.reference,_=t.rects.popper,w=new Map,R=!0,T=C[0],I=0;I<C.length;I++){var D=C[I],F=Qo(D),q=gc(D)===pc,W=[yr,so].indexOf(F)>=0,Q=W?"width":"height",H=Yd(t,{placement:D,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),re=W?q?lo:vr:q?so:yr;S[Q]>_[Q]&&(re=_1(re));var B=_1(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}w.set(D,ee)}if(R)for(var $=g?3:1,P=function(k){var j=C.find(function(J){var L=w.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 IV={name:"flip",enabled:!0,phase:"main",fn:kV,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 w9(e){return[yr,lo,so,vr].some(function(t){return e[t]>=0})}function LV(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Yd(t,{elementContext:"reference"}),s=Yd(t,{altBoundary:!0}),l=C9(a,r),c=C9(s,o,i),u=w9(l),d=w9(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 OV={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:LV};function AV(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 PV(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]=AV(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 NV={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:PV};function $V(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 jV={name:"popperOffsets",enabled:!0,phase:"read",fn:$V,data:{}};function DV(e){return e==="x"?"y":"x"}function BV(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=Yd(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),m=Qo(t.placement),y=gc(t.placement),E=!y,C=S5(m),S=DV(C),_=t.modifiersData.popperOffsets,w=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=C==="y"?yr:vr,Q=C==="y"?so:lo,H=C==="y"?"height":"width",re=_[C],B=re+b[W],ee=re-b[Q],$=h?-R[H]/2:0,P=y===pc?w[H]:R[H],N=y===pc?-R[H]:-w[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=sd(0,w[H],x[H]),U=E?w[H]/2-$-L-j-I.mainAxis:P-L-j-I.mainAxis,G=E?-w[H]/2+$+L+J+I.mainAxis:N+L+J+I.mainAxis,z=t.elements.arrow&&Ef(t.elements.arrow),V=z?C==="y"?z.clientTop||0:z.clientLeft||0:0,Y=(q=D==null?void 0:D[C])!=null?q:0,ue=re+U-Y-V,pe=re+G-Y,be=sd(h?Eh(B,ue):B,re,h?Rs(ee,pe):ee);_[C]=be,F[C]=be-re}if(s){var Ce,ke=C==="x"?yr:vr,pt=C==="x"?so:lo,ye=_[S],Ge=S==="y"?"height":"width",Se=ye+b[ke],Ve=ye-b[pt],Ue=[yr,vr].indexOf(m)!==-1,Le=(Ce=D==null?void 0:D[S])!=null?Ce:0,Ht=Ue?Se:ye-w[Ge]-R[Ge]-Le+I.altAxis,Cn=Ue?ye+w[Ge]+R[Ge]-Le-I.altAxis:Ve,zn=h&&Ue?cV(Ht,ye,Cn):sd(h?Ht:Se,ye,h?Cn:Ve);_[S]=zn,F[S]=zn-ye}t.modifiersData[r]=F}}const FV={name:"preventOverflow",enabled:!0,phase:"main",fn:BV,requiresIfExists:["offset"]};function UV(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function HV(e){return e===Ar(e)||!to(e)?C5(e):UV(e)}function VV(e){var t=e.getBoundingClientRect(),n=hc(t.width)/e.offsetWidth||1,r=hc(t.height)/e.offsetHeight||1;return n!==1||r!==1}function zV(e,t,n){n===void 0&&(n=!1);var r=to(t),o=to(t)&&VV(t),i=Ya(t),a=mc(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((ni(t)!=="body"||x5(i))&&(s=HV(t)),to(t)?(l=mc(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 WV(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 qV(e){var t=WV(e);return rV.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function GV(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function KV(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 x9={placement:"bottom",modifiers:[],strategy:"absolute"};function M9(){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 YV(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?x9:o;return function(s,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},x9,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:$s(s)?ld(s):s.contextElement?ld(s.contextElement):[],popper:ld(l)};var E=qV(KV([].concat(r,u.options.modifiers)));return u.orderedModifiers=E.filter(function(C){return C.enabled}),g(),h.update()},forceUpdate:function(){if(!p){var m=u.elements,y=m.reference,E=m.popper;if(M9(y,E)){u.rects={reference:zV(y,Ef(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 C=0;C<u.orderedModifiers.length;C++){if(u.reset===!0){u.reset=!1,C=-1;continue}var S=u.orderedModifiers[C],_=S.fn,w=S.options,R=w===void 0?{}:w,T=S.name;typeof _=="function"&&(u=_({state:u,options:R,name:T,instance:h})||u)}}}},update:GV(function(){return new Promise(function(b){h.forceUpdate(),b(u)})}),destroy:function(){v(),p=!0}};if(!M9(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,C=b.effect;if(typeof C=="function"){var S=C({state:u,name:m,instance:h,options:E}),_=function(){};d.push(S||_)}})}function v(){d.forEach(function(b){return b()}),d=[]}return h}}var ZV=[_V,jV,yV,aV,NV,IV,FV,pV,OV],XV=YV({defaultModifiers:ZV});function JV(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(JV(o)||document.body)},[o,i]),ti(()=>{if(a&&!i)return hh(n,a),()=>{hh(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 QV(e){return Ot("MuiPopper",e)}vt("MuiPopper",["root"]);const ez=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],tz=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function nz(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 rz(e){return e.nodeType!==void 0}const oz=e=>{const{classes:t}=e;return $t({root:["root"]},QV,t)},iz={},az=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,ez),m=M.useRef(null),y=Pn(m,n),E=M.useRef(null),C=Pn(E,p),S=M.useRef(C);ti(()=>{S.current=C},[C]),M.useImperativeHandle(p,()=>E.current,[]);const _=nz(u,a),[w,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=XV(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:w};v!==null&&(D.TransitionProps=v);const F=oz(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}))}),sz=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=iz,popperRef:h,style:g,transition:v=!1,slotProps:b={},slots:m={}}=t,y=Me(t,tz),[E,C]=M.useState(!0),S=()=>{C(!1)},_=()=>{C(!0)};if(!l&&!u&&(!v||E))return null;let w;if(i)w=i;else if(r){const I=cv(r);w=I&&rz(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:w,children:f.jsx(az,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}))})}),lz=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],cz=He(sz,{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:C}=i,S=Me(i,lz),_=(r=E==null?void 0:E.root)!=null?r:l==null?void 0:l.Root,w=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(cz,A({as:s,direction:o==null?void 0:o.direction,slots:{root:_},slotProps:C??c},w,{ref:n}))});function uz(e){return f.jsx(SB,A({},e,{defaultTheme:h5,themeId:df}))}const dz=t0(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 fz(e){return Ot("MuiAvatar",e)}vt("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const pz=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],hz=e=>{const{classes:t,variant:n,colorDefault:r}=e;return $t({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},fz,t)},mz=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]})))}]})),gz=He("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),yz=He(dz,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function vz({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 _z=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,pz);let b=null;const m=vz(A({},u,{src:p,srcSet:h})),y=p||h,E=y&&m!=="error",C=A({},r,{colorDefault:!E,component:s,variant:g}),S=hz(C),[_,w]=uH("img",{className:S.img,elementType:gz,externalForwardedProps:{slots:l,slotProps:{img:A({},u,c.img)}},additionalProps:{alt:o,src:p,srcSet:h,sizes:d},ownerState:C});return E?b=f.jsx(_,A({},w)):i||i===0?b=i:y&&o?b=o[0]:b=f.jsx(yz,{ownerState:C,className:S.fallback}),f.jsx(mz,A({as:s,ownerState:C,className:Ae(S.root,a),ref:n},v,{children:b}))}),bz=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Ez={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,bz),C=M.useRef(null),S=Pn(C,s.ref,n),_=W=>Q=>{if(W){const H=C.current;Q===void 0?W(H):W(H,Q)}},w=_(p),R=_((W,Q)=>{eR(W);const H=_h({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=_h({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(C.current,W)};return f.jsx(y,A({appear:a,in:c,nodeRef:C,onEnter:R,onEntered:T,onEntering:w,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},Ez[W],b,s.props.style),ref:S},Q))}))});function Cz(e){return Ot("MuiBackdrop",e)}vt("MuiBackdrop",["root","invisible"]);const wz=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],xz=e=>{const{classes:t,invisible:n}=e;return $t({root:["root",n&&"invisible"]},Cz,t)},Mz=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"})),Rz=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,wz),E=A({},a,{component:c,invisible:p}),C=xz(E),S=(r=g.root)!=null?r:d.root;return f.jsx(b,A({in:h,timeout:m},y,{children:f.jsx(Mz,A({"aria-hidden":!0},S,{as:(o=(i=v.root)!=null?i:u.Root)!=null?o:c,className:Ae(C.root,l,S==null?void 0:S.className),ownerState:A({},E,S==null?void 0:S.ownerState),classes:C,ref:n,children:s}))}))});function Tz(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 kz(e){return Ot("MuiBadge",e)}const na=vt("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"]),Iz=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Ag=10,Pg=4,Lz=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,kz,a)},Oz=He("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Az=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:Ag*2,lineHeight:1,padding:"0 6px",height:Ag*2,borderRadius:Ag,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:Pg,height:Pg*2,minWidth:Pg*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:C,slots:S,slotProps:_,showZero:w=!1,variant:R="standard"}=c,T=Me(c,Iz),{badgeContent:I,invisible:D,max:F,displayValue:q}=Tz({max:E,invisible:y,badgeContent:C,showZero:w}),W=LM({anchorOrigin:u,color:m,overlap:b,variant:R,badgeContent:C}),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:w,anchorOrigin:B,color:H,overlap:re,variant:ee}),N=Lz(P),O=(r=(o=S==null?void 0:S.root)!=null?o:h.Root)!=null?r:Oz,x=(i=(a=S==null?void 0:S.badge)!=null?a:h.Badge)!=null?i:Az,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:$}))]}))}),Pz=vt("MuiBox",["root"]),Nz=gh(),je=TB({themeId:df,defaultTheme:Nz,defaultClassName:Pz.root,generateClassName:o5.generate});function $z(e){return Ot("MuiButton",e)}const yp=vt("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"]),jz=M.createContext({}),Dz=M.createContext(void 0),Bz=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Fz=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,$z,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}}),Uz=He(qs,{shouldForwardProp:e=>e0(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]}),[`&.${yp.focusVisible}`]:A({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${yp.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"},[`&.${yp.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${yp.disabled}`]:{boxShadow:"none"}}),Hz=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))),Vz=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(jz),o=M.useContext(Dz),i=Wd(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:C="text"}=a,S=Me(a,Bz),_=A({},a,{color:l,component:c,disabled:d,disableElevation:p,disableFocusRipple:h,fullWidth:b,size:m,type:E,variant:C}),w=Fz(_),R=y&&f.jsx(Hz,{className:w.startIcon,ownerState:_,children:y}),T=g&&f.jsx(Vz,{className:w.endIcon,ownerState:_,children:g}),I=o||"";return f.jsxs(Uz,A({ownerState:_,className:Ae(r.className,w.root,u,I),component:c,disabled:d,focusRipple:!h,focusVisibleClassName:Ae(w.focusVisible,v),ref:n,type:E},S,{classes:w,children:[R,s,T]}))});function zz(e){return Ot("MuiCircularProgress",e)}vt("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Wz=["className","color","disableShrink","size","style","thickness","value","variant"];let o0=e=>e,R9,T9,k9,I9;const ra=44,qz=Xi(R9||(R9=o0`
|
|
179
|
+
0% {
|
|
180
|
+
transform: rotate(0deg);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
100% {
|
|
184
|
+
transform: rotate(360deg);
|
|
185
|
+
}
|
|
186
|
+
`)),Gz=Xi(T9||(T9=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
|
+
`)),Kz=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,zz,t)},Yz=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"&&dc(k9||(k9=o0`
|
|
202
|
+
animation: ${0} 1.4s linear infinite;
|
|
203
|
+
`),qz)),Zz=He("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Xz=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&&dc(I9||(I9=o0`
|
|
204
|
+
animation: ${0} 1.4s ease-in-out infinite;
|
|
205
|
+
`),Gz)),Sh=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,Wz),h=A({},r,{color:i,disableShrink:a,size:s,thickness:c,value:u,variant:d}),g=Kz(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(Yz,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(Zz,{className:g.svg,ownerState:h,viewBox:`${ra/2} ${ra/2} ${ra} ${ra}`,children:f.jsx(Xz,{className:g.circle,style:v,ownerState:h,cx:ra,cy:ra,r:(ra-c)/2,fill:"none",strokeWidth:c})})}))}),Jz=(e,t)=>A({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Qz=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}}),eW=(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:Jz(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:A({margin:0},Qz(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 tW(e){const t=Tt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return f.jsxs(M.Fragment,{children:[f.jsx(uz,{styles:o=>eW(o,r)}),n]})}function nW(e){const t=Hn(e);return t.body===e?Ha(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function cd(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function L9(e){return parseInt(Ha(e).getComputedStyle(e).paddingRight,10)||0}function rW(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 O9(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const s=i.indexOf(a)===-1,l=!rW(a);s&&l&&cd(a,o)})}function Ng(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function oW(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(nW(r)){const a=kM(Hn(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${L9(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=`${L9(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 iW(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class aW{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&&cd(t.modalRef,!1);const o=iW(n);O9(n,t.mount,t.modalRef,o,!0);const i=Ng(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=Ng(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=oW(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Ng(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&&cd(t.modalRef,n),O9(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&&cd(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const sW=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function lW(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 cW(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 uW(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||cW(e))}function dW(e){const t=[],n=[];return Array.from(e.querySelectorAll(sW)).forEach((r,o)=>{const i=lW(r);i===-1||!uW(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 fW(){return!0}function pW(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=dW,isEnabled:a=fW,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),C=w=>{b.current=w,!(r||!a()||w.key!=="Tab")&&E.activeElement===g.current&&w.shiftKey&&(l.current=!0,u.current&&u.current.focus())},S=()=>{const w=g.current;if(w===null)return;if(!E.hasFocus()||!a()||l.current){l.current=!1;return}if(w.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 w.focus()};E.addEventListener("focusin",S),E.addEventListener("keydown",C,!0);const _=setInterval(()=>{E.activeElement&&E.activeElement.tagName==="BODY"&&S()},50);return()=>{clearInterval(_),E.removeEventListener("focusin",S),E.removeEventListener("keydown",C,!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 C=t.props.onFocus;C&&C(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 hW(e){return typeof e=="function"?e():e}function mW(e){return e?e.props.hasOwnProperty("in"):!1}const gW=new aW;function yW(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=gW,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=mW(l);let E=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(E=!1);const C=()=>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)},w=Xr(()=>{const H=hW(t)||C().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&&cd(g.current,E))}),I=M.useCallback(()=>{o.remove(S(),E)},[E,o]);M.useEffect(()=>()=>{I()},[I]),M.useEffect(()=>{u?w():(!y||!i)&&I()},[u,I,y,i,w]);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 vW(e){return Ot("MuiModal",e)}vt("MuiModal",["root","hidden","backdrop"]);const _W=["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"],bW=e=>{const{open:t,exited:n,classes:r}=e;return $t({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},vW,r)},EW=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(Rz,{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:C=!1,disableEscapeKeyDown:S=!1,disablePortal:_=!1,disableRestoreFocus:w=!1,disableScrollLock:R=!1,hideBackdrop:T=!1,keepMounted:I=!1,onBackdropClick:D,open:F,slotProps:q,slots:W}=c,Q=Me(c,_W),H=A({},c,{closeAfterTransition:h,disableAutoFocus:E,disableEnforceFocus:C,disableEscapeKeyDown:S,disablePortal:_,disableRestoreFocus:w,disableScrollLock:R,hideBackdrop:T,keepMounted:I}),{getRootProps:re,getBackdropProps:B,getTransitionProps:ee,portalRef:$,isTopModal:P,exited:N,hasTransition:O}=yW(A({},H,{rootRef:n})),x=A({},H,{exited:N}),k=bW(x),j={};if(g.props.tabIndex===void 0&&(j.tabIndex="-1"),O){const{onEnter:Y,onExited:ue}=ee();j.onEnter=Y,j.onExited=ue}const J=(r=(o=W==null?void 0:W.root)!=null?o:m.Root)!=null?r:EW,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:Y=>B(A({},Y,{onClick:ue=>{D&&D(ue),Y!=null&&Y.onClick&&Y.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(pW,{disableEnforceFocus:C,disableAutoFocus:E,disableRestoreFocus:w,isEnabled:P,open:F,children:M.cloneElement(g,j)})]}))})}),A9=vt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),CW=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function uv(e){return`scale(${e}, ${e**2})`}const wW={entering:{opacity:1,transform:uv(1)},entered:{opacity:1,transform:"none"}},$g=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ch=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,CW),y=Nl(),E=M.useRef(),C=fo(),S=M.useRef(null),_=Pn(S,i.ref,n),w=Q=>H=>{if(Q){const re=S.current;H===void 0?Q(re):Q(re,H)}},R=w(u),T=w((Q,H)=>{eR(Q);const{duration:re,delay:B,easing:ee}=_h({style:g,timeout:v,easing:a},{mode:"enter"});let $;v==="auto"?($=C.transitions.getAutoHeightDuration(Q.clientHeight),E.current=$):$=re,Q.style.transition=[C.transitions.create("opacity",{duration:$,delay:B}),C.transitions.create("transform",{duration:$g?$:$*.666,delay:B,easing:ee})].join(","),l&&l(Q,H)}),I=w(c),D=w(h),F=w(Q=>{const{duration:H,delay:re,easing:B}=_h({style:g,timeout:v,easing:a},{mode:"exit"});let ee;v==="auto"?(ee=C.transitions.getAutoHeightDuration(Q.clientHeight),E.current=ee):ee=H,Q.style.transition=[C.transitions.create("opacity",{duration:ee,delay:re}),C.transitions.create("transform",{duration:$g?ee:ee*.666,delay:$g?re:re||ee*.333,easing:B})].join(","),Q.style.opacity=0,Q.style.transform=uv(.75),d&&d(Q)}),q=w(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},wW[Q],g,i.props.style),ref:_},H))}))});Ch.muiSupportAuto=!0;function xW(e){return Ot("MuiLink",e)}const MW=vt("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),mR={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},RW=e=>mR[e]||e,TW=({theme:e,ownerState:t})=>{const n=RW(t.color),r=fc(e,`palette.${n}`,!1)||t.color,o=fc(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Jn(r,.4)},kW=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],IW=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,xW,t)},LW=He(mt,{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:TW({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"},[`&.${MW.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,kW),{isFocusVisibleRef:g,onBlur:v,onFocus:b,ref:m}=Jm(),[y,E]=M.useState(!1),C=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)},w=A({},r,{color:i,component:a,focusVisible:y,underline:u,variant:d}),R=IW(w);return f.jsx(LW,A({color:i,className:Ae(R.root,o),classes:c,component:a,onBlur:S,onFocus:_,ref:C,ownerState:w,variant:d,sx:[...Object.keys(mR).includes(i)?[]:[{color:i}],...Array.isArray(p)?p:[p]]},h))}),wh=M.createContext({});function OW(e){return Ot("MuiList",e)}vt("MuiList",["root","padding","dense","subheader"]);const AW=["children","className","component","dense","disablePadding","subheader"],PW=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return $t({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},OW,t)},NW=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})),$W=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,AW),d=M.useMemo(()=>({dense:s}),[s]),p=A({},r,{component:a,dense:s,disablePadding:l}),h=PW(p);return f.jsx(wh.Provider,{value:d,children:f.jsxs(NW,A({as:a,className:Ae(h.root,i),ref:n,ownerState:p},u,{children:[c,o]}))})});function jW(e){return Ot("MuiListItemIcon",e)}const P9=vt("MuiListItemIcon",["root","alignItemsFlexStart"]),DW=["className"],BW=e=>{const{alignItems:t,classes:n}=e;return $t({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},jW,n)},FW=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})),UW=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiListItemIcon"}),{className:o}=r,i=Me(r,DW),a=M.useContext(wh),s=A({},r,{alignItems:a.alignItems}),l=BW(s);return f.jsx(FW,A({className:Ae(l.root,o),ownerState:s,ref:n},i))}),N9=vt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),HW=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function jg(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function $9(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 Su(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 VW=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,HW),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:C})=>{const S=!h.current.style.width;if(E.clientHeight<h.current.clientHeight&&S){const _=`${kM(Hn(E))}px`;h.current.style[C==="rtl"?"paddingLeft":"paddingRight"]=_,h.current.style.width=`calc(100% + ${_})`}return h.current}}),[]);const v=E=>{const C=h.current,S=E.key,_=Hn(C).activeElement;if(S==="ArrowDown")E.preventDefault(),Su(C,_,c,l,jg);else if(S==="ArrowUp")E.preventDefault(),Su(C,_,c,l,$9);else if(S==="Home")E.preventDefault(),Su(C,null,c,l,jg);else if(S==="End")E.preventDefault(),Su(C,null,c,l,$9);else if(S.length===1){const w=g.current,R=S.toLowerCase(),T=performance.now();w.keys.length>0&&(T-w.lastTime>500?(w.keys=[],w.repeating=!0,w.previousKeyMatched=!0):w.repeating&&R!==w.keys[0]&&(w.repeating=!1)),w.lastTime=T,w.keys.push(R);const I=_&&!w.repeating&&gR(_,w);w.previousKeyMatched&&(I||Su(C,_,!1,l,jg,w))?E.preventDefault():w.previousKeyMatched=!1}u&&u(E)},b=Pn(h,n);let m=-1;M.Children.forEach(a,(E,C)=>{if(!M.isValidElement(E)){m===C&&(m+=1,m>=a.length&&(m=-1));return}E.props.disabled||(d==="selectedMenu"&&E.props.selected||m===-1)&&(m=C),m===C&&(E.props.disabled||E.props.muiSkipListHighlight||E.type.muiSkipListHighlight)&&(m+=1,m>=a.length&&(m=-1))});const y=M.Children.map(a,(E,C)=>{if(C===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($W,A({role:"menu",ref:b,className:s,onKeyDown:v,tabIndex:o?0:-1},p,{children:y}))});function zW(e){return Ot("MuiPopover",e)}vt("MuiPopover",["root","paper"]);const WW=["onEntering"],qW=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],GW=["slotProps"];function j9(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function D9(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function B9(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Dg(e){return typeof e=="function"?e():e}const KW=e=>{const{classes:t}=e;return $t({root:["root"],paper:["paper"]},zW,t)},YW=He(i0,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),yR=He(_f,{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}),ZW=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:C,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:_=Ch,transitionDuration:w="auto",TransitionProps:{onEntering:R}={},disableScrollLock:T=!1}=a,I=Me(a.TransitionProps,WW),D=Me(a,qW),F=(r=C==null?void 0:C.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:w,TransitionProps:I}),H=KW(Q),re=M.useCallback(()=>{if(d==="anchorPosition")return u;const Y=Dg(l),pe=(Y&&Y.nodeType===1?Y:Hn(q.current).body).getBoundingClientRect();return{top:pe.top+j9(pe,c.vertical),left:pe.left+D9(pe,c.horizontal)}},[l,c.horizontal,c.vertical,u,d]),B=M.useCallback(Y=>({vertical:j9(Y,S.vertical),horizontal:D9(Y,S.horizontal)}),[S.horizontal,S.vertical]),ee=M.useCallback(Y=>{const ue={width:Y.offsetWidth,height:Y.offsetHeight},pe=B(ue);if(d==="none")return{top:null,left:null,transformOrigin:B9(pe)};const be=re();let Ce=be.top-pe.vertical,ke=be.left-pe.horizontal;const pt=Ce+ue.height,ye=ke+ue.width,Ge=Ha(Dg(l)),Se=Ge.innerHeight-b,Ve=Ge.innerWidth-b;if(b!==null&&Ce<b){const Ue=Ce-b;Ce-=Ue,pe.vertical+=Ue}else if(b!==null&&pt>Se){const Ue=pt-Se;Ce-=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(Ce)}px`,left:`${Math.round(ke)}px`,transformOrigin:B9(pe)}},[l,d,re,B,b]),[$,P]=M.useState(m),N=M.useCallback(()=>{const Y=q.current;if(!Y)return;const ue=ee(Y);ue.top!==null&&(Y.style.top=ue.top),ue.left!==null&&(Y.style.left=ue.left),Y.style.transformOrigin=ue.transformOrigin,P(!0)},[ee]);M.useEffect(()=>(T&&window.addEventListener("scroll",N),()=>window.removeEventListener("scroll",N)),[l,T,N]);const O=(Y,ue)=>{R&&R(Y,ue),N()},x=()=>{P(!1)};M.useEffect(()=>{m&&N()}),M.useImperativeHandle(s,()=>m?{updatePosition:()=>{N()}}:null,[m,N]),M.useEffect(()=>{if(!m)return;const Y=Zm(()=>{N()}),ue=Ha(l);return ue.addEventListener("resize",Y),()=>{Y.clear(),ue.removeEventListener("resize",Y)}},[l,m,N]);let k=w;w==="auto"&&!_.muiSupportAuto&&(k=void 0);const j=g||(l?Hn(Dg(l)).body:void 0),J=(o=E==null?void 0:E.root)!=null?o:YW,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:(C==null?void 0:C.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,GW);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 XW(e){return Ot("MuiMenu",e)}vt("MuiMenu",["root","paper","list"]);const JW=["onEntering"],QW=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],eq={vertical:"top",horizontal:"right"},tq={vertical:"top",horizontal:"left"},nq=e=>{const{classes:t}=e;return $t({root:["root"],paper:["paper"],list:["list"]},XW,t)},rq=He(ZW,{shouldForwardProp:e=>e0(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),oq=He(yR,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),iq=He(VW,{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,C=Me(i.TransitionProps,JW),S=Me(i,QW),_=Qm(),w=A({},i,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:u,onEntering:b,PaperProps:h,transitionDuration:v,TransitionProps:C,variant:m}),R=nq(w),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:oq,Q=(o=E.paper)!=null?o:h,H=Or({elementType:y.root,externalSlotProps:E.root,ownerState:w,className:[R.root,l]}),re=Or({elementType:W,externalSlotProps:Q,ownerState:w,className:R.paper});return f.jsx(rq,A({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?eq:tq,slots:{paper:W,root:y.root},slotProps:{root:H,paper:re},open:p,ref:n,transitionDuration:v,TransitionProps:A({onEntering:D},C),ownerState:w},S,{classes:g,children:f.jsx(iq,A({onKeyDown:F,actions:I,autoFocus:a&&(q===-1||c),autoFocusItem:T,variant:m},u,{className:Ae(R.list,u.className),children:s}))}))});function aq(e){return Ot("MuiMenuItem",e)}const Cu=vt("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),sq=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],lq=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},cq=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"]},aq,a);return A({},a,l)},uq=He(qs,{shouldForwardProp:e=>e0(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:lq})(({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"}},[`&.${Cu.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Jn(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Cu.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)}},[`&.${Cu.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)}},[`&.${Cu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Cu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${A9.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${A9.inset}`]:{marginLeft:52},[`& .${N9.root}`]:{marginTop:0,marginBottom:0},[`& .${N9.inset}`]:{paddingLeft:36},[`& .${P9.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&A({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${P9.root} svg`]:{fontSize:"1.25rem"}}))),dq=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,sq),g=M.useContext(wh),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=cq(r),E=Pn(b,n);let C;return r.disabled||(C=d!==void 0?d:-1),f.jsx(wh.Provider,{value:v,children:f.jsx(uq,A({ref:E,role:u,tabIndex:C,component:i,focusVisibleClassName:Ae(y.focusVisible,c),className:Ae(y.root,p)},h,{ownerState:m,classes:y}))})});function fq(e){return Ot("MuiSkeleton",e)}vt("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const pq=["animation","className","component","height","style","variant","width"];let xh=e=>e,F9,U9,H9,V9;const hq=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"]},fq,t)},mq=Xi(F9||(F9=xh`
|
|
206
|
+
0% {
|
|
207
|
+
opacity: 1;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
50% {
|
|
211
|
+
opacity: 0.4;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
100% {
|
|
215
|
+
opacity: 1;
|
|
216
|
+
}
|
|
217
|
+
`)),gq=Xi(U9||(U9=xh`
|
|
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
|
+
`)),yq=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=fU(e.shape.borderRadius)||"px",r=pU(e.shape.borderRadius);return A({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:HB(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"&&dc(H9||(H9=xh`
|
|
231
|
+
animation: ${0} 2s ease-in-out 0.5s infinite;
|
|
232
|
+
`),mq),({ownerState:e,theme:t})=>e.animation==="wave"&&dc(V9||(V9=xh`
|
|
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
|
+
`),gq,(t.vars||t).palette.action.hover)),z9=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,pq),p=A({},r,{animation:o,component:a,variant:c,hasChildren:!!d.children}),h=hq(p);return f.jsx(yq,A({as:a,ref:n,className:Ae(h.root,i),ownerState:p},d,{style:A({width:u,height:s},l)}))});function vq(e){return Ot("MuiTooltip",e)}const Sa=vt("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),_q=["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 bq(e){return Math.round(e*1e5)/1e5}const Eq=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,vq,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"] .${Sa.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Sa.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Sa.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"] .${Sa.arrow}`]:A({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),Cq=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:`${bq(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Sa.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"})),[`.${Sa.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"})),[`.${Sa.popper}[data-popper-placement*="top"] &`]:A({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Sa.popper}[data-popper-placement*="bottom"] &`]:A({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),wq=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 vp=!1;const W9=new gf;let wu={x:0,y:0};function _p(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const xq=M.forwardRef(function(t,n){var r,o,i,a,s,l,c,u,d,p,h,g,v,b,m,y,E,C,S;const _=Tt({props:t,name:"MuiTooltip"}),{arrow:w=!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=Ch,TransitionProps:Y}=_,ue=Me(_,_q),pe=M.isValidElement(R)?R:f.jsx("span",{children:R}),be=fo(),Ce=Qm(),[ke,pt]=M.useState(),[ye,Ge]=M.useState(null),Se=M.useRef(!1),Ve=W||ee,Ue=Nl(),Le=Nl(),Ht=Nl(),Cn=Nl(),[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),Cn.clear()});M.useEffect(()=>si,[si]);const wn=nt=>{W9.clear(),vp=!0,ve(!0),x&&!Et&&x(nt)},me=Xr(nt=>{W9.start(800+P,()=>{vp=!1}),ve(!1),O&&Et&&O(nt),Ue.start(be.transitions.duration.shortest,()=>{Se.current=!1})}),Re=nt=>{Se.current&&nt.type!=="touchstart"||(ke&&ke.removeAttribute("title"),Le.clear(),Ht.clear(),H||vp&&re?Le.start(vp?re:H,()=>{wn(nt)}):wn(nt))},at=nt=>{Le.clear(),Ht.start(P,()=>{me(nt)})},{isFocusVisibleRef:ot,onBlur:Gt,onFocus:xn,ref:Br}=Jm(),[,ea]=M.useState(!1),ho=nt=>{Gt(nt),ot.current===!1&&(ea(!1),at(nt))},el=nt=>{ke||pt(nt.currentTarget),xn(nt),ot.current===!0&&(ea(!0),Re(nt))},f6=nt=>{Se.current=!0;const Sr=pe.props;Sr.onTouchStart&&Sr.onTouchStart(nt)},UA=nt=>{f6(nt),Ht.clear(),Ue.clear(),si(),Dr.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Cn.start(B,()=>{document.body.style.WebkitUserSelect=Dr.current,Re(nt)})},HA=nt=>{pe.props.onTouchEnd&&pe.props.onTouchEnd(nt),si(),Ht.start(N,()=>{me(nt)})};M.useEffect(()=>{if(!Et)return;function nt(Sr){(Sr.key==="Escape"||Sr.key==="Esc")&&me(Sr)}return document.addEventListener("keydown",nt),()=>{document.removeEventListener("keydown",nt)}},[me,Et]);const VA=Pn(pe.ref,Br,pt,n);!z&&z!==0&&(Et=!1);const Z0=M.useRef(),zA=nt=>{const Sr=pe.props;Sr.onMouseMove&&Sr.onMouseMove(nt),wu={x:nt.clientX,y:nt.clientY},Z0.current&&Z0.current.update()},su={},X0=typeof z=="string";D?(su.title=!Et&&X0&&!q?z:null,su["aria-describedby"]=Et?Wn:null):(su["aria-label"]=X0?z:null,su["aria-labelledby"]=Et&&!X0?Wn:null);const mo=A({},su,ue,pe.props,{className:Ae(ue.className,pe.props.className),onTouchStart:f6,ref:VA},ee?{onMouseMove:zA}:{}),lu={};Q||(mo.onTouchStart=UA,mo.onTouchEnd=HA),q||(mo.onMouseOver=_p(Re,mo.onMouseOver),mo.onMouseLeave=_p(at,mo.onMouseLeave),Ve||(lu.onMouseOver=Re,lu.onMouseLeave=at)),F||(mo.onFocus=_p(el,mo.onFocus),mo.onBlur=_p(ho,mo.onBlur),Ve||(lu.onFocus=el,lu.onBlur=ho));const WA=M.useMemo(()=>{var nt;let Sr=[{name:"arrow",enabled:!!ye,options:{element:ye,padding:4}}];return(nt=L.popperOptions)!=null&&nt.modifiers&&(Sr=Sr.concat(L.popperOptions.modifiers)),A({},L.popperOptions,{modifiers:Sr})},[ye,L]),cu=A({},_,{isRtl:Ce,arrow:w,disableInteractive:Ve,placement:j,PopperComponentProp:J,touch:Se.current}),J0=Eq(cu),p6=(r=(o=G.popper)!=null?o:T.Popper)!=null?r:Sq,h6=(i=(a=(s=G.transition)!=null?s:T.Transition)!=null?a:V)!=null?i:Ch,m6=(l=(c=G.tooltip)!=null?c:T.Tooltip)!=null?l:Cq,g6=(u=(d=G.arrow)!=null?d:T.Arrow)!=null?u:wq,qA=$l(p6,A({},L,(p=U.popper)!=null?p:I.popper,{className:Ae(J0.popper,L==null?void 0:L.className,(h=(g=U.popper)!=null?g:I.popper)==null?void 0:h.className)}),cu),GA=$l(h6,A({},Y,(v=U.transition)!=null?v:I.transition),cu),KA=$l(m6,A({},(b=U.tooltip)!=null?b:I.tooltip,{className:Ae(J0.tooltip,(m=(y=U.tooltip)!=null?y:I.tooltip)==null?void 0:m.className)}),cu),YA=$l(g6,A({},(E=U.arrow)!=null?E:I.arrow,{className:Ae(J0.arrow,(C=(S=U.arrow)!=null?S:I.arrow)==null?void 0:C.className)}),cu);return f.jsxs(M.Fragment,{children:[M.cloneElement(pe,mo),f.jsx(p6,A({as:J??pR,placement:j,anchorEl:ee?{getBoundingClientRect:()=>({top:wu.y,left:wu.x,right:wu.x,bottom:wu.y,width:0,height:0})}:ke,popperRef:Z0,open:ke?Et:!1,id:Wn,transition:!0},lu,qA,{popperOptions:WA,children:({TransitionProps:nt})=>f.jsx(h6,A({timeout:be.transitions.duration.shorter},nt,GA,{children:f.jsxs(m6,A({},KA,{children:[z,w?f.jsx(g6,A({},YA,{ref:Ge})):null]}))}))}))]})});function Mq(e){return Ot("MuiTab",e)}const oa=vt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Rq=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Tq=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,Mq,t)},kq=He(qs,{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)})),q9=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,C=Me(r,Rq),S=A({},r,{disabled:i,disableFocusRipple:a,selected:v,icon:!!l,iconPosition:c,label:!!d,fullWidth:s,textColor:m,wrapped:E}),_=Tq(S),w=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(kq,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},C,{children:[c==="top"||c==="start"?f.jsxs(M.Fragment,{children:[w,d]}):f.jsxs(M.Fragment,{children:[d,w]}),u]}))});function Iq(e){return Ot("MuiToolbar",e)}vt("MuiToolbar",["root","gutters","regular","dense"]);const Lq=["className","component","disableGutters","variant"],Oq=e=>{const{classes:t,disableGutters:n,variant:r}=e;return $t({root:["root",!n&&"gutters",r]},Iq,t)},Aq=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),Pq=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,Lq),c=A({},r,{component:i,disableGutters:a,variant:s}),u=Oq(c);return f.jsx(Aq,A({as:i,className:Ae(u.root,o),ref:n,ownerState:c},l))}),Nq=t0(f.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),$q=t0(f.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function jq(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function Dq(e,t,n,r={},o=()=>{}){const{ease:i=jq,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 Bq=["onChange"],Fq={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Uq(e){const{onChange:t}=e,n=Me(e,Bq),r=M.useRef(),o=M.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return ti(()=>{const a=Zm(()=>{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:Fq,ref:o},n))}function Hq(e){return Ot("MuiTabScrollButton",e)}const Vq=vt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),zq=["className","slots","slotProps","direction","orientation","disabled"],Wq=e=>{const{classes:t,orientation:n,disabled:r}=e;return $t({root:["root",n,r&&"disabled"]},Hq,t)},qq=He(qs,{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,[`&.${Vq.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),Gq=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,zq),d=Qm(),p=A({isRtl:d},i),h=Wq(p),g=(r=s.StartScrollButtonIcon)!=null?r:Nq,v=(o=s.EndScrollButtonIcon)!=null?o:$q,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(qq,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 Kq(e){return Ot("MuiTabs",e)}const Bg=vt("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Yq=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],G9=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,K9=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,bp=(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}}},Zq=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"]},Kq,l)},Xq=He("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Bg.scrollButtons}`]:t.scrollButtons},{[`& .${Bg.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&&{[`& .${Bg.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),Jq=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"})),Qq=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"})),eG=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})),tG=He(Uq)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Y9={},nG=M.forwardRef(function(t,n){const r=Tt({props:t,name:"MuiTabs"}),o=fo(),i=Qm(),{"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=Gq,scrollButtons:y="auto",selectionFollowsFocus:E,slots:C={},slotProps:S={},TabIndicatorProps:_={},TabScrollButtonProps:w={},textColor:R="primary",value:T,variant:I="standard",visibleScrollbar:D=!1}=r,F=Me(r,Yq),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=Zq($),N=Or({elementType:C.StartScrollButtonIcon,externalSlotProps:S.startScrollButtonIcon,ownerState:$}),O=Or({elementType:C.EndScrollButtonIcon,externalSlotProps:S.endScrollButtonIcon,ownerState:$}),[x,k]=M.useState(!1),[j,J]=M.useState(Y9),[L,U]=M.useState(!1),[G,z]=M.useState(!1),[V,Y]=M.useState(!1),[ue,pe]=M.useState({overflow:"hidden",scrollbarWidth:0}),be=new Map,Ce=M.useRef(null),ke=M.useRef(null),pt=()=>{const me=Ce.current;let Re;if(me){const ot=me.getBoundingClientRect();Re={clientWidth:me.clientWidth,scrollLeft:me.scrollLeft,scrollTop:me.scrollTop,scrollLeftNormalized:oF(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?Dq(Q,Ce.current,me,{duration:o.transitions.duration.standard}):Ce.current[Q]=me},Se=me=>{let Re=Ce.current[Q];W?Re+=me:(Re+=me*(i?-1:1),Re*=i&&IM()==="reverse"?-1:1),Ge(Re)},Ve=()=>{const me=Ce.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=()=>{Se(-1*Ve())},Le=()=>{Se(Ve())},Ht=M.useCallback(me=>{pe({overflow:null,scrollbarWidth:me})},[]),Cn=()=>{const me={};me.scrollbarSizeListener=q?f.jsx(tG,{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:C.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:N},orientation:b,direction:i?"right":"left",onClick:Ue,disabled:!L},w,{className:Ae(P.scrollButtons,w.className)})):null,me.scrollButtonEnd=at?f.jsx(m,A({slots:{EndScrollButtonIcon:C.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:O},orientation:b,direction:i?"left":"right",onClick:Le,disabled:!G},w,{className:Ae(P.scrollButtons,w.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&&Y(!V)});M.useEffect(()=>{const me=Zm(()=>{Ce.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(Ce.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:Ce.current,threshold:.99},xn=el=>{U(!el[0].isIntersecting)},Br=new IntersectionObserver(xn,Gt);Br.observe(at);const ea=el=>{z(!el[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(Y9!==j)},[zn,j]),M.useImperativeHandle(l,()=>({updateIndicator:ye,updateScrollButtons:ve}),[ye,ve]);const Et=f.jsx(eG,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(),bp(Re,at,K9);break;case xn:me.preventDefault(),bp(Re,at,G9);break;case"Home":me.preventDefault(),bp(Re,null,G9);break;case"End":me.preventDefault(),bp(Re,null,K9);break}},wn=Cn();return f.jsxs(Xq,A({className:Ae(P.root,d),ownerState:$,ref:n,as:p},F,{children:[wn.scrollButtonStart,wn.scrollbarSizeListener,f.jsxs(Jq,{className:P.scroller,ownerState:$,style:{overflow:ue.overflow,[W?`margin${i?"Left":"Right"}`:"marginBottom"]:D?void 0:-ue.scrollbarWidth},ref:Ce,children:[f.jsx(Qq,{"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]}))}),rG="https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/assets/RoobertPRO-Bold-BLoSpx-h.otf",oG="https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/assets/RoobertPRO-Bold-zQ2qeH97.ttf",iG=e=>({MuiCssBaseline:{styleOverrides:{"@font-face":{fontFamily:"DecentralandHero",src:`url(${oG}) format("truetype"), url(${rG}) 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}}}}}),aG=K.memo(e=>f.jsxs(VU,{theme:e.theme,children:[f.jsx(tW,{}),e.children]})),sG={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(d9[e].palette),typography:sG,shape:{borderRadius:6},breakpoints:{values:{xs:768,sm:991,md:1024,lg:1280,xl:1500}},components:iG(d9[e].palette)}}m5(_R("light"));const lG=m5(_R("dark"));var Ca={},a0={},Fg={},os={},Z9;function cG(){if(Z9)return os;Z9=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 X9;function R5(){return X9||(X9=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=cG();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}(Fg)),Fg}Object.defineProperty(a0,"__esModule",{value:!0});a0.createConfig=void 0;const uG=R5();function dG(e,t){const n=(0,uG.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=dG;(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}})})(Ca);const fG="development",pG="https://places.decentraland.zone",hG={ENVIRONMENT:fG,PLACES_URL:pG},mG="production",gG="https://places.decentraland.org",yG={ENVIRONMENT:mG,PLACES_URL:gG};var Ug={VITE_SEGMENT_DEV_API_KEY:"UJLmm39XefLTcE55pRdWiwBT1JoTs6OI",VITE_SEGMENT_PRD_API_KEY:"uMHQo9dBTi626Bv11I3RxcH3Jui8lKMm"};const bR=Ca.createConfig({[Ca.Env.DEVELOPMENT]:{...hG,SEGMENT_API_KEY:Ug.VITE_SEGMENT_DEV_API_KEY},[Ca.Env.PRODUCTION]:{...yG,SEGMENT_API_KEY:Ug.VITE_SEGMENT_PRD_API_KEY}},{systemEnvVariables:{REACT_APP_DCL_DEFAULT_ENV:Ug.VITE_REACT_APP_DCL_DEFAULT_ENV??"dev"}}),vG="modulepreload",_G=function(e){return"https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/"+e},J9={},bG=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=_G(s),s in J9)return;J9[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":vG,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 EG=" 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,xu;function CG(){if(xu instanceof RegExp)return xu;try{xu=new RegExp(EG,"i")}catch{xu=SG}return xu}function wG(e){return!!e&&CG().test(e)}const ER=M.createContext(null),xG=({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(wG(c)){console.log("[Analytics] Skipping load: bot detected");return}try{const{AnalyticsBrowser:d}=await bG(async()=>{const{AnalyticsBrowser:p}=await import("./index-lyD-Z9fX.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 MG="2.0.3",dv=500,Q9="user-agent",yc="",e7="?",Mh="function",wa="undefined",vc="object",fv="string",lr="browser",yi="cpu",zo="device",Co="engine",Kr="os",Jl="result",se="name",te="type",ae="vendor",le="version",cr="architecture",Zd="major",oe="model",Vu="console",We="mobile",bt="tablet",on="smarttv",Fo="wearable",Hg="xr",zu="embedded",Mu="inapp",T5="brands",fs="formFactors",k5="fullVersionList",Ql="platform",I5="platformVersion",s0="bitness",Za="sec-ch-ua",RG=Za+"-full-version-list",TG=Za+"-arch",kG=Za+"-"+s0,IG=Za+"-form-factors",LG=Za+"-"+We,OG=Za+"-"+oe,SR=Za+"-"+Ql,AG=SR+"-version",CR=[T5,k5,We,oe,Ql,I5,cr,fs,s0],Ep="Amazon",cl="Apple",t7="ASUS",n7="BlackBerry",is="Google",r7="Huawei",o7="Lenovo",i7="Honor",Sp="LG",Vg="Microsoft",zg="Motorola",Wg="Nvidia",a7="OnePlus",qg="OPPO",Ru="Samsung",s7="Sharp",Tu="Sony",Gg="Xiaomi",Kg="Zebra",l7="Chrome",c7="Chromium",ia="Chromecast",PG="Edge",ku="Firefox",Iu="Opera",Yg="Facebook",u7="Sogou",ul="Mobile ",Lu=" Browser",pv="Windows",NG=typeof window!==wa,ur=NG&&window.navigator?window.navigator:void 0,ya=ur&&ur.userAgentData?ur.userAgentData:void 0,$G=function(e,t){var n={},r=t;if(!Rh(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===vc&&e.length>0){for(var n in e)if(bi(e[n])==bi(t))return!0;return!1}return Kc(e)?bi(t).indexOf(bi(e))!==-1:!1},Rh=function(e,t){for(var n in e)return/^(browser|cpu|device|engine|os)$/.test(n)||(t?Rh(e[n]):!1)},Kc=function(e){return typeof e===fv},Zg=function(e){if(e){for(var t=[],n=_c(/\\?\"/g,e).split(","),r=0;r<n.length;r++)if(n[r].indexOf(";")>-1){var o=Xd(n[r]).split(";v=");t[r]={brand:o[0],version:o[1]}}else t[r]=Xd(n[r]);return t}},bi=function(e){return Kc(e)?e.toLowerCase():e},Xg=function(e){return Kc(e)?_c(/[^\d\.]/g,e).split(".")[0]:void 0},Ei=function(e){for(var t in e){var n=e[t];typeof n==vc&&n.length==2?this[n[0]]=n[1]:this[n]=void 0}return this},_c=function(e,t){return Kc(t)?t.replace(e,yc):t},Ou=function(e){return _c(/\\?\"/g,e)},Xd=function(e,t){if(Kc(e))return e=_c(/^\s\s*/,e),typeof t===wa?e:e.substring(0,dv)},Jg=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===vc&&a.length>0?a.length===2?typeof a[1]==Mh?this[a[0]]=a[1].call(this,l):this[a[0]]=a[1]:a.length===3?typeof a[1]===Mh&&!(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]===vc&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(hv(t[n][r],e))return n===e7?void 0:n}else if(hv(t[n],e))return n===e7?void 0:n;return t.hasOwnProperty("*")?t["*"]:e},d7={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"},f7={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},p7={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[le,[se,ul+"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,Iu+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[le,[se,Iu+" GX"]],[/\bopr\/([\w\.]+)/i],[le,[se,Iu]],[/\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 "+o7+Lu]],[/(avast|avg)\/([\w\.]+)/i],[[se,/(.+)/,"$1 Secure"+Lu],le],[/\bfocus\/([\w\.]+)/i],[le,[se,ku+" Focus"]],[/\bopt\/([\w\.]+)/i],[le,[se,Iu+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[le,[se,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[le,[se,"Dolphin"]],[/coast\/([\w\.]+)/i],[le,[se,Iu+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[le,[se,"MIUI"+Lu]],[/fxios\/([\w\.-]+)/i],[le,[se,ul+ku]],[/\bqihoobrowser\/?([\w\.]*)/i],[le,[se,"360"]],[/\b(qq)\/([\w\.]+)/i],[[se,/(.+)/,"$1Browser"],le],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[se,/(.+)/,"$1"+Lu],le],[/samsungbrowser\/([\w\.]+)/i],[le,[se,Ru+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[le,[se,u7+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[se,u7+" 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,Yg],le,[te,Mu]],[/(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,Mu]],[/\bgsa\/([\w\.]+) .*safari\//i],[le,[se,"GSA"],[te,Mu]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[le,[se,"TikTok"],[te,Mu]],[/\[(linkedin)app\]/i],[se,[te,Mu]],[/(chromium)[\/ ]([-\w\.]+)/i],[se,le],[/headlesschrome(?:\/([\w\.]+)| )/i],[le,[se,l7+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[se,l7+" WebView"],le],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[le,[se,"Android"+Lu]],[/chrome\/([\w\.]+) mobile/i],[le,[se,ul+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[se,le],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[le,[se,ul+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[se,ul+"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,ul+ku],le],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[se,"Netscape"],le],[/(wolvic|librewolf)\/([\w\.]+)/i],[se,le],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[le,[se,ku+" 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\.]+./,yc]]],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/,yc,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,Ru],[te,bt]],[/\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,Ru],[te,We]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[oe,[ae,cl],[te,We]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[oe,[ae,cl],[te,bt]],[/(macintosh);/i],[oe,[ae,cl]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[oe,[ae,s7],[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,i7],[te,bt]],[/honor([-\w ]+)[;\)]/i],[oe,[ae,i7],[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,r7],[te,bt]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[oe,[ae,r7],[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,Gg],[te,bt]],[/\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,Gg],[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,qg],[te,We]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[oe,[ae,va,{OnePlus:["304","403","203"],"*":qg}],[te,bt]],[/(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,zg],[te,We]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[oe,[ae,zg],[te,bt]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[oe,[ae,Sp],[te,bt]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[oe,[ae,Sp],[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,o7],[te,bt]],[/(nokia) (t[12][01])/i],[ae,oe,[te,bt]],[/(?: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,bt]],[/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,Tu],[te,We]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[oe,"Xperia Tablet"],[ae,Tu],[te,bt]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[oe,[ae,a7],[te,We]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[oe,[ae,Ep],[te,bt]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[oe,/(.+)/g,"Fire Phone $1"],[ae,Ep],[te,We]],[/(playbook);[-\w\),; ]+(rim)/i],[oe,ae,[te,bt]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[oe,[ae,n7],[te,We]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[oe,[ae,t7],[te,bt]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[oe,[ae,t7],[te,We]],[/(nexus 9)/i],[oe,[ae,"HTC"],[te,bt]],[/(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,bt]],[/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,bt]],[/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,bt]],[/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,bt]],[/(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,bt]],[/(surface duo)/i],[oe,[ae,Vg],[te,bt]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[oe,[ae,"Fairphone"],[te,We]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[oe,[ae,Wg],[te,bt]],[/(sprint) (\w+)/i],[ae,oe,[te,We]],[/(kin\.[onetw]{3})/i],[[oe,/\./g," "],[ae,Vg],[te,We]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[oe,[ae,Kg],[te,bt]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[oe,[ae,Kg],[te,We]],[/smart-tv.+(samsung)/i],[ae,[te,on]],[/hbbtv.+maple;(\d+)/i],[[oe,/^/,"SmartTV"],[ae,Ru],[te,on]],[/tcast.+(lg)e?. ([-\w]+)/i],[ae,oe,[te,on]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[ae,Sp],[te,on]],[/(apple) ?tv/i],[ae,[oe,cl+" 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,Yg],[te,on]],[/droid.+aft(\w+)( bui|\))/i],[oe,[ae,Ep],[te,on]],[/(shield \w+ tv)/i],[oe,[ae,Wg],[te,on]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[oe,[ae,s7],[te,on]],[/(bravia[\w ]+)( bui|\))/i],[oe,[ae,Tu],[te,on]],[/(mi(tv|box)-?\w+) bui/i],[oe,[ae,Gg],[te,on]],[/Hbbtv.*(technisat) (.*);/i],[ae,oe,[te,on]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[ae,Xd],[oe,Xd],[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,Vu]],[/droid.+; (shield)( bui|\))/i],[oe,[ae,Wg],[te,Vu]],[/(playstation \w+)/i],[oe,[ae,Tu],[te,Vu]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[oe,[ae,Vg],[te,Vu]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[oe,[ae,Ru],[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,qg],[te,Fo]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[oe,[ae,cl],[te,Fo]],[/(opwwe\d{3})/i],[oe,[ae,a7],[te,Fo]],[/(moto 360)/i],[oe,[ae,zg],[te,Fo]],[/(smartwatch 3)/i],[oe,[ae,Tu],[te,Fo]],[/(g watch r)/i],[oe,[ae,Sp],[te,Fo]],[/droid.+; (wt63?0{2,3})\)/i],[oe,[ae,Kg],[te,Fo]],[/droid.+; (glass) \d/i],[oe,[ae,is],[te,Hg]],[/(pico) (4|neo3(?: link|pro)?)/i],[ae,oe,[te,Hg]],[/(quest( \d| pro)?s?).+vr/i],[oe,[ae,Yg],[te,Hg]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[ae,[te,zu]],[/(aeobc)\b/i],[oe,[ae,Ep],[te,zu]],[/(homepod).+mac os/i],[oe,[ae,cl],[te,zu]],[/windows iot/i],[[te,zu]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[oe,[te,va,{mobile:"Mobile",xr:"VR","*":bt}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[te,bt]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[te,We]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[oe,[ae,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[le,[se,PG+"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,d7]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[le,va,d7],[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,n7]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[le,[se,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[le,[se,ku+" 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]]},Cp=function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return Ei.call(e.init,[[lr,[se,le,Zd,te]],[yi,[cr]],[zo,[te,oe,ae]],[Co,[se,le]],[Kr,[se,le]]]),Ei.call(e.isIgnore,[[lr,[le,Zd]],[Co,[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]],[Co,[se,le]],[Kr,[se,le]]]),e}(),jG=function(e,t){var n=Cp.init[t],r=Cp.isIgnore[t]||0,o=Cp.isIgnoreRgx[t]||0,i=Cp.toString[t]||0;function a(){Ei.call(this,n)}return a.prototype.getItem=function(){return e},a.prototype.withClientHints=function(){return ya?ya.getHighEntropyValues(CR).then(function(s){return e.setCH(new wR(s,!1)).parseCH().get()}):e.parseCH().get()},a.prototype.withFeatureCheck=function(){return e.detectFeature().get()},t!=Jl&&(a.prototype.is=function(s){var l=!1;for(var c in this)if(this.hasOwnProperty(c)&&!hv(r,c)&&bi(o?_c(o,this[c]):this[c])==bi(o?_c(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=yc;for(var l in i)typeof this[i[l]]!==wa&&(s+=(s?" ":yc)+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,CR),t)Ei.call(this,[[T5,Zg(e[Za])],[k5,Zg(e[RG])],[We,/\?1/.test(e[LG])],[oe,Ou(e[OG])],[Ql,Ou(e[SR])],[I5,Ou(e[AG])],[cr,Ou(e[TG])],[fs,Zg(e[IG])],[s0,Ou(e[kG])]]);else for(var n in e)this.hasOwnProperty(n)&&typeof e[n]!==wa&&(this[n]=e[n])}function h7(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==Mh&&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,bt);break;case Kr:!this.get(se)&&ya&&ya[Ql]&&this.set(se,ya[Ql]);break;case Jl: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(Co,i(Co)).set(Kr,i(Kr))}return this},this.parseUA=function(){return this.itemType!=Jl&&Jg.call(this.data,this.ua,this.rgxMap),this.itemType==lr&&this.set(Zd,Xg(this.get(le))),this},this.parseCH=function(){var o=this.uaCH,i=this.rgxMap;switch(this.itemType){case lr:case Co: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!=c7)&&(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(Zd,Xg(u)),s=c),this.itemType==Co&&c==c7&&this.set(le,u)}break;case yi:var d=o[cr];d&&(d&&o[s0]=="64"&&(d+="64"),Jg.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={};Jg.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++],f7);else h=va(o[fs],f7);this.set(te,h)}break;case Kr:var v=o[Ql];if(v){var b=o[I5];v==pv&&(b=parseInt(Xg(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 Jl: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(Co,y(Co)).set(Kr,y(Kr))}return this},Ei.call(this,[["itemType",e],["ua",t],["uaCH",r],["rgxMap",n],["data",jG(this,e)]]),this}function ri(e,t,n){if(typeof e===vc?(Rh(e,!0)?(typeof t===vc&&(n=t),t=e):(n=e,t=void 0),e=void 0):typeof e===fv&&!Rh(t,!0)&&(n=t,t=void 0),n&&typeof n.append===Mh){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[Q9]?n[Q9]:ur&&ur.userAgent?ur.userAgent:yc,i=new wR(n,!0),a=t?$G(p7,t):p7,s=function(l){return l==Jl?function(){return new h7(l,o,a,i).set("ua",o).set(lr,this.getBrowser()).set(yi,this.getCPU()).set(zo,this.getDevice()).set(Co,this.getEngine()).set(Kr,this.getOS()).get()}:function(){return new h7(l,o,a[l],i).parseUA().get()}};return Ei.call(this,[["getBrowser",s(lr)],["getCPU",s(yi)],["getDevice",s(zo)],["getEngine",s(Co)],["getOS",s(Kr)],["getResult",s(Jl)],["getUA",function(){return o}],["setUA",function(l){return Kc(l)&&(o=l.length>dv?Xd(l,dv):l),this}]]).setUA(o),this}ri.VERSION=MG;ri.BROWSER=l0([se,le,Zd,te]);ri.CPU=l0([cr]);ri.DEVICE=l0([oe,ae,te,Vu,We,on,bt,Fo,zu]);ri.ENGINE=ri.OS=l0([se,le]);const DG=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"}),BG=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"}),Ts="name",bc="type",c0="version",m7="crawler",FG="cli",g7="fetcher",UG="library",HG=Object.freeze({browser:[[/(wget|curl|lynx|elinks|httpie)[\/ ]\(?([\w\.-]+)/i],[Ts,c0,[bc,FG]]]}),VG=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],[Ts,c0,[bc,m7]],[/((?: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],[Ts,[bc,m7]]]}),y7=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],[Ts,c0,[bc,g7]],[/((?:better uptime |telegram|vercel)bot|cohere-ai|feedfetcher-google|google(?:imageproxy|-read-aloud|-pagerenderer|producer)|snap url preview|yandex(?:sitelinks|userproxy))/i],[Ts,[bc,g7]]],os:[[/whatsapp\/[\d\.]+ (a|i)/i],[[Ts,e=>e=="A"?"Android":"iOS"]]]}),zG=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")],[Ts,c0,[bc,UG]]]});Object.freeze({browser:[...HG.browser,...VG.browser,...y7.browser,...zG.browser],os:[...y7.os]});const WG=(e,t,n)=>typeof e=="string"?ri(e,t,n):e,qG=e=>{const t=WG(e);if(t.os.is(BG.MACOS)){if(t.cpu.is(DG.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 Sf(ze),ze}function Sf(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 GG="Sentry Logger ",Th=["debug","info","warn","error","log","assert","trace"],kh={};function Gs(e){if(!("console"in ze))return e();const t=ze.console,n={},r=Object.keys(kh);r.forEach(o=>{const i=kh[o];n[o]=t[o],t[o]=i});try{return e()}finally{r.forEach(o=>{t[o]=n[o]})}}function KG(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Xa?Th.forEach(n=>{t[n]=(...r)=>{e&&Gs(()=>{ze.console[n](`${GG}[${n}]:`,...r)})}}):Th.forEach(n=>{t[n]=()=>{}}),t}const ne=u0("logger",KG),xR=50,oi="?",v7=/\(error: (.*)\)/,_7=/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=v7.test(l)?l.replace(v7,"$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 ZG(i.slice(o))}}function YG(e){return Array.isArray(e)?MR(...e):e}function ZG(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(wp(t).function||"")&&t.pop(),t.reverse(),_7.test(wp(t).function||"")&&(t.pop(),_7.test(wp(t).function||"")&&t.pop()),t.slice(0,xR).map(n=>({...n,filename:n.filename||wp(t).filename,function:n.function||oi}))}function wp(e){return e[e.length-1]||{}}const Qg="<anonymous>";function ji(e){try{return!e||typeof e!="function"?Qg:e.name||Qg}catch{return Qg}}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 b1={},b7={};function Ja(e,t){b1[e]=b1[e]||[],b1[e].push(t)}function Qa(e,t){if(!b7[e]){b7[e]=!0;try{t()}catch(n){Xa&&ne.error(`Error while instrumenting ${e}`,n)}}}function no(e,t){const n=e&&b1[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 e2=null;function RR(e){const t="error";Ja(t,e),Qa(t,XG)}function XG(){e2=ze.onerror,ze.onerror=function(e,t,n,r,o){return no("error",{column:r,error:o,line:n,msg:e,url:t}),e2?e2.apply(this,arguments):!1},ze.onerror.__SENTRY_INSTRUMENTED__=!0}let t2=null;function TR(e){const t="unhandledrejection";Ja(t,e),Qa(t,JG)}function JG(){t2=ze.onunhandledrejection,ze.onunhandledrejection=function(e){return no("unhandledrejection",e),t2?t2.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 Yc(e,t){return kR.call(e)===`[object ${t}]`}function IR(e){return Yc(e,"ErrorEvent")}function E7(e){return Yc(e,"DOMError")}function QG(e){return Yc(e,"DOMException")}function Io(e){return Yc(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 js(e){return Yc(e,"Object")}function d0(e){return typeof Event<"u"&&Di(e,Event)}function eK(e){return typeof Element<"u"&&Di(e,Element)}function tK(e){return Yc(e,"RegExp")}function Cf(e){return!!(e!=null&&e.then&&typeof e.then=="function")}function nK(e){return js(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,rK=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||rK;for(;n&&i++<r&&(c=oK(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 oK(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 Ks(){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 n2(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 Ih(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 iK(e,t,n=!1){return Io(e)?tK(t)?t.test(e):Io(t)?n?e===t:e.includes(t):!1:!1}function ei(e,t=[],n=!1){return t.some(r=>iK(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:S7(e.target),currentTarget:S7(e.currentTarget),...C7(e)};return typeof CustomEvent<"u"&&Di(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function S7(e){try{return eK(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 aK(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(sK(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 sK(e){if(!js(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const NR=1e3;function wf(){return Date.now()/NR}function lK(){const{performance:e}=ze;if(!(e!=null&&e.now))return wf;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/NR}const vn=lK();let r2;function cK(){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 r2||(r2=cK()),r2[0]}function uK(){const e=ze;return e.crypto||e.msCrypto}function nr(e=uK()){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 dK(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=>n2(a,0));const i=Math.min(r-1,o);t.context_line=n2(e[i],t.colno||0),t.post_context=e.slice(Math.min(o+1,r),o+1+n).map(a=>n2(a,0))}function w7(e){if(fK(e))return!0;try{br(e,"__sentry_captured__",!0)}catch{}return!1}function fK(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 Lh(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(Cf(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 pK(e){const t=vn(),n={sid:nr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>mK(n)};return e&&Ec(n,e),n}function Ec(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 hK(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Ec(e,n)}function mK(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 xf(){return nr().substring(16)}function Mf(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]=Mf(r[o],t[o],n-1));return r}const vv="_sentrySpan";function Ds(e,t){t?br(e,vv,t):delete e[vv]}function Oh(e){return e[vv]}const gK=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,Ds(t,Oh(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&&Ec(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():js(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,Ds(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:gK;if(r<=0)return this;const o={timestamp:wf(),...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:Oh(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Mf(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 yK(){return u0("defaultCurrentScope",()=>new Oo)}function vK(){return u0("defaultIsolationScope",()=>new Oo)}class _K{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 Cf(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 Sc(){const e=Qi(),t=Sf(e);return t.stack=t.stack||new _K(yK(),vK())}function bK(e){return Sc().withScope(e)}function EK(e,t){const n=Sc();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function x7(e){return Sc().withScope(()=>e(Sc().getIsolationScope()))}function SK(){return{withIsolationScope:x7,withScope:bK,withSetScope:EK,withSetIsolationScope:(e,t)=>x7(t),getCurrentScope:()=>Sc().getScope(),getIsolationScope:()=>Sc().getIsolationScope()}}function es(e){const t=Sf(e);return t.acs?t.acs:SK()}function rt(){const e=Qi();return es(e).getCurrentScope()}function Sn(){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 CK(...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 wK(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:o}=t;return en({trace_id:n,span_id:o||xf(),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",Rf="sentry.exclusive_time",xK="http.request.method",MK="url.full",RK=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 TK(e,t,n){e&&(br(e,FR,n),br(e,BR,t))}function Ah(e){return{scope:e[BR],isolationScope:e[FR]}}function Bs(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-",kK=/^sentry-/,IK=8192;function UR(e){const t=LK(e);if(!t)return;const n=Object.entries(t).reduce((r,[o,i])=>{if(o.match(kK)){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 OK(t)}function LK(e){if(!(!e||!Io(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=M7(n);return Object.entries(r).forEach(([o,i])=>{t[o]=i}),t},{}):M7(e)}function M7(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function OK(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>IK?(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 AK(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=AK(e),r=UR(t);if(!(n!=null&&n.traceId))return{traceId:Ui(),sampleRand:Math.random()};const o=PK(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=xf(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function PK(e,t){const n=Bs(t==null?void 0:t.sample_rand);if(n!==void 0)return n;const r=Bs(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 R7=!1;function NK(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 $K(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),o=r?t:Je(e).parent_span_id,i=Ah(e).scope,a=r?(i==null?void 0:i.getPropagationContext().propagationSpanId)||xf():t;return en({parent_span_id:o,span_id:a,trace_id:n})}function GR(e){const{traceId:t,spanId:n}=e.spanContext(),r=Ys(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 ks(e){return typeof e=="number"?T7(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?T7(e.getTime()):vn()}function T7(e){return e>9999999999?e/1e3:e}function Je(e){if(DK(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(jK(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:ks(o),timestamp:ks(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 jK(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function DK(e){return typeof e.getSpanJSON=="function"}function Ys(e){const{traceFlags:t}=e.spanContext();return t===F5}function YR(e){if(!(!e||e.code===RK))return e.code===jR?"ok":e.message||"unknown_error"}const Is="_sentryChildSpans",Ev="_sentryRootSpan";function ZR(e,t){const n=e[Ev]||e;br(t,Ev,n),e[Is]?e[Is].add(t):br(e,Is,new Set([t]))}function BK(e,t){e[Is]&&e[Is].delete(t)}function ud(e){const t=new Set;function n(r){if(!t.has(r)&&Ys(r)){t.add(r);const o=r[Is]?Array.from(r[Is]):[];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():Oh(rt())}function Sv(){R7||(Gs(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),R7=!0)}function FK(e,t){e.updateName(t),e.setAttributes({[Jr]:"custom",[bv]:t})}let k7=!1;function XR(){k7||(k7=!0,RR(Cv),TR(Cv))}function Cv(){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})}}Cv.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 E1(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(Ys(n)),d.sample_rand=(i==null?void 0:i.get("sentry.sample_rand"))??((g=Ah(n).scope)==null?void 0:g.getPropagationContext().sampleRand.toString())),s(d),t.emit("createDsc",d,n),d}function UK(e){const t=ii(e);return HR(t)}class Vi{constructor(t={}){this._traceId=t.traceId||Ui(),this._spanId=t.spanId||xf()}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 HK(r,t,n)}function HK(e,t,n){return Cf(e)?e.then(r=>(n(),r),r=>{throw t(r),n(),r}):(n(),e)}function VK(e){if(!Oe)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=Je(e),{spanId:o}=e.spanContext(),i=Ys(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 zK(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 WK(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=Bs(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 qK=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function GK(e){return e==="http"||e==="https"}function Zc(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=qK.exec(e);if(!t){Gs(()=>{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 KK(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+$/)?GK(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||!KK(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 JK(r)>n?iT(e,t-1,n):r}function wv(e,t,n=1/0,r=1/0,o=QK()){const[i,a]=o;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const s=YK(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 YK(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(nK(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=ZK(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function ZK(e){const t=Object.getPrototypeOf(e);return t!=null&&t.constructor?t.constructor.name:"null prototype"}function XK(e){return~-encodeURI(e).split(/%..|./).length}function JK(e){return XK(JSON.stringify(e))}function QK(){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 eY(e,t){const[n,r]=e;return[n,[...r,t]]}function Fs(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 I7(e,t){return Fs(e,(n,r)=>t.includes(r))}function Ph(e){const t=Sf(ze);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function tY(e){const t=Sf(ze);return t.decodePolyfill?t.decodePolyfill(e):new TextDecoder().decode(e)}function Nh(e){const[t,n]=e;let r=JSON.stringify(t);function o(i){typeof r=="string"?r=typeof i=="string"?r+i:[Ph(r),i]:r.push(typeof i=="string"?Ph(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:nY(r)}function nY(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 rY(e){let t=typeof e=="string"?Ph(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(tY(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 oY(e){return[{type:"span"},e]}function iY(e){const t=typeof e.data=="string"?Ph(e.data):e.data;return[en({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const aY={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 L7(e){return aY[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:Zc(r)},...o&&{trace:en({...o})}}}function sY(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 lY(e,t,n,r){const o=U5(n),i={sent_at:new Date().toISOString(),...o&&{sdk:o},...!!r&&t&&{dsn:Zc(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return ts(i,[a])}function cY(e,t,n,r){const o=U5(n),i=e.type&&e.type!=="replay_event"?e.type:"event";sY(e,n==null?void 0:n.sdk);const a=aT(e,o,r,t);return delete e.sdkProcessingMetadata,ts(a,[[{type:i},e]])}function uY(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:Zc(o)}},s=t==null?void 0:t.getOptions().beforeSendSpan,l=s?u=>{const d=Je(u),p=s(d);return p||(Sv(),d)}:Je,c=[];for(const u of e){const d=l(u);d&&c.push(oY(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 O7(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 A7=1e3;class H5{constructor(t={}){this._traceId=t.traceId||Ui(),this._spanId=t.spanId||xf(),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=ks(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=ks(t),zK(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[Rf],measurements:O7(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=P7(n)?n:r||vn(),i=P7(n)?{}:n||{},a={name:t,time:ks(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?fY(uY([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&&(Ah(this).scope||rt()).captureEvent(r)}_convertSpanToTransaction(){if(!N7(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}=Ah(this);if(this._sampled!==!0)return;const o=ud(this).filter(c=>c!==this&&!dY(c)).map(c=>Je(c)).filter(N7),i=this._attributes[Jr];delete this._attributes[bv],o.forEach(c=>{delete c.data[bv]});const a={contexts:{trace:NK(this)},spans:o.length>A7?o.sort((c,u)=>c.start_timestamp-u.start_timestamp).slice(0,A7):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=O7(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 P7(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function N7(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function dY(e){return e instanceof H5&&e.isStandaloneSpan()}function fY(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 pY(e,t){const n=kf();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 Ds(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 hY(e,t){const n=kf();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 Ds(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 Xc(e){const t=kf();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=>Tf(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 mY=(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 Tf(e,t){const n=kf();return n.withActiveSpan?n.withActiveSpan(e,t):Ao(r=>(Ds(r,e||void 0),t(r)))}function gY(e){const t=kf();return t.suppressTracing?t.suppressTracing(e):Ao(n=>(n.setSDKProcessingMetadata({[V5]:!0}),e()))}function yY(e){return Ao(t=>(t.setPropagationContext({traceId:Ui(),sampleRand:Math.random()}),Oe&&ne.info(`Starting a new trace with id ${t.getPropagationContext().traceId}`),Tf(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)};E1(a,s)}return a}const o=Sn();let i;if(e&&!n)i=vY(e,r,t),ZR(e,i);else if(e){const a=ii(e),{traceId:s,spanId:l}=e.spanContext(),c=Ys(e);i=$7({traceId:s,parentSpanId:l,...t},r,c),E1(i,a)}else{const{traceId:a,dsc:s,parentSpanId:l,sampled:c}={...o.getPropagationContext(),...r.getPropagationContext()};i=$7({traceId:a,parentSpanId:l,...t},r,c),s&&E1(i,s)}return VK(i),TK(i,r,o),i}function W5(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=ks(e.startTime),delete r.startTime,r}return n}function kf(){const e=Qi();return es(e)}function $7(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]:WK(o,{name:i,parentSampled:n,attributes:a,parentSampleRate:Bs((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 vY(e,t,n){const{spanId:r,traceId:o}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[V5]?!1:Ys(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=Oh(e);if(!t)return;const n=xe();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?_n(t):t}function lT(e){return e!==void 0?t=>Tf(e,t):t=>t()}const S1={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},_Y="heartbeatFailed",bY="idleTimeout",EY="finalTimeout",SY="externalFinish";function cT(e,t={}){const n=new Map;let r=!1,o,i=SY,a=!t.disableAutoFinish;const s=[],{idleTimeout:l=S1.idleTimeout,finalTimeout:c=S1.finalTimeout,childSpanTimeout:u=S1.childSpanTimeout,beforeSpanEnd:d}=t,p=xe();if(!p||!Wa()){const _=new Vi,w={sample_rate:"0",sampled:"false",...ii(_)};return E1(_,w),_}const h=rt(),g=Nn(),v=CY(e);v.end=new Proxy(v.end,{apply(_,w,R){if(d&&d(v),w instanceof Vi)return;const[T,...I]=R,D=T||vn(),F=ks(D),q=ud(v).filter(B=>B!==v);if(!q.length)return S(F),Reflect.apply(_,w,[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(_,w,[re,...I])}});function b(){o&&(clearTimeout(o),o=void 0)}function m(_){b(),o=setTimeout(()=>{!r&&n.size===0&&a&&(i=bY,v.end(_))},l)}function y(_){o=setTimeout(()=>{!r&&a&&(i=_Y,v.end(_))},u)}function E(_){b(),n.set(_,!0);const w=vn();y(w+u/1e3)}function C(_){if(n.has(_)&&n.delete(_),n.size===0){const w=vn();m(w+l/1e3)}}function S(_){r=!0,n.clear(),s.forEach(F=>F()),Ds(h,g);const w=Je(v),{start_timestamp:R}=w;if(!R)return;w.data[_v]||v.setAttribute(_v,i),ne.log(`[Tracing] Idle span "${w.op}" finished`);const I=ud(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)&&(BK(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;ud(v).includes(_)&&E(_.spanContext().spanId)})),s.push(p.on("spanEnd",_=>{r||C(_.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=EY,v.end())},c),v}function CY(e){const t=Xc(e);return Ds(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`),Cf(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 xp,j7,Mp;function uT(e){const t=ze._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return Mp&&n.length===j7||(j7=n.length,Mp=n.reduce((r,o)=>{xp||(xp={});const i=xp[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,xp[o]=[c,u];break}}}return r},{})),Mp}function wY(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 xY(e,t){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:i}=t;MY(e,t),r&&kY(e,r),IY(e,n),RY(e,o),TY(e,i)}function D7(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;Rp(e,"extra",n),Rp(e,"tags",r),Rp(e,"user",o),Rp(e,"contexts",i),e.sdkProcessingMetadata=Mf(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 Rp(e,t,n){e[t]=Mf(e[t],n,1)}function MY(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 RY(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function TY(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function kY(e,t){e.contexts={trace:$K(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 IY(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||wf()},c=n.integrations||e.integrations.map(b=>b.name);LY(l,e),PY(l,c),o&&o.emit("applyFrameMetadata",t),t.type===void 0&&OY(l,e.stackParser);const u=$Y(r,n.captureContext);n.mechanism&&Va(l,n.mechanism);const d=o?o.getEventProcessors():[],p=N5().getScopeData();if(i){const b=i.getScopeData();D7(p,b)}if(u){const b=u.getScopeData();D7(p,b)}const h=[...n.attachments||[],...p.attachments];h.length&&(n.attachments=h),xY(l,p);const g=[...d,...p.eventProcessors];return xv(g,l,n).then(b=>(b&&AY(b),typeof a=="number"&&a>0?NY(b,a,s):b))}function LY(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 OY(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 AY(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 PY(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function NY(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 $Y(e,t){if(!t)return e;const n=e?e.clone():new Oo;return n.update(t),n}function jY(e){if(e)return DY(e)?{captureContext:e}:FY(e)?{captureContext:e}:e}function DY(e){return e instanceof Oo||typeof e=="function"}const BY=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function FY(e){return Object.keys(e).some(t=>BY.includes(t))}function m0(e,t){return rt().captureException(e,jY(t))}function $h(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 If(e,t){return rt().captureEvent(e,t)}function fT(e,t){Sn().setContext(e,t)}function UY(e){Sn().setExtras(e)}function HY(e,t){Sn().setExtra(e,t)}function VY(e){Sn().setTags(e)}function zY(e,t){Sn().setTag(e,t)}function WY(e){Sn().setUser(e)}function pT(){return Sn().lastEventId()}async function qY(e){const t=xe();return t?t.flush(e):(Oe&&ne.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function GY(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 KY(){return!!xe()}function YY(){const e=xe();return(e==null?void 0:e.getOptions().enabled)!==!1&&!!(e!=null&&e.getTransport())}function hT(e){Sn().addEventProcessor(e)}function Mv(e){const t=Sn(),n=rt(),{userAgent:r}=ze.navigator||{},o=pK({user:n.getUser()||t.getUser(),...r&&{userAgent:r},...e}),i=t.getSession();return(i==null?void 0:i.status)==="ok"&&Ec(i,{status:"exited"}),G5(),t.setSession(o),o}function G5(){const e=Sn(),n=rt().getSession()||e.getSession();n&&hK(n),mT(),e.setSession()}function mT(){const e=Sn(),t=xe(),n=e.getSession();n&&t&&t.captureSession(n)}function Rv(e=!1){if(e){G5();return}mT()}const ZY="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 XY(e){return`${gT(e)}${e.projectId}/envelope/`}function JY(e,t){const n={sentry_version:ZY};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||`${XY(e)}?${JY(e,n)}`}function QY(e,t){const n=oT(e);if(!n)return"";const r=`${gT(n)}embed/error-page/`;let o=`dsn=${Zc(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 B7=[];function eZ(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 tZ(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 eZ(r)}function nZ(e,t){const n={};return t.forEach(r=>{r&&vT(e,r,n)}),n}function F7(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,B7.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),B7.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 rZ(e,t,n){const r=[{type:"client_report"},{timestamp:wf(),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 oZ(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[Rf],measurements:e.measurements,is_segment:!0})}function iZ(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&&{[Rf]:e.exclusive_time}}}},measurements:e.measurements};return en(t)}const U7="Not capturing exception because it's already been captured.",H7="Discarded session because of missing or non-string release";class aZ{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(w7(t))return Oe&&ne.log(U7),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&&w7(n.originalException))return Oe&&ne.log(U7),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),Ec(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||F7(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=cY(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])r=eY(r,iY(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(H7);return}i.release=i.release||n,i.environment=i.environment||r,t.attrs=i}else{if(!t.release&&!n){Oe&&ne.warn(H7);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const o=lY(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=nZ(this,t),F7(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)&&(Ec(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:wK(r),...s.contexts};const l=eT(this,r);return s.sdkProcessingMetadata={dynamicSamplingContext:l,...s.sdkProcessingMetadata},s})}_captureEvent(t,n={},r=rt(),o=Sn()){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:Bs(a);if(l&&typeof d=="number"&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error"),Lh(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=lZ(this,i,h,n);return sZ(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=rZ(t,this._options.tunnel&&Zc(this._dsn));this.sendEnvelope(n)}}function sZ(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Cf(e))return e.then(r=>{if(!js(r)&&r!==null)throw new wo(n);return r},r=>{throw new wo(`${t} rejected with ${r}`)});if(!js(e)&&e!==null)throw new wo(n);return e}function lZ(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(oZ(s));if(l?s=Mf(n,iZ(l)):Sv(),s.spans){const c=[];for(const u of s.spans){const d=a(u);d?c.push(d):(Sv(),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 cZ(e,t){t.debug===!0&&(Oe?ne.enable():Gs(()=>{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 uZ(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 Lh(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 dZ=60*1e3;function ST(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?dZ:r-t}function fZ(e,t){return e[t]||e.all||0}function CT(e,t,n=Date.now()){return fZ(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+ST(a,r):t===429&&(o.all=r+60*1e3);return o}const pZ=64;function xT(e,t,n=uZ(e.bufferSize||pZ)){let r={};const o=a=>n.drain(a);function i(a){const s=[];if(Fs(a,(d,p)=>{const h=L7(p);CT(r,h)?e.recordDroppedEvent("ratelimit_backoff",h):s.push(d)}),s.length===0)return Fi({});const l=ts(a[0],s),c=d=>{Fs(l,(p,h)=>{e.recordDroppedEvent(d,L7(h))})},u=()=>t({body:Nh(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 o2=100,i2=5e3,hZ=36e5;function mZ(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=i2,a;function s(d,p,h){return I7(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,hZ))}async function u(d,p=!1){var h,g;if(!p&&I7(d,["replay_event","replay_recording"]))return await o.push(d),l(o2),{};try{const v=await r.send(d);let b=o2;if(v){if((h=v.headers)!=null&&h["retry-after"])b=ST(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=i2,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=i2,l(o2)),r.flush(d))}}}function MT(e,t){let n;return Fs(e,(r,o)=>(t.includes(o)&&(n=Array.isArray(r)?r[1]:void 0),!!n)),n}function gZ(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 yZ(e,t){return ts(t?{...e[0],dsn:t}:e[0],e[1])}function vZ(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?gZ(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(yZ(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 bZ(e,n)||_Z(e,r)}function _Z(e,t){return t?V7(e)===V7(t):!1}function bZ(e,t){return t?e.includes(t.host):!1}function V7(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function EZ(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 CZ(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 wZ(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(!YY()||!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):xZ(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 xZ(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return WR(t,r,n)}const MZ=100;function zi(e,t){const n=xe(),r=Sn();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:i=MZ}=n.getOptions();if(i<=0)return;const s={timestamp:wf(),...e},l=o?Gs(()=>o(s,t)):s;l!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,i))}let z7;const RZ="FunctionToString",W7=new WeakMap,TZ=()=>({name:RZ,setupOnce(){z7=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=P5(this),n=W7.has(xe())&&t!==void 0?t:this;return z7.apply(n,e)}}catch{}},setup(e){W7.set(e,!0)}}),kT=TZ,kZ=[/^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$/],IZ="EventFilters",LZ=(e={})=>({name:IZ,processEvent(t,n,r){const o=r.getOptions(),i=OZ(e,o);return AZ(t,i)?null:t}}),IT=LZ,LT=(e={})=>({...IT(e),name:"InboundFilters"});function OZ(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:kZ],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function AZ(e,t){return t.ignoreInternal&&DZ(e)?(Oe&&ne.warn(`Event dropped due to being internal Sentry Error.
|
|
265
|
+
Event: ${da(e)}`),!0):PZ(e,t.ignoreErrors)?(Oe&&ne.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
266
|
+
Event: ${da(e)}`),!0):FZ(e)?(Oe&&ne.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
267
|
+
Event: ${da(e)}`),!0):NZ(e,t.ignoreTransactions)?(Oe&&ne.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
268
|
+
Event: ${da(e)}`),!0):$Z(e,t.denyUrls)?(Oe&&ne.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
269
|
+
Event: ${da(e)}.
|
|
270
|
+
Url: ${jh(e)}`),!0):jZ(e,t.allowUrls)?!1:(Oe&&ne.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
271
|
+
Event: ${da(e)}.
|
|
272
|
+
Url: ${jh(e)}`),!0)}function PZ(e,t){return e.type||!t||!t.length?!1:_T(e).some(n=>ei(n,t))}function NZ(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?ei(n,t):!1}function $Z(e,t){if(!(t!=null&&t.length))return!1;const n=jh(e);return n?ei(n,t):!1}function jZ(e,t){if(!(t!=null&&t.length))return!0;const n=jh(e);return n?ei(n,t):!0}function DZ(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function BZ(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 jh(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?BZ(o):null}catch{return Oe&&ne.error(`Cannot extract url for event ${da(e)}`),null}}function FZ(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 UZ(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=HZ(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)){q7(a,s);const c=e(t,r[o]),u=l.length;G7(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)){q7(a,s);const d=e(t,c),p=l.length;G7(d,`errors[${u}]`,p,s),l=Iv(e,t,n,c,o,[d,...l],d,p)}}),l}function q7(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 G7(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 HZ(e,t){return e.map(n=>(n.value&&(n.value=$a(n.value,t)),n))}const OT=new Map,K7=new Set;function VZ(e){if(ze._sentryModuleMetadata)for(const t of Object.keys(ze._sentryModuleMetadata)){const n=ze._sentryModuleMetadata[t];if(K7.has(t))continue;K7.add(t);const r=e(t);for(const o of r.reverse())if(o.filename){OT.set(o.filename,n);break}}}function zZ(e,t){return VZ(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=zZ(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 WZ=()=>({name:"ModuleMetadata",setup(e){e.on("beforeEnvelope",t=>{Fs(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,qZ)}function qZ(){"console"in ze&&Th.forEach(function(e){e in ze.console&&Qn(ze.console,e,function(t){return kh[e]=t,function(...n){no("console",{args:n,level:e});const o=kh[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 GZ="CaptureConsole",KZ=(e={})=>{const t=e.levels||Th,n=e.handled??!0;return{name:GZ,setup(r){"console"in ze&&NT(({args:o,level:i})=>{xe()!==r||!t.includes(i)||ZZ(o,i,n)})}}},YZ=KZ;function ZZ(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: ${Ih(e.slice(1)," ")||"console.assert"}`;o.setExtra("arguments",e.slice(1)),$h(s,r)}return}const i=e.find(s=>s instanceof Error);if(i){m0(i,r);return}const a=Ih(e," ");$h(a,r)})}const XZ="Dedupe",JZ=()=>{let e;return{name:XZ,processEvent(t){if(t.type)return t;try{if(QZ(t,e))return Oe&&ne.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},$T=JZ;function QZ(e,t){return t?!!(eX(e,t)||tX(e,t)):!1}function eX(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 tX(e,t){const n=Y7(t),r=Y7(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 Y7(e){var t;return((t=e.exception)==null?void 0:t.values)&&e.exception.values[0]}const nX="ExtraErrorData",rX=(e={})=>{const{depth:t=3,captureErrorCause:n=!0}=e;return{name:nX,processEvent(r,o,i){const{maxValueLength:a=250}=i.getOptions();return iX(r,o,t,n,a)}}},oX=rX;function iX(e,t={},n,r,o){if(!t.originalException||!Na(t.originalException))return e;const i=t.originalException.name||t.originalException.constructor.name,a=aX(t.originalException,r,o);if(a){const s={...e.contexts},l=zr(a,n);return js(l)&&(br(l,"__sentry_skip_normalization__",!0),s[i]=l),{...e,contexts:s}}return e}function aX(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 sX(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 lX=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function cX(e){const t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=lX.exec(t);return n?n.slice(1):[]}function Z7(...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=sX(t.split("/").filter(r=>!!r),!n).join("/"),(n?"/":"")+t||"."}function X7(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 uX(e,t){e=Z7(e).slice(1),t=Z7(t).slice(1);const n=X7(e.split("/")),r=X7(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 dX(e,t){return cX(e)[2]||""}const fX="RewriteFrames",pX=(e={})=>{const t=e.root,n=e.prefix||"app:///",r="window"in ze&&!!ze.window,o=e.iteratee||hX({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:fX,processEvent(s){let l=s;return s.exception&&Array.isArray(s.exception.values)&&(l=i(l)),l}}};function hX({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?uX(t,a):dX(a);r.filename=`${n}${s}`}return r}}const mX=10,gX="ZodErrors";function yX(e){return Na(e)&&e.name==="ZodError"&&Array.isArray(e.issues)}function vX(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 _X(e){return e.map(t=>typeof t=="number"?"<array>":t).join(".")}function bX(e){const t=new Set;for(const r of e.issues){const o=_X(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 EX(e,t=!1,n,r){var o;if(!((o=n.exception)!=null&&o.values)||!r.originalException||!yX(r.originalException)||r.originalException.issues.length===0)return n;try{const a=(t?r.originalException.issues:r.originalException.issues.slice(0,e)).map(vX);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:bX(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??mX;return{name:gX,processEvent(n,r){return EX(t,e.saveZodIssuesAsAttachment,n,r)}}},CX=SX,wX=e=>({name:"ThirdPartyErrorsFilter",setup(t){t.on("beforeEnvelope",n=>{Fs(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=xX(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 xX(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(J7)).map(r=>r.slice(J7.length)):[])}const J7="_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 MX(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&&(kX(g,e),delete r[h]);return}const l=TX(a),c=Mi(l||a),u=!!Nn(),d=s&&u?Xc({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=RX(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 RX(e,t,n){const r=TT({span:n}),o=r["sentry-trace"],i=r.baggage;if(!o)return;const a=t.headers||(IX(e)?e.headers:void 0);if(a)if(LX(a)){const s=new Headers(a);if(s.set("sentry-trace",o),i){const l=s.get("baggage");if(l){const c=Tp(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,Tp(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"?Tp(c):c).filter(c=>c===""):s&&l.push(Tp(s)),i&&l.push(i),{...a,"sentry-trace":o,baggage:l.length>0?l.join(","):void 0}}else return{...r}}function TX(e){try{return new URL(e).href}catch{return}}function kX(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 Tp(e){return e.split(",").filter(t=>!t.split("=")[0].startsWith(B5)).join(",")}function IX(e){return typeof Request<"u"&&Di(e,Request)}function LX(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 Cc=ze;function OX(){return"history"in Cc&&!!Cc.history}function UT(){if(!("fetch"in Cc))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(Cc.fetch))return!0;let e=!1;const t=Cc.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 AX(){return"ReportingObserver"in Cc}function Z5(e,t){const n="fetch";Ja(n,e),Qa(n,()=>VT(void 0,t))}function PX(e){const t="fetch-body-resolved";Ja(t,e),Qa(t,()=>VT($X))}function VT(e,t=!1){t&&!HT()||Qn(ze,"fetch",function(n){return function(...r){const o=new Error,{method:i,url:a}=jX(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 NX(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 $X(e){let t;try{t=e.clone()}catch{return}NX(t,()=>{no("fetch-body-resolved",{endTimestamp:vn()*1e3,response:e})})}function Ov(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Q7(e){return typeof e=="string"?e:e?Ov(e,"url")?e.url:e.toString?e.toString():"":""}function jX(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Q7(n),method:Ov(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Q7(t),method:Ov(t,"method")?String(t.method).toUpperCase():"GET"}}function DX(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function BX(){return"npm"}function FX(){return!DX()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Av(){return typeof window<"u"&&(!FX()||UX())}function UX(){const e=ze.process;return(e==null?void 0:e.type)==="renderer"}const Pe=ze;let Pv=0;function zT(){return Pv>0}function HX(){Pv++,setTimeout(()=>{Pv--})}function wc(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=>wc(a,t));return e.apply(this,i)}catch(i){throw HX(),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:GX(t),value:KX(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function VX(e,t,n,r){const o=xe(),i=o==null?void 0:o.getOptions().normalizeDepth,a=XX(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:YX(t,{isUnhandledRejection:r})}]},extra:s};if(n){const c=X5(e,n);c.length&&(l.exception.values[0].stacktrace={frames:c})}return l}function a2(e,t){return{exception:{values:[g0(e,t)]}}}function X5(e,t){const n=t.stacktrace||t.stack||"",r=WX(t),o=qX(t);try{return e(n,r,o)}catch{}return[]}const zX=/Minified React error #\d+;/i;function WX(e){return e&&zX.test(e.message)?1:0}function qX(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 GX(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 KX(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 a2(e,t.error);if(E7(t)||QG(t)){const a=t;if("stack"in t)i=a2(e,t);else{const s=a.name||(E7(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)?a2(e,t):js(t)||d0(t)?(i=VX(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 YX(e,{isUnhandledRejection:t}){const n=aK(e),r=t?"promise rejection":"exception";return IR(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:d0(e)?`Event \`${ZX(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function ZX(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function XX(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 aZ{constructor(t){const n={parentSpanIsAlwaysRootSpan:!0,...t},r=Pe.SENTRY_SDK_SOURCE||BX();wZ(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",CZ))}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 Jd=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,JX=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",Jc=(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=JX(t.value,n),e(t)))}},Qe=ze,QX=()=>`v4-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Lf=(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},Of=()=>{const e=Lf();return(e==null?void 0:e.activationStart)||0},Qc=(e,t)=>{var i,a;const n=Lf();let r="navigate";return n&&((i=Qe.document)!=null&&i.prerendering||Of()>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:QX(),navigationType:r}},Zs=(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{}},eu=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 dd=-1;const eJ=()=>Qe.document.visibilityState==="hidden"&&!Qe.document.prerendering?0:1/0,Dh=e=>{Qe.document.visibilityState==="hidden"&&dd>-1&&(dd=e.type==="visibilitychange"?e.timeStamp:0,nJ())},tJ=()=>{addEventListener("visibilitychange",Dh,!0),addEventListener("prerenderingchange",Dh,!0)},nJ=()=>{removeEventListener("visibilitychange",Dh,!0),removeEventListener("prerenderingchange",Dh,!0)},v0=()=>(Qe.document&&dd<0&&(dd=eJ(),tJ()),{get firstHiddenTime(){return dd}}),Af=e=>{var t;(t=Qe.document)!=null&&t.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},rJ=[1800,3e3],oJ=(e,t={})=>{Af(()=>{const n=v0(),r=Qc("FCP");let o;const a=Zs("paint",s=>{s.forEach(l=>{l.name==="first-contentful-paint"&&(a.disconnect(),l.startTime<n.firstHiddenTime&&(r.value=Math.max(l.startTime-Of(),0),r.entries.push(l),o(!0)))})});a&&(o=Jc(e,r,rJ,t.reportAllChanges))})},iJ=[.1,.25],aJ=(e,t={})=>{oJ(y0(()=>{const n=Qc("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=Zs("layout-shift",a);s&&(r=Jc(e,n,iJ,t.reportAllChanges),eu(()=>{a(s.takeRecords()),r(!0)}),setTimeout(r,0))}))},sJ=[100,300],lJ=(e,t={})=>{Af(()=>{const n=v0(),r=Qc("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=Zs("first-input",a);o=Jc(e,r,sJ,t.reportAllChanges),s&&eu(y0(()=>{a(s.takeRecords()),s.disconnect()}))})};let YT=0,s2=1/0,kp=0;const cJ=e=>{e.forEach(t=>{t.interactionId&&(s2=Math.min(s2,t.interactionId),kp=Math.max(kp,t.interactionId),YT=kp?(kp-s2)/7+1:0)})};let $v;const uJ=()=>$v?YT:performance.interactionCount||0,dJ=()=>{"interactionCount"in performance||$v||($v=Zs("event",cJ,{type:"event",buffered:!0,durationThreshold:0}))},hi=[],l2=new Map,fJ=40;let pJ=0;const hJ=()=>uJ()-pJ,mJ=()=>{const e=Math.min(hi.length-1,Math.floor(hJ()/50));return hi[e]},c2=10,gJ=[],yJ=e=>{var r;if(gJ.forEach(o=>o(e)),!(e.interactionId||e.entryType==="first-input"))return;const t=hi[hi.length-1],n=l2.get(e.interactionId);if(n||hi.length<c2||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]};l2.set(o.id,o),hi.push(o)}hi.sort((o,i)=>i.latency-o.latency),hi.length>c2&&hi.splice(c2).forEach(o=>l2.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),eu(e)),n},vJ=[200,500],_J=(e,t={})=>{"PerformanceEventTiming"in Qe&&"interactionId"in PerformanceEventTiming.prototype&&Af(()=>{dJ();const n=Qc("INP");let r;const o=a=>{ZT(()=>{a.forEach(yJ);const s=mJ();s&&s.latency!==n.value&&(n.value=s.latency,n.entries=s.entries,r())})},i=Zs("event",o,{durationThreshold:t.durationThreshold!=null?t.durationThreshold:fJ});r=Jc(e,n,vJ,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),eu(()=>{o(i.takeRecords()),r(!0)}))})},bJ=[2500,4e3],eE={},EJ=(e,t={})=>{Af(()=>{const n=v0(),r=Qc("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-Of(),0),r.entries=[l],o())})},a=Zs("largest-contentful-paint",i);if(a){o=Jc(e,r,bJ,t.reportAllChanges);const s=y0(()=>{eE[r.id]||(i(a.takeRecords()),a.disconnect(),eE[r.id]=!0,o(!0))});["keydown","click"].forEach(l=>{Qe.document&&addEventListener(l,()=>ZT(s),{once:!0,capture:!0})}),eu(s)}})},SJ=[800,1800],jv=e=>{var t,n;(t=Qe.document)!=null&&t.prerendering?Af(()=>jv(e)):((n=Qe.document)==null?void 0:n.readyState)!=="complete"?addEventListener("load",()=>jv(e),!0):setTimeout(e,0)},CJ=(e,t={})=>{const n=Qc("TTFB"),r=Jc(e,n,SJ,t.reportAllChanges);jv(()=>{const o=Lf();o&&(n.value=Math.max(o.responseStart-Of(),0),n.entries=[o],r(!0))})},fd={},Bh={};let XT,JT,QT,ek,tk;function Q5(e,t=!1){return Pf("cls",e,xJ,XT,t)}function nk(e,t=!1){return Pf("lcp",e,RJ,QT,t)}function rk(e){return Pf("fid",e,MJ,JT)}function wJ(e){return Pf("ttfb",e,TJ,ek)}function ok(e){return Pf("inp",e,kJ,tk)}function xc(e,t){return ik(e,t),Bh[e]||(IJ(e),Bh[e]=!0),ak(e,t)}function tu(e,t){const n=fd[e];if(n!=null&&n.length)for(const r of n)try{r(t)}catch(o){Jd&&ne.error(`Error while triggering instrumentation handler.
|
|
274
|
+
Type: ${e}
|
|
275
|
+
Name: ${ji(r)}
|
|
276
|
+
Error:`,o)}}function xJ(){return aJ(e=>{tu("cls",{metric:e}),XT=e},{reportAllChanges:!0})}function MJ(){return lJ(e=>{tu("fid",{metric:e}),JT=e})}function RJ(){return EJ(e=>{tu("lcp",{metric:e}),QT=e},{reportAllChanges:!0})}function TJ(){return CJ(e=>{tu("ttfb",{metric:e}),ek=e})}function kJ(){return _J(e=>{tu("inp",{metric:e}),tk=e})}function Pf(e,t,n,r,o=!1){ik(e,t);let i;return Bh[e]||(i=n(),Bh[e]=!0),r&&t({metric:r}),ak(e,t,o?i:void 0)}function IJ(e){const t={};e==="event"&&(t.durationThreshold=0),Zs(e,n=>{tu(e,{entries:n})},t)}function ik(e,t){fd[e]=fd[e]||[],fd[e].push(t)}function ak(e,t,n){return()=>{n&&n();const r=fd[e];if(!r)return;const o=r.indexOf(t);o!==-1&&r.splice(o,1)}}function LJ(e){return"duration"in e}function u2(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),Tf(e,()=>{const i=Xc({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 Xc({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 OJ(){let e=0,t,n;if(!PJ())return;let r=!1;function o(){r||(r=!0,n&&AJ(e,t,n),i())}const i=Q5(({metric:a})=>{const s=a.entries[a.entries.length-1];s&&(e=a.value,t=s)},!0);eu(()=>{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 AJ(e,t,n){var l;Jd&&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",[Rf]:(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 PJ(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch{return!1}}const NJ=2147483647;let tE=0,kn={},ar,Dl;function $J({recordClsStandaloneSpans:e}){const t=e_();if(t&&Er()){t.mark&&Qe.performance.mark("sentry-tracing-init");const n=HJ(),r=UJ(),o=VJ(),i=e?OJ():FJ();return()=>{n(),r(),o(),i==null||i()}}return()=>{}}function jJ(){xc("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 DJ(){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 BJ(){xc("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 FJ(){return Q5(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(kn.cls={value:e.value,unit:""},Dl=t)},!0)}function UJ(){return nk(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(kn.lcp={value:e.value,unit:"millisecond"},ar=t)},!0)}function HJ(){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 VJ(){return wJ(({metric:e})=>{e.entries[e.entries.length-1]&&(kn.ttfb={value:e.value,unit:"millisecond"})})}function zJ(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(tE).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":{qJ(e,l,o);break}case"mark":case"paint":case"measure":{WJ(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":{YJ(e,l,l.name,c,u,o);break}}}),tE=Math.max(i.length-1,0),ZJ(e),a==="pageload"){JJ(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",Of()),XJ(e)}ar=void 0,Dl=void 0,kn={}}function WJ(e,t,n,r,o){const i=Lf(!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 qJ(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Ip(e,t,r,n)}),Ip(e,t,"secureConnection",n,"TLS/SSL"),Ip(e,t,"fetch",n,"cache"),Ip(e,t,"domainLookup",n,"DNS"),KJ(e,t,n)}function Ip(e,t,n,r,o=n){const i=GJ(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 GJ(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function KJ(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 YJ(e,t,n,r,o,i){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=Mi(n),s={[pn]:"auto.resource.browser.metrics"};d2(s,t,"transferSize","http.response_transfer_size"),d2(s,t,"encodedBodySize","http.response_content_length"),d2(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 ZJ(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),u2(n.rtt)&&(kn["connection.rtt"]={value:n.rtt,unit:"millisecond"})),u2(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),u2(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function XJ(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)),Dl!=null&&Dl.sources&&Dl.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,Bi(t.node)))}function d2(e,t,n,r){const o=t[n];o!=null&&o<NJ&&(e[r]=o)}function JJ(e){const t=Lf(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}const QJ=1e3;let nE,Dv,Bv;function ck(e){const t="dom";Ja(t,e),Qa(t,eQ)}function eQ(){if(!Qe.document)return;const e=no.bind(null,"dom"),t=rE(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=rE(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 tQ(e){if(e.type!==Dv)return!1;try{if(!e.target||e.target._sentryId!==Bv)return!1}catch{}return!0}function nQ(e,t){return e!=="keypress"?!1:t!=null&&t.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function rE(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=rQ(n);if(nQ(n.type,r))return;br(n,"_sentryCaptured",!0),r&&!r._sentryId&&br(r,"_sentryId",nr());const o=n.type==="keypress"?"input":n.type;tQ(n)||(e({event:n,name:o,global:t}),Dv=n.type,Bv=r?r._sentryId:void 0),clearTimeout(nE),nE=Qe.setTimeout(()=>{Bv=void 0,Dv=void 0},QJ)}}function rQ(e){try{return e.target}catch{return null}}let Lp;function _0(e){const t="history";Ja(t,e),Qa(t,oQ)}function oQ(){if(Qe.addEventListener("popstate",()=>{const t=Qe.location.href,n=Lp;if(Lp=t,n===t)return;no("history",{from:n,to:t})}),!OX())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const o=Lp,i=String(r);if(Lp=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 C1={};function t_(e){const t=C1[e];if(t)return t;let n=Qe[e];if(Lv(n))return C1[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){Jd&&ne.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,o)}return n&&(C1[e]=n.bind(Qe))}function oE(e){C1[e]=void 0}function Mc(...e){return t_("setTimeout")(...e)}const Si="__sentry_xhr_v3__";function n_(e){const t="xhr";Ja(t,e),Qa(t,iQ)}function iQ(){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=aQ(r[1]);if(!a||!s)return t.apply(n,r);n[Si]={method:a,url:s,request_headers:{}},a==="POST"&&s.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const l=()=>{const c=n[Si];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[Si];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[Si];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 aQ(e){if(Io(e))return e;try{return e.toString()}catch{}}function uk(e){return new URLSearchParams(e).toString()}function Fh(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 Jd&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Jd&&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 f2=[],w1=new Map;function sQ(){if(e_()&&Er()){const t=lQ();return()=>{t()}}return()=>{}}const iE={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 lQ(){return ok(({metric:e})=>{if(e.value==null)return;const t=e.entries.find(g=>g.duration===e.value&&iE[g.name]);if(!t)return;const{interactionId:n}=t,r=iE[t.name],o=tn(Er()+t.startTime),i=tn(e.value),a=Nn(),s=a?_n(a):void 0,c=(n!=null?w1.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}`,[Rf]: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 cQ(){const e=({entries:t})=>{const n=Nn(),r=n&&_n(n);t.forEach(o=>{if(!LJ(o)||!r)return;const i=o.interactionId;if(i!=null&&!w1.has(i)){if(f2.length>10){const a=f2.shift();w1.delete(a)}f2.push(i),w1.set(i,r)}})};xc("event",e),xc("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 oE("fetch"),Lh("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 oE("fetch"),n-=a,r--,Lh(l)}}return xT(e,o)}const uQ=10,dQ=20,fQ=30,pQ=40,hQ=50;function Rc(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 mQ=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,gQ=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,yQ=/\((\S*)(?::(\d+))(?::(\d+))\)/,vQ=e=>{const t=mQ.exec(e);if(t){const[,r,o,i]=t;return Rc(r,oi,+o,+i)}const n=gQ.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const a=yQ.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 Rc(i,o,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},dk=[fQ,vQ],_Q=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,bQ=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,EQ=e=>{const t=_Q.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=bQ.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),Rc(r,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},fk=[hQ,EQ],SQ=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,CQ=e=>{const t=SQ.exec(e);return t?Rc(t[2],t[1]||oi,+t[3],t[4]?+t[4]:void 0):void 0},wQ=[pQ,CQ],xQ=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,MQ=e=>{const t=xQ.exec(e);return t?Rc(t[2],t[3]||oi,+t[1]):void 0},RQ=[uQ,MQ],TQ=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,kQ=e=>{const t=TQ.exec(e);return t?Rc(t[5],t[3]||t[4]||oi,+t[1],+t[2]):void 0},IQ=[dQ,kQ],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 LQ(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:Zc(r)}},i=OQ(e);return ts(o,[i])}function OQ(e){return[{type:"user_report"},e]}const Xe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Op=1024,AQ="Breadcrumbs",PQ=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:AQ,setup(n){t.console&&NT(jQ(n)),t.dom&&ck($Q(n,t.dom)),t.xhr&&n_(DQ(n)),t.fetch&&Z5(BQ(n)),t.history&&_0(FQ(n)),t.sentry&&n.on("beforeSendEvent",NQ(n))}}},gk=PQ;function NQ(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 $Q(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>Op&&(Xe&&ne.warn(`\`dom.maxStringLength\` cannot exceed ${Op}, but a value of ${s} was configured. Sentry will use ${Op} instead.`),s=Op),typeof a=="string"&&(a=[a]);try{const c=r.event,u=UQ(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 jQ(e){return function(n){if(xe()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:K5(n.level),message:Ih(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${Ih(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;zi(r,{input:n.args,level:n.level})}}function DQ(e){return function(n){if(xe()!==e)return;const{startTimestamp:r,endTimestamp:o}=n,i=n.xhr[Si];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 BQ(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 FQ(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 UQ(e){return!!e&&!!e.target}const HQ=["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"],VQ="BrowserApiErrors",zQ=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:VQ,setupOnce(){t.setTimeout&&Qn(Pe,"setTimeout",aE),t.setInterval&&Qn(Pe,"setInterval",aE),t.requestAnimationFrame&&Qn(Pe,"requestAnimationFrame",WQ),t.XMLHttpRequest&&"XMLHttpRequest"in Pe&&Qn(XMLHttpRequest.prototype,"send",qQ);const n=t.eventTarget;n&&(Array.isArray(n)?n:HQ).forEach(GQ)}}},yk=zQ;function aE(e){return function(...t){const n=t[0];return t[0]=wc(n,{mechanism:{data:{function:ji(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function WQ(e){return function(t){return e.apply(this,[wc(t,{mechanism:{data:{function:"requestAnimationFrame",handler:ji(e)},handled:!1,type:"instrument"}})])}}function qQ(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)),wc(i,a)})}),e.apply(this,t)}}function GQ(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{KQ(s)&&(s.handleEvent=wc(s.handleEvent,{mechanism:{data:{function:"handleEvent",handler:ji(s),target:e},handled:!1,type:"instrument"}}))}catch{}return i.apply(this,[a,wc(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 KQ(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())})}}),YQ="GlobalHandlers",ZQ=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:YQ,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(XQ(n),sE("onerror")),t.onunhandledrejection&&(JQ(n),sE("onunhandledrejection"))}}},_k=ZQ;function XQ(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=tee(J5(n,l||o,void 0,r,!1),i,a,s);c.level="error",If(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function JQ(e){TR(t=>{const{stackParser:n,attachStacktrace:r}=bk();if(xe()!==e||zT())return;const o=QQ(t),i=O5(o)?eee(o):J5(n,o,void 0,r,!0);i.level="error",If(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function QQ(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 eee(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function tee(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:Ks();return l.length===0&&l.push({colno:c,filename:d,function:oi,in_app:!0,lineno:u}),e}function sE(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)||Ks(),{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}}),nee="cause",ree=5,oee="LinkedErrors",iee=(e={})=>{const t=e.limit||ree,n=e.key||nee;return{name:oee,preprocessEvent(r,o,i){const a=i.getOptions();UZ(g0,a.stackParser,a.maxValueLength,n,t,r,o)}}},Sk=iee;function Ck(e){return[LT(),kT(),yk(),gk(),_k(),Sk(),$T(),Ek(),vk()]}function aee(e={}){var n;return{...{defaultIntegrations:Ck(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(n=Pe.SENTRY_RELEASE)==null?void 0:n.id,sendClientReports:!0},...see(e)}}function see(e){const t={};for(const n of Object.getOwnPropertyNames(e)){const r=n;e[r]!==void 0&&(t[r]=e[r])}return t}function lee(){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=Ks()||"",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 cee(e={}){const t=aee(e);if(!t.skipBrowserExtensionCheck&&lee()){Xe&&Gs(()=>{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:YG(t.stackParser||hk),integrations:tZ(t),transport:t.transport||o_};return cZ(KT,n)}function uee(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=QY(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 dee(){}function fee(e){e()}const pee={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"},lE=Pe;async function wk(e,t){const n=pee[e],r=lE.Sentry=lE.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=hee(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 hee(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 mee=ze,gee="ReportingObserver",cE=new WeakMap,yee=(e={})=>{const t=e.types||["crash","deprecation","intervention"];function n(r){if(cE.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}$h(`${a}: ${s}`)})}return{name:gee,setupOnce(){if(!AX())return;new mee.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(r){cE.set(r,!0)}}},vee=yee,_ee="HttpClient",bee=(e={})=>{const t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:_ee,setup(n){kee(n,t),Iee(n,t)}}},Eee=bee;function See(e,t,n,r,o){if(Mk(e,n.status,n.url)){const i=Lee(t,r);let a,s,l,c;Tk()&&([a,l]=uE("Cookie",i),[s,c]=uE("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});If(u)}}function uE(e,t){const n=xee(t.headers);let r;try{const o=n[e]||n[e.toLowerCase()]||void 0;o&&(r=xk(o))}catch{}return[n,r]}function Cee(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=Mee(t)}catch{}i=r}const l=Rk({url:t.responseURL,method:n,status:t.status,requestHeaders:i,responseHeaders:s,responseCookies:a,error:o});If(l)}}function wee(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 xee(e){const t={};return e.forEach((n,r)=>{t[r]=n}),t}function Mee(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 Ree(e,t){return e.some(n=>typeof n=="string"?t.includes(n):n.test(t))}function Tee(e,t){return e.some(n=>typeof n=="number"?n===t:t>=n[0]&&t<=n[1])}function kee(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 Iee(e,t){"XMLHttpRequest"in ze&&n_(n=>{if(xe()!==e)return;const{error:r,virtualError:o}=n,i=n.xhr,a=i[Si];if(!a)return;const{method:s,request_headers:l}=a;try{Cee(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 Tee(e.failedRequestStatusCodes,t)&&Ree(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:wee(e.responseHeaders)}}};return Va(i,{type:"http.client",handled:!1}),i}function Lee(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 p2=ze,Oee=7,Aee="ContextLines",Pee=(e={})=>{const t=e.frameContextLines!=null?e.frameContextLines:Oee;return{name:Aee,processEvent(n){return $ee(n,t)}}},Nee=Pee;function $ee(e,t){var s;const n=p2.document,r=p2.location&&Y5(p2.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=>jee(u,a,r,t)))}),e}function jee(e,t,n,r){return e.filename!==n||!e.lineno||!t.length||dK(t,e,r),e}const Dee="GraphQLClient",Bee=e=>({name:Dee,setup(t){Fee(t,e),Uee(t,e)}});function Fee(e,t){e.on("beforeOutgoingRequestSpan",(n,r)=>{const i=Je(n).data||{};if(!(i[Hi]==="http.client"))return;const l=i[MK]||i["http.url"],c=i[xK]||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 Uee(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}=Hee(t);return r?`${o} ${r}`:`${o}`}function Ik(e){const t="xhr"in e;let n;if(t){const r=e.xhr[Si];n=r&&Fh(r.body)[0]}else{const r=r_(e.input);n=Fh(r)[0]}return n}function Hee(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 Vee=Bee,It=ze,i_="sentryReplaySession",zee="replay_event",a_="Unable to send Replay",Wee=3e5,qee=9e5,Gee=5e3,Kee=5500,Yee=6e4,Zee=5e3,Xee=3,dE=15e4,Ap=5e3,Jee=3e3,Qee=300,s_=2e7,ete=4999,tte=15e3,fE=36e5;var nte=Object.defineProperty,rte=(e,t,n)=>t in e?nte(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pE=(e,t,n)=>rte(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 ote(e){return e.nodeType===e.ELEMENT_NODE}function pd(e){const t=e==null?void 0:e.host;return(t==null?void 0:t.shadowRoot)===e}function hd(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function ite(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 ate(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 Uh(e){try{const t=e.rules||e.cssRules;return t?ite(Array.from(t,Ok).join("")):null}catch{return null}}function ste(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(cte(e))try{t=Uh(e.styleSheet)||ate(e)}catch{}else if(ute(e)){let n=e.cssText;const r=e.selectorText.includes(":"),o=typeof e.style.all=="string"&&e.style.all;if(o&&(n=ste(e)),r&&(n=lte(n)),r||o)return n}return t||e.cssText}function lte(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function cte(e){return"styleSheet"in e}function ute(e){return"selectorText"in e}let Ak=class{constructor(){pE(this,"idNodeMap",new Map),pE(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 dte(){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 Qd({isMasked:e,element:t,value:n,maskInputFn:r}){let o=n||"";return e?(r&&(o=r(o,t)),"*".repeat(o.length)):o}function Tc(e){return e.toLowerCase()}function Fv(e){return e.toUpperCase()}const hE="__rrweb_original__";function fte(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=hE in i?i[hE]: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?Tc(t):null}function Hh(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 mE={};function Nk(e){const t=mE[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 mE[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 pte=1;const hte=new RegExp("[^a-z0-9-_:]"),ef=-2;function c_(){return pte++}function mte(e){if(e instanceof HTMLFormElement)return"form";const t=Tc(e.tagName);return hte.test(t)?"div":t}function gte(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let dl,gE;const yte=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,vte=/^(?:[a-z+]+:)?\/\//i,_te=/^www\..*/i,bte=/^(data:)([^,]*),(.*)/i;function Vh(e,t){return(e||"").replace(yte,(n,r,o,i,a,s)=>{const l=o||a||s,c=r||i||"";if(!l)return n;if(vte.test(l)||_te.test(l))return`url(${c}${l}${c})`;if(bte.test(l))return`url(${c}${l}${c})`;if(l[0]==="/")return`url(${c}${gte(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 Ete=/^[^ \t\n\r\u000c]+/,Ste=/^[, \t\n\r\u000c]+/;function Cte(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(Ete);if(i.slice(-1)===",")i=Bl(e,i.substring(0,i.length-1)),o.push(i);else{let a="";i=Bl(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 yE=new WeakMap;function Bl(e,t){return!t||t.trim()===""?t:E0(e,t)}function wte(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function E0(e,t){let n=yE.get(e);if(n||(n=e.createElement("a"),yE.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")?Bl(e,r):n==="srcset"?Cte(e,r):n==="style"?Vh(r,E0(e)):t==="object"&&n==="data"?Bl(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 xte(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function Es(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Es(e.parentNode,t,n,r+1)}function Fl(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(xte(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function kc(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=Es(a,Fl(r,o)),l<0)return!0;s=Es(a,Fl(t,n),l>=0?l:1/0)}else{if(s=Es(a,Fl(t,n)),s<0)return!1;l=Es(a,Fl(r,o),s>=0?s:1/0)}return s>=0?l>=0?s<=l:!0:l>=0?!1:!!i}catch{}return!!i}function Mte(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 Rte(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 Tte(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:C,newlyAddedElement:S=!1}=t,_=kte(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 Lte(e,{doc:n,blockClass:o,blockSelector:i,unblockSelector:a,inlineStylesheet:h,maskAttributeFn:l,maskInputOptions:g,maskInputFn:b,dataURLOptions:m,inlineImages:y,recordCanvas:E,keepIframeSrcFn:C,newlyAddedElement:S,rootId:_,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:p});case e.TEXT_NODE:return Ite(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 kte(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function Ite(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=Uh(e.parentNode.sheet))}catch(y){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${y}`,e)}p=Vh(p,E0(t.doc))}g&&(p="SCRIPT_PLACEHOLDER");const b=kc(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=Qd({isMasked:kc(e,r,i,o,a,y),element:e,value:p,maskInputFn:c})}return{type:mn.Text,textContent:p||"",isStyle:h,rootId:u}}function Lte(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,C=Fk(e,r,o,i),S=mte(e);let _={};const w=e.attributes.length;for(let T=0;T<w;T++){const I=e.attributes[T];I.name&&!Bk(S,I.name,I.value)&&(_[I.name]=Dk(n,S,Tc(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=Uh(T)),I&&(_.rel=null,_.href=null,_.crossorigin=null,_._cssText=Vh(I,T.href))}if(S==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const T=Uh(e.sheet);T&&(_._cssText=Vh(T,E0(n)))}if(S==="input"||S==="textarea"||S==="select"||S==="option"){const T=e,I=l_(T),D=Hh(T,Fv(S),I),F=T.checked;if(I!=="submit"&&I!=="button"&&D){const q=kc(T,b,y,m,E,b0({type:I,tagName:Fv(S),maskInputOptions:s}));_.value=Qd({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")fte(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){dl||(dl=n.createElement("canvas"),gE=dl.getContext("2d"));const T=e,I=T.currentSrc||T.getAttribute("src")||"<unknown-src>",D=T.crossOrigin,F=()=>{T.removeEventListener("load",F);try{dl.width=T.naturalWidth,dl.height=T.naturalHeight,gE.drawImage(T,0,0),_.rr_dataURL=dl.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)),C){const{width:T,height:I}=e.getBoundingClientRect();_={class:_.class,rr_width:`${T}px`,rr_height:`${I}px`}}S==="iframe"&&!h(_.src)&&(!C&&!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:wte(e)||void 0,needBlock:C,rootId:v,isCustom:R}}function kt(e){return e==null?"":e.toLowerCase()}function Ote(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 Ul(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:C=!1,recordCanvas:S=!1,onSerialize:_,onIframeLoad:w,iframeLoadTimeout:R=5e3,onStylesheetLoad:T,stylesheetLoadTimeout:I=5e3,keepIframeSrcFn:D=()=>!1,newlyAddedElement:F=!1}=t;let{preserveWhiteSpace:q=!0}=t;const W=Tte(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:C,recordCanvas:S,keepIframeSrcFn:D,newlyAddedElement:F});if(!W)return console.warn(e,"not serialized"),null;let Q;r.hasNode(e)?Q=r.getId(e):Ote(W,y)||!q&&W.type===mn.Text&&!W.isStyle&&!W.textContent.replace(/^\s+|\s+$/gm,"").length?Q=ef:Q=c_();const H=Object.assign(W,{id:Q});if(r.add(e,H),Q===ef)return null;_&&_(e);let re=!p;if(H.type===mn.Element){re=re&&!H.needBlock,delete H.needBlock;const B=e.shadowRoot;B&&hd(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:C,recordCanvas:S,preserveWhiteSpace:q,onSerialize:_,onIframeLoad:w,iframeLoadTimeout:R,onStylesheetLoad:T,stylesheetLoadTimeout:I,keepIframeSrcFn:D};for(const ee of Array.from(e.childNodes)){const $=Ul(ee,B);$&&H.childNodes.push($)}if(ote(e)&&e.shadowRoot)for(const ee of Array.from(e.shadowRoot.childNodes)){const $=Ul(ee,B);$&&(hd(e.shadowRoot)&&($.isShadow=!0),H.childNodes.push($))}}return e.parentNode&&pd(e.parentNode)&&hd(e.parentNode)&&(H.isShadow=!0),H.type===mn.Element&&H.tagName==="iframe"&&!Fk(e,o,i,a)&&Mte(e,()=>{const B=jk(e);if(B&&w){const ee=Ul(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:C,recordCanvas:S,preserveWhiteSpace:q,onSerialize:_,onIframeLoad:w,iframeLoadTimeout:R,onStylesheetLoad:T,stylesheetLoadTimeout:I,keepIframeSrcFn:D});ee&&w(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")&&Rte(e,()=>{if(T){const B=Ul(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:C,recordCanvas:S,preserveWhiteSpace:q,onSerialize:_,onIframeLoad:w,iframeLoadTimeout:R,onStylesheetLoad:T,stylesheetLoadTimeout:I,keepIframeSrcFn:D});B&&T(e,B)}},I),H}function Ate(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:C,onSerialize:S,onIframeLoad:_,iframeLoadTimeout:w,onStylesheetLoad:R,stylesheetLoadTimeout:T,keepIframeSrcFn:I=()=>!1}=t||{};return Ul(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:C,onSerialize:S,onIframeLoad:_,iframeLoadTimeout:w,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 _l=`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 vE={map:{},getId(){return console.error(_l),-1},getNode(){return console.error(_l),null},removeNodeFromMap(){console.error(_l)},has(){return console.error(_l),!1},reset(){console.error(_l)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(vE=new Proxy(vE,{get(e,t,n){return t==="map"&&console.error(_l),Reflect.get(e,t,n)}}));function tf(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&&(Fte(r),r=null),o=a,e.apply(l,i)):!r&&n.trailing!==!1&&(r=S0(()=>{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){S0(()=>{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 zh=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(zh=()=>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=Fl(t,n);if(!o){const c=r&&i.matches(r);return a(i)&&!c}const s=Es(i,a);let l=-1;return s<0?!1:(r&&(l=Es(i,Fl(null,r))),s>-1&&l<0?!0:s<l)}function Pte(e,t){return t.getId(e)!==-1}function h2(e,t){return t.getId(e)===ef}function qk(e,t){if(pd(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 Nte(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 $te{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 jte(e){let t=e,n;for(;n=Yk(t);)t=n;return t}function Dte(e){const t=e.ownerDocument;if(!t)return!1;const n=jte(e);return t.contains(n)}function Zk(e){const t=e.ownerDocument;return t?t.contains(e)||Dte(e):!1}const _E={};function d_(e){const t=_E[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 _E[e]=r.bind(window)}function Bte(...e){return d_("requestAnimationFrame")(...e)}function S0(...e){return d_("setTimeout")(...e)}function Fte(...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||{}),bl=(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))(bl||{});function f_(e){try{return e.contentDocument}catch{}}function Ute(e){try{return e.contentWindow}catch{}}function bE(e){return"__ln"in e}class Hte{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&&bE(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&&bE(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 EE=(e,t)=>`${e}@${t}`;class Vte{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 Hte,o=l=>{let c=l,u=ef;for(;u===ef;)c=c&&c.nextSibling,u=c&&this.mirror.getId(c);return u},i=l=>{if(!l.parentNode||!Zk(l))return;const c=pd(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=Ul(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)SE(this.removes,l,this.mirror)&&!this.movedSet.has(l.parentNode)||i(l);for(const l of this.addedSet)!CE(this.droppedSet,l)&&!SE(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(!h2(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:kc(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=Hh(n,s,a);const l=b0({maskInputOptions:this.maskInputOptions,tagName:s,type:a}),c=kc(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,l);o=Qd({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,Tc(n.tagName),Tc(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=pd(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);wr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||h2(n,this.mirror)||!Pte(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[EE(r,o)]?zv(this.movedSet,n):this.removes.push({parentId:o,id:r,isShadow:pd(t.target)&&hd(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(h2(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[EE(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 SE(e,t,n){return e.length===0?!1:zte(e,t,n)}function zte(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 md;function Wte(e){md=e}function qte(){md=void 0}const it=e=>md?(...n)=>{try{return e(...n)}catch(r){if(md&&md(r)===!0)return()=>{};throw r}}:e,Hl=[];function Nf(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 Vte;Hl.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 Gte({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=tf(it(d=>{const p=Date.now()-s;e(a.map(h=>(h.timeOffset-=p,h)),d),a=[],s=null}),i),c=it(tf(it(d=>{const p=Nf(d),{clientX:h,clientY:g}=Hv(d)?d.changedTouches[0]:d;s||(s=zh()),a.push({x:h,y:g,id:r.getId(p),timeOffset:zh()-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 Kte({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=Nf(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=Tc(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(tf(it(l=>{const c=Nf(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 Yte({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const o=it(tf(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 Zte=["INPUT","TEXTAREA","SELECT"],wE=new WeakMap;function Xte({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(w){let R=Nf(w);const T=w.isTrusted,I=R&&Fv(R.tagName);if(I==="OPTION"&&(R=R.parentElement),!R||!I||Zte.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=Hh(D,I,F),W=!1;const Q=b0({maskInputOptions:l,tagName:I,type:F}),H=kc(R,p,g,h,v,Q);(F==="radio"||F==="checkbox")&&(W=R.checked),q=Qd({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=Qd({isMasked:H,element:B,value:Hh(B,I,F),maskInputFn:c});m(B,d?{text:ee,isChecked:!W,userTriggered:!1}:{text:ee,isChecked:!W})}})}function m(w,R){const T=wE.get(w);if(!T||T.text!==R.text||T.isChecked!==R.isChecked){wE.set(w,R);const I=n.getId(w);it(e)({...R,id:I})}}const E=(u.input==="last"?["change"]:["input","change"]).map(w=>Yn(w,it(b),t)),C=t.defaultView;if(!C)return()=>{E.forEach(w=>w())};const S=C.Object.getOwnPropertyDescriptor(C.HTMLInputElement.prototype,"value"),_=[[C.HTMLInputElement.prototype,"value"],[C.HTMLInputElement.prototype,"checked"],[C.HTMLSelectElement.prototype,"value"],[C.HTMLTextAreaElement.prototype,"value"],[C.HTMLSelectElement.prototype,"selectedIndex"],[C.HTMLOptionElement.prototype,"selected"]];return S&&S.set&&E.push(..._.map(w=>Uk(w[0],w[1],{set(){it(b)({target:this,isTrusted:!1})}},!1,C))),it(()=>{E.forEach(w=>w())})}function Wh(e){const t=[];function n(r,o){if(Pp("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||Pp("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||Pp("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||Pp("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 Jte({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={};Np("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(Np("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),Np("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),Np("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:[...Wh(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:[...Wh(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 Qte({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:Wh(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:Wh(l.parentRule)}),s.apply(l,c)})}),it(()=>{o.CSSStyleDeclaration.prototype.setProperty=i,o.CSSStyleDeclaration.prototype.removeProperty=a})}function ene({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:o,sampling:i,doc:a}){const s=it(c=>tf(it(u=>{const d=Nf(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(bl.Play),a),Yn("pause",s(bl.Pause),a),Yn("seeked",s(bl.Seeked),a),Yn("volumechange",s(bl.VolumeChange),a),Yn("ratechange",s(bl.RateChange),a)];return it(()=>{l.forEach(c=>c())})}function tne({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 S0(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 nne(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 rne({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 one(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=Jk(e,e.doc));const o=Gte(e),i=Kte(e),a=Qk(e),s=Yte(e,{win:n}),l=Xte(e),c=ene(e);let u=()=>{},d=()=>{},p=()=>{},h=()=>{};e.recordDOM&&(u=Jte(e,{win:n}),d=eI(e,e.doc),p=Qte(e,{win:n}),e.collectFonts&&(h=tne(e)));const g=nne(e),v=rne(e),b=[];for(const m of e.plugins)b.push(m.observer(m.callback,n,m.options));return it(()=>{Hl.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 Pp(e){return typeof window[e]<"u"}function Np(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 ine{constructor(){this.crossOriginIframeMirror=new Wv(c_),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class ane{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 sne{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class lne{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(!hd(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})),S0(()=>{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=Ute(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 xE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cne=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var $p=0;$p<xE.length;$p++)cne[xE.charCodeAt($p)]=$p;class ME{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class une{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new $te,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 dne{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,Bte(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let Kt,qh;var _C;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((_C=e.contentWindow)==null?void 0:_C.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const vo=dte();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:C,maxCanvasSize:S=null,packFn:_,sampling:w={},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;Wte($);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&&w.mousemove===void 0&&(w.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||{};Nte();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 Se=ye;if(Se.timestamp=zh(),(Ve=Hl[0])!=null&&Ve.isFrozen()&&Se.type!==Ke.FullSnapshot&&!(Se.type===Ke.IncrementalSnapshot&&Se.data.source===Fe.Mutation)&&Hl.forEach(Ue=>Ue.unfreeze()),O)t==null||t(U(Se),Ge);else if(x){const Ue={type:"rrweb",event:U(Se),origin:window.location.origin,isCheckout:Ge};window.parent.postMessage(Ue,"*")}if(Se.type===Ke.FullSnapshot)J=Se,L=0;else if(Se.type===Ke.IncrementalSnapshot){if(Se.data.source===Fe.Mutation&&Se.data.isAttachIframe)return;L++;const Ue=r&&L>=r,Le=n&&J&&Se.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}}),Y=ye=>Kt({type:Ke.IncrementalSnapshot,data:{source:Fe.AdoptedStyleSheet,...ye}}),ue=new une({mutationCb:G,adoptedStyleSheetCb:Y}),pe=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new ine:new ane({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 dne,Ce=pne(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:w.canvas,dataURLOptions:R,errorHandler:$}),ke=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new sne:new lne({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:C,maskInputFn:E,recordCanvas:D,inlineImages:H,sampling:w,slimDOMOptions:j,iframeManager:pe,stylesheetManager:ue,canvasManager:Ce,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(),Hl.forEach(Se=>Se.lock());const Ge=Ate(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:C,slimDOM:j,dataURLOptions:R,recordCanvas:D,inlineImages:H,onSerialize:Se=>{Gk(Se,vo)&&pe.addIframe(Se),Kk(Se,vo)&&ue.trackLinkElement(Se),Vv(Se)&&ke.addShadowRoot(Se.shadowRoot,document)},onIframeLoad:(Se,Ve)=>{pe.attachIframe(Se,Ve),Se.contentWindow&&Ce.addWindow(Se.contentWindow),ke.observeAttachShadow(Se)},onStylesheetLoad:(Se,Ve)=>{ue.attachLinkElement(Se,Ve)},keepIframeSrcFn:B});if(!Ge)return console.warn("Failed to snapshot the document");Kt({type:Ke.FullSnapshot,data:{node:Ge,initialOffset:Hk(window)}}),Hl.forEach(Se=>Se.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&ue.adoptStyleSheets(document.adoptedStyleSheets,vo.getId(document))};qh=pt;try{const ye=[],Ge=Ve=>{var Ue;return it(one)({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:w,recordDOM:I,recordCanvas:D,inlineImages:H,userTriggeredOnInput:W,collectFonts:Q,doc:Ve,maskAttributeFn:y,maskInputFn:E,maskTextFn:C,keepIframeSrcFn:B,blockSelector:i,unblockSelector:a,slimDOMOptions:j,dataURLOptions:R,mirror:vo,iframeManager:pe,stylesheetManager:ue,shadowDomManager:ke,processedNodeManager:be,canvasManager:Ce,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 Se=()=>{pt(),ye.push(Ge(document))};return document.readyState==="interactive"||document.readyState==="complete"?Se():(ye.push(Yn("DOMContentLoaded",()=>{Kt({type:Ke.DomContentLoaded,data:{}}),q==="DOMContentLoaded"&&Se()})),ye.push(Yn("load",()=>{Kt({type:Ke.Load,data:{}}),q==="load"&&Se()},window))),()=>{ye.forEach(Ve=>Ve()),be.destroy(),qh=void 0,qte()}}catch(ye){console.warn(ye)}}function fne(e){if(!qh)throw new Error("please take full snapshot after start recording");qh(e)}Ri.mirror=vo;Ri.takeFullSnapshot=fne;function pne(e,t){try{return e?e(t):new ME}catch{return console.warn("Unable to initialize CanvasManager"),new ME}}var RE;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(RE||(RE={}));const hne=3,mne=5;function p_(e){return e>9999999999?e:e*1e3}function m2(e){return e>9999999999?e/1e3:e}function $f(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 gne="button,a";function tI(e){return e.closest(gne)||e}function nI(e){const t=rI(e);return!t||!(t instanceof Element)?t:tI(t)}function rI(e){return yne(e)?e.target:e}function yne(e){return typeof e=="object"&&!!e&&"target"in e}let pa;function vne(e){return pa||(pa=[],_ne()),pa.push(e),()=>{const t=pa?pa.indexOf(e):-1;t>-1&&pa.splice(t,1)}}function _ne(){Qn(It,"open",function(e){return function(...t){if(pa)try{pa.forEach(n=>n())}catch{}return e.apply(It,t)}})}const bne=new Set([Fe.Mutation,Fe.StyleSheetRule,Fe.StyleDeclaration,Fe.AdoptedStyleSheet,Fe.CanvasMutation,Fe.Selection,Fe.MediaInteraction]);function Ene(e,t,n){e.handleClick(t,n)}class Sne{constructor(t,n,r=$f){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=vne(()=>{this._lastMutation=TE()});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(wne(n,this._ignoreSelector)||!xne(t))return;const r={timestamp:m2(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=m2(t)}registerScroll(t=Date.now()){this._lastScroll=m2(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=TE();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=Mc(()=>this._checkClicks(),1e3)}}const Cne=["A","BUTTON","INPUT"];function wne(e,t){return!!(!Cne.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 xne(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function TE(){return Date.now()/1e3}function Mne(e,t){try{if(!Rne(t))return;const{source:n}=t.data;if(bne.has(n)&&e.registerMutation(t.timestamp),n===Fe.Scroll&&e.registerScroll(t.timestamp),Tne(t)){const{type:r,id:o}=t.data,i=Ri.mirror.getNode(o);i instanceof HTMLElement&&r===qn.Click&&e.registerClick(i)}}catch{}}function Rne(e){return e.type===hne}function Tne(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 kne=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function Ine(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(kne.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const Lne=e=>t=>{if(!e.isEnabled())return;const n=One(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&&Ene(e.clickDetector,n,nI(t.event)),$f(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&&Pne(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:Ine(i.attributes)}}:{}}}function One(e){const{target:t,message:n}=Ane(e);return Go({category:`ui.${e.name}`,...oI(t,n)})}function Ane(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 Pne(e){return e.type===h_.Element}function Nne(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=$ne(t);n&&$f(e,n)}function $ne(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:o,key:i,target:a}=e;if(!a||jne(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 jne(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const Dne={resource:Vne,paint:Une,navigation:Hne};function jp(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function Bne(e){return e.map(Fne).filter(Boolean)}function Fne(e){const t=Dne[e.entryType];return t?t(e):null}function Ic(e){return((Er()||It.performance.timeOrigin)+e)/1e3}function Une(e){const{duration:t,entryType:n,name:r,startTime:o}=e,i=Ic(o);return{type:n,name:r,start:i,end:i+t,data:void 0}}function Hne(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:Ic(h),end:Ic(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 Vne(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:Ic(i),end:Ic(o),name:r,data:{size:c,statusCode:l,decodedBodySize:a,encodedBodySize:s}}}function zne(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.element?[t.element]:void 0;return C0(e,"largest-contentful-paint",n)}function Wne(e){return e.sources!==void 0}function qne(e){const t=[],n=[];for(const r of e.entries)if(Wne(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 C0(e,"cumulative-layout-shift",n,t)}function Gne(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.target?[t.target]:void 0;return C0(e,"first-input-delay",n)}function Kne(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.target?[t.target]:void 0;return C0(e,"interaction-to-next-paint",n)}function C0(e,t,n,r){const o=e.value,i=e.rating,a=Ic(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 Yne(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(xc(o,n))}),r.push(nk(jp(zne,e)),Q5(jp(qne,e)),rk(jp(Gne,e)),ok(jp(Kne,e))),()=>{r.forEach(o=>o())}}const Ne=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Zne='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 Xne(){const e=new Blob([Zne]);return URL.createObjectURL(e)}const kE=["info","warn","error","log"],x1="[Replay] ";function g2(e,t="info"){zi({category:"console",data:{logger:"replay"},level:t,message:`${x1}${e}`},{level:t})}function Jne(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:r=>{e=!!r.captureExceptions,t=!!r.traceInternals}};return Ne?(kE.forEach(r=>{n[r]=(...o)=>{ne[r](x1,...o),t&&g2(o.join(""),K5(r))}}),n.exception=(r,...o)=>{o.length&&n.error&&n.error(...o),ne.error(x1,r),e?m0(r):t&&g2(r,"error")},n.infoTick=(...r)=>{ne.info(x1,...r),t&&setTimeout(()=>g2(r[0]),0)}):kE.forEach(r=>{n[r]=()=>{}}),n}const $e=Jne();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 Qne{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(){Ne&&$e.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){Ne&&$e.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 ere{constructor(t){this._worker=new Qne(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=>{Ne&&$e.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 tre{constructor(t){this._fallback=new iI,this._compression=new ere(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){Ne&&$e.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){Ne&&$e.exception(i,"Failed to add events when switching buffers.")}}}function nre({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=rre(t);if(n)return n}return Ne&&$e.info("Using simple buffer"),new iI}function rre(e){try{const t=e||ore();if(!t)return;Ne&&$e.info(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new tre(n)}catch(t){Ne&&$e.exception(t,"Failed to create compression worker")}}function ore(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?Xne():""}function g_(){try{return"sessionStorage"in It&&!!It.sessionStorage}catch{return!1}}function ire(e){are(),e.session=void 0}function are(){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 sre(e,t){return aI(e)?"session":t?"buffer":!1}function IE({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const o=sre(e,t),i=sI({sampled:o,previousSessionId:r});return n&&y_(i),i}function lre(){if(!g_())return null;try{const e=It.sessionStorage.getItem(i_);if(!e)return null;const t=JSON.parse(e);return Ne&&$e.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 y2({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const o=r.stickySession&&lre();return o?cI(o,{sessionIdleExpire:e,maxReplayDuration:t})?(Ne&&$e.infoTick("Session in sessionStorage is expired, creating new one..."),IE(r,{previousSessionId:o.id})):o:(Ne&&$e.infoTick("Creating new session"),IE(r,{previousSessionId:n}))}function cre(e){return e.type===Ke.Custom}function v_(e,t,n){return dI(e,t)?(uI(e,t,n),!0):!1}function ure(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=dre(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?(Ne&&$e.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function dre(e,t){try{if(typeof t=="function"&&cre(e))return t(e)}catch(n){return Ne&&$e.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 fre(e){return e.type==="replay_event"}function LE(e){return e.type==="feedback"}function pre(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)){hre(e,t);return}mre(e,t)}}}function hre(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 mre(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)||Mc(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(o){e.handleException(o)}})}function gre(e){return t=>{!e.isEnabled()||!__(t)||yre(e,t)}}function yre(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:Ks()}});$f(e,a)}}function vre(e){const t=xe();t&&t.on("beforeAddBreadcrumb",n=>_re(e,n))}function _re(e,t){if(!e.isEnabled()||!fI(t))return;const n=bre(t);n&&$f(e,n)}function bre(e){return!fI(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?Ere(e):Go(e)}function Ere(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>Ap?(n=!0,`${i.slice(0,Ap)}…`):i;if(typeof i=="object")try{const a=zr(i,7);return JSON.stringify(a).length>Ap?(n=!0,`${JSON.stringify(a,null,2).slice(0,Ap)}…`):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 Cre(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 wre(e,t){return e.recordingMode!=="buffer"||t.message===a_||!t.exception||t.type?!1:aI(e.getOptions().errorSampleRate)}function xre(e){return Object.assign((t,n)=>!e.isEnabled()||e.isPaused()?t:fre(t)?(delete t.breadcrumbs,t):!__(t)&&!Gv(t)&&!LE(t)?t:e.checkAndHandleExpiredSession()?LE(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),Cre(e,t),t):Sre(t,n)&&!e.getOptions()._experiments.captureExceptions?(Ne&&$e.log("Ignoring error from rrweb internals",t),null):((wre(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 Mre(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 Rre(e){return t=>{if(!e.isEnabled())return;const n=Mre(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(w0(e,[n]),!1)))}}function Tre(e,t){return Ne&&e.getOptions()._experiments.traceInternals?!1:RT(t,xe())}function hI(e,t){e.isEnabled()&&t!==null&&(Tre(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 Gh(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 nf(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}=kre(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 kre(e){if(!e||typeof e!="string")return{body:e};const t=e.length>dE,n=Ire(e);if(t){const r=e.slice(0,dE);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 Ire(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function Kh(e,t){const n=Lre(e);return ei(n,t)}function Lre(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 Ore(e,t,n){try{const r=await Pre(e,t,n),o=gI("resource.fetch",r);hI(n.replay,o)}catch(r){Ne&&$e.exception(r,"Failed to capture fetch breadcrumb")}}function Are(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 Pre(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=Kh(a,n.networkDetailAllowUrls)&&!Kh(a,n.networkDetailDenyUrls),p=d?Nre(n,t.input,c):nf(c),h=await $re(d,n,t.response,u);return{startTimestamp:o,endTimestamp:i,url:a,method:s,statusCode:l,request:p,response:h}}function Nre({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const o=n?Bre(n,t):{};if(!e)return ja(o,r,void 0);const i=r_(n),[a,s]=Fh(i,$e),l=ja(o,r,a);return s?Gh(l,s):l}async function $re(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,o){if(!e&&o!==void 0)return nf(o);const i=r?yI(r.headers,n):{};if(!r||!t&&o!==void 0)return ja(i,o,void 0);const[a,s]=await Dre(r),l=jre(a,{networkCaptureBodies:t,responseBodySize:o,captureDetails:e,headers:i});return s?Gh(l,s):l}function jre(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):nf(i)}catch(i){return Ne&&$e.exception(i,"Failed to serialize response body"),ja(o,n,void 0)}}async function Dre(e){const t=Fre(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await Ure(t)]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?(Ne&&$e.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(Ne&&$e.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 Bre(e,t){return e.length===1&&typeof e[0]!="string"?OE(e[0],t):e.length===2?OE(e[1],t):{}}function OE(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?yI(n,t):Array.isArray(n)?{}:Kv(n,t):{}}function Fre(e){try{return e.clone()}catch(t){Ne&&$e.exception(t,"Failed to clone response body")}}function Ure(e){return new Promise((t,n)=>{const r=Mc(()=>n(new Error("Timeout while trying to read response body")),500);Hre(e).then(o=>t(o),o=>n(o)).finally(()=>clearTimeout(r))})}async function Hre(e){return await e.text()}async function Vre(e,t,n){try{const r=Wre(e,t,n),o=gI("resource.xhr",r);hI(n.replay,o)}catch(r){Ne&&$e.exception(r,"Failed to capture xhr breadcrumb")}}function zre(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")):Yre(n.response,n.responseType);o!==void 0&&(e.data.request_body_size=o),i!==void 0&&(e.data.response_body_size=i)}function Wre(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||!Kh(l,n.networkDetailAllowUrls)||Kh(l,n.networkDetailDenyUrls)){const _=nf(d),w=nf(p);return{startTimestamp:o,endTimestamp:i,url:l,method:c,statusCode:u,request:_,response:w}}const h=s[Si],g=h?Kv(h.request_headers,n.networkRequestHeaders):{},v=Kv(qre(s),n.networkResponseHeaders),[b,m]=n.networkCaptureBodies?Fh(a,$e):[void 0],[y,E]=n.networkCaptureBodies?Gre(s):[void 0],C=ja(g,d,b),S=ja(v,p,y);return{startTimestamp:o,endTimestamp:i,url:l,method:c,statusCode:u,request:m?Gh(C,m):C,response:E?Gh(S,E):S}}function qre(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 Gre(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return Kre(e.response,e.responseType)}catch(n){t.push(n)}return Ne&&$e.warn("Failed to get xhr response body",...t),[void 0]}function Kre(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 Ne&&$e.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Ne&&$e.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function Yre(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return x0(n)}catch{return}}function Zre(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)=>Xre(s,l,c))}catch{}}function Xre(e,t,n){if(t.data)try{Jre(t)&&eoe(n)&&(zre(t,n),Vre(t,n,e)),Qre(t)&&toe(n)&&(Are(t,n),Ore(t,n,e))}catch(r){Ne&&$e.exception(r,"Error when enriching network breadcrumb")}}function Jre(e){return e.category==="xhr"}function Qre(e){return e.category==="fetch"}function eoe(e){return e==null?void 0:e.xhr}function toe(e){return e==null?void 0:e.response}function noe(e,{autoFlushOnFeedback:t}){const n=xe();ck(Lne(e)),_0(Rre(e)),vre(e),Zre(e);const r=xre(e);hT(r),n&&(n.on("beforeSendEvent",gre(e)),n.on("afterSendEvent",pre(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 roe(e){try{return Promise.all(w0(e,[ooe(It.performance.memory)]))}catch{return[]}}function ooe(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 ioe(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=Mc(s,t),a&&i===void 0&&(i=Mc(s,a)),r}return u.cancel=l,u.flush=c,u}const Fr=ze.navigator;function aoe(){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 soe(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){Ne&&$e.warn("Received replay event after session expired.");return}const o=r||!t;t=!0,e.clickDetector&&Mne(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(coe(e,o),e.recordingMode==="buffer"&&i&&e.eventBuffer){const a=e.eventBuffer.getEarliestTimestamp();a&&(Ne&&$e.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 loe(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 coe(e,t){!t||!e.session||e.session.segmentId!==0||v_(e,loe(e),!1)}function uoe(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 doe({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 foe({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,Sn());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 poe({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:o,session:i}){const a=doe({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:zee,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 foe({scope:p,client:d,replayId:t,event:v});if(!b)return d.recordDroppedEvent("event_processor","replay"),Ne&&$e.info("An event processor returned `null`, will not send event."),Fi({});delete b.sdkProcessingMetadata;const m=uoe(b,a,g,d.getOptions().tunnel);let y;try{y=await h.send(m)}catch(C){const S=new Error(a_);try{S.cause=C}catch{}throw S}if(typeof y.statusCode=="number"&&(y.statusCode<200||y.statusCode>=300))throw new vI(y.statusCode);const E=wT({},y);if(CT(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:Zee}){const{recordingData:n,onError:r}=e;if(n.length)try{return await poe(e),!0}catch(o){if(o instanceof vI||o instanceof b_)throw o;if(fT("Replays",{_retryCount:t.count}),r&&r(o),t.count>=Xee){const i=new Error(`${a_} - max retries exceeded`);try{i.cause=o}catch{}throw i}return t.interval*=++t.count,new Promise((i,a)=>{Mc(async()=>{try{await _I(e,t),i(!0)}catch(s){a(s)}},t.interval)})}}const bI="__THROTTLED",hoe="__SKIPPED";function moe(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?hoe:bI}a=!1;const c=r.get(l)||0;return r.set(l,c+1),e(...s)}}class goe{constructor({options:t,recordingOptions:n}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:Wee,sessionIdleExpire:qee},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=ioe(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=moe((a,s)=>ure(this,a,s),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:o}=this.getOptions(),i=r?{threshold:Math.min(Jee,r),timeout:r,scrollTimeout:Qee,ignoreSelector:o?o.join(","):""}:void 0;if(i&&(this.clickDetector=new Sne(this,i)),Ne){const a=t._experiments;$e.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=>{Nne(this,a)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){Ne&&$e.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){Ne&&$e.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",Ne&&$e.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){Ne&&$e.info("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){Ne&&$e.info("Buffering is in progress, call `flush()` to save the replay");return}Ne&&$e.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=y2({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){Ne&&$e.info("Buffering is in progress, call `flush()` to save the replay");return}Ne&&$e.infoTick("Starting replay in buffer mode");const t=y2({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:Yee}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:soe(this),...aoe(),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{Ne&&$e.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,ire(this)}catch(o){this.handleException(o)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Ne&&$e.info("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),Ne&&$e.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();Ne&&$e.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:mne,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=nre({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=y2({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||(noe(this,{autoFlushOnFeedback:this._options._experiments.autoFlushOnFeedback}),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=Yne(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()){Ne&&$e.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=Bne(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){Ne&&$e.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!!((n=this.eventBuffer)!=null&&n.hasEvents)&&(await roe(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()){Ne&&$e.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){Ne&&$e.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&&Ne&&$e.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 Au(e,t){return[...e,...t].join(",")}function yoe({mask:e,unmask:t,block:n,unblock:r,ignore:o}){const i=["base","iframe[srcdoc]:not([src])"],a=Au(e,[".sentry-mask","[data-sentry-mask]"]),s=Au(t,[]);return{maskTextSelector:a,unmaskTextSelector:s,blockSelector:Au(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:Au(r,[]),ignoreSelector:Au(o,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function voe({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 AE='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',_oe=["content-length","content-type","accept"];let PE=!1;const boe=e=>new Eoe(e);class Eoe{constructor({flushMinDelay:t=Gee,flushMaxDelay:n=Kee,minReplayDuration:r=ete,maxReplayDuration:o=fE,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:C=[],mask:S=[],maskAttributes:_=["title","placeholder"],unmask:w=[],block:R=[],unblock:T=[],ignore:I=[],maskFn:D,beforeAddRecordingEvent:F,beforeErrorSampling:q,onError:W}={}){this.name="Replay";const Q=yoe({mask:S,unmask:w,block:R,unblock:T,ignore:I});if(this._recordingOptions={maskAllInputs:u,maskAllText:c,maskInputOptions:{password:!0},maskTextFn:D,maskInputFn:D,maskAttributeFn:(H,re,B)=>voe({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,tte),maxReplayDuration:Math.min(o,fE),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:NE(E),networkResponseHeaders:NE(C),beforeAddRecordingEvent:F,beforeErrorSampling:q,onError:W,_experiments:l},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${AE}`:AE),this._isInitialized&&Av())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return PE}set _isInitialized(t){PE=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 goe({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=Bs(n.replaysSessionSampleRate),i=Bs(n.replaysOnErrorSampleRate);return o==null&&i==null&&Gs(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),o!=null&&(r.sessionSampleRate=o),i!=null&&(r.errorSampleRate=i),r}function NE(e){return[..._oe,...e.map(t=>t.toLowerCase())]}function Coe(){const e=xe();return e==null?void 0:e.getIntegrationByName("Replay")}var woe=Object.defineProperty,xoe=(e,t,n)=>t in e?woe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$E=(e,t,n)=>xoe(e,typeof t!="symbol"?t+"":t,n);class Moe{constructor(){$E(this,"idNodeMap",new Map),$E(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 Roe(){return new Moe}function Toe(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 jE(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(Toe(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}const El=`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 DE={map:{},getId(){return console.error(El),-1},getNode(){return console.error(El),null},removeNodeFromMap(){console.error(El)},has(){return console.error(El),!1},reset(){console.error(El)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(DE=new Proxy(DE,{get(e,t,n){return t==="map"&&console.error(El),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){SI(()=>{n.set.call(this,a)},0),i&&i.set&&i.set.call(this,a)}}),()=>E_(e,t,i||{},!0)}function S_(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 koe(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=koe(e);if(!i)return!1;const a=jE(t,n),s=Yv(i,a);let l=-1;return s<0?!1:(r&&(l=Yv(i,jE(null,r))),s>-1&&l<0?!0:s<l)}const BE={};function EI(e){const t=BE[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 BE[e]=r.bind(window)}function as(...e){return EI("requestAnimationFrame")(...e)}function SI(...e){return EI("setTimeout")(...e)}var Lc=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(Lc||{});let M1;function Ioe(e){M1=e}const v2=e=>M1?(...n)=>{try{return e(...n)}catch(r){if(M1&&M1(r)===!0)return()=>{};throw r}}:e;var Vl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Loe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Dp=0;Dp<Vl.length;Dp++)Loe[Vl.charCodeAt(Dp)]=Dp;var Ooe=function(e){var t=new Uint8Array(e),n,r=t.length,o="";for(n=0;n<r;n+=3)o+=Vl[t[n]>>2],o+=Vl[(t[n]&3)<<4|t[n+1]>>4],o+=Vl[(t[n+1]&15)<<2|t[n+2]>>6],o+=Vl[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 FE=new Map;function Aoe(e,t){let n=FE.get(e);return n||(n=new Map,FE.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const CI=(e,t,n)=>{if(!e||!(xI(e,t)||typeof e=="object"))return;const r=e.constructor.name,o=Aoe(n,r);let i=o.indexOf(e);return i===-1&&(i=o.length,o.push(e)),i};function R1(e,t,n){if(e instanceof Array)return e.map(r=>R1(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=Ooe(e);return{rr_type:r,base64:o}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[R1(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:[R1(e.data,t,n),e.width,e.height]};if(xI(e,t)||typeof e=="object"){const r=e.constructor.name,o=CI(e,t,n);return{rr_type:r,index:o}}}}return e}const wI=(e,t,n)=>e.map(r=>R1(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 Poe(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=S_(t.CanvasRenderingContext2D.prototype,s,function(c){return function(...u){return M0(this.canvas,n,r,o,!0)||SI(()=>{const d=wI(u,t,this);e(this.canvas,{type:Lc["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:Lc["2D"],property:s,args:[c],setter:!0})}});i.push(l)}return()=>{i.forEach(s=>s())}}function Noe(e){return e==="experimental-webgl"?"webgl":e}function UE(e,t,n,r,o){const i=[];try{const a=S_(e.HTMLCanvasElement.prototype,"getContext",function(s){return function(l,...c){if(!M0(this,t,n,r,!0)){const u=Noe(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 HE(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=S_(e,u,function(p){return function(...h){const g=p.apply(this,h);if(CI(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 $oe(e,t,n,r,o,i){const a=[];return a.push(...HE(t.WebGLRenderingContext.prototype,Lc.WebGL,e,n,r,o,i,t)),typeof t.WebGL2RenderingContext<"u"&&a.push(...HE(t.WebGL2RenderingContext.prototype,Lc.WebGL2,e,n,r,o,i,t)),()=>{a.forEach(s=>s())}}const joe='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 Doe(){const e=new Blob([joe]);return URL.createObjectURL(e)}class Boe{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&&Ioe(u),(l&&typeof n=="number"||t.enableManualSnapshot)&&(this.worker=this.initFPSWorker()),this.addWindow(r),!t.enableManualSnapshot&&v2(()=>{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}v2(()=>{if(a&&n==="all"&&this.initCanvasMutationObserver(t,r,o,i),a&&typeof n=="number"){const l=UE(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(Doe());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:Lc["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=UE(t,n,r,o,!1),a=Poe(this.processMutation.bind(this),t,n,r,o),s=$oe(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=>{v2(()=>{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 bC;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((bC=e.contentWindow)==null?void 0:bC.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}Roe();var VE;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(VE||(VE={}));const zE={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}}},Foe="ReplayCanvas",Bp=1280,Uoe=(e={})=>{const[t,n]=e.maxCanvasSize||[],r={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,Bp):Bp,n?Math.min(n,Bp):Bp]};let o;const i=new Promise(a=>o=a);return{name:Foe,getOptions(){const{quality:a,enableManualSnapshot:s,maxCanvasSize:l}=r;return{enableManualSnapshot:s,recordCanvas:!0,getCanvasManager:c=>{const u=new Boe({...c,enableManualSnapshot:s,maxCanvasSize:l,errorHandler:d=>{try{typeof d=="object"&&(d.__rrweb__=!0)}catch{}}});return o(u),u},...zE[a]||zE.medium}},async snapshot(a){(await i).snapshot(a)}}},Hoe=Uoe,Qr=ze,lt=Qr.document,Wu=Qr.navigator,MI="Report a Bug",Voe="Cancel",zoe="Send Bug Report",Woe="Confirm",qoe="Report a Bug",Goe="your.email@example.org",Koe="Email",Yoe="What's the bug? What did you expect?",Zoe="Description",Xoe="Your Name",Joe="Name",Qoe="Thank you for your report!",eie="(required)",tie="Add a screenshot",nie="Remove screenshot",rie="widget",oie="api",iie=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:oie,url:Ks(),...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")})})},T1=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function aie(){return!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(Wu.userAgent)||/Macintosh/i.test(Wu.userAgent)&&Wu.maxTouchPoints&&Wu.maxTouchPoints>1||!isSecureContext)}function Fp(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 sie(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 fl=20,lie="http://www.w3.org/2000/svg";function cie(){const e=s=>Qr.document.createElementNS(lie,s),t=xr(e("svg"),{width:`${fl}`,height:`${fl}`,viewBox:`0 0 ${fl} ${fl}`,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:`${fl}`,height:`${fl}`,fill:"white"});return i.appendChild(a),o.appendChild(i),t.appendChild(o).appendChild(i).appendChild(a),t}function uie({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(cie()),e){const a=lt.createElement("span");a.appendChild(lt.createTextNode(e)),o.appendChild(a)}const i=sie(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)",die={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%)"},WE={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 qE(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 fie({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
|
+
${qE(e==="dark"?{...WE,...t}:{...die,...n})}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
${e==="system"?`
|
|
365
|
+
@media (prefers-color-scheme: dark) {
|
|
366
|
+
:host {
|
|
367
|
+
${qE({...WE,...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:C=tie,cancelButtonLabel:S=Voe,confirmButtonLabel:_=Woe,emailLabel:w=Koe,emailPlaceholder:R=Goe,formTitle:T=qoe,isRequiredLabel:I=eie,messageLabel:D=Zoe,messagePlaceholder:F=Yoe,nameLabel:q=Joe,namePlaceholder:W=Xoe,removeScreenshotButtonLabel:Q=nie,submitButtonLabel:H=zoe,successMessageText:re=Qoe,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:w,emailPlaceholder:R,messageLabel:D,messagePlaceholder:F,nameLabel:q,namePlaceholder:W,successMessageText:re,isRequiredLabel:I,addScreenshotButtonLabel:C,removeScreenshotButtonLabel:Q,onFormClose:P,onFormOpen:$,onSubmitError:O,onSubmitSuccess:N,onFormSubmitted:x,_experiments:h};let j=null,J=[];const L=V=>{if(!j){const Y=lt.createElement("div");Y.id=String(V.id),lt.body.appendChild(Y),j=Y.attachShadow({mode:"open"}),j.appendChild(fie(V))}return j},U=async V=>{const Y=V.enableScreenshot&&aie();let ue,pe;try{ue=(t?t():await e("feedbackModalIntegration",b))(),Tv(ue)}catch{throw T1&&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 Ce=Y?n?n():await e("feedbackScreenshotIntegration",b):void 0;Ce&&(pe=Ce(),Tv(pe))}catch{T1&&ne.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}const be=ue.createDialog({options:{...V,onFormClose:()=>{var Ce;be==null||be.close(),(Ce=V.onFormClose)==null||Ce.call(V)},onFormSubmitted:()=>{var Ce;be==null||be.close(),(Ce=V.onFormSubmitted)==null||Ce.call(V)}},screenshotIntegration:pe,sendFeedback:RI,shadow:L(V)});return be},G=(V,Y={})=>{const ue=Fp(k,Y),pe=typeof V=="string"?lt.querySelector(V):typeof V.addEventListener=="function"?V:null;if(!pe)throw T1&&ne.error("[Feedback] Unable to attach to target element"),new Error("Unable to attach to target element");let be=null;const Ce=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",Ce);const ke=()=>{J=J.filter(pt=>pt!==ke),be==null||be.removeFromDom(),be=null,pe.removeEventListener("click",Ce)};return J.push(ke),ke},z=(V={})=>{const Y=Fp(k,V),ue=L(Y),pe=uie({triggerLabel:Y.triggerLabel,triggerAriaLabel:Y.triggerAriaLabel,shadow:ue,styleNonce:v});return G(pe.el,{...Y,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 Y=z(Fp(k,V));return Y.appendToDom(),Y},async createForm(V={}){return U(Fp(k,V))},remove(){var V;j&&((V=j.parentElement)==null||V.remove(),j=null),J.forEach(Y=>Y()),J=[]}}};function pie(){const e=xe();return e==null?void 0:e.getIntegrationByName("Feedback")}var R0,Rt,II,ps,GE,LI,Zv,rf={},C_=[],hie=/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 k1(e,a,r,o,null)}function k1(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 jf(e){return e.children}function I1(e,t){this.props=e,this.context=t}function Oc(e,t){if(t==null)return e.__?Oc(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"?Oc(e):null}function mie(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??Oc(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 KE(e){(!e.__d&&(e.__d=!0)&&ps.push(e)&&!Yh.__r++||GE!==Rt.debounceRendering)&&((GE=Rt.debounceRendering)||LI)(Yh)}function Yh(){var e,t,n,r=[],o=[];for(ps.sort(Zv);e=ps.shift();)e.__d&&(n=ps.length,t=mie(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,C_));t&&Xv(r,t,o),Yh.__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||C_,m=t.length;for(n.__d=l,gie(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?rf:b[h.__i]||rf,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 gie(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?k1(null,o,null,null,o):w_(o)?k1(jf,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?k1(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=yie(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=Oc(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=Oc(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 yie(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 YE(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||hie.test(t)?n:n+"px"}function Up(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||YE(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||YE(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?XE:ZE,i)):e.removeEventListener(t,i?XE:ZE,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 ZE(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 XE(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,C,S,_,w,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 I1(m,E),d.constructor=T,d.render=_ie),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)}),C=0;C<d._sb.length;C++)d.__h.push(d._sb[C]);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),w=0;w<d._sb.length;w++)d.__h.push(d._sb[w]);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===jf&&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=vie(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 vie(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||rf,!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||Up(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||Up(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&&Oc(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])&&Up(e,c,g,b[c],!1),c="checked",v!==void 0&&v!==e[c]&&Up(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 _ie(e,t,n){return this.constructor(e,n)}function bie(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(jf,null,[e]),o||rf,rf,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=C_.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,I1.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),KE(this))},I1.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),KE(this))},I1.prototype.render=jf,ps=[],LI=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Zv=function(e,t){return e.__v.__b-t.__v.__b},Yh.__r=0;var qi,Mt,_2,JE,Ac=0,$I=[],L1=[],Vt=Rt,QE=Vt.__b,eS=Vt.__r,tS=Vt.diffed,nS=Vt.__c,rS=Vt.unmount,oS=Vt.__;function Xs(e,t){Vt.__h&&Vt.__h(Mt,e,Ac||t),Ac=0;var n=Mt.__H||(Mt.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:L1}),n.__[e]}function Ss(e){return Ac=1,jI(BI,e)}function jI(e,t,n){var r=Xs(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 Eie(e,t){var n=Xs(qi++,3);!Vt.__s&&R_(n.__H,t)&&(n.__=e,n.i=t,Mt.__H.__h.push(n))}function DI(e,t){var n=Xs(qi++,4);!Vt.__s&&R_(n.__H,t)&&(n.__=e,n.i=t,Mt.__h.push(n))}function Sie(e){return Ac=5,Df(function(){return{current:e}},[])}function Cie(e,t,n){Ac=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 Df(e,t){var n=Xs(qi++,7);return R_(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function ec(e,t){return Ac=8,Df(function(){return e},t)}function wie(e){var t=Mt.context[e.__c],n=Xs(qi++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Mt)),t.props.value):e.__}function xie(e,t){Vt.useDebugValue&&Vt.useDebugValue(t?t(e):e)}function Mie(e){var t=Xs(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 Rie(){var e=Xs(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 Tie(){for(var e;e=$I.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(O1),e.__H.__h.forEach(Qv),e.__H.__h=[]}catch(t){e.__H.__h=[],Vt.__e(t,e.__v)}}Vt.__b=function(e){Mt=null,QE&&QE(e)},Vt.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),oS&&oS(e,t)},Vt.__r=function(e){eS&&eS(e),qi=0;var t=(Mt=e.__c).__H;t&&(_2===Mt?(t.__h=[],Mt.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=L1,n.__N=n.i=void 0})):(t.__h.forEach(O1),t.__h.forEach(Qv),t.__h=[],qi=0)),_2=Mt},Vt.diffed=function(e){tS&&tS(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&($I.push(t)!==1&&JE===Vt.requestAnimationFrame||((JE=Vt.requestAnimationFrame)||kie)(Tie)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==L1&&(n.__=n.__V),n.i=void 0,n.__V=L1})),_2=Mt=null},Vt.__c=function(e,t){t.some(function(n){try{n.__h.forEach(O1),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)}}),nS&&nS(e,t)},Vt.unmount=function(e){rS&&rS(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{O1(r)}catch(o){t=o}}),n.__H=void 0,t&&Vt.__e(t,n.__v))};var iS=typeof requestAnimationFrame=="function";function kie(e){var t,n=function(){clearTimeout(r),iS&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);iS&&(t=requestAnimationFrame(n))}function O1(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 Iie=Object.defineProperty({__proto__:null,useCallback:ec,useContext:wie,useDebugValue:xie,useEffect:Eie,useErrorBoundary:Mie,useId:Rie,useImperativeHandle:Cie,useLayoutEffect:DI,useMemo:Df,useReducer:jI,useRef:Sie,useState:Ss},Symbol.toStringTag,{value:"Module"}),Lie="http://www.w3.org/2000/svg";function Oie(){const e=r=>lt.createElementNS(Lie,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 Aie({options:e}){const t=Df(()=>({__html:Oie().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 Pie(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 b2(e,t){const n=e.get(t);return typeof n=="string"?n.trim():""}function Nie({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:C,namePlaceholder:S,submitButtonLabel:_,isRequiredLabel:w}=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=ec($=>{H($),q(!1)},[]),B=ec($=>{const P=Pie($,{emailLabel:g,isEmailRequired:b,isNameRequired:m,messageLabel:y,nameLabel:C});return P.length>0?D(`Please enter in the following required fields: ${P.join(", ")}`):D(null),P.length===0},[g,b,m,y,C]),ee=ec(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:b2(P,"name"),email:b2(P,"email"),message:b2(P,"message"),attachments:N?[N]:void 0};if(!B(O))return;try{await o({name:O.name,email:O.email,message:O.message,source:rie,tags:u},{attachments:O.attachments}),i(O)}catch(x){T1&&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(E2,{label:C,isRequiredLabel:w,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(E2,{label:g,isRequiredLabel:w,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(E2,{label:y,isRequiredLabel:w,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 E2({label:e,isRequired:t,isRequiredLabel:n}){return Ye("span",{class:"form__label__text"},e,t&&Ye("span",{class:"form__label__text--required"},n))}const Hp=16,aS=17,$ie="http://www.w3.org/2000/svg";function jie(){const e=l=>Qr.document.createElementNS($ie,l),t=xr(e("svg"),{width:`${Hp}`,height:`${aS}`,viewBox:`0 0 ${Hp} ${aS}`,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:`${Hp}`,height:`${Hp}`,fill:"white",transform:"translate(0 0.5)"});return a.appendChild(s),i.appendChild(a),t.appendChild(i).appendChild(a).appendChild(s),t}function Die({open:e,onFormSubmitted:t,...n}){const r=n.options,o=Df(()=>({__html:jie().outerHTML}),[]),[i,a]=Ss(null),s=ec(()=>{i&&(clearTimeout(i),a(null)),t()},[i]),l=ec(c=>{n.onSubmitSuccess(c),a(setTimeout(()=>{t(),a(null)},iie))},[t]);return Ye(jf,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(Aie,{options:r}),Ye(Nie,{...n,onSubmitSuccess:l})))))}const Bie=`
|
|
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
|
+
`,Fie=`
|
|
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
|
+
`,Uie=`
|
|
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
|
+
`,Hie=`
|
|
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
|
+
`,Vie=`
|
|
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 zie(e){const t=lt.createElement("style");return t.textContent=`
|
|
652
|
+
:host {
|
|
653
|
+
--dialog-inset: var(--inset);
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
${Bie}
|
|
657
|
+
${Fie}
|
|
658
|
+
${Uie}
|
|
659
|
+
${Hie}
|
|
660
|
+
${Vie}
|
|
661
|
+
`,e&&t.setAttribute("nonce",e),t}function Wie(){const e=rt().getUser(),t=Sn().getUser(),n=N5().getUser();return e&&Object.keys(e).length?e:t&&Object.keys(t).length?t:n}const qie=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:n,shadow:r})=>{const o=r,i=e.useSentryUser,a=Wie(),s=lt.createElement("div"),l=zie(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:Iie,dialog:u,options:e}),p=h=>{bie(Ye(Die,{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 Gie({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 Kie({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 qu=30,di=3,aa=qu+di,Do=Qr.devicePixelRatio,sS=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)}),lS=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 Yie({h:e,hooks:t,options:n}){const r=Kie({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 w=lS(a),R=sS(c);_.clearRect(0,0,w.width,w.height),i==="crop"&&(_.fillStyle="rgba(0, 0, 0, 0.5)",_.fillRect(0,0,w.width,w.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 w=s.current,R=w.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,w.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,w.height/Do),D.startY+aa)}));break;case"bottom-right":u(D=>({...D,endX:Math.max(Math.min(T,w.width/Do),D.startX+aa),endY:Math.max(Math.min(I,w.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}})},w=()=>{lt.removeEventListener("mousemove",_),lt.removeEventListener("mouseup",w)};lt.addEventListener("mousemove",_),lt.addEventListener("mouseup",w)},E=(S,_)=>{g(!0);const w=m(_),R=()=>{lt.removeEventListener("mousemove",w),lt.removeEventListener("mouseup",R),b(!0),g(!1)};lt.addEventListener("mouseup",R),lt.addEventListener("mousemove",w)};function C(){const S=lt.createElement("canvas"),_=lS(a),w=sS(c);S.width=w.width*Do,S.height=w.height*Do;const R=S.getContext("2d");R&&a&&R.drawImage(a,w.x/_.width*a.width,w.y/_.height*a.height,w.width/_.width*a.width,w.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=`${w.width}px`,a.style.height=`${w.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-qu+di,top:c.startY-di,onGrabButton:E,corner:"top-right"}),e(r,{left:c.startX-di,top:c.endY-qu+di,onGrabButton:E,corner:"bottom-left"}),e(r,{left:c.endX-qu+di,top:c.endY-qu+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(),C(),b(!1)},class:"btn btn--primary"},n.confirmButtonLabel)))}}function Zie(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 Xie({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 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:"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 Qie({h:e}){return function({action:n,setAction:r}){const o=Jie({h:e}),i=Xie({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 eae({hooks:e}){return function({onBeforeScreenshot:n,onScreenshot:r,onAfterScreenshot:o,onError:i}){e.useEffect(()=>{(async()=>{n();const s=await Wu.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 Vp=Qr.devicePixelRatio,tae=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 nae({h:e,hooks:t,imageBuffer:n,dialog:r,options:o}){const i=eae({hooks:t}),a=Qie({h:e}),s=Gie({h:e}),l=Yie({h:e,hooks:t,options:o});return function({onError:u}){const d=t.useMemo(()=>({__html:Zie(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 C(_,w){const R=_.current;if(!R)return;R.width=w.width*Vp,R.height=w.height*Vp,R.style.width=`${w.width}px`,R.style.height=`${w.height}px`;const T=R.getContext("2d");T&&T.scale(Vp,Vp)}function S(){const _=tae(n);C(v,_),C(g,_);const w=h.current;w&&(w.style.width=`${_.width}px`,w.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 w=n.getContext("2d");if(!w)throw new Error("Could not get canvas context");n.width=_.videoWidth,n.height=_.videoHeight,n.style.width="100%",n.style.height="100%",w.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 rae=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:n,options:r})=>{const o=lt.createElement("canvas");return{input:nae({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"}}}}}),oae=kI({lazyLoadIntegration:wk}),cS=kI({getModalIntegration:()=>qie,getScreenshotIntegration:()=>rae}),uS=new WeakMap,S2=new Map,gd={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:gd.traceFetch,traceXHR:gd.traceXHR,trackFetchStreamPerformance:gd.trackFetchStreamPerformance,...t},l=typeof i=="function"?i:d=>!0,c=d=>sae(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&&PX(d=>{if(d.response){const p=uS.get(d.response);p&&d.endTimestamp&&S2.set(p,d.endTimestamp)}}),Z5(d=>{const p=MX(d,l,c,u);if(d.response&&d.fetchData.__span&&uS.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&&dS(p)})),r&&n_(d=>{const p=lae(d,l,c,u);a&&p&&dS(p)})}function iae(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function dS(e){const{url:t}=Je(e).data;if(!t||typeof t!="string")return;const n=xc("resource",({entries:r})=>{r.forEach(o=>{iae(o)&&o.name.endsWith(t)&&(aae(o).forEach(a=>e.setAttribute(...a)),setTimeout(n))})})}function Bo(e=0){return((Er()||performance.timeOrigin)+e)/1e3}function aae(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 sae(e,t){const n=Ks();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 lae(e,t,n,r){const o=e.xhr,i=o==null?void 0:o[Si];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?Xc({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)&&cae(o,Wa()&&p?h:void 0);const g=xe();return g&&g.emit("beforeOutgoingRequestSpan",h,e),h}function cae(e,t){const{"sentry-trace":n,baggage:r}=TT({span:t});n&&uae(e,n,r)}function uae(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 dae(){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 fae="BrowserTracing",pae={...S1,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...gd},hae=(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}={...pae,...e},E=$J({recordClsStandaloneSpans:a||!1});n&&sQ(),o&&ze.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?DJ():r&&jJ(),i&&BJ();const C={name:void 0,source:void 0};function S(_,w){const R=w.op==="pageload",T=s?s(w):w,I=T.attributes||{};w.name!==T.name&&(I[Jr]="custom",T.attributes=I),C.name=T.name,C.source=I[Jr];const D=cT(T,{idleTimeout:l,finalTimeout:c,childSpanTimeout:u,disableAutoFinish:R,beforeSpanEnd:q=>{E(),zJ(q,{recordClsOnPageloadSpan:!a}),pS(_,void 0);const W=rt(),Q=W.getPropagationContext();W.setPropagationContext({...Q,traceId:D.spanContext().traceId,sampled:Ys(D),dsc:ii(q)})}});pS(_,D);function F(){t&&["interactive","complete"].includes(t.readyState)&&_.emit("idleSpanEnableAutoFinish",D)}R&&t&&(t.addEventListener("readystatechange",()=>{F()}),F())}return{name:fae,afterAllSetup(_){let w=Ks();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(),Sn().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||fS("sentry-trace"),F=I.baggage||fS("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&&(w==null?void 0:w.indexOf(T))!==-1){w=void 0;return}I!==T&&(w=void 0,VI(_,{name:Pe.location.pathname,attributes:{[Jr]:"url",[pn]:"auto.navigation.browser"}}))})}d&&dae(),i&&mae(_,l,c,u,C),n&&cQ(),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 fS(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 mae(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 pS(e,t){br(e,zI,t)}function Pc(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function gae(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=Pc(n);return o=>r.then(i=>o(i.transaction(t,"readwrite").objectStore(t)))}function T_(e){return Pc(e.getAllKeys())}function yae(e,t,n){return e(r=>T_(r).then(o=>{if(!(o.length>=n))return r.put(t,Math.max(...o,0)+1),Pc(r.transaction)}))}function vae(e,t,n){return e(r=>T_(r).then(o=>{if(!(o.length>=n))return r.put(t,Math.min(...o,0)-1),Pc(r.transaction)}))}function _ae(e){return e(t=>T_(t).then(n=>{const r=n[0];if(r!=null)return Pc(t.get(r)).then(o=>(t.delete(r),Pc(t.transaction).then(()=>o)))}))}function bae(e){let t;function n(){return t==null&&(t=gae(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{push:async r=>{try{const o=await Nh(r);await yae(n(),o,e.maxQueueSize||30)}catch{}},unshift:async r=>{try{const o=await Nh(r);await vae(n(),o,e.maxQueueSize||30)}catch{}},shift:async()=>{try{const r=await _ae(n());if(r)return rY(r)}catch{}}}}function Eae(e){return t=>{const n=e({...t,createStore:bae});return Pe.addEventListener("online",async r=>{await n.flush()}),n}}function Sae(e=o_){return Eae(mZ(e))}const hS=1e6,A1=String(0),Cae="main",Yr=Pe.navigator;let WI="",qI="",GI="",e3=(Yr==null?void 0:Yr.userAgent)||"",KI="";var EC;const wae=(Yr==null?void 0:Yr.language)||((EC=Yr==null?void 0:Yr.languages)==null?void 0:EC[0])||"";function xae(e){return typeof e=="object"&&e!==null&&"getHighEntropyValues"in e}const mS=Yr==null?void 0:Yr.userAgentData;xae(mS)&&mS.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 Mae(e){return!("thread_metadata"in e)}function Rae(e){return Mae(e)?Iae(e):e}function Tae(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 kae(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=Tae(r),i=Rae(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:wae,model:KI,manufacturer:e3,architecture:GI,is_emulator:!1},debug_meta:{images:Aae(n.resources)},profile:i,transactions:[{name:r.transaction||"",id:r.event_id||nr(),trace_id:o,active_thread_id:A1,relative_start_ns:"0",relative_end_ns:((s-a)*1e6).toFixed(0)}]}}function YI(e){return Je(e).op==="pageload"}function Iae(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[A1]:{name:Cae}}},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)*hS).toFixed(0),stack_id:t,thread_id:A1};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)*hS).toFixed(0),stack_id:n,thread_id:A1};r.stacks[n]=p,r.samples[u]=h,n++}),r}function Lae(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n]);return e}function Oae(e){const t=[];return Fs(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 Aae(e){const t=xe(),n=t==null?void 0:t.getOptions(),r=n==null?void 0:n.stackParser;return r?wY(r,e):[]}function Pae(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 Nae(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 $ae(e){return typeof e=="function"}function jae(){const e=Pe.Profiler;if(!$ae(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 gS(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 Pae(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 Dae(e,t,n,r){return Nae(n)?kae(e,t,n,r):null}const Cs=new Map;function Bae(){return Cs.size}function Fae(e){const t=Cs.get(e);return t&&Cs.delete(e),t}function Uae(e,t){if(Cs.set(e,t),Cs.size>30){const n=Cs.keys().next().value;Cs.delete(n)}}function yS(e){let t;YI(e)&&(t=vn()*1e3);const n=jae();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}Uae(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 Hae="BrowserProfiling",Vae=()=>({name:Hae,setup(e){const t=Nn(),n=t&&_n(t);n&&YI(n)&&gS(n)&&yS(n),e.on("spanStart",r=>{r===_n(r)&&gS(r)&&yS(r)}),e.on("beforeEnvelope",r=>{var a,s;if(!Bae())return;const o=Oae(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=Fae(u);if(!p){Xe&&ne.log(`[Profiling] Could not retrieve profile for span: ${u}`);continue}const h=Dae(u,d,p,l);h&&i.push(h)}Lae(r,i)})}}),zae=Vae,Wae="SpotlightBrowser",qae=(e={})=>{const t=e.sidecarUrl||"http://localhost:8969/stream";return{name:Wae,setup:()=>{Xe&&ne.log("Using Sidecar URL",t)},processEvent:n=>Yae(n)?null:n,afterAllSetup:n=>{Gae(n,t)}}};function Gae(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:Nh(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 Kae=qae;function Yae(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 Zae=100;function Bf(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 Nc(e,t,n=Zae){const r=rt().getScopeData().contexts;r.flags||(r.flags={values:[]});const o=r.flags.values;Xae(o,e,t,n)}function Xae(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 Jae=()=>({name:"FeatureFlags",processEvent(e,t,n){return Bf(e)},addFeatureFlag(e,t){Nc(e,t)}}),Qae=()=>({name:"LaunchDarkly",processEvent(e,t,n){return Bf(e)}});function ese(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,t,n)=>{Nc(e,t.value)}}}const tse=()=>({name:"OpenFeature",processEvent(e,t,n){return Bf(e)}});class nse{after(t,n){Nc(n.flagKey,n.value)}error(t,n,r){Nc(t.flagKey,t.defaultValue)}}const rse=({featureFlagClientClass:e})=>({name:"Unleash",processEvent(t,n,r){return Bf(t)},setupOnce(){const t=e.prototype;Qn(t,"isEnabled",ose)}});function ose(e){return function(...t){const n=t[0],r=e.apply(this,t);return typeof n=="string"&&typeof r=="boolean"?Nc(n,r):Xe&&ne.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${n} (${typeof n}), result: ${r} (${typeof r})`),r}}const ise=({featureFlagClient:e})=>({name:"Statsig",processEvent(t,n,r){return Bf(t)},setup(){e.on("gate_evaluation",t=>{Nc(t.gate.name,t.gate.value)})}}),ase=Object.freeze(Object.defineProperty({__proto__:null,BrowserClient:KT,OpenFeatureIntegrationHook:nse,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:zae,browserSessionIntegration:vk,browserTracingIntegration:hae,buildLaunchDarklyFlagUsedHandler:ese,captureConsoleIntegration:YZ,captureEvent:If,captureException:m0,captureFeedback:BT,captureMessage:$h,captureSession:Rv,chromeStackLineParser:dk,close:GY,contextLinesIntegration:Nee,continueTrace:mY,createTransport:xT,createUserFeedbackEnvelope:LQ,dedupeIntegration:$T,defaultRequestInstrumentationOptions:gd,defaultStackLineParsers:pk,defaultStackParser:hk,endSession:G5,eventFiltersIntegration:IT,eventFromException:qT,eventFromMessage:GT,exceptionFromError:g0,extraErrorDataIntegration:oX,featureFlagsIntegration:Jae,feedbackAsyncIntegration:oae,feedbackIntegration:cS,feedbackSyncIntegration:cS,flush:qY,forceLoad:dee,functionToStringIntegration:kT,geckoStackLineParser:fk,getActiveSpan:Nn,getClient:xe,getCurrentScope:rt,getDefaultIntegrations:Ck,getFeedback:pie,getGlobalScope:N5,getIsolationScope:Sn,getReplay:Coe,getRootSpan:_n,getSpanDescendants:ud,getSpanStatusFromHttpCode:DR,globalHandlersIntegration:_k,graphqlClientIntegration:Vee,httpClientIntegration:Eee,httpContextIntegration:Ek,inboundFiltersIntegration:LT,init:cee,instrumentOutgoingRequests:FI,isInitialized:KY,lastEventId:pT,launchDarklyIntegration:Qae,lazyLoadIntegration:wk,linkedErrorsIntegration:Sk,makeBrowserOfflineTransport:Sae,makeFetchTransport:o_,makeMultiplexedTransport:vZ,moduleMetadataIntegration:WZ,onLoad:fee,openFeatureIntegration:tse,opera10StackLineParser:RQ,opera11StackLineParser:IQ,parameterize:EZ,registerSpanErrorInstrumentation:XR,replayCanvasIntegration:Hoe,replayIntegration:boe,reportingObserverIntegration:vee,rewriteFramesIntegration:pX,sendFeedback:RI,setContext:fT,setCurrentClient:ET,setExtra:HY,setExtras:UY,setHttpStatus:D5,setMeasurement:sT,setTag:zY,setTags:VY,setUser:WY,showReportDialog:uee,spanToBaggageHeader:UK,spanToJSON:Je,spanToTraceHeader:GR,spotlightBrowserIntegration:Kae,startBrowserTracingNavigationSpan:VI,startBrowserTracingPageLoadSpan:HI,startInactiveSpan:Xc,startNewTrace:yY,startSession:Mv,startSpan:pY,startSpanManual:hY,statsigIntegration:ise,suppressTracing:gY,thirdPartyErrorFilterIntegration:wX,unleashIntegration:rse,updateSpanName:FK,winjsStackLineParser:wQ,withActiveSpan:Tf,withIsolationScope:CK,withScope:Ao,zodErrorsIntegration:CX},Symbol.toStringTag,{value:"Module"})),sse=e=>{typeof window<"u"&&window.Sentry&&e(ase)},lse=(e,t)=>M.useEffect(()=>{const n=e().catch(r=>{console.error("AsyncEffect error: ",r),sse(o=>o.captureException("AsyncEffect error: "+r.message,{extra:r}))});return function(){n.then(r=>{typeof r=="function"&&r()})}},t),pl="Unknown";function k_(){const[e,t]=M.useState(!0),[n,r]=M.useState();return lse(async()=>{t(!0);const o=new ri(navigator.userAgent),i=o.getResult(),a=await i.withClientHints(),s={name:i.browser.name??pl,version:i.browser.version??pl},l={name:i.engine.name??pl,version:i.engine.version??pl},[c,u]=await Promise.all([o.getOS().withClientHints(),o.getCPU().withClientHints()]),d={name:c.name??pl,version:c.version??pl};let p;u.architecture?p=u.architecture:p=d.name==="macOS"&&qG(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]}X("span")(({theme:e})=>({color:e.palette.text.primary,fontFamily:e.typography.fontFamily}));const cse=X("div",{shouldForwardProp:e=>e!=="inline"})(e=>({width:"inherit",height:"inherit",display:e.inline?"inline-flex":"flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"})),use=X(_z)(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"}}}),dse=K.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(cse,{inline:n,children:f.jsx(use,{src:o,...r})})});var JI={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 C=0;C<m.length;C++)v.push(m[C])}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)})()})(JI);var fse=JI.exports;const pse=X("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}}}),hse=X(je)({marginLeft:"0.5em"});K.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),fse.render(c(),l.current))},[c,i,a]);M.useEffect(()=>{u()},[u]);const d=f.jsx(pse,{scale:a,size:i,ref:l});return s?f.jsxs(je,{component:"span",children:[d,f.jsx(hse,{component:"span",children:s})]}):d});var _e={},QI={},eL={},tL={},de={},t3={exports:{}},nL={},ro={},$c={},nu={},Be={},jc={};(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,C)=>`${E}${C}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((E,C)=>(C instanceof n&&(E[C.str]=(E[C.str]||0)+1),E),{})}}e._Code=r,e.nil=new r("");function o(m,...y){const E=[m[0]];let C=0;for(;C<y.length;)s(E,y[C]),E.push(m[++C]);return new r(E)}e._=o;const i=new r("+");function a(m,...y){const E=[h(m[0])];let C=0;for(;C<y.length;)E.push(i),s(E,y[C]),E.push(i,h(m[++C]));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})(jc);var n3={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=jc;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=jc,n=n3;var r=jc;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 C 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 w extends h{render(x){return"return "+super.render(x)}}w.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 C(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 w;if(this._blockNode(k),this.code(x),k.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(w)}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,mse=jc;function gse(e){const t={};for(const n of e)t[n]=!0;return t}he.toHash=gse;function yse(e,t){return typeof t=="boolean"?t:Object.keys(t).length===0?!0:(rL(e,t),!oL(t,e.self.RULES.all))}he.alwaysValidSchema=yse;function rL(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]||sL(e,`unknown keyword: "${i}"`)}he.checkUnknownRules=rL;function oL(e,t){if(typeof e=="boolean")return!e;for(const n in e)if(t[n])return!0;return!1}he.schemaHasRules=oL;function vse(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=vse;function _se({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=_se;function bse(e){return iL(decodeURIComponent(e))}he.unescapeFragment=bse;function Ese(e){return encodeURIComponent(I_(e))}he.escapeFragment=Ese;function I_(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}he.escapeJsonPointer=I_;function iL(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}he.unescapeJsonPointer=iL;function Sse(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)}he.eachItem=Sse;function vS({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:vS({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} || {}`),L_(e,n,t))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:aL}),items:vS({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 aL(e,t){if(t===!0)return e.var("props",!0);const n=e.var("props",(0,xt._)`{}`);return t!==void 0&&L_(e,n,t),n}he.evaluatedPropsToName=aL;function L_(e,t,n){Object.keys(n).forEach(r=>e.assign((0,xt._)`${t}${(0,xt.getProperty)(r)}`,!0))}he.setEvaluated=L_;const _S={};function Cse(e,t){return e.scopeValue("func",{ref:t,code:_S[t.code]||(_S[t.code]=new mse._Code(t.code))})}he.useFunc=Cse;var r3;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(r3||(he.Type=r3={}));function wse(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():"/"+I_(e)}he.getErrorPath=wse;function sL(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=sL;var Po={};Object.defineProperty(Po,"__esModule",{value:!0});const Dn=Be,xse={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=xse;(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:C}=b,{gen:S,compositeRule:_,allErrors:w}=C,R=d(b,m,y);E??(_||w)?l(S,R):c(C,(0,t._)`[${R}]`)}e.reportError=o;function i(b,m=e.keywordError,y){const{it:E}=b,{gen:C,compositeRule:S,allErrors:_}=E,w=d(b,m,y);l(C,w),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:C,it:S}){if(C===void 0)throw new Error("ajv implementation error");const _=b.name("err");b.forRange("i",C,r.default.errors,w=>{b.const(_,(0,t._)`${r.default.vErrors}[${w}]`),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:C}=b;C.$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:C}=b,S=[h(C,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 C=E?m:(0,t.str)`${m}/${b}`;return y&&(C=(0,t.str)`${C}${(0,n.getErrorPath)(y,n.Type.Str)}`),[u.schemaPath,C]}function v(b,{params:m,message:y},E){const{keyword:C,data:S,schemaValue:_,it:w}=b,{opts:R,propertyName:T,topSchemaRef:I,schemaPath:D}=w;E.push([u.keyword,C],[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])}})(nu);Object.defineProperty($c,"__esModule",{value:!0});$c.boolOrEmptySchema=$c.topBoolOrEmptySchema=void 0;const Mse=nu,Rse=Be,Tse=Po,kse={message:"boolean schema is false"};function Ise(e){const{gen:t,schema:n,validateName:r}=e;n===!1?lL(e,!1):typeof n=="object"&&n.$async===!0?t.return(Tse.default.data):(t.assign((0,Rse._)`${r}.errors`,null),t.return(!0))}$c.topBoolOrEmptySchema=Ise;function Lse(e,t){const{gen:n,schema:r}=e;r===!1?(n.var(t,!1),lL(e)):n.var(t,!0)}$c.boolOrEmptySchema=Lse;function lL(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,Mse.reportError)(o,kse,void 0,t)}var un={},Us={};Object.defineProperty(Us,"__esModule",{value:!0});Us.getRules=Us.isJSONType=void 0;const Ose=["string","number","integer","boolean","null","object","array"],Ase=new Set(Ose);function Pse(e){return typeof e=="string"&&Ase.has(e)}Us.isJSONType=Pse;function Nse(){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:{}}}Us.getRules=Nse;var Ti={};Object.defineProperty(Ti,"__esModule",{value:!0});Ti.shouldUseRule=Ti.shouldUseGroup=Ti.schemaHasRulesForType=void 0;function $se({schema:e,self:t},n){const r=t.RULES.types[n];return r&&r!==!0&&cL(e,r)}Ti.schemaHasRulesForType=$se;function cL(e,t){return t.rules.some(n=>uL(e,n))}Ti.shouldUseGroup=cL;function uL(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=uL;Object.defineProperty(un,"__esModule",{value:!0});un.reportTypeError=un.checkDataTypes=un.checkDataType=un.coerceAndCheckDataType=un.getJSONTypes=un.getSchemaTypes=un.DataType=void 0;const jse=Us,Dse=Ti,Bse=nu,qe=Be,dL=he;var tc;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(tc||(un.DataType=tc={}));function Fse(e){const t=fL(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=Fse;function fL(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(jse.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}un.getJSONTypes=fL;function Use(e,t){const{gen:n,data:r,opts:o}=e,i=Hse(t,o.coerceTypes),a=t.length>0&&!(i.length===0&&t.length===1&&(0,Dse.schemaHasRulesForType)(e,t[0]));if(a){const s=O_(t,r,o.strictNumbers,tc.Wrong);n.if(s,()=>{i.length?Vse(e,t,i):A_(e)})}return a}un.coerceAndCheckDataType=Use;const pL=new Set(["string","number","integer","boolean","null"]);function Hse(e,t){return t?e.filter(n=>pL.has(n)||t==="array"&&n==="array"):[]}function Vse(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(O_(t,o,i.strictNumbers),()=>r.assign(s,o))),r.if((0,qe._)`${s} !== undefined`);for(const c of n)(pL.has(c)||c==="array"&&i.coerceTypes==="array")&&l(c);r.else(),A_(e),r.endIf(),r.if((0,qe._)`${s} !== undefined`,()=>{r.assign(o,s),zse(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 zse({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=tc.Correct){const o=r===tc.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===tc.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 O_(e,t,n,r){if(e.length===1)return o3(e[0],t,n,r);let o;const i=(0,dL.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=O_;const Wse={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,qe._)`{type: ${e}}`:(0,qe._)`{type: ${t}}`};function A_(e){const t=qse(e);(0,Bse.reportError)(t,Wse)}un.reportTypeError=A_;function qse(e){const{gen:t,data:n,schema:r}=e,o=(0,dL.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 hl=Be,Gse=he;function Kse(e,t){const{properties:n,items:r}=e.schema;if(t==="object"&&n)for(const o in n)bS(e,o,n[o].default);else t==="array"&&Array.isArray(r)&&r.forEach((o,i)=>bS(e,i,o.default))}k0.assignDefaults=Kse;function bS(e,t,n){const{gen:r,compositeRule:o,data:i,opts:a}=e;if(n===void 0)return;const s=(0,hl._)`${i}${(0,hl.getProperty)(t)}`;if(o){(0,Gse.checkStrictMode)(e,`default is ignored for: ${s}`);return}let l=(0,hl._)`${s} === undefined`;a.useDefaults==="empty"&&(l=(0,hl._)`${l} || ${s} === null || ${s} === ""`),r.if(l,(0,hl._)`${s} = ${(0,hl.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,P_=he,sa=Po,Yse=he;function Zse(e,t){const{gen:n,data:r,it:o}=e;n.if($_(n,r,t,o.opts.ownProperties),()=>{e.setParams({missingProperty:(0,Pt._)`${t}`},!0),e.error()})}Ze.checkReportMissingProp=Zse;function Xse({gen:e,data:t,it:{opts:n}},r,o){return(0,Pt.or)(...r.map(i=>(0,Pt.and)($_(e,t,i,n.ownProperties),(0,Pt._)`${o} = ${i}`)))}Ze.checkMissingProp=Xse;function Jse(e,t){e.setParams({missingProperty:t},!0),e.error()}Ze.reportMissingProp=Jse;function hL(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,Pt._)`Object.prototype.hasOwnProperty`})}Ze.hasPropFunc=hL;function N_(e,t,n){return(0,Pt._)`${hL(e)}.call(${t}, ${n})`}Ze.isOwnProperty=N_;function Qse(e,t,n,r){const o=(0,Pt._)`${t}${(0,Pt.getProperty)(n)} !== undefined`;return r?(0,Pt._)`${o} && ${N_(e,t,n)}`:o}Ze.propertyInData=Qse;function $_(e,t,n,r){const o=(0,Pt._)`${t}${(0,Pt.getProperty)(n)} === undefined`;return r?(0,Pt.or)(o,(0,Pt.not)(N_(e,t,n))):o}Ze.noPropertyInData=$_;function mL(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}Ze.allSchemaProperties=mL;function ele(e,t){return mL(t).filter(n=>!(0,P_.alwaysValidSchema)(e,t[n]))}Ze.schemaProperties=ele;function tle({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=tle;const nle=(0,Pt._)`new RegExp`;function rle({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"?nle:(0,Yse.useFunc)(e,o)}(${n}, ${r})`})}Ze.usePattern=rle;function ole(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:P_.Type.Num},i),t.if((0,Pt.not)(i),s)})}}Ze.validateArray=ole;function ile(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,P_.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=ile;Object.defineProperty(Ko,"__esModule",{value:!0});Ko.validateKeywordUsage=Ko.validSchemaType=Ko.funcKeywordCode=Ko.macroKeywordCode=void 0;const Kn=Be,hs=Po,ale=Ze,sle=nu;function lle(e,t){const{gen:n,keyword:r,schema:o,parentSchema:i,it:a}=e,s=t.macro.call(a.self,o,i,a),l=gL(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=lle;function cle(e,t){var n;const{gen:r,keyword:o,schema:i,parentSchema:a,$data:s,it:l}=e;dle(l,t);const c=!s&&t.compile?t.compile.call(l.self,i,a,l):t.validate,u=gL(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&&ES(e),b(()=>e.error());else{const m=t.async?h():g();t.modifying&&ES(e),b(()=>ule(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,ale.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=cle;function ES(e){const{gen:t,data:n,it:r}=e;t.if(r.parentData,()=>t.assign(n,(0,Kn._)`${r.parentData}[${r.parentDataProperty}]`))}function ule(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,sle.extendErrors)(e)},()=>e.error())}function dle({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function gL(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 fle(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=fle;function ple({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=ple;var Da={};Object.defineProperty(Da,"__esModule",{value:!0});Da.extendSubschemaMode=Da.extendSubschemaData=Da.getSubschema=void 0;const qo=Be,yL=he;function hle(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,yL.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=hle;function mle(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,yL.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=mle;function gle(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=gle;var Ln={},j_=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},vL={exports:{}},Ma=vL.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(){};P1(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 P1(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++)P1(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)P1(e,t,n,d[h],o+"/"+u+"/"+yle(h),i,o,u,r,h)}else(u in Ma.keywords||e.allKeys&&!(u in Ma.skipKeywords))&&P1(e,t,n,d,o+"/"+u,i,o,u,r)}n(r,o,i,a,s,l,c)}}function yle(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var vle=vL.exports;Object.defineProperty(Ln,"__esModule",{value:!0});Ln.getSchemaRefs=Ln.resolveUrl=Ln.normalizeId=Ln._getFullPath=Ln.getFullPath=Ln.inlineRef=void 0;const _le=he,ble=j_,Ele=vle,Sle=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Cle(e,t=!0){return typeof e=="boolean"?!0:t===!0?!i3(e):t?_L(e)<=t:!1}Ln.inlineRef=Cle;const wle=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function i3(e){for(const t in e){if(wle.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 _L(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,_le.eachItem)(e[n],r=>t+=_L(r)),t===1/0))return 1/0}return t}function bL(e,t="",n){n!==!1&&(t=nc(t));const r=e.parse(t);return EL(e,r)}Ln.getFullPath=bL;function EL(e,t){return e.serialize(t).split("#")[0]+"#"}Ln._getFullPath=EL;const xle=/#\/?$/;function nc(e){return e?e.replace(xle,""):""}Ln.normalizeId=nc;function Mle(e,t,n){return n=nc(n),e.resolve(t,n)}Ln.resolveUrl=Mle;const Rle=/^[a-z_][-a-z0-9._]*$/i;function Tle(e,t){if(typeof e=="boolean")return{};const{schemaId:n,uriResolver:r}=this.opts,o=nc(e[n]||t),i={"":o},a=bL(r,o,!1),s={},l=new Set;return Ele(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 C=this.opts.uriResolver.resolve;if(E=nc(b?C(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!==nc(v)&&(E[0]==="#"?(c(d,s[E],E),s[E]=d):this.refs[E]=v),E}function y(E){if(typeof E=="string"){if(!Rle.test(E))throw new Error(`invalid anchor "${E}"`);m.call(this,`#${E}`)}}}),s;function c(d,p,h){if(p!==void 0&&!ble(d,p))throw u(h)}function u(d){return new Error(`reference "${d}" resolves to more than one schema`)}}Ln.getSchemaRefs=Tle;Object.defineProperty(ro,"__esModule",{value:!0});ro.getData=ro.KeywordCxt=ro.validateFunctionCode=void 0;const SL=$c,SS=un,D_=Ti,Zh=un,kle=k0,yd=Ko,C2=Da,Ee=Be,De=Po,Ile=Ln,ki=he,Pu=nu;function Lle(e){if(xL(e)&&(ML(e),wL(e))){Ple(e);return}CL(e,()=>(0,SL.topBoolOrEmptySchema)(e))}ro.validateFunctionCode=Lle;function CL({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"; ${CS(n,o)}`),Ale(e,o),e.code(i)}):e.func(t,(0,Ee._)`${De.default.data}, ${Ole(o)}`,r.$async,()=>e.code(CS(n,o)).code(i))}function Ole(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 Ale(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 Ple(e){const{schema:t,opts:n,gen:r}=e;CL(e,()=>{n.$comment&&t.$comment&&TL(e),Ble(e),r.let(De.default.vErrors,null),r.let(De.default.errors,0),n.unevaluated&&Nle(e),RL(e),Hle(e)})}function Nle(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 CS(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 $le(e,t){if(xL(e)&&(ML(e),wL(e))){jle(e,t);return}(0,SL.boolOrEmptySchema)(e,t)}function wL({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 xL(e){return typeof e.schema!="boolean"}function jle(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&TL(e),Fle(e),Ule(e);const i=r.const("_errs",De.default.errors);RL(e,i),r.var(t,(0,Ee._)`${i} === ${De.default.errors}`)}function ML(e){(0,ki.checkUnknownRules)(e),Dle(e)}function RL(e,t){if(e.opts.jtd)return wS(e,[],!1,t);const n=(0,SS.getSchemaTypes)(e.schema),r=(0,SS.coerceAndCheckDataType)(e,n);wS(e,n,!r,t)}function Dle(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 Ble(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 Fle(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,Ile.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function Ule(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function TL({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 Hle(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&&Vle(e),t.return((0,Ee._)`${De.default.errors} === 0`))}function Vle({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 wS(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(()=>LL(e,"$ref",u.all.$ref.definition));return}l.jtd||zle(e,t),o.block(()=>{for(const p of u.rules)d(p);d(u.post)});function d(p){(0,D_.shouldUseGroup)(i,p)&&(p.type?(o.if((0,Zh.checkDataType)(p.type,a,l.strictNumbers)),xS(e,p),t.length===1&&t[0]===p.type&&n&&(o.else(),(0,Zh.reportTypeError)(e)),o.endIf()):xS(e,p),s||o.if((0,Ee._)`${De.default.errors} === ${r||0}`))}}function xS(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,kle.assignDefaults)(e,t.type),n.block(()=>{for(const i of t.rules)(0,D_.shouldUseRule)(r,i)&&LL(e,i.keyword,i.definition,t.type)})}function zle(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(Wle(e,t),e.opts.allowUnionTypes||qle(e,t),Gle(e,e.dataTypes))}function Wle(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(n=>{kL(e.dataTypes,n)||B_(e,`type "${n}" not allowed by context "${e.dataTypes.join(",")}"`)}),Yle(e,t)}}function qle(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&B_(e,"use allowUnionTypes to allow union type keyword")}function Gle(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if(typeof o=="object"&&(0,D_.shouldUseRule)(e.schema,o)){const{type:i}=o.definition;i.length&&!i.some(a=>Kle(t,a))&&B_(e,`missing type "${i.join(",")}" for keyword "${r}"`)}}}function Kle(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function kL(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function Yle(e,t){const n=[];for(const r of e.dataTypes)kL(t,r)?n.push(r):t.includes("integer")&&r==="number"&&n.push("integer");e.dataTypes=n}function B_(e,t){const n=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${n}" (strictTypes)`,(0,ki.checkStrictMode)(e,t,e.opts.strictTypes)}class IL{constructor(t,n,r){if((0,yd.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",OL(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,yd.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?Pu.reportExtraError:Pu.reportError)(this,this.def.error,n)}$dataError(){(0,Pu.reportError)(this,this.def.$dataError||Pu.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,Pu.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,Zh.checkDataTypes)(l,n,i.opts.strictNumbers,Zh.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,C2.getSubschema)(this.it,t);(0,C2.extendSubschemaData)(r,this.it,t),(0,C2.extendSubschemaMode)(r,t);const o={...this.it,...r,items:void 0,props:void 0};return $le(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=IL;function LL(e,t,n,r){const o=new IL(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,yd.funcKeywordCode)(o,n):"macro"in n?(0,yd.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,yd.funcKeywordCode)(o,n)}const Zle=/^\/(?:[^~]|~0|~1)*$/,Xle=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function OL(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(e==="")return De.default.rootData;if(e[0]==="/"){if(!Zle.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=De.default.rootData}else{const c=Xle.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=OL;var Ff={};Object.defineProperty(Ff,"__esModule",{value:!0});class Jle extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}}Ff.default=Jle;var ru={};Object.defineProperty(ru,"__esModule",{value:!0});const w2=Ln;class Qle extends Error{constructor(t,n,r,o){super(o||`can't resolve reference ${r} from id ${n}`),this.missingRef=(0,w2.resolveUrl)(t,n,r),this.missingSchema=(0,w2.normalizeId)((0,w2.getFullPath)(t,this.missingRef))}}ru.default=Qle;var fr={};Object.defineProperty(fr,"__esModule",{value:!0});fr.resolveSchema=fr.getCompilingSchema=fr.resolveRef=fr.compileSchema=fr.SchemaEnv=void 0;const yo=Be,ece=Ff,ss=Po,xo=Ln,MS=he,tce=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 F_(e){const t=AL.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:ece.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,tce.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=F_;function nce(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=ice.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]=rce.call(this,i)}fr.resolveRef=nce;function rce(e){return(0,xo.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:F_.call(this,e)}function AL(e){for(const t of this._compilations)if(oce(t,e))return t}fr.getCompilingSchema=AL;function oce(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function ice(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 x2.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:x2.call(this,n,s)}if(typeof(a==null?void 0:a.schema)=="object"){if(a.validate||F_.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 x2.call(this,n,a)}}fr.resolveSchema=L0;const ace=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function x2(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,MS.unescapeFragment)(s)];if(l===void 0)return;n=l;const c=typeof n=="object"&&n[this.opts.schemaId];!ace.has(s)&&c&&(t=(0,xo.resolveUrl)(this.opts.uriResolver,t,c))}let i;if(typeof n!="boolean"&&n.$ref&&!(0,MS.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 sce="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",lce="Meta-schema for $data reference (JSON AnySchema extension proposal)",cce="object",uce=["$data"],dce={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},fce=!1,pce={$id:sce,description:lce,type:cce,required:uce,properties:dce,additionalProperties:fce};var U_={},O0={exports:{}};const hce={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 mce={HEX:hce};const{HEX:gce}=mce,yce=/^(?:(?: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 PL(e){if($L(e,".")<3)return{host:e,isIPV4:!1};const t=e.match(yce)||[],[n]=t;return n?{host:_ce(n,"."),isIPV4:!0}:{host:e,isIPV4:!1}}function a3(e,t=!1){let n="",r=!0;for(const o of e){if(gce[o]===void 0)return;o!=="0"&&r===!0&&(r=!1),r||(n+=o)}return t&&n.length===0&&(n="0"),n}function vce(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 NL(e){if($L(e,":")<2)return{host:e,isIPV6:!1};const t=vce(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 _ce(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 $L(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n}const RS=/^\.\.?\//u,TS=/^\/\.(?:\/|$)/u,kS=/^\/\.\.(?:\/|$)/u,bce=/^\/?(?:.|\n)*?(?=\/|$)/u;function Ece(e){const t=[];for(;e.length;)if(e.match(RS))e=e.replace(RS,"");else if(e.match(TS))e=e.replace(TS,"/");else if(e.match(kS))e=e.replace(kS,"/"),t.pop();else if(e==="."||e==="..")e="";else{const n=e.match(bce);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 Cce(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=PL(n);if(r.isIPV4)n=r.host;else{const o=NL(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 wce={recomposeAuthority:Cce,normalizeComponentEncoding:Sce,removeDotSegments:Ece,normalizeIPv4:PL,normalizeIPv6:NL,stringArrayToHexStripped:a3};const xce=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu,Mce=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function jL(e){return typeof e.secure=="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}function DL(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function BL(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 Rce(e){return e.secure=jL(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e}function Tce(e){if((e.port===(jL(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 kce(e,t){if(!e.path)return e.error="URN can not be parsed",e;const n=e.path.match(Mce);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=H_[o];e.path=void 0,i&&(e=i.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e}function Ice(e,t){const n=t.scheme||e.scheme||"urn",r=e.nid.toLowerCase(),o=`${n}:${t.nid||r}`,i=H_[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 Lce(e,t){const n=e;return n.uuid=n.nss,n.nss=void 0,!t.tolerant&&(!n.uuid||!xce.test(n.uuid))&&(n.error=n.error||"UUID is not valid."),n}function Oce(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t}const FL={scheme:"http",domainHost:!0,parse:DL,serialize:BL},Ace={scheme:"https",domainHost:FL.domainHost,parse:DL,serialize:BL},N1={scheme:"ws",domainHost:!0,parse:Rce,serialize:Tce},Pce={scheme:"wss",domainHost:N1.domainHost,parse:N1.parse,serialize:N1.serialize},Nce={scheme:"urn",parse:kce,serialize:Ice,skipNormalize:!0},$ce={scheme:"urn:uuid",parse:Lce,serialize:Oce,skipNormalize:!0},H_={http:FL,https:Ace,ws:N1,wss:Pce,urn:Nce,"urn:uuid":$ce};var jce=H_;const{normalizeIPv6:Dce,normalizeIPv4:Bce,removeDotSegments:Gu,recomposeAuthority:Fce,normalizeComponentEncoding:zp}=wce,V_=jce;function Uce(e,t){return typeof e=="string"?e=Yo(Gi(e,t),t):typeof e=="object"&&(e=Gi(Yo(e,t),t)),e}function Hce(e,t,n){const r=Object.assign({scheme:"null"},n),o=UL(Gi(e,r),Gi(t,r),r,!0);return Yo(o,{...r,skipEscape:!0})}function UL(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=Gu(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=Gu(t.path||""),o.query=t.query):(t.path?(t.path.charAt(0)==="/"?o.path=Gu(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=Gu(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 Vce(e,t,n){return typeof e=="string"?(e=unescape(e),e=Yo(zp(Gi(e,n),!0),{...n,skipEscape:!0})):typeof e=="object"&&(e=Yo(zp(e,!0),{...n,skipEscape:!0})),typeof t=="string"?(t=unescape(t),t=Yo(zp(Gi(t,n),!0),{...n,skipEscape:!0})):typeof t=="object"&&(t=Yo(zp(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=V_[(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=Fce(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=Gu(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 zce=Array.from({length:127},(e,t)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(t)));function Wce(e){let t=0;for(let n=0,r=e.length;n<r;++n)if(t=e.charCodeAt(n),t>126||zce[t])return!0;return!1}const qce=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\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(qce);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=Bce(r.host);if(l.isIPV4===!1){const c=Dce(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=V_[(n.scheme||r.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!s||!s.unicodeSupport)&&r.host&&(n.domainHost||s&&s.domainHost)&&i===!1&&Wce(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 z_={SCHEMES:V_,normalize:Uce,resolve:Hce,resolveComponents:UL,equal:Vce,serialize:Yo,parse:Gi};O0.exports=z_;O0.exports.default=z_;O0.exports.fastUri=z_;var Gce=O0.exports;Object.defineProperty(U_,"__esModule",{value:!0});const HL=Gce;HL.code='require("ajv/dist/runtime/uri").default';U_.default=HL;(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=Ff,o=ru,i=Us,a=fr,s=Be,l=Ln,c=un,u=he,d=pce,p=U_,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,Y,ue,pe,be,Ce,ke,pt,ye,Ge,Se,Ve,Ue,Le;const Ht=$.strict,Cn=(P=$.code)===null||P===void 0?void 0:P.optimize,zn=Cn===!0||Cn===void 0?1:Cn||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=(Y=$.strictRequired)!==null&&Y!==void 0?Y: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:(Ce=$.meta)!==null&&Ce!==void 0?Ce:!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:(Se=$.validateSchema)!==null&&Se!==void 0?Se:!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 C{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),w.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}}}C.ValidationError=r.default,C.MissingRefError=o.default,e.default=C;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 w(){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]}}})(nL);var W_={},q_={},G_={};Object.defineProperty(G_,"__esModule",{value:!0});const Kce={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};G_.default=Kce;var Hs={};Object.defineProperty(Hs,"__esModule",{value:!0});Hs.callRef=Hs.getValidate=void 0;const Yce=ru,IS=Ze,sr=Be,ml=Po,LS=fr,Wp=he,Zce={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=LS.resolveRef.call(l,c,o,n);if(u===void 0)throw new Yce.default(r.opts.uriResolver,o,n);if(u instanceof LS.SchemaEnv)return p(u);return h(u);function d(){if(i===c)return $1(e,a,i,i.$async);const g=t.scopeValue("root",{ref:c});return $1(e,(0,sr._)`${g}.validate`,c,c.$async)}function p(g){const v=VL(e,g);$1(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 VL(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):(0,sr._)`${n.scopeValue("wrapper",{ref:t})}.validate`}Hs.getValidate=VL;function $1(e,t,n,r){const{gen:o,it:i}=e,{allErrors:a,schemaEnv:s,opts:l}=i,c=l.passContext?ml.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,IS.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,IS.callValidateCode)(e,t,c),()=>h(t),()=>p(t))}function p(g){const v=(0,sr._)`${g}.errors`;o.assign(ml.default.vErrors,(0,sr._)`${ml.default.vErrors} === null ? ${v} : ${ml.default.vErrors}.concat(${v})`),o.assign(ml.default.errors,(0,sr._)`${ml.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=Wp.mergeEvaluated.props(o,b.props,i.props));else{const m=o.var("props",(0,sr._)`${g}.evaluated.props`);i.props=Wp.mergeEvaluated.props(o,m,i.props,sr.Name)}if(i.items!==!0)if(b&&!b.dynamicItems)b.items!==void 0&&(i.items=Wp.mergeEvaluated.items(o,b.items,i.items));else{const m=o.var("items",(0,sr._)`${g}.evaluated.items`);i.items=Wp.mergeEvaluated.items(o,m,i.items,sr.Name)}}}Hs.callRef=$1;Hs.default=Zce;Object.defineProperty(q_,"__esModule",{value:!0});const Xce=G_,Jce=Hs,Qce=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",Xce.default,Jce.default];q_.default=Qce;var K_={},Y_={};Object.defineProperty(Y_,"__esModule",{value:!0});const Xh=Be,la=Xh.operators,Jh={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}},eue={message:({keyword:e,schemaCode:t})=>(0,Xh.str)`must be ${Jh[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,Xh._)`{comparison: ${Jh[e].okStr}, limit: ${t}}`},tue={keyword:Object.keys(Jh),type:"number",schemaType:"number",$data:!0,error:eue,code(e){const{keyword:t,data:n,schemaCode:r}=e;e.fail$data((0,Xh._)`${n} ${Jh[t].fail} ${r} || isNaN(${n})`)}};Y_.default=tue;var Z_={};Object.defineProperty(Z_,"__esModule",{value:!0});const vd=Be,nue={message:({schemaCode:e})=>(0,vd.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,vd._)`{multipleOf: ${e}}`},rue={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:nue,code(e){const{gen:t,data:n,schemaCode:r,it:o}=e,i=o.opts.multipleOfPrecision,a=t.let("res"),s=i?(0,vd._)`Math.abs(Math.round(${a}) - ${a}) > 1e-${i}`:(0,vd._)`${a} !== parseInt(${a})`;e.fail$data((0,vd._)`(${r} === 0 || (${a} = ${n}/${r}, ${s}))`)}};Z_.default=rue;var X_={},J_={};Object.defineProperty(J_,"__esModule",{value:!0});function zL(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}J_.default=zL;zL.code='require("ajv/dist/runtime/ucs2length").default';Object.defineProperty(X_,"__esModule",{value:!0});const ms=Be,oue=he,iue=J_,aue={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}}`},sue={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:aue,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,oue.useFunc)(e.gen,iue.default)}(${n})`;e.fail$data((0,ms._)`${a} ${i} ${r}`)}};X_.default=sue;var Q_={};Object.defineProperty(Q_,"__esModule",{value:!0});const lue=Ze,Qh=Be,cue={message:({schemaCode:e})=>(0,Qh.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,Qh._)`{pattern: ${e}}`},uue={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:cue,code(e){const{data:t,$data:n,schema:r,schemaCode:o,it:i}=e,a=i.opts.unicodeRegExp?"u":"",s=n?(0,Qh._)`(new RegExp(${o}, ${a}))`:(0,lue.usePattern)(e,r);e.fail$data((0,Qh._)`!${s}.test(${t})`)}};Q_.default=uue;var eb={};Object.defineProperty(eb,"__esModule",{value:!0});const _d=Be,due={message({keyword:e,schemaCode:t}){const n=e==="maxProperties"?"more":"fewer";return(0,_d.str)`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>(0,_d._)`{limit: ${e}}`},fue={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:due,code(e){const{keyword:t,data:n,schemaCode:r}=e,o=t==="maxProperties"?_d.operators.GT:_d.operators.LT;e.fail$data((0,_d._)`Object.keys(${n}).length ${o} ${r}`)}};eb.default=fue;var tb={};Object.defineProperty(tb,"__esModule",{value:!0});const Nu=Ze,bd=Be,pue=he,hue={message:({params:{missingProperty:e}})=>(0,bd.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,bd._)`{missingProperty: ${e}}`},mue={keyword:"required",type:"object",schemaType:"array",$data:!0,error:hue,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,pue.checkStrictMode)(a,m,a.opts.strictRequired)}}function c(){if(l||i)e.block$data(bd.nil,d);else for(const h of n)(0,Nu.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,Nu.checkMissingProp)(e,n,h)),(0,Nu.reportMissingProp)(e,h),t.else()}function d(){t.forOf("prop",r,h=>{e.setParams({missingProperty:h}),t.if((0,Nu.noPropertyInData)(t,o,h,s.ownProperties),()=>e.error())})}function p(h,g){e.setParams({missingProperty:h}),t.forOf(h,r,()=>{t.assign(g,(0,Nu.propertyInData)(t,o,h,s.ownProperties)),t.if((0,bd.not)(g),()=>{e.error(),t.break()})},bd.nil)}}};tb.default=mue;var nb={};Object.defineProperty(nb,"__esModule",{value:!0});const Ed=Be,gue={message({keyword:e,schemaCode:t}){const n=e==="maxItems"?"more":"fewer";return(0,Ed.str)`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>(0,Ed._)`{limit: ${e}}`},yue={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:gue,code(e){const{keyword:t,data:n,schemaCode:r}=e,o=t==="maxItems"?Ed.operators.GT:Ed.operators.LT;e.fail$data((0,Ed._)`${n}.length ${o} ${r}`)}};nb.default=yue;var rb={},Uf={};Object.defineProperty(Uf,"__esModule",{value:!0});const WL=j_;WL.code='require("ajv/dist/runtime/equal").default';Uf.default=WL;Object.defineProperty(rb,"__esModule",{value:!0});const M2=un,Rn=Be,vue=he,_ue=Uf,bue={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}}`},Eue={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:bue,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,M2.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,M2.checkDataTypes)(c,b,s.opts.strictNumbers,M2.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,vue.useFunc)(t,_ue.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)})))}}};rb.default=Eue;var ob={};Object.defineProperty(ob,"__esModule",{value:!0});const s3=Be,Sue=he,Cue=Uf,wue={message:"must be equal to constant",params:({schemaCode:e})=>(0,s3._)`{allowedValue: ${e}}`},xue={keyword:"const",$data:!0,error:wue,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,Cue.default)}(${n}, ${o})`):e.fail((0,s3._)`${i} !== ${n}`)}};ob.default=xue;var ib={};Object.defineProperty(ib,"__esModule",{value:!0});const Ku=Be,Mue=he,Rue=Uf,Tue={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,Ku._)`{allowedValues: ${e}}`},kue={keyword:"enum",schemaType:"array",$data:!0,error:Tue,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,Mue.useFunc)(t,Rue.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,Ku.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,Ku._)`${c()}(${n}, ${h})`,()=>t.assign(u,!0).break()))}function p(h,g){const v=o[g];return typeof v=="object"&&v!==null?(0,Ku._)`${c()}(${n}, ${h}[${g}])`:(0,Ku._)`${n} === ${v}`}}};ib.default=kue;Object.defineProperty(K_,"__esModule",{value:!0});const Iue=Y_,Lue=Z_,Oue=X_,Aue=Q_,Pue=eb,Nue=tb,$ue=nb,jue=rb,Due=ob,Bue=ib,Fue=[Iue.default,Lue.default,Oue.default,Aue.default,Pue.default,Nue.default,$ue.default,jue.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Due.default,Bue.default];K_.default=Fue;var ab={},ou={};Object.defineProperty(ou,"__esModule",{value:!0});ou.validateAdditionalItems=void 0;const gs=Be,l3=he,Uue={message:({params:{len:e}})=>(0,gs.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,gs._)`{limit: ${e}}`},Hue={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:Uue,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}qL(e,r)}};function qL(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())})}}ou.validateAdditionalItems=qL;ou.default=Hue;var sb={},iu={};Object.defineProperty(iu,"__esModule",{value:!0});iu.validateTuple=void 0;const OS=Be,j1=he,Vue=Ze,zue={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return GL(e,"additionalItems",t);n.items=!0,!(0,j1.alwaysValidSchema)(n,t)&&e.ok((0,Vue.validateArray)(e))}};function GL(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=j1.mergeEvaluated.items(r,n.length,s.items));const l=r.name("valid"),c=r.const("len",(0,OS._)`${i}.length`);n.forEach((d,p)=>{(0,j1.alwaysValidSchema)(s,d)||(r.if((0,OS._)`${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,j1.checkStrictMode)(s,b,p.strictTuples)}}}iu.validateTuple=GL;iu.default=zue;Object.defineProperty(sb,"__esModule",{value:!0});const Wue=iu,que={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,Wue.validateTuple)(e,"items")};sb.default=que;var lb={};Object.defineProperty(lb,"__esModule",{value:!0});const AS=Be,Gue=he,Kue=Ze,Yue=ou,Zue={message:({params:{len:e}})=>(0,AS.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,AS._)`{limit: ${e}}`},Xue={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:Zue,code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:o}=n;r.items=!0,!(0,Gue.alwaysValidSchema)(r,t)&&(o?(0,Yue.validateAdditionalItems)(e,o):e.ok((0,Kue.validateArray)(e)))}};lb.default=Xue;var cb={};Object.defineProperty(cb,"__esModule",{value:!0});const Hr=Be,qp=he,Jue={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}}`},Que={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:Jue,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,qp.checkStrictMode)(i,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&a>s){(0,qp.checkStrictMode)(i,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,qp.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:qp.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)))}}};cb.default=Que;var KL={};(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})(KL);var ub={};Object.defineProperty(ub,"__esModule",{value:!0});const YL=Be,ede=he,tde={message:"property name must be valid",params:({params:e})=>(0,YL._)`{propertyName: ${e.propertyName}}`},nde={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:tde,code(e){const{gen:t,schema:n,data:r,it:o}=e;if((0,ede.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,YL.not)(i),()=>{e.error(!0),o.allErrors||t.break()})}),e.ok(i)}};ub.default=nde;var A0={};Object.defineProperty(A0,"__esModule",{value:!0});const Gp=Ze,_o=Be,rde=Po,Kp=he,ode={message:"must NOT have additional properties",params:({params:e})=>(0,_o._)`{additionalProperty: ${e.additionalProperty}}`},ide={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:ode,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,Kp.alwaysValidSchema)(a,n))return;const c=(0,Gp.allSchemaProperties)(r.properties),u=(0,Gp.allSchemaProperties)(r.patternProperties);d(),e.ok((0,_o._)`${i} === ${rde.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,Kp.schemaRefOrVal)(a,r.properties,"properties");m=(0,Gp.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,Gp.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,Kp.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:Kp.Type.Str};y===!1&&Object.assign(E,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(E,m)}}};A0.default=ide;var db={};Object.defineProperty(db,"__esModule",{value:!0});const ade=ro,PS=Ze,R2=he,NS=A0,sde={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&&NS.default.code(new ade.KeywordCxt(i,NS.default,"additionalProperties"));const a=(0,PS.allSchemaProperties)(n);for(const d of a)i.definedProperties.add(d);i.opts.unevaluated&&a.length&&i.props!==!0&&(i.props=R2.mergeEvaluated.props(t,(0,R2.toHash)(a),i.props));const s=a.filter(d=>!(0,R2.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,PS.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)}}};db.default=sde;var fb={};Object.defineProperty(fb,"__esModule",{value:!0});const $S=Ze,Yp=Be,jS=he,DS=he,lde={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,$S.allSchemaProperties)(n),l=s.filter(v=>(0,jS.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 Yp.Name)&&(i.props=(0,DS.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,jS.checkStrictMode)(i,`property ${b} matches pattern ${v} (use allowMatchingProperties)`)}function g(v){t.forIn("key",r,b=>{t.if((0,Yp._)`${(0,$S.usePattern)(e,v)}.test(${b})`,()=>{const m=l.includes(v);m||e.subschema({keyword:"patternProperties",schemaProp:v,dataProp:b,dataPropType:DS.Type.Str},u),i.opts.unevaluated&&d!==!0?t.assign((0,Yp._)`${d}[${b}]`,!0):!m&&!i.allErrors&&t.if((0,Yp.not)(u),()=>t.break())})})}}};fb.default=lde;var pb={};Object.defineProperty(pb,"__esModule",{value:!0});const cde=he,ude={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:r}=e;if((0,cde.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"}};pb.default=ude;var hb={};Object.defineProperty(hb,"__esModule",{value:!0});const dde=Ze,fde={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:dde.validateUnion,error:{message:"must match a schema in anyOf"}};hb.default=fde;var mb={};Object.defineProperty(mb,"__esModule",{value:!0});const D1=Be,pde=he,hde={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,D1._)`{passingSchemas: ${e.passing}}`},mde={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:hde,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,pde.alwaysValidSchema)(o,u)?t.var(l,!0):p=e.subschema({keyword:"oneOf",schemaProp:d,compositeRule:!0},l),d>0&&t.if((0,D1._)`${l} && ${a}`).assign(a,!1).assign(s,(0,D1._)`[${s}, ${d}]`).else(),t.if(l,()=>{t.assign(a,!0),t.assign(s,d),p&&e.mergeEvaluated(p,D1.Name)})})}}};mb.default=mde;var gb={};Object.defineProperty(gb,"__esModule",{value:!0});const gde=he,yde={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,gde.alwaysValidSchema)(r,i))return;const s=e.subschema({keyword:"allOf",schemaProp:a},o);e.ok(o),e.mergeEvaluated(s)})}};gb.default=yde;var yb={};Object.defineProperty(yb,"__esModule",{value:!0});const em=Be,ZL=he,vde={message:({params:e})=>(0,em.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,em._)`{failingKeyword: ${e.ifClause}}`},_de={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:vde,code(e){const{gen:t,parentSchema:n,it:r}=e;n.then===void 0&&n.else===void 0&&(0,ZL.checkStrictMode)(r,'"if" without "then" and "else" is ignored');const o=BS(r,"then"),i=BS(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,em.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,em._)`${u}`):e.setParams({ifClause:u})}}}};function BS(e,t){const n=e.schema[t];return n!==void 0&&!(0,ZL.alwaysValidSchema)(e,n)}yb.default=_de;var vb={};Object.defineProperty(vb,"__esModule",{value:!0});const bde=he,Ede={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){t.if===void 0&&(0,bde.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};vb.default=Ede;Object.defineProperty(ab,"__esModule",{value:!0});const Sde=ou,Cde=sb,wde=iu,xde=lb,Mde=cb,Rde=KL,Tde=ub,kde=A0,Ide=db,Lde=fb,Ode=pb,Ade=hb,Pde=mb,Nde=gb,$de=yb,jde=vb;function Dde(e=!1){const t=[Ode.default,Ade.default,Pde.default,Nde.default,$de.default,jde.default,Tde.default,kde.default,Rde.default,Ide.default,Lde.default];return e?t.push(Cde.default,xde.default):t.push(Sde.default,wde.default),t.push(Mde.default),t}ab.default=Dde;var _b={},bb={};Object.defineProperty(bb,"__esModule",{value:!0});const Jt=Be,Bde={message:({schemaCode:e})=>(0,Jt.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,Jt._)`{format: ${e}}`},Fde={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Bde,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 C=u.$async?(0,Jt._)`(${v}.async ? await ${m}(${r}) : ${m}(${r}))`:(0,Jt._)`${m}(${r})`,S=(0,Jt._)`(typeof ${m} == "function" ? ${C} : ${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(C());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,w=n.scopeValue("formats",{key:i,ref:S,code:_});return typeof S=="object"&&!(S instanceof RegExp)?[S.type||"string",S.validate,(0,Jt._)`${w}.validate`]:["string",S,w]}function C(){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})`}}}};bb.default=Fde;Object.defineProperty(_b,"__esModule",{value:!0});const Ude=bb,Hde=[Ude.default];_b.default=Hde;var Dc={};Object.defineProperty(Dc,"__esModule",{value:!0});Dc.contentVocabulary=Dc.metadataVocabulary=void 0;Dc.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Dc.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"];Object.defineProperty(W_,"__esModule",{value:!0});const Vde=q_,zde=K_,Wde=ab,qde=_b,FS=Dc,Gde=[Vde.default,zde.default,(0,Wde.default)(),qde.default,FS.metadataVocabulary,FS.contentVocabulary];W_.default=Gde;var Eb={},P0={};Object.defineProperty(P0,"__esModule",{value:!0});P0.DiscrError=void 0;var US;(function(e){e.Tag="tag",e.Mapping="mapping"})(US||(P0.DiscrError=US={}));Object.defineProperty(Eb,"__esModule",{value:!0});const Sl=Be,c3=P0,HS=fr,Kde=ru,Yde=he,Zde={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}}`},Xde={keyword:"discriminator",type:"object",schemaType:"object",error:Zde,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 C=0;C<a.length;C++){let S=a[C];if(S!=null&&S.$ref&&!(0,Yde.schemaHasRulesButRef)(S,i.self.RULES)){const w=S.$ref;if(S=HS.resolveRef.call(i.self,i.schemaEnv.root,i.baseId,w),S instanceof HS.SchemaEnv&&(S=S.schema),S===void 0)throw new Kde.default(i.opts.uriResolver,i.baseId,w)}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(_,C)}if(!b)throw new Error(`discriminator: "${s}" must be required`);return g;function m({required:C}){return Array.isArray(C)&&C.includes(s)}function y(C,S){if(C.const)E(C.const,S);else if(C.enum)for(const _ of C.enum)E(_,S);else throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`)}function E(C,S){if(typeof C!="string"||C in g)throw new Error(`discriminator: "${s}" values must be unique strings`);g[C]=S}}}};Eb.default=Xde;const Jde="http://json-schema.org/draft-07/schema#",Qde="http://json-schema.org/draft-07/schema#",efe="Core schema meta-schema",tfe={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:[]}},nfe=["object","boolean"],rfe={$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:"#"}},ofe={$schema:Jde,$id:Qde,title:efe,definitions:tfe,type:nfe,properties:rfe,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=nL,r=W_,o=Eb,i=ofe,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=Ff;Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var p=ru;Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})})(t3,t3.exports);var XL=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 ife=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(ife),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(f3,f3.exports);var afe=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 sfe=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(sfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(h3,h3.exports);var lfe=h3.exports,g3={exports:{}},y3={exports:{}},N0={};Object.defineProperty(N0,"__esModule",{value:!0});function cfe(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=cfe;(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 ufe=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(ufe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(g3,g3.exports);var dfe=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 ffe=_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(ffe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(v3,v3.exports);var pfe=v3.exports,b3={exports:{}},E3={exports:{}},Ki={};Object.defineProperty(Ki,"__esModule",{value:!0});Ki.usePattern=Ki.metaSchemaRef=void 0;const hfe=Be,mfe="http://json-schema.org/schema";function gfe({defaultMeta:e}={}){return e===!1?{}:{$ref:e||mfe}}Ki.metaSchemaRef=gfe;function yfe({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,hfe._)`new RegExp(${n}, ${r})`})}Ki.usePattern=yfe;(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 vfe=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(vfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(b3,b3.exports);var _fe=b3.exports,S3={exports:{}},C3={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 C=E.pop();if(!(C in r))throw new Error(`transform: unknown transformation ${C}`);const S=c.scopeValue("func",{ref:r[C],code:(0,n._)`require("ajv-keywords/dist/definitions/transform").transform${(0,n.getProperty)(C)}`}),_=y(E);return m&&C==="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})(C3,C3.exports);var bfe=C3.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(bfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(S3,S3.exports);var Efe=S3.exports,w3={exports:{}},x3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=j_,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 Cfe=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 wfe=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(wfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(M3,M3.exports);var xfe=M3.exports,T3={exports:{}},k3={exports:{}},$0={};Object.defineProperty($0,"__esModule",{value:!0});function Mfe(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=Mfe;(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 Rfe=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(Rfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(T3,T3.exports);var Tfe=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 kfe=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(kfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(I3,I3.exports);var Ife=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 Lfe=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(Lfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(O3,O3.exports);var Ofe=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 Afe=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(Afe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(P3,P3.exports);var Pfe=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 Nfe=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(Nfe),o=(i,a)=>i.addKeyword((0,r.default)(a));t.default=o,e.exports=o})($3,$3.exports);var $fe=$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 jfe=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(jfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(D3,D3.exports);var Dfe=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 Bfe=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(Bfe),o=i=>i.addKeyword((0,r.default)());t.default=o,e.exports=o})(F3,F3.exports);var Ffe=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 Ufe=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(Ufe),o=(i,a)=>((0,r.default)(a).forEach(s=>i.addKeyword(s)),i);t.default=o,e.exports=o})(H3,H3.exports);var Hfe=H3.exports;(function(e,t){var n=ie&&ie.__importDefault||function(C){return C&&C.__esModule?C:{default:C}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(afe),o=n(lfe),i=n(dfe),a=n(pfe),s=n(_fe),l=n(Efe),c=n(Cfe),u=n(xfe),d=n(Tfe),p=n(Ife),h=n(Ofe),g=n(Pfe),v=n($fe),b=n(Dfe),m=n(Ffe),y=n(Hfe),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 Vfe=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(Vfe),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 zfe=u3.exports,z3={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=XL,r=Be,o=jc,i=ro,a=nu,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:C,schemaValue:S,it:_}=m;if(_.createErrors===!1)return;const w=C,R=r.strConcat(s.default.instancePath,_.errorPath);y.if(n._`${s.default.errors} > 0`,()=>{if(typeof w=="object"){const[O,x]=I(w);x&&D(x),O&&F(O),q(T(w))}const N=typeof w=="string"?w:w._;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,C));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],C[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,C.items),y.assign(L,n.str`items`)},()=>{z(O,C.properties),y.assign(L,n.str`properties`)}),U=n._`[${L}]`):x?(y.if(j),z(x,C.items),U=n._`.items`):O&&(y.if(r.and(k,r.not(j))),z(O,C.properties),U=n._`.properties`),y.forOf("err",s.default.vErrors,V=>re(V,J,Y=>y.code(n._`${J}[${Y}].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,Y){y.assign(J,n.stringify(V)),y.assign(G,ee(V,Y))}}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 Wfe=z3.exports,Sb=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 JL=Sb(XL);de.Ajv=JL.default;const qfe=Sb(zfe),Gfe=Sb(Wfe);function Kfe(e,t){let n=null;const r=(o,i)=>{if(!n){const a=new JL.default({$data:!0,allErrors:!0});(0,qfe.default)(a),(0,Gfe.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=Kfe;function Yfe(e,t){return e.validate(t)}de.validateType=Yfe;(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={}))})(tL);var QL={};(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={}))})(QL);(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(tL,e),n(QL,e)})(eL);var eO={},tO={};(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={}))})(tO);var nO={},Hf={};(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={}))})(Hf);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={},rO={},wb={},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={}))})(wb);var oO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Profile=void 0;const t=de,n=wb;(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={}))})(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(wb,e),n(oO,e)})(rO);var iO={},xb={};(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={}))})(xb);var Mb={};(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={}))})(Mb);var Rb={};(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={}))})(Rb);var aO={},au={};Object.defineProperty(au,"__esModule",{value:!0});au.displayableProperties=void 0;au.displayableProperties={menuBarIcon:{description:"Name of the file used as icon for the MenuBar",type:"string",nullable:!0}};var Tb={};(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={}))})(Tb);var kb={};(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={}))})(kb);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scene=e.RequiredPermission=void 0;const t=de,n=au,r=xb,o=Rb,i=Tb,a=kb,s=Mb;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={}))})(aO);(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=xb;Object.defineProperty(e,"FeatureToggles",{enumerable:!0,get:function(){return t.FeatureToggles}});var n=Mb;Object.defineProperty(e,"WorldConfiguration",{enumerable:!0,get:function(){return n.WorldConfiguration}});var r=Rb;Object.defineProperty(e,"SceneParcels",{enumerable:!0,get:function(){return r.SceneParcels}});var o=aO;Object.defineProperty(e,"Scene",{enumerable:!0,get:function(){return o.Scene}}),Object.defineProperty(e,"RequiredPermission",{enumerable:!0,get:function(){return o.RequiredPermission}});var i=Tb;Object.defineProperty(e,"Source",{enumerable:!0,get:function(){return i.Source}});var a=kb;Object.defineProperty(e,"SpawnPoint",{enumerable:!0,get:function(){return a.SpawnPoint}})})(iO);var T2={},Ib={},Lb={};(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={}))})(Lb);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.I18N=void 0;const t=de,n=Lb;(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={}))})(Ib);var Ob={};(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={}))})(Ob);var U0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isStandard=e.standardProperties=void 0;const t=Hf,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={},Ab={},sO={};(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={}))})(sO);(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(sO,e)})(Ab);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[w,R]of Object.entries(_))for(const T of R)E(S,w,T)}function h(){return JSON.parse(JSON.stringify(p))}function g(S,_,w){const R=BigInt(S);return R>=BigInt(_)&&R<=BigInt(w)}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(w=>_.ids.includes(w));case n.RANGE:return S.ids.some(w=>g(w,_.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(w=>g(w,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,_,w){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,w))throw new c(`Cannot add mapping to contract ${I} on network ${S} because it overlaps with existing mapping`,D,w);p[S][I].push(w)}function C(S,_,w){var R;return!((R=p[S])===null||R===void 0)&&R[_]?p[S][_].some(T=>{switch(T.type){case n.SINGLE:return T.id===w;case n.ANY:return!0;case n.MULTIPLE:return T.ids.includes(w);case n.RANGE:return BigInt(w)>=BigInt(T.from)&&BigInt(w)<=BigInt(T.to)}}):!1}return{addMapping:E,getMappings:h,includesNft:C}}e.createMappingsHelper=u})(V0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isThirdParty=e.schema=void 0;const t=de,n=Ab,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 lO={},cO={},Ro={};Object.defineProperty(Ro,"__esModule",{value:!0});Ro.isBaseEmote=Ro.isBaseAvatar=Ro.requiredBaseItemProps=Ro.baseItemProperties=void 0;const Zfe=Ib,Xfe=Ob,Jfe=au;Ro.baseItemProperties=Object.assign(Object.assign({},Jfe.displayableProperties),{id:{type:"string"},name:{type:"string"},description:{type:"string"},i18n:{type:"array",items:Zfe.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({},Xfe.Metrics.schema),{nullable:!0})});Ro.requiredBaseItemProps=["id","name","description","i18n","thumbnail","image"];function Qfe(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=Qfe;function epe(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=epe;(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={}))})(cO);(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=cO;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}})})(lO);var k2={},I2={},Pb={},Nb={};(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={}))})(Nb);var $b={};(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={}))})($b);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmoteDataADR74=void 0;const t=Nb,n=de,r=$b;(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={}))})(Pb);var VS;function tpe(){return VS||(VS=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Emote=void 0;const t=dO(),n=de,r=Ro,o=U0,i=H0,a=Pb;(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={}))}(I2)),I2}var uO={};(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={}))})(uO);var zS;function npe(){return zS||(zS=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.EmotePlayMode=e.EmoteCategory=e.EmoteDataADR74=e.EmoteRepresentationADR74=e.Emote=void 0;var t=tpe();Object.defineProperty(e,"Emote",{enumerable:!0,get:function(){return t.Emote}});var n=$b;Object.defineProperty(e,"EmoteRepresentationADR74",{enumerable:!0,get:function(){return n.EmoteRepresentationADR74}});var r=Pb;Object.defineProperty(e,"EmoteDataADR74",{enumerable:!0,get:function(){return r.EmoteDataADR74}});var o=Nb;Object.defineProperty(e,"EmoteCategory",{enumerable:!0,get:function(){return o.EmoteCategory}});var i=uO;Object.defineProperty(e,"EmotePlayMode",{enumerable:!0,get:function(){return i.EmotePlayMode}})}(k2)),k2}var WS;function dO(){return WS||(WS=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=Ib;Object.defineProperty(e,"I18N",{enumerable:!0,get:function(){return r.I18N}});var o=Lb;Object.defineProperty(e,"Locale",{enumerable:!0,get:function(){return o.Locale}});var i=Ob;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(lO,e),n(npe(),e)}(T2)),T2}var fO={},Vf={};(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={}))})(Vf);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PointerChangesSyncDeployment=e.SnapshotSyncDeployment=void 0;const t=rs,n=Vf,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={}))})(fO);var jb={},Db={};(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={}))})(Db);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Entity=e.EntityType=void 0;const t=rs,n=Db,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={}))})(jb);var pO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DeploymentWithAuthChain=void 0;const t=Vf,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={}))})(pO);var hO={},mO={};(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={}))})(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(mO,e)})(hO);var gO={},Bb={};(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={}))})(Bb);var yO={},Fb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SubscriptionDetails=void 0;const t=de,n=Bb,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={}))})(Fb);var Ub={};(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={}))})(Ub);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Subscription=void 0;const t=de,n=Fb,r=rs,o=Ub;(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={}))})(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(Bb,e),n(yO,e),n(Fb,e)})(gO);var vO={},Js={};(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={}))})(Js);var _O={};(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=Js;(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={}))})(_O);var bO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CatalystDeploymentEvent=void 0;const t=Vf,n=de,r=jb,o=Js;(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={}))})(bO);var EO={};Object.defineProperty(EO,"__esModule",{value:!0});var SO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BidReceivedEvent=void 0;const t=de,n=Js;(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={}))})(SO);var CO={},z0={};Object.defineProperty(z0,"__esModule",{value:!0});z0.createEventSchema=void 0;function rpe(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=rpe;(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=Js,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={}))})(CO);var wO={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.FriendshipAcceptedEvent=e.FriendshipRequestEvent=e.AssetBundleConversionManuallyQueuedEvent=e.AssetBundleConversionFinishedEvent=e.BadgeGrantedEvent=void 0;const t=de,n=Js;(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={}))})(wO);(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(Js,e),n(_O,e),n(bO,e),n(EO,e),n(SO,e),n(CO,e),n(wO,e)})(vO);(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(iO,e),n(dO(),e),n(au,e),n(Ab,e),n(fO,e),n(jb,e),n(pO,e),n(hO,e),n(gO,e),n(vO,e)})(F0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.WearableJson=void 0;const t=Hf,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={}))})(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(tO,e),n(nO,e)})(eO);(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(eL,e),n(eO,e)})(QI);var xO={},MO={};(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={}))})(MO);var L2={},O2={},qS;function RO(){return qS||(qS=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={}))}(O2)),O2}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 GS;function No(){return GS||(GS=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=RO(),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={}))}(L2)),L2}var TO={};(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={}))})(TO);var kO={},zf={};(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={}))})(zf);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Contract=e.ContractSortBy=void 0;const t=de,n=No(),r=po,o=zf;(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={}))})(kO);var IO={},Hb={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NFT=e.NFTSortBy=void 0;const t=de,n=No(),r=F0,o=po,i=zf,a=Hf,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={}))})(Hb);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Item=e.ItemSortBy=void 0;const t=de,n=No(),r=po,o=Hb,i=zf;(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={}))})(IO);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 LO={};(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={}))})(LO);var OO={};(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={}))})(OO);var AO={};(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={}))})(AO);var PO={};(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={}))})(PO);var NO={};(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={}))})(NO);var Vb={};(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={}))})(Vb);var $O={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Sale=e.SaleSortBy=void 0;const t=de,n=No(),r=Vb,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={}))})($O);var jO={};(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={}))})(jO);var DO={};(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={}))})(DO);var BO={};(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={}))})(BO);var FO={};(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={}))})(FO);var UO={};(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={}))})(UO);var HO={};(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={}))})(HO);var VO={};Object.defineProperty(VO,"__esModule",{value:!0});var zO={};(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={}))})(zO);var WO={},qO={};(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={}))})(qO);var GO={};Object.defineProperty(GO,"__esModule",{value:!0});var KO={};Object.defineProperty(KO,"__esModule",{value:!0});var YO={};(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={}))})(YO);var ZO={};(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={}))})(ZO);var XO={};(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})(XO);var JO={};Object.defineProperty(JO,"__esModule",{value:!0});var QO={};(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={}))})(QO);var eA={};(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={}))})(eA);var tA={};Object.defineProperty(tA,"__esModule",{value:!0});var nA={};Object.defineProperty(nA,"__esModule",{value:!0});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});(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(qO,e),n(GO,e),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)})(WO);var cA={},q0={};Object.defineProperty(q0,"__esModule",{value:!0});q0.isSysLink=void 0;const ope=e=>e!==null&&typeof e=="object"&&"sys"in e&&"id"in e.sys;q0.isSysLink=ope;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 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(q0,e),n(G0,e),n(uA,e)})(cA);(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=MO;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=RO();Object.defineProperty(e,"ChainName",{enumerable:!0,get:function(){return i.ChainName}}),Object.defineProperty(e,"getChainId",{enumerable:!0,get:function(){return i.getChainId}});var a=TO;Object.defineProperty(e,"Collection",{enumerable:!0,get:function(){return a.Collection}}),Object.defineProperty(e,"CollectionSortBy",{enumerable:!0,get:function(){return a.CollectionSortBy}});var s=kO;Object.defineProperty(e,"Contract",{enumerable:!0,get:function(){return s.Contract}}),Object.defineProperty(e,"ContractSortBy",{enumerable:!0,get:function(){return s.ContractSortBy}});var l=IO;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=LO;Object.defineProperty(e,"MetaTransaction",{enumerable:!0,get:function(){return u.MetaTransaction}});var d=OO;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=zf;Object.defineProperty(e,"NFTCategory",{enumerable:!0,get:function(){return h.NFTCategory}});var g=Hb;Object.defineProperty(e,"NFT",{enumerable:!0,get:function(){return g.NFT}}),Object.defineProperty(e,"NFTSortBy",{enumerable:!0,get:function(){return g.NFTSortBy}});var v=AO;Object.defineProperty(e,"CatalogSortBy",{enumerable:!0,get:function(){return v.CatalogSortBy}}),Object.defineProperty(e,"CatalogSortDirection",{enumerable:!0,get:function(){return v.CatalogSortDirection}});var b=PO;Object.defineProperty(e,"Order",{enumerable:!0,get:function(){return b.Order}}),Object.defineProperty(e,"OrderSortBy",{enumerable:!0,get:function(){return b.OrderSortBy}});var m=NO;Object.defineProperty(e,"ProviderType",{enumerable:!0,get:function(){return m.ProviderType}});var y=Hf;Object.defineProperty(e,"Rarity",{enumerable:!0,get:function(){return y.Rarity}});var E=Vb;Object.defineProperty(e,"SaleType",{enumerable:!0,get:function(){return E.SaleType}});var C=$O;Object.defineProperty(e,"Sale",{enumerable:!0,get:function(){return C.Sale}}),Object.defineProperty(e,"SaleSortBy",{enumerable:!0,get:function(){return C.SaleSortBy}});var S=jO;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 _=DO;Object.defineProperty(e,"AnalyticsDayDataSortBy",{enumerable:!0,get:function(){return _.AnalyticsDayDataSortBy}});var w=BO;Object.defineProperty(e,"Store",{enumerable:!0,get:function(){return w.Store}});var R=FO;Object.defineProperty(e,"WearableGender",{enumerable:!0,get:function(){return R.WearableGender}}),Object.defineProperty(e,"GenderFilterOption",{enumerable:!0,get:function(){return R.GenderFilterOption}});var T=UO;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(HO,e),n(VO,e),n(zO,e),n(WO,e),n(cA,e)})(xO);var dA={};(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={}))})(dA);(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(QI);e.sdk=i,o(de,e),o(xO,e),o(F0,e),o(rs,e),o(dA,e),o(Vf,e),o(Db,e),o(Ub,e)})(_e);var zb={},A2={};const ipe=Yi(YU);var KS;function jr(){return KS||(KS=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=ipe}(A2)),A2}var ape=ir;Object.defineProperty(zb,"__esModule",{value:!0});var fA=zb.default=void 0,spe=ape(jr()),lpe=f;fA=zb.default=(0,spe.default)((0,lpe.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 cpe=K.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"})})})]})})),upe=K.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"})})})]})})),dpe=K.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"})})})]})})),fpe=K.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"})})]})]})})),ppe=K.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"})})})]})})),hpe=K.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"})})]})]})})),mpe=K.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 YS=K.memo(e=>{const{icon:t}=e,n={fontSize:"small",color:"inherit"};switch(t){case mi.ARBITRUM:return f.jsx(cpe,{...n});case mi.AVALANCHE:return f.jsx(upe,{...n});case mi.BSC:return f.jsx(dpe,{...n});case mi.ETHEREUM:return f.jsx(fpe,{...n});case mi.FANTOM:return f.jsx(ppe,{...n});case mi.OPTIMISM:return f.jsx(hpe,{...n});case mi.POLYGON:return f.jsx(mpe,{...n});default:return f.jsx(f.Fragment,{})}}),K0=()=>{const e=fo();return s5(e.breakpoints.down("sm"))},gpe=()=>{const e=fo();return s5(e.breakpoints.down("xs"))},ype=()=>{const e=fo();return s5(e.breakpoints.up("xs"))},vpe=({children:e})=>K0()?e:null,_pe=({children:e})=>gpe()?e:null,pA=({children:e})=>ype()?e:null,ZS={[_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 Wb={},bpe=ir;Object.defineProperty(Wb,"__esModule",{value:!0});var qb=Wb.default=void 0,Epe=bpe(jr()),Spe=f;qb=Wb.default=(0,Epe.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 Gb={},Cpe=ir;Object.defineProperty(Gb,"__esModule",{value:!0});var hA=Gb.default=void 0,wpe=Cpe(jr()),xpe=f;hA=Gb.default=(0,wpe.default)((0,xpe.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 Mpe=X(i0)({display:"flex",alignItems:"center",justifyContent:"center"}),Rpe=X(_f)(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"}}}),Tpe=X(je)({display:"flex",justifyContent:"space-between",padding:"24px"}),kpe=X(je)({padding:"24px"}),Ipe=X(je)({display:"flex",padding:"24px","& > *":{flex:1},"& > *.MuiButtonBase-root:not(:last-child)":{marginRight:"16px"}}),Lpe=K.memo(e=>{const{children:t,header:n,actions:r,title:o,subtitle:i,size:a,onClose:s,onBack:l}=e;return f.jsxs(Rpe,{elevation:24,size:a,children:[n,(o||s||l)&&f.jsxs(Tpe,{children:[l&&f.jsx(bh,{"aria-label":"back",size:"large",onClick:l,children:f.jsx(qb,{})}),o&&f.jsx(mt,{variant:"h5",children:o}),s&&f.jsx(bh,{"aria-label":"close",size:"large",onClick:s,children:f.jsx(hA,{})})]}),i&&f.jsx(mt,{variant:"subtitle1",children:i}),f.jsx(kpe,{children:t}),r&&f.jsx(Ipe,{children:r})]})}),mA=K.memo(e=>{const{open:t,onClose:n,children:r,className:o,...i}=e;return f.jsx(Mpe,{open:t,onClose:n,className:o,children:f.jsx(Lpe,{...i,onClose:n,children:r})})}),Ope=X(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:yh.gray1,background:ft.gray1,boxShadow:"none"},"&:not(.Mui-disabled):not(.Mui-focusVisible):hover":{color:yh.gray0,background:ft.gray0}},"& span.MuiButton-icon.MuiButton-startIcon.MuiButton-iconSizeMedium":{"& svg":{fontSize:"28px"}}}),Ape=X(Ope)(({theme:e})=>({[e.breakpoints.down("sm")]:{"&.MuiButton-sizeMedium.MuiButton-containedSecondary":{paddingLeft:"0",paddingRight:"0",minWidth:"50px"},"& span":{marginLeft:"0",marginRight:"0"}}})),Ppe=X(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}}}),gA=X(mt)(({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}})),Npe=X(gA)({"&:after":{backgroundColor:JM.unique}});X(mA)({"&.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 $pe=X(_f)(({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)"}})),jpe=X(je)(({theme:e})=>({display:"flex",flexDirection:"column",margin:"16px",[e.breakpoints.down("sm")]:{padding:"5px"}})),Dpe=X(je)({display:"flex",justifyContent:"center",paddingTop:"24px"}),Bpe=X(bh)({marginTop:"-12px",position:"absolute",right:12}),Fpe=K.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(Ape,{variant:"contained",color:"secondary",startIcon:f.jsx(YS,{icon:ZS[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($pe,{elevation:1,children:[f.jsxs(Dpe,{children:[u&&f.jsx(mt,{variant:"h5",children:u}),f.jsx(Bpe,{"aria-label":"close",size:"large",onClick:()=>c(!1),children:f.jsx(fA,{})})]}),f.jsx(jpe,{children:t.map(h=>{const g=h===_e.ChainId.ETHEREUM_MAINNET?"Ethereum":_e.getChainName(h);return f.jsxs(Ppe,{variant:"text",color:"secondary",startIcon:f.jsx(YS,{icon:ZS[h]}),onClick:()=>p(h),isSelected:n===h,children:[g,n===h?f.jsx(gA,{children:o.connected}):r&&h===r?f.jsx(Npe,{children:o.confirmInWallet}):null]},h)})})]})})]})});K.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 Upe=K.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"})]})})),Hpe=K.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"})]})}));K.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 Vpe=K.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"})})})),zpe=K.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"})})})),yA=K.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)"})})]})]})})),vA=K.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)"})})]})]})})),_A=K.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"})]})})]})}));K.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 Wpe=K.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"})]})})]})})),qpe=K.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"})]})}));K.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 Gpe=K.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"})]})})]})})),Kpe=K.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"})]})})]})})),Ype=K.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"})]})})]})})),Zpe=K.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"})]})}));K.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 Xpe=K.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"})]})})]})})),Jpe=K.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"})]})})]})})),Qpe=K.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"})]})})]})})),e1e=K.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"})]})})]})})),t1e=K.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)"})})]})]})})),bA=K.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"})]})})]})})),n1e=K.memo(e=>f.jsx(fe,{...e,children:f.jsx("svg",{fill:"none",children:f.jsx("circle",{cx:"6",cy:"6",r:"6",fill:"#FF2D55"})})})),r1e=K.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})]})})}),o1e=K.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})})})}),i1e=K.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"})]})})]})})),a1e=K.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"})]})})]})})),s1e=K.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"})]})})]})})),l1e=K.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"})]})})]})})),c1e=K.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"})]})})]})})),u1e=K.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"})]})})]})})),EA=K.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"})]})})]})})),d1e=K.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"})]})})]})})),f1e=K.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"})]})})]})})),p1e=K.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"})})})),h1e=K.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"})})})),m1e=K.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"})})})]})})),g1e=K.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"})]})})),y1e=K.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"})]})})),v1e=K.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"})]})})),_1e=K.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"})]})})),b1e=K.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"})})})),E1e=K.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=K.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"})})})),C1e=K.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"})]})})),w1e=K.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"})})})),x1e=K.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"})})})),M1e=K.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"})]})})),R1e=K.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"})})})),T1e=K.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"})]})})),k1e=K.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"})})})),I1e=K.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"})})})),L1e=K.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"})]})})),O1e=K.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"})]})})),A1e=K.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"})})})),P1e=K.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"})})})),N1e=K.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"})]})})),$1e=K.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"})]})})),j1e=K.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 Kb={},D1e=ir;Object.defineProperty(Kb,"__esModule",{value:!0});var SA=Kb.default=void 0,B1e=D1e(jr()),F1e=f;SA=Kb.default=(0,B1e.default)((0,F1e.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 Yb={},U1e=ir;Object.defineProperty(Yb,"__esModule",{value:!0});var CA=Yb.default=void 0,H1e=U1e(jr()),V1e=f;CA=Yb.default=(0,H1e.default)((0,V1e.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 z1e=X(qs)(e=>{const{inline:t,onClick:n}=e;return{display:t?"inline-flex":"flex",backgroundColor:ft.gray1,alignItems:"center",justifyContent:"center",color:yh.gray1,verticalAlign:"middle",fontSize:"13px",lineHeight:"inherit",textTransform:"uppercase",padding:"2px 8px",borderRadius:"5px",cursor:n?"pointer":"default","& + &":{marginLeft:"0.3em"}}}),W1e=X(je)({display:"flex","& svg path":{fill:yh.gray1}}),q1e=X(mt)({fontSize:"inherit",color:"inherit",":not(:first-child)":{paddingLeft:"0.3em"}}),G1e=e=>{const t={fontSize:"small",color:"inherit"};switch(e){case st.BaseFemale:return f.jsx(g1e,{...t});case st.BaseMale:return f.jsx(y1e,{...t});case st.Unisex:return f.jsx($1e,{...t});case st.BodyShape:return f.jsx(v1e,{...t});case st.Earring:return f.jsx(_1e,{...t});case st.Eyebrows:return f.jsx(b1e,{...t});case st.Eyes:return f.jsx(E1e,{...t});case st.Eyewear:return f.jsx(S1e,{...t});case st.FacialHair:return f.jsx(C1e,{...t});case st.Feet:return f.jsx(w1e,{...t});case st.Hair:return f.jsx(x1e,{...t});case st.Hat:return f.jsx(R1e,{...t});case st.Helmet:return f.jsx(T1e,{...t});case st.LowerBody:return f.jsx(k1e,{...t});case st.Mask:return f.jsx(I1e,{...t});case st.Mouth:return f.jsx(L1e,{...t});case st.Tiara:return f.jsx(P1e,{...t});case st.TopHead:return f.jsx(N1e,{...t});case st.UpperBody:return f.jsx(j1e,{...t});case st.Skin:return f.jsx(O1e,{...t});case st.HandsWear:return f.jsx(M1e,{...t});case st.PlayOnce:return f.jsx(SA,{...t});case st.PlayLoop:return f.jsx(CA,{...t});case st.SmartWearable:return f.jsx(A1e,{...t});case st.Sound:return f.jsx(Hpe,{...t});case st.Props:return f.jsx(Upe,{...t});case st.Sparkles:return f.jsx(h1e,{...t});case st.Places:return f.jsx(p1e,{...t});case st.Utility:return f.jsx(m1e,{...t});default:return f.jsx(f.Fragment,{})}},wA=K.memo(e=>{const{icon:t,text:n,children:r,...o}=e;return f.jsxs(z1e,{...o,children:[t&&f.jsx(W1e,{children:r?{children:r}:G1e(t)}),n?f.jsx(q1e,{children:n}):null]})}),K1e=X(fe)(({theme:e})=>({fontSize:"36px",[e.breakpoints.down("xs")]:{fontSize:"32px"}})),XS=K.memo(e=>f.jsx(K1e,{...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"})]})]})]})})),Y1e={[_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"},Z1e=e=>Y1e[e],X1e=e=>{const t=Z1e(e);return t?`${t} MANA`:"MANA"},J1e=X(qs)(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"}}}),Q1e=X("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)}}}),JS=K.memo(e=>{const{children:t,size:n,network:r,primary:o,color:i,...a}=e;return f.jsxs(J1e,{fontSize:n,...a,children:[f.jsx(Q1e,{primary:o,color:i,children:!r||r!==_e.Network.MATIC?f.jsx(Vpe,{fontSize:n||"inherit"}):f.jsx(zpe,{fontSize:n||"inherit"})}),t]})}),Y0=K.memo(e=>{const{showTooltip:t,...n}=e;return t?f.jsx(xq,{placement:"top",title:X1e(n.network||_e.Network.ETHEREUM),children:f.jsx(JS,{...n})}):f.jsx(JS,{...n})}),ehe="https://wearable-preview.decentraland.zone",the="https://decentraland.zone/account",nhe="https://decentraland.zone/profile",rhe="https://decentraland.zone/marketplace",ohe="https://decentraland.zone/builder",ihe="https://decentraland.zone/dao",ahe="https://decentraland.zone/governance",she="https://decentraland.zone/events",lhe="https://decentraland.zone/places",che="https://decentraland.org/create/",uhe="https://docs.decentraland.org/player/",dhe="https://decentraland.zone/download/creator-hub/",fhe="https://decentraland.zone/download/",phe="https://decentraland.zone/download_success/",hhe="ea2ybdmmn1kv",mhe="master",ghe="18g1DzIyBxvu0steSwKyQr",yhe="https://cms.decentraland.org",vhe="https://decentraland.zone/marketplace/names/claim",_he="https://decentraland.zone/marketplace/browse?assetType=item§ion=wearables",bhe="https://decentraland.zone/marketplace/lands",Ehe="https://decentraland.zone/marketplace/browse?assetType=item§ion=emotes",She="https://decentraland.zone/marketplace/account",Che="https://decentraland.zone/create/",whe="https://studios.decentraland.zone/",xhe="https://decentraland.zone/builder/collections",Mhe="https://decentraland.zone/builder/names",Rhe="https://decentraland.zone/builder/worlds?tab=dcl",The="https://decentraland.zone/builder/land",khe="https://decentraland.zone/events/me/",Ihe="https://decentraland.zone/places/favorites/",Lhe="https://docs.decentraland.org/player/",Ohe="https://docs.decentraland.org/creator/",Ahe="https://decentraland.zone/blog/",Phe="https://docs.decentraland.org/contributor/",Nhe="https://decentraland.zone/governance/transparency/",$he="https://decentraland.zone/governance/proposals/",jhe="https://decentraland.zone/dao/grants/",Dhe="https://decentraland.zone/governance/projects/",Bhe="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Fhe="https://decentraland.zone/marketplace/settings",Uhe={WEARABLE_PREVIEW_URL:ehe,ACCOUNT_URL:the,PROFILE_URL:nhe,MARKETPLACE_URL:rhe,BUILDER_URL:ohe,DAO_URL:ihe,GOVERNANCE_URL:ahe,EVENTS_URL:she,PLACES_URL:lhe,CREATE_URL:che,LEARN_URL:uhe,CREATOR_HUB_URL:dhe,DOWNLOAD_URL:fhe,DOWNLOAD_SUCCESS_URL:phe,CONTENTFUL_SPACE_ID:hhe,CONTENTFUL_ENV:mhe,CONTENTFUL_NAVBAR_ENTRY_ID:ghe,CONTENTFUL_CONTENTFUL_CDN_URL:yhe,MARKETPLACE_NAMES_URL:vhe,MARKETPLACE_WEARABLES_URL:_he,MARKETPLACE_LANDS_URL:bhe,MARKETPLACE_EMOTES_URL:Ehe,MARKETPLACE_MY_ASSETS_URL:She,LANDING_CREATORS_URL:Che,STUDIOS_URL:whe,BUILDER_WEARABLE_EMOTES_URL:xhe,BUILDER_NAMES_URL:Mhe,BUILDER_WORLDS_URL:Rhe,BUILDER_LAND_URL:The,EVENTS_MY_EVENTS:khe,PLACES_MY_FAVORITE_URL:Ihe,DOCS_ABOUT_URL:Lhe,DOCS_CREATORS_URL:Ohe,BLOG_URL:Ahe,DOCS_CONTRIBUTOR_URL:Phe,GOVERNANCE_TRANSPARENCY_URL:Nhe,GOVERNANCE_PROPOSALS_URL:$he,DAO_GRANTS_URL:jhe,GOVERNANCE_PROJECTS_URL:Dhe,DOCS_DAO_URL:Bhe,MARKETPLACE_SETTINGS_URL:Fhe},Hhe="https://wearable-preview.decentraland.org",Vhe="https://decentraland.org/account",zhe="https://decentraland.org/profile",Whe="https://decentraland.org/marketplace",qhe="https://decentraland.org/builder",Ghe="https://decentraland.org/dao",Khe="https://decentraland.org/governance",Yhe="https://decentraland.org/events",Zhe="https://decentraland.org/places",Xhe="https://decentraland.org/create/",Jhe="https://docs.decentraland.org/player/",Qhe="https://decentraland.org/download/creator-hub/",eme="https://decentraland.org/download/",tme="https://decentraland.org/download_success/",nme="ea2ybdmmn1kv",rme="master",ome="18g1DzIyBxvu0steSwKyQr",ime="https://cms.decentraland.org",ame="https://decentraland.org/marketplace/names/claim",sme="https://decentraland.org/marketplace/browse?assetType=item§ion=wearables",lme="https://decentraland.org/marketplace/lands",cme="https://decentraland.org/marketplace/browse?assetType=item§ion=emotes",ume="https://decentraland.org/marketplace/account",dme="https://decentraland.org/create/",fme="https://studios.decentraland.org/",pme="https://decentraland.org/builder/collections",hme="https://decentraland.org/builder/names",mme="https://decentraland.org/builder/worlds?tab=dcl",gme="https://decentraland.org/builder/land",yme="https://decentraland.org/events/me/",vme="https://decentraland.org/places/favorites/",_me="https://docs.decentraland.org/player/",bme="https://docs.decentraland.org/creator/",Eme="https://decentraland.org/blog/",Sme="https://docs.decentraland.org/contributor/",Cme="https://decentraland.org/governance/transparency/",wme="https://decentraland.org/governance/proposals/",xme="https://decentraland.org/dao/grants/",Mme="https://decentraland.org/governance/projects/",Rme="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Tme="https://decentraland.org/marketplace/settings",kme={WEARABLE_PREVIEW_URL:Hhe,ACCOUNT_URL:Vhe,PROFILE_URL:zhe,MARKETPLACE_URL:Whe,BUILDER_URL:qhe,DAO_URL:Ghe,GOVERNANCE_URL:Khe,EVENTS_URL:Yhe,PLACES_URL:Zhe,CREATE_URL:Xhe,LEARN_URL:Jhe,CREATOR_HUB_URL:Qhe,DOWNLOAD_URL:eme,DOWNLOAD_SUCCESS_URL:tme,CONTENTFUL_SPACE_ID:nme,CONTENTFUL_ENV:rme,CONTENTFUL_NAVBAR_ENTRY_ID:ome,CONTENTFUL_CONTENTFUL_CDN_URL:ime,MARKETPLACE_NAMES_URL:ame,MARKETPLACE_WEARABLES_URL:sme,MARKETPLACE_LANDS_URL:lme,MARKETPLACE_EMOTES_URL:cme,MARKETPLACE_MY_ASSETS_URL:ume,LANDING_CREATORS_URL:dme,STUDIOS_URL:fme,BUILDER_WEARABLE_EMOTES_URL:pme,BUILDER_NAMES_URL:hme,BUILDER_WORLDS_URL:mme,BUILDER_LAND_URL:gme,EVENTS_MY_EVENTS:yme,PLACES_MY_FAVORITE_URL:vme,DOCS_ABOUT_URL:_me,DOCS_CREATORS_URL:bme,BLOG_URL:Eme,DOCS_CONTRIBUTOR_URL:Sme,GOVERNANCE_TRANSPARENCY_URL:Cme,GOVERNANCE_PROPOSALS_URL:wme,DAO_GRANTS_URL:xme,GOVERNANCE_PROJECTS_URL:Mme,DOCS_DAO_URL:Rme,MARKETPLACE_SETTINGS_URL:Tme},Ime="https://wearable-preview.decentraland.today",Lme="https://decentraland.today/account",Ome="https://decentraland.today/profile",Ame="https://decentraland.today/marketplace",Pme="https://decentraland.today/builder",Nme="https://decentraland.today/dao",$me="https://decentraland.today/governance",jme="https://decentraland.zone/events",Dme="https://decentraland.zone/places",Bme="https://decentraland.today/create/",Fme="https://docs.decentraland.org/player/",Ume="https://decentraland.today/download/creator-hub/",Hme="https://decentraland.today/download/",Vme="https://decentraland.today/download_success/",zme="ea2ybdmmn1kv",Wme="master",qme="18g1DzIyBxvu0steSwKyQr",Gme="https://cms.decentraland.org",Kme="https://decentraland.today/marketplace/names/claim",Yme="https://decentraland.today/marketplace/browse?assetType=item§ion=wearables",Zme="https://decentraland.today/marketplace/lands",Xme="https://decentraland.today/marketplace/browse?assetType=item§ion=emotes",Jme="https://decentraland.today/marketplace/account",Qme="https://decentraland.today/create/",e0e="https://studios.decentraland.today/",t0e="https://decentraland.today/builder/collections",n0e="https://decentraland.today/builder/names",r0e="https://decentraland.today/builder/worlds?tab=dcl",o0e="https://decentraland.today/builder/land",i0e="https://decentraland.today/events/me/",a0e="https://decentraland.today/places/favorites/",s0e="https://docs.decentraland.org/player/",l0e="https://docs.decentraland.org/creator/",c0e="https://decentraland.today/blog/",u0e="https://docs.decentraland.org/contributor/",d0e="https://decentraland.today/governance/transparency/",f0e="https://decentraland.today/governance/proposals/",p0e="https://decentraland.today/dao/grants/",h0e="https://decentraland.today/governance/projects/",m0e="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",g0e="https://decentraland.today/marketplace/settings",y0e={WEARABLE_PREVIEW_URL:Ime,ACCOUNT_URL:Lme,PROFILE_URL:Ome,MARKETPLACE_URL:Ame,BUILDER_URL:Pme,DAO_URL:Nme,GOVERNANCE_URL:$me,EVENTS_URL:jme,PLACES_URL:Dme,CREATE_URL:Bme,LEARN_URL:Fme,CREATOR_HUB_URL:Ume,DOWNLOAD_URL:Hme,DOWNLOAD_SUCCESS_URL:Vme,CONTENTFUL_SPACE_ID:zme,CONTENTFUL_ENV:Wme,CONTENTFUL_NAVBAR_ENTRY_ID:qme,CONTENTFUL_CONTENTFUL_CDN_URL:Gme,MARKETPLACE_NAMES_URL:Kme,MARKETPLACE_WEARABLES_URL:Yme,MARKETPLACE_LANDS_URL:Zme,MARKETPLACE_EMOTES_URL:Xme,MARKETPLACE_MY_ASSETS_URL:Jme,LANDING_CREATORS_URL:Qme,STUDIOS_URL:e0e,BUILDER_WEARABLE_EMOTES_URL:t0e,BUILDER_NAMES_URL:n0e,BUILDER_WORLDS_URL:r0e,BUILDER_LAND_URL:o0e,EVENTS_MY_EVENTS:i0e,PLACES_MY_FAVORITE_URL:a0e,DOCS_ABOUT_URL:s0e,DOCS_CREATORS_URL:l0e,BLOG_URL:c0e,DOCS_CONTRIBUTOR_URL:u0e,GOVERNANCE_TRANSPARENCY_URL:d0e,GOVERNANCE_PROPOSALS_URL:f0e,DAO_GRANTS_URL:p0e,GOVERNANCE_PROJECTS_URL:h0e,DOCS_DAO_URL:m0e,MARKETPLACE_SETTINGS_URL:g0e},we=Ca.createConfig({[Ca.Env.DEVELOPMENT]:Uhe,[Ca.Env.STAGING]:y0e,[Ca.Env.PRODUCTION]:kme});var Zb={},v0e=ir;Object.defineProperty(Zb,"__esModule",{value:!0});var xA=Zb.default=void 0,_0e=v0e(jr()),b0e=f;xA=Zb.default=(0,_0e.default)((0,b0e.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 E0e=X(je,{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=X(mt,{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}}}),gl=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(E0e,{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(xA,{"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 C0e=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=we.get("CONTENTFUL_SPACE_ID"),n=we.get("CONTENTFUL_ENV"),r=we.get("CONTENTFUL_NAVBAR_ENTRY_ID"),i=`${we.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}},w0e=X(je,{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:yf.mobileStepper,transition:`${n.transitions.create(["top"],{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeInOut})}`,...r}}}),QS=e=>{const{i18n:t,isOpenOnMobile:n,...r}=e,[o,i]=M.useState(null);return M.useEffect(()=>{let a=!0;return o||C0e().then(s=>{a&&i(s)}),()=>{a=!1}},[o,i]),f.jsxs(w0e,{isOpenOnMobile:n,"aria-label":"main menu",children:[f.jsx(gl,{...r,section:Mr.MARKETPLACE,title:t.marketplace,mainUrl:we.get("MARKETPLACE_URL"),"aria-label":`${t.marketplace} menu item`}),f.jsx(gl,{...r,section:Mr.CREATE,title:t.create,mainUrl:we.get("CREATE_URL"),"aria-label":`${t.create} menu item`}),f.jsx(gl,{...r,section:Mr.LEARN,title:t.learn,mainUrl:we.get("LEARN_URL"),"aria-label":`${t.learn} menu item`}),f.jsx(gl,{...r,section:Mr.GOVERNANCE,title:t.governance,mainUrl:we.get("GOVERNANCE_URL"),"aria-label":`${t.governance} menu item`}),f.jsx(gl,{...r,section:Mr.EXPLORE,title:t.explore,mainUrl:we.get("EVENTS_URL"),"aria-label":`${t.explore} menu item`}),o&&o.visible?f.jsx(gl,{...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]})},x0e={marketplace:"shop",create:"create",learn:"learn",governance:"vote",explore:"events"},M0e={title:"Select a network",connected:"Connected",confirmInWallet:"Confirm in wallet"},R0e={marketplace:{column1:[{title:"Overview",description:"See what's trending & new",url:we.get("MARKETPLACE_URL"),eventTrackingName:"marketplace_overview"},{title:"NAMEs",description:"Claim a NAME, get a whole World",url:we.get("MARKETPLACE_NAMES_URL"),eventTrackingName:"marketplace_names"}],column2:[{title:"Wearables",description:"Customize your digital identity",url:we.get("MARKETPLACE_WEARABLES_URL"),eventTrackingName:"marketplace_wearables"},{title:"LAND",description:"Buy or Rent parcels on the Genesis City map",url:we.get("MARKETPLACE_LANDS_URL"),eventTrackingName:"marketplace_lands"}],column3:[{title:"Emotes",description:"Animate your avatar",url:we.get("MARKETPLACE_EMOTES_URL"),eventTrackingName:"marketplace_emotes"},{title:"My Assets",description:"Manage your assets, listings, bids, & more",url:we.get("MARKETPLACE_MY_ASSETS_URL"),eventTrackingName:"marketplace_my_assets"}]},create:{column1:[{title:"Create in Decentraland",description:"Discover all the benefits and possibilities",url:we.get("LANDING_CREATORS_URL"),eventTrackingName:"landing_creators"},{title:"Decentraland Studios",description:"Hire pros to transform your ideas to reality",url:we.get("STUDIOS_URL"),eventTrackingName:"studios",isExternal:!0}],column2Title:"PUBLISH",column2:[{title:"Wearables & Emotes",description:"Publish & manage Marketplace collections",url:we.get("BUILDER_WEARABLE_EMOTES_URL"),eventTrackingName:"builder_wearables_emotes"},{title:"Scenes",description:"Create & publish scenes to LAND or Worlds",url:we.get("CREATOR_HUB_URL"),eventTrackingName:"creator_hub_scenes"}],column3Title:"MANAGE",column3:[{title:"My NAMEs",description:"Create & manage NAMEs",url:we.get("BUILDER_NAMES_URL"),eventTrackingName:"builder_names"},{title:"My Worlds",description:"Manage Worlds & Worlds storage",url:we.get("BUILDER_WORLDS_URL"),eventTrackingName:"builder_worlds"},{title:"My LAND",description:"Manage parcel permissions & more",url:we.get("BUILDER_LAND_URL"),eventTrackingName:"builder_land"}]},explore:{column1:[{title:"Events",description:"Find an event to jump into",url:we.get("EVENTS_URL"),eventTrackingName:"events"},{title:"My Events",description:"See saved events & events you’re hosting",url:we.get("EVENTS_MY_EVENTS"),eventTrackingName:"events_my_events"}],column2:[{title:"Places",description:"Browse locations in Genesis City & Worlds",url:we.get("PLACES_URL"),eventTrackingName:"places"},{title:"My Favorite Places",description:"See your saved locations",url:we.get("PLACES_MY_FAVORITE_URL"),eventTrackingName:"places_my_favorite"}]},learn:{column1:[{title:"About Decentraland",description:"FAQs, Whitepaper, & DAO docs",url:we.get("DOCS_ABOUT_URL"),eventTrackingName:"docs_about"},{title:"Creator Docs",description:"Make Wearables, Emotes, scenes, games, & more",url:we.get("DOCS_CREATORS_URL"),eventTrackingName:"docs_creators"}],column2:[{title:"Blog",description:"News, Community Highlights, & more",url:we.get("BLOG_URL"),eventTrackingName:"blog",isExternal:!0},{title:"Open Protocol Docs",description:"See how Decentraland works & contribute",url:we.get("DOCS_CONTRIBUTOR_URL"),eventTrackingName:"docs_contributor"}]},governance:{column1:[{title:"Overview",description:"The latest in Decentraland governance",url:we.get("GOVERNANCE_URL"),eventTrackingName:"governance_overview"},{title:"DAO Transparency",description:"Treasury, Activity Dashboards, & more",url:we.get("GOVERNANCE_TRANSPARENCY_URL"),eventTrackingName:"governance_transparency"}],column2:[{title:"Proposals",description:"Vote on active proposals",url:we.get("GOVERNANCE_PROPOSALS_URL"),eventTrackingName:"governance_proposals"},{title:"DAO Grants",description:"Community grants overview, highlights, & resources",url:we.get("DAO_GRANTS_URL"),eventTrackingName:"dao_grants",isExternal:!0}],column3:[{title:"Active Grants",description:"Browse grant-funded community projects",url:we.get("GOVERNANCE_PROJECTS_URL"),eventTrackingName:"governance_active_grants"},{title:"DAO Docs",description:"Learn about the DAO & how to participate",url:we.get("DOCS_DAO_URL"),eventTrackingName:"docs_dao"}]}},T0e=X(je)(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%"}}});X(mt)(()=>({fontSize:"18px",fontWeight:600,lineHeight:"18px",marginBottom:"6px","&:hover":{color:"blue"}}));const P2=e=>{const{children:t,title:n}=e;return f.jsxs(T0e,{children:[!!n&&f.jsx(mt,{variant:"body2",children:n}),t]})};var Xb={},k0e=ir;Object.defineProperty(Xb,"__esModule",{value:!0});var Jb=Xb.default=void 0,I0e=k0e(jr()),L0e=f;Jb=Xb.default=(0,I0e.default)((0,L0e.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 O0e=X(je,{shouldForwardProp:e=>e!=="isExternal"})(e=>{const{isExternal:t,theme:n}=e;let r={};return t&&(r={backgroundImage:`url(${Jb})`}),{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}}}),A0e=X(bn,{shouldForwardProp:e=>e!=="isExternal"})(e=>{const{isExternal:t}=e;return{textDecoration:"none",color:"inherit","&:hover":{color:"inherit"},...t&&{paddingRight:"32px"}}}),P0e=X(mt)(()=>({fontSize:"18px",fontWeight:600,lineHeight:"18px",marginBottom:"6px",textDecoration:"none",color:"inherit","&:hover":{color:"inherit"}})),N0e=X(mt)(()=>({fontSize:"14px",fontWeight:400,lineHeight:"18px",textDecoration:"none",color:"inherit","&:hover":{color:"inherit"}})),$0e=X(Jb)({position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"}),N2=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(O0e,{isExternal:o,"aria-label":"submenu item",children:f.jsxs(A0e,{href:r,onClick:s,isExternal:o,"aria-label":`${t} - ${o?"opens in new tab":"opens in same tab"}`,children:[f.jsx(P0e,{"aria-label":t,children:t}),f.jsx(N0e,{"aria-label":n,children:n}),o&&f.jsx($0e,{"aria-label":"external link icon"})]})})},j0e="https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/assets/create-submenu-DEFVbrc5.png",D0e="https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/assets/explore-submenu-KVl6Dc-h.png",B0e="https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/assets/governance-submenu-CXxLX9nT.png",F0e="https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/assets/learn-submenu-Xs1jOwfy.png",U0e="https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/assets/marketplace-submenu-CjxTqNhj.png",H0e=X(je)(e=>{const{theme:t}=e;return{[t.breakpoints.down("sm")]:{position:"absolute",zIndex:yf.modal}}}),V0e=X(je,{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(${U0e})`};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(${j0e})`};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(${D0e})`};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(${F0e})`};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(${B0e})`};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"}}}}),z0e=X(je)(e=>{const{theme:t}=e;return{width:"100%",display:"flex",alignItems:"flex-start",height:"fit-content",[t.breakpoints.down("sm")]:{flexDirection:"column"}}}),W0e=X(Ji)({padding:"0"}),eC=e=>{const{selectedMenu:t,onToggleShowSubMenu:n,onClickMenuOption:r,isMobile:o,submenus:i}=e;return f.jsx(H0e,{children:Object.keys(i).map(a=>{const s=a,l=i[s];return f.jsx(V0e,{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(z0e,{children:[o&&f.jsx(W0e,{variant:"text",color:"inherit",onClick:c=>n(c,!1,s),startIcon:f.jsx(qb,{}),"aria-label":"back to main menu",children:"Back"}),f.jsx(P2,{title:l.column1Title,children:l.column1.map((c,u)=>f.jsx(N2,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:r},u))}),f.jsx(P2,{title:l.column2Title,children:l.column2.map((c,u)=>f.jsx(N2,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:r},u))}),!!l.column3&&f.jsx(P2,{title:l.column3Title,children:l.column3.map((c,u)=>f.jsx(N2,{isExternal:c.isExternal,title:c.title,description:c.description,href:c.url,eventTrackingName:c.eventTrackingName,onClickMenuOption:r},u))})]})},a)})})};var Qb={},q0e=ir;Object.defineProperty(Qb,"__esModule",{value:!0});var MA=Qb.default=void 0,G0e=q0e(jr()),K0e=f;MA=Qb.default=(0,G0e.default)((0,K0e.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 Y0e(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 $2;const Z0e=new Uint8Array(16);function X0e(){if(!$2){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");$2=crypto.getRandomValues.bind(crypto)}return $2(Z0e)}const J0e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),tC={randomUUID:J0e};function Q0e(e,t,n){var o;if(tC.randomUUID&&!t&&!e)return tC.randomUUID();e=e||{};const r=e.random??((o=e.rng)==null?void 0:o.call(e))??X0e();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,Y0e(r)}const RA={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 e6={},ege=ir;Object.defineProperty(e6,"__esModule",{value:!0});var Yu=e6.default=void 0,tge=ege(jr()),nge=f;Yu=e6.default=(0,tge.default)((0,nge.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");var t6={},rge=ir;Object.defineProperty(t6,"__esModule",{value:!0});var TA=t6.default=void 0,oge=rge(jr()),ige=f;TA=t6.default=(0,oge.default)((0,ige.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 n6={},age=ir;Object.defineProperty(n6,"__esModule",{value:!0});var kA=n6.default=void 0,sge=age(jr()),lge=f;kA=n6.default=(0,sge.default)((0,lge.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 cge(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const uge=36e5,Zp=43200,nC=1440;let dge={};function IA(){return dge}function rC(e,t){var s,l,c,u;const n=IA(),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 oC(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 B1(e,t){const n=gn(e),r=gn(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function fge(e){return cge(e,Date.now())}function pge(e,t){const n=gn(e),r=gn(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return o*12+i}function LA(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return r===0?0:r}}function OA(e,t){return+gn(e)-+gn(t)}function hge(e,t,n){const r=OA(e,t)/uge;return LA(n==null?void 0:n.roundingMethod)(r)}function mge(e){const t=gn(e);return t.setHours(23,59,59,999),t}function gge(e){const t=gn(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function yge(e){const t=gn(e);return+mge(t)==+gge(t)}function vge(e,t){const n=gn(e),r=gn(t),o=B1(n,r),i=Math.abs(pge(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=B1(n,r)===-o;yge(gn(e))&&i===1&&B1(e,r)===1&&(s=!1),a=o*(i-Number(s))}return a===0?0:a}function _ge(e,t,n){const r=OA(e,t)/1e3;return LA(n==null?void 0:n.roundingMethod)(r)}const bge={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"}},Ege=(e,t,n)=>{let r;const o=bge[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"},Cge={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wge={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xge={date:Ii({formats:Sge,defaultWidth:"full"}),time:Ii({formats:Cge,defaultWidth:"full"}),dateTime:Ii({formats:wge,defaultWidth:"full"})},Mge={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Rge=(e,t,n,r)=>Mge[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 Tge={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},kge={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ige={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"]},Lge={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"]},Oge={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"}},Age={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"}},Pge=(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"},Nge={ordinalNumber:Pge,era:Zn({values:Tge,defaultWidth:"wide"}),quarter:Zn({values:kge,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Zn({values:Ige,defaultWidth:"wide"}),day:Zn({values:Lge,defaultWidth:"wide"}),dayPeriod:Zn({values:Oge,defaultWidth:"wide",formattingValues:Age,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)?jge(s,d=>d.test(a)):$ge(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 $ge(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function jge(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function r6(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 Dge=/^(\d+)(th|st|nd|rd)?/i,Bge=/\d+/i,Fge={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},Uge={any:[/^b/i,/^(a|c)/i]},Hge={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Vge={any:[/1/i,/2/i,/3/i,/4/i]},zge={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},Wge={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]},qge={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},Gge={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]},Kge={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},Yge={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}},Zge={ordinalNumber:r6({matchPattern:Dge,parsePattern:Bge,valueCallback:e=>parseInt(e,10)}),era:Xn({matchPatterns:Fge,defaultMatchWidth:"wide",parsePatterns:Uge,defaultParseWidth:"any"}),quarter:Xn({matchPatterns:Hge,defaultMatchWidth:"wide",parsePatterns:Vge,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Xn({matchPatterns:zge,defaultMatchWidth:"wide",parsePatterns:Wge,defaultParseWidth:"any"}),day:Xn({matchPatterns:qge,defaultMatchWidth:"wide",parsePatterns:Gge,defaultParseWidth:"any"}),dayPeriod:Xn({matchPatterns:Kge,defaultMatchWidth:"any",parsePatterns:Yge,defaultParseWidth:"any"})},AA={code:"en-US",formatDistance:Ege,formatLong:xge,formatRelative:Rge,localize:Nge,match:Zge,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Xge(e,t,n){const r=IA(),o=(n==null?void 0:n.locale)??r.locale??AA,i=2520,a=B1(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=_ge(c,l),d=(oC(c)-oC(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<nC){const g=Math.round(p/60);return o.formatDistance("aboutXHours",g,s)}else{if(p<i)return o.formatDistance("xDays",1,s);if(p<Zp){const g=Math.round(p/nC);return o.formatDistance("xDays",g,s)}else if(p<Zp*2)return h=Math.round(p/Zp),o.formatDistance("aboutXMonths",h,s)}if(h=vge(c,l),h<12){const g=Math.round(p/Zp);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 Jge(e,t){return Xge(e,fge(e),t)}function Qge(e,t,n){const r=rC(e,n),o=rC(t,n);return+r==+o}const j2={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:"讓我們開始"}}},Ci={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 Sd;(function(e){e.NEWEST="newest",e.READ="read"})(Sd||(Sd={}));const D2={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:"事件开始"}},e2e={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"}},t2e=(e,t,n)=>{let r;const o=e2e[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},n2e={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},r2e={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},o2e={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},i2e={date:Ii({formats:n2e,defaultWidth:"full"}),time:Ii({formats:r2e,defaultWidth:"full"}),dateTime:Ii({formats:o2e,defaultWidth:"full"})},a2e={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"},s2e={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"},l2e=(e,t,n,r)=>t.getHours()!==1?s2e[e]:a2e[e],c2e={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},u2e={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},d2e={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"]},f2e={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"]},p2e={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"}},h2e={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"}},m2e=(e,t)=>Number(e)+"º",g2e={ordinalNumber:m2e,era:Zn({values:c2e,defaultWidth:"wide"}),quarter:Zn({values:u2e,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:Zn({values:d2e,defaultWidth:"wide"}),day:Zn({values:f2e,defaultWidth:"wide"}),dayPeriod:Zn({values:p2e,defaultWidth:"wide",formattingValues:h2e,defaultFormattingWidth:"wide"})},y2e=/^(\d+)(º)?/i,v2e=/\d+/i,_2e={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},b2e={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]},E2e={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},S2e={any:[/1/i,/2/i,/3/i,/4/i]},C2e={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},w2e={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]},x2e={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},M2e={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]},R2e={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},T2e={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}},k2e={ordinalNumber:r6({matchPattern:y2e,parsePattern:v2e,valueCallback:function(e){return parseInt(e,10)}}),era:Xn({matchPatterns:_2e,defaultMatchWidth:"wide",parsePatterns:b2e,defaultParseWidth:"any"}),quarter:Xn({matchPatterns:E2e,defaultMatchWidth:"wide",parsePatterns:S2e,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Xn({matchPatterns:C2e,defaultMatchWidth:"wide",parsePatterns:w2e,defaultParseWidth:"any"}),day:Xn({matchPatterns:x2e,defaultMatchWidth:"wide",parsePatterns:M2e,defaultParseWidth:"any"}),dayPeriod:Xn({matchPatterns:R2e,defaultMatchWidth:"any",parsePatterns:T2e,defaultParseWidth:"any"})},I2e={code:"es",formatDistance:t2e,formatLong:i2e,formatRelative:l2e,localize:g2e,match:k2e,options:{weekStartsOn:1,firstWeekContainsDate:1}},L2e={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}} 年"}},O2e=(e,t,n)=>{let r;const o=L2e[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},A2e={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},P2e={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},N2e={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},$2e={date:Ii({formats:A2e,defaultWidth:"full"}),time:Ii({formats:P2e,defaultWidth:"full"}),dateTime:Ii({formats:N2e,defaultWidth:"full"})};function iC(e,t,n){const r="eeee p";return Qge(e,t,n)?r:e.getTime()>t.getTime()?"'下个'"+r:"'上个'"+r}const j2e={lastWeek:iC,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:iC,other:"PP p"},D2e=(e,t,n,r)=>{const o=j2e[e];return typeof o=="function"?o(t,n,r):o},B2e={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},F2e={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},U2e={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},H2e={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},V2e={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:"夜间"}},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=(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()}},q2e={ordinalNumber:W2e,era:Zn({values:B2e,defaultWidth:"wide"}),quarter:Zn({values:F2e,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Zn({values:U2e,defaultWidth:"wide"}),day:Zn({values:H2e,defaultWidth:"wide"}),dayPeriod:Zn({values:V2e,defaultWidth:"wide",formattingValues:z2e,defaultFormattingWidth:"wide"})},G2e=/^(第\s*)?\d+(日|时|分|秒)?/i,K2e=/\d+/i,Y2e={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},Z2e={any:[/^(前)/i,/^(公元)/i]},X2e={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},J2e={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Q2e={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},eye={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]},tye={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},nye={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},rye={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},oye={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},iye={ordinalNumber:r6({matchPattern:G2e,parsePattern:K2e,valueCallback:e=>parseInt(e,10)}),era:Xn({matchPatterns:Y2e,defaultMatchWidth:"wide",parsePatterns:Z2e,defaultParseWidth:"any"}),quarter:Xn({matchPatterns:X2e,defaultMatchWidth:"wide",parsePatterns:J2e,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Xn({matchPatterns:Q2e,defaultMatchWidth:"wide",parsePatterns:eye,defaultParseWidth:"any"}),day:Xn({matchPatterns:tye,defaultMatchWidth:"wide",parsePatterns:nye,defaultParseWidth:"any"}),dayPeriod:Xn({matchPatterns:rye,defaultMatchWidth:"any",parsePatterns:oye,defaultParseWidth:"any"})},aye={code:"zh-CN",formatDistance:O2e,formatLong:$2e,formatRelative:D2e,localize:q2e,match:iye,options:{weekStartsOn:1,firstWeekContainsDate:4}},sye=X(M5)({height:"48px",width:"48px","& svg.MuiSvgIcon-root":{fontSize:"inherit"}}),lye=X("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%"}}}),cye=K.memo(e=>{const{image:t,badgeIcon:n,imageBackgroundColor:r}=e;return f.jsx(sye,{overlap:"circular",anchorOrigin:{vertical:"bottom",horizontal:"left"},badgeContent:n,children:typeof t=="string"?f.jsx(lye,{backgroundColor:r,children:f.jsx("img",{src:t,alt:"Notification Image"})}):t})}),uye=X("div")({display:"flex",flexDirection:"row",alignItems:"center",padding:"8px 16px",justifyContent:"space-between",gap:"16px","&:last-of-type":{padding:"8px 16px 16px"}}),dye=X("div")({marginLeft:"16px",fontSize:"48px"}),fye=X("div")({display:"flex",flexDirection:"column",flexGrow:1}),pye=X(mt)({fontWeight:600,fontSize:"12px"}),Bt=X(mt)({fontWeight:600,fontSize:"14px",marginBottom:0}),Ft=X(bn)({display:"inline",color:"#a09ba8",margin:"4px 0",gap:"5px",flexWrap:"wrap",alignItems:"center",fontSize:"14px"}),hye=X("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"}}),Qs=X("span")(e=>{const{theme:t}=e;return{color:t.palette.primary.main}}),Ut=K.memo(e=>{const{image:t,imageBackgroundColor:n,badgeIcon:r,timestamp:o,isNew:i,children:a,locale:s}=e,l=s==="en"?AA:s==="es"?I2e:aye;return f.jsxs(uye,{children:[f.jsx(dye,{children:f.jsx(cye,{image:t,imageBackgroundColor:n,badgeIcon:r})}),f.jsxs(fye,{children:[a,f.jsx(pye,{children:Jge(o,{locale:l})})]}),i&&f.jsx(n1e,{fontStyle:12})]})}),mye=K.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(Gpe,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:D2[n].title}),f.jsxs(Ft,{href:t.metadata.link,color:"inherit",underline:"none",children:[D2[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:t.metadata.name})," ",D2[n].description.end]})]})});var o6={},gye=ir;Object.defineProperty(o6,"__esModule",{value:!0});var PA=o6.default=void 0,yye=gye(jr()),vye=f;PA=o6.default=(0,yye.default)((0,vye.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 B2;const _ye=K.memo(({startDate:e})=>{const[t,n]=M.useState("--:--");return M.useEffect(()=>(B2=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(B2))},1e3),()=>clearInterval(B2)),[]),f.jsxs(hye,{children:[f.jsx(PA,{fontSize:"inherit"}),t]})}),$u={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:"事件即将开始"}},bye=K.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:$u[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:[$u[n].description.aboutToStart.start," ",f.jsx(bn,{href:t.metadata.link,children:t.metadata.name})," ",$u[n].description.aboutToStart.end," ",f.jsx(_ye,{startDate:t.metadata.startsAt})]}):f.jsxs(f.Fragment,{children:[$u[n].description.startsInOneHour.start," ",f.jsx(bn,{href:t.metadata.link,children:t.metadata.name})," ",$u[n].description.startsInOneHour.end]})})]})}),Eye=K.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:t.metadata.title}),f.jsx(Ft,{href:t.metadata.link,color:"inherit",underline:"none",children:t.metadata.description})]})}),F2={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=K.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.jsxs(Bt,{children:[F2[n].title," ",f.jsx(Qs,{children:t.metadata.proposalTitle})]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[F2[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:F2[n].description.link_text})]})]})}),U2={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:"收到共同作者申请"}},Cye=K.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(Wpe,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[U2[n].title," ",f.jsx(Qs,{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:"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:"您的更新收到了新评论"}},wye=K.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(bA,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[H2[n].title," ",f.jsx(Qs,{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=K.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(bA,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[V2[n].title," ",f.jsx(Qs,{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}),"."]})]})}),Xp={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:"" 现在可以接收投标"}}},Mye=K.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(s1e,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsxs(Bt,{children:[Xp[n].title.start," ",f.jsx(Qs,{children:t.metadata.proposalTitle})," ",Xp[n].title.end]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[Xp[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:Xp[n].description.link_text})]})]})}),z2={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:"您的项目已获得资助"}},Rye=K.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.jsx(Bt,{children:z2[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[z2[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:t.metadata.link})," ",z2[n].description.end]})]})}),Jp={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:"" 现在可以接收项目投标"}}},Tye=K.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.jsxs(Bt,{children:[Jp[n].title.start," ",f.jsx(Qs,{children:t.metadata.proposalTitle})," ",Jp[n].title.end]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[Jp[n].description.start," ",f.jsx(bn,{href:t.metadata.link,children:Jp[n].description.link_text})]})]})}),W2={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:"您已投票的提案投票结束"}},kye=K.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:[W2[n].title," ",f.jsx(Qs,{children:t.metadata.proposalTitle})]}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[f.jsx(bn,{href:t.metadata.link,children:W2[n].description.link_text})," ",W2[n].description.end]})]})}),q2={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:"租金期结束"}},Iye=K.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.jsx(Bt,{children:q2[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[q2[n].description.start," ",f.jsx(wA,{inline:!0,icon:st.Places,text:t.metadata.land,onClick:()=>window.open(t.metadata.link,"_blank")})," ",q2[n].description.end]})]})}),G2={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:"租用的土地"}},Lye=K.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(Jpe,{}),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(wA,{inline:!0,icon:st.Places,text:t.metadata.land,onClick:()=>window.open(t.metadata.link,"_blank")})," ",G2[n].description.end," ",o]})]})}),K2={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:"接受报价"}},Oye=X(bn)(e=>({color:`${_e.Rarity.getColor(e.rarity)}`,textDecorationColor:"transparent"})),Wf=K.memo(e=>{const{link:t,rarity:n,name:r}=e;return f.jsx(Oye,{href:t,rarity:n,children:r})}),Aye=K.memo(e=>{const{notification:t,locale:n}=e,r=fo();return f.jsxs(Ut,{image:t.metadata.image,imageBackgroundColor:qf(t.metadata.rarity),badgeIcon:f.jsx(_A,{}),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(Y0,{inline:!0,network:t.metadata.network==="polygon"?_e.Network.MATIC:_e.Network.ETHEREUM,color:r.palette.text.secondary,children:s6(t.metadata.price)})," ",K2[n].description.middle," ",f.jsx(Wf,{name:t.metadata.nftName,rarity:t.metadata.rarity,link:t.metadata.link})]})]})}),Y2={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:"收到报价"}},Pye=K.memo(e=>{const{notification:t,locale:n}=e,r=fo();return f.jsxs(Ut,{image:t.metadata.image,imageBackgroundColor:qf(t.metadata.rarity),badgeIcon:f.jsx(_A,{}),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(Y0,{inline:!0,network:t.metadata.network==="polygon"?_e.Network.MATIC:_e.Network.ETHEREUM,color:r.palette.text.secondary,children:s6(t.metadata.price)})," ",Y2[n].description.middle," ",f.jsx(Wf,{name:t.metadata.nftName,rarity:t.metadata.rarity,link:t.metadata.link})]})]})}),aC={en:{description:"Someone just bought your ",title:"Item Sold"},es:{description:"Alguien acaba de comprar tu ",title:"Item vendido"},zh:{description:"有人刚买了你的 ",title:"已售商品"}},Nye=K.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:t.metadata.image,imageBackgroundColor:qf(t.metadata.rarity),badgeIcon:f.jsx(Xpe,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:aC[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[aC[n].description," ",f.jsx(Wf,{rarity:t.metadata.rarity,name:t.metadata.nftName,link:t.metadata.link})]})]})}),Z2={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:"所得版税"}},$ye=K.memo(e=>{const{notification:t,locale:n}=e,r=fo();return f.jsxs(Ut,{image:t.metadata.image,imageBackgroundColor:qf(t.metadata.rarity),badgeIcon:t.metadata.network==="ethereum"?f.jsx(Qpe,{}):f.jsx(e1e,{}),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(Y0,{inline:!0,network:t.metadata.network==="polygon"?_e.Network.MATIC:_e.Network.ETHEREUM,color:r.palette.text.secondary,children:s6(t.metadata.royaltiesCut)})," ",Z2[n].description.middle," ",f.jsx(Wf,{name:t.metadata.nftName,rarity:t.metadata.rarity,link:t.metadata.link})]})]})}),jye={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:"燃气价格高于预期"}},Dye=e=>{const{metadata:t}=e.notification;return t.link?f.jsx("a",{href:t.link,children:t.campaignName}):f.jsx("strong",{children:t.campaignName})},i6=K.memo(e=>{const{notification:t,locale:n,i18n:r}=e;return f.jsxs(Ut,{image:f.jsx(EA,{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(Dye,{...e})," ",r[n].description.end]})]})}),Bye=K.memo(e=>f.jsx(i6,{...e,i18n:jye})),Fye={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:"活动资金用完"}},Uye=K.memo(e=>f.jsx(i6,{...e,i18n:Fye})),Hye={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:"活动售罄"}},Vye=K.memo(e=>f.jsx(i6,{...e,i18n:Hye})),zye={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:"收到的新项目"}},a6=K.memo(e=>{const{notification:t,locale:n,i18n:r}=e;return f.jsxs(Ut,{image:t.metadata.tokenImage,imageBackgroundColor:qf(t.metadata.tokenRarity),badgeIcon:f.jsx(EA,{}),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(Wf,{rarity:t.metadata.tokenRarity,name:t.metadata.tokenName,link:we.get("EXPLORER_URL")})," ",r[n].description.end]})]})}),Wye=K.memo(e=>f.jsx(a6,{...e,i18n:zye})),qye={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:"您的礼物延迟了"}},Gye=K.memo(e=>f.jsx(a6,{...e,i18n:qye})),Kye={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:"一份礼物正在路上!"}},Yye=K.memo(e=>f.jsx(a6,{...e,i18n:Kye})),sC={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:"可用的世界"}},Zye=K.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(yA,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:sC[n].title}),f.jsx(Ft,{color:"inherit",underline:"none",children:sC[n].description})]})}),X2={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:"世界限制"}},Xye=K.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:X2[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[X2[n].description.start," ",f.jsx(bn,{href:t.metadata.url,children:X2[n].description.link_text}),"."]})]})}),Qp={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:"缺失的资源"}},Jye=K.memo(e=>{const{notification:t,locale:n}=e;return f.jsxs(Ut,{image:f.jsx(t1e,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:Qp[n].title}),f.jsxs(Ft,{color:"inherit",underline:"none",children:[Qp[n].description.start," ",f.jsx(bn,{href:t.metadata.url,children:Qp[n].description.link_text})," ",Qp[n].description.end]})]})}),J2={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}"}},Qye=`${we.get("BUILDER_URL")}/worlds?tab=collaborator`,eve=`${we.get("EXPLORER_URL")}?realm=`,tve=K.memo(e=>{const{notification:t,locale:n}=e,r=t.metadata.permissions[0],o=r==="access",i=t.metadata.world,a=o?yA:i1e;return f.jsxs(Ut,{image:f.jsx(a,{}),timestamp:t.timestamp,isNew:!t.read,locale:n,children:[f.jsx(Bt,{children:o?J2[n].accessTitle:J2[n].title}),f.jsx(Ft,{color:"inherit",underline:"none",children:NA(J2[n][r],{world:f.jsx(bn,{href:o?`${eve}${i}`:Qye,target:"_blank",rel:"noreferrer",children:i})})})]})}),Q2={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}已撤销了您在世界上流媒体的允许"}},nve=K.memo(e=>{const{notification:t,locale:n}=e,r=t.metadata.permissions[0],o=r==="access",i=o?vA:a1e;return f.jsxs(Ut,{image:f.jsx(i,{}),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:NA(Q2[n][r],{world:f.jsx("strong",{children:t.metadata.world})})})]})}),rve=2;function s6(e,t=rve){return(Number(e)/1e18).toFixed(t).toLocaleString()}function qf(e){return _e.Rarity.getGradient(e).join()}const ove={[_e.NotificationType.ROYALTIES_EARNED]:$ye,[_e.NotificationType.ITEM_SOLD]:Nye,[_e.NotificationType.BID_ACCEPTED]:Aye,[_e.NotificationType.BID_RECEIVED]:Pye,[_e.NotificationType.GOVERNANCE_ANNOUNCEMENT]:Eye,[_e.NotificationType.GOVERNANCE_COAUTHOR_REQUESTED]:Cye,[_e.NotificationType.GOVERNANCE_AUTHORED_PROPOSAL_FINISHED]:Sye,[_e.NotificationType.GOVERNANCE_NEW_COMMENT_ON_PROPOSAL]:xye,[_e.NotificationType.GOVERNANCE_NEW_COMMENT_ON_PROJECT_UPDATE]:wye,[_e.NotificationType.GOVERNANCE_PROPOSAL_ENACTED]:Rye,[_e.NotificationType.GOVERNANCE_VOTING_ENDED_VOTER]:kye,[_e.NotificationType.GOVERNANCE_PITCH_PASSED]:Mye,[_e.NotificationType.GOVERNANCE_TENDER_PASSED]:Tye,[_e.NotificationType.WORLDS_MISSING_RESOURCES]:Jye,[_e.NotificationType.WORLDS_ACCESS_RESTORED]:Zye,[_e.NotificationType.WORLDS_ACCESS_RESTRICTED]:Xye,[_e.NotificationType.LAND_RENTED]:Lye,[_e.NotificationType.LAND_RENTAL_ENDED]:Iye,[_e.NotificationType.REWARD_ASSIGNED]:Wye,[_e.NotificationType.REWARD_IN_PROGRESS]:Yye,[_e.NotificationType.REWARD_DELAYED]:Gye,[_e.NotificationType.EVENTS_STARTS_SOON]:bye,[_e.NotificationType.EVENTS_STARTED]:mye,[_e.NotificationType.WORLDS_PERMISSION_GRANTED]:tve,[_e.NotificationType.WORLDS_PERMISSION_REVOKED]:nve,[_e.NotificationType.REWARD_CAMPAIGN_OUT_OF_FUNDS]:Uye,[_e.NotificationType.REWARD_CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED]:Bye,[_e.NotificationType.REWARD_CAMPAIGN_OUT_OF_STOCK]:Vye},NA=(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})},ive=X("div")(({theme:e})=>({width:"384px",[e.breakpoints.down("sm")]:{height:"90vh",display:"flex",alignItems:"center",marginLeft:"auto",marginRight:"auto"}})),$A=X("div")({height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"16px",padding:"40px 80px",alignItems:"center",textAlign:"center"}),l6=X(mt)({fontSize:"18px",fontWeight:"600",marginBottom:0}),c6=X(mt)({fontSize:"16px",color:"#a09ba8"}),ave=X(je)({display:"flex",flexDirection:"column",gap:"16px",alignItems:"center",textAlign:"center",padding:"30px"}),sve=X("div")({height:"290px",width:"384px",display:"flex",justifyContent:"center",alignItems:"center"}),lve=X(mA)(({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"}}})),cve=X(je)({display:"flex",flexDirection:"column"}),uve=X(vR)({width:"484px",pointerEvents:"visible","& .MuiPaper-root":{borderRadius:"8px"}}),dve=X(je)(e=>{const{theme:t}=e;return{width:"384px",[t.breakpoints.down("sm")]:{width:"100%"}}}),fve=X("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"8px 16px"}),pve=X(mt)({margin:0,fontSize:"18px",fontWeight:600}),hve=X("div")({height:"100%"}),mve=X("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"}),gve=X("div")({display:"flex",flexDirection:"column",width:"100%"}),yve=X(mt)(()=>({fontSize:"16px",fontWeight:600,paddingLeft:"16px",marginBottom:0,marginTop:"8px"})),ey=({locale:e,notification:t,renderProfile:n})=>{const r=ove[t.type];return r?f.jsx(r,{notification:t,locale:e,renderProfile:n}):null},vve=({locale:e})=>f.jsxs($A,{children:[f.jsx(Zpe,{sx:{fontSize:"115px"}}),f.jsx(l6,{children:Ci[e].feed.history.title}),f.jsx(c6,{children:Ci[e].feed.history.description})]}),_ve=({locale:e})=>f.jsxs($A,{children:[f.jsx(qpe,{sx:{fontSize:"115px"}}),f.jsx(l6,{children:Ci[e].feed.empty.title}),f.jsx(c6,{children:Ci[e].feed.empty.description})]}),lC=K.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(dve,{children:[f.jsx(pA,{children:f.jsx(fve,{children:f.jsx(pve,{children:Ci[n].feed.title})})}),f.jsxs(hve,{children:[f.jsxs(nG,{value:i,onChange:c,indicatorColor:"primary",children:[f.jsx(q9,{label:Ci[n].feed.tabs.newest,value:Sd.NEWEST}),f.jsx(q9,{label:Ci[n].feed.tabs.read,value:Sd.READ})]}),f.jsx(mve,{isModal:a,children:f.jsx(gve,{children:i===Sd.NEWEST?f.jsx(f.Fragment,{children:!t.length&&!r.length?f.jsx(_ve,{locale:n}):f.jsxs(f.Fragment,{children:[f.jsx("div",{children:t.map(u=>f.jsx(ey,{notification:u,locale:n,renderProfile:s},u.id))}),r.length>0&&f.jsxs("div",{children:[f.jsx(yve,{children:Ci[n].previous}),r.map(u=>f.jsx(ey,{notification:u,locale:n,renderProfile:s},u.id))]})]})}):f.jsx(f.Fragment,{children:o.length>0?o.map(u=>f.jsx(ey,{notification:u,locale:n,renderProfile:s},u.id)):f.jsx(vve,{locale:n})})})})]})]})}),cC=({locale:e,onBegin:t})=>f.jsx(ive,{children:f.jsxs(ave,{children:[f.jsx(kA,{sx:{fontSize:120}}),f.jsx(l6,{color:"text.primary",children:j2[e].onboarding.title}),f.jsx(c6,{children:j2[e].onboarding.description}),f.jsx(Ji,{variant:"outlined",size:"small",color:"inherit",onClick:t,children:j2[e].onboarding.button})]})}),bve=K.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=hge(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(_pe,{children:f.jsx(lve,{open:a,onClose:d,title:Ci[r].feed.title,children:o?f.jsx(cC,{locale:r,onBegin:u}):f.jsx(cve,{children:f.jsx(lC,{locale:r,previousNotifications:h,readNotifications:g,unreadNotifications:p,onChangeTab:c,activeTab:i,isModal:!0,renderProfile:l})})})}),f.jsx(pA,{children:f.jsx(uve,{anchorEl:s,open:!!a,onClose:d,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},elevation:24,children:n?f.jsx(sve,{children:f.jsx(Sh,{size:20})}):o?f.jsx(cC,{locale:r,onBegin:u}):f.jsx(lC,{locale:r,previousNotifications:h,readNotifications:g,unreadNotifications:p,onChangeTab:c,activeTab:i,renderProfile:l})})})]})}),Eve=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=X(M5)(e=>{const{active:t,theme:n}=e;let r={};return t&&(r={animation:`${Eve} 0.8s`,animationIterationCount:4}),{...r,"&:hover":{backgroundColor:"transparent"},"& .MuiBadge-badge":{transform:"scale(0.8) translate(40%, 60%)"},[n.breakpoints.down("sm")]:{marginLeft:"8px"}}}),Cve=X(je)(({theme:e})=>({height:"30.625px","&:hover":{backgroundColor:e.palette.action.hover,borderRadius:"50%",cursor:"pointer"}})),wve=K.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(r1e,{fontSize:"large",color:"primary"}):f.jsx(Cve,{children:f.jsx(o1e,{fontSize:"large",color:"primary"})})}),t&&f.jsx(bve,{isOpen:t,items:n,isLoading:r,locale:o,isOnboarding:i,activeTab:a,onChangeTab:c,onBegin:u,onClose:b,renderProfile:s,anchorEl:h})]})}),xve=X("div")(e=>{const{theme:t}=e;return{display:"flex","& svg":{fontSize:t.typography.subtitle2.fontSize}}}),Mve=X(mt)({lineHeight:"inherit"}),Rve=K.memo(e=>{const{manaBalances:t,onClickBalance:n}=e;return f.jsx(xve,{children:t&&Object.keys(t).map(r=>f.jsx(Y0,{network:r,href:we.get("ACCOUNT_URL"),onClick:n,primary:r===_e.Network.ETHEREUM,children:f.jsx(Mve,{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 u6={},Tve=ir;Object.defineProperty(u6,"__esModule",{value:!0});var jA=u6.default=void 0,kve=Tve(jr()),Ive=f;jA=u6.default=(0,kve.default)((0,Ive.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 Lve="https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/assets/man-default1-BEO13leF.png",Ove=X(je)(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"}}}}),Ave=X(jA)(e=>{const{theme:t}=e;return{"& path":{fill:t.palette.icon}}}),Pve=X(je)(e=>{const{theme:t}=e;return{cursor:"pointer",marginLeft:"16px",marginRight:"16px",[t.breakpoints.down("sm")]:{marginRight:"0"}}}),Nve=X(_f)(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)"}}}),$ve=X(je)(e=>{const{theme:t}=e;return{height:"100%",width:"330px",[t.breakpoints.down("sm")]:{width:"100%"}}}),jve=X(je)(e=>{var r,o;const{avatar:t}=e;let n={height:"100%",width:"100%",backgroundRepeat:"no-repeat",backgroundSize:"80%",backgroundImage:`url(${Lve})`,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}),Dve=X(je)(e=>{const{theme:t}=e;return{height:"100%",width:"331px",display:"flex",flexDirection:"column",[t.breakpoints.down("sm")]:{width:"100%"}}}),Bve=X(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"}}}),Fve=X(je)({display:"flex",alignItems:"center",padding:"64px 0 47px"}),Uve=X(mt)(e=>{const{theme:t}=e;return{color:t.palette.text.primary}}),Hve=X("span")(e=>{const{theme:t}=e;return{color:t.palette.text.secondary,marginLeft:"12px",fontSize:"20px",fontStyle:"normal",fontWeight:"400",lineHeight:"18px"}}),Vve=X(je)(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"}}}),e1=X(dq)(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"}}),t1=X(UW)(e=>{const{theme:t}=e;return{color:t.palette.text.primary,"&.MuiListItemIcon-root":{minWidth:0}}}),zve=X(je)(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"}}}),uC=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:we.get("MARKETPLACE_MY_ASSETS_URL")}),setTimeout(()=>{a?a(m):window.open(`${we.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:we.get("MARKETPLACE_SETTINGS_URL")}),setTimeout(()=>{i?i(m):window.open(`${we.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:we.get("PROFILE_URL")}),setTimeout(()=>{s?s(m):window.open(we.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:we.get("ACCOUNT_URL")}),setTimeout(()=>{c?c(m):window.open(we.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(Nve,{elevation:0,children:[f.jsx($ve,{children:f.jsx(jve,{avatar:t})}),f.jsxs(Dve,{children:[f.jsx(Fve,{children:f.jsxs(Uve,{variant:"h4",children:[(t==null?void 0:t.name)||r.guest," ",!(t!=null&&t.hasClaimedName)&&b&&f.jsxs(Hve,{children:["#",b.substring(b.length-4)]})]})}),f.jsxs(Vve,{children:[f.jsxs(e1,{onClick:h,children:[f.jsx(mt,{variant:"h6",children:r.viewProfile}),f.jsx(t1,{children:f.jsx(Yu,{})})]}),f.jsxs(e1,{onClick:d,children:[f.jsx(mt,{variant:"h6",children:r.myAssets}),f.jsx(t1,{children:f.jsx(Yu,{})})]}),f.jsxs(e1,{onClick:g,children:[f.jsx(mt,{variant:"h6",children:r.account}),f.jsx(t1,{children:f.jsx(Yu,{})})]}),f.jsxs(e1,{onClick:p,children:[f.jsx(mt,{variant:"h6",children:r.marketplaceAuthorizations}),f.jsx(t1,{children:f.jsx(Yu,{})})]})]}),f.jsxs(zve,{onClick:v,children:[f.jsx(mt,{variant:"h6",children:r.signOut}),f.jsx(TA,{})]})]})]})},Wve=K.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:`${we.get("MARKETPLACE_URL")}/activity`}),setTimeout(()=>{s?s(E):window.open(`${we.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(Ove,{children:[a&&f.jsx(wve,{...a}),!v&&f.jsx(bh,{"aria-label":"activity",onClick:b,children:f.jsx(M5,{color:"secondary",variant:"dot",invisible:!r,children:f.jsx(Ave,{})})}),!v&&f.jsx(Rve,{manaBalances:t,onClickBalance:l}),f.jsx(Pve,{onClick:m,children:f.jsx(dse,{size:"medium",avatar:n})}),f.jsxs(je,{onMouseLeave:y,onScroll:v?void 0:y,children:[!v&&f.jsx(Bve,{anchorEl:h,open:!!o,onClose:y,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:f.jsx(uC,{onClickUserMenuItem:u,avatar:n,trackingId:i,...p})}),v&&o&&f.jsx(uC,{onClickUserMenuItem:u,avatar:n,trackingId:i,...p})]})]})});var Un;(function(e){e.WINDOWS="Windows",e.MACOS="macOS"})(Un||(Un={}));const qve=K.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"})})})),Gve=K.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"})})})),Kve=X(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"}}}),Yve=X(je)({display:"flex",flexDirection:"column",lineHeight:"20px","& span":{display:"block",fontSize:"14px",fontWeight:400,lineHeight:"20px"}}),Zve=X(qve)({fontSize:"14px!important",marginTop:"-3px","& path":{fill:"#fff"}}),Xve=X(Gve)({"& path":{fill:"#fff"}}),q3=K.memo(e=>{const{href:t,onClick:n,label:r,startIcon:o,endIcon:i}=e;return f.jsx(Kve,{variant:"contained",href:t,onClick:n,startIcon:o,endIcon:i,children:f.jsx(Yve,{children:r||"Download"})})});var of;(function(e){e.LAUNCHER="launcher"})(of||(of={}));const Jve={[of.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"}}}},DA=e=>{const t=Jve[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},Qve=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)}),e3e=(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()},t3e=(e,t,n)=>{const r=new URL(e);return r.searchParams.delete(t),r.searchParams.append(t,n),r.toString()},n3e=(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),r3e=X(je)({display:"flex",position:"relative",textAlign:"left",outline:"none",alignItems:"center",zIndex:yf.appBar}),o3e=X(je)({display:"flex",alignItems:"center",height:"100%"}),i3e=X(Ji)({height:"46px",minWidth:"90px"}),a3e=K.memo(e=>{const{isSignedIn:t,isSigningIn:n,isDisconnecting:r,manaBalances:o,i18n:i=RA,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]=k_(),E=typeof window<"u"?new URLSearchParams(window.location.search):void 0,S=new URLSearchParams(E).get("os");y&&S&&n3e(y,S);const _=DA(of.LAUNCHER),w=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(Zve,{}),link:_[y.os.name][y.cpu.architecture],arch:y.cpu.architecture}:{icon:f.jsx(Xve,{}),link:_[y.os.name][y.cpu.architecture],arch:y.cpu.architecture},[y,_]),R=M.useCallback(W=>{const Q=Q0e();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:we.get("DOWNLOAD_URL")}),setTimeout(()=>{window.open(we.get("DOWNLOAD_URL"),"_blank","noopener")},d?300:0)},[u,d,v]),D=M.useCallback(W=>{if(W.preventDefault(),!y||!w)return;u&&u(W,{href:w.link});const Q=t3e(we.get("DOWNLOAD_SUCCESS_URL"),"os",y.os.name),H=e3e(Q,{arch:y.cpu.architecture});setTimeout(()=>{Qve(w.link).then(()=>{window.location.href=H})},u?300:0)},[w,y]),F=M.useCallback(W=>{W.preventDefault(),d&&d(W,{type:Mo.SIGN_IN,track_uuid:v||void 0,url:we.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(we.get("ACCOUNT_URL"),"_blank","noopener")},d?300:0)},[l,d,v]);return f.jsx(r3e,{children:r?f.jsx(o3e,{children:f.jsx(Sh,{size:20})}):f.jsxs(f.Fragment,{children:[t&&f.jsx(Wve,{...p,manaBalances:o,trackingId:v,isOpen:h,i18n:i,onClickToggle:R,onClickClose:T,onClickUserMenuItem:d,onClickBalance:q}),t?null:f.jsx(i3e,{variant:"outlined",color:"inherit",disabled:n,onClick:F,children:n?f.jsx(Sh,{size:20,color:"inherit"}):i.signIn}),(m||!w)&&y&&!y.mobile&&!y.tablet&&!a&&f.jsx(q3,{href:we.get("DOWNLOAD_URL"),onClick:I,label:i.download,startIcon:f.jsx(MA,{})}),!m&&w&&!a&&f.jsx(q3,{href:w.link,onClick:D,endIcon:w.icon,label:i.download})]})})}),s3e=X(FH,{shouldForwardProp:e=>!["isSubmenuOpen","isMobileOpen"].includes(e)})(e=>{const{isSubmenuOpen:t,isMobileOpen:n}=e;let r;return(t||n)&&(r={boxShadow:"none",backgroundImage:"none"}),{...r}}),dC=X(bn,{shouldForwardProp:e=>e!=="isMobile"})(e=>{const{isMobile:t}=e;let n;return t&&(n={zIndex:yf.appBar}),{height:"36px",...n}}),l3e=X(je)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",[e.breakpoints.down("sm")]:{display:"none"}})),c3e=X(je)({display:"flex",justifyContent:"space-between",width:"100%",alignItems:"center",height:"66px"}),u3e=X(je)({width:"85px",display:"flex",alignItems:"center",height:"66px",justifyContent:"space-between"}),d3e=X(je)({display:"flex",alignItems:"center"}),f3e=X(Ji)({height:"32px",width:"32px",minWidth:"32px",position:"relative",padding:0,"&:hover":{backgroundColor:"transparent"}}),fC=X("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}}),p3e=X(i0)(()=>({"& .MuiBackdrop-root.MuiModal-backdrop":{backgroundColor:"transparent"}}));K.memo(e=>{const{activePage:t,chains:n,chainBeingConfirmed:r,onSelectChain:o,selectedChain:i,isSignedIn:a,i18nNavbar:s=x0e,i18nUserMenu:l=RA,i18nChainSelector:c=M0e,submenuItems:u=R0e,onClickNavbarItem:d,...p}=e,[h,g]=M.useState(!1),[v,b]=M.useState(),[m,y]=M.useState(!1),E=K0(),C=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]),w=M.useCallback((R,T)=>{p.onClickOpen&&p.onClickOpen(R,T),_(R,!1)},[p.onClickOpen,_]);return f.jsxs(f.Fragment,{children:[f.jsx(s3e,{isSubmenuOpen:h,isMobileOpen:m,"aria-label":"navigation bar",children:f.jsx(Pq,{children:f.jsxs(c3e,{children:[f.jsx(vpe,{children:f.jsxs(u3e,{children:[f.jsx(dC,{isMobile:!0,href:"https://decentraland.org","aria-label":"Decentraland home",children:f.jsx(XS,{})}),f.jsxs(f3e,{"aria-label":"toggle menu",onClick:R=>_(R,!m),children:[f.jsx(fC,{isOpen:m,"aria-label":"menu bar"}),f.jsx(fC,{isOpen:m,"aria-label":"menu bar"})]})]})}),f.jsxs(l3e,{children:[f.jsx(dC,{href:"https://decentraland.org","aria-label":"Decentraland home",children:f.jsx(XS,{})}),f.jsx(QS,{activePage:t,onToggleShowSubMenu:C,i18n:s,isMobile:!1,"aria-label":"main navigation menu"})]}),f.jsxs(d3e,{children:[a&&o&&(n!=null&&n.length)&&i?f.jsx(Fpe,{chains:n,selectedChain:i,chainBeingConfirmed:r,i18n:c,onSelectChain:o,"aria-label":"blockchain network selector"}):null,f.jsx(a3e,{...p,onClickOpen:E?w:p.onClickOpen,isSignedIn:a,i18n:l,"aria-label":"user menu"})]})]})})}),f.jsx(eC,{selectedMenu:v,onToggleShowSubMenu:C,onClickMenuOption:S,submenus:u,"aria-label":"submenu navigation"}),f.jsx(p3e,{open:E&&m,onClose:R=>_(R,!1),"aria-label":"mobile menu",children:f.jsxs(f.Fragment,{children:[f.jsx(QS,{activePage:t,onToggleShowSubMenu:C,isOpenOnMobile:m,i18n:s,isMobile:!0,"aria-label":"main mobile navigation menu"}),f.jsx(eC,{selectedMenu:v,onToggleShowSubMenu:C,onClickMenuOption:S,isMobile:E,submenus:u,"aria-label":"mobile submenu navigation"})]})})]})});var BA={},h3e=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=h3e;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,Y;z<V;z++)(Y||!(z in U))&&(Y||(Y=Array.prototype.slice.call(U,0,z)),Y[z]=U[z]);return L.concat(Y||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 C=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}},w=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,Y=[],ue=0;ue<arguments.length;ue++)Y[ue]=arguments[ue];(V=z._errors).push.apply(V,Y)},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 Y,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=(Y=V??z.path.last())!==null&&Y!==void 0?Y:"value";return z.catch(S({typeName:"Object",property:be,path:pe,value:ue})),!1},this.string=function(V){var Y=z.obj[V];return V&&!z.exists(V)?!1:typeof Y=="string"?!0:(z.catch(S({typeName:"String",property:V,path:z.path.of(V),value:Y})),!1)},this.number=function(V,Y){var ue=z.obj[V];return Y&&!(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 Y=z.obj[V];return V&&!z.exists(V)?!1:Array.isArray(Y)?!0:(z.catch(S({typeName:"Array",property:V,path:z.path.of(V),value:Y})),!1)},this.enum=function(V,Y){var ue=z.obj[V];return typeof ue=="string"&&Y.includes(ue)?!0:(z.catch(R({expected:Y,value:ue,path:z.path.of(V)})),!1)},this.empty=function(V){if(!z.array(V))return!1;var Y=z.obj[V];return Y.length===0?!0:(z.catch(w({max:0,value:Y,path:z.path.of(V)})),!1)},this.minLength=function(V,Y){if(!z.array(V))return!1;var ue=z.obj[V];return ue.length>=Y?!0:(z.catch(_({min:Y,value:ue,path:z.path.of(V)})),!1)},this.noAdditionalProperties=function(V){var Y=Object.keys(z.obj).sort().filter(function(ue){return!V.includes(ue)});return Y.forEach(function(ue){return z.catch(T({property:ue,path:z.path.of(ue)}))}),Y.length===0},this.each=function(V,Y){if(z.array(V)){var ue=z.obj[V],pe=!1;ue.forEach(function(be,Ce){if(!pe){var ke=Y(be,z.path.of(V).of(Ce));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(Y){return G(z)===G(Y)})===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,Y=new D(U,G);if(!Y.object())return Y.errors;Y.noAdditionalProperties(["nodeType","data","content"]);var ue=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(U,G),pe=ue.nodeTypes,be=ue.min,Ce=be===void 0?0:be;if(pe.length===0&&Ce>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(Ce," with no nodeTypes"));if(Y.minLength("content",Ce),pe.length===0?Y.empty("content"):Y.each("content",function(pt,ye){var Ge=new D(pt,ye);return Ge.object()&&Ge.enum("nodeType",pe),Ge.errors}),Y.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:[];Y.catch.apply(Y,ke)}return Y.errors},L}(),W=function(L){r(U,L);function U(G,z){var V=L.call(this,z,function(Y,ue){return V.assertLink(Y,ue)})||this;return V.linkType=G,V.assertLink=function(Y,ue){var pe=new D(Y,ue);if(pe.object("target")){var be=new D(Y.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 Y=new D(z,V);return Y.string("uri"),Y.noAdditionalProperties(["uri"]),Y.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 Y=new D(z,V);return Y.object()&&Y.string("type"),Y.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,Y){return j(V,Y)}),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=C,e.validateRichTextDocument=J})(BA);var ht=M,et=BA;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 ty(et.INLINES.ASSET_HYPERLINK,e)},wt[et.INLINES.ENTRY_HYPERLINK]=function(e){return ty(et.INLINES.ENTRY_HYPERLINK,e)},wt[et.INLINES.RESOURCE_HYPERLINK]=function(e){return pC(et.INLINES.RESOURCE_HYPERLINK,e)},wt[et.INLINES.EMBEDDED_ENTRY]=function(e){return ty(et.INLINES.EMBEDDED_ENTRY,e)},wt[et.INLINES.EMBEDDED_RESOURCE]=function(e,t){return pC(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 ty(e,t){return ht.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function pC(e,t){return ht.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}X(je)({display:"flex",justifyContent:"center",alignItems:"center",width:"100%"});X(je,{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"}}});X(je)({display:"flex",flexDirection:"row",flexGrow:1,marginRight:"20px"});X(je)(e=>{const{theme:t}=e;return{display:"flex",flexDirection:"column",gap:"0.1rem",[t.breakpoints.down("sm")]:{padding:"1rem"}}});X("img")(e=>{const{theme:t}=e;return{flexShrink:0,maxWidth:"400px",[t.breakpoints.down("sm")]:{maxWidth:"300px",marginBottom:"1rem"}}});X(mt)(e=>{const{theme:t}=e;return{margin:0,color:"#fff",fontSize:"28px",textTransform:"uppercase",fontWeight:800,[t.breakpoints.down("sm")]:{fontSize:"24px"}}});X(je)(e=>{const{theme:t}=e;return{color:ft.white,fontSize:"19px","& p":{margin:0,padding:0},[t.breakpoints.down("sm")]:{fontSize:"16px"}}});X(je)({display:"flex",marginTop:"1rem"});X(Ji)({textTransform:"uppercase",minWidth:"300px"});const m3e="https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/assets/dcl-CSCjwju1.webp",d6=()=>{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 tm=(e=>(e.CLICK_JUMP_IN="Click on Jump In",e.CLICK_DOWNLOAD="Click on Download",e.CLIENT_NOT_INSTALLED="Client not installed",e))(tm||{});const hC=bR.get("PLACES_URL","");function FA(e){var t;return!!((t=e==null?void 0:e.match(/^[a-zA-Z0-9.]+\.eth$/))!=null&&t.length)}async function g3e(e,t){const n=FA(e)?`${hC}/api/worlds?names=${e.toLowerCase()}`:`${hC}/api/places?positions=${t}`;return(await(await fetch(n)).json()).data[0]}const y3e=async e=>{let t=!1;const n=()=>{t=!0};window.addEventListener("blur",n);const r=document.createElement("iframe");return r.setAttribute("style","display: none"),r.src=e,document.body.appendChild(r),new Promise(o=>{setTimeout(()=>{window.removeEventListener("blur",n),document.body.removeChild(r),o(t)},500)})},v3e=X("div")({width:"100%",height:"100%",position:"absolute",top:0,left:0}),_3e=X("img")({width:"100%",height:"100%",objectFit:"cover",objectPosition:"center",transition:"transform 0.3s ease"}),b3e=X("div")({position:"relative",height:"400px",width:"600px",overflow:"hidden",borderRadius:"16px",boxShadow:"0 4px 8px rgba(0, 0, 0, 0.1)","&:hover img":{transform:"scale(1.1)"}}),E3e=X("div")({display:"flex",position:"absolute",alignItems:"center",bottom:0,left:0,right:0,padding:"20px",background:"rgba(0, 0, 0, 0.6)",color:"white"}),S3e=X("div")({flexGrow:1}),C3e=X("h2")({fontSize:"24px",fontWeight:700,margin:"0 0 10px",color:"white"}),w3e=X("p")({margin:"4px 0 0",fontSize:"0.9em",opacity:1}),x3e=X("div")({display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",background:"rgba(0, 0, 0, 0.4)"}),M3e=M.memo(({imageUrl:e,title:t,subtitle:n,isLoading:r=!1})=>f.jsxs(b3e,{children:[f.jsx(v3e,{children:r?f.jsx(x3e,{children:f.jsx(Sh,{disableShrink:!0})}):f.jsx(_3e,{src:e,alt:t})}),f.jsx(E3e,{children:f.jsx(S3e,{children:r?f.jsxs(f.Fragment,{children:[f.jsx(z9,{variant:"text",animation:"wave",sx:{fontSize:24,fontWeight:700,marginBottom:"10px"}}),f.jsx(z9,{variant:"text",animation:"wave",sx:{fontSize:16,marginTop:"4px"}})]}):f.jsxs(f.Fragment,{children:[f.jsx(C3e,{children:t}),f.jsx(w3e,{children:n})]})})})]})),R3e="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",T3e="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",k3e=X("img")({height:"32px",width:"32px",filter:"brightness(0) invert(1)"}),I3e="https://decentraland.org/download",yl=DA(of.LAUNCHER),mC={[Un.MACOS]:{...yl==null?void 0:yl.macOS,icon:R3e,alt:"Apple Logo"},[Un.WINDOWS]:{...yl==null?void 0:yl.Windows,icon:T3e,alt:"Windows Logo"}},L3e=M.memo(()=>{var s,l,c;const[,e]=k_(),{track:t}=d6(),n=((s=e==null?void 0:e.os)==null?void 0:s.name)??"unknown",r=((c=(l=e==null?void 0:e.cpu)==null?void 0:l.architecture)==null?void 0:c.toLowerCase())??"unknown",o=M.useCallback(u=>{const d=mC[u],p=`${I3e}/?os=${u}`;return u===Un.MACOS&&r==="arm64",d.amd64??p},[r]),i=M.useCallback(u=>{t(tm.CLICK_DOWNLOAD,{osName:u,arch:r,url:o(u)})},[r,t]),a=M.useCallback(u=>{const d=mC[u];return f.jsx(q3,{label:`Download for ${u}`,endIcon:f.jsx(k3e,{src:d.icon,alt:d.alt}),href:o(u),onClick:()=>i(u)},u)},[i,o]);return n==="unknown"?f.jsxs(je,{display:"flex",gap:2,mt:2,children:[a(Un.MACOS),a(Un.WINDOWS)]}):a(n)}),O3e="https://cdn.decentraland.org/@dcl/jump-site/0.0.0-14044336460.commit-5bfcec4/assets/background-v4-CcTBZUhV.jpg",A3e=X(je)({display:"flex",flexDirection:"column",alignItems:"center",height:"100vh",paddingTop:"96px",backgroundImage:`url(${O3e})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}),gC="0,0",yC="main",vC=M.memo(()=>{var v,b,m;const[e]=gj(),[,t]=k_(),{track:n}=d6(),[r,o]=M.useState(),[i,a]=M.useState(!0),[s,l]=M.useState(!1),c=e.get("position")??gC,u=e.get("realm")??yC,d=((v=t==null?void 0:t.os)==null?void 0:v.name)??"unknown",p=((m=(b=t==null?void 0:t.cpu)==null?void 0:b.architecture)==null?void 0:m.toLowerCase())??"unknown",h=M.useMemo(()=>u&&FA(u)?`World: ${u}`:`Genesis City at ${c}`,[u,c]);M.useEffect(()=>{(async()=>{a(!0);try{const E=await g3e(u,c);o(E)}catch(E){console.error("Error fetching metadata:",E)}finally{a(!1)}})()},[c,u]);const g=M.useCallback(async()=>{const y=new URL("decentraland://");u!==yC&&y.searchParams.set("realm",u),c!==gC&&y.searchParams.set("position",c),n(tm.CLICK_JUMP_IN,{deepLink:y.toString(),osName:d,arch:p}),await y3e(y.toString())||(l(!0),n(tm.CLIENT_NOT_INSTALLED,{osName:d,arch:p}))},[u,c,d,p,n]);return f.jsxs(A3e,{children:[f.jsxs(je,{mb:4,children:[f.jsx(mt,{variant:"h3",sx:{textAlign:"center"},children:h}),r!=null&&r.owner&&!i?f.jsxs(mt,{variant:"body1",sx:{textAlign:"center",fontSize:30,fontWeight:700},children:["Created by ",r.owner]}):null]}),f.jsx(je,{mb:5,children:f.jsx(M3e,{isLoading:i,imageUrl:(r==null?void 0:r.image)??m3e,title:(r==null?void 0:r.title)??"",subtitle:(r==null?void 0:r.description)??""})}),f.jsx(je,{mb:4,children:f.jsx(Ji,{variant:"contained",size:"large",onClick:g,sx:{width:"300px",height:"65px"},children:f.jsx(mt,{variant:"body1",sx:{fontSize:30,fontWeight:700},children:"Jump in"})})}),s?f.jsxs(je,{display:"flex",flexDirection:"column",alignItems:"center",gap:2,children:[f.jsxs(mt,{variant:"h4",sx:{textAlign:"center",textTransform:"uppercase",fontSize:30,fontWeight:700},children:["Haven't downloaded decentraland yet? ",f.jsx("br",{}),"Download now to jump in"]}),f.jsx(L3e,{})]}):null]})});function P3e(){const e=Em(),{page:t}=d6();M.useEffect(()=>{t(e.pathname)},[e,t])}const N3e=M.memo(()=>(P3e(),f.jsxs(dj,{children:[f.jsx(Yy,{path:"/",element:f.jsx(vC,{})}),f.jsx(Yy,{path:"*",element:f.jsx(vC,{})})]}))),$3e=/^decentraland.(zone|org|today)$/.test(window.location.host)?"/jump":"/";Nx(document.getElementById("root")).render(f.jsx(M.StrictMode,{children:f.jsx(mj,{basename:$3e,children:f.jsx(aG,{theme:lG,children:f.jsx(xG,{writeKey:bR.get("SEGMENT_API_KEY"),children:f.jsx(N3e,{})})})})}));export{bG as _,ie as c,SC as g};
|