(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 l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).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 jh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zh(e){var t=e.default;if(typeof t=="function"){var n=function(){return 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 Ee={exports:{}},ce={};/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var Cf=Object.getOwnPropertySymbols,Uh=Object.prototype.hasOwnProperty,Vh=Object.prototype.propertyIsEnumerable;function $h(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Hh(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var ud=Hh()?Object.assign:function(e,t){for(var n,r=$h(e),o,i=1;i<arguments.length;i++){n=Object(arguments[i]);for(var l in n)Uh.call(n,l)&&(r[l]=n[l]);if(Cf){o=Cf(n);for(var a=0;a<o.length;a++)Vh.call(n,o[a])&&(r[o[a]]=n[o[a]])}}return r};/** @license React v17.0.2
 * 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 is=ud,Br=60103,sd=60106;ce.Fragment=60107;ce.StrictMode=60108;ce.Profiler=60114;var fd=60109,cd=60110,dd=60112;ce.Suspense=60113;var pd=60115,hd=60116;if(typeof Symbol=="function"&&Symbol.for){var At=Symbol.for;Br=At("react.element"),sd=At("react.portal"),ce.Fragment=At("react.fragment"),ce.StrictMode=At("react.strict_mode"),ce.Profiler=At("react.profiler"),fd=At("react.provider"),cd=At("react.context"),dd=At("react.forward_ref"),ce.Suspense=At("react.suspense"),pd=At("react.memo"),hd=At("react.lazy")}var Of=typeof Symbol=="function"&&Symbol.iterator;function Bh(e){return e===null||typeof e!="object"?null:(e=Of&&e[Of]||e["@@iterator"],typeof e=="function"?e:null)}function vi(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 vd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},md={};function Wr(e,t,n){this.props=e,this.context=t,this.refs=md,this.updater=n||vd}Wr.prototype.isReactComponent={};Wr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(vi(85));this.updater.enqueueSetState(this,e,t,"setState")};Wr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function gd(){}gd.prototype=Wr.prototype;function ls(e,t,n){this.props=e,this.context=t,this.refs=md,this.updater=n||vd}var as=ls.prototype=new gd;as.constructor=ls;is(as,Wr.prototype);as.isPureReactComponent=!0;var us={current:null},yd=Object.prototype.hasOwnProperty,wd={key:!0,ref:!0,__self:!0,__source:!0};function Sd(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)yd.call(t,r)&&!wd.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var u=Array(a),s=0;s<a;s++)u[s]=arguments[s+2];o.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Br,type:e,key:i,ref:l,props:o,_owner:us.current}}function Wh(e,t){return{$$typeof:Br,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ss(e){return typeof e=="object"&&e!==null&&e.$$typeof===Br}function Yh(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var kf=/\/+/g;function da(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Yh(""+e.key):t.toString(36)}function Yi(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Br:case sd:l=!0}}if(l)return l=e,o=o(l),e=r===""?"."+da(l,0):r,Array.isArray(o)?(n="",e!=null&&(n=e.replace(kf,"$&/")+"/"),Yi(o,t,n,"",function(s){return s})):o!=null&&(ss(o)&&(o=Wh(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(kf,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=r===""?".":r+":",Array.isArray(e))for(var a=0;a<e.length;a++){i=e[a];var u=r+da(i,a);l+=Yi(i,t,n,u,o)}else if(u=Bh(e),typeof u=="function")for(e=u.call(e),a=0;!(i=e.next()).done;)i=i.value,u=r+da(i,a++),l+=Yi(i,t,n,u,o);else if(i==="object")throw t=""+e,Error(vi(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function xi(e,t,n){if(e==null)return e;var r=[],o=0;return Yi(e,r,"","",function(i){return t.call(n,i,o++)}),r}function Xh(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(n){e._status===0&&(n=n.default,e._status=1,e._result=n)},function(n){e._status===0&&(e._status=2,e._result=n)})}if(e._status===1)return e._result;throw e._result}var Ed={current:null};function an(){var e=Ed.current;if(e===null)throw Error(vi(321));return e}var Kh={ReactCurrentDispatcher:Ed,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:us,IsSomeRendererActing:{current:!1},assign:is};ce.Children={map:xi,forEach:function(e,t,n){xi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return xi(e,function(){t++}),t},toArray:function(e){return xi(e,function(t){return t})||[]},only:function(e){if(!ss(e))throw Error(vi(143));return e}};ce.Component=Wr;ce.PureComponent=ls;ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Kh;ce.cloneElement=function(e,t,n){if(e==null)throw Error(vi(267,e));var r=is({},e.props),o=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=us.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)yd.call(t,u)&&!wd.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var s=0;s<u;s++)a[s]=arguments[s+2];r.children=a}return{$$typeof:Br,type:e.type,key:o,ref:i,props:r,_owner:l}};ce.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:cd,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:fd,_context:e},e.Consumer=e};ce.createElement=Sd;ce.createFactory=function(e){var t=Sd.bind(null,e);return t.type=e,t};ce.createRef=function(){return{current:null}};ce.forwardRef=function(e){return{$$typeof:dd,render:e}};ce.isValidElement=ss;ce.lazy=function(e){return{$$typeof:hd,_payload:{_status:-1,_result:e},_init:Xh}};ce.memo=function(e,t){return{$$typeof:pd,type:e,compare:t===void 0?null:t}};ce.useCallback=function(e,t){return an().useCallback(e,t)};ce.useContext=function(e,t){return an().useContext(e,t)};ce.useDebugValue=function(){};ce.useEffect=function(e,t){return an().useEffect(e,t)};ce.useImperativeHandle=function(e,t,n){return an().useImperativeHandle(e,t,n)};ce.useLayoutEffect=function(e,t){return an().useLayoutEffect(e,t)};ce.useMemo=function(e,t){return an().useMemo(e,t)};ce.useReducer=function(e,t,n){return an().useReducer(e,t,n)};ce.useRef=function(e){return an().useRef(e)};ce.useState=function(e){return an().useState(e)};ce.version="17.0.2";(function(e){e.exports=ce})(Ee);const _d=hi(Ee.exports);var fs={exports:{}},Rt={},Cd={exports:{}},Od={};/** @license React v0.20.2
 * scheduler.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.
 */(function(e){var t,n,r,o;if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}if(typeof window>"u"||typeof MessageChannel!="function"){var u=null,s=null,p=function(){if(u!==null)try{var R=e.unstable_now();u(!0,R),u=null}catch(L){throw setTimeout(p,0),L}};t=function(R){u!==null?setTimeout(t,0,R):(u=R,setTimeout(p,0))},n=function(R,L){s=setTimeout(R,L)},r=function(){clearTimeout(s)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var y=window.setTimeout,g=window.clearTimeout;if(typeof console<"u"){var O=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof O!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var k=!1,S=null,c=-1,f=5,d=0;e.unstable_shouldYield=function(){return e.unstable_now()>=d},o=function(){},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):f=0<R?Math.floor(1e3/R):5};var h=new MessageChannel,v=h.port2;h.port1.onmessage=function(){if(S!==null){var R=e.unstable_now();d=R+f;try{S(!0,R)?v.postMessage(null):(k=!1,S=null)}catch(L){throw v.postMessage(null),L}}else k=!1},t=function(R){S=R,k||(k=!0,v.postMessage(null))},n=function(R,L){c=y(function(){R(e.unstable_now())},L)},r=function(){g(c),c=-1}}function _(R,L){var A=R.length;R.push(L);e:for(;;){var U=A-1>>>1,J=R[U];if(J!==void 0&&0<b(J,L))R[U]=L,R[A]=J,A=U;else break e}}function E(R){return R=R[0],R===void 0?null:R}function P(R){var L=R[0];if(L!==void 0){var A=R.pop();if(A!==L){R[0]=A;e:for(var U=0,J=R.length;U<J;){var se=2*(U+1)-1,de=R[se],me=se+1,He=R[me];if(de!==void 0&&0>b(de,A))He!==void 0&&0>b(He,de)?(R[U]=He,R[me]=A,U=me):(R[U]=de,R[se]=A,U=se);else if(He!==void 0&&0>b(He,A))R[U]=He,R[me]=A,U=me;else break e}}return L}return null}function b(R,L){var A=R.sortIndex-L.sortIndex;return A!==0?A:R.id-L.id}var D=[],j=[],N=1,$=null,M=3,G=!1,ne=!1,W=!1;function re(R){for(var L=E(j);L!==null;){if(L.callback===null)P(j);else if(L.startTime<=R)P(j),L.sortIndex=L.expirationTime,_(D,L);else break;L=E(j)}}function H(R){if(W=!1,re(R),!ne)if(E(D)!==null)ne=!0,t(ae);else{var L=E(j);L!==null&&n(H,L.startTime-R)}}function ae(R,L){ne=!1,W&&(W=!1,r()),G=!0;var A=M;try{for(re(L),$=E(D);$!==null&&(!($.expirationTime>L)||R&&!e.unstable_shouldYield());){var U=$.callback;if(typeof U=="function"){$.callback=null,M=$.priorityLevel;var J=U($.expirationTime<=L);L=e.unstable_now(),typeof J=="function"?$.callback=J:$===E(D)&&P(D),re(L)}else P(D);$=E(D)}if($!==null)var se=!0;else{var de=E(j);de!==null&&n(H,de.startTime-L),se=!1}return se}finally{$=null,M=A,G=!1}}var $e=o;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(R){R.callback=null},e.unstable_continueExecution=function(){ne||G||(ne=!0,t(ae))},e.unstable_getCurrentPriorityLevel=function(){return M},e.unstable_getFirstCallbackNode=function(){return E(D)},e.unstable_next=function(R){switch(M){case 1:case 2:case 3:var L=3;break;default:L=M}var A=M;M=L;try{return R()}finally{M=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=$e,e.unstable_runWithPriority=function(R,L){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var A=M;M=R;try{return L()}finally{M=A}},e.unstable_scheduleCallback=function(R,L,A){var U=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0<A?U+A:U):A=U,R){case 1:var J=-1;break;case 2:J=250;break;case 5:J=1073741823;break;case 4:J=1e4;break;default:J=5e3}return J=A+J,R={id:N++,callback:L,priorityLevel:R,startTime:A,expirationTime:J,sortIndex:-1},A>U?(R.sortIndex=A,_(j,R),E(D)===null&&R===E(j)&&(W?r():W=!0,n(H,A-U))):(R.sortIndex=J,_(D,R),ne||G||(ne=!0,t(ae))),R},e.unstable_wrapCallback=function(R){var L=M;return function(){var A=M;M=L;try{return R.apply(this,arguments)}finally{M=A}}}})(Od);(function(e){e.exports=Od})(Cd);/** @license React v17.0.2
 * react-dom.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 zl=Ee.exports,Ne=ud,Qe=Cd.exports;function I(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."}if(!zl)throw Error(I(227));var kd=new Set,Jo={};function ir(e,t){jr(e,t),jr(e+"Capture",t)}function jr(e,t){for(Jo[e]=t,e=0;e<t.length;e++)kd.add(t[e])}var ln=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gh=/^[: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]*$/,Tf=Object.prototype.hasOwnProperty,xf={},Pf={};function qh(e){return Tf.call(Pf,e)?!0:Tf.call(xf,e)?!1:Gh.test(e)?Pf[e]=!0:(xf[e]=!0,!1)}function Qh(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 Zh(e,t,n,r){if(t===null||typeof t>"u"||Qh(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 pt(e,t,n,r,o,i,l){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=l}var tt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){tt[e]=new pt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];tt[t]=new pt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){tt[e]=new pt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){tt[e]=new pt(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){tt[e]=new pt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){tt[e]=new pt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){tt[e]=new pt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){tt[e]=new pt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){tt[e]=new pt(e,5,!1,e.toLowerCase(),null,!1,!1)});var cs=/[\-:]([a-z])/g;function ds(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(cs,ds);tt[t]=new pt(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(cs,ds);tt[t]=new pt(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(cs,ds);tt[t]=new pt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){tt[e]=new pt(e,1,!1,e.toLowerCase(),null,!1,!1)});tt.xlinkHref=new pt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){tt[e]=new pt(e,1,!1,e.toLowerCase(),null,!0,!0)});function ps(e,t,n,r){var o=tt.hasOwnProperty(t)?tt[t]:null,i=o!==null?o.type===0:r?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");i||(Zh(t,n,o,r)&&(n=null),r||o===null?qh(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 lr=zl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_o=60103,Xn=60106,hn=60107,hs=60108,Ro=60114,vs=60109,ms=60110,Ul=60112,Io=60113,ul=60120,Vl=60115,gs=60116,ys=60121,ws=60128,Td=60129,Ss=60130,tu=60131;if(typeof Symbol=="function"&&Symbol.for){var qe=Symbol.for;_o=qe("react.element"),Xn=qe("react.portal"),hn=qe("react.fragment"),hs=qe("react.strict_mode"),Ro=qe("react.profiler"),vs=qe("react.provider"),ms=qe("react.context"),Ul=qe("react.forward_ref"),Io=qe("react.suspense"),ul=qe("react.suspense_list"),Vl=qe("react.memo"),gs=qe("react.lazy"),ys=qe("react.block"),qe("react.scope"),ws=qe("react.opaque.id"),Td=qe("react.debug_trace_mode"),Ss=qe("react.offscreen"),tu=qe("react.legacy_hidden")}var Df=typeof Symbol=="function"&&Symbol.iterator;function oo(e){return e===null||typeof e!="object"?null:(e=Df&&e[Df]||e["@@iterator"],typeof e=="function"?e:null)}var pa;function Co(e){if(pa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);pa=t&&t[1]||""}return`
`+pa+e}var ha=!1;function Pi(e,t){if(!e||ha)return"";ha=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
`),i=r.stack.split(`
`),l=o.length-1,a=i.length-1;1<=l&&0<=a&&o[l]!==i[a];)a--;for(;1<=l&&0<=a;l--,a--)if(o[l]!==i[a]){if(l!==1||a!==1)do if(l--,a--,0>a||o[l]!==i[a])return`
`+o[l].replace(" at new "," at ");while(1<=l&&0<=a);break}}}finally{ha=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Co(e):""}function Jh(e){switch(e.tag){case 5:return Co(e.type);case 16:return Co("Lazy");case 13:return Co("Suspense");case 19:return Co("SuspenseList");case 0:case 2:case 15:return e=Pi(e.type,!1),e;case 11:return e=Pi(e.type.render,!1),e;case 22:return e=Pi(e.type._render,!1),e;case 1:return e=Pi(e.type,!0),e;default:return""}}function Pr(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 hn:return"Fragment";case Xn:return"Portal";case Ro:return"Profiler";case hs:return"StrictMode";case Io:return"Suspense";case ul:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ms:return(e.displayName||"Context")+".Consumer";case vs:return(e._context.displayName||"Context")+".Provider";case Ul:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Vl:return Pr(e.type);case ys:return Pr(e._render);case gs:t=e._payload,e=e._init;try{return Pr(e(t))}catch{}}return null}function Pn(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function xd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ev(e){var t=xd(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(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Di(e){e._valueTracker||(e._valueTracker=ev(e))}function Pd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=xd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function sl(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 nu(e,t){var n=t.checked;return Ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function bf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Pn(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 Dd(e,t){t=t.checked,t!=null&&ps(e,"checked",t,!1)}function ru(e,t){Dd(e,t);var n=Pn(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")?ou(e,t.type,n):t.hasOwnProperty("defaultValue")&&ou(e,t.type,Pn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Nf(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 ou(e,t,n){(t!=="number"||sl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function tv(e){var t="";return zl.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function iu(e,t){return e=Ne({children:void 0},t),(t=tv(t.children))&&(e.children=t),e}function Dr(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=""+Pn(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 lu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(I(91));return Ne({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Rf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(I(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(I(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Pn(n)}}function bd(e,t){var n=Pn(t.value),r=Pn(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 If(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var au={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Nd(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 uu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Nd(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var bi,Rd=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!==au.svg||"innerHTML"in e)e.innerHTML=t;else{for(bi=bi||document.createElement("div"),bi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=bi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ei(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ao={animationIterationCount:!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},nv=["Webkit","ms","Moz","O"];Object.keys(Ao).forEach(function(e){nv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ao[t]=Ao[e]})});function Id(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ao.hasOwnProperty(e)&&Ao[e]?(""+t).trim():t+"px"}function Ad(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Id(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var rv=Ne({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 su(e,t){if(t){if(rv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function fu(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}}function Es(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var cu=null,br=null,Nr=null;function Af(e){if(e=gi(e)){if(typeof cu!="function")throw Error(I(280));var t=e.stateNode;t&&(t=Xl(t),cu(e.stateNode,e.type,t))}}function Md(e){br?Nr?Nr.push(e):Nr=[e]:br=e}function Fd(){if(br){var e=br,t=Nr;if(Nr=br=null,Af(e),t)for(e=0;e<t.length;e++)Af(t[e])}}function _s(e,t){return e(t)}function Ld(e,t,n,r,o){return e(t,n,r,o)}function Cs(){}var jd=_s,Kn=!1,va=!1;function Os(){(br!==null||Nr!==null)&&(Cs(),Fd())}function ov(e,t,n){if(va)return e(t,n);va=!0;try{return jd(e,t,n)}finally{va=!1,Os()}}function ti(e,t){var n=e.stateNode;if(n===null)return null;var r=Xl(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(I(231,t,typeof n));return n}var du=!1;if(ln)try{var io={};Object.defineProperty(io,"passive",{get:function(){du=!0}}),window.addEventListener("test",io,io),window.removeEventListener("test",io,io)}catch{du=!1}function iv(e,t,n,r,o,i,l,a,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(p){this.onError(p)}}var Mo=!1,fl=null,cl=!1,pu=null,lv={onError:function(e){Mo=!0,fl=e}};function av(e,t,n,r,o,i,l,a,u){Mo=!1,fl=null,iv.apply(lv,arguments)}function uv(e,t,n,r,o,i,l,a,u){if(av.apply(this,arguments),Mo){if(Mo){var s=fl;Mo=!1,fl=null}else throw Error(I(198));cl||(cl=!0,pu=s)}}function ar(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function zd(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 Mf(e){if(ar(e)!==e)throw Error(I(188))}function sv(e){var t=e.alternate;if(!t){if(t=ar(e),t===null)throw Error(I(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 Mf(o),e;if(i===r)return Mf(o),t;i=i.sibling}throw Error(I(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,a=o.child;a;){if(a===n){l=!0,n=o,r=i;break}if(a===r){l=!0,r=o,n=i;break}a=a.sibling}if(!l){for(a=i.child;a;){if(a===n){l=!0,n=i,r=o;break}if(a===r){l=!0,r=i,n=o;break}a=a.sibling}if(!l)throw Error(I(189))}}if(n.alternate!==r)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?e:t}function Ud(e){if(e=sv(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Ff(e,t){for(var n=e.alternate;t!==null;){if(t===e||t===n)return!0;t=t.return}return!1}var Vd,ks,$d,Hd,hu=!1,Ht=[],Sn=null,En=null,_n=null,ni=new Map,ri=new Map,lo=[],Lf="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 vu(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n|16,nativeEvent:o,targetContainers:[r]}}function jf(e,t){switch(e){case"focusin":case"focusout":Sn=null;break;case"dragenter":case"dragleave":En=null;break;case"mouseover":case"mouseout":_n=null;break;case"pointerover":case"pointerout":ni.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ri.delete(t.pointerId)}}function ao(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e=vu(t,n,r,o,i),t!==null&&(t=gi(t),t!==null&&ks(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function fv(e,t,n,r,o){switch(t){case"focusin":return Sn=ao(Sn,e,t,n,r,o),!0;case"dragenter":return En=ao(En,e,t,n,r,o),!0;case"mouseover":return _n=ao(_n,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ni.set(i,ao(ni.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ri.set(i,ao(ri.get(i)||null,e,t,n,r,o)),!0}return!1}function cv(e){var t=Gn(e.target);if(t!==null){var n=ar(t);if(n!==null){if(t=n.tag,t===13){if(t=zd(n),t!==null){e.blockedOn=t,Hd(e.lanePriority,function(){Qe.unstable_runWithPriority(e.priority,function(){$d(n)})});return}}else if(t===3&&n.stateNode.hydrate){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ds(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null)return t=gi(n),t!==null&&ks(t),e.blockedOn=n,!1;t.shift()}return!0}function zf(e,t,n){Xi(e)&&n.delete(t)}function dv(){for(hu=!1;0<Ht.length;){var e=Ht[0];if(e.blockedOn!==null){e=gi(e.blockedOn),e!==null&&Vd(e);break}for(var t=e.targetContainers;0<t.length;){var n=Ds(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null){e.blockedOn=n;break}t.shift()}e.blockedOn===null&&Ht.shift()}Sn!==null&&Xi(Sn)&&(Sn=null),En!==null&&Xi(En)&&(En=null),_n!==null&&Xi(_n)&&(_n=null),ni.forEach(zf),ri.forEach(zf)}function uo(e,t){e.blockedOn===t&&(e.blockedOn=null,hu||(hu=!0,Qe.unstable_scheduleCallback(Qe.unstable_NormalPriority,dv)))}function Bd(e){function t(o){return uo(o,e)}if(0<Ht.length){uo(Ht[0],e);for(var n=1;n<Ht.length;n++){var r=Ht[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Sn!==null&&uo(Sn,e),En!==null&&uo(En,e),_n!==null&&uo(_n,e),ni.forEach(t),ri.forEach(t),n=0;n<lo.length;n++)r=lo[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<lo.length&&(n=lo[0],n.blockedOn===null);)cv(n),n.blockedOn===null&&lo.shift()}function Ni(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Er={animationend:Ni("Animation","AnimationEnd"),animationiteration:Ni("Animation","AnimationIteration"),animationstart:Ni("Animation","AnimationStart"),transitionend:Ni("Transition","TransitionEnd")},ma={},Wd={};ln&&(Wd=document.createElement("div").style,"AnimationEvent"in window||(delete Er.animationend.animation,delete Er.animationiteration.animation,delete Er.animationstart.animation),"TransitionEvent"in window||delete Er.transitionend.transition);function $l(e){if(ma[e])return ma[e];if(!Er[e])return e;var t=Er[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Wd)return ma[e]=t[n];return e}var Yd=$l("animationend"),Xd=$l("animationiteration"),Kd=$l("animationstart"),Gd=$l("transitionend"),qd=new Map,Ts=new Map,pv=["abort","abort",Yd,"animationEnd",Xd,"animationIteration",Kd,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Gd,"transitionEnd","waiting","waiting"];function xs(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Ts.set(r,t),qd.set(r,o),ir(o,[r])}}var hv=Qe.unstable_now;hv();var ke=8;function yr(e){if((1&e)!==0)return ke=15,1;if((2&e)!==0)return ke=14,2;if((4&e)!==0)return ke=13,4;var t=24&e;return t!==0?(ke=12,t):(e&32)!==0?(ke=11,32):(t=192&e,t!==0?(ke=10,t):(e&256)!==0?(ke=9,256):(t=3584&e,t!==0?(ke=8,t):(e&4096)!==0?(ke=7,4096):(t=4186112&e,t!==0?(ke=6,t):(t=62914560&e,t!==0?(ke=5,t):e&67108864?(ke=4,67108864):(e&134217728)!==0?(ke=3,134217728):(t=805306368&e,t!==0?(ke=2,t):(1073741824&e)!==0?(ke=1,1073741824):(ke=8,e))))))}function vv(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function mv(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(I(358,e))}}function oi(e,t){var n=e.pendingLanes;if(n===0)return ke=0;var r=0,o=0,i=e.expiredLanes,l=e.suspendedLanes,a=e.pingedLanes;if(i!==0)r=i,o=ke=15;else if(i=n&134217727,i!==0){var u=i&~l;u!==0?(r=yr(u),o=ke):(a&=i,a!==0&&(r=yr(a),o=ke))}else i=n&~l,i!==0?(r=yr(i),o=ke):a!==0&&(r=yr(a),o=ke);if(r===0)return 0;if(r=31-Dn(r),r=n&((0>r?0:1<<r)<<1)-1,t!==0&&t!==r&&(t&l)===0){if(yr(t),o<=ke)return t;ke=o}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Dn(t),o=1<<n,r|=e[n],t&=~o;return r}function Qd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function dl(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=wr(24&~t),e===0?dl(10,t):e;case 10:return e=wr(192&~t),e===0?dl(8,t):e;case 8:return e=wr(3584&~t),e===0&&(e=wr(4186112&~t),e===0&&(e=512)),e;case 2:return t=wr(805306368&~t),t===0&&(t=268435456),t}throw Error(I(358,e))}function wr(e){return e&-e}function ga(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Hl(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-Dn(t),e[t]=n}var Dn=Math.clz32?Math.clz32:wv,gv=Math.log,yv=Math.LN2;function wv(e){return e===0?32:31-(gv(e)/yv|0)|0}var Sv=Qe.unstable_UserBlockingPriority,Ev=Qe.unstable_runWithPriority,Ki=!0;function _v(e,t,n,r){Kn||Cs();var o=Ps,i=Kn;Kn=!0;try{Ld(o,e,t,n,r)}finally{(Kn=i)||Os()}}function Cv(e,t,n,r){Ev(Sv,Ps.bind(null,e,t,n,r))}function Ps(e,t,n,r){if(Ki){var o;if((o=(t&4)===0)&&0<Ht.length&&-1<Lf.indexOf(e))e=vu(null,e,t,n,r),Ht.push(e);else{var i=Ds(e,t,n,r);if(i===null)o&&jf(e,r);else{if(o){if(-1<Lf.indexOf(e)){e=vu(i,e,t,n,r),Ht.push(e);return}if(fv(i,e,t,n,r))return;jf(e,r)}fp(e,t,r,null,n)}}}}function Ds(e,t,n,r){var o=Es(r);if(o=Gn(o),o!==null){var i=ar(o);if(i===null)o=null;else{var l=i.tag;if(l===13){if(o=zd(i),o!==null)return o;o=null}else if(l===3){if(i.stateNode.hydrate)return i.tag===3?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return fp(e,t,r,o,n),null}var mn=null,bs=null,Gi=null;function Zd(){if(Gi)return Gi;var e,t=bs,n=t.length,r,o="value"in mn?mn.value:mn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===o[i-r];r++);return Gi=o.slice(e,1<r?1-r:void 0)}function qi(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 Ri(){return!0}function Uf(){return!1}function Ct(e){function t(n,r,o,i,l){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ri:Uf,this.isPropagationStopped=Uf,this}return Ne(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=Ri)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ri)},persist:function(){},isPersistent:Ri}),t}var Yr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ns=Ct(Yr),mi=Ne({},Yr,{view:0,detail:0}),Ov=Ct(mi),ya,wa,so,Bl=Ne({},mi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rs,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!==so&&(so&&e.type==="mousemove"?(ya=e.screenX-so.screenX,wa=e.screenY-so.screenY):wa=ya=0,so=e),ya)},movementY:function(e){return"movementY"in e?e.movementY:wa}}),Vf=Ct(Bl),kv=Ne({},Bl,{dataTransfer:0}),Tv=Ct(kv),xv=Ne({},mi,{relatedTarget:0}),Sa=Ct(xv),Pv=Ne({},Yr,{animationName:0,elapsedTime:0,pseudoElement:0}),Dv=Ct(Pv),bv=Ne({},Yr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Nv=Ct(bv),Rv=Ne({},Yr,{data:0}),$f=Ct(Rv),Iv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Av={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Mv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Mv[e])?!!t[e]:!1}function Rs(){return Fv}var Lv=Ne({},mi,{key:function(e){if(e.key){var t=Iv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Av[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rs,charCode:function(e){return e.type==="keypress"?qi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),jv=Ct(Lv),zv=Ne({},Bl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Hf=Ct(zv),Uv=Ne({},mi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rs}),Vv=Ct(Uv),$v=Ne({},Yr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hv=Ct($v),Bv=Ne({},Bl,{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}),Wv=Ct(Bv),Yv=[9,13,27,32],Is=ln&&"CompositionEvent"in window,Fo=null;ln&&"documentMode"in document&&(Fo=document.documentMode);var Xv=ln&&"TextEvent"in window&&!Fo,Jd=ln&&(!Is||Fo&&8<Fo&&11>=Fo),Bf=String.fromCharCode(32),Wf=!1;function ep(e,t){switch(e){case"keyup":return Yv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _r=!1;function Kv(e,t){switch(e){case"compositionend":return tp(t);case"keypress":return t.which!==32?null:(Wf=!0,Bf);case"textInput":return e=t.data,e===Bf&&Wf?null:e;default:return null}}function Gv(e,t){if(_r)return e==="compositionend"||!Is&&ep(e,t)?(e=Zd(),Gi=bs=mn=null,_r=!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 Jd&&t.locale!=="ko"?null:t.data;default:return null}}var qv={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 Yf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!qv[e.type]:t==="textarea"}function np(e,t,n,r){Md(r),t=pl(t,"onChange"),0<t.length&&(n=new Ns("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Lo=null,ii=null;function Qv(e){ap(e,0)}function Wl(e){var t=Or(e);if(Pd(t))return e}function Zv(e,t){if(e==="change")return t}var rp=!1;if(ln){var Ea;if(ln){var _a="oninput"in document;if(!_a){var Xf=document.createElement("div");Xf.setAttribute("oninput","return;"),_a=typeof Xf.oninput=="function"}Ea=_a}else Ea=!1;rp=Ea&&(!document.documentMode||9<document.documentMode)}function Kf(){Lo&&(Lo.detachEvent("onpropertychange",op),ii=Lo=null)}function op(e){if(e.propertyName==="value"&&Wl(ii)){var t=[];if(np(t,ii,e,Es(e)),e=Qv,Kn)e(t);else{Kn=!0;try{_s(e,t)}finally{Kn=!1,Os()}}}}function Jv(e,t,n){e==="focusin"?(Kf(),Lo=t,ii=n,Lo.attachEvent("onpropertychange",op)):e==="focusout"&&Kf()}function em(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Wl(ii)}function tm(e,t){if(e==="click")return Wl(t)}function nm(e,t){if(e==="input"||e==="change")return Wl(t)}function rm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Tt=typeof Object.is=="function"?Object.is:rm,om=Object.prototype.hasOwnProperty;function li(e,t){if(Tt(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++)if(!om.call(t,n[r])||!Tt(e[n[r]],t[n[r]]))return!1;return!0}function Gf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qf(e,t){var n=Gf(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=Gf(n)}}function ip(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ip(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Qf(){for(var e=window,t=sl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=sl(e.document)}return t}function mu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var im=ln&&"documentMode"in document&&11>=document.documentMode,Cr=null,gu=null,jo=null,yu=!1;function Zf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;yu||Cr==null||Cr!==sl(r)||(r=Cr,"selectionStart"in r&&mu(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}),jo&&li(jo,r)||(jo=r,r=pl(gu,"onSelect"),0<r.length&&(t=new Ns("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Cr)))}xs("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);xs("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);xs(pv,2);for(var Jf="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ca=0;Ca<Jf.length;Ca++)Ts.set(Jf[Ca],0);jr("onMouseEnter",["mouseout","mouseover"]);jr("onMouseLeave",["mouseout","mouseover"]);jr("onPointerEnter",["pointerout","pointerover"]);jr("onPointerLeave",["pointerout","pointerover"]);ir("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ir("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ir("onBeforeInput",["compositionend","keypress","textInput","paste"]);ir("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ir("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ir("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Oo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),lp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Oo));function ec(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,uv(r,t,void 0,e),e.currentTarget=null}function ap(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 l=r.length-1;0<=l;l--){var a=r[l],u=a.instance,s=a.currentTarget;if(a=a.listener,u!==i&&o.isPropagationStopped())break e;ec(o,a,s),i=u}else for(l=0;l<r.length;l++){if(a=r[l],u=a.instance,s=a.currentTarget,a=a.listener,u!==i&&o.isPropagationStopped())break e;ec(o,a,s),i=u}}}if(cl)throw e=pu,cl=!1,pu=null,e}function Te(e,t){var n=dp(t),r=e+"__bubble";n.has(r)||(sp(t,e,2,!1),n.add(r))}var tc="_reactListening"+Math.random().toString(36).slice(2);function up(e){e[tc]||(e[tc]=!0,kd.forEach(function(t){lp.has(t)||nc(t,!1,e,null),nc(t,!0,e,null)}))}function nc(e,t,n,r){var o=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,i=n;if(e==="selectionchange"&&n.nodeType!==9&&(i=n.ownerDocument),r!==null&&!t&&lp.has(e)){if(e!=="scroll")return;o|=2,i=r}var l=dp(i),a=e+"__"+(t?"capture":"bubble");l.has(a)||(t&&(o|=4),sp(i,e,o,t),l.add(a))}function sp(e,t,n,r){var o=Ts.get(t);switch(o===void 0?2:o){case 0:o=_v;break;case 1:o=Cv;break;default:o=Ps}n=o.bind(null,t,n,e),o=void 0,!du||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 fp(e,t,n,r,o){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(l===4)for(l=r.return;l!==null;){var u=l.tag;if((u===3||u===4)&&(u=l.stateNode.containerInfo,u===o||u.nodeType===8&&u.parentNode===o))return;l=l.return}for(;a!==null;){if(l=Gn(a),l===null)return;if(u=l.tag,u===5||u===6){r=i=l;continue e}a=a.parentNode}}r=r.return}ov(function(){var s=i,p=Es(n),y=[];e:{var g=qd.get(e);if(g!==void 0){var O=Ns,k=e;switch(e){case"keypress":if(qi(n)===0)break e;case"keydown":case"keyup":O=jv;break;case"focusin":k="focus",O=Sa;break;case"focusout":k="blur",O=Sa;break;case"beforeblur":case"afterblur":O=Sa;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":O=Vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=Tv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=Vv;break;case Yd:case Xd:case Kd:O=Dv;break;case Gd:O=Hv;break;case"scroll":O=Ov;break;case"wheel":O=Wv;break;case"copy":case"cut":case"paste":O=Nv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=Hf}var S=(t&4)!==0,c=!S&&e==="scroll",f=S?g!==null?g+"Capture":null:g;S=[];for(var d=s,h;d!==null;){h=d;var v=h.stateNode;if(h.tag===5&&v!==null&&(h=v,f!==null&&(v=ti(d,f),v!=null&&S.push(ai(d,v,h)))),c)break;d=d.return}0<S.length&&(g=new O(g,k,null,n,p),y.push({event:g,listeners:S}))}}if((t&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",O=e==="mouseout"||e==="pointerout",g&&(t&16)===0&&(k=n.relatedTarget||n.fromElement)&&(Gn(k)||k[Xr]))break e;if((O||g)&&(g=p.window===p?p:(g=p.ownerDocument)?g.defaultView||g.parentWindow:window,O?(k=n.relatedTarget||n.toElement,O=s,k=k?Gn(k):null,k!==null&&(c=ar(k),k!==c||k.tag!==5&&k.tag!==6)&&(k=null)):(O=null,k=s),O!==k)){if(S=Vf,v="onMouseLeave",f="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(S=Hf,v="onPointerLeave",f="onPointerEnter",d="pointer"),c=O==null?g:Or(O),h=k==null?g:Or(k),g=new S(v,d+"leave",O,n,p),g.target=c,g.relatedTarget=h,v=null,Gn(p)===s&&(S=new S(f,d+"enter",k,n,p),S.target=h,S.relatedTarget=c,v=S),c=v,O&&k)t:{for(S=O,f=k,d=0,h=S;h;h=cr(h))d++;for(h=0,v=f;v;v=cr(v))h++;for(;0<d-h;)S=cr(S),d--;for(;0<h-d;)f=cr(f),h--;for(;d--;){if(S===f||f!==null&&S===f.alternate)break t;S=cr(S),f=cr(f)}S=null}else S=null;O!==null&&rc(y,g,O,S,!1),k!==null&&c!==null&&rc(y,c,k,S,!0)}}e:{if(g=s?Or(s):window,O=g.nodeName&&g.nodeName.toLowerCase(),O==="select"||O==="input"&&g.type==="file")var _=Zv;else if(Yf(g))if(rp)_=nm;else{_=em;var E=Jv}else(O=g.nodeName)&&O.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(_=tm);if(_&&(_=_(e,s))){np(y,_,n,p);break e}E&&E(e,g,s),e==="focusout"&&(E=g._wrapperState)&&E.controlled&&g.type==="number"&&ou(g,"number",g.value)}switch(E=s?Or(s):window,e){case"focusin":(Yf(E)||E.contentEditable==="true")&&(Cr=E,gu=s,jo=null);break;case"focusout":jo=gu=Cr=null;break;case"mousedown":yu=!0;break;case"contextmenu":case"mouseup":case"dragend":yu=!1,Zf(y,n,p);break;case"selectionchange":if(im)break;case"keydown":case"keyup":Zf(y,n,p)}var P;if(Is)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else _r?ep(e,n)&&(b="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(b="onCompositionStart");b&&(Jd&&n.locale!=="ko"&&(_r||b!=="onCompositionStart"?b==="onCompositionEnd"&&_r&&(P=Zd()):(mn=p,bs="value"in mn?mn.value:mn.textContent,_r=!0)),E=pl(s,b),0<E.length&&(b=new $f(b,e,null,n,p),y.push({event:b,listeners:E}),P?b.data=P:(P=tp(n),P!==null&&(b.data=P)))),(P=Xv?Kv(e,n):Gv(e,n))&&(s=pl(s,"onBeforeInput"),0<s.length&&(p=new $f("onBeforeInput","beforeinput",null,n,p),y.push({event:p,listeners:s}),p.data=P))}ap(y,t)})}function ai(e,t,n){return{instance:e,listener:t,currentTarget:n}}function pl(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=ti(e,n),i!=null&&r.unshift(ai(e,i,o)),i=ti(e,t),i!=null&&r.push(ai(e,i,o))),e=e.return}return r}function cr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function rc(e,t,n,r,o){for(var i=t._reactName,l=[];n!==null&&n!==r;){var a=n,u=a.alternate,s=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&s!==null&&(a=s,o?(u=ti(n,i),u!=null&&l.unshift(ai(n,u,a))):o||(u=ti(n,i),u!=null&&l.push(ai(n,u,a)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}function hl(){}var Oa=null,ka=null;function cp(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function wu(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var oc=typeof setTimeout=="function"?setTimeout:void 0,lm=typeof clearTimeout=="function"?clearTimeout:void 0;function As(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Rr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function ic(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 Ta=0;function am(e){return{$$typeof:ws,toString:e,valueOf:e}}var Yl=Math.random().toString(36).slice(2),gn="__reactFiber$"+Yl,vl="__reactProps$"+Yl,Xr="__reactContainer$"+Yl,lc="__reactEvents$"+Yl;function Gn(e){var t=e[gn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Xr]||n[gn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ic(e);e!==null;){if(n=e[gn])return n;e=ic(e)}return t}e=n,n=e.parentNode}return null}function gi(e){return e=e[gn]||e[Xr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Or(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function Xl(e){return e[vl]||null}function dp(e){var t=e[lc];return t===void 0&&(t=e[lc]=new Set),t}var Su=[],kr=-1;function In(e){return{current:e}}function xe(e){0>kr||(e.current=Su[kr],Su[kr]=null,kr--)}function Ue(e,t){kr++,Su[kr]=e.current,e.current=t}var bn={},ut=In(bn),yt=In(!1),nr=bn;function zr(e,t){var n=e.type.contextTypes;if(!n)return bn;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 wt(e){return e=e.childContextTypes,e!=null}function ml(){xe(yt),xe(ut)}function ac(e,t,n){if(ut.current!==bn)throw Error(I(168));Ue(ut,t),Ue(yt,n)}function pp(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in e))throw Error(I(108,Pr(t)||"Unknown",o));return Ne({},n,r)}function Qi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bn,nr=ut.current,Ue(ut,e),Ue(yt,yt.current),!0}function uc(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=pp(e,t,nr),r.__reactInternalMemoizedMergedChildContext=e,xe(yt),xe(ut),Ue(ut,e)):xe(yt),Ue(yt,n)}var Ms=null,Jn=null,um=Qe.unstable_runWithPriority,Fs=Qe.unstable_scheduleCallback,Eu=Qe.unstable_cancelCallback,sm=Qe.unstable_shouldYield,sc=Qe.unstable_requestPaint,_u=Qe.unstable_now,fm=Qe.unstable_getCurrentPriorityLevel,Kl=Qe.unstable_ImmediatePriority,hp=Qe.unstable_UserBlockingPriority,vp=Qe.unstable_NormalPriority,mp=Qe.unstable_LowPriority,gp=Qe.unstable_IdlePriority,xa={},cm=sc!==void 0?sc:function(){},Jt=null,Zi=null,Pa=!1,fc=_u(),lt=1e4>fc?_u:function(){return _u()-fc};function Ur(){switch(fm()){case Kl:return 99;case hp:return 98;case vp:return 97;case mp:return 96;case gp:return 95;default:throw Error(I(332))}}function yp(e){switch(e){case 99:return Kl;case 98:return hp;case 97:return vp;case 96:return mp;case 95:return gp;default:throw Error(I(332))}}function rr(e,t){return e=yp(e),um(e,t)}function ui(e,t,n){return e=yp(e),Fs(e,t,n)}function qt(){if(Zi!==null){var e=Zi;Zi=null,Eu(e)}wp()}function wp(){if(!Pa&&Jt!==null){Pa=!0;var e=0;try{var t=Jt;rr(99,function(){for(;e<t.length;e++){var n=t[e];do n=n(!0);while(n!==null)}}),Jt=null}catch(n){throw Jt!==null&&(Jt=Jt.slice(e+1)),Fs(Kl,qt),n}finally{Pa=!1}}}var dm=lr.ReactCurrentBatchConfig;function Lt(e,t){if(e&&e.defaultProps){t=Ne({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var gl=In(null),yl=null,Tr=null,wl=null;function Ls(){wl=Tr=yl=null}function js(e){var t=gl.current;xe(gl),e.type._context._currentValue=t}function Sp(e,t){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)===t){if(n===null||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,n!==null&&(n.childLanes|=t);e=e.return}}function Ir(e,t){yl=e,wl=Tr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(zt=!0),e.firstContext=null)}function Dt(e,t){if(wl!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(wl=e,t=1073741823),t={context:e,observedBits:t,next:null},Tr===null){if(yl===null)throw Error(I(308));Tr=t,yl.dependencies={lanes:0,firstContext:t,responders:null}}else Tr=Tr.next=t;return e._currentValue}var dn=!1;function zs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Ep(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 Cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function On(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function cc(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 l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,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 si(e,t,n,r){var o=e.updateQueue;dn=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var u=a,s=u.next;u.next=null,l===null?i=s:l.next=s,l=u;var p=e.alternate;if(p!==null){p=p.updateQueue;var y=p.lastBaseUpdate;y!==l&&(y===null?p.firstBaseUpdate=s:y.next=s,p.lastBaseUpdate=u)}}if(i!==null){y=o.baseState,l=0,p=s=u=null;do{a=i.lane;var g=i.eventTime;if((r&a)===a){p!==null&&(p=p.next={eventTime:g,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var O=e,k=i;switch(a=t,g=n,k.tag){case 1:if(O=k.payload,typeof O=="function"){y=O.call(g,y,a);break e}y=O;break e;case 3:O.flags=O.flags&-4097|64;case 0:if(O=k.payload,a=typeof O=="function"?O.call(g,y,a):O,a==null)break e;y=Ne({},y,a);break e;case 2:dn=!0}}i.callback!==null&&(e.flags|=32,a=o.effects,a===null?o.effects=[i]:a.push(i))}else g={eventTime:g,lane:a,tag:i.tag,payload:i.payload,callback:i.callback,next:null},p===null?(s=p=g,u=y):p=p.next=g,l|=a;if(i=i.next,i===null){if(a=o.shared.pending,a===null)break;i=a.next,a.next=null,o.lastBaseUpdate=a,o.shared.pending=null}}while(1);p===null&&(u=y),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=p,wi|=l,e.lanes=l,e.memoizedState=y}}function dc(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(I(191,o));o.call(r)}}}var _p=new zl.Component().refs;function Sl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ne({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Gl={isMounted:function(e){return(e=e._reactInternals)?ar(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_t(),o=kn(e),i=Cn(r,o);i.payload=t,n!=null&&(i.callback=n),On(e,i),Tn(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_t(),o=kn(e),i=Cn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),On(e,i),Tn(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_t(),r=kn(e),o=Cn(n,r);o.tag=2,t!=null&&(o.callback=t),On(e,o),Tn(e,r,n)}};function pc(e,t,n,r,o,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,l):t.prototype&&t.prototype.isPureReactComponent?!li(n,r)||!li(o,i):!0}function Cp(e,t,n){var r=!1,o=bn,i=t.contextType;return typeof i=="object"&&i!==null?i=Dt(i):(o=wt(t)?nr:ut.current,r=t.contextTypes,i=(r=r!=null)?zr(e,o):bn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Gl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function hc(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&&Gl.enqueueReplaceState(t,t.state,null)}function Cu(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=_p,zs(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Dt(i):(i=wt(t)?nr:ut.current,o.context=zr(e,i)),si(e,n,o,r),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Sl(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&&Gl.enqueueReplaceState(o,o.state,null),si(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4)}var Ii=Array.isArray;function fo(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(I(309));var r=n.stateNode}if(!r)throw Error(I(147,e));var o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(i){var l=r.refs;l===_p&&(l=r.refs={}),i===null?delete l[o]:l[o]=i},t._stringRef=o,t)}if(typeof e!="string")throw Error(I(284));if(!n._owner)throw Error(I(290,e))}return e}function Ai(e,t){if(e.type!=="textarea")throw Error(I(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Op(e){function t(c,f){if(e){var d=c.lastEffect;d!==null?(d.nextEffect=f,c.lastEffect=f):c.firstEffect=c.lastEffect=f,f.nextEffect=null,f.flags=8}}function n(c,f){if(!e)return null;for(;f!==null;)t(c,f),f=f.sibling;return null}function r(c,f){for(c=new Map;f!==null;)f.key!==null?c.set(f.key,f):c.set(f.index,f),f=f.sibling;return c}function o(c,f){return c=Rn(c,f),c.index=0,c.sibling=null,c}function i(c,f,d){return c.index=d,e?(d=c.alternate,d!==null?(d=d.index,d<f?(c.flags=2,f):d):(c.flags=2,f)):f}function l(c){return e&&c.alternate===null&&(c.flags=2),c}function a(c,f,d,h){return f===null||f.tag!==6?(f=Ia(d,c.mode,h),f.return=c,f):(f=o(f,d),f.return=c,f)}function u(c,f,d,h){return f!==null&&f.elementType===d.type?(h=o(f,d.props),h.ref=fo(c,f,d),h.return=c,h):(h=nl(d.type,d.key,d.props,null,c.mode,h),h.ref=fo(c,f,d),h.return=c,h)}function s(c,f,d,h){return f===null||f.tag!==4||f.stateNode.containerInfo!==d.containerInfo||f.stateNode.implementation!==d.implementation?(f=Aa(d,c.mode,h),f.return=c,f):(f=o(f,d.children||[]),f.return=c,f)}function p(c,f,d,h,v){return f===null||f.tag!==7?(f=Lr(d,c.mode,h,v),f.return=c,f):(f=o(f,d),f.return=c,f)}function y(c,f,d){if(typeof f=="string"||typeof f=="number")return f=Ia(""+f,c.mode,d),f.return=c,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case _o:return d=nl(f.type,f.key,f.props,null,c.mode,d),d.ref=fo(c,null,f),d.return=c,d;case Xn:return f=Aa(f,c.mode,d),f.return=c,f}if(Ii(f)||oo(f))return f=Lr(f,c.mode,d,null),f.return=c,f;Ai(c,f)}return null}function g(c,f,d,h){var v=f!==null?f.key:null;if(typeof d=="string"||typeof d=="number")return v!==null?null:a(c,f,""+d,h);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case _o:return d.key===v?d.type===hn?p(c,f,d.props.children,h,v):u(c,f,d,h):null;case Xn:return d.key===v?s(c,f,d,h):null}if(Ii(d)||oo(d))return v!==null?null:p(c,f,d,h,null);Ai(c,d)}return null}function O(c,f,d,h,v){if(typeof h=="string"||typeof h=="number")return c=c.get(d)||null,a(f,c,""+h,v);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case _o:return c=c.get(h.key===null?d:h.key)||null,h.type===hn?p(f,c,h.props.children,v,h.key):u(f,c,h,v);case Xn:return c=c.get(h.key===null?d:h.key)||null,s(f,c,h,v)}if(Ii(h)||oo(h))return c=c.get(d)||null,p(f,c,h,v,null);Ai(f,h)}return null}function k(c,f,d,h){for(var v=null,_=null,E=f,P=f=0,b=null;E!==null&&P<d.length;P++){E.index>P?(b=E,E=null):b=E.sibling;var D=g(c,E,d[P],h);if(D===null){E===null&&(E=b);break}e&&E&&D.alternate===null&&t(c,E),f=i(D,f,P),_===null?v=D:_.sibling=D,_=D,E=b}if(P===d.length)return n(c,E),v;if(E===null){for(;P<d.length;P++)E=y(c,d[P],h),E!==null&&(f=i(E,f,P),_===null?v=E:_.sibling=E,_=E);return v}for(E=r(c,E);P<d.length;P++)b=O(E,c,P,d[P],h),b!==null&&(e&&b.alternate!==null&&E.delete(b.key===null?P:b.key),f=i(b,f,P),_===null?v=b:_.sibling=b,_=b);return e&&E.forEach(function(j){return t(c,j)}),v}function S(c,f,d,h){var v=oo(d);if(typeof v!="function")throw Error(I(150));if(d=v.call(d),d==null)throw Error(I(151));for(var _=v=null,E=f,P=f=0,b=null,D=d.next();E!==null&&!D.done;P++,D=d.next()){E.index>P?(b=E,E=null):b=E.sibling;var j=g(c,E,D.value,h);if(j===null){E===null&&(E=b);break}e&&E&&j.alternate===null&&t(c,E),f=i(j,f,P),_===null?v=j:_.sibling=j,_=j,E=b}if(D.done)return n(c,E),v;if(E===null){for(;!D.done;P++,D=d.next())D=y(c,D.value,h),D!==null&&(f=i(D,f,P),_===null?v=D:_.sibling=D,_=D);return v}for(E=r(c,E);!D.done;P++,D=d.next())D=O(E,c,P,D.value,h),D!==null&&(e&&D.alternate!==null&&E.delete(D.key===null?P:D.key),f=i(D,f,P),_===null?v=D:_.sibling=D,_=D);return e&&E.forEach(function(N){return t(c,N)}),v}return function(c,f,d,h){var v=typeof d=="object"&&d!==null&&d.type===hn&&d.key===null;v&&(d=d.props.children);var _=typeof d=="object"&&d!==null;if(_)switch(d.$$typeof){case _o:e:{for(_=d.key,v=f;v!==null;){if(v.key===_){switch(v.tag){case 7:if(d.type===hn){n(c,v.sibling),f=o(v,d.props.children),f.return=c,c=f;break e}break;default:if(v.elementType===d.type){n(c,v.sibling),f=o(v,d.props),f.ref=fo(c,v,d),f.return=c,c=f;break e}}n(c,v);break}else t(c,v);v=v.sibling}d.type===hn?(f=Lr(d.props.children,c.mode,h,d.key),f.return=c,c=f):(h=nl(d.type,d.key,d.props,null,c.mode,h),h.ref=fo(c,f,d),h.return=c,c=h)}return l(c);case Xn:e:{for(v=d.key;f!==null;){if(f.key===v)if(f.tag===4&&f.stateNode.containerInfo===d.containerInfo&&f.stateNode.implementation===d.implementation){n(c,f.sibling),f=o(f,d.children||[]),f.return=c,c=f;break e}else{n(c,f);break}else t(c,f);f=f.sibling}f=Aa(d,c.mode,h),f.return=c,c=f}return l(c)}if(typeof d=="string"||typeof d=="number")return d=""+d,f!==null&&f.tag===6?(n(c,f.sibling),f=o(f,d),f.return=c,c=f):(n(c,f),f=Ia(d,c.mode,h),f.return=c,c=f),l(c);if(Ii(d))return k(c,f,d,h);if(oo(d))return S(c,f,d,h);if(_&&Ai(c,d),typeof d>"u"&&!v)switch(c.tag){case 1:case 22:case 0:case 11:case 15:throw Error(I(152,Pr(c.type)||"Component"))}return n(c,f)}}var El=Op(!0),kp=Op(!1),yi={},Yt=In(yi),fi=In(yi),ci=In(yi);function qn(e){if(e===yi)throw Error(I(174));return e}function Ou(e,t){switch(Ue(ci,t),Ue(fi,e),Ue(Yt,yi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:uu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=uu(t,e)}xe(Yt),Ue(Yt,t)}function Vr(){xe(Yt),xe(fi),xe(ci)}function vc(e){qn(ci.current);var t=qn(Yt.current),n=uu(t,e.type);t!==n&&(Ue(fi,e),Ue(Yt,n))}function Us(e){fi.current===e&&(xe(Yt),xe(fi))}var ze=In(0);function _l(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&64)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var tn=null,yn=null,Xt=!1;function Tp(e,t){var n=xt(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function mc(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,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function ku(e){if(Xt){var t=yn;if(t){var n=t;if(!mc(e,t)){if(t=Rr(n.nextSibling),!t||!mc(e,t)){e.flags=e.flags&-1025|2,Xt=!1,tn=e;return}Tp(tn,n)}tn=e,yn=Rr(t.firstChild)}else e.flags=e.flags&-1025|2,Xt=!1,tn=e}}function gc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;tn=e}function Mi(e){if(e!==tn)return!1;if(!Xt)return gc(e),Xt=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!wu(t,e.memoizedProps))for(t=yn;t;)Tp(e,t),t=Rr(t.nextSibling);if(gc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){yn=Rr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}yn=null}}else yn=tn?Rr(e.stateNode.nextSibling):null;return!0}function Da(){yn=tn=null,Xt=!1}var Ar=[];function Vs(){for(var e=0;e<Ar.length;e++)Ar[e]._workInProgressVersionPrimary=null;Ar.length=0}var zo=lr.ReactCurrentDispatcher,Pt=lr.ReactCurrentBatchConfig,di=0,We=null,ot=null,Je=null,Cl=!1,Uo=!1;function ht(){throw Error(I(321))}function $s(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Tt(e[n],t[n]))return!1;return!0}function Hs(e,t,n,r,o,i){if(di=i,We=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,zo.current=e===null||e.memoizedState===null?hm:vm,e=n(r,o),Uo){i=0;do{if(Uo=!1,!(25>i))throw Error(I(301));i+=1,Je=ot=null,t.updateQueue=null,zo.current=mm,e=n(r,o)}while(Uo)}if(zo.current=xl,t=ot!==null&&ot.next!==null,di=0,Je=ot=We=null,Cl=!1,t)throw Error(I(300));return e}function Qn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Je===null?We.memoizedState=Je=e:Je=Je.next=e,Je}function ur(){if(ot===null){var e=We.alternate;e=e!==null?e.memoizedState:null}else e=ot.next;var t=Je===null?We.memoizedState:Je.next;if(t!==null)Je=t,ot=e;else{if(e===null)throw Error(I(310));ot=e,e={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},Je===null?We.memoizedState=Je=e:Je=Je.next=e}return Je}function Bt(e,t){return typeof t=="function"?t(e):t}function co(e){var t=ur(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=ot,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(o!==null){o=o.next,r=r.baseState;var a=l=i=null,u=o;do{var s=u.lane;if((di&s)===s)a!==null&&(a=a.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var p={lane:s,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};a===null?(l=a=p,i=r):a=a.next=p,We.lanes|=s,wi|=s}u=u.next}while(u!==null&&u!==o);a===null?i=r:a.next=l,Tt(r,t.memoizedState)||(zt=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=a,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function po(e){var t=ur(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var l=o=o.next;do i=e(i,l.action),l=l.next;while(l!==o);Tt(i,t.memoizedState)||(zt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function yc(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(o!==null?e=o===r:(e=e.mutableReadLanes,(e=(di&e)===e)&&(t._workInProgressVersionPrimary=r,Ar.push(t))),e)return n(t._source);throw Ar.push(t),Error(I(350))}function xp(e,t,n,r){var o=dt;if(o===null)throw Error(I(349));var i=t._getVersion,l=i(t._source),a=zo.current,u=a.useState(function(){return yc(o,t,n)}),s=u[1],p=u[0];u=Je;var y=e.memoizedState,g=y.refs,O=g.getSnapshot,k=y.source;y=y.subscribe;var S=We;return e.memoizedState={refs:g,source:t,subscribe:r},a.useEffect(function(){g.getSnapshot=n,g.setSnapshot=s;var c=i(t._source);if(!Tt(l,c)){c=n(t._source),Tt(p,c)||(s(c),c=kn(S),o.mutableReadLanes|=c&o.pendingLanes),c=o.mutableReadLanes,o.entangledLanes|=c;for(var f=o.entanglements,d=c;0<d;){var h=31-Dn(d),v=1<<h;f[h]|=c,d&=~v}}},[n,t,r]),a.useEffect(function(){return r(t._source,function(){var c=g.getSnapshot,f=g.setSnapshot;try{f(c(t._source));var d=kn(S);o.mutableReadLanes|=d&o.pendingLanes}catch(h){f(function(){throw h})}})},[t,r]),Tt(O,n)&&Tt(k,t)&&Tt(y,r)||(e={pending:null,dispatch:null,lastRenderedReducer:Bt,lastRenderedState:p},e.dispatch=s=Ys.bind(null,We,e),u.queue=e,u.baseQueue=null,p=yc(o,t,n),u.memoizedState=u.baseState=p),p}function Pp(e,t,n){var r=ur();return xp(r,e,t,n)}function ho(e){var t=Qn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Bt,lastRenderedState:e},e=e.dispatch=Ys.bind(null,We,e),[t.memoizedState,e]}function Ol(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=We.updateQueue,t===null?(t={lastEffect:null},We.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 wc(e){var t=Qn();return e={current:e},t.memoizedState=e}function kl(){return ur().memoizedState}function Tu(e,t,n,r){var o=Qn();We.flags|=e,o.memoizedState=Ol(1|t,n,void 0,r===void 0?null:r)}function Bs(e,t,n,r){var o=ur();r=r===void 0?null:r;var i=void 0;if(ot!==null){var l=ot.memoizedState;if(i=l.destroy,r!==null&&$s(r,l.deps)){Ol(t,n,i,r);return}}We.flags|=e,o.memoizedState=Ol(1|t,n,i,r)}function Sc(e,t){return Tu(516,4,e,t)}function Tl(e,t){return Bs(516,4,e,t)}function Dp(e,t){return Bs(4,2,e,t)}function bp(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 Np(e,t,n){return n=n!=null?n.concat([e]):null,Bs(4,2,bp.bind(null,t,e),n)}function Ws(){}function Rp(e,t){var n=ur();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&$s(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ip(e,t){var n=ur();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&$s(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function pm(e,t){var n=Ur();rr(98>n?98:n,function(){e(!0)}),rr(97<n?97:n,function(){var r=Pt.transition;Pt.transition=1;try{e(!1),t()}finally{Pt.transition=r}})}function Ys(e,t,n){var r=_t(),o=kn(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},l=t.pending;if(l===null?i.next=i:(i.next=l.next,l.next=i),t.pending=i,l=e.alternate,e===We||l!==null&&l===We)Uo=Cl=!0;else{if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var a=t.lastRenderedState,u=l(a,n);if(i.eagerReducer=l,i.eagerState=u,Tt(u,a))return}catch{}finally{}Tn(e,o,r)}}var xl={readContext:Dt,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useOpaqueIdentifier:ht,unstable_isNewReconciler:!1},hm={readContext:Dt,useCallback:function(e,t){return Qn().memoizedState=[e,t===void 0?null:t],e},useContext:Dt,useEffect:Sc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Tu(4,2,bp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Tu(4,2,e,t)},useMemo:function(e,t){var n=Qn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Ys.bind(null,We,e),[r.memoizedState,e]},useRef:wc,useState:ho,useDebugValue:Ws,useDeferredValue:function(e){var t=ho(e),n=t[0],r=t[1];return Sc(function(){var o=Pt.transition;Pt.transition=1;try{r(e)}finally{Pt.transition=o}},[e]),n},useTransition:function(){var e=ho(!1),t=e[0];return e=pm.bind(null,e[1]),wc(e),[e,t]},useMutableSource:function(e,t,n){var r=Qn();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},xp(r,e,t,n)},useOpaqueIdentifier:function(){if(Xt){var e=!1,t=am(function(){throw e||(e=!0,n("r:"+(Ta++).toString(36))),Error(I(355))}),n=ho(t)[1];return(We.mode&2)===0&&(We.flags|=516,Ol(5,function(){n("r:"+(Ta++).toString(36))},void 0,null)),t}return t="r:"+(Ta++).toString(36),ho(t),t},unstable_isNewReconciler:!1},vm={readContext:Dt,useCallback:Rp,useContext:Dt,useEffect:Tl,useImperativeHandle:Np,useLayoutEffect:Dp,useMemo:Ip,useReducer:co,useRef:kl,useState:function(){return co(Bt)},useDebugValue:Ws,useDeferredValue:function(e){var t=co(Bt),n=t[0],r=t[1];return Tl(function(){var o=Pt.transition;Pt.transition=1;try{r(e)}finally{Pt.transition=o}},[e]),n},useTransition:function(){var e=co(Bt)[0];return[kl().current,e]},useMutableSource:Pp,useOpaqueIdentifier:function(){return co(Bt)[0]},unstable_isNewReconciler:!1},mm={readContext:Dt,useCallback:Rp,useContext:Dt,useEffect:Tl,useImperativeHandle:Np,useLayoutEffect:Dp,useMemo:Ip,useReducer:po,useRef:kl,useState:function(){return po(Bt)},useDebugValue:Ws,useDeferredValue:function(e){var t=po(Bt),n=t[0],r=t[1];return Tl(function(){var o=Pt.transition;Pt.transition=1;try{r(e)}finally{Pt.transition=o}},[e]),n},useTransition:function(){var e=po(Bt)[0];return[kl().current,e]},useMutableSource:Pp,useOpaqueIdentifier:function(){return po(Bt)[0]},unstable_isNewReconciler:!1},gm=lr.ReactCurrentOwner,zt=!1;function gt(e,t,n,r){t.child=e===null?kp(t,null,n,r):El(t,e.child,n,r)}function Ec(e,t,n,r,o){n=n.render;var i=t.ref;return Ir(t,o),r=Hs(e,t,n,r,i,o),e!==null&&!zt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,nn(e,t,o)):(t.flags|=1,gt(e,t,r,o),t.child)}function _c(e,t,n,r,o,i){if(e===null){var l=n.type;return typeof l=="function"&&!Zs(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,Ap(e,t,l,r,o,i)):(e=nl(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}return l=e.child,(o&i)===0&&(o=l.memoizedProps,n=n.compare,n=n!==null?n:li,n(o,r)&&e.ref===t.ref)?nn(e,t,i):(t.flags|=1,e=Rn(l,r),e.ref=t.ref,e.return=t,t.child=e)}function Ap(e,t,n,r,o,i){if(e!==null&&li(e.memoizedProps,r)&&e.ref===t.ref)if(zt=!1,(i&o)!==0)(e.flags&16384)!==0&&(zt=!0);else return t.lanes=e.lanes,nn(e,t,i);return xu(e,t,n,r,i)}function ba(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden"||r.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},Li(t,n);else if((n&1073741824)!==0)t.memoizedState={baseLanes:0},Li(t,i!==null?i.baseLanes:n);else return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Li(t,e),null;else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Li(t,r);return gt(e,t,o,n),t.child}function Mp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=128)}function xu(e,t,n,r,o){var i=wt(n)?nr:ut.current;return i=zr(t,i),Ir(t,o),n=Hs(e,t,n,r,i,o),e!==null&&!zt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,nn(e,t,o)):(t.flags|=1,gt(e,t,n,o),t.child)}function Cc(e,t,n,r,o){if(wt(n)){var i=!0;Qi(t)}else i=!1;if(Ir(t,o),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),Cp(t,n,r),Cu(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var u=l.context,s=n.contextType;typeof s=="object"&&s!==null?s=Dt(s):(s=wt(n)?nr:ut.current,s=zr(t,s));var p=n.getDerivedStateFromProps,y=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function";y||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==r||u!==s)&&hc(t,l,r,s),dn=!1;var g=t.memoizedState;l.state=g,si(t,r,l,o),u=t.memoizedState,a!==r||g!==u||yt.current||dn?(typeof p=="function"&&(Sl(t,n,p,r),u=t.memoizedState),(a=dn||pc(t,n,a,r,g,u,s))?(y||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4)):(typeof l.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=s,r=a):(typeof l.componentDidMount=="function"&&(t.flags|=4),r=!1)}else{l=t.stateNode,Ep(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:Lt(t.type,a),l.props=s,y=t.pendingProps,g=l.context,u=n.contextType,typeof u=="object"&&u!==null?u=Dt(u):(u=wt(n)?nr:ut.current,u=zr(t,u));var O=n.getDerivedStateFromProps;(p=typeof O=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==y||g!==u)&&hc(t,l,r,u),dn=!1,g=t.memoizedState,l.state=g,si(t,r,l,o);var k=t.memoizedState;a!==y||g!==k||yt.current||dn?(typeof O=="function"&&(Sl(t,n,O,r),k=t.memoizedState),(s=dn||pc(t,n,s,r,g,k,u))?(p||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,k,u),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,k,u)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=k),l.props=r,l.state=k,l.context=u,r=s):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(t.flags|=256),r=!1)}return Pu(e,t,n,r,i,o)}function Pu(e,t,n,r,o,i){Mp(e,t);var l=(t.flags&64)!==0;if(!r&&!l)return o&&uc(t,n,!1),nn(e,t,i);r=t.stateNode,gm.current=t;var a=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=El(t,e.child,null,i),t.child=El(t,null,a,i)):gt(e,t,a,i),t.memoizedState=r.state,o&&uc(t,n,!0),t.child}function Oc(e){var t=e.stateNode;t.pendingContext?ac(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ac(e,t.context,!1),Ou(e,t.containerInfo)}var Fi={dehydrated:null,retryLane:0};function kc(e,t,n){var r=t.pendingProps,o=ze.current,i=!1,l;return(l=(t.flags&64)!==0)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-65):e!==null&&e.memoizedState===null||r.fallback===void 0||r.unstable_avoidThisFallback===!0||(o|=1),Ue(ze,o&1),e===null?(r.fallback!==void 0&&ku(t),e=r.children,o=r.fallback,i?(e=Tc(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Fi,e):typeof r.unstable_expectedLoadTime=="number"?(e=Tc(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Fi,t.lanes=33554432,e):(n=Js({mode:"visible",children:e},t.mode,n,null),n.return=t,t.child=n)):e.memoizedState!==null?i?(r=Pc(e,t,r.children,r.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=o===null?{baseLanes:n}:{baseLanes:o.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Fi,r):(n=xc(e,t,r.children,n),t.memoizedState=null,n):i?(r=Pc(e,t,r.children,r.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=o===null?{baseLanes:n}:{baseLanes:o.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Fi,r):(n=xc(e,t,r.children,n),t.memoizedState=null,n)}function Tc(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},(o&2)===0&&i!==null?(i.childLanes=0,i.pendingProps=t):i=Js(t,o,0,null),n=Lr(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function xc(e,t,n,r){var o=e.child;return e=o.sibling,n=Rn(o,{mode:"visible",children:n}),(t.mode&2)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Pc(e,t,n,r,o){var i=t.mode,l=e.child;e=l.sibling;var a={mode:"hidden",children:n};return(i&2)===0&&t.child!==l?(n=t.child,n.childLanes=0,n.pendingProps=a,l=n.lastEffect,l!==null?(t.firstEffect=n.firstEffect,t.lastEffect=l,l.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Rn(l,a),e!==null?r=Rn(e,r):(r=Lr(r,i,o,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Dc(e,t){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Sp(e.return,t)}function Na(e,t,n,r,o,i){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=o,l.lastEffect=i)}function bc(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(gt(e,t,r.children,n),r=ze.current,(r&2)!==0)r=r&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Dc(e,n);else if(e.tag===19)Dc(e,n);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(Ue(ze,r),(t.mode&2)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&_l(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Na(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&_l(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Na(t,!0,n,null,i,t.lastEffect);break;case"together":Na(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function nn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),wi|=t.lanes,(n&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(I(153));if(t.child!==null){for(e=t.child,n=Rn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Rn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}return null}var Fp,Du,Lp,jp;Fp=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}};Du=function(){};Lp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,qn(Yt.current);var i=null;switch(n){case"input":o=nu(e,o),r=nu(e,r),i=[];break;case"option":o=iu(e,o),r=iu(e,r),i=[];break;case"select":o=Ne({},o,{value:void 0}),r=Ne({},r,{value:void 0}),i=[];break;case"textarea":o=lu(e,o),r=lu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=hl)}su(n,r);var l;n=null;for(s in o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&o[s]!=null)if(s==="style"){var a=o[s];for(l in a)a.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Jo.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var u=r[s];if(a=o!=null?o[s]:void 0,r.hasOwnProperty(s)&&u!==a&&(u!=null||a!=null))if(s==="style")if(a){for(l in a)!a.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&a[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(i||(i=[]),i.push(s,n)),n=u;else s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(i=i||[]).push(s,u)):s==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(s,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(Jo.hasOwnProperty(s)?(u!=null&&s==="onScroll"&&Te("scroll",e),i||a===u||(i=[])):typeof u=="object"&&u!==null&&u.$$typeof===ws?u.toString():(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}};jp=function(e,t,n,r){n!==r&&(t.flags|=4)};function vo(e,t){if(!Xt)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 ym(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return wt(t.type)&&ml(),null;case 3:return Vr(),xe(yt),xe(ut),Vs(),r=t.stateNode,r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Mi(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Du(t),null;case 5:Us(t);var o=qn(ci.current);if(n=t.type,e!==null&&t.stateNode!=null)Lp(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(t.stateNode===null)throw Error(I(166));return null}if(e=qn(Yt.current),Mi(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[gn]=t,r[vl]=i,n){case"dialog":Te("cancel",r),Te("close",r);break;case"iframe":case"object":case"embed":Te("load",r);break;case"video":case"audio":for(e=0;e<Oo.length;e++)Te(Oo[e],r);break;case"source":Te("error",r);break;case"img":case"image":case"link":Te("error",r),Te("load",r);break;case"details":Te("toggle",r);break;case"input":bf(r,i),Te("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Te("invalid",r);break;case"textarea":Rf(r,i),Te("invalid",r)}su(n,i),e=null;for(var l in i)i.hasOwnProperty(l)&&(o=i[l],l==="children"?typeof o=="string"?r.textContent!==o&&(e=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(e=["children",""+o]):Jo.hasOwnProperty(l)&&o!=null&&l==="onScroll"&&Te("scroll",r));switch(n){case"input":Di(r),Nf(r,i,!0);break;case"textarea":Di(r),If(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=hl)}r=e,t.updateQueue=r,r!==null&&(t.flags|=4)}else{switch(l=o.nodeType===9?o:o.ownerDocument,e===au.html&&(e=Nd(n)),e===au.html?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[gn]=t,e[vl]=r,Fp(e,t,!1,!1),t.stateNode=e,l=fu(n,r),n){case"dialog":Te("cancel",e),Te("close",e),o=r;break;case"iframe":case"object":case"embed":Te("load",e),o=r;break;case"video":case"audio":for(o=0;o<Oo.length;o++)Te(Oo[o],e);o=r;break;case"source":Te("error",e),o=r;break;case"img":case"image":case"link":Te("error",e),Te("load",e),o=r;break;case"details":Te("toggle",e),o=r;break;case"input":bf(e,r),o=nu(e,r),Te("invalid",e);break;case"option":o=iu(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ne({},r,{value:void 0}),Te("invalid",e);break;case"textarea":Rf(e,r),o=lu(e,r),Te("invalid",e);break;default:o=r}su(n,o);var a=o;for(i in a)if(a.hasOwnProperty(i)){var u=a[i];i==="style"?Ad(e,u):i==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Rd(e,u)):i==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&ei(e,u):typeof u=="number"&&ei(e,""+u):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Jo.hasOwnProperty(i)?u!=null&&i==="onScroll"&&Te("scroll",e):u!=null&&ps(e,i,u,l))}switch(n){case"input":Di(e),Nf(e,r,!1);break;case"textarea":Di(e),If(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Pn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Dr(e,!!r.multiple,i,!1):r.defaultValue!=null&&Dr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=hl)}cp(n,r)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)jp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));n=qn(ci.current),qn(Yt.current),Mi(t)?(r=t.stateNode,n=t.memoizedProps,r[gn]=t,r.nodeValue!==n&&(t.flags|=4)):(r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[gn]=t,t.stateNode=r)}return null;case 13:return xe(ze),r=t.memoizedState,(t.flags&64)!==0?(t.lanes=n,t):(r=r!==null,n=!1,e===null?t.memoizedProps.fallback!==void 0&&Mi(t):n=e.memoizedState!==null,r&&!n&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(ze.current&1)!==0?et===0&&(et=3):((et===0||et===3)&&(et=4),dt===null||(wi&134217727)===0&&(Gr&134217727)===0||Mr(dt,at))),(r||n)&&(t.flags|=4),null);case 4:return Vr(),Du(t),e===null&&up(t.stateNode.containerInfo),null;case 10:return js(t),null;case 17:return wt(t.type)&&ml(),null;case 19:if(xe(ze),r=t.memoizedState,r===null)return null;if(i=(t.flags&64)!==0,l=r.rendering,l===null)if(i)vo(r,!1);else{if(et!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(l=_l(e),l!==null){for(t.flags|=64,vo(r,!1),i=l.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),r.lastEffect===null&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ue(ze,ze.current&1|2),t.child}e=e.sibling}r.tail!==null&&lt()>Mu&&(t.flags|=64,i=!0,vo(r,!1),t.lanes=33554432)}else{if(!i)if(e=_l(l),e!==null){if(t.flags|=64,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vo(r,!0),r.tail===null&&r.tailMode==="hidden"&&!l.alternate&&!Xt)return t=t.lastEffect=r.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*lt()-r.renderingStartTime>Mu&&n!==1073741824&&(t.flags|=64,i=!0,vo(r,!1),t.lanes=33554432);r.isBackwards?(l.sibling=t.child,t.child=l):(n=r.last,n!==null?n.sibling=l:t.child=l,r.last=l)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=lt(),n.sibling=null,t=ze.current,Ue(ze,i?t&1|2:t&1),n):null;case 23:case 24:return Qs(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(I(156,t.tag))}function wm(e){switch(e.tag){case 1:wt(e.type)&&ml();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Vr(),xe(yt),xe(ut),Vs(),t=e.flags,(t&64)!==0)throw Error(I(285));return e.flags=t&-4097|64,e;case 5:return Us(e),null;case 13:return xe(ze),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return xe(ze),null;case 4:return Vr(),null;case 10:return js(e),null;case 23:case 24:return Qs(),null;default:return null}}function Xs(e,t){try{var n="",r=t;do n+=Jh(r),r=r.return;while(r);var o=n}catch(i){o=`
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:o}}function bu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Sm=typeof WeakMap=="function"?WeakMap:Map;function zp(e,t,n){n=Cn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Dl||(Dl=!0,Fu=r),bu(e,t)},n}function Up(e,t,n){n=Cn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return bu(e,t),r(o)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(Wt===null?Wt=new Set([this]):Wt.add(this),bu(e,t));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}var Em=typeof WeakSet=="function"?WeakSet:Set;function Nc(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){xn(e,n)}else t.current=null}function _m(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:Lt(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&As(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(I(163))}function Cm(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var o=e;r=o.next,o=o.tag,(o&4)!==0&&(o&1)!==0&&(Gp(n,e),Nm(n,e)),e=r}while(e!==t)}return;case 1:e=n.stateNode,n.flags&4&&(t===null?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Lt(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,t!==null&&dc(n,t,e);return;case 3:if(t=n.updateQueue,t!==null){if(e=null,n.child!==null)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}dc(n,t,e)}return;case 5:e=n.stateNode,t===null&&n.flags&4&&cp(n.type,n.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&Bd(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(I(163))}function Rc(e,t){for(var n=e;;){if(n.tag===5){var r=n.stateNode;if(t)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=o!=null&&o.hasOwnProperty("display")?o.display:null,r.style.display=Id("display",o)}}else if(n.tag===6)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Ic(e,t){if(Jn&&typeof Jn.onCommitFiberUnmount=="function")try{Jn.onCommitFiberUnmount(Ms,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,o!==void 0)if((r&4)!==0)Gp(t,n);else{r=t;try{o()}catch(i){xn(r,i)}}n=n.next}while(n!==e)}break;case 1:if(Nc(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(i){xn(t,i)}break;case 5:Nc(t);break;case 4:Vp(e,t)}}function Ac(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Mc(e){return e.tag===5||e.tag===3||e.tag===4}function Fc(e){e:{for(var t=e.return;t!==null;){if(Mc(t))break e;t=t.return}throw Error(I(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(I(161))}n.flags&16&&(ei(t,""),n.flags&=-17);e:t:for(n=e;;){for(;n.sibling===null;){if(n.return===null||Mc(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2)){n=n.stateNode;break e}}r?Nu(e,n,t):Ru(e,n,t)}function Nu(e,t,n){var r=e.tag,o=r===5||r===6;if(o)e=o?e.stateNode:e.stateNode.instance,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=hl));else if(r!==4&&(e=e.child,e!==null))for(Nu(e,t,n),e=e.sibling;e!==null;)Nu(e,t,n),e=e.sibling}function Ru(e,t,n){var r=e.tag,o=r===5||r===6;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ru(e,t,n),e=e.sibling;e!==null;)Ru(e,t,n),e=e.sibling}function Vp(e,t){for(var n=t,r=!1,o,i;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(I(160));switch(o=r.stateNode,r.tag){case 5:i=!1;break e;case 3:o=o.containerInfo,i=!0;break e;case 4:o=o.containerInfo,i=!0;break e}r=r.return}r=!0}if(n.tag===5||n.tag===6){e:for(var l=e,a=n,u=a;;)if(Ic(l,u),u.child!==null&&u.tag!==4)u.child.return=u,u=u.child;else{if(u===a)break e;for(;u.sibling===null;){if(u.return===null||u.return===a)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}i?(l=o,a=n.stateNode,l.nodeType===8?l.parentNode.removeChild(a):l.removeChild(a)):o.removeChild(n.stateNode)}else if(n.tag===4){if(n.child!==null){o=n.stateNode.containerInfo,i=!0,n.child.return=n,n=n.child;continue}}else if(Ic(e,n),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.tag===4&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function Ra(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do(r.tag&3)===3&&(e=r.destroy,r.destroy=void 0,e!==void 0&&e()),r=r.next;while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,n!=null){r=t.memoizedProps;var o=e!==null?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,i!==null){for(n[vl]=r,e==="input"&&r.type==="radio"&&r.name!=null&&Dd(n,r),fu(e,o),t=fu(e,r),o=0;o<i.length;o+=2){var l=i[o],a=i[o+1];l==="style"?Ad(n,a):l==="dangerouslySetInnerHTML"?Rd(n,a):l==="children"?ei(n,a):ps(n,l,a,t)}switch(e){case"input":ru(n,r);break;case"textarea":bd(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,i=r.value,i!=null?Dr(n,!!r.multiple,i,!1):e!==!!r.multiple&&(r.defaultValue!=null?Dr(n,!!r.multiple,r.defaultValue,!0):Dr(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(I(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:n=t.stateNode,n.hydrate&&(n.hydrate=!1,Bd(n.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(qs=lt(),Rc(t.child,!0)),Lc(t);return;case 19:Lc(t);return;case 17:return;case 23:case 24:Rc(t,t.memoizedState!==null);return}throw Error(I(163))}function Lc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Em),t.forEach(function(r){var o=Am.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Om(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var km=Math.ceil,Pl=lr.ReactCurrentDispatcher,Ks=lr.ReactCurrentOwner,te=0,dt=null,Ge=null,at=0,or=0,Iu=In(0),et=0,ql=null,Kr=0,wi=0,Gr=0,Gs=0,Au=null,qs=0,Mu=1/0;function qr(){Mu=lt()+500}var B=null,Dl=!1,Fu=null,Wt=null,Nn=!1,Vo=null,ko=90,Lu=[],ju=[],rn=null,$o=0,zu=null,Ji=-1,en=0,el=0,Ho=null,tl=!1;function _t(){return(te&48)!==0?lt():Ji!==-1?Ji:Ji=lt()}function kn(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return Ur()===99?1:2;if(en===0&&(en=Kr),dm.transition!==0){el!==0&&(el=Au!==null?Au.pendingLanes:0),e=en;var t=4186112&~el;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Ur(),(te&4)!==0&&e===98?e=dl(12,en):(e=vv(e),e=dl(e,en)),e}function Tn(e,t,n){if(50<$o)throw $o=0,zu=null,Error(I(185));if(e=Ql(e,t),e===null)return null;Hl(e,t,n),e===dt&&(Gr|=t,et===4&&Mr(e,at));var r=Ur();t===1?(te&8)!==0&&(te&48)===0?Uu(e):(bt(e,n),te===0&&(qr(),qt())):((te&4)===0||r!==98&&r!==99||(rn===null?rn=new Set([e]):rn.add(e)),bt(e,n)),Au=e}function Ql(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}function bt(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,l=e.pendingLanes;0<l;){var a=31-Dn(l),u=1<<a,s=i[a];if(s===-1){if((u&r)===0||(u&o)!==0){s=t,yr(u);var p=ke;i[a]=10<=p?s+250:6<=p?s+5e3:-1}}else s<=t&&(e.expiredLanes|=u);l&=~u}if(r=oi(e,e===dt?at:0),t=ke,r===0)n!==null&&(n!==xa&&Eu(n),e.callbackNode=null,e.callbackPriority=0);else{if(n!==null){if(e.callbackPriority===t)return;n!==xa&&Eu(n)}t===15?(n=Uu.bind(null,e),Jt===null?(Jt=[n],Zi=Fs(Kl,wp)):Jt.push(n),n=xa):t===14?n=ui(99,Uu.bind(null,e)):(n=mv(t),n=ui(n,$p.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function $p(e){if(Ji=-1,el=en=0,(te&48)!==0)throw Error(I(327));var t=e.callbackNode;if(An()&&e.callbackNode!==t)return null;var n=oi(e,e===dt?at:0);if(n===0)return null;var r=n,o=te;te|=16;var i=Yp();(dt!==e||at!==r)&&(qr(),Fr(e,r));do try{Pm();break}catch(a){Wp(e,a)}while(1);if(Ls(),Pl.current=i,te=o,Ge!==null?r=0:(dt=null,at=0,r=et),(Kr&Gr)!==0)Fr(e,0);else if(r!==0){if(r===2&&(te|=64,e.hydrate&&(e.hydrate=!1,As(e.containerInfo)),n=Qd(e),n!==0&&(r=To(e,n))),r===1)throw t=ql,Fr(e,0),Mr(e,n),bt(e,lt()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(I(345));case 2:Hn(e);break;case 3:if(Mr(e,n),(n&62914560)===n&&(r=qs+500-lt(),10<r)){if(oi(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){_t(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=oc(Hn.bind(null,e),r);break}Hn(e);break;case 4:if(Mr(e,n),(n&4186112)===n)break;for(r=e.eventTimes,o=-1;0<n;){var l=31-Dn(n);i=1<<l,l=r[l],l>o&&(o=l),n&=~i}if(n=o,n=lt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*km(n/1960))-n,10<n){e.timeoutHandle=oc(Hn.bind(null,e),n);break}Hn(e);break;case 5:Hn(e);break;default:throw Error(I(329))}}return bt(e,lt()),e.callbackNode===t?$p.bind(null,e):null}function Mr(e,t){for(t&=~Gs,t&=~Gr,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Dn(t),r=1<<n;e[n]=-1,t&=~r}}function Uu(e){if((te&48)!==0)throw Error(I(327));if(An(),e===dt&&(e.expiredLanes&at)!==0){var t=at,n=To(e,t);(Kr&Gr)!==0&&(t=oi(e,t),n=To(e,t))}else t=oi(e,0),n=To(e,t);if(e.tag!==0&&n===2&&(te|=64,e.hydrate&&(e.hydrate=!1,As(e.containerInfo)),t=Qd(e),t!==0&&(n=To(e,t))),n===1)throw n=ql,Fr(e,0),Mr(e,t),bt(e,lt()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Hn(e),bt(e,lt()),null}function Tm(){if(rn!==null){var e=rn;rn=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,bt(t,lt())})}qt()}function Hp(e,t){var n=te;te|=1;try{return e(t)}finally{te=n,te===0&&(qr(),qt())}}function Bp(e,t){var n=te;te&=-2,te|=8;try{return e(t)}finally{te=n,te===0&&(qr(),qt())}}function Li(e,t){Ue(Iu,or),or|=t,Kr|=t}function Qs(){or=Iu.current,xe(Iu)}function Fr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,lm(n)),Ge!==null)for(n=Ge.return;n!==null;){var r=n;switch(r.tag){case 1:r=r.type.childContextTypes,r!=null&&ml();break;case 3:Vr(),xe(yt),xe(ut),Vs();break;case 5:Us(r);break;case 4:Vr();break;case 13:xe(ze);break;case 19:xe(ze);break;case 10:js(r);break;case 23:case 24:Qs()}n=n.return}dt=e,Ge=Rn(e.current,null),at=or=Kr=t,et=0,ql=null,Gs=Gr=wi=0}function Wp(e,t){do{var n=Ge;try{if(Ls(),zo.current=xl,Cl){for(var r=We.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Cl=!1}if(di=0,Je=ot=We=null,Uo=!1,Ks.current=null,n===null||n.return===null){et=1,ql=t,Ge=null;break}e:{var i=e,l=n.return,a=n,u=t;if(t=at,a.flags|=2048,a.firstEffect=a.lastEffect=null,u!==null&&typeof u=="object"&&typeof u.then=="function"){var s=u;if((a.mode&2)===0){var p=a.alternate;p?(a.updateQueue=p.updateQueue,a.memoizedState=p.memoizedState,a.lanes=p.lanes):(a.updateQueue=null,a.memoizedState=null)}var y=(ze.current&1)!==0,g=l;do{var O;if(O=g.tag===13){var k=g.memoizedState;if(k!==null)O=k.dehydrated!==null;else{var S=g.memoizedProps;O=S.fallback===void 0?!1:S.unstable_avoidThisFallback!==!0?!0:!y}}if(O){var c=g.updateQueue;if(c===null){var f=new Set;f.add(s),g.updateQueue=f}else c.add(s);if((g.mode&2)===0){if(g.flags|=64,a.flags|=16384,a.flags&=-2981,a.tag===1)if(a.alternate===null)a.tag=17;else{var d=Cn(-1,1);d.tag=2,On(a,d)}a.lanes|=1;break e}u=void 0,a=t;var h=i.pingCache;if(h===null?(h=i.pingCache=new Sm,u=new Set,h.set(s,u)):(u=h.get(s),u===void 0&&(u=new Set,h.set(s,u))),!u.has(a)){u.add(a);var v=Im.bind(null,i,s,a);s.then(v,v)}g.flags|=4096,g.lanes=t;break e}g=g.return}while(g!==null);u=Error((Pr(a.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.

Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}et!==5&&(et=2),u=Xs(u,a),g=l;do{switch(g.tag){case 3:i=u,g.flags|=4096,t&=-t,g.lanes|=t;var _=zp(g,i,t);cc(g,_);break e;case 1:i=u;var E=g.type,P=g.stateNode;if((g.flags&64)===0&&(typeof E.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(Wt===null||!Wt.has(P)))){g.flags|=4096,t&=-t,g.lanes|=t;var b=Up(g,i,t);cc(g,b);break e}}g=g.return}while(g!==null)}Kp(n)}catch(D){t=D,Ge===n&&n!==null&&(Ge=n=n.return);continue}break}while(1)}function Yp(){var e=Pl.current;return Pl.current=xl,e===null?xl:e}function To(e,t){var n=te;te|=16;var r=Yp();dt===e&&at===t||Fr(e,t);do try{xm();break}catch(o){Wp(e,o)}while(1);if(Ls(),te=n,Pl.current=r,Ge!==null)throw Error(I(261));return dt=null,at=0,et}function xm(){for(;Ge!==null;)Xp(Ge)}function Pm(){for(;Ge!==null&&!sm();)Xp(Ge)}function Xp(e){var t=qp(e.alternate,e,or);e.memoizedProps=e.pendingProps,t===null?Kp(e):Ge=t,Ks.current=null}function Kp(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&2048)===0){if(n=ym(n,t,or),n!==null){Ge=n;return}if(n=t,n.tag!==24&&n.tag!==23||n.memoizedState===null||(or&1073741824)!==0||(n.mode&4)===0){for(var r=0,o=n.child;o!==null;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(n=wm(t),n!==null){n.flags&=2047,Ge=n;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){Ge=t;return}Ge=t=e}while(t!==null);et===0&&(et=5)}function Hn(e){var t=Ur();return rr(99,Dm.bind(null,e,t)),null}function Dm(e,t){do An();while(Vo!==null);if((te&48)!==0)throw Error(I(327));var n=e.finishedWork;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(I(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var l=e.eventTimes,a=e.expirationTimes;0<i;){var u=31-Dn(i),s=1<<u;o[u]=0,l[u]=-1,a[u]=-1,i&=~s}if(rn!==null&&(r&24)===0&&rn.has(e)&&rn.delete(e),e===dt&&(Ge=dt=null,at=0),1<n.flags?n.lastEffect!==null?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,r!==null){if(o=te,te|=32,Ks.current=null,Oa=Ki,l=Qf(),mu(l)){if("selectionStart"in l)a={start:l.selectionStart,end:l.selectionEnd};else e:if(a=(a=l.ownerDocument)&&a.defaultView||window,(s=a.getSelection&&a.getSelection())&&s.rangeCount!==0){a=s.anchorNode,i=s.anchorOffset,u=s.focusNode,s=s.focusOffset;try{a.nodeType,u.nodeType}catch{a=null;break e}var p=0,y=-1,g=-1,O=0,k=0,S=l,c=null;t:for(;;){for(var f;S!==a||i!==0&&S.nodeType!==3||(y=p+i),S!==u||s!==0&&S.nodeType!==3||(g=p+s),S.nodeType===3&&(p+=S.nodeValue.length),(f=S.firstChild)!==null;)c=S,S=f;for(;;){if(S===l)break t;if(c===a&&++O===i&&(y=p),c===u&&++k===s&&(g=p),(f=S.nextSibling)!==null)break;S=c,c=S.parentNode}S=f}a=y===-1||g===-1?null:{start:y,end:g}}else a=null;a=a||{start:0,end:0}}else a=null;ka={focusedElem:l,selectionRange:a},Ki=!1,Ho=null,tl=!1,B=r;do try{bm()}catch(D){if(B===null)throw Error(I(330));xn(B,D),B=B.nextEffect}while(B!==null);Ho=null,B=r;do try{for(l=e;B!==null;){var d=B.flags;if(d&16&&ei(B.stateNode,""),d&128){var h=B.alternate;if(h!==null){var v=h.ref;v!==null&&(typeof v=="function"?v(null):v.current=null)}}switch(d&1038){case 2:Fc(B),B.flags&=-3;break;case 6:Fc(B),B.flags&=-3,Ra(B.alternate,B);break;case 1024:B.flags&=-1025;break;case 1028:B.flags&=-1025,Ra(B.alternate,B);break;case 4:Ra(B.alternate,B);break;case 8:a=B,Vp(l,a);var _=a.alternate;Ac(a),_!==null&&Ac(_)}B=B.nextEffect}}catch(D){if(B===null)throw Error(I(330));xn(B,D),B=B.nextEffect}while(B!==null);if(v=ka,h=Qf(),d=v.focusedElem,l=v.selectionRange,h!==d&&d&&d.ownerDocument&&ip(d.ownerDocument.documentElement,d)){for(l!==null&&mu(d)&&(h=l.start,v=l.end,v===void 0&&(v=h),"selectionStart"in d?(d.selectionStart=h,d.selectionEnd=Math.min(v,d.value.length)):(v=(h=d.ownerDocument||document)&&h.defaultView||window,v.getSelection&&(v=v.getSelection(),a=d.textContent.length,_=Math.min(l.start,a),l=l.end===void 0?_:Math.min(l.end,a),!v.extend&&_>l&&(a=l,l=_,_=a),a=qf(d,_),i=qf(d,l),a&&i&&(v.rangeCount!==1||v.anchorNode!==a.node||v.anchorOffset!==a.offset||v.focusNode!==i.node||v.focusOffset!==i.offset)&&(h=h.createRange(),h.setStart(a.node,a.offset),v.removeAllRanges(),_>l?(v.addRange(h),v.extend(i.node,i.offset)):(h.setEnd(i.node,i.offset),v.addRange(h)))))),h=[],v=d;v=v.parentNode;)v.nodeType===1&&h.push({element:v,left:v.scrollLeft,top:v.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<h.length;d++)v=h[d],v.element.scrollLeft=v.left,v.element.scrollTop=v.top}Ki=!!Oa,ka=Oa=null,e.current=n,B=r;do try{for(d=e;B!==null;){var E=B.flags;if(E&36&&Cm(d,B.alternate,B),E&128){h=void 0;var P=B.ref;if(P!==null){var b=B.stateNode;switch(B.tag){case 5:h=b;break;default:h=b}typeof P=="function"?P(h):P.current=h}}B=B.nextEffect}}catch(D){if(B===null)throw Error(I(330));xn(B,D),B=B.nextEffect}while(B!==null);B=null,cm(),te=o}else e.current=n;if(Nn)Nn=!1,Vo=e,ko=t;else for(B=r;B!==null;)t=B.nextEffect,B.nextEffect=null,B.flags&8&&(E=B,E.sibling=null,E.stateNode=null),B=t;if(r=e.pendingLanes,r===0&&(Wt=null),r===1?e===zu?$o++:($o=0,zu=e):$o=0,n=n.stateNode,Jn&&typeof Jn.onCommitFiberRoot=="function")try{Jn.onCommitFiberRoot(Ms,n,void 0,(n.current.flags&64)===64)}catch{}if(bt(e,lt()),Dl)throw Dl=!1,e=Fu,Fu=null,e;return(te&8)!==0||qt(),null}function bm(){for(;B!==null;){var e=B.alternate;tl||Ho===null||((B.flags&8)!==0?Ff(B,Ho)&&(tl=!0):B.tag===13&&Om(e,B)&&Ff(B,Ho)&&(tl=!0));var t=B.flags;(t&256)!==0&&_m(e,B),(t&512)===0||Nn||(Nn=!0,ui(97,function(){return An(),null})),B=B.nextEffect}}function An(){if(ko!==90){var e=97<ko?97:ko;return ko=90,rr(e,Rm)}return!1}function Nm(e,t){Lu.push(t,e),Nn||(Nn=!0,ui(97,function(){return An(),null}))}function Gp(e,t){ju.push(t,e),Nn||(Nn=!0,ui(97,function(){return An(),null}))}function Rm(){if(Vo===null)return!1;var e=Vo;if(Vo=null,(te&48)!==0)throw Error(I(331));var t=te;te|=32;var n=ju;ju=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],l=o.destroy;if(o.destroy=void 0,typeof l=="function")try{l()}catch(u){if(i===null)throw Error(I(330));xn(i,u)}}for(n=Lu,Lu=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var a=o.create;o.destroy=a()}catch(u){if(i===null)throw Error(I(330));xn(i,u)}}for(a=e.current.firstEffect;a!==null;)e=a.nextEffect,a.nextEffect=null,a.flags&8&&(a.sibling=null,a.stateNode=null),a=e;return te=t,qt(),!0}function jc(e,t,n){t=Xs(n,t),t=zp(e,t,1),On(e,t),t=_t(),e=Ql(e,1),e!==null&&(Hl(e,1,t),bt(e,t))}function xn(e,t){if(e.tag===3)jc(e,e,t);else for(var n=e.return;n!==null;){if(n.tag===3){jc(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Wt===null||!Wt.has(r))){e=Xs(t,e);var o=Up(n,e,1);if(On(n,o),o=_t(),n=Ql(n,1),n!==null)Hl(n,1,o),bt(n,o);else if(typeof r.componentDidCatch=="function"&&(Wt===null||!Wt.has(r)))try{r.componentDidCatch(t,e)}catch{}break}}n=n.return}}function Im(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=_t(),e.pingedLanes|=e.suspendedLanes&n,dt===e&&(at&n)===n&&(et===4||et===3&&(at&62914560)===at&&500>lt()-qs?Fr(e,0):Gs|=n),bt(e,t)}function Am(e,t){var n=e.stateNode;n!==null&&n.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=Ur()===99?1:2:(en===0&&(en=Kr),t=wr(62914560&~en),t===0&&(t=4194304))),n=_t(),e=Ql(e,t),e!==null&&(Hl(e,t,n),bt(e,n))}var qp;qp=function(e,t,n){var r=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||yt.current)zt=!0;else if((n&r)!==0)zt=(e.flags&16384)!==0;else{switch(zt=!1,t.tag){case 3:Oc(t),Da();break;case 5:vc(t);break;case 1:wt(t.type)&&Qi(t);break;case 4:Ou(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;Ue(gl,o._currentValue),o._currentValue=r;break;case 13:if(t.memoizedState!==null)return(n&t.child.childLanes)!==0?kc(e,t,n):(Ue(ze,ze.current&1),t=nn(e,t,n),t!==null?t.sibling:null);Ue(ze,ze.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&64)!==0){if(r)return bc(e,t,n);t.flags|=64}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ue(ze,ze.current),r)break;return null;case 23:case 24:return t.lanes=0,ba(e,t,n)}return nn(e,t,n)}else zt=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=zr(t,ut.current),Ir(t,n),o=Hs(null,t,r,e,o,n),t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,wt(r)){var i=!0;Qi(t)}else i=!1;t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,zs(t);var l=r.getDerivedStateFromProps;typeof l=="function"&&Sl(t,r,l,e),o.updater=Gl,t.stateNode=o,o._reactInternals=t,Cu(t,r,e,n),t=Pu(null,t,r,!0,i,n)}else t.tag=0,gt(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=o._init,o=i(o._payload),t.type=o,i=t.tag=Fm(o),e=Lt(o,e),i){case 0:t=xu(null,t,o,e,n);break e;case 1:t=Cc(null,t,o,e,n);break e;case 11:t=Ec(null,t,o,e,n);break e;case 14:t=_c(null,t,o,Lt(o.type,e),r,n);break e}throw Error(I(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),xu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Cc(e,t,r,o,n);case 3:if(Oc(t),r=t.updateQueue,e===null||r===null)throw Error(I(282));if(r=t.pendingProps,o=t.memoizedState,o=o!==null?o.element:null,Ep(e,t),si(t,r,null,n),r=t.memoizedState.element,r===o)Da(),t=nn(e,t,n);else{if(o=t.stateNode,(i=o.hydrate)&&(yn=Rr(t.stateNode.containerInfo.firstChild),tn=t,i=Xt=!0),i){if(e=o.mutableSourceEagerHydrationData,e!=null)for(o=0;o<e.length;o+=2)i=e[o],i._workInProgressVersionPrimary=e[o+1],Ar.push(i);for(n=kp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|1024,n=n.sibling}else gt(e,t,r,n),Da();t=t.child}return t;case 5:return vc(t),e===null&&ku(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,wu(r,o)?l=null:i!==null&&wu(r,i)&&(t.flags|=16),Mp(e,t),gt(e,t,l,n),t.child;case 6:return e===null&&ku(t),null;case 13:return kc(e,t,n);case 4:return Ou(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=El(t,null,r,n):gt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Ec(e,t,r,o,n);case 7:return gt(e,t,t.pendingProps,n),t.child;case 8:return gt(e,t,t.pendingProps.children,n),t.child;case 12:return gt(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value;var a=t.type._context;if(Ue(gl,a._currentValue),a._currentValue=i,l!==null)if(a=l.value,i=Tt(a,i)?0:(typeof r._calculateChangedBits=="function"?r._calculateChangedBits(a,i):1073741823)|0,i===0){if(l.children===o.children&&!yt.current){t=nn(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var u=a.dependencies;if(u!==null){l=a.child;for(var s=u.firstContext;s!==null;){if(s.context===r&&(s.observedBits&i)!==0){a.tag===1&&(s=Cn(-1,n&-n),s.tag=2,On(a,s)),a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Sp(a.return,n),u.lanes|=n;break}s=s.next}}else l=a.tag===10&&a.type===t.type?null:a.child;if(l!==null)l.return=a;else for(l=a;l!==null;){if(l===t){l=null;break}if(a=l.sibling,a!==null){a.return=l.return,l=a;break}l=l.return}a=l}gt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps,r=i.children,Ir(t,n),o=Dt(o,i.unstable_observedBits),r=r(o),t.flags|=1,gt(e,t,r,n),t.child;case 14:return o=t.type,i=Lt(o,t.pendingProps),i=Lt(o.type,i),_c(e,t,o,i,r,n);case 15:return Ap(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,wt(r)?(e=!0,Qi(t)):e=!1,Ir(t,n),Cp(t,r,o),Cu(t,r,o,n),Pu(null,t,r,!0,e,n);case 19:return bc(e,t,n);case 23:return ba(e,t,n);case 24:return ba(e,t,n)}throw Error(I(156,t.tag))};function Mm(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function xt(e,t,n,r){return new Mm(e,t,n,r)}function Zs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Fm(e){if(typeof e=="function")return Zs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ul)return 11;if(e===Vl)return 14}return 2}function Rn(e,t){var n=e.alternate;return n===null?(n=xt(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.nextEffect=null,n.firstEffect=null,n.lastEffect=null),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 nl(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Zs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case hn:return Lr(n.children,o,i,t);case Td:l=8,o|=16;break;case hs:l=8,o|=1;break;case Ro:return e=xt(12,n,t,o|8),e.elementType=Ro,e.type=Ro,e.lanes=i,e;case Io:return e=xt(13,n,t,o),e.type=Io,e.elementType=Io,e.lanes=i,e;case ul:return e=xt(19,n,t,o),e.elementType=ul,e.lanes=i,e;case Ss:return Js(n,o,i,t);case tu:return e=xt(24,n,t,o),e.elementType=tu,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vs:l=10;break e;case ms:l=9;break e;case Ul:l=11;break e;case Vl:l=14;break e;case gs:l=16,r=null;break e;case ys:l=22;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=xt(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Lr(e,t,n,r){return e=xt(7,e,r,t),e.lanes=n,e}function Js(e,t,n,r){return e=xt(23,e,r,t),e.elementType=Ss,e.lanes=n,e}function Ia(e,t,n){return e=xt(6,e,null,t),e.lanes=n,e}function Aa(e,t,n){return t=xt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lm(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=ga(0),this.expirationTimes=ga(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ga(0),this.mutableSourceEagerHydrationData=null}function jm(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Xn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function bl(e,t,n,r){var o=t.current,i=_t(),l=kn(o);e:if(n){n=n._reactInternals;t:{if(ar(n)!==n||n.tag!==1)throw Error(I(170));var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(wt(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(a!==null);throw Error(I(171))}if(n.tag===1){var u=n.type;if(wt(u)){n=pp(n,u,a);break e}}n=a}else n=bn;return t.context===null?t.context=n:t.pendingContext=n,t=Cn(i,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),On(o,t),Tn(o,l,i),l}function Ma(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 zc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ef(e,t){zc(e,t),(e=e.alternate)&&zc(e,t)}function zm(){return null}function tf(e,t,n){var r=n!=null&&n.hydrationOptions!=null&&n.hydrationOptions.mutableSources||null;if(n=new Lm(e,t,n!=null&&n.hydrate===!0),t=xt(3,null,null,t===2?7:t===1?3:0),n.current=t,t.stateNode=n,zs(t),e[Xr]=n.current,up(e.nodeType===8?e.parentNode:e),r)for(e=0;e<r.length;e++){t=r[e];var o=t._getVersion;o=o(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}tf.prototype.render=function(e){bl(e,this._internalRoot,null,null)};tf.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;bl(null,e,null,function(){t[Xr]=null})};function Si(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Um(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tf(e,0,t?{hydrate:!0}:void 0)}function Zl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var l=i._internalRoot;if(typeof o=="function"){var a=o;o=function(){var s=Ma(l);a.call(s)}}bl(t,l,e,o)}else{if(i=n._reactRootContainer=Um(n,r),l=i._internalRoot,typeof o=="function"){var u=o;o=function(){var s=Ma(l);u.call(s)}}Bp(function(){bl(t,l,e,o)})}return Ma(l)}Vd=function(e){if(e.tag===13){var t=_t();Tn(e,4,t),ef(e,4)}};ks=function(e){if(e.tag===13){var t=_t();Tn(e,67108864,t),ef(e,67108864)}};$d=function(e){if(e.tag===13){var t=_t(),n=kn(e);Tn(e,n,t),ef(e,n)}};Hd=function(e,t){return t()};cu=function(e,t,n){switch(t){case"input":if(ru(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=Xl(r);if(!o)throw Error(I(90));Pd(r),ru(r,o)}}}break;case"textarea":bd(e,n);break;case"select":t=n.value,t!=null&&Dr(e,!!n.multiple,t,!1)}};_s=Hp;Ld=function(e,t,n,r,o){var i=te;te|=4;try{return rr(98,e.bind(null,t,n,r,o))}finally{te=i,te===0&&(qr(),qt())}};Cs=function(){(te&49)===0&&(Tm(),An())};jd=function(e,t){var n=te;te|=2;try{return e(t)}finally{te=n,te===0&&(qr(),qt())}};function Qp(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Si(t))throw Error(I(200));return jm(e,t,null,n)}var Vm={Events:[gi,Or,Xl,Md,Fd,An,{current:!1}]},mo={findFiberByHostInstance:Gn,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},$m={bundleType:mo.bundleType,version:mo.version,rendererPackageName:mo.rendererPackageName,rendererConfig:mo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:lr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ud(e),e===null?null:e.stateNode},findFiberByHostInstance:mo.findFiberByHostInstance||zm,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ji=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ji.isDisabled&&ji.supportsFiber)try{Ms=ji.inject($m),Jn=ji}catch{}}Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vm;Rt.createPortal=Qp;Rt.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(I(188)):Error(I(268,Object.keys(e)));return e=Ud(t),e=e===null?null:e.stateNode,e};Rt.flushSync=function(e,t){var n=te;if((n&48)!==0)return e(t);te|=1;try{if(e)return rr(99,e.bind(null,t))}finally{te=n,qt()}};Rt.hydrate=function(e,t,n){if(!Si(t))throw Error(I(200));return Zl(null,e,t,!0,n)};Rt.render=function(e,t,n){if(!Si(t))throw Error(I(200));return Zl(null,e,t,!1,n)};Rt.unmountComponentAtNode=function(e){if(!Si(e))throw Error(I(40));return e._reactRootContainer?(Bp(function(){Zl(null,null,e,!1,function(){e._reactRootContainer=null,e[Xr]=null})}),!0):!1};Rt.unstable_batchedUpdates=Hp;Rt.unstable_createPortal=function(e,t){return Qp(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};Rt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Si(n))throw Error(I(200));if(e==null||e._reactInternals===void 0)throw Error(I(38));return Zl(e,t,n,!1,r)};Rt.version="17.0.2";(function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Rt})(fs);const Hm=hi(fs.exports);var $r={},Mn={exports:{}},Bm="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Wm=Bm,Ym=Wm;function Zp(){}function Jp(){}Jp.resetWarningCache=Zp;var Xm=function(){function e(r,o,i,l,a,u){if(u!==Ym){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Jp,resetWarningCache:Zp};return n.PropTypes=n,n};Mn.exports=Xm();var Jl={exports:{}},Km=function(e,t,n,r,o,i,l,a){if(!e){var u;if(t===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,l,a],p=0;u=new Error(t.replace(/%s/g,function(){return s[p++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}},Gm=Km,Ut=Gm,Vu=Object.prototype.hasOwnProperty,qm=Array.prototype.splice,Qm=Object.prototype.toString,er=function(e){return Qm.call(e).slice(8,-1)},$u=Object.assign||function(t,n){return nf(n).forEach(function(r){Vu.call(n,r)&&(t[r]=n[r])}),t},nf=typeof Object.getOwnPropertySymbols=="function"?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)};function cn(e){if(Array.isArray(e))return $u(e.constructor(e.length),e);if(er(e)==="Map")return new Map(e);if(er(e)==="Set")return new Set(e);if(e&&typeof e=="object"){var t=Object.getPrototypeOf(e);return $u(Object.create(t),e)}else return e}function eh(){var e=$u({},Zm);return t.extend=function(n,r){e[n]=r},t.isEquals=function(n,r){return n===r},t;function t(n,r){typeof r=="function"&&(r={$apply:r}),Array.isArray(n)&&Array.isArray(r)||Ut(!Array.isArray(r),"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."),Ut(typeof r=="object"&&r!==null,"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: %s.",Object.keys(e).join(", "));var o=n;return nf(r).forEach(function(i){if(Vu.call(e,i)){var l=n===o;o=e[i](r[i],o,r,n),l&&t.isEquals(o,n)&&(o=n)}else{var a=er(n)==="Map"?t(n.get(i),r[i]):t(n[i],r[i]),u=er(o)==="Map"?o.get(i):o[i];(!t.isEquals(a,u)||typeof a>"u"&&!Vu.call(n,i))&&(o===n&&(o=cn(n)),er(o)==="Map"?o.set(i,a):o[i]=a)}}),o}}var Zm={$push:function(e,t,n){return Uc(t,n,"$push"),e.length?t.concat(e):t},$unshift:function(e,t,n){return Uc(t,n,"$unshift"),e.length?e.concat(t):t},$splice:function(e,t,n,r){return Jm(t,n),e.forEach(function(o){nh(o),t===r&&o.length&&(t=cn(r)),qm.apply(t,o)}),t},$set:function(e,t,n){return tg(n),e},$toggle:function(e,t){xo(e,"$toggle");var n=e.length?cn(t):t;return e.forEach(function(r){n[r]=!t[r]}),n},$unset:function(e,t,n,r){return xo(e,"$unset"),e.forEach(function(o){Object.hasOwnProperty.call(t,o)&&(t===r&&(t=cn(r)),delete t[o])}),t},$add:function(e,t,n,r){return Vc(t,"$add"),xo(e,"$add"),er(t)==="Map"?e.forEach(function(o){var i=o[0],l=o[1];t===r&&t.get(i)!==l&&(t=cn(r)),t.set(i,l)}):e.forEach(function(o){t===r&&!t.has(o)&&(t=cn(r)),t.add(o)}),t},$remove:function(e,t,n,r){return Vc(t,"$remove"),xo(e,"$remove"),e.forEach(function(o){t===r&&t.has(o)&&(t=cn(r)),t.delete(o)}),t},$merge:function(e,t,n,r){return ng(t,e),nf(e).forEach(function(o){e[o]!==t[o]&&(t===r&&(t=cn(r)),t[o]=e[o])}),t},$apply:function(e,t){return eg(e),e(t)}},th=eh();Jl.exports=th;Jl.exports.default=th;Jl.exports.newContext=eh;function Uc(e,t,n){Ut(Array.isArray(e),"update(): expected target of %s to be an array; got %s.",n,e),xo(t[n],n)}function xo(e,t){Ut(Array.isArray(e),"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",t,e)}function Jm(e,t){Ut(Array.isArray(e),"Expected $splice target to be an array; got %s",e),nh(t.$splice)}function nh(e){Ut(Array.isArray(e),"update(): expected spec of $splice to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",e)}function eg(e){Ut(typeof e=="function","update(): expected spec of $apply to be a function; got %s.",e)}function tg(e){Ut(Object.keys(e).length===1,"Cannot have more than one key in an object with $set")}function ng(e,t){Ut(t&&typeof t=="object","update(): $merge expects a spec of type 'object'; got %s",t),Ut(e&&typeof e=="object","update(): $merge expects a target of type 'object'; got %s",e)}function Vc(e,t){var n=er(e);Ut(n==="Map"||n==="Set","update(): %s expects a target of type Set or Map; got %s",t,n)}var Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.PivotData=Fe.sortAs=Fe.getSort=Fe.numberFormat=Fe.naturalSort=Fe.locales=Fe.derivers=Fe.aggregators=Fe.aggregatorTemplates=void 0;var rg=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),dr=function(){function e(t,n){var r=[],o=!0,i=!1,l=void 0;try{for(var a=t[Symbol.iterator](),u;!(o=(u=a.next()).done)&&(r.push(u.value),!(n&&r.length===n));o=!0);}catch(s){i=!0,l=s}finally{try{!o&&a.return&&a.return()}finally{if(i)throw l}}return r}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),og=Mn.exports,Re=ig(og);function ig(e){return e&&e.__esModule?e:{default:e}}function lg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fa(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var ag=function(t,n,r){for(var o=String(t).split("."),i=o[0],l=o.length>1?r+o[1]:"",a=/(\d+)(\d{3})/;a.test(i);)i=i.replace(a,"$1"+n+"$2");return i+l},ea=function(t){var n={digitsAfterDecimal:2,scaler:1,thousandsSep:",",decimalSep:".",prefix:"",suffix:""},r=Object.assign({},n,t);return function(o){if(isNaN(o)||!isFinite(o))return"";var i=ag((r.scaler*o).toFixed(r.digitsAfterDecimal),r.thousandsSep,r.decimalSep);return""+r.prefix+i+r.suffix}},$c=/(\d+)|(\D+)/g,zi=/\d/,Hc=/^0/,Zn=function(t,n){if(n!==null&&t===null)return-1;if(t!==null&&n===null)return 1;if(typeof t=="number"&&isNaN(t))return-1;if(typeof n=="number"&&isNaN(n))return 1;var r=Number(t),o=Number(n);if(r<o)return-1;if(r>o)return 1;if(typeof t=="number"&&typeof n!="number")return-1;if(typeof n=="number"&&typeof t!="number")return 1;if(typeof t=="number"&&typeof n=="number")return 0;if(isNaN(o)&&!isNaN(r))return-1;if(isNaN(r)&&!isNaN(o))return 1;var i=String(t),l=String(n);if(i===l)return 0;if(!zi.test(i)||!zi.test(l))return i>l?1:-1;for(i=i.match($c),l=l.match($c);i.length&&l.length;){var a=i.shift(),u=l.shift();if(a!==u)return zi.test(a)&&zi.test(u)?a.replace(Hc,".0")-u.replace(Hc,".0"):a>u?1:-1}return i.length-l.length},ug=function(t){var n={},r={};for(var o in t){var i=t[o];n[i]=o,typeof i=="string"&&(r[i.toLowerCase()]=o)}return function(l,a){return l in n&&a in n?n[l]-n[a]:l in n?-1:a in n?1:l in r&&a in r?r[l]-r[a]:l in r?-1:a in r?1:Zn(l,a)}},rf=function(t,n){if(t){if(typeof t=="function"){var r=t(n);if(typeof r=="function")return r}else if(n in t)return t[n]}return Zn},ct=ea(),Bo=ea({digitsAfterDecimal:0}),Bn=ea({digitsAfterDecimal:1,scaler:100,suffix:"%"}),Ve={count:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bo;return function(){return function(){return{count:0,push:function(){this.count++},value:function(){return this.count},format:t}}}},uniques:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Bo;return function(r){var o=dr(r,1),i=o[0];return function(){return{uniq:[],push:function(a){Array.from(this.uniq).includes(a[i])||this.uniq.push(a[i])},value:function(){return t(this.uniq)},format:n,numInputs:typeof i<"u"?0:1}}}},sum:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ct;return function(n){var r=dr(n,1),o=r[0];return function(){return{sum:0,push:function(l){isNaN(parseFloat(l[o]))||(this.sum+=parseFloat(l[o]))},value:function(){return this.sum},format:t,numInputs:typeof o<"u"?0:1}}}},extremes:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ct;return function(r){var o=dr(r,1),i=o[0];return function(l){return{val:null,sorter:rf(typeof l<"u"?l.sorters:null,i),push:function(u){var s=u[i];["min","max"].includes(t)&&(s=parseFloat(s),isNaN(s)||(this.val=Math[t](s,this.val!==null?this.val:s))),t==="first"&&this.sorter(s,this.val!==null?this.val:s)<=0&&(this.val=s),t==="last"&&this.sorter(s,this.val!==null?this.val:s)>=0&&(this.val=s)},value:function(){return this.val},format:function(u){return isNaN(u)?u:n(u)},numInputs:typeof i<"u"?0:1}}}},quantile:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ct;return function(r){var o=dr(r,1),i=o[0];return function(){return{vals:[],push:function(a){var u=parseFloat(a[i]);isNaN(u)||this.vals.push(u)},value:function(){if(this.vals.length===0)return null;this.vals.sort(function(u,s){return u-s});var a=(this.vals.length-1)*t;return(this.vals[Math.floor(a)]+this.vals[Math.ceil(a)])/2},format:n,numInputs:typeof i<"u"?0:1}}}},runningStat:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"mean",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ct;return function(o){var i=dr(o,1),l=i[0];return function(){return{n:0,m:0,s:0,push:function(u){var s=parseFloat(u[l]);if(!isNaN(s)){this.n+=1,this.n===1&&(this.m=s);var p=this.m+(s-this.m)/this.n;this.s=this.s+(s-this.m)*(s-p),this.m=p}},value:function(){if(t==="mean")return this.n===0?0/0:this.m;if(this.n<=n)return 0;switch(t){case"var":return this.s/(this.n-n);case"stdev":return Math.sqrt(this.s/(this.n-n));default:throw new Error("unknown mode for runningStat")}},format:r,numInputs:typeof l<"u"?0:1}}}},sumOverSum:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ct;return function(n){var r=dr(n,2),o=r[0],i=r[1];return function(){return{sumNum:0,sumDenom:0,push:function(a){isNaN(parseFloat(a[o]))||(this.sumNum+=parseFloat(a[o])),isNaN(parseFloat(a[i]))||(this.sumDenom+=parseFloat(a[i]))},value:function(){return this.sumNum/this.sumDenom},format:t,numInputs:typeof o<"u"&&typeof i<"u"?0:2}}}},fractionOf:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"total",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Bn;return function(){for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return function(a,u,s){return{selector:{total:[[],[]],row:[u,[]],col:[[],s]}[n],inner:t.apply(void 0,Fa(Array.from(i||[])))(a,u,s),push:function(y){this.inner.push(y)},format:r,value:function(){return this.inner.value()/a.getAggregator.apply(a,Fa(Array.from(this.selector||[]))).inner.value()},numInputs:t.apply(void 0,Fa(Array.from(i||[])))().numInputs}}}}};Ve.countUnique=function(e){return Ve.uniques(function(t){return t.length},e)};Ve.listUnique=function(e){return Ve.uniques(function(t){return t.join(e)},function(t){return t})};Ve.max=function(e){return Ve.extremes("max",e)};Ve.min=function(e){return Ve.extremes("min",e)};Ve.first=function(e){return Ve.extremes("first",e)};Ve.last=function(e){return Ve.extremes("last",e)};Ve.median=function(e){return Ve.quantile(.5,e)};Ve.average=function(e){return Ve.runningStat("mean",1,e)};Ve.var=function(e,t){return Ve.runningStat("var",e,t)};Ve.stdev=function(e,t){return Ve.runningStat("stdev",e,t)};var of=function(e){return{Count:e.count(Bo),"Count Unique Values":e.countUnique(Bo),"List Unique Values":e.listUnique(", "),Sum:e.sum(ct),"Integer Sum":e.sum(Bo),Average:e.average(ct),Median:e.median(ct),"Sample Variance":e.var(1,ct),"Sample Standard Deviation":e.stdev(1,ct),Minimum:e.min(ct),Maximum:e.max(ct),First:e.first(ct),Last:e.last(ct),"Sum over Sum":e.sumOverSum(ct),"Sum as Fraction of Total":e.fractionOf(e.sum(),"total",Bn),"Sum as Fraction of Rows":e.fractionOf(e.sum(),"row",Bn),"Sum as Fraction of Columns":e.fractionOf(e.sum(),"col",Bn),"Count as Fraction of Total":e.fractionOf(e.count(),"total",Bn),"Count as Fraction of Rows":e.fractionOf(e.count(),"row",Bn),"Count as Fraction of Columns":e.fractionOf(e.count(),"col",Bn)}}(Ve),sg={en:{aggregators:of,localeStrings:{renderError:"An error occurred rendering the PivotTable results.",computeError:"An error occurred computing the PivotTable results.",uiRenderError:"An error occurred rendering the PivotTable UI.",selectAll:"Select All",selectNone:"Select None",tooMany:"(too many to list)",filterResults:"Filter values",apply:"Apply",cancel:"Cancel",totals:"Totals",vs:"vs",by:"by"}}},fg=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cg=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],go=function(t){return("0"+t).substr(-2,2)},dg={bin:function(t,n){return function(r){return r[t]-r[t]%n}},dateFormat:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:fg,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:cg,l=r?"UTC":"";return function(a){var u=new Date(Date.parse(a[t]));return isNaN(u)?"":n.replace(/%(.)/g,function(s,p){switch(p){case"y":return u["get"+l+"FullYear"]();case"m":return go(u["get"+l+"Month"]()+1);case"n":return o[u["get"+l+"Month"]()];case"d":return go(u["get"+l+"Date"]());case"w":return i[u["get"+l+"Day"]()];case"x":return u["get"+l+"Day"]();case"H":return go(u["get"+l+"Hours"]());case"M":return go(u["get"+l+"Minutes"]());case"S":return go(u["get"+l+"Seconds"]());default:return"%"+p}})}}},ta=function(){function e(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};lg(this,e),this.props=Object.assign({},e.defaultProps,n),Re.default.checkPropTypes(e.propTypes,this.props,"prop","PivotData"),this.aggregator=this.props.aggregators[this.props.aggregatorName](this.props.vals),this.tree={},this.rowKeys=[],this.colKeys=[],this.rowTotals={},this.colTotals={},this.allTotal=this.aggregator(this,[],[]),this.sorted=!1,e.forEachRecord(this.props.data,this.props.derivedAttributes,function(r){t.filter(r)&&t.processRecord(r)})}return rg(e,[{key:"filter",value:function(n){for(var r in this.props.valueFilter)if(n[r]in this.props.valueFilter[r])return!1;return!0}},{key:"forEachMatchingRecord",value:function(n,r){var o=this;return e.forEachRecord(this.props.data,this.props.derivedAttributes,function(i){if(!!o.filter(i)){for(var l in n){var a=n[l];if(a!==(l in i?i[l]:"null"))return}r(i)}})}},{key:"arrSort",value:function(n){var r=this,o=void 0,i=function(){var l=[],a=!0,u=!1,s=void 0;try{for(var p=Array.from(n)[Symbol.iterator](),y;!(a=(y=p.next()).done);a=!0)o=y.value,l.push(rf(r.props.sorters,o))}catch(g){u=!0,s=g}finally{try{!a&&p.return&&p.return()}finally{if(u)throw s}}return l}();return function(l,a){var u=!0,s=!1,p=void 0;try{for(var y=Object.keys(i||{})[Symbol.iterator](),g;!(u=(g=y.next()).done);u=!0){var O=g.value,k=i[O],S=k(l[O],a[O]);if(S!==0)return S}}catch(c){s=!0,p=c}finally{try{!u&&y.return&&y.return()}finally{if(s)throw p}}return 0}}},{key:"sortKeys",value:function(){var n=this;if(!this.sorted){this.sorted=!0;var r=function(i,l){return n.getAggregator(i,l).value()};switch(this.props.rowOrder){case"value_a_to_z":this.rowKeys.sort(function(o,i){return Zn(r(o,[]),r(i,[]))});break;case"value_z_to_a":this.rowKeys.sort(function(o,i){return-Zn(r(o,[]),r(i,[]))});break;default:this.rowKeys.sort(this.arrSort(this.props.rows))}switch(this.props.colOrder){case"value_a_to_z":this.colKeys.sort(function(o,i){return Zn(r([],o),r([],i))});break;case"value_z_to_a":this.colKeys.sort(function(o,i){return-Zn(r([],o),r([],i))});break;default:this.colKeys.sort(this.arrSort(this.props.cols))}}}},{key:"getColKeys",value:function(){return this.sortKeys(),this.colKeys}},{key:"getRowKeys",value:function(){return this.sortKeys(),this.rowKeys}},{key:"processRecord",value:function(n){var r=[],o=[],i=!0,l=!1,a=void 0;try{for(var u=Array.from(this.props.cols)[Symbol.iterator](),s;!(i=(s=u.next()).done);i=!0){var p=s.value;r.push(p in n?n[p]:"null")}}catch(h){l=!0,a=h}finally{try{!i&&u.return&&u.return()}finally{if(l)throw a}}var y=!0,g=!1,O=void 0;try{for(var k=Array.from(this.props.rows)[Symbol.iterator](),S;!(y=(S=k.next()).done);y=!0){var c=S.value;o.push(c in n?n[c]:"null")}}catch(h){g=!0,O=h}finally{try{!y&&k.return&&k.return()}finally{if(g)throw O}}var f=o.join(String.fromCharCode(0)),d=r.join(String.fromCharCode(0));this.allTotal.push(n),o.length!==0&&(this.rowTotals[f]||(this.rowKeys.push(o),this.rowTotals[f]=this.aggregator(this,o,[])),this.rowTotals[f].push(n)),r.length!==0&&(this.colTotals[d]||(this.colKeys.push(r),this.colTotals[d]=this.aggregator(this,[],r)),this.colTotals[d].push(n)),r.length!==0&&o.length!==0&&(this.tree[f]||(this.tree[f]={}),this.tree[f][d]||(this.tree[f][d]=this.aggregator(this,o,r)),this.tree[f][d].push(n))}},{key:"getAggregator",value:function(n,r){var o=void 0,i=n.join(String.fromCharCode(0)),l=r.join(String.fromCharCode(0));return n.length===0&&r.length===0?o=this.allTotal:n.length===0?o=this.colTotals[l]:r.length===0?o=this.rowTotals[i]:o=this.tree[i][l],o||{value:function(){return null},format:function(){return""}}}}]),e}();ta.forEachRecord=function(e,t,n){var r=void 0,o=void 0;if(Object.getOwnPropertyNames(t).length===0?r=n:r=function(l){for(var a in t){var u=t[a](l);u!==null&&(l[a]=u)}return n(l)},typeof e=="function")return e(r);if(Array.isArray(e))return Array.isArray(e[0])?function(){var i=[],l=!0,a=!1,u=void 0;try{for(var s=Object.keys(e||{})[Symbol.iterator](),p;!(l=(p=s.next()).done);l=!0){var y=p.value,g=e[y];if(y>0){o={};var O=!0,k=!1,S=void 0;try{for(var c=Object.keys(e[0]||{})[Symbol.iterator](),f;!(O=(f=c.next()).done);O=!0){var d=f.value,h=e[0][d];o[h]=g[d]}}catch(v){k=!0,S=v}finally{try{!O&&c.return&&c.return()}finally{if(k)throw S}}i.push(r(o))}}}catch(v){a=!0,u=v}finally{try{!l&&s.return&&s.return()}finally{if(a)throw u}}return i}():function(){var i=[],l=!0,a=!1,u=void 0;try{for(var s=Array.from(e)[Symbol.iterator](),p;!(l=(p=s.next()).done);l=!0)o=p.value,i.push(r(o))}catch(y){a=!0,u=y}finally{try{!l&&s.return&&s.return()}finally{if(a)throw u}}return i}();throw new Error("unknown input format")};ta.defaultProps={aggregators:of,cols:[],rows:[],vals:[],aggregatorName:"Count",sorters:{},valueFilter:{},rowOrder:"key_a_to_z",colOrder:"key_a_to_z",derivedAttributes:{}};ta.propTypes={data:Re.default.oneOfType([Re.default.array,Re.default.object,Re.default.func]).isRequired,aggregatorName:Re.default.string,cols:Re.default.arrayOf(Re.default.string),rows:Re.default.arrayOf(Re.default.string),vals:Re.default.arrayOf(Re.default.string),valueFilter:Re.default.objectOf(Re.default.objectOf(Re.default.bool)),sorters:Re.default.oneOfType([Re.default.func,Re.default.objectOf(Re.default.func)]),derivedAttributes:Re.default.objectOf(Re.default.func),rowOrder:Re.default.oneOf(["key_a_to_z","value_a_to_z","value_z_to_a"]),colOrder:Re.default.oneOf(["key_a_to_z","value_a_to_z","value_z_to_a"])};Fe.aggregatorTemplates=Ve;Fe.aggregators=of;Fe.derivers=dg;Fe.locales=sg;Fe.naturalSort=Zn;Fe.numberFormat=ea;Fe.getSort=rf;Fe.sortAs=ug;Fe.PivotData=ta;var Hu={exports:{}},Nl={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function c(f,d){for(var h=0;h<d.length;h++){var v=d[h];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(f,v.key,v)}}return function(f,d,h){return d&&c(f.prototype,d),h&&c(f,h),f}}(),r=Ee.exports,o=u(r),i=Mn.exports,l=u(i),a=Fe;function u(c){return c&&c.__esModule?c:{default:c}}function s(c,f){if(!(c instanceof f))throw new TypeError("Cannot call a class as a function")}function p(c,f){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:c}function y(c,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);c.prototype=Object.create(f&&f.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(c,f):c.__proto__=f)}var g=function(f,d,h){var v=void 0;if(d!==0){var _=void 0,E=void 0,P=!0;for(v=0,E=h,_=E>=0;_?v<=E:v>=E;_?v++:v--)f[d-1][v]!==f[d][v]&&(P=!1);if(P)return-1}for(var b=0;d+b<f.length;){var D=void 0,j=void 0,N=!1;for(v=0,j=h,D=j>=0;D?v<=j:v>=j;D?v++:v--)f[d][v]!==f[d+b][v]&&(N=!0);if(N)break;b++}return b};function O(c){var f=Math.min.apply(Math,c),d=Math.max.apply(Math,c);return function(h){var v=255-Math.round(255*(h-f)/(d-f));return{backgroundColor:"rgb(255,"+v+","+v+")"}}}function k(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f=function(d){y(h,d);function h(){return s(this,h),p(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return n(h,[{key:"render",value:function(){var _=this,E=new a.PivotData(this.props),P=E.props.cols,b=E.props.rows,D=E.getRowKeys(),j=E.getColKeys(),N=E.getAggregator([],[]),$=function(){},M=function(){},G=function(){};if(c.heatmapMode){var ne=this.props.tableColorScaleGenerator,W=j.map(function(A){return E.getAggregator([],A).value()});M=ne(W);var re=D.map(function(A){return E.getAggregator(A,[]).value()});if(G=ne(re),c.heatmapMode==="full"){var H=[];D.map(function(A){return j.map(function(U){return H.push(E.getAggregator(A,U).value())})});var ae=ne(H);$=function(U,J,se){return ae(se)}}else if(c.heatmapMode==="row"){var $e={};D.map(function(A){var U=j.map(function(J){return E.getAggregator(A,J).value()});$e[A]=ne(U)}),$=function(U,J,se){return $e[U](se)}}else if(c.heatmapMode==="col"){var R={};j.map(function(A){var U=D.map(function(J){return E.getAggregator(J,A).value()});R[A]=ne(U)}),$=function(U,J,se){return R[J](se)}}}var L=this.props.tableOptions&&this.props.tableOptions.clickCallback?function(A,U,J){var se={},de=!0,me=!1,He=void 0;try{for(var Vt=Object.keys(P||{})[Symbol.iterator](),It;!(de=(It=Vt.next()).done);de=!0){var $t=It.value,Zr=P[$t];J[$t]!==null&&(se[Zr]=J[$t])}}catch(Fn){me=!0,He=Fn}finally{try{!de&&Vt.return&&Vt.return()}finally{if(me)throw He}}var sr=!0,Jr=!1,Qt=void 0;try{for(var eo=Object.keys(b||{})[Symbol.iterator](),Oi;!(sr=(Oi=eo.next()).done);sr=!0){var to=Oi.value,Zr=b[to];U[to]!==null&&(se[Zr]=U[to])}}catch(Fn){Jr=!0,Qt=Fn}finally{try{!sr&&eo.return&&eo.return()}finally{if(Jr)throw Qt}}return function(Fn){return _.props.tableOptions.clickCallback(Fn,A,se,E)}}:null;return o.default.createElement("table",{className:"pvtTable"},o.default.createElement("thead",null,P.map(function(A,U){return o.default.createElement("tr",{key:"colAttr"+U},U===0&&b.length!==0&&o.default.createElement("th",{colSpan:b.length,rowSpan:P.length}),o.default.createElement("th",{className:"pvtAxisLabel"},A),j.map(function(J,se){var de=g(j,se,U);return de===-1?null:o.default.createElement("th",{className:"pvtColLabel",key:"colKey"+se,colSpan:de,rowSpan:U===P.length-1&&b.length!==0?2:1},J[U])}),U===0&&o.default.createElement("th",{className:"pvtTotalLabel",rowSpan:P.length+(b.length===0?0:1)},"Totals"))}),b.length!==0&&o.default.createElement("tr",null,b.map(function(A,U){return o.default.createElement("th",{className:"pvtAxisLabel",key:"rowAttr"+U},A)}),o.default.createElement("th",{className:"pvtTotalLabel"},P.length===0?"Totals":null))),o.default.createElement("tbody",null,D.map(function(A,U){var J=E.getAggregator(A,[]);return o.default.createElement("tr",{key:"rowKeyRow"+U},A.map(function(se,de){var me=g(D,U,de);return me===-1?null:o.default.createElement("th",{key:"rowKeyLabel"+U+"-"+de,className:"pvtRowLabel",rowSpan:me,colSpan:de===b.length-1&&P.length!==0?2:1},se)}),j.map(function(se,de){var me=E.getAggregator(A,se);return o.default.createElement("td",{className:"pvtVal",key:"pvtVal"+U+"-"+de,onClick:L&&L(me.value(),A,se),style:$(A,se,me.value())},me.format(me.value()))}),o.default.createElement("td",{className:"pvtTotal",onClick:L&&L(J.value(),A,[null]),style:G(J.value())},J.format(J.value())))}),o.default.createElement("tr",null,o.default.createElement("th",{className:"pvtTotalLabel",colSpan:b.length+(P.length===0?0:1)},"Totals"),j.map(function(A,U){var J=E.getAggregator([],A);return o.default.createElement("td",{className:"pvtTotal",key:"total"+U,onClick:L&&L(J.value(),[null],A),style:M(J.value())},J.format(J.value()))}),o.default.createElement("td",{onClick:L&&L(N.value(),[null],[null]),className:"pvtGrandTotal"},N.format(N.value())))))}}]),h}(o.default.PureComponent);return f.defaultProps=a.PivotData.defaultProps,f.propTypes=a.PivotData.propTypes,f.defaultProps.tableColorScaleGenerator=O,f.defaultProps.tableOptions={},f.propTypes.tableColorScaleGenerator=l.default.func,f.propTypes.tableOptions=l.default.object,f}var S=function(c){y(f,c);function f(){return s(this,f),p(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}return n(f,[{key:"render",value:function(){var h=new a.PivotData(this.props),v=h.getRowKeys(),_=h.getColKeys();v.length===0&&v.push([]),_.length===0&&_.push([]);var E=h.props.rows.map(function(b){return b});_.length===1&&_[0].length===0?E.push(this.props.aggregatorName):_.map(function(b){return E.push(b.join("-"))});var P=v.map(function(b){var D=b.map(function(j){return j});return _.map(function(j){var N=h.getAggregator(b,j).value();D.push(N||"")}),D});return P.unshift(E),o.default.createElement("textarea",{value:P.map(function(b){return b.join("	")}).join(`
`),style:{width:window.innerWidth/2,height:window.innerHeight/2},readOnly:!0})}}]),f}(o.default.PureComponent);S.defaultProps=a.PivotData.defaultProps,S.propTypes=a.PivotData.propTypes,t.default={Table:k(),"Table Heatmap":k({heatmapMode:"full"}),"Table Col Heatmap":k({heatmapMode:"col"}),"Table Row Heatmap":k({heatmapMode:"row"}),"Exportable TSV":S},e.exports=t.default})(Nl,Nl.exports);const pg=hi(Nl.exports);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function S(c,f){for(var d=0;d<f.length;d++){var h=f[d];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,h.key,h)}}return function(c,f,d){return f&&S(c.prototype,f),d&&S(c,d),c}}(),r=Ee.exports,o=p(r),i=Mn.exports,l=p(i),a=Fe,u=Nl.exports,s=p(u);function p(S){return S&&S.__esModule?S:{default:S}}function y(S,c){if(!(S instanceof c))throw new TypeError("Cannot call a class as a function")}function g(S,c){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:S}function O(S,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);S.prototype=Object.create(c&&c.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(S,c):S.__proto__=c)}var k=function(S){O(c,S);function c(){return y(this,c),g(this,(c.__proto__||Object.getPrototypeOf(c)).apply(this,arguments))}return n(c,[{key:"render",value:function(){var d=this.props.renderers[this.props.rendererName in this.props.renderers?this.props.rendererName:Object.keys(this.props.renderers)[0]];return o.default.createElement(d,this.props)}}]),c}(o.default.PureComponent);k.propTypes=Object.assign({},a.PivotData.propTypes,{rendererName:l.default.string,renderers:l.default.objectOf(l.default.func)}),k.defaultProps=Object.assign({},a.PivotData.defaultProps,{rendererName:"Table",renderers:s.default}),t.default=k,e.exports=t.default})(Hu,Hu.exports);var na={};/**!
 * Sortable 1.15.0
 * @author	RubaXa   <trash@rubaxa.org>
 * @author	owenm    <owen23355@gmail.com>
 * @license MIT
 */function Bc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Gt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Bc(Object(n),!0).forEach(function(r){hg(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function rl(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?rl=function(t){return typeof t}:rl=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rl(e)}function hg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nt(){return Nt=Object.assign||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},Nt.apply(this,arguments)}function vg(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function mg(e,t){if(e==null)return{};var n=vg(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function gg(e){return yg(e)||wg(e)||Sg(e)||Eg()}function yg(e){if(Array.isArray(e))return Bu(e)}function wg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Sg(e,t){if(!!e){if(typeof e=="string")return Bu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bu(e,t)}}function Bu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Eg(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _g="1.15.0";function on(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var un=on(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ei=on(/Edge/i),Wc=on(/firefox/i),Wo=on(/safari/i)&&!on(/chrome/i)&&!on(/android/i),rh=on(/iP(ad|od|hone)/i),oh=on(/chrome/i)&&on(/android/i),ih={capture:!1,passive:!1};function fe(e,t,n){e.addEventListener(t,n,!un&&ih)}function ue(e,t,n){e.removeEventListener(t,n,!un&&ih)}function Rl(e,t){if(!!t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function Cg(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function jt(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Rl(e,t):Rl(e,t))||r&&e===n)return e;if(e===n)break}while(e=Cg(e))}return null}var Yc=/\s+/g;function Ae(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Yc," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Yc," ")}}function Y(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function tr(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Y(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function lh(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o<i;o++)n(r[o],o);return r}return[]}function Kt(){var e=document.scrollingElement;return e||document.documentElement}function be(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var i,l,a,u,s,p,y;if(e!==window&&e.parentNode&&e!==Kt()?(i=e.getBoundingClientRect(),l=i.top,a=i.left,u=i.bottom,s=i.right,p=i.height,y=i.width):(l=0,a=0,u=window.innerHeight,s=window.innerWidth,p=window.innerHeight,y=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!un))do if(o&&o.getBoundingClientRect&&(Y(o,"transform")!=="none"||n&&Y(o,"position")!=="static")){var g=o.getBoundingClientRect();l-=g.top+parseInt(Y(o,"border-top-width")),a-=g.left+parseInt(Y(o,"border-left-width")),u=l+i.height,s=a+i.width;break}while(o=o.parentNode);if(r&&e!==window){var O=tr(o||e),k=O&&O.a,S=O&&O.d;O&&(l/=S,a/=k,y/=k,p/=S,u=l+p,s=a+y)}return{top:l,left:a,bottom:u,right:s,width:y,height:p}}}function Xc(e,t,n){for(var r=wn(e,!0),o=be(e)[t];r;){var i=be(r)[n],l=void 0;if(n==="top"||n==="left"?l=o>=i:l=o<=i,!l)return r;if(r===Kt())break;r=wn(r,!1)}return!1}function Hr(e,t,n,r){for(var o=0,i=0,l=e.children;i<l.length;){if(l[i].style.display!=="none"&&l[i]!==ee.ghost&&(r||l[i]!==ee.dragged)&&jt(l[i],n.draggable,e,!1)){if(o===t)return l[i];o++}i++}return null}function lf(e,t){for(var n=e.lastElementChild;n&&(n===ee.ghost||Y(n,"display")==="none"||t&&!Rl(n,t));)n=n.previousElementSibling;return n||null}function je(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==ee.clone&&(!t||Rl(e,t))&&n++;return n}function Kc(e){var t=0,n=0,r=Kt();if(e)do{var o=tr(e),i=o.a,l=o.d;t+=e.scrollLeft*i,n+=e.scrollTop*l}while(e!==r&&(e=e.parentNode));return[t,n]}function Og(e,t){for(var n in e)if(!!e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function wn(e,t){if(!e||!e.getBoundingClientRect)return Kt();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=Y(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return Kt();if(r||t)return n;r=!0}}while(n=n.parentNode);return Kt()}function kg(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function La(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Yo;function ah(e,t){return function(){if(!Yo){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Yo=setTimeout(function(){Yo=void 0},t)}}}function Tg(){clearTimeout(Yo),Yo=void 0}function uh(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function af(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Gc(e,t){Y(e,"position","absolute"),Y(e,"top",t.top),Y(e,"left",t.left),Y(e,"width",t.width),Y(e,"height",t.height)}function ja(e){Y(e,"position",""),Y(e,"top",""),Y(e,"left",""),Y(e,"width",""),Y(e,"height","")}var it="Sortable"+new Date().getTime();function xg(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(Y(o,"display")==="none"||o===ee.ghost)){e.push({target:o,rect:be(o)});var i=Gt({},e[e.length-1].rect);if(o.thisAnimationDuration){var l=tr(o,!0);l&&(i.top-=l.f,i.left-=l.e)}o.fromRect=i}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(Og(e,{target:r}),1)},animateAll:function(r){var o=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var i=!1,l=0;e.forEach(function(a){var u=0,s=a.target,p=s.fromRect,y=be(s),g=s.prevFromRect,O=s.prevToRect,k=a.rect,S=tr(s,!0);S&&(y.top-=S.f,y.left-=S.e),s.toRect=y,s.thisAnimationDuration&&La(g,y)&&!La(p,y)&&(k.top-y.top)/(k.left-y.left)===(p.top-y.top)/(p.left-y.left)&&(u=Dg(k,g,O,o.options)),La(y,p)||(s.prevFromRect=p,s.prevToRect=y,u||(u=o.options.animation),o.animate(s,k,y,u)),u&&(i=!0,l=Math.max(l,u),clearTimeout(s.animationResetTimer),s.animationResetTimer=setTimeout(function(){s.animationTime=0,s.prevFromRect=null,s.fromRect=null,s.prevToRect=null,s.thisAnimationDuration=null},u),s.thisAnimationDuration=u)}),clearTimeout(t),i?t=setTimeout(function(){typeof r=="function"&&r()},l):typeof r=="function"&&r(),e=[]},animate:function(r,o,i,l){if(l){Y(r,"transition",""),Y(r,"transform","");var a=tr(this.el),u=a&&a.a,s=a&&a.d,p=(o.left-i.left)/(u||1),y=(o.top-i.top)/(s||1);r.animatingX=!!p,r.animatingY=!!y,Y(r,"transform","translate3d("+p+"px,"+y+"px,0)"),this.forRepaintDummy=Pg(r),Y(r,"transition","transform "+l+"ms"+(this.options.easing?" "+this.options.easing:"")),Y(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Y(r,"transition",""),Y(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},l)}}}}function Pg(e){return e.offsetWidth}function Dg(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}var pr=[],za={initializeByDefault:!0},_i={mount:function(t){for(var n in za)za.hasOwnProperty(n)&&!(n in t)&&(t[n]=za[n]);pr.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),pr.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var i=t+"Global";pr.forEach(function(l){!n[l.pluginName]||(n[l.pluginName][i]&&n[l.pluginName][i](Gt({sortable:n},r)),n.options[l.pluginName]&&n[l.pluginName][t]&&n[l.pluginName][t](Gt({sortable:n},r)))})},initializePlugins:function(t,n,r,o){pr.forEach(function(a){var u=a.pluginName;if(!(!t.options[u]&&!a.initializeByDefault)){var s=new a(t,n,t.options);s.sortable=t,s.options=t.options,t[u]=s,Nt(r,s.defaults)}});for(var i in t.options)if(!!t.options.hasOwnProperty(i)){var l=this.modifyOption(t,i,t.options[i]);typeof l<"u"&&(t.options[i]=l)}},getEventProperties:function(t,n){var r={};return pr.forEach(function(o){typeof o.eventProperties=="function"&&Nt(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return pr.forEach(function(i){!t[i.pluginName]||i.optionListeners&&typeof i.optionListeners[n]=="function"&&(o=i.optionListeners[n].call(t[i.pluginName],r))}),o}};function Po(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,i=e.cloneEl,l=e.toEl,a=e.fromEl,u=e.oldIndex,s=e.newIndex,p=e.oldDraggableIndex,y=e.newDraggableIndex,g=e.originalEvent,O=e.putSortable,k=e.extraEventProperties;if(t=t||n&&n[it],!!t){var S,c=t.options,f="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!un&&!Ei?S=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(S=document.createEvent("Event"),S.initEvent(r,!0,!0)),S.to=l||n,S.from=a||n,S.item=o||n,S.clone=i,S.oldIndex=u,S.newIndex=s,S.oldDraggableIndex=p,S.newDraggableIndex=y,S.originalEvent=g,S.pullMode=O?O.lastPutMode:void 0;var d=Gt(Gt({},k),_i.getEventProperties(r,t));for(var h in d)S[h]=d[h];n&&n.dispatchEvent(S),c[f]&&c[f].call(t,S)}}var bg=["evt"],vt=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,i=mg(r,bg);_i.pluginEvent.bind(ee)(t,n,Gt({dragEl:F,parentEl:Le,ghostEl:le,rootEl:De,nextEl:Wn,lastDownEl:ol,cloneEl:Ie,cloneHidden:vn,dragStarted:Do,putSortable:Ze,activeSortable:ee.active,originalEvent:o,oldIndex:xr,oldDraggableIndex:Xo,newIndex:Et,newDraggableIndex:pn,hideGhostForTarget:dh,unhideGhostForTarget:ph,cloneNowHidden:function(){vn=!0},cloneNowShown:function(){vn=!1},dispatchSortableEvent:function(a){ft({sortable:n,name:a,originalEvent:o})}},i))};function ft(e){Po(Gt({putSortable:Ze,cloneEl:Ie,targetEl:F,rootEl:De,oldIndex:xr,oldDraggableIndex:Xo,newIndex:Et,newDraggableIndex:pn},e))}var F,Le,le,De,Wn,ol,Ie,vn,xr,Et,Xo,pn,Ui,Ze,Sr=!1,Il=!1,Al=[],Vn,Mt,Ua,Va,qc,Qc,Do,hr,Ko,Go=!1,Vi=!1,il,rt,$a=[],Wu=!1,Ml=[],ra=typeof document<"u",$i=rh,Zc=Ei||un?"cssFloat":"float",Ng=ra&&!oh&&!rh&&"draggable"in document.createElement("div"),sh=function(){if(!!ra){if(un)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),fh=function(t,n){var r=Y(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),i=Hr(t,0,n),l=Hr(t,1,n),a=i&&Y(i),u=l&&Y(l),s=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+be(i).width,p=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+be(l).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&a.float!=="none"){var y=a.float==="left"?"left":"right";return l&&(u.clear==="both"||u.clear===y)?"vertical":"horizontal"}return i&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||s>=o&&r[Zc]==="none"||l&&r[Zc]==="none"&&s+p>o)?"vertical":"horizontal"},Rg=function(t,n,r){var o=r?t.left:t.top,i=r?t.right:t.bottom,l=r?t.width:t.height,a=r?n.left:n.top,u=r?n.right:n.bottom,s=r?n.width:n.height;return o===a||i===u||o+l/2===a+s/2},Ig=function(t,n){var r;return Al.some(function(o){var i=o[it].options.emptyInsertThreshold;if(!(!i||lf(o))){var l=be(o),a=t>=l.left-i&&t<=l.right+i,u=n>=l.top-i&&n<=l.bottom+i;if(a&&u)return r=o}}),r},ch=function(t){function n(i,l){return function(a,u,s,p){var y=a.options.group.name&&u.options.group.name&&a.options.group.name===u.options.group.name;if(i==null&&(l||y))return!0;if(i==null||i===!1)return!1;if(l&&i==="clone")return i;if(typeof i=="function")return n(i(a,u,s,p),l)(a,u,s,p);var g=(l?a:u).options.group.name;return i===!0||typeof i=="string"&&i===g||i.join&&i.indexOf(g)>-1}}var r={},o=t.group;(!o||rl(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},dh=function(){!sh&&le&&Y(le,"display","none")},ph=function(){!sh&&le&&Y(le,"display","")};ra&&!oh&&document.addEventListener("click",function(e){if(Il)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Il=!1,!1},!0);var $n=function(t){if(F){t=t.touches?t.touches[0]:t;var n=Ig(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[it]._onDragOver(r)}}},Ag=function(t){F&&F.parentNode[it]._isOutsideThisEl(t.target)};function ee(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Nt({},t),e[it]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return fh(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(l,a){l.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:ee.supportPointer!==!1&&"PointerEvent"in window&&!Wo,emptyInsertThreshold:5};_i.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);ch(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:Ng,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?fe(e,"pointerdown",this._onTapStart):(fe(e,"mousedown",this._onTapStart),fe(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(fe(e,"dragover",this),fe(e,"dragenter",this)),Al.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Nt(this,xg())}ee.prototype={constructor:ee,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(hr=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,F):this.options.direction},_onTapStart:function(t){if(!!t.cancelable){var n=this,r=this.el,o=this.options,i=o.preventOnFilter,l=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,u=(a||t).target,s=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||u,p=o.filter;if($g(r),!F&&!(/mousedown|pointerdown/.test(l)&&t.button!==0||o.disabled)&&!s.isContentEditable&&!(!this.nativeDraggable&&Wo&&u&&u.tagName.toUpperCase()==="SELECT")&&(u=jt(u,o.draggable,r,!1),!(u&&u.animated)&&ol!==u)){if(xr=je(u),Xo=je(u,o.draggable),typeof p=="function"){if(p.call(this,t,u,this)){ft({sortable:n,rootEl:s,name:"filter",targetEl:u,toEl:r,fromEl:r}),vt("filter",n,{evt:t}),i&&t.cancelable&&t.preventDefault();return}}else if(p&&(p=p.split(",").some(function(y){if(y=jt(s,y.trim(),r,!1),y)return ft({sortable:n,rootEl:y,name:"filter",targetEl:u,fromEl:r,toEl:r}),vt("filter",n,{evt:t}),!0}),p)){i&&t.cancelable&&t.preventDefault();return}o.handle&&!jt(s,o.handle,r,!1)||this._prepareDragStart(t,a,u)}}},_prepareDragStart:function(t,n,r){var o=this,i=o.el,l=o.options,a=i.ownerDocument,u;if(r&&!F&&r.parentNode===i){var s=be(r);if(De=i,F=r,Le=F.parentNode,Wn=F.nextSibling,ol=r,Ui=l.group,ee.dragged=F,Vn={target:F,clientX:(n||t).clientX,clientY:(n||t).clientY},qc=Vn.clientX-s.left,Qc=Vn.clientY-s.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,F.style["will-change"]="all",u=function(){if(vt("delayEnded",o,{evt:t}),ee.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Wc&&o.nativeDraggable&&(F.draggable=!0),o._triggerDragStart(t,n),ft({sortable:o,name:"choose",originalEvent:t}),Ae(F,l.chosenClass,!0)},l.ignore.split(",").forEach(function(p){lh(F,p.trim(),Ha)}),fe(a,"dragover",$n),fe(a,"mousemove",$n),fe(a,"touchmove",$n),fe(a,"mouseup",o._onDrop),fe(a,"touchend",o._onDrop),fe(a,"touchcancel",o._onDrop),Wc&&this.nativeDraggable&&(this.options.touchStartThreshold=4,F.draggable=!0),vt("delayStart",this,{evt:t}),l.delay&&(!l.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ei||un))){if(ee.eventCanceled){this._onDrop();return}fe(a,"mouseup",o._disableDelayedDrag),fe(a,"touchend",o._disableDelayedDrag),fe(a,"touchcancel",o._disableDelayedDrag),fe(a,"mousemove",o._delayedDragTouchMoveHandler),fe(a,"touchmove",o._delayedDragTouchMoveHandler),l.supportPointer&&fe(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(u,l.delay)}else u()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){F&&Ha(F),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;ue(t,"mouseup",this._disableDelayedDrag),ue(t,"touchend",this._disableDelayedDrag),ue(t,"touchcancel",this._disableDelayedDrag),ue(t,"mousemove",this._delayedDragTouchMoveHandler),ue(t,"touchmove",this._delayedDragTouchMoveHandler),ue(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?fe(document,"pointermove",this._onTouchMove):n?fe(document,"touchmove",this._onTouchMove):fe(document,"mousemove",this._onTouchMove):(fe(F,"dragend",this),fe(De,"dragstart",this._onDragStart));try{document.selection?ll(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Sr=!1,De&&F){vt("dragStarted",this,{evt:n}),this.nativeDraggable&&fe(document,"dragover",Ag);var r=this.options;!t&&Ae(F,r.dragClass,!1),Ae(F,r.ghostClass,!0),ee.active=this,t&&this._appendGhost(),ft({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Mt){this._lastX=Mt.clientX,this._lastY=Mt.clientY,dh();for(var t=document.elementFromPoint(Mt.clientX,Mt.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Mt.clientX,Mt.clientY),t!==n);)n=t;if(F.parentNode[it]._isOutsideThisEl(t),n)do{if(n[it]){var r=void 0;if(r=n[it]._onDragOver({clientX:Mt.clientX,clientY:Mt.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);ph()}},_onTouchMove:function(t){if(Vn){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,i=t.touches?t.touches[0]:t,l=le&&tr(le,!0),a=le&&l&&l.a,u=le&&l&&l.d,s=$i&&rt&&Kc(rt),p=(i.clientX-Vn.clientX+o.x)/(a||1)+(s?s[0]-$a[0]:0)/(a||1),y=(i.clientY-Vn.clientY+o.y)/(u||1)+(s?s[1]-$a[1]:0)/(u||1);if(!ee.active&&!Sr){if(r&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(le){l?(l.e+=p-(Ua||0),l.f+=y-(Va||0)):l={a:1,b:0,c:0,d:1,e:p,f:y};var g="matrix(".concat(l.a,",").concat(l.b,",").concat(l.c,",").concat(l.d,",").concat(l.e,",").concat(l.f,")");Y(le,"webkitTransform",g),Y(le,"mozTransform",g),Y(le,"msTransform",g),Y(le,"transform",g),Ua=p,Va=y,Mt=i}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!le){var t=this.options.fallbackOnBody?document.body:De,n=be(F,!0,$i,!0,t),r=this.options;if($i){for(rt=t;Y(rt,"position")==="static"&&Y(rt,"transform")==="none"&&rt!==document;)rt=rt.parentNode;rt!==document.body&&rt!==document.documentElement?(rt===document&&(rt=Kt()),n.top+=rt.scrollTop,n.left+=rt.scrollLeft):rt=Kt(),$a=Kc(rt)}le=F.cloneNode(!0),Ae(le,r.ghostClass,!1),Ae(le,r.fallbackClass,!0),Ae(le,r.dragClass,!0),Y(le,"transition",""),Y(le,"transform",""),Y(le,"box-sizing","border-box"),Y(le,"margin",0),Y(le,"top",n.top),Y(le,"left",n.left),Y(le,"width",n.width),Y(le,"height",n.height),Y(le,"opacity","0.8"),Y(le,"position",$i?"absolute":"fixed"),Y(le,"zIndex","100000"),Y(le,"pointerEvents","none"),ee.ghost=le,t.appendChild(le),Y(le,"transform-origin",qc/parseInt(le.style.width)*100+"% "+Qc/parseInt(le.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,i=r.options;if(vt("dragStart",this,{evt:t}),ee.eventCanceled){this._onDrop();return}vt("setupClone",this),ee.eventCanceled||(Ie=af(F),Ie.removeAttribute("id"),Ie.draggable=!1,Ie.style["will-change"]="",this._hideClone(),Ae(Ie,this.options.chosenClass,!1),ee.clone=Ie),r.cloneId=ll(function(){vt("clone",r),!ee.eventCanceled&&(r.options.removeCloneOnHide||De.insertBefore(Ie,F),r._hideClone(),ft({sortable:r,name:"clone"}))}),!n&&Ae(F,i.dragClass,!0),n?(Il=!0,r._loopId=setInterval(r._emulateDragOver,50)):(ue(document,"mouseup",r._onDrop),ue(document,"touchend",r._onDrop),ue(document,"touchcancel",r._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(r,o,F)),fe(document,"drop",r),Y(F,"transform","translateZ(0)")),Sr=!0,r._dragStartId=ll(r._dragStarted.bind(r,n,t)),fe(document,"selectstart",r),Do=!0,Wo&&Y(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,i,l,a=this.options,u=a.group,s=ee.active,p=Ui===u,y=a.sort,g=Ze||s,O,k=this,S=!1;if(Wu)return;function c(H,ae){vt(H,k,Gt({evt:t,isOwner:p,axis:O?"vertical":"horizontal",revert:l,dragRect:o,targetRect:i,canSort:y,fromSortable:g,target:r,completed:d,onMove:function(R,L){return Hi(De,n,F,o,R,be(R),t,L)},changed:h},ae))}function f(){c("dragOverAnimationCapture"),k.captureAnimationState(),k!==g&&g.captureAnimationState()}function d(H){return c("dragOverCompleted",{insertion:H}),H&&(p?s._hideClone():s._showClone(k),k!==g&&(Ae(F,Ze?Ze.options.ghostClass:s.options.ghostClass,!1),Ae(F,a.ghostClass,!0)),Ze!==k&&k!==ee.active?Ze=k:k===ee.active&&Ze&&(Ze=null),g===k&&(k._ignoreWhileAnimating=r),k.animateAll(function(){c("dragOverAnimationComplete"),k._ignoreWhileAnimating=null}),k!==g&&(g.animateAll(),g._ignoreWhileAnimating=null)),(r===F&&!F.animated||r===n&&!r.animated)&&(hr=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(F.parentNode[it]._isOutsideThisEl(t.target),!H&&$n(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),S=!0}function h(){Et=je(F),pn=je(F,a.draggable),ft({sortable:k,name:"change",toEl:n,newIndex:Et,newDraggableIndex:pn,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=jt(r,a.draggable,n,!0),c("dragOver"),ee.eventCanceled)return S;if(F.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||k._ignoreWhileAnimating===r)return d(!1);if(Il=!1,s&&!a.disabled&&(p?y||(l=Le!==De):Ze===this||(this.lastPutMode=Ui.checkPull(this,s,F,t))&&u.checkPut(this,s,F,t))){if(O=this._getDirection(t,r)==="vertical",o=be(F),c("dragOverValid"),ee.eventCanceled)return S;if(l)return Le=De,f(),this._hideClone(),c("revert"),ee.eventCanceled||(Wn?De.insertBefore(F,Wn):De.appendChild(F)),d(!0);var v=lf(n,a.draggable);if(!v||jg(t,O,this)&&!v.animated){if(v===F)return d(!1);if(v&&n===t.target&&(r=v),r&&(i=be(r)),Hi(De,n,F,o,r,i,t,!!r)!==!1)return f(),v&&v.nextSibling?n.insertBefore(F,v.nextSibling):n.appendChild(F),Le=n,h(),d(!0)}else if(v&&Lg(t,O,this)){var _=Hr(n,0,a,!0);if(_===F)return d(!1);if(r=_,i=be(r),Hi(De,n,F,o,r,i,t,!1)!==!1)return f(),n.insertBefore(F,_),Le=n,h(),d(!0)}else if(r.parentNode===n){i=be(r);var E=0,P,b=F.parentNode!==n,D=!Rg(F.animated&&F.toRect||o,r.animated&&r.toRect||i,O),j=O?"top":"left",N=Xc(r,"top","top")||Xc(F,"top","top"),$=N?N.scrollTop:void 0;hr!==r&&(P=i[j],Go=!1,Vi=!D&&a.invertSwap||b),E=zg(t,r,i,O,D?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Vi,hr===r);var M;if(E!==0){var G=je(F);do G-=E,M=Le.children[G];while(M&&(Y(M,"display")==="none"||M===le))}if(E===0||M===r)return d(!1);hr=r,Ko=E;var ne=r.nextElementSibling,W=!1;W=E===1;var re=Hi(De,n,F,o,r,i,t,W);if(re!==!1)return(re===1||re===-1)&&(W=re===1),Wu=!0,setTimeout(Fg,30),f(),W&&!ne?n.appendChild(F):r.parentNode.insertBefore(F,W?ne:r),N&&uh(N,0,$-N.scrollTop),Le=F.parentNode,P!==void 0&&!Vi&&(il=Math.abs(P-be(r)[j])),h(),d(!0)}if(n.contains(F))return d(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ue(document,"mousemove",this._onTouchMove),ue(document,"touchmove",this._onTouchMove),ue(document,"pointermove",this._onTouchMove),ue(document,"dragover",$n),ue(document,"mousemove",$n),ue(document,"touchmove",$n)},_offUpEvents:function(){var t=this.el.ownerDocument;ue(t,"mouseup",this._onDrop),ue(t,"touchend",this._onDrop),ue(t,"pointerup",this._onDrop),ue(t,"touchcancel",this._onDrop),ue(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(Et=je(F),pn=je(F,r.draggable),vt("drop",this,{evt:t}),Le=F&&F.parentNode,Et=je(F),pn=je(F,r.draggable),ee.eventCanceled){this._nulling();return}Sr=!1,Vi=!1,Go=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Yu(this.cloneId),Yu(this._dragStartId),this.nativeDraggable&&(ue(document,"drop",this),ue(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Wo&&Y(document.body,"user-select",""),Y(F,"transform",""),t&&(Do&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),le&&le.parentNode&&le.parentNode.removeChild(le),(De===Le||Ze&&Ze.lastPutMode!=="clone")&&Ie&&Ie.parentNode&&Ie.parentNode.removeChild(Ie),F&&(this.nativeDraggable&&ue(F,"dragend",this),Ha(F),F.style["will-change"]="",Do&&!Sr&&Ae(F,Ze?Ze.options.ghostClass:this.options.ghostClass,!1),Ae(F,this.options.chosenClass,!1),ft({sortable:this,name:"unchoose",toEl:Le,newIndex:null,newDraggableIndex:null,originalEvent:t}),De!==Le?(Et>=0&&(ft({rootEl:Le,name:"add",toEl:Le,fromEl:De,originalEvent:t}),ft({sortable:this,name:"remove",toEl:Le,originalEvent:t}),ft({rootEl:Le,name:"sort",toEl:Le,fromEl:De,originalEvent:t}),ft({sortable:this,name:"sort",toEl:Le,originalEvent:t})),Ze&&Ze.save()):Et!==xr&&Et>=0&&(ft({sortable:this,name:"update",toEl:Le,originalEvent:t}),ft({sortable:this,name:"sort",toEl:Le,originalEvent:t})),ee.active&&((Et==null||Et===-1)&&(Et=xr,pn=Xo),ft({sortable:this,name:"end",toEl:Le,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){vt("nulling",this),De=F=Le=le=Wn=Ie=ol=vn=Vn=Mt=Do=Et=pn=xr=Xo=hr=Ko=Ze=Ui=ee.dragged=ee.ghost=ee.clone=ee.active=null,Ml.forEach(function(t){t.checked=!0}),Ml.length=Ua=Va=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":F&&(this._onDragOver(t),Mg(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,i=r.length,l=this.options;o<i;o++)n=r[o],jt(n,l.draggable,this.el,!1)&&t.push(n.getAttribute(l.dataIdAttr)||Vg(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(i,l){var a=o.children[l];jt(a,this.options.draggable,o,!1)&&(r[i]=a)},this),n&&this.captureAnimationState(),t.forEach(function(i){r[i]&&(o.removeChild(r[i]),o.appendChild(r[i]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return jt(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var o=_i.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&ch(r)},destroy:function(){vt("destroy",this);var t=this.el;t[it]=null,ue(t,"mousedown",this._onTapStart),ue(t,"touchstart",this._onTapStart),ue(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(ue(t,"dragover",this),ue(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Al.splice(Al.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!vn){if(vt("hideClone",this),ee.eventCanceled)return;Y(Ie,"display","none"),this.options.removeCloneOnHide&&Ie.parentNode&&Ie.parentNode.removeChild(Ie),vn=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(vn){if(vt("showClone",this),ee.eventCanceled)return;F.parentNode==De&&!this.options.group.revertClone?De.insertBefore(Ie,F):Wn?De.insertBefore(Ie,Wn):De.appendChild(Ie),this.options.group.revertClone&&this.animate(F,Ie),Y(Ie,"display",""),vn=!1}}};function Mg(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Hi(e,t,n,r,o,i,l,a){var u,s=e[it],p=s.options.onMove,y;return window.CustomEvent&&!un&&!Ei?u=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(u=document.createEvent("Event"),u.initEvent("move",!0,!0)),u.to=t,u.from=e,u.dragged=n,u.draggedRect=r,u.related=o||t,u.relatedRect=i||be(t),u.willInsertAfter=a,u.originalEvent=l,e.dispatchEvent(u),p&&(y=p.call(s,u,l)),y}function Ha(e){e.draggable=!1}function Fg(){Wu=!1}function Lg(e,t,n){var r=be(Hr(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}function jg(e,t,n){var r=be(lf(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function zg(e,t,n,r,o,i,l,a){var u=r?e.clientY:e.clientX,s=r?n.height:n.width,p=r?n.top:n.left,y=r?n.bottom:n.right,g=!1;if(!l){if(a&&il<s*o){if(!Go&&(Ko===1?u>p+s*i/2:u<y-s*i/2)&&(Go=!0),Go)g=!0;else if(Ko===1?u<p+il:u>y-il)return-Ko}else if(u>p+s*(1-o)/2&&u<y-s*(1-o)/2)return Ug(t)}return g=g||l,g&&(u<p+s*i/2||u>y-s*i/2)?u>p+s/2?1:-1:0}function Ug(e){return je(F)<je(e)?1:-1}function Vg(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function $g(e){Ml.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Ml.push(r)}}function ll(e){return setTimeout(e,0)}function Yu(e){return clearTimeout(e)}ra&&fe(document,"touchmove",function(e){(ee.active||Sr)&&e.cancelable&&e.preventDefault()});ee.utils={on:fe,off:ue,css:Y,find:lh,is:function(t,n){return!!jt(t,n,t,!1)},extend:kg,throttle:ah,closest:jt,toggleClass:Ae,clone:af,index:je,nextTick:ll,cancelNextTick:Yu,detectDirection:fh,getChild:Hr};ee.get=function(e){return e[it]};ee.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(ee.utils=Gt(Gt({},ee.utils),r.utils)),_i.mount(r)})};ee.create=function(e,t){return new ee(e,t)};ee.version=_g;var Xe=[],bo,Xu,Ku=!1,Ba,Wa,Fl,No;function Hg(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?fe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?fe(document,"pointermove",this._handleFallbackAutoScroll):r.touches?fe(document,"touchmove",this._handleFallbackAutoScroll):fe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?ue(document,"dragover",this._handleAutoScroll):(ue(document,"pointermove",this._handleFallbackAutoScroll),ue(document,"touchmove",this._handleFallbackAutoScroll),ue(document,"mousemove",this._handleFallbackAutoScroll)),Jc(),al(),Tg()},nulling:function(){Fl=Xu=bo=Ku=No=Ba=Wa=null,Xe.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var o=this,i=(n.touches?n.touches[0]:n).clientX,l=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(i,l);if(Fl=n,r||this.options.forceAutoScrollFallback||Ei||un||Wo){Ya(n,this.options,a,r);var u=wn(a,!0);Ku&&(!No||i!==Ba||l!==Wa)&&(No&&Jc(),No=setInterval(function(){var s=wn(document.elementFromPoint(i,l),!0);s!==u&&(u=s,al()),Ya(n,o.options,s,r)},10),Ba=i,Wa=l)}else{if(!this.options.bubbleScroll||wn(a,!0)===Kt()){al();return}Ya(n,this.options,wn(a,!1),!1)}}},Nt(e,{pluginName:"scroll",initializeByDefault:!0})}function al(){Xe.forEach(function(e){clearInterval(e.pid)}),Xe=[]}function Jc(){clearInterval(No)}var Ya=ah(function(e,t,n,r){if(!!t.scroll){var o=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,a=t.scrollSpeed,u=Kt(),s=!1,p;Xu!==n&&(Xu=n,al(),bo=t.scroll,p=t.scrollFn,bo===!0&&(bo=wn(n,!0)));var y=0,g=bo;do{var O=g,k=be(O),S=k.top,c=k.bottom,f=k.left,d=k.right,h=k.width,v=k.height,_=void 0,E=void 0,P=O.scrollWidth,b=O.scrollHeight,D=Y(O),j=O.scrollLeft,N=O.scrollTop;O===u?(_=h<P&&(D.overflowX==="auto"||D.overflowX==="scroll"||D.overflowX==="visible"),E=v<b&&(D.overflowY==="auto"||D.overflowY==="scroll"||D.overflowY==="visible")):(_=h<P&&(D.overflowX==="auto"||D.overflowX==="scroll"),E=v<b&&(D.overflowY==="auto"||D.overflowY==="scroll"));var $=_&&(Math.abs(d-o)<=l&&j+h<P)-(Math.abs(f-o)<=l&&!!j),M=E&&(Math.abs(c-i)<=l&&N+v<b)-(Math.abs(S-i)<=l&&!!N);if(!Xe[y])for(var G=0;G<=y;G++)Xe[G]||(Xe[G]={});(Xe[y].vx!=$||Xe[y].vy!=M||Xe[y].el!==O)&&(Xe[y].el=O,Xe[y].vx=$,Xe[y].vy=M,clearInterval(Xe[y].pid),($!=0||M!=0)&&(s=!0,Xe[y].pid=setInterval(function(){r&&this.layer===0&&ee.active._onTouchMove(Fl);var ne=Xe[this.layer].vy?Xe[this.layer].vy*a:0,W=Xe[this.layer].vx?Xe[this.layer].vx*a:0;typeof p=="function"&&p.call(ee.dragged.parentNode[it],W,ne,e,Fl,Xe[this.layer].el)!=="continue"||uh(Xe[this.layer].el,W,ne)}.bind({layer:y}),24))),y++}while(t.bubbleScroll&&g!==u&&(g=wn(g,!1)));Ku=s}},30),hh=function(t){var n=t.originalEvent,r=t.putSortable,o=t.dragEl,i=t.activeSortable,l=t.dispatchSortableEvent,a=t.hideGhostForTarget,u=t.unhideGhostForTarget;if(!!n){var s=r||i;a();var p=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,y=document.elementFromPoint(p.clientX,p.clientY);u(),s&&!s.el.contains(y)&&(l("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function uf(){}uf.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var o=Hr(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:hh};Nt(uf,{pluginName:"revertOnSpill"});function sf(){}sf.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,o=r||this.sortable;o.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),o.animateAll()},drop:hh};Nt(sf,{pluginName:"removeOnSpill"});var Ot;function Bg(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;Ot=r},dragOverValid:function(n){var r=n.completed,o=n.target,i=n.onMove,l=n.activeSortable,a=n.changed,u=n.cancel;if(!!l.options.swap){var s=this.sortable.el,p=this.options;if(o&&o!==s){var y=Ot;i(o)!==!1?(Ae(o,p.swapClass,!0),Ot=o):Ot=null,y&&y!==Ot&&Ae(y,p.swapClass,!1)}a(),r(!0),u()}},drop:function(n){var r=n.activeSortable,o=n.putSortable,i=n.dragEl,l=o||this.sortable,a=this.options;Ot&&Ae(Ot,a.swapClass,!1),Ot&&(a.swap||o&&o.options.swap)&&i!==Ot&&(l.captureAnimationState(),l!==r&&r.captureAnimationState(),Wg(i,Ot),l.animateAll(),l!==r&&r.animateAll())},nulling:function(){Ot=null}},Nt(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Ot}}})}function Wg(e,t){var n=e.parentNode,r=t.parentNode,o,i;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=je(e),i=je(t),n.isEqualNode(r)&&o<i&&i++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[i]))}var ie=[],St=[],yo,Ft,wo=!1,mt=!1,vr=!1,Oe,So,Bi;function Yg(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.avoidImplicitDeselect||(t.options.supportPointer?fe(document,"pointerup",this._deselectMultiDrag):(fe(document,"mouseup",this._deselectMultiDrag),fe(document,"touchend",this._deselectMultiDrag))),fe(document,"keydown",this._checkKeyDown),fe(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(o,i){var l="";ie.length&&Ft===t?ie.forEach(function(a,u){l+=(u?", ":"")+a.textContent}):l=i.textContent,o.setData("Text",l)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;Oe=r},delayEnded:function(){this.isMultiDrag=~ie.indexOf(Oe)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(!!this.isMultiDrag){for(var i=0;i<ie.length;i++)St.push(af(ie[i])),St[i].sortableIndex=ie[i].sortableIndex,St[i].draggable=!1,St[i].style["will-change"]="",Ae(St[i],this.options.selectedClass,!1),ie[i]===Oe&&Ae(St[i],this.options.chosenClass,!1);r._hideClone(),o()}},clone:function(n){var r=n.sortable,o=n.rootEl,i=n.dispatchSortableEvent,l=n.cancel;!this.isMultiDrag||this.options.removeCloneOnHide||ie.length&&Ft===r&&(ed(!0,o),i("clone"),l())},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,i=n.cancel;!this.isMultiDrag||(ed(!1,o),St.forEach(function(l){Y(l,"display","")}),r(),Bi=!1,i())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,i=n.cancel;!this.isMultiDrag||(St.forEach(function(l){Y(l,"display","none"),r.options.removeCloneOnHide&&l.parentNode&&l.parentNode.removeChild(l)}),o(),Bi=!0,i())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Ft&&Ft.multiDrag._deselectMultiDrag(),ie.forEach(function(r){r.sortableIndex=je(r)}),ie=ie.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),vr=!0},dragStarted:function(n){var r=this,o=n.sortable;if(!!this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){ie.forEach(function(l){l!==Oe&&Y(l,"position","absolute")});var i=be(Oe,!1,!0,!0);ie.forEach(function(l){l!==Oe&&Gc(l,i)}),mt=!0,wo=!0}o.animateAll(function(){mt=!1,wo=!1,r.options.animation&&ie.forEach(function(l){ja(l)}),r.options.sort&&Wi()})}},dragOver:function(n){var r=n.target,o=n.completed,i=n.cancel;mt&&~ie.indexOf(r)&&(o(!1),i())},revert:function(n){var r=n.fromSortable,o=n.rootEl,i=n.sortable,l=n.dragRect;ie.length>1&&(ie.forEach(function(a){i.addAnimationState({target:a,rect:mt?be(a):l}),ja(a),a.fromRect=l,r.removeAnimationState(a)}),mt=!1,Xg(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,i=n.insertion,l=n.activeSortable,a=n.parentEl,u=n.putSortable,s=this.options;if(i){if(o&&l._hideClone(),wo=!1,s.animation&&ie.length>1&&(mt||!o&&!l.options.sort&&!u)){var p=be(Oe,!1,!0,!0);ie.forEach(function(g){g!==Oe&&(Gc(g,p),a.appendChild(g))}),mt=!0}if(!o)if(mt||Wi(),ie.length>1){var y=Bi;l._showClone(r),l.options.animation&&!Bi&&y&&St.forEach(function(g){l.addAnimationState({target:g,rect:So}),g.fromRect=So,g.thisAnimationDuration=null})}else l._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,i=n.activeSortable;if(ie.forEach(function(a){a.thisAnimationDuration=null}),i.options.animation&&!o&&i.multiDrag.isMultiDrag){So=Nt({},r);var l=tr(Oe,!0);So.top-=l.f,So.left-=l.e}},dragOverAnimationComplete:function(){mt&&(mt=!1,Wi())},drop:function(n){var r=n.originalEvent,o=n.rootEl,i=n.parentEl,l=n.sortable,a=n.dispatchSortableEvent,u=n.oldIndex,s=n.putSortable,p=s||this.sortable;if(!!r){var y=this.options,g=i.children;if(!vr)if(y.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ae(Oe,y.selectedClass,!~ie.indexOf(Oe)),~ie.indexOf(Oe))ie.splice(ie.indexOf(Oe),1),yo=null,Po({sortable:l,rootEl:o,name:"deselect",targetEl:Oe,originalEvent:r});else{if(ie.push(Oe),Po({sortable:l,rootEl:o,name:"select",targetEl:Oe,originalEvent:r}),r.shiftKey&&yo&&l.el.contains(yo)){var O=je(yo),k=je(Oe);if(~O&&~k&&O!==k){var S,c;for(k>O?(c=O,S=k):(c=k,S=O+1);c<S;c++)~ie.indexOf(g[c])||(Ae(g[c],y.selectedClass,!0),ie.push(g[c]),Po({sortable:l,rootEl:o,name:"select",targetEl:g[c],originalEvent:r}))}}else yo=Oe;Ft=p}if(vr&&this.isMultiDrag){if(mt=!1,(i[it].options.sort||i!==o)&&ie.length>1){var f=be(Oe),d=je(Oe,":not(."+this.options.selectedClass+")");if(!wo&&y.animation&&(Oe.thisAnimationDuration=null),p.captureAnimationState(),!wo&&(y.animation&&(Oe.fromRect=f,ie.forEach(function(v){if(v.thisAnimationDuration=null,v!==Oe){var _=mt?be(v):f;v.fromRect=_,p.addAnimationState({target:v,rect:_})}})),Wi(),ie.forEach(function(v){g[d]?i.insertBefore(v,g[d]):i.appendChild(v),d++}),u===je(Oe))){var h=!1;ie.forEach(function(v){if(v.sortableIndex!==je(v)){h=!0;return}}),h&&a("update")}ie.forEach(function(v){ja(v)}),p.animateAll()}Ft=p}(o===i||s&&s.lastPutMode!=="clone")&&St.forEach(function(v){v.parentNode&&v.parentNode.removeChild(v)})}},nullingGlobal:function(){this.isMultiDrag=vr=!1,St.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ue(document,"pointerup",this._deselectMultiDrag),ue(document,"mouseup",this._deselectMultiDrag),ue(document,"touchend",this._deselectMultiDrag),ue(document,"keydown",this._checkKeyDown),ue(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof vr<"u"&&vr)&&Ft===this.sortable&&!(n&&jt(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;ie.length;){var r=ie[0];Ae(r,this.options.selectedClass,!1),ie.shift(),Po({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvent:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Nt(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[it];!r||!r.options.multiDrag||~ie.indexOf(n)||(Ft&&Ft!==r&&(Ft.multiDrag._deselectMultiDrag(),Ft=r),Ae(n,r.options.selectedClass,!0),ie.push(n))},deselect:function(n){var r=n.parentNode[it],o=ie.indexOf(n);!r||!r.options.multiDrag||!~o||(Ae(n,r.options.selectedClass,!1),ie.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return ie.forEach(function(i){r.push({multiDragElement:i,index:i.sortableIndex});var l;mt&&i!==Oe?l=-1:mt?l=je(i,":not(."+n.options.selectedClass+")"):l=je(i),o.push({multiDragElement:i,index:l})}),{items:gg(ie),clones:[].concat(St),oldIndicies:r,newIndicies:o}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function Xg(e,t){ie.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function ed(e,t){St.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Wi(){ie.forEach(function(e){e!==Oe&&e.parentNode&&e.parentNode.removeChild(e)})}ee.mount(new Hg);ee.mount(sf,uf);const Kg=Object.freeze(Object.defineProperty({__proto__:null,default:ee,MultiDrag:Yg,Sortable:ee,Swap:Bg},Symbol.toStringTag,{value:"Module"})),Gg=zh(Kg);Object.defineProperty(na,"__esModule",{value:!0});na.default=void 0;var mr=vh(Mn.exports),td=Qg(Ee.exports),qg=vh(Gg);function Qg(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}}return t.default=e,t}function vh(e){return e&&e.__esModule?e:{default:e}}function Gu(){return Gu=Object.assign||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},Gu.apply(this,arguments)}function Zg(e,t){if(e==null)return{};var n=Jg(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Jg(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function qo(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qo=function(n){return typeof n}:qo=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},qo(e)}function ey(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){oa(e,o,n[o])})}return e}function ty(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ny(e,t,n){return t&&nd(e.prototype,t),n&&nd(e,n),e}function ry(e,t){return t&&(qo(t)==="object"||typeof t=="function")?t:mh(e)}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(e)}function mh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qu(e,t)}function Qu(e,t){return Qu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Qu(e,t)}function oa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gr={nextSibling:null,activeComponent:null},ff=function(e){oy(t,e);function t(){var n,r;ty(this,t);for(var o=arguments.length,i=new Array(o),l=0;l<o;l++)i[l]=arguments[l];return r=ry(this,(n=qu(t)).call.apply(n,[this].concat(i))),oa(mh(r),"sortable",null),r}return ny(t,[{key:"componentDidMount",value:function(){var r=this,o=ey({},this.props.options);["onChoose","onStart","onEnd","onAdd","onUpdate","onSort","onRemove","onFilter","onMove","onClone"].forEach(function(i){var l=o[i];o[i]=function(){for(var a=arguments.length,u=new Array(a),s=0;s<a;s++)u[s]=arguments[s];var p=u[0];if(i==="onChoose")gr.nextSibling=p.item.nextElementSibling,gr.activeComponent=r;else if((i==="onAdd"||i==="onUpdate")&&r.props.onChange){var y=r.sortable.toArray(),g=gr.activeComponent,O=g.sortable.toArray(),k=gr.nextSibling&&gr.nextSibling.parentNode!==null?gr.nextSibling:null;if(p.from.insertBefore(p.item,k),g!==r){var S=g.props.options||{};qo(S.group)==="object"&&S.group.pull==="clone"&&p.item.parentNode.removeChild(p.item),g.props.onChange&&g.props.onChange(O,g.sortable,p)}r.props.onChange&&r.props.onChange(y,r.sortable,p)}if(p.type==="move"){var c=u[0],f=u[1],d=l?l(c,f):!0;return d}setTimeout(function(){l&&l(p)},0)}}),this.sortable=qg.default.create(this.node,o)}},{key:"shouldComponentUpdate",value:function(r){return!!r.onChange}},{key:"componentWillUnmount",value:function(){this.sortable&&(this.sortable.destroy(),this.sortable=null)}},{key:"render",value:function(){var r=this,o=this.props,i=o.tag;o.options,o.onChange;var l=Zg(o,["tag","options","onChange"]);return td.default.createElement(i,Gu({},l,{ref:function(u){r.node=u}}))}}]),t}(td.Component);oa(ff,"propTypes",{options:mr.default.object,onChange:mr.default.func,tag:mr.default.oneOfType([mr.default.string,mr.default.func]),style:mr.default.object});oa(ff,"defaultProps",{options:{},tag:"div",style:{}});var iy=ff;na.default=iy;var ly=na.default,ay=ly,gh={exports:{}};(function(e,t){(function(n,r){e.exports=r(fs.exports,Ee.exports)})(jh,function(n,r){n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r;function o(m,w){return w={exports:{}},m(w,w.exports),w.exports}function i(m){return function(){return m}}var l=function(){};l.thatReturns=i,l.thatReturnsFalse=i(!1),l.thatReturnsTrue=i(!0),l.thatReturnsNull=i(null),l.thatReturnsThis=function(){return this},l.thatReturnsArgument=function(m){return m};var a=l,u=function(w){};u=function(w){if(w===void 0)throw new Error("invariant requires an error message argument")};function s(m,w,C,x,T,V,q,X){if(u(w),!m){var oe;if(w===void 0)oe=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var K=[C,x,T,V,q,X],pe=0;oe=new Error(w.replace(/%s/g,function(){return K[pe++]})),oe.name="Invariant Violation"}throw oe.framesToPop=1,oe}}var p=s,y=a;{var g=function(w){for(var C=arguments.length,x=Array(C>1?C-1:0),T=1;T<C;T++)x[T-1]=arguments[T];var V=0,q="Warning: "+w.replace(/%s/g,function(){return x[V++]});typeof console<"u"&&console.error(q);try{throw new Error(q)}catch{}};y=function(w,C){if(C===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(C.indexOf("Failed Composite propType: ")!==0&&!w){for(var x=arguments.length,T=Array(x>2?x-2:0),V=2;V<x;V++)T[V-2]=arguments[V];g.apply(void 0,[C].concat(T))}}}var O=y;/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var k=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;function f(m){if(m==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(m)}function d(){try{if(!Object.assign)return!1;var m=new String("abc");if(m[5]="de",Object.getOwnPropertyNames(m)[0]==="5")return!1;for(var w={},C=0;C<10;C++)w["_"+String.fromCharCode(C)]=C;var x=Object.getOwnPropertyNames(w).map(function(V){return w[V]});if(x.join("")!=="0123456789")return!1;var T={};return"abcdefghijklmnopqrst".split("").forEach(function(V){T[V]=V}),Object.keys(Object.assign({},T)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var h=d()?Object.assign:function(m,w){for(var C,x=f(m),T,V=1;V<arguments.length;V++){C=Object(arguments[V]);for(var q in C)S.call(C,q)&&(x[q]=C[q]);if(k){T=k(C);for(var X=0;X<T.length;X++)c.call(C,T[X])&&(x[T[X]]=C[T[X]])}}return x},v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",_=v,E=p,P=O,b=_,D={};function j(m,w,C,x,T){for(var V in m)if(m.hasOwnProperty(V)){var q;try{E(typeof m[V]=="function","%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",x||"React class",C,V,typeof m[V]),q=m[V](w,V,x,C,null,b)}catch(oe){q=oe}if(P(!q||q instanceof Error,"%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).",x||"React class",C,V,typeof q),q instanceof Error&&!(q.message in D)){D[q.message]=!0;var X=T?T():"";P(!1,"Failed %s type: %s%s",C,q.message,X!=null?X:"")}}}var N=j,$=function(m,w){var C=typeof Symbol=="function"&&Symbol.iterator,x="@@iterator";function T(z){var Q=z&&(C&&z[C]||z[x]);if(typeof Q=="function")return Q}var V="<<anonymous>>",q={array:pe("array"),bool:pe("boolean"),func:pe("function"),number:pe("number"),object:pe("object"),string:pe("string"),symbol:pe("symbol"),any:Ye(),arrayOf:st,element:nt(),instanceOf:Be,node:ca(),objectOf:fr,oneOf:fn,oneOfType:no,shape:ki,exact:Ef};function X(z,Q){return z===Q?z!==0||1/z===1/Q:z!==z&&Q!==Q}function oe(z){this.message=z,this.stack=""}oe.prototype=Error.prototype;function K(z){var Q={},Se=0;function ge(_e,ye,ve,we,Ce,Pe,Un){if(we=we||V,Pe=Pe||ve,Un!==_){if(w)p(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if(typeof console<"u"){var ro=we+":"+ve;!Q[ro]&&Se<3&&(O(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",Pe,we),Q[ro]=!0,Se++)}}return ye[ve]==null?_e?ye[ve]===null?new oe("The "+Ce+" `"+Pe+"` is marked as required "+("in `"+we+"`, but its value is `null`.")):new oe("The "+Ce+" `"+Pe+"` is marked as required in "+("`"+we+"`, but its value is `undefined`.")):null:z(ye,ve,we,Ce,Pe)}var he=ge.bind(null,!1);return he.isRequired=ge.bind(null,!0),he}function pe(z){function Q(Se,ge,he,_e,ye,ve){var we=Se[ge],Ce=zn(we);if(Ce!==z){var Pe=_f(we);return new oe("Invalid "+_e+" `"+ye+"` of type "+("`"+Pe+"` supplied to `"+he+"`, expected ")+("`"+z+"`."))}return null}return K(Q)}function Ye(){return K(a.thatReturnsNull)}function st(z){function Q(Se,ge,he,_e,ye){if(typeof z!="function")return new oe("Property `"+ye+"` of component `"+he+"` has invalid PropType notation inside arrayOf.");var ve=Se[ge];if(!Array.isArray(ve)){var we=zn(ve);return new oe("Invalid "+_e+" `"+ye+"` of type "+("`"+we+"` supplied to `"+he+"`, expected an array."))}for(var Ce=0;Ce<ve.length;Ce++){var Pe=z(ve,Ce,he,_e,ye+"["+Ce+"]",_);if(Pe instanceof Error)return Pe}return null}return K(Q)}function nt(){function z(Q,Se,ge,he,_e){var ye=Q[Se];if(!m(ye)){var ve=zn(ye);return new oe("Invalid "+he+" `"+_e+"` of type "+("`"+ve+"` supplied to `"+ge+"`, expected a single ReactElement."))}return null}return K(z)}function Be(z){function Q(Se,ge,he,_e,ye){if(!(Se[ge]instanceof z)){var ve=z.name||V,we=Lh(Se[ge]);return new oe("Invalid "+_e+" `"+ye+"` of type "+("`"+we+"` supplied to `"+he+"`, expected ")+("instance of `"+ve+"`."))}return null}return K(Q)}function fn(z){if(!Array.isArray(z))return O(!1,"Invalid argument supplied to oneOf, expected an instance of array."),a.thatReturnsNull;function Q(Se,ge,he,_e,ye){for(var ve=Se[ge],we=0;we<z.length;we++)if(X(ve,z[we]))return null;var Ce=JSON.stringify(z);return new oe("Invalid "+_e+" `"+ye+"` of value `"+ve+"` "+("supplied to `"+he+"`, expected one of "+Ce+"."))}return K(Q)}function fr(z){function Q(Se,ge,he,_e,ye){if(typeof z!="function")return new oe("Property `"+ye+"` of component `"+he+"` has invalid PropType notation inside objectOf.");var ve=Se[ge],we=zn(ve);if(we!=="object")return new oe("Invalid "+_e+" `"+ye+"` of type "+("`"+we+"` supplied to `"+he+"`, expected an object."));for(var Ce in ve)if(ve.hasOwnProperty(Ce)){var Pe=z(ve,Ce,he,_e,ye+"."+Ce,_);if(Pe instanceof Error)return Pe}return null}return K(Q)}function no(z){if(!Array.isArray(z))return O(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),a.thatReturnsNull;for(var Q=0;Q<z.length;Q++){var Se=z[Q];if(typeof Se!="function")return O(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",Fh(Se),Q),a.thatReturnsNull}function ge(he,_e,ye,ve,we){for(var Ce=0;Ce<z.length;Ce++){var Pe=z[Ce];if(Pe(he,_e,ye,ve,we,_)==null)return null}return new oe("Invalid "+ve+" `"+we+"` supplied to "+("`"+ye+"`."))}return K(ge)}function ca(){function z(Q,Se,ge,he,_e){return Ti(Q[Se])?null:new oe("Invalid "+he+" `"+_e+"` supplied to "+("`"+ge+"`, expected a ReactNode."))}return K(z)}function ki(z){function Q(Se,ge,he,_e,ye){var ve=Se[ge],we=zn(ve);if(we!=="object")return new oe("Invalid "+_e+" `"+ye+"` of type `"+we+"` "+("supplied to `"+he+"`, expected `object`."));for(var Ce in z){var Pe=z[Ce];if(!!Pe){var Un=Pe(ve,Ce,he,_e,ye+"."+Ce,_);if(Un)return Un}}return null}return K(Q)}function Ef(z){function Q(Se,ge,he,_e,ye){var ve=Se[ge],we=zn(ve);if(we!=="object")return new oe("Invalid "+_e+" `"+ye+"` of type `"+we+"` "+("supplied to `"+he+"`, expected `object`."));var Ce=h({},Se[ge],z);for(var Pe in Ce){var Un=z[Pe];if(!Un)return new oe("Invalid "+_e+" `"+ye+"` key `"+Pe+"` supplied to `"+he+"`.\nBad object: "+JSON.stringify(Se[ge],null,"  ")+`
Valid keys: `+JSON.stringify(Object.keys(z),null,"  "));var ro=Un(ve,Pe,he,_e,ye+"."+Pe,_);if(ro)return ro}return null}return K(Q)}function Ti(z){switch(typeof z){case"number":case"string":case"undefined":return!0;case"boolean":return!z;case"object":if(Array.isArray(z))return z.every(Ti);if(z===null||m(z))return!0;var Q=T(z);if(Q){var Se=Q.call(z),ge;if(Q!==z.entries){for(;!(ge=Se.next()).done;)if(!Ti(ge.value))return!1}else for(;!(ge=Se.next()).done;){var he=ge.value;if(he&&!Ti(he[1]))return!1}}else return!1;return!0;default:return!1}}function Mh(z,Q){return z==="symbol"||Q["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Q instanceof Symbol}function zn(z){var Q=typeof z;return Array.isArray(z)?"array":z instanceof RegExp?"object":Mh(Q,z)?"symbol":Q}function _f(z){if(typeof z>"u"||z===null)return""+z;var Q=zn(z);if(Q==="object"){if(z instanceof Date)return"date";if(z instanceof RegExp)return"regexp"}return Q}function Fh(z){var Q=_f(z);switch(Q){case"array":case"object":return"an "+Q;case"boolean":case"date":case"regexp":return"a "+Q;default:return Q}}function Lh(z){return!z.constructor||!z.constructor.name?V:z.constructor.name}return q.checkPropTypes=N,q.PropTypes=q,q},M=o(function(m){{var w=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103,C=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===w},x=!0;m.exports=$(C,x)}}),G=o(function(m){/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/(function(){var w={}.hasOwnProperty;function C(){for(var x=[],T=0;T<arguments.length;T++){var V=arguments[T];if(!!V){var q=typeof V;if(q==="string"||q==="number")x.push(V);else if(Array.isArray(V))x.push(C.apply(null,V));else if(q==="object")for(var X in V)w.call(V,X)&&V[X]&&x.push(X)}}return x.join(" ")}m.exports?m.exports=C:window.classNames=C})()});function ne(m,w){for(var C=0,x=m.length;C<x;C++)if(w.apply(w,[m[C],C,m]))return m[C]}function W(m){return typeof m=="function"||Object.prototype.toString.call(m)==="[object Function]"}function re(m){return typeof m=="number"&&!isNaN(m)}function H(m){return parseInt(m,10)}function ae(m,w,C){if(m[w])return new Error("Invalid prop "+w+" passed to "+C+" - do not set this, set it on the child.")}var $e=["Moz","Webkit","O","ms"];function R(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u"||typeof window.document>"u")return"";var w=window.document.documentElement.style;if(m in w)return"";for(var C=0;C<$e.length;C++)if(L(m,$e[C])in w)return $e[C];return""}function L(m,w){return w?""+w+A(m):m}function A(m){for(var w="",C=!0,x=0;x<m.length;x++)C?(w+=m[x].toUpperCase(),C=!1):m[x]==="-"?C=!0:w+=m[x];return w}var U=R(),J=function(m,w){if(!(m instanceof w))throw new TypeError("Cannot call a class as a function")},se=function(){function m(w,C){for(var x=0;x<C.length;x++){var T=C[x];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(w,T.key,T)}}return function(w,C,x){return C&&m(w.prototype,C),x&&m(w,x),w}}(),de=function(m,w,C){return w in m?Object.defineProperty(m,w,{value:C,enumerable:!0,configurable:!0,writable:!0}):m[w]=C,m},me=Object.assign||function(m){for(var w=1;w<arguments.length;w++){var C=arguments[w];for(var x in C)Object.prototype.hasOwnProperty.call(C,x)&&(m[x]=C[x])}return m},He=function(m,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);m.prototype=Object.create(w&&w.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(m,w):m.__proto__=w)},Vt=function(m,w){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:m},It=function(){function m(w,C){var x=[],T=!0,V=!1,q=void 0;try{for(var X=w[Symbol.iterator](),oe;!(T=(oe=X.next()).done)&&(x.push(oe.value),!(C&&x.length===C));T=!0);}catch(K){V=!0,q=K}finally{try{!T&&X.return&&X.return()}finally{if(V)throw q}}return x}return function(w,C){if(Array.isArray(w))return w;if(Symbol.iterator in Object(w))return m(w,C);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),$t="";function Zr(m,w){return $t||($t=ne(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(C){return W(m[C])})),W(m[$t])?m[$t](w):!1}function sr(m,w,C){var x=m;do{if(Zr(x,w))return!0;if(x===C)return!1;x=x.parentNode}while(x);return!1}function Jr(m,w,C){!m||(m.attachEvent?m.attachEvent("on"+w,C):m.addEventListener?m.addEventListener(w,C,!0):m["on"+w]=C)}function Qt(m,w,C){!m||(m.detachEvent?m.detachEvent("on"+w,C):m.removeEventListener?m.removeEventListener(w,C,!0):m["on"+w]=null)}function eo(m){var w=m.clientHeight,C=m.ownerDocument.defaultView.getComputedStyle(m);return w+=H(C.borderTopWidth),w+=H(C.borderBottomWidth),w}function Oi(m){var w=m.clientWidth,C=m.ownerDocument.defaultView.getComputedStyle(m);return w+=H(C.borderLeftWidth),w+=H(C.borderRightWidth),w}function to(m){var w=m.clientHeight,C=m.ownerDocument.defaultView.getComputedStyle(m);return w-=H(C.paddingTop),w-=H(C.paddingBottom),w}function Fn(m){var w=m.clientWidth,C=m.ownerDocument.defaultView.getComputedStyle(m);return w-=H(C.paddingLeft),w-=H(C.paddingRight),w}function Eh(m,w){var C=w===w.ownerDocument.body,x=C?{left:0,top:0}:w.getBoundingClientRect(),T=m.clientX+w.scrollLeft-x.left,V=m.clientY+w.scrollTop-x.top;return{x:T,y:V}}function _h(m,w){var C=wf(m,w,"px");return de({},L("transform",U),C)}function Ch(m,w){var C=wf(m,w,"");return C}function wf(m,w,C){var x=m.x,T=m.y,V="translate("+x+C+","+T+C+")";if(w){var q=""+(typeof w.x=="string"?w.x:w.x+C),X=""+(typeof w.y=="string"?w.y:w.y+C);V="translate("+q+", "+X+")"+V}return V}function Oh(m,w){return m.targetTouches&&ne(m.targetTouches,function(C){return w===C.identifier})||m.changedTouches&&ne(m.changedTouches,function(C){return w===C.identifier})}function kh(m){if(m.targetTouches&&m.targetTouches[0])return m.targetTouches[0].identifier;if(m.changedTouches&&m.changedTouches[0])return m.changedTouches[0].identifier}function Th(m){if(!!m){var w=m.getElementById("react-draggable-style-el");w||(w=m.createElement("style"),w.type="text/css",w.id="react-draggable-style-el",w.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
`,w.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
`,m.getElementsByTagName("head")[0].appendChild(w)),m.body&&Ph(m.body,"react-draggable-transparent-selection")}}function Sf(m){try{m&&m.body&&Dh(m.body,"react-draggable-transparent-selection"),m.selection?m.selection.empty():window.getSelection().removeAllRanges()}catch{}}function xh(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return me({touchAction:"none"},m)}function Ph(m,w){m.classList?m.classList.add(w):m.className.match(new RegExp("(?:^|\\s)"+w+"(?!\\S)"))||(m.className+=" "+w)}function Dh(m,w){m.classList?m.classList.remove(w):m.className=m.className.replace(new RegExp("(?:^|\\s)"+w+"(?!\\S)","g"),"")}function bh(m,w,C){if(!m.props.bounds)return[w,C];var x=m.props.bounds;x=typeof x=="string"?x:Ah(x);var T=fa(m);if(typeof x=="string"){var V=T.ownerDocument,q=V.defaultView,X=void 0;if(x==="parent"?X=T.parentNode:X=V.querySelector(x),!(X instanceof q.HTMLElement))throw new Error('Bounds selector "'+x+'" could not find an element.');var oe=q.getComputedStyle(T),K=q.getComputedStyle(X);x={left:-T.offsetLeft+H(K.paddingLeft)+H(oe.marginLeft),top:-T.offsetTop+H(K.paddingTop)+H(oe.marginTop),right:Fn(X)-Oi(T)-T.offsetLeft+H(K.paddingRight)-H(oe.marginRight),bottom:to(X)-eo(T)-T.offsetTop+H(K.paddingBottom)-H(oe.marginBottom)}}return re(x.right)&&(w=Math.min(w,x.right)),re(x.bottom)&&(C=Math.min(C,x.bottom)),re(x.left)&&(w=Math.max(w,x.left)),re(x.top)&&(C=Math.max(C,x.top)),[w,C]}function Nh(m,w,C){var x=Math.round(w/m[0])*m[0],T=Math.round(C/m[1])*m[1];return[x,T]}function Rh(m){return m.props.axis==="both"||m.props.axis==="x"}function Ih(m){return m.props.axis==="both"||m.props.axis==="y"}function aa(m,w,C){var x=typeof w=="number"?Oh(m,w):null;if(typeof w=="number"&&!x)return null;var T=fa(C),V=C.props.offsetParent||T.offsetParent||T.ownerDocument.body;return Eh(x||m,V)}function ua(m,w,C){var x=m.state,T=!re(x.lastX),V=fa(m);return T?{node:V,deltaX:0,deltaY:0,lastX:w,lastY:C,x:w,y:C}:{node:V,deltaX:w-x.lastX,deltaY:C-x.lastY,lastX:x.lastX,lastY:x.lastY,x:w,y:C}}function sa(m,w){var C=m.props.scale;return{node:w.node,x:m.state.x+w.deltaX/C,y:m.state.y+w.deltaY/C,deltaX:w.deltaX/C,deltaY:w.deltaY/C,lastX:m.state.x,lastY:m.state.y}}function Ah(m){return{left:m.left,top:m.top,right:m.right,bottom:m.bottom}}function fa(m){var w=n.findDOMNode(m);if(!w)throw new Error("<DraggableCore>: Unmounted during event!");return w}function jy(){}var Zt={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},sn=Zt.mouse,Ln=function(m){He(w,m);function w(){var C,x,T,V;J(this,w);for(var q=arguments.length,X=Array(q),oe=0;oe<q;oe++)X[oe]=arguments[oe];return V=(x=(T=Vt(this,(C=w.__proto__||Object.getPrototypeOf(w)).call.apply(C,[this].concat(X))),T),T.state={dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null},T.handleDragStart=function(K){if(T.props.onMouseDown(K),!T.props.allowAnyClick&&typeof K.button=="number"&&K.button!==0)return!1;var pe=n.findDOMNode(T);if(!pe||!pe.ownerDocument||!pe.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var Ye=pe.ownerDocument;if(!(T.props.disabled||!(K.target instanceof Ye.defaultView.Node)||T.props.handle&&!sr(K.target,T.props.handle,pe)||T.props.cancel&&sr(K.target,T.props.cancel,pe))){var st=kh(K);T.setState({touchIdentifier:st});var nt=aa(K,st,T);if(nt!=null){var Be=nt.x,fn=nt.y,fr=ua(T,Be,fn);T.props.onStart;var no=T.props.onStart(K,fr);no!==!1&&(T.props.enableUserSelectHack&&Th(Ye),T.setState({dragging:!0,lastX:Be,lastY:fn}),Jr(Ye,sn.move,T.handleDrag),Jr(Ye,sn.stop,T.handleDragStop))}}},T.handleDrag=function(K){K.type==="touchmove"&&K.preventDefault();var pe=aa(K,T.state.touchIdentifier,T);if(pe!=null){var Ye=pe.x,st=pe.y;if(Array.isArray(T.props.grid)){var nt=Ye-T.state.lastX,Be=st-T.state.lastY,fn=Nh(T.props.grid,nt,Be),fr=It(fn,2);if(nt=fr[0],Be=fr[1],!nt&&!Be)return;Ye=T.state.lastX+nt,st=T.state.lastY+Be}var no=ua(T,Ye,st),ca=T.props.onDrag(K,no);if(ca===!1){try{T.handleDragStop(new MouseEvent("mouseup"))}catch{var ki=document.createEvent("MouseEvents");ki.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),T.handleDragStop(ki)}return}T.setState({lastX:Ye,lastY:st})}},T.handleDragStop=function(K){if(!!T.state.dragging){var pe=aa(K,T.state.touchIdentifier,T);if(pe!=null){var Ye=pe.x,st=pe.y,nt=ua(T,Ye,st),Be=n.findDOMNode(T);Be&&T.props.enableUserSelectHack&&Sf(Be.ownerDocument),T.setState({dragging:!1,lastX:NaN,lastY:NaN}),T.props.onStop(K,nt),Be&&(Qt(Be.ownerDocument,sn.move,T.handleDrag),Qt(Be.ownerDocument,sn.stop,T.handleDragStop))}}},T.onMouseDown=function(K){return sn=Zt.mouse,T.handleDragStart(K)},T.onMouseUp=function(K){return sn=Zt.mouse,T.handleDragStop(K)},T.onTouchStart=function(K){return sn=Zt.touch,T.handleDragStart(K)},T.onTouchEnd=function(K){return sn=Zt.touch,T.handleDragStop(K)},x),Vt(T,V)}return se(w,[{key:"componentWillUnmount",value:function(){var x=n.findDOMNode(this);if(x){var T=x.ownerDocument;Qt(T,Zt.mouse.move,this.handleDrag),Qt(T,Zt.touch.move,this.handleDrag),Qt(T,Zt.mouse.stop,this.handleDragStop),Qt(T,Zt.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&Sf(T)}}},{key:"render",value:function(){return r.cloneElement(r.Children.only(this.props.children),{style:xh(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),w}(r.Component);Ln.displayName="DraggableCore",Ln.propTypes={allowAnyClick:M.bool,disabled:M.bool,enableUserSelectHack:M.bool,offsetParent:function(w,C){if(w[C]&&w[C].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:M.arrayOf(M.number),scale:M.number,handle:M.string,cancel:M.string,onStart:M.func,onDrag:M.func,onStop:M.func,onMouseDown:M.func,className:ae,style:ae,transform:ae},Ln.defaultProps={allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){}};var jn=function(m){He(w,m);function w(C){J(this,w);var x=Vt(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,C));return x.onDragStart=function(T,V){var q=x.props.onStart(T,sa(x,V));if(q===!1)return!1;x.setState({dragging:!0,dragged:!0})},x.onDrag=function(T,V){if(!x.state.dragging)return!1;var q=sa(x,V),X={x:q.x,y:q.y};if(x.props.bounds){var oe=X.x,K=X.y;X.x+=x.state.slackX,X.y+=x.state.slackY;var pe=bh(x,X.x,X.y),Ye=It(pe,2),st=Ye[0],nt=Ye[1];X.x=st,X.y=nt,X.slackX=x.state.slackX+(oe-X.x),X.slackY=x.state.slackY+(K-X.y),q.x=X.x,q.y=X.y,q.deltaX=X.x-x.state.x,q.deltaY=X.y-x.state.y}var Be=x.props.onDrag(T,q);if(Be===!1)return!1;x.setState(X)},x.onDragStop=function(T,V){if(!x.state.dragging)return!1;var q=x.props.onStop(T,sa(x,V));if(q===!1)return!1;var X={dragging:!1,slackX:0,slackY:0},oe=Boolean(x.props.position);if(oe){var K=x.props.position,pe=K.x,Ye=K.y;X.x=pe,X.y=Ye}x.setState(X)},x.state={dragging:!1,dragged:!1,x:C.position?C.position.x:C.defaultPosition.x,y:C.position?C.position.y:C.defaultPosition.y,slackX:0,slackY:0,isElementSVG:!1},C.position&&!(C.onDrag||C.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),x}return se(w,[{key:"componentDidMount",value:function(){typeof window.SVGElement<"u"&&n.findDOMNode(this)instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(x){x.position&&(!this.props.position||x.position.x!==this.props.position.x||x.position.y!==this.props.position.y)&&this.setState({x:x.position.x,y:x.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var x,T={},V=null,q=Boolean(this.props.position),X=!q||this.state.dragging,oe=this.props.position||this.props.defaultPosition,K={x:Rh(this)&&X?this.state.x:oe.x,y:Ih(this)&&X?this.state.y:oe.y};this.state.isElementSVG?V=Ch(K,this.props.positionOffset):T=_h(K,this.props.positionOffset);var pe=this.props,Ye=pe.defaultClassName,st=pe.defaultClassNameDragging,nt=pe.defaultClassNameDragged,Be=r.Children.only(this.props.children),fn=G(Be.props.className||"",Ye,(x={},de(x,st,this.state.dragging),de(x,nt,this.state.dragged),x));return r.createElement(Ln,me({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),r.cloneElement(Be,{className:fn,style:me({},Be.props.style,T),transform:V}))}}]),w}(r.Component);return jn.displayName="Draggable",jn.propTypes=me({},Ln.propTypes,{axis:M.oneOf(["both","x","y","none"]),bounds:M.oneOfType([M.shape({left:M.number,right:M.number,top:M.number,bottom:M.number}),M.string,M.oneOf([!1])]),defaultClassName:M.string,defaultClassNameDragging:M.string,defaultClassNameDragged:M.string,defaultPosition:M.shape({x:M.number,y:M.number}),positionOffset:M.shape({x:M.oneOfType([M.number,M.string]),y:M.oneOfType([M.number,M.string])}),position:M.shape({x:M.number,y:M.number}),className:ae,style:ae,transform:ae}),jn.defaultProps=me({},Ln.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null,scale:1}),jn.default=jn,jn.DraggableCore=Ln,jn})})(gh);Object.defineProperty($r,"__esModule",{value:!0});$r.Dropdown=$r.DraggableAttribute=void 0;var cf=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),uy=Ee.exports,Z=Qr(uy),sy=Mn.exports,Ke=Qr(sy),fy=Jl.exports,Xa=Qr(fy),Ka=Fe,cy=Hu.exports,df=Qr(cy),dy=ay,py=Qr(dy),hy=gh.exports,vy=Qr(hy);function Qr(e){return e&&e.__esModule?e:{default:e}}function Eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hf(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function vf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var mf=$r.DraggableAttribute=function(e){vf(t,e);function t(n){pf(this,t);var r=hf(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return r.state={open:!1,filterText:""},r}return cf(t,[{key:"toggleValue",value:function(r){r in this.props.valueFilter?this.props.removeValuesFromFilter(this.props.name,[r]):this.props.addValuesToFilter(this.props.name,[r])}},{key:"matchesFilter",value:function(r){return r.toLowerCase().trim().includes(this.state.filterText.toLowerCase().trim())}},{key:"selectOnly",value:function(r,o){r.stopPropagation(),this.props.setValuesInFilter(this.props.name,Object.keys(this.props.attrValues).filter(function(i){return i!==o}))}},{key:"getFilterBox",value:function(){var r=this,o=Object.keys(this.props.attrValues).length<this.props.menuLimit,i=Object.keys(this.props.attrValues),l=i.filter(this.matchesFilter.bind(this)).sort(this.props.sorter);return Z.default.createElement(vy.default,{handle:".pvtDragHandle"},Z.default.createElement("div",{className:"pvtFilterBox",style:{display:"block",cursor:"initial",zIndex:this.props.zIndex},onClick:function(){return r.props.moveFilterBoxToTop(r.props.name)}},Z.default.createElement("a",{onClick:function(){return r.setState({open:!1})},className:"pvtCloseX"},"\xD7"),Z.default.createElement("span",{className:"pvtDragHandle"},"\u2630"),Z.default.createElement("h4",null,this.props.name),o||Z.default.createElement("p",null,"(too many values to show)"),o&&Z.default.createElement("p",null,Z.default.createElement("input",{type:"text",placeholder:"Filter values",className:"pvtSearch",value:this.state.filterText,onChange:function(u){return r.setState({filterText:u.target.value})}}),Z.default.createElement("br",null),Z.default.createElement("a",{role:"button",className:"pvtButton",onClick:function(){return r.props.removeValuesFromFilter(r.props.name,Object.keys(r.props.attrValues).filter(r.matchesFilter.bind(r)))}},"Select ",i.length===l.length?"All":l.length)," ",Z.default.createElement("a",{role:"button",className:"pvtButton",onClick:function(){return r.props.addValuesToFilter(r.props.name,Object.keys(r.props.attrValues).filter(r.matchesFilter.bind(r)))}},"Deselect ",i.length===l.length?"All":l.length)),o&&Z.default.createElement("div",{className:"pvtCheckContainer"},l.map(function(a){return Z.default.createElement("p",{key:a,onClick:function(){return r.toggleValue(a)},className:a in r.props.valueFilter?"":"selected"},Z.default.createElement("a",{className:"pvtOnly",onClick:function(s){return r.selectOnly(s,a)}},"only"),Z.default.createElement("a",{className:"pvtOnlySpacer"},"\xA0"),a===""?Z.default.createElement("em",null,"null"):a)}))))}},{key:"toggleFilterBox",value:function(){this.setState({open:!this.state.open}),this.props.moveFilterBoxToTop(this.props.name)}},{key:"render",value:function(){var r=Object.keys(this.props.valueFilter).length!==0?"pvtFilteredAttribute":"";return Z.default.createElement("li",{"data-id":this.props.name},Z.default.createElement("span",{className:"pvtAttr "+r},this.props.name,Z.default.createElement("span",{className:"pvtTriangle",onClick:this.toggleFilterBox.bind(this)}," ","\u25BE")),this.state.open?this.getFilterBox():null)}}]),t}(Z.default.Component);mf.defaultProps={valueFilter:{}};mf.propTypes={name:Ke.default.string.isRequired,addValuesToFilter:Ke.default.func.isRequired,removeValuesFromFilter:Ke.default.func.isRequired,attrValues:Ke.default.objectOf(Ke.default.number).isRequired,valueFilter:Ke.default.objectOf(Ke.default.bool),moveFilterBoxToTop:Ke.default.func.isRequired,sorter:Ke.default.func.isRequired,menuLimit:Ke.default.number,zIndex:Ke.default.number};var Ga=$r.Dropdown=function(e){vf(t,e);function t(){return pf(this,t),hf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return cf(t,[{key:"render",value:function(){var r=this;return Z.default.createElement("div",{className:"pvtDropdown",style:{zIndex:this.props.zIndex}},Z.default.createElement("div",{onClick:function(i){i.stopPropagation(),r.props.toggle()},className:"pvtDropdownValue pvtDropdownCurrent "+(this.props.open?"pvtDropdownCurrentOpen":""),role:"button"},Z.default.createElement("div",{className:"pvtDropdownIcon"},this.props.open?"\xD7":"\u25BE"),this.props.current||Z.default.createElement("span",null,"\xA0")),this.props.open&&Z.default.createElement("div",{className:"pvtDropdownMenu"},this.props.values.map(function(o){return Z.default.createElement("div",{key:o,role:"button",onClick:function(l){l.stopPropagation(),r.props.current===o?r.props.toggle():r.props.setValue(o)},className:"pvtDropdownValue "+(o===r.props.current?"pvtDropdownActiveValue":"")},o)})))}}]),t}(Z.default.PureComponent),gf=function(e){vf(t,e);function t(n){pf(this,t);var r=hf(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return r.state={unusedOrder:[],zIndices:{},maxZIndex:1e3,openDropdown:!1,attrValues:{},materializedInput:[]},r}return cf(t,[{key:"componentDidMount",value:function(){this.materializeInput(this.props.data)}},{key:"componentDidUpdate",value:function(){this.materializeInput(this.props.data)}},{key:"materializeInput",value:function(r){if(this.state.data!==r){var o={data:r,attrValues:{},materializedInput:[]},i=0;Ka.PivotData.forEachRecord(o.data,this.props.derivedAttributes,function(l){o.materializedInput.push(l);var a=!0,u=!1,s=void 0;try{for(var p=Object.keys(l)[Symbol.iterator](),y;!(a=(y=p.next()).done);a=!0){var g=y.value;g in o.attrValues||(o.attrValues[g]={},i>0&&(o.attrValues[g].null=i))}}catch(S){u=!0,s=S}finally{try{!a&&p.return&&p.return()}finally{if(u)throw s}}for(var O in o.attrValues){var k=O in l?l[O]:"null";k in o.attrValues[O]||(o.attrValues[O][k]=0),o.attrValues[O][k]++}i++}),this.setState(o)}}},{key:"sendPropUpdate",value:function(r){this.props.onChange((0,Xa.default)(this.props,r))}},{key:"propUpdater",value:function(r){var o=this;return function(i){return o.sendPropUpdate(Eo({},r,{$set:i}))}}},{key:"setValuesInFilter",value:function(r,o){this.sendPropUpdate({valueFilter:Eo({},r,{$set:o.reduce(function(i,l){return i[l]=!0,i},{})})})}},{key:"addValuesToFilter",value:function(r,o){r in this.props.valueFilter?this.sendPropUpdate({valueFilter:Eo({},r,o.reduce(function(i,l){return i[l]={$set:!0},i},{}))}):this.setValuesInFilter(r,o)}},{key:"removeValuesFromFilter",value:function(r,o){this.sendPropUpdate({valueFilter:Eo({},r,{$unset:o})})}},{key:"moveFilterBoxToTop",value:function(r){this.setState((0,Xa.default)(this.state,{maxZIndex:{$set:this.state.maxZIndex+1},zIndices:Eo({},r,{$set:this.state.maxZIndex+1})}))}},{key:"isOpen",value:function(r){return this.state.openDropdown===r}},{key:"makeDnDCell",value:function(r,o,i){var l=this;return Z.default.createElement(py.default,{options:{group:"shared",ghostClass:"pvtPlaceholder",filter:".pvtFilterBox",preventOnFilter:!1},tag:"td",className:i,onChange:o},r.map(function(a){return Z.default.createElement(mf,{name:a,key:a,attrValues:l.state.attrValues[a],valueFilter:l.props.valueFilter[a]||{},sorter:(0,Ka.getSort)(l.props.sorters,a),menuLimit:l.props.menuLimit,setValuesInFilter:l.setValuesInFilter.bind(l),addValuesToFilter:l.addValuesToFilter.bind(l),moveFilterBoxToTop:l.moveFilterBoxToTop.bind(l),removeValuesFromFilter:l.removeValuesFromFilter.bind(l),zIndex:l.state.zIndices[a]||l.state.maxZIndex})}))}},{key:"render",value:function(){var r=this,o=this.props.aggregators[this.props.aggregatorName]([])().numInputs||0,i=this.props.aggregators[this.props.aggregatorName]([])().outlet,l=this.props.rendererName in this.props.renderers?this.props.rendererName:Object.keys(this.props.renderers)[0],a=Z.default.createElement("td",{className:"pvtRenderers"},Z.default.createElement(Ga,{current:l,values:Object.keys(this.props.renderers),open:this.isOpen("renderer"),zIndex:this.isOpen("renderer")?this.state.maxZIndex+1:1,toggle:function(){return r.setState({openDropdown:r.isOpen("renderer")?!1:"renderer"})},setValue:this.propUpdater("rendererName")})),u={key_a_to_z:{rowSymbol:"\u2195",colSymbol:"\u2194",next:"value_a_to_z"},value_a_to_z:{rowSymbol:"\u2193",colSymbol:"\u2192",next:"value_z_to_a"},value_z_to_a:{rowSymbol:"\u2191",colSymbol:"\u2190",next:"key_a_to_z"}},s=Z.default.createElement("td",{className:"pvtVals"},Z.default.createElement(Ga,{current:this.props.aggregatorName,values:Object.keys(this.props.aggregators),open:this.isOpen("aggregators"),zIndex:this.isOpen("aggregators")?this.state.maxZIndex+1:1,toggle:function(){return r.setState({openDropdown:r.isOpen("aggregators")?!1:"aggregators"})},setValue:this.propUpdater("aggregatorName")}),Z.default.createElement("a",{role:"button",className:"pvtRowOrder",onClick:function(){return r.propUpdater("rowOrder")(u[r.props.rowOrder].next)}},u[this.props.rowOrder].rowSymbol),Z.default.createElement("a",{role:"button",className:"pvtColOrder",onClick:function(){return r.propUpdater("colOrder")(u[r.props.colOrder].next)}},u[this.props.colOrder].colSymbol),o>0&&Z.default.createElement("br",null),new Array(o).fill().map(function(h,v){return[Z.default.createElement(Ga,{key:v,current:r.props.vals[v],values:Object.keys(r.state.attrValues).filter(function(_){return!r.props.hiddenAttributes.includes(_)&&!r.props.hiddenFromAggregators.includes(_)}),open:r.isOpen("val"+v),zIndex:r.isOpen("val"+v)?r.state.maxZIndex+1:1,toggle:function(){return r.setState({openDropdown:r.isOpen("val"+v)?!1:"val"+v})},setValue:function(E){return r.sendPropUpdate({vals:{$splice:[[v,1,E]]}})}}),v+1!==o?Z.default.createElement("br",{key:"br"+v}):null]}),i&&i(this.props.data)),p=Object.keys(this.state.attrValues).filter(function(h){return!r.props.rows.includes(h)&&!r.props.cols.includes(h)&&!r.props.hiddenAttributes.includes(h)&&!r.props.hiddenFromDragDrop.includes(h)}).sort((0,Ka.sortAs)(this.state.unusedOrder)),y=p.reduce(function(h,v){return h+v.length},0),g=y<this.props.unusedOrientationCutoff,O=this.makeDnDCell(p,function(h){return r.setState({unusedOrder:h})},"pvtAxisContainer pvtUnused "+(g?"pvtHorizList":"pvtVertList")),k=this.props.cols.filter(function(h){return!r.props.hiddenAttributes.includes(h)&&!r.props.hiddenFromDragDrop.includes(h)}),S=this.makeDnDCell(k,this.propUpdater("cols"),"pvtAxisContainer pvtHorizList pvtCols"),c=this.props.rows.filter(function(h){return!r.props.hiddenAttributes.includes(h)&&!r.props.hiddenFromDragDrop.includes(h)}),f=this.makeDnDCell(c,this.propUpdater("rows"),"pvtAxisContainer pvtVertList pvtRows"),d=Z.default.createElement("td",{className:"pvtOutput"},Z.default.createElement(df.default,(0,Xa.default)(this.props,{data:{$set:this.state.materializedInput}})));return g?Z.default.createElement("table",{className:"pvtUi"},Z.default.createElement("tbody",{onClick:function(){return r.setState({openDropdown:!1})}},Z.default.createElement("tr",null,a,O),Z.default.createElement("tr",null,s,S),Z.default.createElement("tr",null,f,d))):Z.default.createElement("table",{className:"pvtUi"},Z.default.createElement("tbody",{onClick:function(){return r.setState({openDropdown:!1})}},Z.default.createElement("tr",null,a,s,S),Z.default.createElement("tr",null,O,f,d)))}}]),t}(Z.default.PureComponent);gf.propTypes=Object.assign({},df.default.propTypes,{onChange:Ke.default.func.isRequired,hiddenAttributes:Ke.default.arrayOf(Ke.default.string),hiddenFromAggregators:Ke.default.arrayOf(Ke.default.string),hiddenFromDragDrop:Ke.default.arrayOf(Ke.default.string),unusedOrientationCutoff:Ke.default.number,menuLimit:Ke.default.number});gf.defaultProps=Object.assign({},df.default.defaultProps,{hiddenAttributes:[],hiddenFromAggregators:[],hiddenFromDragDrop:[],unusedOrientationCutoff:85,menuLimit:500});var my=$r.default=gf;var yh={};(function(e){function t(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(P){return typeof P}:t=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},t(_)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=v;var n=l(Ee.exports),r=o(Mn.exports);function o(_){return _&&_.__esModule?_:{default:_}}function i(){if(typeof WeakMap!="function")return null;var _=new WeakMap;return i=function(){return _},_}function l(_){if(_&&_.__esModule)return _;if(_===null||t(_)!=="object"&&typeof _!="function")return{default:_};var E=i();if(E&&E.has(_))return E.get(_);var P={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in _)if(Object.prototype.hasOwnProperty.call(_,D)){var j=b?Object.getOwnPropertyDescriptor(_,D):null;j&&(j.get||j.set)?Object.defineProperty(P,D,j):P[D]=_[D]}return P.default=_,E&&E.set(_,P),P}function a(_,E){if(!(_ instanceof E))throw new TypeError("Cannot call a class as a function")}function u(_,E){for(var P=0;P<E.length;P++){var b=E[P];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}function s(_,E,P){return E&&u(_.prototype,E),P&&u(_,P),_}function p(_,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(E&&E.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),E&&y(_,E)}function y(_,E){return y=Object.setPrototypeOf||function(b,D){return b.__proto__=D,b},y(_,E)}function g(_){var E=S();return function(){var b=c(_),D;if(E){var j=c(this).constructor;D=Reflect.construct(b,arguments,j)}else D=b.apply(this,arguments);return O(this,D)}}function O(_,E){return E&&(t(E)==="object"||typeof E=="function")?E:k(_)}function k(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function S(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function c(_){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},c(_)}var f=["AfterExport","AfterPlot","Animated","AnimatingFrame","AnimationInterrupted","AutoSize","BeforeExport","BeforeHover","ButtonClicked","Click","ClickAnnotation","Deselect","DoubleClick","Framework","Hover","LegendClick","LegendDoubleClick","Relayout","Relayouting","Restyle","Redraw","Selected","Selecting","SliderChange","SliderEnd","SliderStart","SunburstClick","Transitioning","TransitionInterrupted","Unhover"],d=["plotly_restyle","plotly_redraw","plotly_relayout","plotly_relayouting","plotly_doubleclick","plotly_animated","plotly_sunburstclick"],h=typeof window<"u";function v(_){var E=function(P){p(D,P);var b=g(D);function D(j){var N;return a(this,D),N=b.call(this,j),N.p=Promise.resolve(),N.resizeHandler=null,N.handlers={},N.syncWindowResize=N.syncWindowResize.bind(k(N)),N.syncEventHandlers=N.syncEventHandlers.bind(k(N)),N.attachUpdateEvents=N.attachUpdateEvents.bind(k(N)),N.getRef=N.getRef.bind(k(N)),N.handleUpdate=N.handleUpdate.bind(k(N)),N.figureCallback=N.figureCallback.bind(k(N)),N.updatePlotly=N.updatePlotly.bind(k(N)),N}return s(D,[{key:"updatePlotly",value:function(N,$,M){var G=this;this.p=this.p.then(function(){if(!G.unmounting){if(!G.el)throw new Error("Missing element reference");return _.react(G.el,{data:G.props.data,layout:G.props.layout,config:G.props.config,frames:G.props.frames})}}).then(function(){G.unmounting||(G.syncWindowResize(N),G.syncEventHandlers(),G.figureCallback($),M&&G.attachUpdateEvents())}).catch(function(ne){G.props.onError&&G.props.onError(ne)})}},{key:"componentDidMount",value:function(){this.unmounting=!1,this.updatePlotly(!0,this.props.onInitialized,!0)}},{key:"componentDidUpdate",value:function(N){this.unmounting=!1;var $=N.frames&&N.frames.length?N.frames.length:0,M=this.props.frames&&this.props.frames.length?this.props.frames.length:0,G=!(N.layout===this.props.layout&&N.data===this.props.data&&N.config===this.props.config&&M===$),ne=N.revision!==void 0,W=N.revision!==this.props.revision;!G&&(!ne||ne&&!W)||this.updatePlotly(!1,this.props.onUpdate,!1)}},{key:"componentWillUnmount",value:function(){this.unmounting=!0,this.figureCallback(this.props.onPurge),this.resizeHandler&&h&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null),this.removeUpdateEvents(),_.purge(this.el)}},{key:"attachUpdateEvents",value:function(){var N=this;!this.el||!this.el.removeListener||d.forEach(function($){N.el.on($,N.handleUpdate)})}},{key:"removeUpdateEvents",value:function(){var N=this;!this.el||!this.el.removeListener||d.forEach(function($){N.el.removeListener($,N.handleUpdate)})}},{key:"handleUpdate",value:function(){this.figureCallback(this.props.onUpdate)}},{key:"figureCallback",value:function(N){if(typeof N=="function"){var $=this.el,M=$.data,G=$.layout,ne=this.el._transitionData?this.el._transitionData._frames:null,W={data:M,layout:G,frames:ne};N(W,this.el)}}},{key:"syncWindowResize",value:function(N){var $=this;!h||(this.props.useResizeHandler&&!this.resizeHandler?(this.resizeHandler=function(){return _.Plots.resize($.el)},window.addEventListener("resize",this.resizeHandler),N&&this.resizeHandler()):!this.props.useResizeHandler&&this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler),this.resizeHandler=null))}},{key:"getRef",value:function(N){this.el=N,this.props.debug&&h&&(window.gd=this.el)}},{key:"syncEventHandlers",value:function(){var N=this;f.forEach(function($){var M=N.props["on"+$],G=N.handlers[$],ne=Boolean(G);M&&!ne?N.addEventHandler($,M):!M&&ne?N.removeEventHandler($):M&&ne&&M!==G&&(N.removeEventHandler($),N.addEventHandler($,M))})}},{key:"addEventHandler",value:function(N,$){this.handlers[N]=$,this.el.on(this.getPlotlyEventName(N),this.handlers[N])}},{key:"removeEventHandler",value:function(N){this.el.removeListener(this.getPlotlyEventName(N),this.handlers[N]),delete this.handlers[N]}},{key:"getPlotlyEventName",value:function(N){return"plotly_"+N.toLowerCase()}},{key:"render",value:function(){return n.default.createElement("div",{id:this.props.divId,style:this.props.style,ref:this.getRef,className:this.props.className})}}]),D}(n.Component);return E.propTypes={data:r.default.arrayOf(r.default.object),config:r.default.object,layout:r.default.object,frames:r.default.arrayOf(r.default.object),revision:r.default.number,onInitialized:r.default.func,onPurge:r.default.func,onError:r.default.func,onUpdate:r.default.func,debug:r.default.bool,style:r.default.object,className:r.default.string,useResizeHandler:r.default.bool,divId:r.default.string},f.forEach(function(P){E.propTypes["on"+P]=r.default.func}),E.defaultProps={debug:!1,useResizeHandler:!1,data:[],style:{position:"relative",display:"inline-block"}},E}})(yh);const gy=hi(yh);var Zu={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function S(c,f){for(var d=0;d<f.length;d++){var h=f[d];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,h.key,h)}}return function(c,f,d){return f&&S(c.prototype,f),d&&S(c,d),c}}();t.default=k;var r=Ee.exports,o=u(r),i=Mn.exports,l=u(i),a=Fe;function u(S){return S&&S.__esModule?S:{default:S}}function s(S,c){if(!(S instanceof c))throw new TypeError("Cannot call a class as a function")}function p(S,c){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:S}function y(S,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);S.prototype=Object.create(c&&c.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(S,c):S.__proto__=c)}function g(S){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,h=function(v){y(_,v);function _(){return s(this,_),p(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return n(_,[{key:"render",value:function(){var P=new a.PivotData(this.props),b=P.getRowKeys(),D=P.getColKeys(),j=d?D:b;j.length===0&&j.push([]);var N=d?b:D;N.length===0&&N.push([]);var $=this.props.aggregatorName,M=this.props.aggregators[$]([])().numInputs||0;M!==0&&($+=" of "+this.props.vals.slice(0,M).join(", "));var G=j.map(function(R){var L=[],A=[],U=!0,J=!1,se=void 0;try{for(var de=N[Symbol.iterator](),me;!(U=(me=de.next()).done);U=!0){var He=me.value,Vt=parseFloat(P.getAggregator(d?He:R,d?R:He).value());L.push(isFinite(Vt)?Vt:null),A.push(He.join("-")||" ")}}catch($t){J=!0,se=$t}finally{try{!U&&de.return&&de.return()}finally{if(J)throw se}}var It={name:R.join("-")||$};return c.type==="pie"?(It.values=L,It.labels=A.length>1?A:[$]):(It.x=d?L:A,It.y=d?A:L),Object.assign(It,c)}),ne=$,W=d?this.props.rows.join("-"):this.props.cols.join("-"),re=d?this.props.cols.join("-"):this.props.rows.join("-");W!==""&&(ne+=" vs "+W),re!==""&&(ne+=" by "+re);var H={title:ne,hovermode:"closest",width:window.innerWidth/1.5,height:window.innerHeight/1.4-50};if(c.type==="pie"){var ae=Math.ceil(Math.sqrt(G.length)),$e=Math.ceil(G.length/ae);H.grid={columns:ae,rows:$e},G.forEach(function(R,L){R.domain={row:Math.floor(L/ae),column:L-ae*Math.floor(L/ae)},G.length>1&&(R.title=R.name)}),G[0].labels.length===1&&(H.showlegend=!1)}else H.xaxis={title:d?$:null,automargin:!0},H.yaxis={title:d?null:$,automargin:!0};return o.default.createElement(S,{data:G,layout:Object.assign(H,f,this.props.plotlyOptions),config:this.props.plotlyConfig,onUpdate:this.props.onRendererUpdate})}}]),_}(o.default.PureComponent);return h.defaultProps=Object.assign({},a.PivotData.defaultProps,{plotlyOptions:{},plotlyConfig:{}}),h.propTypes=Object.assign({},a.PivotData.propTypes,{plotlyOptions:l.default.object,plotlyConfig:l.default.object,onRendererUpdate:l.default.func}),h}function O(S){var c=function(f){y(d,f);function d(){return s(this,d),p(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}return n(d,[{key:"render",value:function(){var v=new a.PivotData(this.props),_=v.getRowKeys(),E=v.getColKeys();_.length===0&&_.push([]),E.length===0&&E.push([]);var P={x:[],y:[],text:[],type:"scatter",mode:"markers"};_.map(function(D){E.map(function(j){var N=v.getAggregator(D,j).value();N!==null&&(P.x.push(j.join("-")),P.y.push(D.join("-")),P.text.push(N))})});var b={title:this.props.rows.join("-")+" vs "+this.props.cols.join("-"),hovermode:"closest",xaxis:{title:this.props.cols.join("-"),automargin:!0},yaxis:{title:this.props.rows.join("-"),automargin:!0},width:window.innerWidth/1.5,height:window.innerHeight/1.4-50};return o.default.createElement(S,{data:[P],layout:Object.assign(b,this.props.plotlyOptions),config:this.props.plotlyConfig,onUpdate:this.props.onRendererUpdate})}}]),d}(o.default.PureComponent);return c.defaultProps=Object.assign({},a.PivotData.defaultProps,{plotlyOptions:{},plotlyConfig:{}}),c.propTypes=Object.assign({},a.PivotData.propTypes,{plotlyOptions:l.default.object,plotlyConfig:l.default.object,onRendererUpdate:l.default.func}),c}function k(S){return{"Grouped Column Chart":g(S,{type:"bar"},{barmode:"group"}),"Stacked Column Chart":g(S,{type:"bar"},{barmode:"relative"}),"Grouped Bar Chart":g(S,{type:"bar",orientation:"h"},{barmode:"group"},!0),"Stacked Bar Chart":g(S,{type:"bar",orientation:"h"},{barmode:"relative"},!0),"Line Chart":g(S),"Dot Chart":g(S,{mode:"markers"},{},!0),"Area Chart":g(S,{stackgroup:1}),"Scatter Chart":O(S),"Multiple Pie Chart":g(S,{type:"pie",scalegroup:1,hoverinfo:"label+value",textinfo:"none"},{},!0)}}e.exports=t.default})(Zu,Zu.exports);const yy=hi(Zu.exports);var rd=Object.prototype.hasOwnProperty;function Ju(e,t){var n,r;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&Ju(e[r],t[r]););return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(rd.call(e,n)&&++r&&!rd.call(t,n)||!(n in t)||!Ju(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}var qa=new WeakMap,od=0;function wy(e){if(!e.length)return"";for(var t="arg",n=0;n<e.length;++n){if(e[n]===null){t+="@null";continue}var r=void 0;typeof e[n]!="object"&&typeof e[n]!="function"?typeof e[n]=="string"?r='"'+e[n]+'"':r=String(e[n]):qa.has(e[n])?r=qa.get(e[n]):(r=od,qa.set(e[n],od++)),t+="@"+r}return t}var Sy=function(){function e(t){t===void 0&&(t={}),this.__cache=new Map(Object.entries(t)),this.__listeners=[]}return e.prototype.get=function(t){var n=this.serializeKey(t)[0];return this.__cache.get(n)},e.prototype.set=function(t,n){var r=this.serializeKey(t)[0];this.__cache.set(r,n),this.notify()},e.prototype.keys=function(){return Array.from(this.__cache.keys())},e.prototype.has=function(t){var n=this.serializeKey(t)[0];return this.__cache.has(n)},e.prototype.clear=function(){this.__cache.clear(),this.notify()},e.prototype.delete=function(t){var n=this.serializeKey(t)[0];this.__cache.delete(n),this.notify()},e.prototype.serializeKey=function(t){var n=null;if(typeof t=="function")try{t=t()}catch{t=""}Array.isArray(t)?(n=t,t=wy(t)):t=String(t||"");var r=t?"err@"+t:"",o=t?"validating@"+t:"";return[t,n,r,o]},e.prototype.subscribe=function(t){var n=this;if(typeof t!="function")throw new Error("Expected the listener to be a function.");var r=!0;return this.__listeners.push(t),function(){if(!!r){r=!1;var o=n.__listeners.indexOf(t);o>-1&&(n.__listeners[o]=n.__listeners[n.__listeners.length-1],n.__listeners.length--)}}},e.prototype.notify=function(){for(var t=0,n=this.__listeners;t<n.length;t++){var r=n[t];r()}},e}();function Ey(){return typeof navigator<"u"&&typeof navigator.onLine<"u"?navigator.onLine:!0}function _y(){return typeof document<"u"&&typeof document.visibilityState<"u"?document.visibilityState!=="hidden":!0}var Cy=function(e){return fetch(e).then(function(t){return t.json()})};const Qa={isOnline:Ey,isDocumentVisible:_y,fetcher:Cy};var Me=new Sy;function Oy(e,t,n,r,o){if(!!n.isDocumentVisible()&&!(typeof n.errorRetryCount=="number"&&o.retryCount>n.errorRetryCount)){var i=Math.min(o.retryCount||0,8),l=~~((Math.random()+.5)*(1<<i))*n.errorRetryInterval;setTimeout(r,l,o)}}var id=typeof window<"u"&&navigator.connection&&["slow-2g","2g"].indexOf(navigator.connection.effectiveType)!==-1,es={onLoadingSlow:function(){},onSuccess:function(){},onError:function(){},onErrorRetry:Oy,errorRetryInterval:(id?10:5)*1e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:(id?5:3)*1e3,refreshInterval:0,revalidateOnFocus:!0,revalidateOnReconnect:!0,refreshWhenHidden:!1,refreshWhenOffline:!1,shouldRetryOnError:!0,suspense:!1,compare:Ju,fetcher:Qa.fetcher,isOnline:Qa.isOnline,isDocumentVisible:Qa.isDocumentVisible,isPaused:function(){return!1}},yf=Ee.exports.createContext({});yf.displayName="SWRConfigContext";var ts=globalThis&&globalThis.__awaiter||function(e,t,n,r){function o(i){return i instanceof n?i:new n(function(l){l(i)})}return new(n||(n=Promise))(function(i,l){function a(p){try{s(r.next(p))}catch(y){l(y)}}function u(p){try{s(r.throw(p))}catch(y){l(y)}}function s(p){p.done?i(p.value):o(p.value).then(a,u)}s((r=r.apply(e,t||[])).next())})},ns=globalThis&&globalThis.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(s){return function(p){return u([s,p])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,o=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1],i=s;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(s);break}i[2]&&n.ops.pop(),n.trys.pop();continue}s=t.call(e,n)}catch(p){s=[6,p],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},ia=typeof window>"u"||!!(typeof Deno<"u"&&Deno&&Deno.version&&Deno.version.deno),ky=ia?null:window.requestAnimationFrame||function(e){return setTimeout(e,1)},Za=ia?Ee.exports.useEffect:Ee.exports.useLayoutEffect,kt={},Yn={},Ll={},rs={},pi={},Qo={},jl={},os=function(){var e=0;return function(){return++e}}();if(!ia&&window.addEventListener&&typeof document<"u"&&typeof document.addEventListener<"u"){var Ja=function(e){if(!(!es.isDocumentVisible()||!es.isOnline()))for(var t in e)e[t][0]&&e[t][0]()};document.addEventListener("visibilitychange",function(){return Ja(Ll)},!1),window.addEventListener("focus",function(){return Ja(Ll)},!1),window.addEventListener("online",function(){return Ja(rs)},!1)}var Ty=function(e,t){t===void 0&&(t=!0);var n=Me.serializeKey(e),r=n[0],o=n[2],i=n[3];if(!r)return Promise.resolve();var l=pi[r];if(r&&l){for(var a=Me.get(r),u=Me.get(o),s=Me.get(i),p=[],y=0;y<l.length;++y)p.push(l[y](t,a,u,s,y>0));return Promise.all(p).then(function(){return Me.get(r)})}return Promise.resolve(Me.get(r))},eu=function(e,t,n,r){var o=pi[e];if(e&&o)for(var i=0;i<o.length;++i)o[i](!1,t,n,r)},xy=function(e,t,n){return n===void 0&&(n=!0),ts(void 0,void 0,void 0,function(){var r,o,i,l,a,u,s,p,y,g,O,k,S;return ns(this,function(c){switch(c.label){case 0:if(r=Me.serializeKey(e),o=r[0],i=r[2],!o)return[2];if(typeof t>"u")return[2,Ty(e,n)];if(Qo[o]=os()-1,jl[o]=0,l=Qo[o],a=Yn[o],p=!1,t&&typeof t=="function")try{t=t(Me.get(o))}catch(f){s=f}if(!(t&&typeof t.then=="function"))return[3,5];p=!0,c.label=1;case 1:return c.trys.push([1,3,,4]),[4,t];case 2:return u=c.sent(),[3,4];case 3:return y=c.sent(),s=y,[3,4];case 4:return[3,6];case 5:u=t,c.label=6;case 6:return g=function(){if(l!==Qo[o]||a!==Yn[o]){if(s)throw s;return!0}},g()?[2,u]:(typeof u<"u"&&Me.set(o,u),Me.set(i,s),jl[o]=os()-1,p?[3,8]:[4,0]);case 7:if(c.sent(),g())return[2,u];c.label=8;case 8:if(O=pi[o],O){for(k=[],S=0;S<O.length;++S)k.push(O[S](!!n,u,s,void 0,S>0));return[2,Promise.all(k).then(function(){if(s)throw s;return Me.get(o)})]}if(s)throw s;return[2,u]}})})};function Py(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r,o,i={};t.length>=1&&(r=t[0]),t.length>2?(o=t[1],i=t[2]):typeof t[1]=="function"?o=t[1]:typeof t[1]=="object"&&(i=t[1]);var l=Me.serializeKey(r),a=l[0],u=l[1],s=l[2],p=l[3];i=Object.assign({},es,Ee.exports.useContext(yf),i);var y=Ee.exports.useRef(i);Za(function(){y.current=i}),typeof o>"u"&&(o=i.fetcher);var g=function(){var W=Me.get(a);return typeof W>"u"?i.initialData:W},O=g(),k=Me.get(s),S=!!Me.get(p),c=Ee.exports.useRef({data:!1,error:!1,isValidating:!1}),f=Ee.exports.useRef({data:O,error:k,isValidating:S});Ee.exports.useDebugValue(f.current.data);var d=Ee.exports.useState(null),h=d[1],v=Ee.exports.useCallback(function(W){var re=!1;for(var H in W)f.current[H]!==W[H]&&(f.current[H]=W[H],c.current[H]&&(re=!0));if(re||i.suspense){if(_.current||!P.current)return;h({})}},[]),_=Ee.exports.useRef(!1),E=Ee.exports.useRef(a),P=Ee.exports.useRef(!1),b=Ee.exports.useCallback(function(W){for(var re,H=[],ae=1;ae<arguments.length;ae++)H[ae-1]=arguments[ae];_.current||!P.current||a===E.current&&(re=y.current)[W].apply(re,H)},[a]),D=Ee.exports.useCallback(function(W,re){return xy(E.current,W,re)},[]),j=function(W,re){!re||(W[a]?W[a].push(re):W[a]=[re])},N=function(W,re){if(W[a]){var H=W[a],ae=H.indexOf(re);ae>=0&&(H[ae]=H[H.length-1],H.pop())}},$=Ee.exports.useCallback(function(W){return W===void 0&&(W={}),ts(e,void 0,void 0,function(){var re,H,ae,$e,R,L,A;return ns(this,function(U){switch(U.label){case 0:if(!a||!o)return[2,!1];if(_.current)return[2,!1];if(y.current.isPaused())return[2,!1];W=Object.assign({dedupe:!1},W),re=!0,H=typeof kt[a]<"u"&&W.dedupe,U.label=1;case 1:return U.trys.push([1,6,,7]),v({isValidating:!0}),Me.set(p,!0),H||eu(a,f.current.data,f.current.error,!0),ae=void 0,$e=void 0,H?($e=Yn[a],[4,kt[a]]):[3,3];case 2:return ae=U.sent(),[3,5];case 3:return i.loadingTimeout&&!Me.get(a)&&setTimeout(function(){re&&b("onLoadingSlow",a,i)},i.loadingTimeout),u!==null?kt[a]=o.apply(void 0,u):kt[a]=o(a),Yn[a]=$e=os(),[4,kt[a]];case 4:ae=U.sent(),setTimeout(function(){delete kt[a],delete Yn[a]},i.dedupingInterval),b("onSuccess",ae,a,i),U.label=5;case 5:return Yn[a]>$e?[2,!1]:Qo[a]&&($e<=Qo[a]||$e<=jl[a]||jl[a]===0)?(v({isValidating:!1}),[2,!1]):(Me.set(a,ae),Me.set(s,void 0),Me.set(p,!1),R={isValidating:!1},typeof f.current.error<"u"&&(R.error=void 0),i.compare(f.current.data,ae)||(R.data=ae),v(R),H||eu(a,ae,R.error,!1),[3,7]);case 6:return L=U.sent(),delete kt[a],delete Yn[a],y.current.isPaused()?(v({isValidating:!1}),[2,!1]):(Me.set(s,L),f.current.error!==L&&(v({isValidating:!1,error:L}),H||eu(a,void 0,L,!1)),b("onError",L,a,i),i.shouldRetryOnError&&(A=(W.retryCount||0)+1,b("onErrorRetry",L,a,i,$,Object.assign({dedupe:!0},W,{retryCount:A}))),[3,7]);case 7:return re=!1,[2,!0]}})})},[a]);Za(function(){if(!!a){_.current=!1,P.current=!0;var W=f.current.data,re=g();E.current!==a&&(E.current=a),i.compare(W,re)||v({data:re});var H=function(){return $({dedupe:!0})};(i.revalidateOnMount||!i.initialData&&i.revalidateOnMount===void 0)&&(typeof re<"u"&&!ia?ky(H):H());var ae=!1,$e=function(){ae||!y.current.revalidateOnFocus||(ae=!0,H(),setTimeout(function(){return ae=!1},y.current.focusThrottleInterval))},R=function(){y.current.revalidateOnReconnect&&H()},L=function(A,U,J,se,de){A===void 0&&(A=!0),de===void 0&&(de=!0);var me={},He=!1;return typeof U<"u"&&!i.compare(f.current.data,U)&&(me.data=U,He=!0),f.current.error!==J&&(me.error=J,He=!0),typeof se<"u"&&f.current.isValidating!==se&&(me.isValidating=se,He=!0),He&&v(me),A?de?H():$():!1};return j(Ll,$e),j(rs,R),j(pi,L),function(){v=function(){return null},_.current=!0,N(Ll,$e),N(rs,R),N(pi,L)}}},[a,$]),Za(function(){var W=null,re=function(){return ts(e,void 0,void 0,function(){return ns(this,function(H){switch(H.label){case 0:return!f.current.error&&(y.current.refreshWhenHidden||y.current.isDocumentVisible())&&(y.current.refreshWhenOffline||y.current.isOnline())?[4,$({dedupe:!0})]:[3,2];case 1:H.sent(),H.label=2;case 2:return y.current.refreshInterval&&W&&(W=setTimeout(re,y.current.refreshInterval)),[2]}})})};return y.current.refreshInterval&&(W=setTimeout(re,y.current.refreshInterval)),function(){W&&(clearTimeout(W),W=null)}},[i.refreshInterval,i.refreshWhenHidden,i.refreshWhenOffline,$]);var M=Ee.exports.useMemo(function(){var W={revalidate:$,mutate:D};return Object.defineProperties(W,{error:{get:function(){return c.current.error=!0,E.current===a?f.current.error:k},enumerable:!0},data:{get:function(){return c.current.data=!0,E.current===a?f.current.data:O},enumerable:!0},isValidating:{get:function(){return c.current.isValidating=!0,a?f.current.isValidating:!1},enumerable:!0}}),W},[$,O,k,D,a]);if(i.suspense){var G=Me.get(a),ne=Me.get(s);if(typeof G>"u"&&(G=O),typeof ne>"u"&&(ne=k),typeof G>"u"&&typeof ne>"u"){if(kt[a]||$(),kt[a]&&typeof kt[a].then=="function")throw kt[a];G=kt[a]}if(typeof G>"u"&&ne)throw ne;return{error:ne,data:G,revalidate:$,mutate:D,isValidating:f.current.isValidating}}return M}yf.Provider;globalThis&&globalThis.__awaiter;globalThis&&globalThis.__generator;globalThis&&globalThis.__rest;var la={exports:{}},Ci={};/** @license React v17.0.2
 * 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 Dy=Ee.exports,wh=60103;Ci.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var ld=Symbol.for;wh=ld("react.element"),Ci.Fragment=ld("react.fragment")}var by=Dy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ny=Object.prototype.hasOwnProperty,Ry={key:!0,ref:!0,__self:!0,__source:!0};function Sh(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)Ny.call(t,r)&&!Ry.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:wh,type:e,key:i,ref:l,props:o,_owner:by.current}}Ci.jsx=Sh;Ci.jsxs=Sh;(function(e){e.exports=Ci})(la);const ad=la.exports.Fragment,Zo=la.exports.jsx,Iy=la.exports.jsxs,Ay=gy(window.Plotly),My=yy(Ay),Fy=Object.assign({},pg,My);function Ly(){const e=new URLSearchParams(window.location.search),[t,n]=_d.useState({}),r=Py(e.get("url")||"/palkkakysely/data.json");return r.data?Zo("div",{children:Zo(my,{data:r.data,renderers:Fy,onChange:n,...t})}):r.error?Iy(ad,{children:["Virhe ladatessa dataa: ",`${r.error}`]}):Zo(ad,{children:"Ladataan..."})}Hm.render(Zo(_d.StrictMode,{children:Zo(Ly,{})}),document.getElementById("root"));
