UNPKG

@ticketevolution/seatmaps-client

Version:

A client side JavaScript library that enables users to view interactive seating charts for tickets available via the Ticket Evolution API.

49 lines (40 loc) 539 kB
(function(Ua,wn){typeof exports=="object"&&typeof module<"u"?wn(exports):typeof define=="function"&&define.amd?define(["exports"],wn):(Ua=typeof globalThis<"u"?globalThis:Ua||self,wn(Ua.Tevomaps={}))})(this,function(Ua){"use strict";var X4=Object.defineProperty;var K4=(Ua,wn,zi)=>wn in Ua?X4(Ua,wn,{enumerable:!0,configurable:!0,writable:!0,value:zi}):Ua[wn]=zi;var gt=(Ua,wn,zi)=>(K4(Ua,typeof wn!="symbol"?wn+"":wn,zi),zi);var wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zi(v){return v&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v}var oS={exports:{}},ir=oS.exports={},jo,Fo;function my(){throw new Error("setTimeout has not been defined")}function yy(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?jo=setTimeout:jo=my}catch{jo=my}try{typeof clearTimeout=="function"?Fo=clearTimeout:Fo=yy}catch{Fo=yy}})();function lS(v){if(jo===setTimeout)return setTimeout(v,0);if((jo===my||!jo)&&setTimeout)return jo=setTimeout,setTimeout(v,0);try{return jo(v,0)}catch{try{return jo.call(null,v,0)}catch{return jo.call(this,v,0)}}}function L2(v){if(Fo===clearTimeout)return clearTimeout(v);if((Fo===yy||!Fo)&&clearTimeout)return Fo=clearTimeout,clearTimeout(v);try{return Fo(v)}catch{try{return Fo.call(null,v)}catch{return Fo.call(this,v)}}}var Tl=[],hc=!1,fs,mv=-1;function A2(){!hc||!fs||(hc=!1,fs.length?Tl=fs.concat(Tl):mv=-1,Tl.length&&uS())}function uS(){if(!hc){var v=lS(A2);hc=!0;for(var E=Tl.length;E;){for(fs=Tl,Tl=[];++mv<E;)fs&&fs[mv].run();mv=-1,E=Tl.length}fs=null,hc=!1,L2(v)}}ir.nextTick=function(v){var E=new Array(arguments.length-1);if(arguments.length>1)for(var y=1;y<arguments.length;y++)E[y-1]=arguments[y];Tl.push(new sS(v,E)),Tl.length===1&&!hc&&lS(uS)};function sS(v,E){this.fun=v,this.array=E}sS.prototype.run=function(){this.fun.apply(null,this.array)},ir.title="browser",ir.browser=!0,ir.env={},ir.argv=[],ir.version="",ir.versions={};function wl(){}ir.on=wl,ir.addListener=wl,ir.once=wl,ir.off=wl,ir.removeListener=wl,ir.removeAllListeners=wl,ir.emit=wl,ir.prependListener=wl,ir.prependOnceListener=wl,ir.listeners=function(v){return[]},ir.binding=function(v){throw new Error("process.binding is not supported")},ir.cwd=function(){return"/"},ir.chdir=function(v){throw new Error("process.chdir is not supported")},ir.umask=function(){return 0};var N2=oS.exports;const bl=zi(N2);var gy={exports:{}},rd={},yv={exports:{}},Ht={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var cS;function z2(){if(cS)return Ht;cS=1;var v=Symbol.for("react.element"),E=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),Q=Symbol.for("react.provider"),C=Symbol.for("react.context"),ge=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),ne=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),Y=Symbol.iterator;function de(R){return R===null||typeof R!="object"?null:(R=Y&&R[Y]||R["@@iterator"],typeof R=="function"?R:null)}var pe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Le=Object.assign,it={};function et(R,W,re){this.props=R,this.context=W,this.refs=it,this.updater=re||pe}et.prototype.isReactComponent={},et.prototype.setState=function(R,W){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,W,"setState")},et.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function tt(){}tt.prototype=et.prototype;function We(R,W,re){this.props=R,this.context=W,this.refs=it,this.updater=re||pe}var Qe=We.prototype=new tt;Qe.constructor=We,Le(Qe,et.prototype),Qe.isPureReactComponent=!0;var ut=Array.isArray,ke=Object.prototype.hasOwnProperty,lt={current:null},Pe={key:!0,ref:!0,__self:!0,__source:!0};function Qt(R,W,re){var qe,Xe={},K=null,Te=null;if(W!=null)for(qe in W.ref!==void 0&&(Te=W.ref),W.key!==void 0&&(K=""+W.key),W)ke.call(W,qe)&&!Pe.hasOwnProperty(qe)&&(Xe[qe]=W[qe]);var Be=arguments.length-2;if(Be===1)Xe.children=re;else if(1<Be){for(var Ne=Array(Be),bt=0;bt<Be;bt++)Ne[bt]=arguments[bt+2];Xe.children=Ne}if(R&&R.defaultProps)for(qe in Be=R.defaultProps,Be)Xe[qe]===void 0&&(Xe[qe]=Be[qe]);return{$$typeof:v,type:R,key:K,ref:Te,props:Xe,_owner:lt.current}}function ln(R,W){return{$$typeof:v,type:R.type,key:W,ref:R.ref,props:R.props,_owner:R._owner}}function Mt(R){return typeof R=="object"&&R!==null&&R.$$typeof===v}function vt(R){var W={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(re){return W[re]})}var qt=/\/+/g;function Ye(R,W){return typeof R=="object"&&R!==null&&R.key!=null?vt(""+R.key):W.toString(36)}function Ve(R,W,re,qe,Xe){var K=typeof R;(K==="undefined"||K==="boolean")&&(R=null);var Te=!1;if(R===null)Te=!0;else switch(K){case"string":case"number":Te=!0;break;case"object":switch(R.$$typeof){case v:case E:Te=!0}}if(Te)return Te=R,Xe=Xe(Te),R=qe===""?"."+Ye(Te,0):qe,ut(Xe)?(re="",R!=null&&(re=R.replace(qt,"$&/")+"/"),Ve(Xe,W,re,"",function(bt){return bt})):Xe!=null&&(Mt(Xe)&&(Xe=ln(Xe,re+(!Xe.key||Te&&Te.key===Xe.key?"":(""+Xe.key).replace(qt,"$&/")+"/")+R)),W.push(Xe)),1;if(Te=0,qe=qe===""?".":qe+":",ut(R))for(var Be=0;Be<R.length;Be++){K=R[Be];var Ne=qe+Ye(K,Be);Te+=Ve(K,W,re,Ne,Xe)}else if(Ne=de(R),typeof Ne=="function")for(R=Ne.call(R),Be=0;!(K=R.next()).done;)K=K.value,Ne=qe+Ye(K,Be++),Te+=Ve(K,W,re,Ne,Xe);else if(K==="object")throw W=String(R),Error("Objects are not valid as a React child (found: "+(W==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":W)+"). If you meant to render a collection of children, use an array instead.");return Te}function kt(R,W,re){if(R==null)return R;var qe=[],Xe=0;return Ve(R,qe,"","",function(K){return W.call(re,K,Xe++)}),qe}function wt(R){if(R._status===-1){var W=R._result;W=W(),W.then(function(re){(R._status===0||R._status===-1)&&(R._status=1,R._result=re)},function(re){(R._status===0||R._status===-1)&&(R._status=2,R._result=re)}),R._status===-1&&(R._status=0,R._result=W)}if(R._status===1)return R._result.default;throw R._result}var k={current:null},z={transition:null},ie={ReactCurrentDispatcher:k,ReactCurrentBatchConfig:z,ReactCurrentOwner:lt};return Ht.Children={map:kt,forEach:function(R,W,re){kt(R,function(){W.apply(this,arguments)},re)},count:function(R){var W=0;return kt(R,function(){W++}),W},toArray:function(R){return kt(R,function(W){return W})||[]},only:function(R){if(!Mt(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},Ht.Component=et,Ht.Fragment=y,Ht.Profiler=j,Ht.PureComponent=We,Ht.StrictMode=_,Ht.Suspense=te,Ht.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ie,Ht.cloneElement=function(R,W,re){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var qe=Le({},R.props),Xe=R.key,K=R.ref,Te=R._owner;if(W!=null){if(W.ref!==void 0&&(K=W.ref,Te=lt.current),W.key!==void 0&&(Xe=""+W.key),R.type&&R.type.defaultProps)var Be=R.type.defaultProps;for(Ne in W)ke.call(W,Ne)&&!Pe.hasOwnProperty(Ne)&&(qe[Ne]=W[Ne]===void 0&&Be!==void 0?Be[Ne]:W[Ne])}var Ne=arguments.length-2;if(Ne===1)qe.children=re;else if(1<Ne){Be=Array(Ne);for(var bt=0;bt<Ne;bt++)Be[bt]=arguments[bt+2];qe.children=Be}return{$$typeof:v,type:R.type,key:Xe,ref:K,props:qe,_owner:Te}},Ht.createContext=function(R){return R={$$typeof:C,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:Q,_context:R},R.Consumer=R},Ht.createElement=Qt,Ht.createFactory=function(R){var W=Qt.bind(null,R);return W.type=R,W},Ht.createRef=function(){return{current:null}},Ht.forwardRef=function(R){return{$$typeof:ge,render:R}},Ht.isValidElement=Mt,Ht.lazy=function(R){return{$$typeof:ye,_payload:{_status:-1,_result:R},_init:wt}},Ht.memo=function(R,W){return{$$typeof:ne,type:R,compare:W===void 0?null:W}},Ht.startTransition=function(R){var W=z.transition;z.transition={};try{R()}finally{z.transition=W}},Ht.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Ht.useCallback=function(R,W){return k.current.useCallback(R,W)},Ht.useContext=function(R){return k.current.useContext(R)},Ht.useDebugValue=function(){},Ht.useDeferredValue=function(R){return k.current.useDeferredValue(R)},Ht.useEffect=function(R,W){return k.current.useEffect(R,W)},Ht.useId=function(){return k.current.useId()},Ht.useImperativeHandle=function(R,W,re){return k.current.useImperativeHandle(R,W,re)},Ht.useInsertionEffect=function(R,W){return k.current.useInsertionEffect(R,W)},Ht.useLayoutEffect=function(R,W){return k.current.useLayoutEffect(R,W)},Ht.useMemo=function(R,W){return k.current.useMemo(R,W)},Ht.useReducer=function(R,W,re){return k.current.useReducer(R,W,re)},Ht.useRef=function(R){return k.current.useRef(R)},Ht.useState=function(R){return k.current.useState(R)},Ht.useSyncExternalStore=function(R,W,re){return k.current.useSyncExternalStore(R,W,re)},Ht.useTransition=function(){return k.current.useTransition()},Ht.version="18.2.0",Ht}var ad={exports:{}};ad.exports;var fS;function U2(){return fS||(fS=1,function(v,E){bl.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var y="18.2.0",_=Symbol.for("react.element"),j=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),ne=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),it=Symbol.for("react.offscreen"),et=Symbol.iterator,tt="@@iterator";function We(h){if(h===null||typeof h!="object")return null;var x=et&&h[et]||h[tt];return typeof x=="function"?x:null}var Qe={current:null},ut={transition:null},ke={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},lt={current:null},Pe={},Qt=null;function ln(h){Qt=h}Pe.setExtraStackFrame=function(h){Qt=h},Pe.getCurrentStack=null,Pe.getStackAddendum=function(){var h="";Qt&&(h+=Qt);var x=Pe.getCurrentStack;return x&&(h+=x()||""),h};var Mt=!1,vt=!1,qt=!1,Ye=!1,Ve=!1,kt={ReactCurrentDispatcher:Qe,ReactCurrentBatchConfig:ut,ReactCurrentOwner:lt};kt.ReactDebugCurrentFrame=Pe,kt.ReactCurrentActQueue=ke;function wt(h){{for(var x=arguments.length,F=new Array(x>1?x-1:0),B=1;B<x;B++)F[B-1]=arguments[B];z("warn",h,F)}}function k(h){{for(var x=arguments.length,F=new Array(x>1?x-1:0),B=1;B<x;B++)F[B-1]=arguments[B];z("error",h,F)}}function z(h,x,F){{var B=kt.ReactDebugCurrentFrame,oe=B.getStackAddendum();oe!==""&&(x+="%s",F=F.concat([oe]));var Ae=F.map(function(ve){return String(ve)});Ae.unshift("Warning: "+x),Function.prototype.apply.call(console[h],console,Ae)}}var ie={};function R(h,x){{var F=h.constructor,B=F&&(F.displayName||F.name)||"ReactClass",oe=B+"."+x;if(ie[oe])return;k("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",x,B),ie[oe]=!0}}var W={isMounted:function(h){return!1},enqueueForceUpdate:function(h,x,F){R(h,"forceUpdate")},enqueueReplaceState:function(h,x,F,B){R(h,"replaceState")},enqueueSetState:function(h,x,F,B){R(h,"setState")}},re=Object.assign,qe={};Object.freeze(qe);function Xe(h,x,F){this.props=h,this.context=x,this.refs=qe,this.updater=F||W}Xe.prototype.isReactComponent={},Xe.prototype.setState=function(h,x){if(typeof h!="object"&&typeof h!="function"&&h!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,h,x,"setState")},Xe.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};{var K={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Te=function(h,x){Object.defineProperty(Xe.prototype,h,{get:function(){wt("%s(...) is deprecated in plain JavaScript React classes. %s",x[0],x[1])}})};for(var Be in K)K.hasOwnProperty(Be)&&Te(Be,K[Be])}function Ne(){}Ne.prototype=Xe.prototype;function bt(h,x,F){this.props=h,this.context=x,this.refs=qe,this.updater=F||W}var Sn=bt.prototype=new Ne;Sn.constructor=bt,re(Sn,Xe.prototype),Sn.isPureReactComponent=!0;function En(){var h={current:null};return Object.seal(h),h}var $n=Array.isArray;function rn(h){return $n(h)}function jn(h){{var x=typeof Symbol=="function"&&Symbol.toStringTag,F=x&&h[Symbol.toStringTag]||h.constructor.name||"Object";return F}}function Fn(h){try{return Hn(h),!1}catch{return!0}}function Hn(h){return""+h}function bn(h){if(Fn(h))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jn(h)),Hn(h)}function or(h,x,F){var B=h.displayName;if(B)return B;var oe=x.displayName||x.name||"";return oe!==""?F+"("+oe+")":F}function hr(h){return h.displayName||"Context"}function Yn(h){if(h==null)return null;if(typeof h.tag=="number"&&k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case Q:return"Fragment";case j:return"Portal";case ge:return"Profiler";case C:return"StrictMode";case Y:return"Suspense";case de:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case ne:var x=h;return hr(x)+".Consumer";case te:var F=h;return hr(F._context)+".Provider";case ye:return or(h,h.render,"ForwardRef");case pe:var B=h.displayName||null;return B!==null?B:Yn(h.type)||"Memo";case Le:{var oe=h,Ae=oe._payload,ve=oe._init;try{return Yn(ve(Ae))}catch{return null}}}return null}var mr=Object.prototype.hasOwnProperty,Yr={key:!0,ref:!0,__self:!0,__source:!0},yr,na,lr;lr={};function Gr(h){if(mr.call(h,"ref")){var x=Object.getOwnPropertyDescriptor(h,"ref").get;if(x&&x.isReactWarning)return!1}return h.ref!==void 0}function cn(h){if(mr.call(h,"key")){var x=Object.getOwnPropertyDescriptor(h,"key").get;if(x&&x.isReactWarning)return!1}return h.key!==void 0}function ur(h,x){var F=function(){yr||(yr=!0,k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",x))};F.isReactWarning=!0,Object.defineProperty(h,"key",{get:F,configurable:!0})}function ja(h,x){var F=function(){na||(na=!0,k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",x))};F.isReactWarning=!0,Object.defineProperty(h,"ref",{get:F,configurable:!0})}function Ln(h){if(typeof h.ref=="string"&&lt.current&&h.__self&&lt.current.stateNode!==h.__self){var x=Yn(lt.current.type);lr[x]||(k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',x,h.ref),lr[x]=!0)}}var he=function(h,x,F,B,oe,Ae,ve){var Fe={$$typeof:_,type:h,key:x,ref:F,props:ve,_owner:Ae};return Fe._store={},Object.defineProperty(Fe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Fe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.defineProperty(Fe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(Fe.props),Object.freeze(Fe)),Fe};function Ie(h,x,F){var B,oe={},Ae=null,ve=null,Fe=null,ht=null;if(x!=null){Gr(x)&&(ve=x.ref,Ln(x)),cn(x)&&(bn(x.key),Ae=""+x.key),Fe=x.__self===void 0?null:x.__self,ht=x.__source===void 0?null:x.__source;for(B in x)mr.call(x,B)&&!Yr.hasOwnProperty(B)&&(oe[B]=x[B])}var Nt=arguments.length-2;if(Nt===1)oe.children=F;else if(Nt>1){for(var Jt=Array(Nt),Gt=0;Gt<Nt;Gt++)Jt[Gt]=arguments[Gt+2];Object.freeze&&Object.freeze(Jt),oe.children=Jt}if(h&&h.defaultProps){var mn=h.defaultProps;for(B in mn)oe[B]===void 0&&(oe[B]=mn[B])}if(Ae||ve){var Tn=typeof h=="function"?h.displayName||h.name||"Unknown":h;Ae&&ur(oe,Tn),ve&&ja(oe,Tn)}return he(h,Ae,ve,Fe,ht,lt.current,oe)}function Rt(h,x){var F=he(h.type,x,h.ref,h._self,h._source,h._owner,h.props);return F}function $t(h,x,F){if(h==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+h+".");var B,oe=re({},h.props),Ae=h.key,ve=h.ref,Fe=h._self,ht=h._source,Nt=h._owner;if(x!=null){Gr(x)&&(ve=x.ref,Nt=lt.current),cn(x)&&(bn(x.key),Ae=""+x.key);var Jt;h.type&&h.type.defaultProps&&(Jt=h.type.defaultProps);for(B in x)mr.call(x,B)&&!Yr.hasOwnProperty(B)&&(x[B]===void 0&&Jt!==void 0?oe[B]=Jt[B]:oe[B]=x[B])}var Gt=arguments.length-2;if(Gt===1)oe.children=F;else if(Gt>1){for(var mn=Array(Gt),Tn=0;Tn<Gt;Tn++)mn[Tn]=arguments[Tn+2];oe.children=mn}return he(h.type,Ae,ve,Fe,ht,Nt,oe)}function Pt(h){return typeof h=="object"&&h!==null&&h.$$typeof===_}var An=".",Cn=":";function gr(h){var x=/[=:]/g,F={"=":"=0",":":"=2"},B=h.replace(x,function(oe){return F[oe]});return"$"+B}var Lt=!1,Sr=/\/+/g;function Xt(h){return h.replace(Sr,"$&/")}function Kt(h,x){return typeof h=="object"&&h!==null&&h.key!=null?(bn(h.key),gr(""+h.key)):x.toString(36)}function ra(h,x,F,B,oe){var Ae=typeof h;(Ae==="undefined"||Ae==="boolean")&&(h=null);var ve=!1;if(h===null)ve=!0;else switch(Ae){case"string":case"number":ve=!0;break;case"object":switch(h.$$typeof){case _:case j:ve=!0}}if(ve){var Fe=h,ht=oe(Fe),Nt=B===""?An+Kt(Fe,0):B;if(rn(ht)){var Jt="";Nt!=null&&(Jt=Xt(Nt)+"/"),ra(ht,x,Jt,"",function(cd){return cd})}else ht!=null&&(Pt(ht)&&(ht.key&&(!Fe||Fe.key!==ht.key)&&bn(ht.key),ht=Rt(ht,F+(ht.key&&(!Fe||Fe.key!==ht.key)?Xt(""+ht.key)+"/":"")+Nt)),x.push(ht));return 1}var Gt,mn,Tn=0,Ft=B===""?An:B+Cn;if(rn(h))for(var so=0;so<h.length;so++)Gt=h[so],mn=Ft+Kt(Gt,so),Tn+=ra(Gt,x,F,mn,oe);else{var yu=We(h);if(typeof yu=="function"){var hs=h;yu===hs.entries&&(Lt||wt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Lt=!0);for(var sd=yu.call(hs),xi,ms=0;!(xi=sd.next()).done;)Gt=xi.value,mn=Ft+Kt(Gt,ms++),Tn+=ra(Gt,x,F,mn,oe)}else if(Ae==="object"){var ys=String(h);throw new Error("Objects are not valid as a React child (found: "+(ys==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":ys)+"). If you meant to render a collection of children, use an array instead.")}}return Tn}function Er(h,x,F){if(h==null)return h;var B=[],oe=0;return ra(h,B,"","",function(Ae){return x.call(F,Ae,oe++)}),B}function ti(h){var x=0;return Er(h,function(){x++}),x}function wi(h,x,F){Er(h,function(){x.apply(this,arguments)},F)}function Ui(h){return Er(h,function(x){return x})||[]}function aa(h){if(!Pt(h))throw new Error("React.Children.only expected to receive a single React element child.");return h}function ji(h){var x={$$typeof:ne,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};x.Provider={$$typeof:te,_context:x};var F=!1,B=!1,oe=!1;{var Ae={$$typeof:ne,_context:x};Object.defineProperties(Ae,{Provider:{get:function(){return B||(B=!0,k("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),x.Provider},set:function(ve){x.Provider=ve}},_currentValue:{get:function(){return x._currentValue},set:function(ve){x._currentValue=ve}},_currentValue2:{get:function(){return x._currentValue2},set:function(ve){x._currentValue2=ve}},_threadCount:{get:function(){return x._threadCount},set:function(ve){x._threadCount=ve}},Consumer:{get:function(){return F||(F=!0,k("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),x.Consumer}},displayName:{get:function(){return x.displayName},set:function(ve){oe||(wt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",ve),oe=!0)}}}),x.Consumer=Ae}return x._currentRenderer=null,x._currentRenderer2=null,x}var ia=-1,ni=0,oa=1,ri=2;function Cr(h){if(h._status===ia){var x=h._result,F=x();if(F.then(function(Ae){if(h._status===ni||h._status===ia){var ve=h;ve._status=oa,ve._result=Ae}},function(Ae){if(h._status===ni||h._status===ia){var ve=h;ve._status=ri,ve._result=Ae}}),h._status===ia){var B=h;B._status=ni,B._result=F}}if(h._status===oa){var oe=h._result;return oe===void 0&&k(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent')) Did you accidentally put curly braces around the import?`,oe),"default"in oe||k(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent'))`,oe),oe.default}else throw h._result}function Lr(h){var x={_status:ia,_result:h},F={$$typeof:Le,_payload:x,_init:Cr};{var B,oe;Object.defineProperties(F,{defaultProps:{configurable:!0,get:function(){return B},set:function(Ae){k("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),B=Ae,Object.defineProperty(F,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return oe},set:function(Ae){k("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),oe=Ae,Object.defineProperty(F,"propTypes",{enumerable:!0})}}})}return F}function Tr(h){h!=null&&h.$$typeof===pe?k("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof h!="function"?k("forwardRef requires a render function but was given %s.",h===null?"null":typeof h):h.length!==0&&h.length!==2&&k("forwardRef render functions accept exactly two parameters: props and ref. %s",h.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),h!=null&&(h.defaultProps!=null||h.propTypes!=null)&&k("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var x={$$typeof:ye,render:h};{var F;Object.defineProperty(x,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(B){F=B,!h.name&&!h.displayName&&(h.displayName=B)}})}return x}var D;D=Symbol.for("react.module.reference");function ae(h){return!!(typeof h=="string"||typeof h=="function"||h===Q||h===ge||Ve||h===C||h===Y||h===de||Ye||h===it||Mt||vt||qt||typeof h=="object"&&h!==null&&(h.$$typeof===Le||h.$$typeof===pe||h.$$typeof===te||h.$$typeof===ne||h.$$typeof===ye||h.$$typeof===D||h.getModuleId!==void 0))}function me(h,x){ae(h)||k("memo: The first argument must be a component. Instead received: %s",h===null?"null":typeof h);var F={$$typeof:pe,type:h,compare:x===void 0?null:x};{var B;Object.defineProperty(F,"displayName",{enumerable:!1,configurable:!0,get:function(){return B},set:function(oe){B=oe,!h.name&&!h.displayName&&(h.displayName=oe)}})}return F}function Re(){var h=Qe.current;return h===null&&k(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),h}function mt(h){var x=Re();if(h._context!==void 0){var F=h._context;F.Consumer===h?k("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):F.Provider===h&&k("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return x.useContext(h)}function St(h){var x=Re();return x.useState(h)}function Et(h,x,F){var B=Re();return B.useReducer(h,x,F)}function Ke(h){var x=Re();return x.useRef(h)}function Gn(h,x){var F=Re();return F.useEffect(h,x)}function fn(h,x){var F=Re();return F.useInsertionEffect(h,x)}function dn(h,x){var F=Re();return F.useLayoutEffect(h,x)}function Rn(h,x){var F=Re();return F.useCallback(h,x)}function ai(h,x){var F=Re();return F.useMemo(h,x)}function Ho(h,x,F){var B=Re();return B.useImperativeHandle(h,x,F)}function jt(h,x){{var F=Re();return F.useDebugValue(h,x)}}function ps(){var h=Re();return h.useTransition()}function Fa(h){var x=Re();return x.useDeferredValue(h)}function Tt(){var h=Re();return h.useId()}function ii(h,x,F){var B=Re();return B.useSyncExternalStore(h,x,F)}var Fi=0,la,Hi,Wr,Rl,Ar,xl,_l;function io(){}io.__reactDisabledLog=!0;function Po(){{if(Fi===0){la=console.log,Hi=console.info,Wr=console.warn,Rl=console.error,Ar=console.group,xl=console.groupCollapsed,_l=console.groupEnd;var h={configurable:!0,enumerable:!0,value:io,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}Fi++}}function Sa(){{if(Fi--,Fi===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:re({},h,{value:la}),info:re({},h,{value:Hi}),warn:re({},h,{value:Wr}),error:re({},h,{value:Rl}),group:re({},h,{value:Ar}),groupCollapsed:re({},h,{value:xl}),groupEnd:re({},h,{value:_l})})}Fi<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ea=kt.ReactCurrentDispatcher,wr;function Pi(h,x,F){{if(wr===void 0)try{throw Error()}catch(oe){var B=oe.stack.trim().match(/\n( *(at )?)/);wr=B&&B[1]||""}return` `+wr+h}}var Vi=!1,Bi;{var Vo=typeof WeakMap=="function"?WeakMap:Map;Bi=new Vo}function oo(h,x){if(!h||Vi)return"";{var F=Bi.get(h);if(F!==void 0)return F}var B;Vi=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ae;Ae=Ea.current,Ea.current=null,Po();try{if(x){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(Ft){B=Ft}Reflect.construct(h,[],ve)}else{try{ve.call()}catch(Ft){B=Ft}h.call(ve.prototype)}}else{try{throw Error()}catch(Ft){B=Ft}h()}}catch(Ft){if(Ft&&B&&typeof Ft.stack=="string"){for(var Fe=Ft.stack.split(` `),ht=B.stack.split(` `),Nt=Fe.length-1,Jt=ht.length-1;Nt>=1&&Jt>=0&&Fe[Nt]!==ht[Jt];)Jt--;for(;Nt>=1&&Jt>=0;Nt--,Jt--)if(Fe[Nt]!==ht[Jt]){if(Nt!==1||Jt!==1)do if(Nt--,Jt--,Jt<0||Fe[Nt]!==ht[Jt]){var Gt=` `+Fe[Nt].replace(" at new "," at ");return h.displayName&&Gt.includes("<anonymous>")&&(Gt=Gt.replace("<anonymous>",h.displayName)),typeof h=="function"&&Bi.set(h,Gt),Gt}while(Nt>=1&&Jt>=0);break}}}finally{Vi=!1,Ea.current=Ae,Sa(),Error.prepareStackTrace=oe}var mn=h?h.displayName||h.name:"",Tn=mn?Pi(mn):"";return typeof h=="function"&&Bi.set(h,Tn),Tn}function bi(h,x,F){return oo(h,!1)}function vs(h){var x=h.prototype;return!!(x&&x.isReactComponent)}function Ha(h,x,F){if(h==null)return"";if(typeof h=="function")return oo(h,vs(h));if(typeof h=="string")return Pi(h);switch(h){case Y:return Pi("Suspense");case de:return Pi("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case ye:return bi(h.render);case pe:return Ha(h.type,x,F);case Le:{var B=h,oe=B._payload,Ae=B._init;try{return Ha(Ae(oe),x,F)}catch{}}}return""}var At={},Pa=kt.ReactDebugCurrentFrame;function lo(h){if(h){var x=h._owner,F=Ha(h.type,h._source,x?x.type:null);Pa.setExtraStackFrame(F)}else Pa.setExtraStackFrame(null)}function Bo(h,x,F,B,oe){{var Ae=Function.call.bind(mr);for(var ve in h)if(Ae(h,ve)){var Fe=void 0;try{if(typeof h[ve]!="function"){var ht=Error((B||"React class")+": "+F+" type `"+ve+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[ve]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ht.name="Invariant Violation",ht}Fe=h[ve](x,ve,B,F,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Nt){Fe=Nt}Fe&&!(Fe instanceof Error)&&(lo(oe),k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",B||"React class",F,ve,typeof Fe),lo(null)),Fe instanceof Error&&!(Fe.message in At)&&(At[Fe.message]=!0,lo(oe),k("Failed %s type: %s",F,Fe.message),lo(null))}}}function xt(h){if(h){var x=h._owner,F=Ha(h.type,h._source,x?x.type:null);ln(F)}else ln(null)}var Io;Io=!1;function $o(){if(lt.current){var h=Yn(lt.current.type);if(h)return` Check the render method of \``+h+"`."}return""}function ft(h){if(h!==void 0){var x=h.fileName.replace(/^.*[\\\/]/,""),F=h.lineNumber;return` Check your code at `+x+":"+F+"."}return""}function uo(h){return h!=null?ft(h.__source):""}var xn={};function Wn(h){var x=$o();if(!x){var F=typeof h=="string"?h:h.displayName||h.name;F&&(x=` Check the top-level render call using <`+F+">.")}return x}function br(h,x){if(!(!h._store||h._store.validated||h.key!=null)){h._store.validated=!0;var F=Wn(x);if(!xn[F]){xn[F]=!0;var B="";h&&h._owner&&h._owner!==lt.current&&(B=" It was passed a child from "+Yn(h._owner.type)+"."),xt(h),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',F,B),xt(null)}}}function Ii(h,x){if(typeof h=="object"){if(rn(h))for(var F=0;F<h.length;F++){var B=h[F];Pt(B)&&br(B,x)}else if(Pt(h))h._store&&(h._store.validated=!0);else if(h){var oe=We(h);if(typeof oe=="function"&&oe!==h.entries)for(var Ae=oe.call(h),ve;!(ve=Ae.next()).done;)Pt(ve.value)&&br(ve.value,x)}}}function hn(h){{var x=h.type;if(x==null||typeof x=="string")return;var F;if(typeof x=="function")F=x.propTypes;else if(typeof x=="object"&&(x.$$typeof===ye||x.$$typeof===pe))F=x.propTypes;else return;if(F){var B=Yn(x);Bo(F,h.props,"prop",B,h)}else if(x.PropTypes!==void 0&&!Io){Io=!0;var oe=Yn(x);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof x.getDefaultProps=="function"&&!x.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Zt(h){{for(var x=Object.keys(h.props),F=0;F<x.length;F++){var B=x[F];if(B!=="children"&&B!=="key"){xt(h),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),xt(null);break}}h.ref!==null&&(xt(h),k("Invalid attribute `ref` supplied to `React.Fragment`."),xt(null))}}function Yo(h,x,F){var B=ae(h);if(!B){var oe="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(oe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ae=uo(x);Ae?oe+=Ae:oe+=$o();var ve;h===null?ve="null":rn(h)?ve="array":h!==void 0&&h.$$typeof===_?(ve="<"+(Yn(h.type)||"Unknown")+" />",oe=" Did you accidentally export a JSX literal instead of a component?"):ve=typeof h,k("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ve,oe)}var Fe=Ie.apply(this,arguments);if(Fe==null)return Fe;if(B)for(var ht=2;ht<arguments.length;ht++)Ii(arguments[ht],h);return h===Q?Zt(Fe):hn(Fe),Fe}var Qr=!1;function Kn(h){var x=Yo.bind(null,h);return x.type=h,Qr||(Qr=!0,wt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(x,"type",{enumerable:!1,get:function(){return wt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:h}),h}}),x}function Va(h,x,F){for(var B=$t.apply(this,arguments),oe=2;oe<arguments.length;oe++)Ii(arguments[oe],B.type);return hn(B),B}function Dl(h,x){var F=ut.transition;ut.transition={};var B=ut.transition;ut.transition._updatedFibers=new Set;try{h()}finally{if(ut.transition=F,F===null&&B._updatedFibers){var oe=B._updatedFibers.size;oe>10&&wt("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),B._updatedFibers.clear()}}}var ua=!1,Ri=null;function mu(h){if(Ri===null)try{var x=("require"+Math.random()).slice(0,7),F=v&&v[x];Ri=F.call(v,"timers").setImmediate}catch{Ri=function(oe){ua===!1&&(ua=!0,typeof MessageChannel>"u"&&k("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ae=new MessageChannel;Ae.port1.onmessage=oe,Ae.port2.postMessage(void 0)}}return Ri(h)}var Ca=0,$i=!1;function w(h){{var x=Ca;Ca++,ke.current===null&&(ke.current=[]);var F=ke.isBatchingLegacy,B;try{if(ke.isBatchingLegacy=!0,B=h(),!F&&ke.didScheduleLegacyUpdate){var oe=ke.current;oe!==null&&(ke.didScheduleLegacyUpdate=!1,Yt(oe))}}catch(mn){throw L(x),mn}finally{ke.isBatchingLegacy=F}if(B!==null&&typeof B=="object"&&typeof B.then=="function"){var Ae=B,ve=!1,Fe={then:function(mn,Tn){ve=!0,Ae.then(function(Ft){L(x),Ca===0?ee(Ft,mn,Tn):mn(Ft)},function(Ft){L(x),Tn(Ft)})}};return!$i&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){ve||($i=!0,k("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Fe}else{var ht=B;if(L(x),Ca===0){var Nt=ke.current;Nt!==null&&(Yt(Nt),ke.current=null);var Jt={then:function(mn,Tn){ke.current===null?(ke.current=[],ee(ht,mn,Tn)):mn(ht)}};return Jt}else{var Gt={then:function(mn,Tn){mn(ht)}};return Gt}}}}function L(h){h!==Ca-1&&k("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ca=h}function ee(h,x,F){{var B=ke.current;if(B!==null)try{Yt(B),mu(function(){B.length===0?(ke.current=null,x(h)):ee(h,x,F)})}catch(oe){F(oe)}else x(h)}}var Ce=!1;function Yt(h){if(!Ce){Ce=!0;var x=0;try{for(;x<h.length;x++){var F=h[x];do F=F(!0);while(F!==null)}h.length=0}catch(B){throw h=h.slice(x+1),B}finally{Ce=!1}}}var st=Yo,un=Va,Nn=Kn,sn={map:Er,forEach:wi,count:ti,toArray:Ui,only:aa};E.Children=sn,E.Component=Xe,E.Fragment=Q,E.Profiler=ge,E.PureComponent=bt,E.StrictMode=C,E.Suspense=Y,E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kt,E.cloneElement=un,E.createContext=ji,E.createElement=st,E.createFactory=Nn,E.createRef=En,E.forwardRef=Tr,E.isValidElement=Pt,E.lazy=Lr,E.memo=me,E.startTransition=Dl,E.unstable_act=w,E.useCallback=Rn,E.useContext=mt,E.useDebugValue=jt,E.useDeferredValue=Fa,E.useEffect=Gn,E.useId=Tt,E.useImperativeHandle=Ho,E.useInsertionEffect=fn,E.useLayoutEffect=dn,E.useMemo=ai,E.useReducer=Et,E.useRef=Ke,E.useState=St,E.useSyncExternalStore=ii,E.useTransition=ps,E.version=y,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(ad,ad.exports)),ad.exports}var dS;function id(){return dS||(dS=1,bl.env.NODE_ENV==="production"?yv.exports=z2():yv.exports=U2()),yv.exports}/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var pS;function j2(){if(pS)return rd;pS=1;var v=id(),E=Symbol.for("react.element"),y=Symbol.for("react.fragment"),_=Object.prototype.hasOwnProperty,j=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Q={key:!0,ref:!0,__self:!0,__source:!0};function C(ge,te,ne){var ye,Y={},de=null,pe=null;ne!==void 0&&(de=""+ne),te.key!==void 0&&(de=""+te.key),te.ref!==void 0&&(pe=te.ref);for(ye in te)_.call(te,ye)&&!Q.hasOwnProperty(ye)&&(Y[ye]=te[ye]);if(ge&&ge.defaultProps)for(ye in te=ge.defaultProps,te)Y[ye]===void 0&&(Y[ye]=te[ye]);return{$$typeof:E,type:ge,key:de,ref:pe,props:Y,_owner:j.current}}return rd.Fragment=y,rd.jsx=C,rd.jsxs=C,rd}var od={},vS;function F2(){return vS||(vS=1,bl.env.NODE_ENV!=="production"&&function(){var v=id(),E=Symbol.for("react.element"),y=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),ge=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),ye=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),de=Symbol.for("react.lazy"),pe=Symbol.for("react.offscreen"),Le=Symbol.iterator,it="@@iterator";function et(D){if(D===null||typeof D!="object")return null;var ae=Le&&D[Le]||D[it];return typeof ae=="function"?ae:null}var tt=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function We(D){{for(var ae=arguments.length,me=new Array(ae>1?ae-1:0),Re=1;Re<ae;Re++)me[Re-1]=arguments[Re];Qe("error",D,me)}}function Qe(D,ae,me){{var Re=tt.ReactDebugCurrentFrame,mt=Re.getStackAddendum();mt!==""&&(ae+="%s",me=me.concat([mt]));var St=me.map(function(Et){return String(Et)});St.unshift("Warning: "+ae),Function.prototype.apply.call(console[D],console,St)}}var ut=!1,ke=!1,lt=!1,Pe=!1,Qt=!1,ln;ln=Symbol.for("react.module.reference");function Mt(D){return!!(typeof D=="string"||typeof D=="function"||D===_||D===Q||Qt||D===j||D===ne||D===ye||Pe||D===pe||ut||ke||lt||typeof D=="object"&&D!==null&&(D.$$typeof===de||D.$$typeof===Y||D.$$typeof===C||D.$$typeof===ge||D.$$typeof===te||D.$$typeof===ln||D.getModuleId!==void 0))}function vt(D,ae,me){var Re=D.displayName;if(Re)return Re;var mt=ae.displayName||ae.name||"";return mt!==""?me+"("+mt+")":me}function qt(D){return D.displayName||"Context"}function Ye(D){if(D==null)return null;if(typeof D.tag=="number"&&We("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case _:return"Fragment";case y:return"Portal";case Q:return"Profiler";case j:return"StrictMode";case ne:return"Suspense";case ye:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case ge:var ae=D;return qt(ae)+".Consumer";case C:var me=D;return qt(me._context)+".Provider";case te:return vt(D,D.render,"ForwardRef");case Y:var Re=D.displayName||null;return Re!==null?Re:Ye(D.type)||"Memo";case de:{var mt=D,St=mt._payload,Et=mt._init;try{return Ye(Et(St))}catch{return null}}}return null}var Ve=Object.assign,kt=0,wt,k,z,ie,R,W,re;function qe(){}qe.__reactDisabledLog=!0;function Xe(){{if(kt===0){wt=console.log,k=console.info,z=console.warn,ie=console.error,R=console.group,W=console.groupCollapsed,re=console.groupEnd;var D={configurable:!0,enumerable:!0,value:qe,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}kt++}}function K(){{if(kt--,kt===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ve({},D,{value:wt}),info:Ve({},D,{value:k}),warn:Ve({},D,{value:z}),error:Ve({},D,{value:ie}),group:Ve({},D,{value:R}),groupCollapsed:Ve({},D,{value:W}),groupEnd:Ve({},D,{value:re})})}kt<0&&We("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Te=tt.ReactCurrentDispatcher,Be;function Ne(D,ae,me){{if(Be===void 0)try{throw Error()}catch(mt){var Re=mt.stack.trim().match(/\n( *(at )?)/);Be=Re&&Re[1]||""}return` `+Be+D}}var bt=!1,Sn;{var En=typeof WeakMap=="function"?WeakMap:Map;Sn=new En}function $n(D,ae){if(!D||bt)return"";{var me=Sn.get(D);if(me!==void 0)return me}var Re;bt=!0;var mt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var St;St=Te.current,Te.current=null,Xe();try{if(ae){var Et=function(){throw Error()};if(Object.defineProperty(Et.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Et,[])}catch(jt){Re=jt}Reflect.construct(D,[],Et)}else{try{Et.call()}catch(jt){Re=jt}D.call(Et.prototype)}}else{try{throw Error()}catch(jt){Re=jt}D()}}catch(jt){if(jt&&Re&&typeof jt.stack=="string"){for(var Ke=jt.stack.split(` `),Gn=Re.stack.split(` `),fn=Ke.length-1,dn=Gn.length-1;fn>=1&&dn>=0&&Ke[fn]!==Gn[dn];)dn--;for(;fn>=1&&dn>=0;fn--,dn--)if(Ke[fn]!==Gn[dn]){if(fn!==1||dn!==1)do if(fn--,dn--,dn<0||Ke[fn]!==Gn[dn]){var Rn=` `+Ke[fn].replace(" at new "," at ");return D.displayName&&Rn.includes("<anonymous>")&&(Rn=Rn.replace("<anonymous>",D.displayName)),typeof D=="function"&&Sn.set(D,Rn),Rn}while(fn>=1&&dn>=0);break}}}finally{bt=!1,Te.current=St,K(),Error.prepareStackTrace=mt}var ai=D?D.displayName||D.name:"",Ho=ai?Ne(ai):"";return typeof D=="function"&&Sn.set(D,Ho),Ho}function rn(D,ae,me){return $n(D,!1)}function jn(D){var ae=D.prototype;return!!(ae&&ae.isReactComponent)}function Fn(D,ae,me){if(D==null)return"";if(typeof D=="function")return $n(D,jn(D));if(typeof D=="string")return Ne(D);switch(D){case ne:return Ne("Suspense");case ye:return Ne("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case te:return rn(D.render);case Y:return Fn(D.type,ae,me);case de:{var Re=D,mt=Re._payload,St=Re._init;try{return Fn(St(mt),ae,me)}catch{}}}return""}var Hn=Object.prototype.hasOwnProperty,bn={},or=tt.ReactDebugCurrentFrame;function hr(D){if(D){var ae=D._owner,me=Fn(D.type,D._source,ae?ae.type:null);or.setExtraStackFrame(me)}else or.setExtraStackFrame(null)}function Yn(D,ae,me,Re,mt){{var St=Function.call.bind(Hn);for(var Et in D)if(St(D,Et)){var Ke=void 0;try{if(typeof D[Et]!="function"){var Gn=Error((Re||"React class")+": "+me+" type `"+Et+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[Et]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Gn.name="Invariant Violation",Gn}Ke=D[Et](ae,Et,Re,me,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(fn){Ke=fn}Ke&&!(Ke instanceof Error)&&(hr(mt),We("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Re||"React class",me,Et,typeof Ke),hr(null)),Ke instanceof Error&&!(Ke.message in bn)&&(bn[Ke.message]=!0,hr(mt),We("Failed %s type: %s",me,Ke.message),hr(null))}}}var mr=Array.isArray;function Yr(D){return mr(D)}function yr(D){{var ae=typeof Symbol=="function"&&Symbol.toStringTag,me=ae&&D[Symbol.toStringTag]||D.constructor.name||"Object";return me}}function na(D){try{return lr(D),!1}catch{return!0}}function lr(D){return""+D}function Gr(D){if(na(D))return We("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",yr(D)),lr(D)}var cn=tt.ReactCurrentOwner,ur={key:!0,ref:!0,__self:!0,__source:!0},ja,Ln,he;he={};function Ie(D){if(Hn.call(D,"ref")){var ae=Object.getOwnPropertyDescriptor(D,"ref").get;if(ae&&ae.isReactWarning)return!1}return D.ref!==void 0}function Rt(D){if(Hn.call(D,"key")){var ae=Object.getOwnPropertyDescriptor(D,"key").get;if(ae&&ae.isReactWarning)return!1}return D.key!==void 0}function $t(D,ae){if(typeof D.ref=="string"&&cn.current&&ae&&cn.current.stateNode!==ae){var me=Ye(cn.current.type);he[me]||(We('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Ye(cn.current.type),D.ref),he[me]=!0)}}function Pt(D,ae){{var me=function(){ja||(ja=!0,We("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ae))};me.isReactWarning=!0,Object.defineProperty(D,"key",{get:me,configurable:!0})}}function An(D,ae){{var me=function(){Ln||(Ln=!0,We("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ae))};me.isReactWarning=!0,Object.defineProperty(D,"ref",{get:me,configurable:!0})}}var Cn=function(D,ae,me,Re,mt,St,Et){var Ke={$$typeof:E,type:D,key:ae,ref:me,props:Et,_owner:St};return Ke._store={},Object.defineProperty(Ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Re}),Object.defineProperty(Ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:mt}),Object.freeze&&(Object.freeze(Ke.props),Object.freeze(Ke)),Ke};function gr(D,ae,me,Re,mt){{var St,Et={},Ke=null,Gn=null;me!==void 0&&(Gr(me),Ke=""+me),Rt(ae)&&(Gr(ae.key),Ke=""+ae.key),Ie(ae)&&(Gn=ae.ref,$t(ae,mt));for(St in ae)Hn.call(ae,St)&&!ur.hasOwnProperty(St)&&(Et[St]=ae[St]);if(D&&D.defaultProps){var fn=D.defaultProps;for(St in fn)Et[St]===void 0&&(Et[St]=fn[St])}if(Ke||Gn){var dn=typeof D=="function"?D.displayName||D.name||"Unknown":D;Ke&&Pt(Et,dn),Gn&&An(Et,dn)}return Cn(D,Ke,Gn,mt,Re,cn.current,Et)}}var Lt=tt.ReactCurrentOwner,Sr=tt.ReactDebugCurrentFrame;function Xt(D){if(D){var ae=D._owner,me=Fn(D.type,D._source,ae?ae.type:null);Sr.setExtraStackFrame(me)}else Sr.setExtraStackFrame(null)}var Kt;Kt=!1;function ra(D){return typeof D=="object"&&D!==null&&D.$$typeof===E}function Er(){{if(Lt.current){var D=Ye(Lt.current.type);if(D)return` Check the render method of \``+D+"`."}return""}}function ti(D){{if(D!==void 0){var ae=D.fileName.replace(/^.*[\\\/]/,""),me=D.lineNumber;return` Check your code at `+ae+":"+me+"."}return""}}var wi={};function Ui(D){{var ae=Er();if(!ae){var me=typeof D=="string"?D:D.displayName||D.name;me&&(ae=` Check the top-level render call using <`+me+">.")}return ae}}function aa(D,ae){{if(!D._store||D._store.validated||D.key!=null)return;D._store.validated=!0;var me=Ui(ae);if(wi[me])return;wi[me]=!0;var Re="";D&&D._owner&&D._owner!==Lt.current&&(Re=" It was passed a child from "+Ye(D._owner.type)+"."),Xt(D),We('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',me,Re),Xt(null)}}function ji(D,ae){{if(typeof D!="object")return;if(Yr(D))for(var me=0;me<D.length;me++){var Re=D[me];ra(Re)&&aa(Re,ae)}else if(ra(D))D._store&&(D._store.validated=!0);else if(D){var mt=et(D);if(typeof mt=="function"&&mt!==D.entries)for(var St=mt.call(D),Et;!(Et=St.next()).done;)ra(Et.value)&&aa(Et.value,ae)}}}function ia(D){{var ae=D.type;if(ae==null||typeof ae=="string")return;var me;if(typeof ae=="function")me=ae.propTypes;else if(typeof ae=="object"&&(ae.$$typeof===te||ae.$$typeof===Y))me=ae.propTypes;else return;if(me){var Re=Ye(ae);Yn(me,D.props,"prop",Re,D)}else if(ae.PropTypes!==void 0&&!Kt){Kt=!0;var mt=Ye(ae);We("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",mt||"Unknown")}typeof ae.getDefaultProps=="function"&&!ae.getDefaultProps.isReactClassApproved&&We("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ni(D){{for(var ae=Object.keys(D.props),me=0;me<ae.length;me++){var Re=ae[me];if(Re!=="children"&&Re!=="key"){Xt(D),We("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Re),Xt(null);break}}D.ref!==null&&(Xt(D),We("Invalid attribute `ref` supplied to `React.Fragment`."),Xt(null))}}function oa(D,ae,me,Re,mt,St){{var Et=Mt(D);if(!Et){var Ke="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Ke+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Gn=ti(mt);Gn?Ke+=Gn:Ke+=Er();var fn;D===null?fn="null":Yr(D)?fn="array":D!==void 0&&D.$$typeof===E?(fn="<"+(Ye(D.type)||"Unknown")+" />",Ke=" Did you accidentally export a JSX literal instead of a component?"):fn=typeof D,We("React.jsx: type is invalid -- expected a