mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 20:31:40 +03:00
1 line
626 KiB
JavaScript
1 line
626 KiB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("buffer")):"function"==typeof define&&define.amd?define("index",["buffer"],t):t((e=e||self).buffer)}(this,function(e){"use strict";e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var t="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n=t.performance||{},r=(n.now||n.mozNow||n.msNow||n.oNow||n.webkitNow,"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function i(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e,t){return e(t={exports:{}},t.exports),t.exports}var s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var c=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))u.call(n,a)&&(i[a]=n[a]);if(s){r=s(n);for(var c=0;c<r.length;c++)l.call(n,r[c])&&(i[r[c]]=n[r[c]])}}return i};var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},d={};function h(e,t,n){this.props=e,this.context=t,this.refs=d,this.updater=n||f}function p(){}function m(e,t,n){this.props=e,this.context=t,this.refs=d,this.updater=n||f}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(function(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."}(85));this.updater.enqueueSetState(this,e,t,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},p.prototype=h.prototype;var g=m.prototype=new p;g.constructor=m,c(g,h.prototype),g.isPureReactComponent=!0;var v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",y=function(){},b=v,_={},w=Function.call.bind(Object.prototype.hasOwnProperty);function k(e,t,n,r,i){for(var o in e)if(w(e,o)){var a;try{if("function"!=typeof e[o]){var s=Error((r||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.");throw s.name="Invariant Violation",s}a=e[o](t,o,r,n,null,b)}catch(e){a=e}if(!a||a instanceof Error||y((r||"React class")+": type specification of "+n+" `"+o+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in _)){_[a.message]=!0;var u=i?i():"";y("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}y=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},k.resetWarningCache=function(){_={}};var x=k,E=a(function(e,t){!function(){var e=c,n=x,r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,f=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119,k="function"==typeof Symbol&&Symbol.iterator,E="@@iterator";function S(e){if(null===e||"object"!=typeof e)return null;var t=k&&e[k]||e[E];return"function"==typeof t?t:null}var T={current:null},C={current:null},M=/^(.*)[\\\/]/;var N=1;function R(e){if(null==e)return null;if("number"==typeof e.tag&&j("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case a:return"Fragment";case o:return"Portal";case u:return"Profiler";case s:return"StrictMode";case p:return"Suspense";case m:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case f:return"Context.Consumer";case l:return"Context.Provider";case h:return r=e,i=e.render,c="ForwardRef",d=i.displayName||i.name||"",r.displayName||(""!==d?c+"("+d+")":c);case g:return R(e.type);case y:return R(e.render);case v:var t=(n=e)._status===N?n._result:null;if(t)return R(t)}var n,r,i,c,d;return null}var P={},O=null;function D(e){O=e}P.getCurrentStack=null,P.getStackAddendum=function(){var e="";if(O){var t=R(O.type),n=O._owner;e+=function(e,t,n){var r="";if(t){var i=t.fileName,o=i.replace(M,"");if(/^index\./.test(o)){var a=i.match(M);if(a){var s=a[1];s&&(o=s.replace(M,"")+"/"+o)}}r=" (at "+o+":"+t.lineNumber+")"}else n&&(r=" (created by "+n+")");return"\n in "+(e||"Unknown")+r}(t,O._source,n&&R(n.type))}var r=P.getCurrentStack;return r&&(e+=r()||""),e};var A={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:C,IsSomeRendererActing:{current:!1},assign:e};function I(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];U("warn",e,n)}function j(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];U("error",e,n)}function U(e,t,n){if(!(n.length>0&&"string"==typeof n[n.length-1]&&0===n[n.length-1].indexOf("\n in"))){var r=A.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]))}var i=n.map(function(e){return""+e});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i);try{var o=0,a="Warning: "+t.replace(/%s/g,function(){return n[o++]});throw new Error(a)}catch(e){}}e(A,{ReactDebugCurrentFrame:P,ReactComponentTreeHook:{}});var L={};function F(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",i=r+"."+t;L[i]||(j("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),L[i]=!0)}var z={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){F(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){F(e,"replaceState")},enqueueSetState:function(e,t,n,r){F(e,"setState")}},B={};function W(e,t,n){this.props=e,this.context=t,this.refs=B,this.updater=n||z}Object.freeze(B),W.prototype.isReactComponent={},W.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},W.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var Y={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},H=function(e,t){Object.defineProperty(W.prototype,e,{get:function(){I("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var V in Y)Y.hasOwnProperty(V)&&H(V,Y[V]);function $(){}function q(e,t,n){this.props=e,this.context=t,this.refs=B,this.updater=n||z}$.prototype=W.prototype;var G=q.prototype=new $;G.constructor=q,e(G,W.prototype),G.isPureReactComponent=!0;var Q,K,Z,X=Object.prototype.hasOwnProperty,J={key:!0,ref:!0,__self:!0,__source:!0};function ee(e){if(X.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function te(e){if(X.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}Z={};var ne=function(e,t,n,r,o,a,s){var u={$$typeof:i,type:e,key:t,ref:n,props:s,_owner:a,_store:{}};return Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function re(e,t,n){var r,i={},o=null,a=null,s=null,u=null;if(null!=t)for(r in ee(t)&&(a=t.ref,function(e){if("string"==typeof e.ref&&C.current&&e.__self&&C.current.stateNode!==e.__self){var t=R(C.current.type);Z[t]||(j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',R(C.current.type),e.ref),Z[t]=!0)}}(t)),te(t)&&(o=""+t.key),s=void 0===t.__self?null:t.__self,u=void 0===t.__source?null:t.__source,t)X.call(t,r)&&!J.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(l>1){for(var c=Array(l),f=0;f<l;f++)c[f]=arguments[f+2];Object.freeze&&Object.freeze(c),i.children=c}if(e&&e.defaultProps){var d=e.defaultProps;for(r in d)void 0===i[r]&&(i[r]=d[r])}if(o||a){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;o&&function(e,t){var n=function(){Q||(Q=!0,j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(i,h),a&&function(e,t){var n=function(){K||(K=!0,j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(i,h)}return ne(e,o,a,s,u,C.current,i)}function ie(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var oe=".",ae=":";var se=!1,ue=/\/+/g;function le(e){return(""+e).replace(ue,"$&/")}var ce,fe=10,de=[];function he(e,t,n,r){if(de.length){var i=de.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function pe(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,de.length<fe&&de.push(e)}function me(e,t,n){return null==e?0:function e(t,n,r,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u,l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case o:l=!0}}if(l)return r(a,t,""===n?oe+ge(t,0):n),1;var c=0,f=""===n?oe:n+ae;if(Array.isArray(t))for(var d=0;d<t.length;d++)c+=e(u=t[d],f+ge(u,d),r,a);else{var h=S(t);if("function"==typeof h){h===t.entries&&(se||I("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),se=!0);for(var p,m=h.call(t),g=0;!(p=m.next()).done;)c+=e(u=p.value,f+ge(u,g++),r,a)}else if("object"===s){var v;v=" If you meant to render a collection of children, use an array instead."+P.getStackAddendum();var y=""+t;throw Error("Objects are not valid as a React child (found: "+("[object Object]"===y?"object with keys {"+Object.keys(t).join(", ")+"}":y)+")."+v)}}return c}(e,"",t,n)}function ge(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function ve(e,t,n){var r=e.func,i=e.context;r.call(i,t,e.count++)}function ye(e,t,n){var r,i,o=e.result,a=e.keyPrefix,s=e.func,u=e.context,l=s.call(u,t,e.count++);Array.isArray(l)?be(l,o,n,function(e){return e}):null!=l&&(ie(l)&&(r=l,i=a+(!l.key||t&&t.key===l.key?"":le(l.key)+"/")+n,l=ne(r.type,i,r.ref,r._self,r._source,r._owner,r.props)),o.push(l))}function be(e,t,n,r,i){var o="";null!=n&&(o=le(n)+"/");var a=he(t,o,r,i);me(e,ye,a),pe(a)}function _e(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===u||e===s||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===l||e.$$typeof===f||e.$$typeof===h||e.$$typeof===b||e.$$typeof===_||e.$$typeof===w||e.$$typeof===y)}function we(){var e=T.current;if(null===e)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.");return e}function ke(){if(C.current){var e=R(C.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ce=!1;var xe={};function Ee(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ke();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!xe[n]){xe[n]=!0;var r="";e&&e._owner&&e._owner!==C.current&&(r=" It was passed a child from "+R(e._owner.type)+"."),D(e),j('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',n,r),D(null)}}}function Se(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];ie(r)&&Ee(r,t)}else if(ie(e))e._store&&(e._store.validated=!0);else if(e){var i=S(e);if("function"==typeof i&&i!==e.entries)for(var o,a=i.call(e);!(o=a.next()).done;)ie(o.value)&&Ee(o.value,t)}}function Te(e){var t=e.type;if(null!=t&&"string"!=typeof t){var r,i=R(t);if("function"==typeof t)r=t.propTypes;else{if("object"!=typeof t||t.$$typeof!==h&&t.$$typeof!==g)return;r=t.propTypes}r?(D(e),n(r,e.props,"prop",i,P.getStackAddendum),D(null)):void 0===t.PropTypes||ce||(ce=!0,j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")),"function"!=typeof t.getDefaultProps||t.getDefaultProps.isReactClassApproved||j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ce(e,t,n){var r,o,s=_e(e);if(!s){var u="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(u+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var l,c=null!=(r=t)&&void 0!==(o=r.__source)?"\n\nCheck your code at "+o.fileName.replace(/^.*[\\\/]/,"")+":"+o.lineNumber+".":"";u+=c||ke(),null===e?l="null":Array.isArray(e)?l="array":void 0!==e&&e.$$typeof===i?(l="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,j("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,u)}var f=re.apply(this,arguments);if(null==f)return f;if(s)for(var d=2;d<arguments.length;d++)Se(arguments[d],e);return e===a?function(e){D(e);for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r);break}}null!==e.ref&&j("Invalid attribute `ref` supplied to `React.Fragment`."),D(null)}(f):Te(f),f}var Me=!1;try{var Ne=Object.freeze({}),Re=new Map([[Ne,null]]),Pe=new Set([Ne]);Re.set(0,0),Pe.add(0)}catch(e){}var Oe=Ce,De=function(t,n,r){for(var i=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var i,o,a=e({},t.props),s=t.key,u=t.ref,l=t._self,c=t._source,f=t._owner;if(null!=n)for(i in ee(n)&&(u=n.ref,f=C.current),te(n)&&(s=""+n.key),t.type&&t.type.defaultProps&&(o=t.type.defaultProps),n)X.call(n,i)&&!J.hasOwnProperty(i)&&(void 0===n[i]&&void 0!==o?a[i]=o[i]:a[i]=n[i]);var d=arguments.length-2;if(1===d)a.children=r;else if(d>1){for(var h=Array(d),p=0;p<d;p++)h[p]=arguments[p+2];a.children=h}return ne(t.type,s,u,l,c,f,a)}.apply(this,arguments),o=2;o<arguments.length;o++)Se(arguments[o],i.type);return Te(i),i},Ae=function(e){var t=Ce.bind(null,e);return t.type=e,Me||(Me=!0,I("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return I("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},Ie={map:function(e,t,n){if(null==e)return e;var r=[];return be(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;var r=he(null,null,t,n);me(e,ve,r),pe(r)},count:function(e){return me(e,function(){return null},null)},toArray:function(e){var t=[];return be(e,t,null,function(e){return e}),t},only:function(e){if(!ie(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=Ie,t.Component=W,t.Fragment=a,t.Profiler=u,t.PureComponent=q,t.StrictMode=s,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,t.cloneElement=De,t.createContext=function(e,t){void 0===t?t=null:null!==t&&"function"!=typeof t&&j("createContext: Expected the optional second argument to be a function. Instead received: %s",t);var n={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null};n.Provider={$$typeof:l,_context:n};var r=!1,i=!1,o={$$typeof:f,_context:n,_calculateChangedBits:n._calculateChangedBits};return Object.defineProperties(o,{Provider:{get:function(){return i||(i=!0,j("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),n.Provider},set:function(e){n.Provider=e}},_currentValue:{get:function(){return n._currentValue},set:function(e){n._currentValue=e}},_currentValue2:{get:function(){return n._currentValue2},set:function(e){n._currentValue2=e}},_threadCount:{get:function(){return n._threadCount},set:function(e){n._threadCount=e}},Consumer:{get:function(){return r||(r=!0,j("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),n.Consumer}}}),n.Consumer=o,n._currentRenderer=null,n._currentRenderer2=null,n},t.createElement=Oe,t.createFactory=Ae,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){return null!=e&&e.$$typeof===g?j("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?j("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&j("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||j("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?")),{$$typeof:h,render:e}},t.isValidElement=ie,t.lazy=function(e){var t,n,r={$$typeof:v,_ctor:e,_status:-1,_result:null};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){j("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){j("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},t.memo=function(e,t){return _e(e)||j("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),{$$typeof:g,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return we().useCallback(e,t)},t.useContext=function(e,t){var n=we();if(void 0!==t&&j("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",t,"number"==typeof t&&Array.isArray(arguments[2])?"\n\nDid you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks":""),void 0!==e._context){var r=e._context;r.Consumer===e?j("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):r.Provider===e&&j("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return n.useContext(e,t)},t.useDebugValue=function(e,t){return we().useDebugValue(e,t)},t.useEffect=function(e,t){return we().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return we().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return we().useLayoutEffect(e,t)},t.useMemo=function(e,t){return we().useMemo(e,t)},t.useReducer=function(e,t,n){return we().useReducer(e,t,n)},t.useRef=function(e){return we().useRef(e)},t.useState=function(e){return we().useState(e)},t.version="16.14.0"}()}),S=(E.Children,E.Component,E.Fragment,E.Profiler,E.PureComponent,E.StrictMode,E.Suspense,E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E.cloneElement,E.createContext,E.createElement,E.createFactory,E.createRef,E.forwardRef,E.isValidElement,E.lazy,E.memo,E.useCallback,E.useContext,E.useDebugValue,E.useEffect,E.useImperativeHandle,E.useLayoutEffect,E.useMemo,E.useReducer,E.useRef,E.useState,E.version,a(function(e){e.exports=E})),T=S.Component,C=S.createRef,M=S.createElement,N=S.useState,R=S.useRef,P=S.useEffect,O=S.Fragment,D=a(function(e,t){var n,r,i,o,a;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,u=null,l=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(l,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(l,0))},r=function(e,t){u=setTimeout(e,t)},i=function(){clearTimeout(u)},o=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,d=window.Date,h=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var g=d.now();t.unstable_now=function(){return d.now()-g}}var v=!1,y=null,b=-1,_=5,w=0;o=function(){return t.unstable_now()>=w},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):_=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,x=k.port2;k.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();w=e+_;try{y(!0,e)?x.postMessage(null):(v=!1,y=null)}catch(e){throw x.postMessage(null),e}}else v=!1},n=function(e){y=e,v||(v=!0,x.postMessage(null))},r=function(e,n){b=h(function(){e(t.unstable_now())},n)},i=function(){p(b),b=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<C(i,t)))break e;e[r]=t,e[n]=i,n=r}}function S(e){return void 0===(e=e[0])?null:e}function T(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,u=e[s];if(void 0!==a&&0>C(a,n))void 0!==u&&0>C(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==u&&0>C(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var M=[],N=[],R=1,P=null,O=3,D=!1,A=!1,I=!1;function j(e){for(var t=S(N);null!==t;){if(null===t.callback)T(N);else{if(!(t.startTime<=e))break;T(N),t.sortIndex=t.expirationTime,E(M,t)}t=S(N)}}function U(e){if(I=!1,j(e),!A)if(null!==S(M))A=!0,n(L);else{var t=S(N);null!==t&&r(U,t.startTime-e)}}function L(e,n){A=!1,I&&(I=!1,i()),D=!0;var a=O;try{for(j(n),P=S(M);null!==P&&(!(P.expirationTime>n)||e&&!o());){var s=P.callback;if(null!==s){P.callback=null,O=P.priorityLevel;var u=s(P.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?P.callback=u:P===S(M)&&T(M),j(n)}else T(M);P=S(M)}if(null!==P)var l=!0;else{var c=S(N);null!==c&&r(U,c.startTime-n),l=!1}return l}finally{P=null,O=a,D=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){A||D||(A=!0,n(L))},t.unstable_getCurrentPriorityLevel=function(){return O},t.unstable_getFirstCallbackNode=function(){return S(M)},t.unstable_next=function(e){switch(O){case 1:case 2:case 3:var t=3;break;default:t=O}var n=O;O=t;try{return e()}finally{O=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=O;O=e;try{return t()}finally{O=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?s+u:s,a="number"==typeof a.timeout?a.timeout:F(e)}else a=F(e),u=s;return e={id:R++,callback:o,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,E(N,e),null===S(M)&&e===S(N)&&(I?i():I=!0,r(U,u-s))):(e.sortIndex=a,E(M,e),A||D||(A=!0,n(L))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();j(e);var n=S(M);return n!==P&&null!==P&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<P.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=O;return function(){var n=O;O=t;try{return e.apply(this,arguments)}finally{O=n}}}}),A=(D.unstable_now,D.unstable_forceFrameRate,D.unstable_IdlePriority,D.unstable_ImmediatePriority,D.unstable_LowPriority,D.unstable_NormalPriority,D.unstable_Profiling,D.unstable_UserBlockingPriority,D.unstable_cancelCallback,D.unstable_continueExecution,D.unstable_getCurrentPriorityLevel,D.unstable_getFirstCallbackNode,D.unstable_next,D.unstable_pauseExecution,D.unstable_requestPaint,D.unstable_runWithPriority,D.unstable_scheduleCallback,D.unstable_shouldYield,D.unstable_wrapCallback,a(function(e,t){!function(){var e,n,r,i,o,a=!1,s=!0;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,l=null,c=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(c,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},e=function(t){null!==u?setTimeout(e,0,t):(u=t,setTimeout(c,0))},n=function(e,t){l=setTimeout(e,t)},r=function(){clearTimeout(l)},i=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,h=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var g=window.requestAnimationFrame,v=window.cancelAnimationFrame;"function"!=typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var y=h.now();t.unstable_now=function(){return h.now()-y}}var b=!1,_=null,w=-1,k=5,x=0;i=function(){return t.unstable_now()>=x},o=function(){},t.unstable_forceFrameRate=function(e){e<0||e>125?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):k=e>0?Math.floor(1e3/e):5};var E=new MessageChannel,S=E.port2;E.port1.onmessage=function(){if(null!==_){var e=t.unstable_now();x=e+k;try{_(!0,e)?S.postMessage(null):(b=!1,_=null)}catch(e){throw S.postMessage(null),e}}else b=!1},e=function(e){_=e,b||(b=!0,S.postMessage(null))},n=function(e,n){w=p(function(){e(t.unstable_now())},n)},r=function(){m(w),w=-1}}function T(e,t){var n=e.length;e.push(t),function(e,t,n){var r=n;for(;;){var i=r-1>>>1,o=e[i];if(!(void 0!==o&&N(o,t)>0))return;e[i]=t,e[r]=o,r=i}}(e,t,n)}function C(e){var t=e[0];return void 0===t?null:t}function M(e){var t=e[0];if(void 0!==t){var n=e.pop();return n!==t&&(e[0]=n,function(e,t,n){var r=n,i=e.length;for(;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,u=e[s];if(void 0!==a&&N(a,t)<0)void 0!==u&&N(u,a)<0?(e[r]=u,e[s]=t,r=s):(e[r]=a,e[o]=t,r=o);else{if(!(void 0!==u&&N(u,t)<0))return;e[r]=u,e[s]=t,r=s}}}(e,n,0)),t}return null}function N(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var R=0,P=1,O=2,D=3,A=4,I=5,j=0,U=0,L="function"==typeof SharedArrayBuffer?new SharedArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):"function"==typeof ArrayBuffer?new ArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):null,F=null!==L?new Int32Array(L):[],z=0,B=1,W=2,Y=3;F[z]=R,F[Y]=0,F[B]=0;var H=131072,V=524288,$=0,q=null,G=null,Q=0,K=1,Z=2,X=3,J=4,ee=5,te=6,ne=7,re=8;function ie(e){if(null!==G){var t=Q;if((Q+=e.length)+1>$){if(($*=2)>V)return console.error("Scheduler Profiling: Event log exceeded maximum size. Don't forget to call `stopLoggingProfilingEvents()`."),void oe();var n=new Int32Array(4*$);n.set(G),q=n.buffer,G=n}G.set(e,t)}}function oe(){var e=q;return $=0,q=null,G=null,Q=0,e}function ae(e,t){F[Y]++,null!==G&&ie([K,1e3*t,e.id,e.priorityLevel])}function se(e,t){F[z]=R,F[B]=0,F[Y]--,null!==G&&ie([Z,1e3*t,e.id])}function ue(e,t){F[z]=R,F[B]=0,F[W]=0,null!==G&&ie([te,1e3*t,e.id,j])}var le=-1,ce=250,fe=5e3,de=1e4,he=1073741823,pe=[],me=[],ge=1,ve=null,ye=D,be=!1,_e=!1,we=!1;function ke(e){for(var t=C(me);null!==t;){if(null===t.callback)M(me);else{if(!(t.startTime<=e))return;M(me),t.sortIndex=t.expirationTime,T(pe,t),ae(t,e),t.isQueued=!0}t=C(me)}}function xe(t){if(we=!1,ke(t),!_e)if(null!==C(pe))_e=!0,e(Ee);else{var r=C(me);null!==r&&n(xe,r.startTime-t)}}function Ee(e,n){var i;i=n,null!==G&&ie([re,1e3*i,U]),_e=!1,we&&(we=!1,r()),be=!0;var o=ye;try{if(!s)return Se(e,n);try{return Se(e,n)}catch(e){if(null!==ve){var a=t.unstable_now();!function(e,t){F[z]=R,F[B]=0,F[Y]--,null!==G&&ie([X,1e3*t,e.id])}(ve,a),ve.isQueued=!1}throw e}}finally{ve=null,ye=o,be=!1,function(e){U++,null!==G&&ie([ne,1e3*e,U])}(t.unstable_now())}}function Se(e,r){var o,s,u=r;for(ke(u),ve=C(pe);null!==ve&&!a&&(!(ve.expirationTime>u)||e&&!i());){var l=ve.callback;if(null!==l){ve.callback=null,ye=ve.priorityLevel;var c=ve.expirationTime<=u;o=ve,s=u,j++,F[z]=o.priorityLevel,F[B]=o.id,F[W]=j,null!==G&&ie([ee,1e3*s,o.id,j]);var f=l(c);u=t.unstable_now(),"function"==typeof f?(ve.callback=f,ue(ve,u)):(se(ve,u),ve.isQueued=!1,ve===C(pe)&&M(pe)),ke(u)}else M(pe);ve=C(pe)}if(null!==ve)return!0;var d=C(me);return null!==d&&n(xe,d.startTime-u),!1}function Te(e){switch(e){case P:return le;case O:return ce;case I:return he;case A:return de;case D:default:return fe}}var Ce=o,Me={startLoggingProfilingEvents:function(){$=H,q=new ArrayBuffer(4*$),G=new Int32Array(q),Q=0},stopLoggingProfilingEvents:oe,sharedProfilingBuffer:L};t.unstable_IdlePriority=I,t.unstable_ImmediatePriority=P,t.unstable_LowPriority=A,t.unstable_NormalPriority=D,t.unstable_Profiling=Me,t.unstable_UserBlockingPriority=O,t.unstable_cancelCallback=function(e){e.isQueued&&(function(e,t){F[Y]--,null!==G&&ie([J,1e3*t,e.id])}(e,t.unstable_now()),e.isQueued=!1),e.callback=null},t.unstable_continueExecution=function(){_e||be||(_e=!0,e(Ee))},t.unstable_getCurrentPriorityLevel=function(){return ye},t.unstable_getFirstCallbackNode=function(){return C(pe)},t.unstable_next=function(e){var t;switch(ye){case P:case O:case D:t=D;break;default:t=ye}var n=ye;ye=t;try{return e()}finally{ye=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=Ce,t.unstable_runWithPriority=function(e,t){switch(e){case P:case O:case D:case A:case I:break;default:e=D}var n=ye;ye=e;try{return t()}finally{ye=n}},t.unstable_scheduleCallback=function(i,o,a){var s,u,l=t.unstable_now();if("object"==typeof a&&null!==a){var c=a.delay;s="number"==typeof c&&c>0?l+c:l,u="number"==typeof a.timeout?a.timeout:Te(i)}else u=Te(i),s=l;var f=s+u,d={id:ge++,callback:o,priorityLevel:i,startTime:s,expirationTime:f,sortIndex:-1,isQueued:!1};return s>l?(d.sortIndex=s,T(me,d),null===C(pe)&&d===C(me)&&(we?r():we=!0,n(xe,s-l))):(d.sortIndex=f,T(pe,d),ae(d,l),d.isQueued=!0,_e||be||(_e=!0,e(Ee))),d},t.unstable_shouldYield=function(){var e=t.unstable_now();ke(e);var n=C(pe);return n!==ve&&null!==ve&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<ve.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=ye;return function(){var n=ye;ye=t;try{return e.apply(this,arguments)}finally{ye=n}}}}()})),I=(A.unstable_now,A.unstable_forceFrameRate,A.unstable_IdlePriority,A.unstable_ImmediatePriority,A.unstable_LowPriority,A.unstable_NormalPriority,A.unstable_Profiling,A.unstable_UserBlockingPriority,A.unstable_cancelCallback,A.unstable_continueExecution,A.unstable_getCurrentPriorityLevel,A.unstable_getFirstCallbackNode,A.unstable_next,A.unstable_pauseExecution,A.unstable_requestPaint,A.unstable_runWithPriority,A.unstable_scheduleCallback,A.unstable_shouldYield,A.unstable_wrapCallback,a(function(e){e.exports=A}));function j(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(!S)throw Error(j(227));var U=!1,L=null,F=!1,z=null,B={onError:function(e){U=!0,L=e}};function W(e,t,n,r,i,o,a,s,u){U=!1,L=null,function(e,t,n,r,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}.apply(B,arguments)}var Y=null,H=null,V=null;function $(e,t,n){var r=e.type||"unknown-event";e.currentTarget=V(n),function(e,t,n,r,i,o,a,s,u){if(W.apply(this,arguments),U){if(!U)throw Error(j(198));var l=L;U=!1,L=null,F||(F=!0,z=l)}}(r,t,void 0,e),e.currentTarget=null}var q=null,G={};function Q(){if(q)for(var e in G){var t=G[e],n=q.indexOf(e);if(!(-1<n))throw Error(j(96,e));if(!Z[n]){if(!t.extractEvents)throw Error(j(97,e));for(var r in Z[n]=t,n=t.eventTypes){var i=void 0,o=n[r],a=t,s=r;if(X.hasOwnProperty(s))throw Error(j(99,s));X[s]=o;var u=o.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&K(u[i],a,s);i=!0}else o.registrationName?(K(o.registrationName,a,s),i=!0):i=!1;if(!i)throw Error(j(98,r,e))}}}}function K(e,t,n){if(J[e])throw Error(j(100,e));J[e]=t,ee[e]=t.eventTypes[n].dependencies}var Z=[],X={},J={},ee={};var te=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ne=null,re=null,ie=null;function oe(e){if(e=H(e)){if("function"!=typeof ne)throw Error(j(280));var t=e.stateNode;t&&(t=Y(t),ne(e.stateNode,e.type,t))}}function ae(e,t){return e(t)}function se(){}var ue=!1;function le(){null===re&&null===ie||(se(),function(){if(re){var e=re,t=ie;if(ie=re=null,oe(e),t)for(e=0;e<t.length;e++)oe(t[e])}}())}var ce=/^[: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]*$/,fe=Object.prototype.hasOwnProperty,de={},he={};function pe(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){me[e]=new pe(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];me[t]=new pe(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){me[e]=new pe(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){me[e]=new pe(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){me[e]=new pe(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){me[e]=new pe(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){me[e]=new pe(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){me[e]=new pe(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){me[e]=new pe(e,5,!1,e.toLowerCase(),null,!1)});var ge=/[\-:]([a-z])/g;function ve(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(ge,ve);me[t]=new pe(t,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ge,ve);me[t]=new pe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ge,ve);me[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){me[e]=new pe(e,1,!1,e.toLowerCase(),null,!1)}),me.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){me[e]=new pe(e,1,!1,e.toLowerCase(),null,!0)});var ye=S.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function be(e,t,n,r){var i=me.hasOwnProperty(t)?me[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!fe.call(he,e)||!fe.call(de,e)&&(ce.test(e)?he[e]=!0:(de[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function _e(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=function(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ke(e,t){!function(e,t){null!=(t=t.checked)&&be(e,"checked",t,!1)}(e,t);var n=_e(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?xe(e,t.type,n):t.hasOwnProperty("defaultValue")&&xe(e,t.type,_e(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function xe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}ye.hasOwnProperty("ReactCurrentDispatcher")||(ye.ReactCurrentDispatcher={current:null}),ye.hasOwnProperty("ReactCurrentBatchConfig")||(ye.ReactCurrentBatchConfig={suspense:null});var Ee,Se,Te="http://www.w3.org/2000/svg";Se=function(e,t){if(e.namespaceURI!==Te||"innerHTML"in e)e.innerHTML=t;else{for((Ee=Ee||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ee.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction;function Ce(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Me={animationend:Ce("Animation","AnimationEnd"),animationiteration:Ce("Animation","AnimationIteration"),animationstart:Ce("Animation","AnimationStart"),transitionend:Ce("Transition","TransitionEnd")},Ne={},Re={};function Pe(e){if(Ne[e])return Ne[e];if(!Me[e])return e;var t,n=Me[e];for(t in n)if(n.hasOwnProperty(t)&&t in Re)return Ne[e]=n[t];return e}te&&(Re=document.createElement("div").style,"AnimationEvent"in window||(delete Me.animationend.animation,delete Me.animationiteration.animation,delete Me.animationstart.animation),"TransitionEvent"in window||delete Me.transitionend.transition);var Oe=Pe("animationend"),De=Pe("animationiteration"),Ae=Pe("animationstart"),Ie=Pe("transitionend"),je=new("function"==typeof WeakMap?WeakMap:Map);function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Le(e){if(Ue(e)!==e)throw Error(j(188))}function Fe(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Le(i),e;if(o===r)return Le(i),t;o=o.sibling}throw Error(j(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(3!==n.tag)throw Error(j(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)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 ze(e,t){if(null==t)throw Error(j(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function Be(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var We=null;function Ye(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)$(e,t[r],n[r]);else t&&$(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function He(e){if(null!==e&&(We=ze(We,e)),e=We,We=null,e){if(Be(e,Ye),We)throw Error(j(95));if(F)throw e=z,F=!1,z=null,e}}var Ve={},$e=new Map,qe=new Map,Ge=["abort","abort",Oe,"animationEnd",De,"animationIteration",Ae,"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",Ie,"transitionEnd","waiting","waiting"];function Qe(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},qe.set(r,t),$e.set(r,o),Ve[i]=o}}Qe("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus 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),Qe("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),Qe(Ge,2);for(var Ke="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ze=0;Ze<Ke.length;Ze++)qe.set(Ke[Ze],0);I.unstable_UserBlockingPriority,I.unstable_runWithPriority;var Xe={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},Je=["Webkit","ms","Moz","O"];Object.keys(Xe).forEach(function(e){Je.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xe[t]=Xe[e]})});c({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});var et="$",tt="/$",nt="$?",rt="$!";function it(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===et||n===rt||n===nt){if(0===t)return e;t--}else n===tt&&t++}e=e.previousSibling}return null}var ot=Math.random().toString(36).slice(2),at="__reactInternalInstance$"+ot,st="__reactEventHandlers$"+ot,ut="__reactContainere$"+ot;function lt(e){var t=e[at];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ut]||n[at]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=it(e);null!==e;){if(n=e[at])return n;e=it(e)}return t}n=(e=n).parentNode}return null}function ct(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(j(33))}function ft(e){return e[st]||null}function dt(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function ht(e,t){var n=e.stateNode;if(!n)return null;var r=Y(n);if(!r)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)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(j(231,t,typeof n));return n}function pt(e,t,n){(t=ht(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=ze(n._dispatchListeners,t),n._dispatchInstances=ze(n._dispatchInstances,e))}function mt(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=dt(t);for(t=n.length;0<t--;)pt(n[t],"captured",e);for(t=0;t<n.length;t++)pt(n[t],"bubbled",e)}}function gt(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=ht(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=ze(n._dispatchListeners,t),n._dispatchInstances=ze(n._dispatchInstances,e))}function vt(e){Be(e,mt)}var yt=null,bt=null,_t=null;function wt(){if(_t)return _t;var e,t,n=bt,r=n.length,i="value"in yt?yt.value:yt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return _t=i.slice(e,1<t?1-t:void 0)}function kt(){return!0}function xt(){return!1}function Et(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?kt:xt,this.isPropagationStopped=xt,this}function St(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Tt(e){if(!(e instanceof this))throw Error(j(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Ct(e){e.eventPool=[],e.getPooled=St,e.release=Tt}c(Et.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=kt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=kt)},persist:function(){this.isPersistent=kt},isPersistent:xt,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=xt,this._dispatchInstances=this._dispatchListeners=null}}),Et.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Et.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return c(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=c({},r.Interface,e),n.extend=r.extend,Ct(n),n},Ct(Et);var Mt=Et.extend({data:null}),Nt=Et.extend({data:null}),Rt=[9,13,27,32],Pt=te&&"CompositionEvent"in window,Ot=null;te&&"documentMode"in document&&(Ot=document.documentMode);var Dt=te&&"TextEvent"in window&&!Ot,At=te&&(!Pt||Ot&&8<Ot&&11>=Ot),It=String.fromCharCode(32),jt={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ut=!1;function Lt(e,t){switch(e){case"keyup":return-1!==Rt.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Ft(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var zt=!1;var Bt={eventTypes:jt,extractEvents:function(e,t,n,r){var i;if(Pt)e:{switch(e){case"compositionstart":var o=jt.compositionStart;break e;case"compositionend":o=jt.compositionEnd;break e;case"compositionupdate":o=jt.compositionUpdate;break e}o=void 0}else zt?Lt(e,n)&&(o=jt.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=jt.compositionStart);return o?(At&&"ko"!==n.locale&&(zt||o!==jt.compositionStart?o===jt.compositionEnd&&zt&&(i=wt()):(bt="value"in(yt=r)?yt.value:yt.textContent,zt=!0)),o=Mt.getPooled(o,t,n,r),i?o.data=i:null!==(i=Ft(n))&&(o.data=i),vt(o),i=o):i=null,(e=Dt?function(e,t){switch(e){case"compositionend":return Ft(t);case"keypress":return 32!==t.which?null:(Ut=!0,It);case"textInput":return(e=t.data)===It&&Ut?null:e;default:return null}}(e,n):function(e,t){if(zt)return"compositionend"===e||!Pt&&Lt(e,t)?(e=wt(),_t=bt=yt=null,zt=!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 At&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Nt.getPooled(jt.beforeInput,t,n,r)).data=e,vt(t)):t=null,null===i?t:null===t?i:[i,t]}},Wt={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 Yt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wt[e.type]:"textarea"===t}var Ht={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Vt(e,t,n){return(e=Et.getPooled(Ht.change,e,t,n)).type="change",function(e){re?ie?ie.push(e):ie=[e]:re=e}(n),vt(e),e}var $t=null,qt=null;function Gt(e){He(e)}function Qt(e){if(we(ct(e)))return e}function Kt(e,t){if("change"===e)return t}var Zt=!1;function Xt(){$t&&($t.detachEvent("onpropertychange",Jt),qt=$t=null)}function Jt(e){if("value"===e.propertyName&&Qt(qt))if(e=Vt(qt,e,function(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}(e)),ue)He(e);else{ue=!0;try{ae(Gt,e)}finally{ue=!1,le()}}}function en(e,t,n){"focus"===e?(Xt(),qt=n,($t=t).attachEvent("onpropertychange",Jt)):"blur"===e&&Xt()}function tn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qt(qt)}function nn(e,t){if("click"===e)return Qt(t)}function rn(e,t){if("input"===e||"change"===e)return Qt(t)}te&&(Zt=function(e){if(!te)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}("input")&&(!document.documentMode||9<document.documentMode));var on={eventTypes:Ht,_isInputEventSupported:Zt,extractEvents:function(e,t,n,r){var i=t?ct(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=Kt;else if(Yt(i))if(Zt)a=rn;else{a=tn;var s=en}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=nn);if(a&&(a=a(e,t)))return Vt(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&xe(i,"number",i.value)}},an=Et.extend({view:null,detail:null}),sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function un(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=sn[e])&&!!t[e]}function ln(){return un}var cn=0,fn=0,dn=!1,hn=!1,pn=an.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:ln,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=cn;return cn=e.screenX,dn?"mousemove"===e.type?e.screenX-t:0:(dn=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=fn;return fn=e.screenY,hn?"mousemove"===e.type?e.screenY-t:0:(hn=!0,0)}}),mn=pn.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),gn={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},vn={eventTypes:gn,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?lt(t):null)&&(t!==Ue(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=pn,u=gn.mouseLeave,l=gn.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=mn,u=gn.pointerLeave,l=gn.pointerEnter,c="pointer");if(e=null==a?o:ct(a),o=null==t?o:ct(t),(u=s.getPooled(u,a,n,r)).type=c+"leave",u.target=e,u.relatedTarget=o,(n=s.getPooled(l,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(l=c,a=0,e=s=r;e;e=dt(e))a++;for(e=0,t=l;t;t=dt(t))e++;for(;0<a-e;)s=dt(s),a--;for(;0<e-a;)l=dt(l),e--;for(;a--;){if(s===l||s===l.alternate)break e;s=dt(s),l=dt(l)}s=null}else s=null;for(l=s,s=[];r&&r!==l&&(null===(a=r.alternate)||a!==l);)s.push(r),r=dt(r);for(r=[];c&&c!==l&&(null===(a=c.alternate)||a!==l);)r.push(c),c=dt(c);for(c=0;c<s.length;c++)gt(s[c],"bubbled",u);for(c=r.length;0<c--;)gt(r[c],"captured",n);return 0==(64&i)?[u]:[u,n]}};var yn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},bn=Object.prototype.hasOwnProperty;var _n=te&&"documentMode"in document&&11>=document.documentMode,wn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},kn=null,xn=null,En=null,Sn=!1;function Tn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Sn||null==kn||kn!==function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}(n)?null:("selectionStart"in(n=kn)&&function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},En&&function(e,t){if(yn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)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(!bn.call(t,n[r])||!yn(e[n[r]],t[n[r]]))return!1;return!0}(En,n)?null:(En=n,(e=Et.getPooled(wn.select,xn,e,t)).type="select",e.target=kn,vt(e),e))}var Cn={eventTypes:wn,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=function(e){var t=je.get(e);return void 0===t&&(t=new Map,je.set(e,t)),t}(i),o=ee.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?ct(t):window,e){case"focus":(Yt(i)||"true"===i.contentEditable)&&(kn=i,xn=t,En=null);break;case"blur":En=xn=kn=null;break;case"mousedown":Sn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Sn=!1,Tn(n,r);case"selectionchange":if(_n)break;case"keydown":case"keyup":return Tn(n,r)}return null}},Mn=Et.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Nn=Et.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Rn=an.extend({relatedTarget:null});function Pn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var On={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Dn={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"},An=an.extend({key:function(e){if(e.key){var t=On[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Pn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Dn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:ln,charCode:function(e){return"keypress"===e.type?Pn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Pn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),In=pn.extend({dataTransfer:null}),jn=an.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:ln}),Un=Et.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Ln=pn.extend({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:null,deltaMode:null}),Fn={eventTypes:Ve,extractEvents:function(e,t,n,r){var i=$e.get(e);if(!i)return null;switch(e){case"keypress":if(0===Pn(n))return null;case"keydown":case"keyup":e=An;break;case"blur":case"focus":e=Rn;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=In;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=jn;break;case Oe:case De:case Ae:e=Mn;break;case Ie:e=Un;break;case"scroll":e=an;break;case"wheel":e=Ln;break;case"copy":case"cut":case"paste":e=Nn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=mn;break;default:e=Et}return vt(t=e.getPooled(i,t,n,r)),t}};if(q)throw Error(j(101));q=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Q(),Y=ft,H=function(e){return!(e=e[at]||e[ut])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e},V=ct,function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!G.hasOwnProperty(t)||G[t]!==r){if(G[t])throw Error(j(102,t));G[t]=r,n=!0}}n&&Q()}({SimpleEventPlugin:Fn,EnterLeaveEventPlugin:vn,ChangeEventPlugin:on,SelectEventPlugin:Cn,BeforeInputEventPlugin:Bt});I.unstable_runWithPriority,I.unstable_scheduleCallback,I.unstable_cancelCallback,I.unstable_requestPaint;var zn=I.unstable_now;I.unstable_getCurrentPriorityLevel,I.unstable_ImmediatePriority,I.unstable_UserBlockingPriority,I.unstable_NormalPriority,I.unstable_LowPriority,I.unstable_IdlePriority,I.unstable_shouldYield,zn(),ye.ReactCurrentBatchConfig,(new S.Component).refs,ye.ReactCurrentDispatcher,ye.ReactCurrentBatchConfig,ye.ReactCurrentOwner,ye.ReactCurrentDispatcher,ye.ReactCurrentOwner;ne=function(e,t,n){switch(t){case"input":if(ke(e,n),t=n.name,"radio"===n.type&&null!=t){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 i=ft(r);if(!i)throw Error(j(90));we(r),ke(r,i)}}}break;case"textarea":!function(e,t){var n=_e(t.value),r=_e(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}(e,n);break;case"select":null!=(t=n.value)&&function(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+_e(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}(e,!!n.multiple,t,!1)}},ae=function(e,t){try{return e(t)}finally{}},se=function(){},function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);(function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}}),function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}})(c({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ye.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Fe(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:lt,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"});var Bn=a(function(e,t){!function(){var e=0,n=0,r=0;t.__interactionsRef=null,t.__subscriberRef=null,t.__interactionsRef={current:new Set},t.__subscriberRef={current:null};var i=null;function o(e){var t=!1,n=null;if(i.forEach(function(r){try{r.onInteractionTraced(e)}catch(e){t||(t=!0,n=e)}}),t)throw n}function a(e){var t=!1,n=null;if(i.forEach(function(r){try{r.onInteractionScheduledWorkCompleted(e)}catch(e){t||(t=!0,n=e)}}),t)throw n}function s(e,t){var n=!1,r=null;if(i.forEach(function(i){try{i.onWorkScheduled(e,t)}catch(e){n||(n=!0,r=e)}}),n)throw r}function u(e,t){var n=!1,r=null;if(i.forEach(function(i){try{i.onWorkStarted(e,t)}catch(e){n||(n=!0,r=e)}}),n)throw r}function l(e,t){var n=!1,r=null;if(i.forEach(function(i){try{i.onWorkStopped(e,t)}catch(e){n||(n=!0,r=e)}}),n)throw r}function c(e,t){var n=!1,r=null;if(i.forEach(function(i){try{i.onWorkCanceled(e,t)}catch(e){n||(n=!0,r=e)}}),n)throw r}i=new Set,t.unstable_clear=function(e){var n=t.__interactionsRef.current;t.__interactionsRef.current=new Set;try{return e()}finally{t.__interactionsRef.current=n}},t.unstable_getCurrent=function(){return t.__interactionsRef.current},t.unstable_getThreadID=function(){return++r},t.unstable_subscribe=function(e){i.add(e),1===i.size&&(t.__subscriberRef.current={onInteractionScheduledWorkCompleted:a,onInteractionTraced:o,onWorkCanceled:c,onWorkScheduled:s,onWorkStarted:u,onWorkStopped:l})},t.unstable_trace=function(r,i,o){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,s={__count:1,id:n++,name:r,timestamp:i},u=t.__interactionsRef.current,l=new Set(u);l.add(s),t.__interactionsRef.current=l;var c,f=t.__subscriberRef.current;try{null!==f&&f.onInteractionTraced(s)}finally{try{null!==f&&f.onWorkStarted(l,a)}finally{try{c=o()}finally{t.__interactionsRef.current=u;try{null!==f&&f.onWorkStopped(l,a)}finally{s.__count--,null!==f&&0===s.__count&&f.onInteractionScheduledWorkCompleted(s)}}}}return c},t.unstable_unsubscribe=function(e){i.delete(e),0===i.size&&(t.__subscriberRef.current=null)},t.unstable_wrap=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,i=t.__interactionsRef.current,o=t.__subscriberRef.current;null!==o&&o.onWorkScheduled(i,r),i.forEach(function(e){e.__count++});var a=!1;function s(){var e=t.__interactionsRef.current;t.__interactionsRef.current=i,o=t.__subscriberRef.current;try{var s;try{null!==o&&o.onWorkStarted(i,r)}finally{try{s=n.apply(void 0,arguments)}finally{t.__interactionsRef.current=e,null!==o&&o.onWorkStopped(i,r)}}return s}finally{a||(a=!0,i.forEach(function(e){e.__count--,null!==o&&0===e.__count&&o.onInteractionScheduledWorkCompleted(e)}))}}return s.cancel=function(){o=t.__subscriberRef.current;try{null!==o&&o.onWorkCanceled(i,r)}finally{i.forEach(function(e){e.__count--,o&&0===e.__count&&o.onInteractionScheduledWorkCompleted(e)})}},s}}()}),Wn=(Bn.__interactionsRef,Bn.__subscriberRef,Bn.unstable_clear,Bn.unstable_getCurrent,Bn.unstable_getThreadID,Bn.unstable_subscribe,Bn.unstable_trace,Bn.unstable_unsubscribe,Bn.unstable_wrap,a(function(e){e.exports=Bn})),Yn=a(function(e,t){!function(){var e=S,n=c,r=I,i=x,o=Wn,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function s(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];l("warn",e,n)}function u(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];l("error",e,n)}function l(e,t,n){if(!(n.length>0&&"string"==typeof n[n.length-1]&&0===n[n.length-1].indexOf("\n in"))){var r=a.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]))}var i=n.map(function(e){return""+e});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i);try{var o=0,s="Warning: "+t.replace(/%s/g,function(){return n[o++]});throw new Error(s)}catch(e){}}if(a.hasOwnProperty("ReactCurrentDispatcher")||(a.ReactCurrentDispatcher={current:null}),a.hasOwnProperty("ReactCurrentBatchConfig")||(a.ReactCurrentBatchConfig={suspense:null}),!e)throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var f=function(e,t,n,r,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}};if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var d=document.createElement("react");f=function(e,t,n,r,i,o,a,s,u){if("undefined"==typeof document)throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var l,c=document.createEvent("Event"),f=!0,h=window.event,p=Object.getOwnPropertyDescriptor(window,"event"),m=Array.prototype.slice.call(arguments,3);var g=!1,v=!1;function y(e){if(l=e.error,g=!0,null===l&&0===e.colno&&0===e.lineno&&(v=!0),e.defaultPrevented&&null!=l&&"object"==typeof l)try{l._suppressLogging=!0}catch(e){}}var b="react-"+(e||"invokeguardedcallback");window.addEventListener("error",y),d.addEventListener(b,function e(){d.removeEventListener(b,e,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=h),t.apply(n,m),f=!1},!1),c.initEvent(b,!1,!1),d.dispatchEvent(c),p&&Object.defineProperty(window,"event",p),f&&(g?v&&(l=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):l=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(l)),window.removeEventListener("error",y)}}var h=f,p=!1,m=null,g=!1,v=null,y={onError:function(e){p=!0,m=e}};function b(e,t,n,r,i,o,a,s,u){p=!1,m=null,h.apply(y,arguments)}function _(){return p}function w(){if(p){var e=m;return p=!1,m=null,e}throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}var k,E=null,T=null,C=null;function M(e,t,n){var r=e.type||"unknown-event";e.currentTarget=C(n),function(e,t,n,r,i,o,a,s,u){if(b.apply(this,arguments),p){var l=w();g||(g=!0,v=l)}}(r,t,void 0,e),e.currentTarget=null}k=function(e){var t=e._dispatchListeners,n=e._dispatchInstances,r=Array.isArray(t),i=r?t.length:t?1:0,o=Array.isArray(n),a=o?n.length:n?1:0;o===r&&a===i||u("EventPluginUtils: Invalid `event`.")};var N=0,R=1,P=2,O=3,D=4,A=5,j=6,U=7,L=8,F=9,z=10,B=11,W=12,Y=13,H=14,V=15,$=16,q=17,G=18,Q=19,K=20,Z=21,X=22,J=null,ee={};function te(){if(J)for(var e in ee){var t=ee[e],n=J.indexOf(e);if(!(n>-1))throw Error("EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `"+e+"`.");if(!ie[n]){if(!t.extractEvents)throw Error("EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `"+e+"` does not.");ie[n]=t;var r=t.eventTypes;for(var i in r)if(!ne(r[i],t,i))throw Error("EventPluginRegistry: Failed to publish event `"+i+"` for plugin `"+e+"`.")}}}function ne(e,t,n){if(oe.hasOwnProperty(n))throw Error("EventPluginRegistry: More than one plugin attempted to publish the same event name, `"+n+"`.");oe[n]=e;var r=e.phasedRegistrationNames;if(r){for(var i in r){if(r.hasOwnProperty(i))re(r[i],t,n)}return!0}return!!e.registrationName&&(re(e.registrationName,t,n),!0)}function re(e,t,n){if(ae[e])throw Error("EventPluginRegistry: More than one plugin attempted to publish the same registration name, `"+e+"`.");ae[e]=t,se[e]=t.eventTypes[n].dependencies;var r=e.toLowerCase();ue[r]=e,"onDoubleClick"===e&&(ue.ondblclick=e)}var ie=[],oe={},ae={},se={},ue={};function le(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(!ee.hasOwnProperty(n)||ee[n]!==r){if(ee[n])throw Error("EventPluginRegistry: Cannot inject two different event plugins using the same name, `"+n+"`.");ee[n]=r,t=!0}}t&&te()}var ce=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),fe=1,de=32,he=64,pe=null,me=null,ge=null;function ve(e){var t=T(e);if(t){if("function"!=typeof pe)throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var r=E(n);pe(t.stateNode,t.type,r)}}}function ye(e){me?ge?ge.push(e):ge=[e]:me=e}function be(){if(me){var e=me,t=ge;if(me=null,ge=null,ve(e),t)for(var n=0;n<t.length;n++)ve(t[n])}}var _e=!0,we=!1,ke=!1,xe=!1,Ee=function(e,t){return e(t)},Se=function(e,t,n,r,i){return e(t,n,r,i)},Te=function(){},Ce=Ee,Me=!1,Ne=!1;function Re(){(null!==me||null!==ge)&&(Te(),be())}var Pe=0,Oe=1,De=2,Ae=0,Ie=2,je=3,Ue=4,Le=5,Fe=6,ze=":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",Be=ze+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",We="data-reactroot",Ye=new RegExp("^["+ze+"]["+Be+"]*$"),He=Object.prototype.hasOwnProperty,Ve={},$e={};function qe(e){return!!He.call($e,e)||!He.call(Ve,e)&&(Ye.test(e)?($e[e]=!0,!0):(Ve[e]=!0,u("Invalid attribute name: `%s`",e),!1))}function Ge(e,t,n){return null!==t?t.type===Ae:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function Qe(e,t,n,r){if(null!==n&&n.type===Ae)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;var i=e.toLowerCase().slice(0,5);return"data-"!==i&&"aria-"!==i;default:return!1}}function Ke(e,t,n,r){if(null==t)return!0;if(Qe(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case je:return!t;case Ue:return!1===t;case Le:return isNaN(t);case Fe:return isNaN(t)||t<1}return!1}function Ze(e){return Je.hasOwnProperty(e)?Je[e]:null}function Xe(e,t,n,r,i,o){this.acceptsBooleans=t===Ie||t===je||t===Ue,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var Je={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){Je[e]=new Xe(e,Ae,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];Je[t]=new Xe(t,1,!1,n,null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Je[e]=new Xe(e,Ie,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Je[e]=new Xe(e,Ie,!1,e,null,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Je[e]=new Xe(e,je,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Je[e]=new Xe(e,je,!0,e,null,!1)}),["capture","download"].forEach(function(e){Je[e]=new Xe(e,Ue,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){Je[e]=new Xe(e,Fe,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){Je[e]=new Xe(e,Le,!1,e.toLowerCase(),null,!1)});var et=/[\-\:]([a-z])/g,tt=function(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"].forEach(function(e){var t=e.replace(et,tt);Je[t]=new Xe(t,1,!1,e,null,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(et,tt);Je[t]=new Xe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(et,tt);Je[t]=new Xe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){Je[e]=new Xe(e,1,!1,e.toLowerCase(),null,!1)});Je.xlinkHref=new Xe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){Je[e]=new Xe(e,1,!1,e.toLowerCase(),null,!0)});a.ReactDebugCurrentFrame;var nt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,rt=!1;function it(e){!rt&&nt.test(e)&&(rt=!0,u("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function ot(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];r.sanitizeURL&&it(""+n);var i=r.attributeName,o=null;if(r.type===Ue){if(e.hasAttribute(i)){var a=e.getAttribute(i);return""===a||(Ke(t,n,r,!1)?a:a===""+n?n:a)}}else if(e.hasAttribute(i)){if(Ke(t,n,r,!1))return e.getAttribute(i);if(r.type===je)return n;o=e.getAttribute(i)}return Ke(t,n,r,!1)?null===o?n:o:o===""+n?n:o}function at(e,t,n){if(qe(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var r=e.getAttribute(t);return r===""+n?n:r}}function st(e,t,n,r){var i=Ze(t);if(!Ge(t,i,r))if(Ke(t,n,i,r)&&(n=null),r||null===i){if(qe(t)){var o=t;null===n?e.removeAttribute(o):e.setAttribute(o,""+n)}}else if(i.mustUseProperty){var a=i.propertyName;if(null===n){var s=i.type;e[a]=s!==je&&""}else e[a]=n}else{var u=i.attributeName,l=i.attributeNamespace;if(null===n)e.removeAttribute(u);else{var c,f=i.type;f===je||f===Ue&&!0===n?c="":(c=""+n,i.sanitizeURL&&it(c.toString())),l?e.setAttributeNS(l,u,c):e.setAttribute(u,c)}}}var ut=/^(.*)[\\\/]/;var lt="function"==typeof Symbol&&Symbol.for,ct=lt?Symbol.for("react.element"):60103,ft=lt?Symbol.for("react.portal"):60106,dt=lt?Symbol.for("react.fragment"):60107,ht=lt?Symbol.for("react.strict_mode"):60108,pt=lt?Symbol.for("react.profiler"):60114,mt=lt?Symbol.for("react.provider"):60109,gt=lt?Symbol.for("react.context"):60110,vt=lt?Symbol.for("react.concurrent_mode"):60111,yt=lt?Symbol.for("react.forward_ref"):60112,bt=lt?Symbol.for("react.suspense"):60113,_t=lt?Symbol.for("react.suspense_list"):60120,wt=lt?Symbol.for("react.memo"):60115,kt=lt?Symbol.for("react.lazy"):60116,xt=lt?Symbol.for("react.block"):60121,Et="function"==typeof Symbol&&Symbol.iterator,St="@@iterator";function Tt(e){if(null===e||"object"!=typeof e)return null;var t=Et&&e[Et]||e[St];return"function"==typeof t?t:null}var Ct=-1,Mt=0,Nt=1,Rt=2;function Pt(e){return e._status===Nt?e._result:null}function Ot(e){if(null==e)return null;if("number"==typeof e.tag&&u("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case dt:return"Fragment";case ft:return"Portal";case pt:return"Profiler";case ht:return"StrictMode";case bt:return"Suspense";case _t:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case gt:return"Context.Consumer";case mt:return"Context.Provider";case yt:return n=e,r=e.render,i="ForwardRef",o=r.displayName||r.name||"",n.displayName||(""!==o?i+"("+o+")":i);case wt:return Ot(e.type);case xt:return Ot(e.render);case kt:var t=Pt(e);if(t)return Ot(t)}var n,r,i,o;return null}var Dt=a.ReactDebugCurrentFrame;function At(e){switch(e.tag){case O:case D:case j:case U:case z:case F:return"";default:var t=e._debugOwner,n=e._debugSource,r=Ot(e.type),i=null;return t&&(i=Ot(t.type)),function(e,t,n){var r="";if(t){var i=t.fileName,o=i.replace(ut,"");if(/^index\./.test(o)){var a=i.match(ut);if(a){var s=a[1];s&&(o=s.replace(ut,"")+"/"+o)}}r=" (at "+o+":"+t.lineNumber+")"}else n&&(r=" (created by "+n+")");return"\n in "+(e||"Unknown")+r}(r,n,i)}}function It(e){var t="",n=e;do{t+=At(n),n=n.return}while(n);return t}var jt=null,Ut=!1;function Lt(){if(null===jt)return null;var e=jt._debugOwner;return null!=e?Ot(e.type):null}function Ft(){return null===jt?"":It(jt)}function zt(){Dt.getCurrentStack=null,jt=null,Ut=!1}function Bt(e){Dt.getCurrentStack=Ft,jt=e,Ut=!1}function Wt(e){Ut=e}function Yt(e){return""+e}function Ht(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}var Vt,$t={checkPropTypes:null};Vt=a.ReactDebugCurrentFrame;var qt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Gt={value:function(e,t,n){return qt[e.type]||e.onChange||e.readOnly||e.disabled||null==e[t]||we?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return e.onChange||e.readOnly||e.disabled||null==e[t]||we?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};function Qt(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function Kt(e){return e._valueTracker}function Zt(e){Kt(e)||(e._valueTracker=function(e){var t=Qt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}}}}(e))}function Xt(e){if(!e)return!1;var t=Kt(e);if(!t)return!0;var n=t.getValue(),r=function(e){var t="";return e?t=Qt(e)?e.checked?"true":"false":e.value:t}(e);return r!==n&&(t.setValue(r),!0)}$t.checkPropTypes=function(e,t){i(Gt,t,"prop",e,Vt.getStackAddendum)};var Jt=!1,en=!1,tn=!1,nn=!1;function rn(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function on(e,t){var r=e,i=t.checked;return n({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=i?i:r._wrapperState.initialChecked})}function an(e,t){$t.checkPropTypes("input",t),void 0===t.checked||void 0===t.defaultChecked||en||(u("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",Lt()||"A component",t.type),en=!0),void 0===t.value||void 0===t.defaultValue||Jt||(u("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",Lt()||"A component",t.type),Jt=!0);var n=e,r=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:Ht(null!=t.value?t.value:r),controlled:rn(t)}}function sn(e,t){var n=e,r=t.checked;null!=r&&st(n,"checked",r,!1)}function un(e,t){var n=e,r=rn(t);n._wrapperState.controlled||!r||nn||(u("A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",t.type),nn=!0),!n._wrapperState.controlled||r||tn||(u("A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",t.type),tn=!0),sn(e,t);var i=Ht(t.value),o=t.type;if(null!=i)"number"===o?(0===i&&""===n.value||n.value!=i)&&(n.value=Yt(i)):n.value!==Yt(i)&&(n.value=Yt(i));else if("submit"===o||"reset"===o)return void n.removeAttribute("value");t.hasOwnProperty("value")?fn(n,t.type,i):t.hasOwnProperty("defaultValue")&&fn(n,t.type,Ht(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function ln(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(("submit"===i||"reset"===i)&&(void 0===t.value||null===t.value))return;var o=Yt(r._wrapperState.initialValue);n||o!==r.value&&(r.value=o),r.defaultValue=o}var a=r.name;""!==a&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==a&&(r.name=a)}function cn(e,t){var n=e;un(n,t),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var r=e;r.parentNode;)r=r.parentNode;for(var i=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),o=0;o<i.length;o++){var a=i[o];if(a!==e&&a.form===e.form){var s=Eu(a);if(!s)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Xt(a),un(a,s)}}}}(n,t)}function fn(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=Yt(e._wrapperState.initialValue):e.defaultValue!==Yt(n)&&(e.defaultValue=Yt(n)))}var dn,hn=!1,pn=!1;function mn(t,n){"object"==typeof n.children&&null!==n.children&&e.Children.forEach(n.children,function(e){null!=e&&"string"!=typeof e&&"number"!=typeof e&&"string"==typeof e.type&&(pn||(pn=!0,u("Only strings and numbers are supported as <option> children.")))}),null==n.selected||hn||(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),hn=!0)}function gn(t,r){var i=n({children:void 0},r),o=function(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}(r.children);return o&&(i.children=o),i}function vn(){var e=Lt();return e?"\n\nCheck the render method of `"+e+"`.":""}dn=!1;var yn=["value","defaultValue"];function bn(e,t,n,r){var i=e.options;if(t){for(var o=n,a={},s=0;s<o.length;s++)a["$"+o[s]]=!0;for(var u=0;u<i.length;u++){var l=a.hasOwnProperty("$"+i[u].value);i[u].selected!==l&&(i[u].selected=l),l&&r&&(i[u].defaultSelected=!0)}}else{for(var c=Yt(Ht(n)),f=null,d=0;d<i.length;d++){if(i[d].value===c)return i[d].selected=!0,void(r&&(i[d].defaultSelected=!0));null!==f||i[d].disabled||(f=i[d])}null!==f&&(f.selected=!0)}}function _n(e,t){return n({},t,{value:void 0})}function wn(e,t){var n=e;!function(e){$t.checkPropTypes("select",e);for(var t=0;t<yn.length;t++){var n=yn[t];if(null!=e[n]){var r=Array.isArray(e[n]);e.multiple&&!r?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,vn()):!e.multiple&&r&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,vn())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||dn||(u("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://fb.me/react-controlled-components"),dn=!0)}var kn=!1;function xn(e,t){var r=e;if(null!=t.dangerouslySetInnerHTML)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");return n({},t,{value:void 0,defaultValue:void 0,children:Yt(r._wrapperState.initialValue)})}function En(e,t){var n=e;$t.checkPropTypes("textarea",t),void 0===t.value||void 0===t.defaultValue||kn||(u("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components",Lt()||"A component"),kn=!0);var r=t.value;if(null==r){var i=t.children,o=t.defaultValue;if(null!=i){if(u("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=o)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Array.isArray(i)){if(!(i.length<=1))throw Error("<textarea> can only have at most one child.");i=i[0]}o=i}null==o&&(o=""),r=o}n._wrapperState={initialValue:Ht(r)}}function Sn(e,t){var n=e,r=Ht(t.value),i=Ht(t.defaultValue);if(null!=r){var o=Yt(r);o!==n.value&&(n.value=o),null==t.defaultValue&&n.defaultValue!==o&&(n.defaultValue=o)}null!=i&&(n.defaultValue=Yt(i))}function Tn(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var Cn="http://www.w3.org/1999/xhtml",Mn="http://www.w3.org/1998/Math/MathML",Nn="http://www.w3.org/2000/svg",Rn={html:Cn,mathml:Mn,svg:Nn};function Pn(e){switch(e){case"svg":return Nn;case"math":return Mn;default:return Cn}}function On(e,t){return null==e||e===Cn?Pn(t):e===Nn&&"foreignObject"===t?Cn:e}var Dn,An,In=(An=function(e,t){if(e.namespaceURI!==Rn.svg||"innerHTML"in e)e.innerHTML=t;else{(Dn=Dn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Dn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return An(e,t,n,r)})}:An),jn=1,Un=3,Ln=8,Fn=9,zn=11,Bn=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Un)return void(n.nodeValue=t)}e.textContent=t};function Yn(e){return e}function Hn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Vn={animationend:Hn("Animation","AnimationEnd"),animationiteration:Hn("Animation","AnimationIteration"),animationstart:Hn("Animation","AnimationStart"),transitionend:Hn("Transition","TransitionEnd")},$n={},qn={};function Gn(e){if($n[e])return $n[e];if(!Vn[e])return e;var t=Vn[e];for(var n in t)if(t.hasOwnProperty(n)&&n in qn)return $n[e]=t[n];return e}ce&&(qn=document.createElement("div").style,"AnimationEvent"in window||(delete Vn.animationend.animation,delete Vn.animationiteration.animation,delete Vn.animationstart.animation),"TransitionEvent"in window||delete Vn.transitionend.transition);var Qn=Yn("abort"),Kn=Yn(Gn("animationend")),Zn=Yn(Gn("animationiteration")),Xn=Yn(Gn("animationstart")),Jn=Yn("blur"),er=Yn("canplay"),tr=Yn("canplaythrough"),nr=Yn("cancel"),rr=Yn("change"),ir=Yn("click"),or=Yn("close"),ar=Yn("compositionend"),sr=Yn("compositionstart"),ur=Yn("compositionupdate"),lr=Yn("contextmenu"),cr=Yn("copy"),fr=Yn("cut"),dr=Yn("dblclick"),hr=Yn("auxclick"),pr=Yn("drag"),mr=Yn("dragend"),gr=Yn("dragenter"),vr=Yn("dragexit"),yr=Yn("dragleave"),br=Yn("dragover"),_r=Yn("dragstart"),wr=Yn("drop"),kr=Yn("durationchange"),xr=Yn("emptied"),Er=Yn("encrypted"),Sr=Yn("ended"),Tr=Yn("error"),Cr=Yn("focus"),Mr=Yn("gotpointercapture"),Nr=Yn("input"),Rr=Yn("invalid"),Pr=Yn("keydown"),Or=Yn("keypress"),Dr=Yn("keyup"),Ar=Yn("load"),Ir=Yn("loadstart"),jr=Yn("loadeddata"),Ur=Yn("loadedmetadata"),Lr=Yn("lostpointercapture"),Fr=Yn("mousedown"),zr=Yn("mousemove"),Br=Yn("mouseout"),Wr=Yn("mouseover"),Yr=Yn("mouseup"),Hr=Yn("paste"),Vr=Yn("pause"),$r=Yn("play"),qr=Yn("playing"),Gr=Yn("pointercancel"),Qr=Yn("pointerdown"),Kr=Yn("pointermove"),Zr=Yn("pointerout"),Xr=Yn("pointerover"),Jr=Yn("pointerup"),ei=Yn("progress"),ti=Yn("ratechange"),ni=Yn("reset"),ri=Yn("scroll"),ii=Yn("seeked"),oi=Yn("seeking"),ai=Yn("selectionchange"),si=Yn("stalled"),ui=Yn("submit"),li=Yn("suspend"),ci=Yn("textInput"),fi=Yn("timeupdate"),di=Yn("toggle"),hi=Yn("touchcancel"),pi=Yn("touchend"),mi=Yn("touchmove"),gi=Yn("touchstart"),vi=Yn(Gn("transitionend")),yi=Yn("volumechange"),bi=Yn("waiting"),_i=Yn("wheel"),wi=[Qn,er,tr,kr,xr,Er,Sr,Tr,jr,Ur,Ir,Vr,$r,qr,ei,ti,ii,oi,si,li,fi,yi,bi];function ki(e){return function(e){return e}(e)}var xi=new("function"==typeof WeakMap?WeakMap:Map);function Ei(e){var t=xi.get(e);return void 0===t&&(t=new Map,xi.set(e,t)),t}function Si(e){return e._reactInternalFiber}var Ti=0,Ci=1,Mi=2,Ni=4,Ri=6,Pi=8,Oi=16,Di=32,Ai=64,Ii=128,ji=256,Ui=512,Li=1024,Fi=1028,zi=932,Bi=2047,Wi=2048,Yi=4096,Hi=a.ReactCurrentOwner;function Vi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do{((t=r).effectTag&(Mi|Li))!==Ti&&(n=t.return),r=t.return}while(r)}return t.tag===O?n:null}function $i(e){if(e.tag===Y){var t=e.memoizedState;if(null===t){var n=e.alternate;null!==n&&(t=n.memoizedState)}if(null!==t)return t.dehydrated}return null}function qi(e){return e.tag===O?e.stateNode.containerInfo:null}function Gi(e){if(Vi(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Qi(e){var t=e.alternate;if(!t){var n=Vi(e);if(null===n)throw Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,i=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){var s=o.return;if(null!==s){r=i=s;continue}break}if(o.child===a.child){for(var u=o.child;u;){if(u===r)return Gi(o),e;if(u===i)return Gi(o),t;u=u.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==i.return)r=o,i=a;else{for(var l=!1,c=o.child;c;){if(c===r){l=!0,r=o,i=a;break}if(c===i){l=!0,i=o,r=a;break}c=c.sibling}if(!l){for(c=a.child;c;){if(c===r){l=!0,r=a,i=o;break}if(c===i){l=!0,i=a,r=o;break}c=c.sibling}if(!l)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==i)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==O)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function Ki(e){var t=Qi(e);if(!t)return null;for(var n=t;;){if(n.tag===A||n.tag===j)return n;if(n.child)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function Zi(e,t){if(null==t)throw Error("accumulateInto(...): Accumulated items must not be null or undefined.");return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function Xi(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var Ji=null,eo=function(e){e&&(!function(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(k(e),Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)M(e,t[r],n[r]);else t&&M(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null}(e),e.isPersistent()||e.constructor.release(e))},to=function(e){return eo(e)};function no(e){null!==e&&(Ji=Zi(Ji,e));var t=Ji;if(Ji=null,t){if(Xi(t,to),Ji)throw Error("processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.");!function(){if(g){var e=v;throw g=!1,v=null,e}}()}}function ro(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Un?t.parentNode:t}function io(e){if(!ce)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n="function"==typeof r[t]}return n}var oo,ao,so,uo=10,lo=[];function co(e){if(e.tag===O)return e.stateNode.containerInfo;for(;e.return;)e=e.return;return e.tag!==O?null:e.stateNode.containerInfo}function fo(e,t,n,r,i){no(function(e,t,n,r,i){for(var o=null,a=0;a<ie.length;a++){var s=ie[a];if(s){var u=s.extractEvents(e,t,n,r,i);u&&(o=Zi(o,u))}}return o}(e,t,n,r,i))}function ho(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=co(n);if(!r)break;var i=n.tag;i!==A&&i!==j||e.ancestors.push(n),n=wu(r)}while(n);for(var o=0;o<e.ancestors.length;o++){t=e.ancestors[o];var a=ro(e.nativeEvent),s=e.topLevelType,u=e.nativeEvent,l=e.eventSystemFlags;0===o&&(l|=he),fo(s,t,u,a,l)}}function po(e,t,n,r){var i,o=function(e,t,n,r){if(lo.length){var i=lo.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}(e,n,r,t);try{!function(e,t,n){if(Ne)return e(t,n);Ne=!0;try{Ce(e,t,n)}finally{Ne=!1,Re()}}(ho,o)}finally{(i=o).topLevelType=null,i.nativeEvent=null,i.targetInst=null,i.ancestors.length=0,lo.length<uo&&lo.push(i)}}function mo(e,t,n){if(!n.has(e)){switch(e){case ri:Ko(ri,t);break;case Cr:case Jn:Ko(Cr,t),Ko(Jn,t),n.set(Jn,null),n.set(Cr,null);break;case nr:case or:io(ki(e))&&Ko(e,t);break;case Rr:case ui:case ni:break;default:-1!==wi.indexOf(e)||Qo(e,t)}n.set(e,null)}}var go=!1,vo=[],yo=null,bo=null,_o=null,wo=new Map,ko=new Map,xo=[];var Eo=[Fr,Yr,hi,pi,gi,hr,dr,Gr,Qr,Jr,mr,_r,wr,ar,sr,Pr,Or,Dr,Nr,ci,or,nr,cr,fr,Hr,ir,rr,lr,ni,ui],So=[Cr,Jn,gr,yr,Wr,Br,Xr,Zr,Mr,Lr];function To(e){return Eo.indexOf(e)>-1}function Co(e,t,n){mo(e,t,n)}function Mo(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:n|de,nativeEvent:i,container:r}}function No(e,t,n,r,i){var o=Mo(e,t,n,r,i);vo.push(o)}function Ro(e,t){switch(e){case Cr:case Jn:yo=null;break;case gr:case yr:bo=null;break;case Wr:case Br:_o=null;break;case Xr:case Zr:var n=t.pointerId;wo.delete(n);break;case Mr:case Lr:var r=t.pointerId;ko.delete(r)}}function Po(e,t,n,r,i,o){if(null===e||e.nativeEvent!==o){var a=Mo(t,n,r,i,o);if(null!==t){var s=ku(t);null!==s&&ao(s)}return a}return e.eventSystemFlags|=r,e}function Oo(e){var t=wu(e.target);if(null!==t){var n=Vi(t);if(null!==n){var i=n.tag;if(i===Y){var o=$i(n);if(null!==o)return e.blockedOn=o,void r.unstable_runWithPriority(e.priority,function(){so(n)})}else if(i===O){if(n.stateNode.hydrate)return void(e.blockedOn=qi(n))}}}e.blockedOn=null}function Do(e){if(null!==e.blockedOn)return!1;var t=Jo(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=ku(t);return null!==n&&ao(n),e.blockedOn=t,!1}return!0}function Ao(e,t,n){Do(e)&&n.delete(t)}function Io(){for(go=!1;vo.length>0;){var e=vo[0];if(null!==e.blockedOn){var t=ku(e.blockedOn);null!==t&&oo(t);break}var n=Jo(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==n?e.blockedOn=n:vo.shift()}null!==yo&&Do(yo)&&(yo=null),null!==bo&&Do(bo)&&(bo=null),null!==_o&&Do(_o)&&(_o=null),wo.forEach(Ao),ko.forEach(Ao)}function jo(e,t){e.blockedOn===t&&(e.blockedOn=null,go||(go=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Io)))}function Uo(e){if(vo.length>0){jo(vo[0],e);for(var t=1;t<vo.length;t++){var n=vo[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==yo&&jo(yo,e),null!==bo&&jo(bo,e),null!==_o&&jo(_o,e);var r=function(t){return jo(t,e)};wo.forEach(r),ko.forEach(r);for(var i=0;i<xo.length;i++){var o=xo[i];o.blockedOn===e&&(o.blockedOn=null)}for(;xo.length>0;){var a=xo[0];if(null!==a.blockedOn)break;Oo(a),null===a.blockedOn&&xo.shift()}}var Lo={},Fo=new Map,zo=new Map,Bo=[rr,ai,ci,sr,ar,ur],Wo=[pr,"drag",gr,"dragEnter",vr,"dragExit",yr,"dragLeave",br,"dragOver",zr,"mouseMove",Br,"mouseOut",Wr,"mouseOver",Kr,"pointerMove",Zr,"pointerOut",Xr,"pointerOver",ri,"scroll",di,"toggle",mi,"touchMove",_i,"wheel"],Yo=[Qn,"abort",Kn,"animationEnd",Zn,"animationIteration",Xn,"animationStart",er,"canPlay",tr,"canPlayThrough",kr,"durationChange",xr,"emptied",Er,"encrypted",Sr,"ended",Tr,"error",Mr,"gotPointerCapture",Ar,"load",jr,"loadedData",Ur,"loadedMetadata",Ir,"loadStart",Lr,"lostPointerCapture",qr,"playing",ei,"progress",oi,"seeking",si,"stalled",li,"suspend",fi,"timeUpdate",vi,"transitionEnd",bi,"waiting"];function Ho(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1)),a={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t};zo.set(r,t),Fo.set(r,a),Lo[i]=a}}Ho([Jn,"blur",nr,"cancel",ir,"click",or,"close",lr,"contextMenu",cr,"copy",fr,"cut",hr,"auxClick",dr,"doubleClick",mr,"dragEnd",_r,"dragStart",wr,"drop",Cr,"focus",Nr,"input",Rr,"invalid",Pr,"keyDown",Or,"keyPress",Dr,"keyUp",Fr,"mouseDown",Yr,"mouseUp",Hr,"paste",Vr,"pause",$r,"play",Gr,"pointerCancel",Qr,"pointerDown",Jr,"pointerUp",ti,"rateChange",ni,"reset",ii,"seeked",ui,"submit",hi,"touchCancel",pi,"touchEnd",gi,"touchStart",yi,"volumeChange"],Pe),Ho(Wo,Oe),Ho(Yo,De),function(e,t){for(var n=0;n<e.length;n++)zo.set(e[n],t)}(Bo,Pe);var Vo=r.unstable_UserBlockingPriority,$o=r.unstable_runWithPriority,qo=!0;function Go(e){qo=!!e}function Qo(e,t){Zo(t,e,!1)}function Ko(e,t){Zo(t,e,!0)}function Zo(e,t,n){var r;switch(function(e){var t=zo.get(e);return void 0===t?De:t}(t)){case Pe:r=function(e,t,n,r){r.timeStamp,Me||we||Te(),function(e,t,n,r,i){var o=Me;Me=!0;try{Se(e,t,n,r,i)}finally{(Me=o)||Re()}}(Xo,e,t,n,r)}.bind(null,t,fe,e);break;case Oe:r=function(e,t,n,r){$o(Vo,Xo.bind(null,e,t,n,r))}.bind(null,t,fe,e);break;case De:default:r=Xo.bind(null,t,fe,e)}var i=ki(t);n?function(e,t,n){e.addEventListener(t,n,!0)}(e,i,r):function(e,t,n){e.addEventListener(t,n,!1)}(e,i,r)}function Xo(e,t,n,r){if(qo)if(vo.length>0&&To(e))No(null,e,t,n,r);else{var i=Jo(e,t,n,r);null!==i?To(e)?No(i,e,t,n,r):function(e,t,n,r,i){switch(t){case Cr:return yo=Po(yo,e,t,n,r,i),!0;case gr:return bo=Po(bo,e,t,n,r,i),!0;case Wr:return _o=Po(_o,e,t,n,r,i),!0;case Xr:var o=i,a=o.pointerId;return wo.set(a,Po(wo.get(a)||null,e,t,n,r,o)),!0;case Mr:var s=i,u=s.pointerId;return ko.set(u,Po(ko.get(u)||null,e,t,n,r,s)),!0}return!1}(i,e,t,n,r)||(Ro(e,r),po(e,t,r,null)):Ro(e,r)}}function Jo(e,t,n,r){var i=wu(ro(r));if(null!==i){var o=Vi(i);if(null===o)i=null;else{var a=o.tag;if(a===Y){var s=$i(o);if(null!==s)return s;i=null}else if(a===O){if(o.stateNode.hydrate)return qi(o);i=null}else o!==i&&(i=null)}}return po(e,t,r,i),null}var ea={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},ta={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};var na=["Webkit","ms","Moz","O"];function ra(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ta.hasOwnProperty(e)&&ta[e]?(""+t).trim():t+"px"}Object.keys(ta).forEach(function(e){na.forEach(function(t){ta[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=ta[e]})});var ia=/([A-Z])/g,oa=/^ms-/;var aa=/^(?:webkit|moz|o)[A-Z]/,sa=/^-ms-/,ua=/-(.)/g,la=/;\s*$/,ca={},fa={},da=!1,ha=!1,pa=function(e){ca.hasOwnProperty(e)&&ca[e]||(ca[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,e.replace(sa,"ms-").replace(ua,function(e,t){return t.toUpperCase()})))},ma=function(e,t){e.indexOf("-")>-1?pa(e):aa.test(e)?function(e){ca.hasOwnProperty(e)&&ca[e]||(ca[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):la.test(t)&&function(e,t){fa.hasOwnProperty(t)&&fa[t]||(fa[t]=!0,u('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(la,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e,t){da||(da=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e,t){ha||(ha=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function ga(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];if(null!=i){var o=0===r.indexOf("--");t+=n+(o?r:r.replace(ia,"-$1").toLowerCase().replace(oa,"-ms-"))+":",t+=ra(r,i,o),n=";"}}return t||null}function va(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i=0===r.indexOf("--");i||ma(r,t[r]);var o=ra(r,t[r],i);"float"===r&&(r="cssFloat"),i?n.setProperty(r,o):n[r]=o}}function ya(e){var t={};for(var n in e)for(var r=ea[n]||[n],i=0;i<r.length;i++)t[r[i]]=n;return t}var ba=n({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}),_a="__html",wa=null;function ka(e,t){if(t){if(ba[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."+wa.getStackAddendum());if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(!("object"==typeof t.dangerouslySetInnerHTML&&_a in t.dangerouslySetInnerHTML))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&u("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."+wa.getStackAddendum())}}function xa(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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}}wa=a.ReactDebugCurrentFrame;var Ea={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Sa={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Ta={},Ca=new RegExp("^(aria)-["+Be+"]*$"),Ma=new RegExp("^(aria)[A-Z]["+Be+"]*$"),Na=Object.prototype.hasOwnProperty;function Ra(e,t){if(Na.call(Ta,t)&&Ta[t])return!0;if(Ma.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=Sa.hasOwnProperty(n)?n:null;if(null==r)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Ta[t]=!0,!0;if(t!==r)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),Ta[t]=!0,!0}if(Ca.test(t)){var i=t.toLowerCase(),o=Sa.hasOwnProperty(i)?i:null;if(null==o)return Ta[t]=!0,!1;if(t!==o)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,o),Ta[t]=!0,!0}return!0}function Pa(e,t){xa(e,t)||function(e,t){var n=[];for(var r in t)Ra(0,r)||n.push(r);var i=n.map(function(e){return"`"+e+"`"}).join(", ");1===n.length?u("Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",i,e):n.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",i,e)}(e,t)}var Oa=!1;var Da,Aa={},Ia=Object.prototype.hasOwnProperty,ja=/^on./,Ua=/^on[^A-Z]/,La=new RegExp("^(aria)-["+Be+"]*$"),Fa=new RegExp("^(aria)[A-Z]["+Be+"]*$");Da=function(e,t,n,r){if(Ia.call(Aa,t)&&Aa[t])return!0;var i=t.toLowerCase();if("onfocusin"===i||"onfocusout"===i)return u("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Aa[t]=!0,!0;if(r){if(ae.hasOwnProperty(t))return!0;var o=ue.hasOwnProperty(i)?ue[i]:null;if(null!=o)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,o),Aa[t]=!0,!0;if(ja.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),Aa[t]=!0,!0}else if(ja.test(t))return Ua.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Aa[t]=!0,!0;if(La.test(t)||Fa.test(t))return!0;if("innerhtml"===i)return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Aa[t]=!0,!0;if("aria"===i)return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Aa[t]=!0,!0;if("is"===i&&null!=n&&"string"!=typeof n)return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Aa[t]=!0,!0;if("number"==typeof n&&isNaN(n))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Aa[t]=!0,!0;var a=Ze(t),s=null!==a&&a.type===Ae;if(Ea.hasOwnProperty(i)){var l=Ea[i];if(l!==t)return u("Invalid DOM property `%s`. Did you mean `%s`?",t,l),Aa[t]=!0,!0}else if(!s&&t!==i)return u("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,i),Aa[t]=!0,!0;return"boolean"==typeof n&&Qe(t,n,a,!1)?(n?u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Aa[t]=!0,!0):!!s||(Qe(t,n,a,!1)?(Aa[t]=!0,!1):"false"!==n&&"true"!==n||null===a||a.type!==je||(u("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Aa[t]=!0,!0))};var za=function(e,t,n){var r=[];for(var i in t){Da(0,i,t[i],n)||r.push(i)}var o=r.map(function(e){return"`"+e+"`"}).join(", ");1===r.length?u("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior",o,e):r.length>1&&u("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior",o,e)};var Ba,Wa,Ya,Ha,Va,$a,qa,Ga,Qa,Ka,Za=!1,Xa="dangerouslySetInnerHTML",Ja="suppressContentEditableWarning",es="suppressHydrationWarning",ts="autoFocus",ns="children",rs="style",is="__html",os=Rn.html;Ba={time:!0,dialog:!0,webview:!0},Ya=function(e,t){Pa(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Oa||(Oa=!0,"select"===e&&t.multiple?u("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):u("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),function(e,t,n){xa(e,t)||za(e,t,n)}(e,t,!0)},Ga=ce&&!document.documentMode;var as=/\r\n?/g,ss=/\u0000|\uFFFD/g;function us(e,t){!function(e,t){for(var n=Ei(t),r=se[e],i=0;i<r.length;i++)mo(r[i],t,n)}(t,e.nodeType===Fn||e.nodeType===zn?e:e.ownerDocument)}function ls(e){return e.nodeType===Fn?e:e.ownerDocument}function cs(){}function fs(e){e.onclick=cs}function ds(e,t,n,r){var i,o=xa(t,n);switch(Ya(t,n),t){case"iframe":case"object":case"embed":Qo(Ar,e),i=n;break;case"video":case"audio":for(var a=0;a<wi.length;a++)Qo(wi[a],e);i=n;break;case"source":Qo(Tr,e),i=n;break;case"img":case"image":case"link":Qo(Tr,e),Qo(Ar,e),i=n;break;case"form":Qo(ni,e),Qo(ui,e),i=n;break;case"details":Qo(di,e),i=n;break;case"input":an(e,n),i=on(e,n),Qo(Rr,e),us(r,"onChange");break;case"option":mn(0,n),i=gn(0,n);break;case"select":wn(e,n),i=_n(0,n),Qo(Rr,e),us(r,"onChange");break;case"textarea":En(e,n),i=xn(e,n),Qo(Rr,e),us(r,"onChange");break;default:i=n}switch(ka(t,i),function(e,t,n,r,i){for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];if(o===rs)a&&Object.freeze(a),va(t,a);else if(o===Xa){var s=a?a[is]:void 0;null!=s&&In(t,s)}else o===ns?"string"==typeof a?("textarea"!==e||""!==a)&&Bn(t,a):"number"==typeof a&&Bn(t,""+a):o===Ja||o===es||o===ts||(ae.hasOwnProperty(o)?null!=a&&("function"!=typeof a&&qa(o,a),us(n,o)):null!=a&&st(t,o,a,i))}}(t,e,r,i,o),t){case"input":Zt(e),ln(e,n,!1);break;case"textarea":Zt(e),Tn(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",Yt(Ht(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?bn(n,!!t.multiple,r,!1):null!=t.defaultValue&&bn(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof i.onClick&&fs(e)}}function hs(e,t,n,r,i){Ya(t,r);var o,a,s,l,c=null;switch(t){case"input":o=on(e,n),a=on(e,r),c=[];break;case"option":o=gn(0,n),a=gn(0,r),c=[];break;case"select":o=_n(0,n),a=_n(0,r),c=[];break;case"textarea":o=xn(e,n),a=xn(e,r),c=[];break;default:a=r,"function"!=typeof(o=n).onClick&&"function"==typeof a.onClick&&fs(e)}ka(t,a);var f=null;for(s in o)if(!a.hasOwnProperty(s)&&o.hasOwnProperty(s)&&null!=o[s])if(s===rs){var d=o[s];for(l in d)d.hasOwnProperty(l)&&(f||(f={}),f[l]="")}else s===Xa||s===ns||s===Ja||s===es||s===ts||(ae.hasOwnProperty(s)?c||(c=[]):(c=c||[]).push(s,null));for(s in a){var h=a[s],p=null!=o?o[s]:void 0;if(a.hasOwnProperty(s)&&h!==p&&(null!=h||null!=p))if(s===rs)if(h&&Object.freeze(h),p){for(l in p)!p.hasOwnProperty(l)||h&&h.hasOwnProperty(l)||(f||(f={}),f[l]="");for(l in h)h.hasOwnProperty(l)&&p[l]!==h[l]&&(f||(f={}),f[l]=h[l])}else f||(c||(c=[]),c.push(s,f)),f=h;else if(s===Xa){var m=h?h[is]:void 0,g=p?p[is]:void 0;null!=m&&g!==m&&(c=c||[]).push(s,m)}else s===ns?p===h||"string"!=typeof h&&"number"!=typeof h||(c=c||[]).push(s,""+h):s===Ja||s===es||(ae.hasOwnProperty(s)?(null!=h&&("function"!=typeof h&&qa(s,h),us(i,s)),c||p===h||(c=[])):(c=c||[]).push(s,h))}return f&&(!function(e,t){if(t){var n,r=ya(e),i=ya(t),o={};for(var a in r){var s=r[a],l=i[a];if(l&&s!==l){var c=s+","+l;if(o[c])continue;o[c]=!0,u("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[s])||"boolean"==typeof n||""===n?"Removing":"Updating",s,l)}}}}(f,a[rs]),(c=c||[]).push(rs,f)),c}function ps(e,t,n,r,i){"input"===n&&"radio"===i.type&&null!=i.name&&sn(e,i);xa(n,r);switch(function(e,t,n,r){for(var i=0;i<t.length;i+=2){var o=t[i],a=t[i+1];o===rs?va(e,a):o===Xa?In(e,a):o===ns?Bn(e,a):st(e,o,a,r)}}(e,t,0,xa(n,i)),n){case"input":un(e,i);break;case"textarea":Sn(e,i);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var i=t.value;null!=i?bn(n,!!t.multiple,i,!1):r!==!!t.multiple&&(null!=t.defaultValue?bn(n,!!t.multiple,t.defaultValue,!0):bn(n,!!t.multiple,t.multiple?[]:"",!1))}(e,i)}}function ms(e,t){Ha(e.nodeValue,t)}function gs(e,t){Za||(Za=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function vs(e,t){Za||(Za=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function ys(e,t,n){Za||(Za=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function bs(e,t){""!==t&&(Za||(Za=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}function _s(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ws(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ks(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function xs(e,t){for(var n=ws(e),r=0,i=0;n;){if(n.nodeType===Un){if(i=r+n.textContent.length,r<=t&&i>=t)return{node:n,offset:t-r};r=i}n=ws(ks(n))}}function Es(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var i=r.anchorNode,o=r.anchorOffset,a=r.focusNode,s=r.focusOffset;try{i.nodeType,a.nodeType}catch(e){return null}return function(e,t,n,r,i){var o=0,a=-1,s=-1,u=0,l=0,c=e,f=null;e:for(;;){for(var d=null;c!==t||0!==n&&c.nodeType!==Un||(a=o+n),c!==r||0!==i&&c.nodeType!==Un||(s=o+i),c.nodeType===Un&&(o+=c.nodeValue.length),null!==(d=c.firstChild);)f=c,c=d;for(;;){if(c===e)break e;if(f===t&&++u===n&&(a=o),f===r&&++l===i&&(s=o),null!==(d=c.nextSibling))break;f=(c=f).parentNode}c=d}if(-1===a||-1===s)return null;return{start:a,end:s}}(e,i,o,a,s)}function Ss(e){return e&&e.nodeType===Un}function Ts(e){return e&&e.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||!Ss(t)&&(Ss(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(e.ownerDocument.documentElement,e)}function Cs(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function Ms(){for(var e=window,t=_s();t instanceof e.HTMLIFrameElement;){if(!Cs(t))return t;t=_s((e=t.contentWindow).document)}return t}function Ns(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Rs(e){var t=Ms(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&Ts(n)){null!==r&&Ns(n)&&function(e,t){var n=t.start,r=t.end;void 0===r&&(r=n);"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var i=r.getSelection(),o=e.textContent.length,a=Math.min(t.start,o),s=void 0===t.end?a:Math.min(t.end,o);if(!i.extend&&a>s){var u=s;s=a,a=u}var l=xs(e,a),c=xs(e,s);if(l&&c){if(1===i.rangeCount&&i.anchorNode===l.node&&i.anchorOffset===l.offset&&i.focusNode===c.node&&i.focusOffset===c.offset)return;var f=n.createRange();f.setStart(l.node,l.offset),i.removeAllRanges(),a>s?(i.addRange(f),i.extend(c.node,c.offset)):(f.setEnd(c.node,c.offset),i.addRange(f))}}}(e,t)}(n,r);for(var i=[],o=n;o=o.parentNode;)o.nodeType===jn&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});"function"==typeof n.focus&&n.focus();for(var a=0;a<i.length;a++){var s=i[a];s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}}Qa=function(e){return("string"==typeof e?e:""+e).replace(as,"\n").replace(ss,"")},Ha=function(e,t){if(!Za){var n=Qa(t),r=Qa(e);r!==n&&(Za=!0,u('Text content did not match. Server: "%s" Client: "%s"',r,n))}},Va=function(e,t,n){if(!Za){var r=Qa(n),i=Qa(t);i!==r&&(Za=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(i),JSON.stringify(r)))}},$a=function(e){if(!Za){Za=!0;var t=[];e.forEach(function(e){t.push(e)}),u("Extra attributes from the server: %s",t)}},qa=function(e,t){!1===t?u("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):u("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Ka=function(e,t){var n=e.namespaceURI===os?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Ps=function(){},Os=function(){},Ds=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],As=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Is=As.concat(["button"]),js=["dd","dt","li","option","optgroup","p","rp","rt"],Us={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Os=function(e,t){var r=n({},e||Us),i={tag:t};return-1!==As.indexOf(t)&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),-1!==Is.indexOf(t)&&(r.pTagInButtonScope=null),-1!==Ds.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=i,"form"===t&&(r.formTag=i),"a"===t&&(r.aTagInScope=i),"button"===t&&(r.buttonTagInScope=i),"nobr"===t&&(r.nobrTagInScope=i),"p"===t&&(r.pTagInButtonScope=i),"li"===t&&(r.listItemTagAutoclosing=i),"dd"!==t&&"dt"!==t||(r.dlItemTagAutoclosing=i),r};var Ls,Fs={};Ps=function(e,t,n){var r=(n=n||Us).current,i=r&&r.tag;null!=t&&(null!=e&&u("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var o=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===js.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,i)?null:r,a=o?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),s=o||a;if(s){var l=s.tag,c=!!o+"|"+e+"|"+l+"|"+Ft();if(!Fs[c]){Fs[c]=!0;var f=e,d="";if("#text"===e?/\S/.test(t)?f="Text nodes":(f="Whitespace text nodes",d=" Make sure you don't have any extra whitespace between tags on each line of your source code."):f="<"+e+">",o){var h="";"table"===l&&"tr"===e&&(h+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),u("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",f,l,d,h)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",f,l)}}},Ls="suppressHydrationWarning";var zs="$",Bs="/$",Ws="$?",Ys="$!",Hs="style",Vs=null,$s=null;function qs(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Gs(e){return e}function Qs(e){var t,n;Vs=qo,t=Ms(),$s={activeElementDetached:null,focusedElem:t,selectionRange:Ns(t)?(n=t,("selectionStart"in n?{start:n.selectionStart,end:n.selectionEnd}:Es(n))||{start:0,end:0}):null},Go(!1)}function Ks(e,t,n,r,i){var o=r;if(Ps(e,null,o.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var a=""+t.children,s=Os(o.ancestorInfo,e);Ps(null,a,s)}var l=function(e,t,n,r){var i,o,a=ls(n),s=r;if(s===os&&(s=Pn(e)),s===os){if((i=xa(e,t))||e===e.toLowerCase()||u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var l=a.createElement("div");l.innerHTML="<script><\/script>";var c=l.firstChild;o=l.removeChild(c)}else if("string"==typeof t.is)o=a.createElement(e,{is:t.is});else if(o=a.createElement(e),"select"===e){var f=o;t.multiple?f.multiple=!0:t.size&&(f.size=t.size)}}else o=a.createElementNS(s,e);return s===os&&(i||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(o)||Object.prototype.hasOwnProperty.call(Ba,e)||(Ba[e]=!0,u("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),o}(e,t,n,o.namespace);return yu(i,l),Su(l,t),l}function Zs(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function Xs(e,t){return!!t.hidden}function Js(e,t,n,r){Ps(null,e,n.ancestorInfo);var i=function(e,t){return ls(t).createTextNode(e)}(e,t);return yu(r,i),i}var eu="function"==typeof setTimeout?setTimeout:void 0,tu="function"==typeof clearTimeout?clearTimeout:void 0,nu=-1;function ru(e){Bn(e,"")}function iu(e,t){e.removeChild(t)}function ou(e){var t=(e=e).style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function au(e,t){e=e;var n=t[Hs],r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=ra("display",r)}function su(e,t){e.nodeValue=t}function uu(e){return e.data===Ys}function lu(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(t===jn||t===Un)break}return e}function cu(e){return lu(e.nextSibling)}function fu(e){return lu(e.firstChild)}function du(e,t,n,r,i,o){return yu(o,e),Su(e,n),function(e,t,n,r,i){var o,a;switch(Wa=!0===n[es],o=xa(t,n),Ya(t,n),t){case"iframe":case"object":case"embed":Qo(Ar,e);break;case"video":case"audio":for(var s=0;s<wi.length;s++)Qo(wi[s],e);break;case"source":Qo(Tr,e);break;case"img":case"image":case"link":Qo(Tr,e),Qo(Ar,e);break;case"form":Qo(ni,e),Qo(ui,e);break;case"details":Qo(di,e);break;case"input":an(e,n),Qo(Rr,e),us(i,"onChange");break;case"option":mn(0,n);break;case"select":wn(e,n),Qo(Rr,e),us(i,"onChange");break;case"textarea":En(e,n),Qo(Rr,e),us(i,"onChange")}ka(t,n),a=new Set;for(var u=e.attributes,l=0;l<u.length;l++)switch(u[l].name.toLowerCase()){case"data-reactroot":case"value":case"checked":case"selected":break;default:a.add(u[l].name)}var c,f=null;for(var d in n)if(n.hasOwnProperty(d)){var h=n[d];if(d===ns)"string"==typeof h?e.textContent!==h&&(Wa||Ha(e.textContent,h),f=[ns,h]):"number"==typeof h&&e.textContent!==""+h&&(Wa||Ha(e.textContent,h),f=[ns,""+h]);else if(ae.hasOwnProperty(d))null!=h&&("function"!=typeof h&&qa(d,h),us(i,d));else if("boolean"==typeof o){var p=void 0,m=Ze(d);if(Wa);else if(d===Ja||d===es||"value"===d||"checked"===d||"selected"===d);else if(d===Xa){var g=e.innerHTML,v=h?h[is]:void 0,y=Ka(e,null!=v?v:"");y!==g&&Va(d,g,y)}else if(d===rs){if(a.delete(d),Ga){var b=ga(h);b!==(p=e.getAttribute("style"))&&Va(d,p,b)}}else if(o)a.delete(d.toLowerCase()),h!==(p=at(e,d,h))&&Va(d,p,h);else if(!Ge(d,m,o)&&!Ke(d,h,m,o)){var _=!1;if(null!==m)a.delete(m.attributeName),p=ot(e,d,h,m);else{var w=r;if(w===os&&(w=Pn(t)),w===os)a.delete(d.toLowerCase());else{var k=(c=void 0,c=d.toLowerCase(),Ea.hasOwnProperty(c)&&Ea[c]||null);null!==k&&k!==d&&(_=!0,a.delete(k)),a.delete(d)}p=at(e,d,h)}h===p||_||Va(d,p,h)}}}switch(a.size>0&&!Wa&&$a(a),t){case"input":Zt(e),ln(e,n,!0);break;case"textarea":Zt(e),Tn(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&fs(e)}return f}(e,t,n,i.namespace,r)}function hu(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Ln){var r=t.data;if(r===zs||r===Ys||r===Ws){if(0===n)return t;n--}else r===Bs&&n++}t=t.previousSibling}return null}var pu=Math.random().toString(36).slice(2),mu="__reactInternalInstance$"+pu,gu="__reactEventHandlers$"+pu,vu="__reactContainere$"+pu;function yu(e,t){t[mu]=e}function bu(e){e[vu]=null}function _u(e){return!!e[vu]}function wu(e){var t=e[mu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vu]||n[mu]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var i=hu(e);null!==i;){var o=i[mu];if(o)return o;i=hu(i)}return t}n=(e=n).parentNode}return null}function ku(e){var t=e[mu]||e[vu];return t&&(t.tag===A||t.tag===j||t.tag===Y||t.tag===O)?t:null}function xu(e){if(e.tag===A||e.tag===j)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Eu(e){return e[gu]||null}function Su(e,t){e[gu]=t}function Tu(e){do{e=e.return}while(e&&e.tag!==A);return e||null}function Cu(e,t,n,r,i){for(var o=e&&t?function(e,t){for(var n=0,r=e;r;r=Tu(r))n++;for(var i=0,o=t;o;o=Tu(o))i++;for(;n-i>0;)e=Tu(e),n--;for(;i-n>0;)t=Tu(t),i--;for(var a=n;a--;){if(e===t||e===t.alternate)return e;e=Tu(e),t=Tu(t)}return null}(e,t):null,a=[];e&&e!==o;){var s=e.alternate;if(null!==s&&s===o)break;a.push(e),e=Tu(e)}for(var u=[];t&&t!==o;){var l=t.alternate;if(null!==l&&l===o)break;u.push(t),t=Tu(t)}for(var c=0;c<a.length;c++)n(a[c],"bubbled",r);for(var f=u.length;f-- >0;)n(u[f],"captured",i)}function Mu(e,t){var n,r=e.stateNode;if(!r)return null;var i=E(r);if(!i)return null;if(n=i[t],function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,i))return null;if(n&&"function"!=typeof n)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Nu(e,t,n){e||u("Dispatching inst must not be null");var r=function(e,t,n){return Mu(e,t.dispatchConfig.phasedRegistrationNames[n])}(e,n,t);r&&(n._dispatchListeners=Zi(n._dispatchListeners,r),n._dispatchInstances=Zi(n._dispatchInstances,e))}function Ru(e){e&&e.dispatchConfig.phasedRegistrationNames&&function(e,t,n){for(var r,i=[];e;)i.push(e),e=Tu(e);for(r=i.length;r-- >0;)t(i[r],"captured",n);for(r=0;r<i.length;r++)t(i[r],"bubbled",n)}(e._targetInst,Nu,e)}function Pu(e,t,n){if(e&&n&&n.dispatchConfig.registrationName){var r=Mu(e,n.dispatchConfig.registrationName);r&&(n._dispatchListeners=Zi(n._dispatchListeners,r),n._dispatchInstances=Zi(n._dispatchInstances,e))}}function Ou(e){e&&e.dispatchConfig.registrationName&&Pu(e._targetInst,0,e)}function Du(e){Xi(e,Ru)}var Au=null,Iu=null,ju=null;function Uu(){if(ju)return ju;var e,t,n=Iu,r=n.length,i=Lu(),o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);var s=t>1?1-t:void 0;return ju=i.slice(e,s)}function Lu(){return"value"in Au?Au.value:Au.textContent}var Fu=10,zu={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function Bu(){return!0}function Wu(){return!1}function Yu(e,t,n,r){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,delete this.isDefaultPrevented,delete this.isPropagationStopped,this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var i=this.constructor.Interface;for(var o in i)if(i.hasOwnProperty(o)){delete this[o];var a=i[o];a?this[o]=a(n):"target"===o?this.target=r:this[o]=n[o]}var s=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=s?Bu:Wu,this.isPropagationStopped=Wu,this}function Hu(e,t){var n="function"==typeof t;return{configurable:!0,set:function(e){return r(n?"setting the method":"setting the property","This is effectively a no-op"),e},get:function(){return r(n?"accessing the method":"accessing the property",n?"This is a no-op function":"This is set to null"),t}};function r(t,n){u("This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",t,e,n)}}function Vu(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function $u(e){if(!(e instanceof this))throw Error("Trying to release an event instance into a pool of a different type.");e.destructor(),this.eventPool.length<Fu&&this.eventPool.push(e)}function qu(e){e.eventPool=[],e.getPooled=Vu,e.release=$u}n(Yu.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Bu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Bu)},persist:function(){this.isPersistent=Bu},isPersistent:Wu,destructor:function(){var e=this.constructor.Interface;for(var t in e)Object.defineProperty(this,t,Hu(t,e[t]));this.dispatchConfig=null,this._targetInst=null,this.nativeEvent=null,this.isDefaultPrevented=Wu,this.isPropagationStopped=Wu,this._dispatchListeners=null,this._dispatchInstances=null,Object.defineProperty(this,"nativeEvent",Hu("nativeEvent",null)),Object.defineProperty(this,"isDefaultPrevented",Hu("isDefaultPrevented",Wu)),Object.defineProperty(this,"isPropagationStopped",Hu("isPropagationStopped",Wu)),Object.defineProperty(this,"preventDefault",Hu("preventDefault",function(){})),Object.defineProperty(this,"stopPropagation",Hu("stopPropagation",function(){}))}}),Yu.Interface=zu,Yu.extend=function(e){var t=this,r=function(){};r.prototype=t.prototype;var i=new r;function o(){return t.apply(this,arguments)}return n(i,o.prototype),o.prototype=i,o.prototype.constructor=o,o.Interface=n({},t.Interface,e),o.extend=t.extend,qu(o),o},qu(Yu);var Gu=Yu.extend({data:null}),Qu=Yu.extend({data:null}),Ku=[9,13,27,32],Zu=229,Xu=ce&&"CompositionEvent"in window,Ju=null;ce&&"documentMode"in document&&(Ju=document.documentMode);var el=ce&&"TextEvent"in window&&!Ju,tl=ce&&(!Xu||Ju&&Ju>8&&Ju<=11),nl=32,rl=String.fromCharCode(nl),il={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[ar,Or,ci,Hr]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[Jn,ar,Pr,Or,Dr,Fr]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[Jn,sr,Pr,Or,Dr,Fr]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[Jn,ur,Pr,Or,Dr,Fr]}},ol=!1;function al(e,t){switch(e){case Dr:return-1!==Ku.indexOf(t.keyCode);case Pr:return t.keyCode!==Zu;case Or:case Fr:case Jn:return!0;default:return!1}}function sl(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function ul(e){return"ko"===e.locale}var ll=!1;function cl(e,t,n,r){var i,o;if(Xu?i=function(e){switch(e){case sr:return il.compositionStart;case ar:return il.compositionEnd;case ur:return il.compositionUpdate}}(e):ll?al(e,n)&&(i=il.compositionEnd):function(e,t){return e===Pr&&t.keyCode===Zu}(e,n)&&(i=il.compositionStart),!i)return null;tl&&!ul(n)&&(ll||i!==il.compositionStart?i===il.compositionEnd&&ll&&(o=Uu()):ll=function(e){return Au=e,Iu=Lu(),!0}(r));var a=Gu.getPooled(i,t,n,r);if(o)a.data=o;else{var s=sl(n);null!==s&&(a.data=s)}return Du(a),a}function fl(e,t){if(ll){if(e===ar||!Xu&&al(e,t)){var n=Uu();return Au=null,Iu=null,ju=null,ll=!1,n}return null}switch(e){case Hr:return null;case Or:if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case ar:return tl&&!ul(t)?null:t.data;default:return null}}function dl(e,t,n,r){var i;if(!(i=el?function(e,t){switch(e){case ar:return sl(t);case Or:return t.which!==nl?null:(ol=!0,rl);case ci:var n=t.data;return n===rl&&ol?null:n;default:return null}}(e,n):fl(e,n)))return null;var o=Qu.getPooled(il.beforeInput,t,n,r);return o.data=i,Du(o),o}var hl={eventTypes:il,extractEvents:function(e,t,n,r,i){var o=cl(e,t,n,r),a=dl(e,t,n,r);return null===o?a:null===a?o:[o,a]}},pl={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 ml(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!pl[e.type]:"textarea"===t}var gl={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:[Jn,rr,ir,Cr,Nr,Pr,Dr,ai]}};function vl(e,t,n){var r=Yu.getPooled(gl.change,e,t,n);return r.type="change",ye(n),Du(r),r}var yl=null,bl=null;function _l(e){!function(e,t){if(Me)return e(t);Me=!0;try{Ee(e,t)}finally{Me=!1,Re()}}(wl,vl(bl,e,ro(e)))}function wl(e){no(e)}function kl(e){if(Xt(xu(e)))return e}function xl(e,t){if(e===rr)return t}var El=!1;function Sl(){yl&&(yl.detachEvent("onpropertychange",Tl),yl=null,bl=null)}function Tl(e){"value"===e.propertyName&&kl(bl)&&_l(e)}function Cl(e,t,n){e===Cr?(Sl(),function(e,t){bl=t,(yl=e).attachEvent("onpropertychange",Tl)}(t,n)):e===Jn&&Sl()}function Ml(e,t){if(e===ai||e===Dr||e===Pr)return kl(bl)}function Nl(e,t){if(e===ir)return kl(t)}function Rl(e,t){if(e===Nr||e===rr)return kl(t)}ce&&(El=io("input")&&(!document.documentMode||document.documentMode>9));var Pl={eventTypes:gl,_isInputEventSupported:El,extractEvents:function(e,t,n,r,i){var o,a,s,u,l,c,f=t?xu(t):window;if("select"===(u=(s=f).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type?o=xl:ml(f)?El?o=Rl:(o=Ml,a=Cl):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(f)&&(o=Nl),o){var d=o(e,t);if(d)return vl(d,n,r)}a&&a(e,f,t),e===Jn&&(c=(l=f)._wrapperState)&&c.controlled&&"number"===l.type&&fn(l,"number",l.value)}},Ol=Yu.extend({view:null,detail:null}),Dl={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Al(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Dl[e];return!!n&&!!t[n]}function Il(e){return Al}var jl=0,Ul=0,Ll=!1,Fl=!1,zl=Ol.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Il,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=jl;return jl=e.screenX,Ll?"mousemove"===e.type?e.screenX-t:0:(Ll=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Ul;return Ul=e.screenY,Fl?"mousemove"===e.type?e.screenY-t:0:(Fl=!0,0)}}),Bl=zl.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Wl={mouseEnter:{registrationName:"onMouseEnter",dependencies:[Br,Wr]},mouseLeave:{registrationName:"onMouseLeave",dependencies:[Br,Wr]},pointerEnter:{registrationName:"onPointerEnter",dependencies:[Zr,Xr]},pointerLeave:{registrationName:"onPointerLeave",dependencies:[Zr,Xr]}},Yl={eventTypes:Wl,extractEvents:function(e,t,n,r,i){var o,a,s,u,l,c,f,d=e===Wr||e===Xr,h=e===Br||e===Zr;if(d&&0==(i&de)&&(n.relatedTarget||n.fromElement))return null;if(!h&&!d)return null;if(r.window===r)o=r;else{var p=r.ownerDocument;o=p?p.defaultView||p.parentWindow:window}if(h){a=t;var m=n.relatedTarget||n.toElement;if(null!==(s=m?wu(m):null))(s!==Vi(s)||s.tag!==A&&s.tag!==j)&&(s=null)}else a=null,s=t;if(a===s)return null;e===Br||e===Wr?(u=zl,l=Wl.mouseLeave,c=Wl.mouseEnter,f="mouse"):e!==Zr&&e!==Xr||(u=Bl,l=Wl.pointerLeave,c=Wl.pointerEnter,f="pointer");var g=null==a?o:xu(a),v=null==s?o:xu(s),y=u.getPooled(l,a,n,r);y.type=f+"leave",y.target=g,y.relatedTarget=v;var b=u.getPooled(c,s,n,r);return b.type=f+"enter",b.target=v,b.relatedTarget=g,function(e,t,n,r){Cu(n,r,Pu,e,t)}(y,b,a,s),0==(i&he)?[y]:[y,b]}};var Hl="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Vl=Object.prototype.hasOwnProperty;function $l(e,t){if(Hl(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Vl.call(t,n[i])||!Hl(e[n[i]],t[n[i]]))return!1;return!0}var ql=ce&&"documentMode"in document&&document.documentMode<=11,Gl={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:[Jn,lr,mr,Cr,Pr,Dr,Fr,Yr,ai]}},Ql=null,Kl=null,Zl=null,Xl=!1;function Jl(e){return e.window===e?e.document:e.nodeType===Fn?e:e.ownerDocument}function ec(e,t){var n=Jl(t);if(Xl||null==Ql||Ql!==_s(n))return null;var r=function(e){if("selectionStart"in e&&Ns(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Ql);if(!Zl||!$l(Zl,r)){Zl=r;var i=Yu.getPooled(Gl.select,Kl,e,t);return i.type="select",i.target=Ql,Du(i),i}return null}var tc={eventTypes:Gl,extractEvents:function(e,t,n,r,i,o){var a=o||Jl(r);if(!a||!function(e,t){for(var n=Ei(t),r=se[e],i=0;i<r.length;i++){var o=r[i];if(!n.has(o))return!1}return!0}("onSelect",a))return null;var s=t?xu(t):window;switch(e){case Cr:(ml(s)||"true"===s.contentEditable)&&(Ql=s,Kl=t,Zl=null);break;case Jn:Ql=null,Kl=null,Zl=null;break;case Fr:Xl=!0;break;case lr:case Yr:case mr:return Xl=!1,ec(n,r);case ai:if(ql)break;case Pr:case Dr:return ec(n,r)}return null}},nc=Yu.extend({animationName:null,elapsedTime:null,pseudoElement:null}),rc=Yu.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ic=Ol.extend({relatedTarget:null});function oc(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}var ac={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sc={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"};var uc=Ol.extend({key:function(e){if(e.key){var t=ac[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=oc(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?sc[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Il,charCode:function(e){return"keypress"===e.type?oc(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?oc(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),lc=zl.extend({dataTransfer:null}),cc=Ol.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Il}),fc=Yu.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),dc=zl.extend({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:null,deltaMode:null}),hc=[Qn,nr,er,tr,or,kr,xr,Er,Sr,Tr,Nr,Rr,Ar,jr,Ur,Ir,Vr,$r,qr,ei,ti,ni,ii,oi,si,ui,li,fi,di,yi,bi],pc={eventTypes:Lo,extractEvents:function(e,t,n,r,i){var o,a=Fo.get(e);if(!a)return null;switch(e){case Or:if(0===oc(n))return null;case Pr:case Dr:o=uc;break;case Jn:case Cr:o=ic;break;case ir:if(2===n.button)return null;case hr:case dr:case Fr:case zr:case Yr:case Br:case Wr:case lr:o=zl;break;case pr:case mr:case gr:case vr:case yr:case br:case _r:case wr:o=lc;break;case hi:case pi:case mi:case gi:o=cc;break;case Kn:case Zn:case Xn:o=nc;break;case vi:o=fc;break;case ri:o=Ol;break;case _i:o=dc;break;case cr:case fr:case Hr:o=rc;break;case Mr:case Lr:case Gr:case Qr:case Kr:case Zr:case Xr:case Jr:o=Bl;break;default:-1===hc.indexOf(e)&&u("SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",e),o=Yu}var s=o.getPooled(a,t,n,r);return Du(s),s}};!function(e){if(J)throw Error("EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.");J=Array.prototype.slice.call(e),te()}(["ResponderEventPlugin","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"]),E=Eu,T=ku,(C=xu)&&T||u("EventPluginUtils.setComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode."),le({SimpleEventPlugin:pc,EnterLeaveEventPlugin:Yl,ChangeEventPlugin:Pl,SelectEventPlugin:tc,BeforeInputEventPlugin:hl});var mc="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,gc=null,vc=null,yc=null,bc=!1,_c=!1,wc=!1,kc=0,xc=0,Ec=new Set,Sc=function(e){return"⚛ "+e},Tc=function(e){performance.mark(Sc(e))},Cc=function(e,t,n){var r=Sc(t),i=function(e,t){return(t?"⛔ ":"⚛ ")+e+(t?" Warning: "+t:"")}(e,n);try{performance.measure(i,r)}catch(e){}performance.clearMarks(r),performance.clearMeasures(i)},Mc=function(e,t){return e+" (#"+t+")"},Nc=function(e,t,n){return null===n?e+" ["+(t?"update":"mount")+"]":e+"."+n},Rc=function(e,t){var n=Ot(e.type)||"Unknown",r=e._debugID,i=null!==e.alternate,o=Nc(n,i,t);if(bc&&Ec.has(o))return!1;Ec.add(o);var a=Mc(o,r);return Tc(a),!0},Pc=function(e,t){var n=Ot(e.type)||"Unknown",r=e._debugID,i=null!==e.alternate,o=Nc(n,i,t);!function(e){performance.clearMarks(Sc(e))}(Mc(o,r))},Oc=function(e,t,n){var r=Ot(e.type)||"Unknown",i=e._debugID,o=null!==e.alternate,a=Nc(r,o,t),s=Mc(a,i);Cc(a,s,n)},Dc=function(e){switch(e.tag){case O:case A:case j:case D:case U:case z:case F:case L:return!0;default:return!1}},Ac=function(){null!==vc&&null!==yc&&Pc(yc,vc),yc=null,vc=null,wc=!1},Ic=function(){for(var e=gc;e;)e._debugIsCurrentlyTiming&&Oc(e,null,null),e=e.return},jc=function(e){null!==e.return&&jc(e.return),e._debugIsCurrentlyTiming&&Rc(e,null)},Uc=function(){null!==gc&&jc(gc)};function Lc(){xc++}function Fc(e){mc&&!Dc(e)&&(gc=e,Rc(e,null)&&(e._debugIsCurrentlyTiming=!0))}function zc(e){mc&&!Dc(e)&&(e._debugIsCurrentlyTiming=!1,Pc(e,null))}function Bc(e){mc&&!Dc(e)&&(gc=e.return,e._debugIsCurrentlyTiming&&(e._debugIsCurrentlyTiming=!1,Oc(e,null,null)))}function Wc(e){if(mc&&!Dc(e)&&(gc=e.return,e._debugIsCurrentlyTiming)){e._debugIsCurrentlyTiming=!1;var t=e.tag===Y?"Rendering was suspended":"An error was thrown inside this error boundary";Oc(e,null,t)}}function Yc(e,t){mc&&(Ac(),Rc(e,t)&&(yc=e,vc=t))}function Hc(){mc&&(null!==vc&&null!==yc&&Oc(yc,vc,wc?"Scheduled a cascading update":null),vc=null,yc=null)}function Vc(e){gc=e,mc&&(kc=0,Tc("(React Tree Reconciliation)"),Uc())}function $c(e,t){if(mc){var n=null;null!==e?n=e.tag===O?"A top-level update interrupted the previous render":"An update to "+(Ot(e.type)||"Unknown")+" interrupted the previous render":kc>1&&(n="There were cascading updates"),kc=0;var r=t?"(React Tree Reconciliation: Completed Root)":"(React Tree Reconciliation: Yielded)";Ic(),Cc(r,"(React Tree Reconciliation)",n)}}function qc(){mc&&(xc=0,Tc("(Committing Snapshot Effects)"))}function Gc(){if(mc){var e=xc;xc=0,Cc("(Committing Snapshot Effects: "+e+" Total)","(Committing Snapshot Effects)",null)}}function Qc(){mc&&(xc=0,Tc("(Committing Host Effects)"))}function Kc(){if(mc){var e=xc;xc=0,Cc("(Committing Host Effects: "+e+" Total)","(Committing Host Effects)",null)}}function Zc(){mc&&(xc=0,Tc("(Calling Lifecycle Methods)"))}function Xc(){if(mc){var e=xc;xc=0,Cc("(Calling Lifecycle Methods: "+e+" Total)","(Calling Lifecycle Methods)",null)}}var Jc,ef=[];Jc=[];var tf,nf=-1;function rf(e){return{current:e}}function of(e,t){nf<0?u("Unexpected pop."):(t!==Jc[nf]&&u("Unexpected Fiber popped."),e.current=ef[nf],ef[nf]=null,Jc[nf]=null,nf--)}function af(e,t,n){ef[++nf]=e.current,Jc[nf]=n,e.current=t}tf={};var sf={};Object.freeze(sf);var uf=rf(sf),lf=rf(!1),cf=sf;function ff(e,t,n){return n&&mf(t)?cf:uf.current}function df(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function hf(e,t){var n=e.type,r=n.contextTypes;if(!r)return sf;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var a={};for(var s in r)a[s]=t[s];var u=Ot(n)||"Unknown";return i(r,a,"context",u,Ft),o&&df(e,t,a),a}function pf(){return lf.current}function mf(e){var t=e.childContextTypes;return null!=t}function gf(e){of(lf,e),of(uf,e)}function vf(e){of(lf,e),of(uf,e)}function yf(e,t,n){if(uf.current!==sf)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");af(uf,t,e),af(lf,n,e)}function bf(e,t,r){var o,a=e.stateNode,s=t.childContextTypes;if("function"!=typeof a.getChildContext){var l=Ot(t)||"Unknown";return tf[l]||(tf[l]=!0,u("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",l,l)),r}for(var c in Yc(e,"getChildContext"),o=a.getChildContext(),Hc(),o)if(!(c in s))throw Error((Ot(t)||"Unknown")+'.getChildContext(): key "'+c+'" is not defined in childContextTypes.');var f=Ot(t)||"Unknown";return i(s,o,"child context",f,Ft),n({},r,{},o)}function _f(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||sf;return cf=uf.current,af(uf,n,e),af(lf,lf.current,e),!0}function wf(e,t,n){var r=e.stateNode;if(!r)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var i=bf(e,t,cf);r.__reactInternalMemoizedMergedChildContext=i,of(lf,e),of(uf,e),af(uf,i,e),af(lf,n,e)}else of(lf,e),af(lf,n,e)}function kf(e){if(!function(e){return Vi(e)===e}(e)||e.tag!==R)throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case O:return t.stateNode.context;case R:if(mf(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var xf=0,Ef=1,Sf=2,Tf=r.unstable_runWithPriority,Cf=r.unstable_scheduleCallback,Mf=r.unstable_cancelCallback,Nf=r.unstable_shouldYield,Rf=r.unstable_requestPaint,Pf=r.unstable_now,Of=r.unstable_getCurrentPriorityLevel,Df=r.unstable_ImmediatePriority,Af=r.unstable_UserBlockingPriority,If=r.unstable_NormalPriority,jf=r.unstable_LowPriority,Uf=r.unstable_IdlePriority;if(null==o.__interactionsRef||null==o.__interactionsRef.current)throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling");var Lf={},Ff=99,zf=98,Bf=97,Wf=96,Yf=95,Hf=90,Vf=Nf,$f=void 0!==Rf?Rf:function(){},qf=null,Gf=null,Qf=!1,Kf=Pf(),Zf=Kf<1e4?Pf:function(){return Pf()-Kf};function Xf(){switch(Of()){case Df:return Ff;case Af:return zf;case If:return Bf;case jf:return Wf;case Uf:return Yf;default:throw Error("Unknown priority level.")}}function Jf(e){switch(e){case Ff:return Df;case zf:return Af;case Bf:return If;case Wf:return jf;case Yf:return Uf;default:throw Error("Unknown priority level.")}}function ed(e,t){var n=Jf(e);return Tf(n,t)}function td(e,t,n){var r=Jf(e);return Cf(r,t,n)}function nd(e){return null===qf?(qf=[e],Gf=Cf(Df,id)):qf.push(e),Lf}function rd(){if(null!==Gf){var e=Gf;Gf=null,Mf(e)}id()}function id(){if(!Qf&&null!==qf){Qf=!0;var e=0;try{var t=qf;ed(Ff,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),qf=null}catch(t){throw null!==qf&&(qf=qf.slice(e+1)),Cf(Df,rd),t}finally{Qf=!1}}}var od=0,ad=1,sd=2,ud=4,ld=8,cd=1073741823,fd=0,dd=1,hd=2,pd=3,md=cd,gd=md-1,vd=10,yd=gd-1;function bd(e){return yd-(e/vd|0)}function _d(e){return(yd-e)*vd}function wd(e,t,n){return yd-(1+((yd-e+t/vd)/(r=n/vd)|0))*r;var r}var kd=5e3,xd=250;var Ed=500,Sd=100;function Td(e){return wd(e,Ed,Sd)}function Cd(e,t){if(t===md)return Ff;if(t===dd||t===hd)return Yf;var n=_d(t)-_d(e);return n<=0?Ff:n<=Ed+Sd?zf:n<=kd+xd?Bf:Yf}var Md={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Nd=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")},Rd=[],Pd=[],Od=[],Dd=[],Ad=[],Id=[],jd=new Set;Md.recordUnsafeLifecycleWarnings=function(e,t){jd.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&Rd.push(e),e.mode&ad&&"function"==typeof t.UNSAFE_componentWillMount&&Pd.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Od.push(e),e.mode&ad&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&Dd.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Ad.push(e),e.mode&ad&&"function"==typeof t.UNSAFE_componentWillUpdate&&Id.push(e))},Md.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Rd.length>0&&(Rd.forEach(function(t){e.add(Ot(t.type)||"Component"),jd.add(t.type)}),Rd=[]);var t=new Set;Pd.length>0&&(Pd.forEach(function(e){t.add(Ot(e.type)||"Component"),jd.add(e.type)}),Pd=[]);var n=new Set;Od.length>0&&(Od.forEach(function(e){n.add(Ot(e.type)||"Component"),jd.add(e.type)}),Od=[]);var r=new Set;Dd.length>0&&(Dd.forEach(function(e){r.add(Ot(e.type)||"Component"),jd.add(e.type)}),Dd=[]);var i=new Set;Ad.length>0&&(Ad.forEach(function(e){i.add(Ot(e.type)||"Component"),jd.add(e.type)}),Ad=[]);var o=new Set;(Id.length>0&&(Id.forEach(function(e){o.add(Ot(e.type)||"Component"),jd.add(e.type)}),Id=[]),t.size>0)&&u("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",Nd(t));r.size>0&&u("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state\n\nPlease update the following components: %s",Nd(r));o.size>0&&u("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",Nd(o));e.size>0&&s("componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Nd(e));n.size>0&&s("componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Nd(n));i.size>0&&s("componentWillUpdate has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Nd(i))};var Ud=new Map,Ld=new Set;Md.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)n.mode&ad&&(t=n),n=n.return;return t}(e);if(null!==n){if(!Ld.has(e.type)){var r=Ud.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],Ud.set(n,r)),r.push(e))}}else u("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},Md.flushLegacyContextWarning=function(){Ud.forEach(function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach(function(e){r.add(Ot(e.type)||"Component"),Ld.add(e.type)}),u("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://fb.me/react-legacy-context%s",Nd(r),It(n))}})},Md.discardPendingWarnings=function(){Rd=[],Pd=[],Od=[],Dd=[],Ad=[],Id=[],Ud=new Map};var Fd=null,zd=null,Bd=function(e){Fd=e};function Wd(e){if(null===Fd)return e;var t=Fd(e);return void 0===t?e:t.current}function Yd(e){return Wd(e)}function Hd(e){if(null===Fd)return e;var t=Fd(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=Wd(e.render);if(e.render!==n){var r={$$typeof:yt,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Vd(e,t){if(null===Fd)return!1;var n=e.elementType,r=t.type,i=!1,o="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case R:"function"==typeof r&&(i=!0);break;case N:"function"==typeof r?i=!0:o===kt&&(i=!0);break;case B:o===yt?i=!0:o===kt&&(i=!0);break;case H:case V:o===wt?i=!0:o===kt&&(i=!0);break;default:return!1}if(i){var a=Fd(n);if(void 0!==a&&a===Fd(r))return!0}return!1}function $d(e){null!==Fd&&"function"==typeof WeakSet&&(null===zd&&(zd=new WeakSet),zd.add(e))}var qd=function(e,t){if(null!==Fd){var n=t.staleFamilies,r=t.updatedFamilies;eb(),Iy(function(){!function e(t,n,r){var i=t.alternate,o=t.child,a=t.sibling,s=t.tag,u=t.type,l=null;switch(s){case N:case V:case R:l=u;break;case B:l=u.render}if(null===Fd)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,f=!1;if(null!==l){var d=Fd(l);void 0!==d&&(r.has(d)?f=!0:n.has(d)&&(s===R?f=!0:c=!0))}null!==zd&&(zd.has(t)||null!==i&&zd.has(i))&&(f=!0),f&&(t._debugNeedsRemount=!0),(f||c)&&My(t,md),null===o||f||e(o,n,r),null!==a&&e(a,n,r)}(e.current,r,n)})}},Gd=function(e,t){var n,r,i;e.context===sf&&(eb(),ed(Ff,function(){Jb(t,e,null,null)}.bind(null,n,r,i)))};var Qd=function(e,t){var n=new Set,r=new Set(t.map(function(e){return e.current}));return function e(t,n,r){var i=t.child,o=t.sibling,a=t.tag,s=t.type,u=null;switch(a){case N:case V:case R:u=s;break;case B:u=s.render}var l=!1;null!==u&&n.has(u)&&(l=!0),l?function(e,t){if(function(e,t){var n=e,r=!1;for(;;){if(n.tag===A)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t))return;var n=e;for(;;){switch(n.tag){case A:return void t.add(n.stateNode);case D:case O:return void t.add(n.stateNode.containerInfo)}if(null===n.return)throw new Error("Expected to reach root first.");n=n.return}}(t,r):null!==i&&e(i,n,r),null!==o&&e(o,n,r)}(e.current,r,n),n};function Kd(e,t){if(e&&e.defaultProps){var r=n({},t),i=e.defaultProps;for(var o in i)void 0===r[o]&&(r[o]=i[o]);return r}return t}function Zd(e){if(function(e){if(e._status===Ct){e._status=Mt;var t=(0,e._ctor)();e._result=t,t.then(function(t){if(e._status===Mt){var n=t.default;void 0===n&&u("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t),e._status=Nt,e._result=n}},function(t){e._status===Mt&&(e._status=Rt,e._result=t)})}}(e),e._status!==Nt)throw e._result;return e._result}var Xd,Jd=rf(null);Xd={};var eh=null,th=null,nh=null,rh=!1;function ih(){eh=null,th=null,nh=null,rh=!1}function oh(){rh=!0}function ah(){rh=!1}function sh(e,t){var n=e.type._context;af(Jd,n._currentValue,e),n._currentValue=t,void 0!==n._currentRenderer&&null!==n._currentRenderer&&n._currentRenderer!==Xd&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=Xd}function uh(e){var t=Jd.current;of(Jd,e),e.type._context._currentValue=t}function lh(e,t){for(var n=e;null!==n;){var r=n.alternate;if(n.childExpirationTime<t)n.childExpirationTime=t,null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t);else{if(!(null!==r&&r.childExpirationTime<t))break;r.childExpirationTime=t}n=n.return}}function ch(e,t){eh=e,th=null,nh=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(n.expirationTime>=t&&Kg(),n.firstContext=null))}function fh(e,t){if(rh&&u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),nh===e);else if(!1===t||0===t);else{var n;"number"!=typeof t||t===cd?(nh=e,n=cd):n=t;var r={context:e,observedBits:n,next:null};if(null===th){if(null===eh)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");th=r,eh.dependencies={expirationTime:fd,firstContext:r,responders:null}}else th=th.next=r}return e._currentValue}var dh,hh,ph=0,mh=1,gh=2,vh=3,yh=!1;function bh(e){var t={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null};e.updateQueue=t}function _h(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var i={baseState:r.baseState,baseQueue:r.baseQueue,shared:r.shared,effects:r.effects};t.updateQueue=i}}function wh(e,t){var n={expirationTime:e,suspenseConfig:t,tag:ph,payload:null,callback:null,next:null};return n.next=n,n.priority=Xf(),n}function kh(e,t){var n=e.updateQueue;if(null!==n){var r=n.shared,i=r.pending;null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,hh!==r||dh||(u("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),dh=!0)}}function xh(e,t){var n=e.alternate;null!==n&&_h(n,e);var r=e.updateQueue,i=r.baseQueue;null===i?(r.baseQueue=t.next=t,t.next=t):(t.next=i.next,i.next=t)}function Eh(e,t,r,i,o,a){switch(r.tag){case mh:var s=r.payload;if("function"==typeof s){oh(),e.mode&ad&&s.call(a,i,o);var u=s.call(a,i,o);return ah(),u}return s;case vh:e.effectTag=e.effectTag&~Yi|Ai;case ph:var l,c=r.payload;return"function"==typeof c?(oh(),e.mode&ad&&c.call(a,i,o),l=c.call(a,i,o),ah()):l=c,null==l?i:n({},i,l);case gh:return yh=!0,i}return i}function Sh(e,t,n,r){var i=e.updateQueue;yh=!1,hh=i.shared;var o=i.baseQueue,a=i.shared.pending;if(null!==a){if(null!==o){var s=o.next,u=a.next;o.next=u,a.next=s}o=a,i.shared.pending=null;var l=e.alternate;if(null!==l){var c=l.updateQueue;null!==c&&(c.baseQueue=a)}}if(null!==o){var f=o.next,d=i.baseState,h=fd,p=null,m=null,g=null;if(null!==f)for(var v=f;;){var y=v.expirationTime;if(y<r){var b={expirationTime:v.expirationTime,suspenseConfig:v.suspenseConfig,tag:v.tag,payload:v.payload,callback:v.callback,next:null};null===g?(m=g=b,p=d):g=g.next=b,y>h&&(h=y)}else{if(null!==g){var _={expirationTime:md,suspenseConfig:v.suspenseConfig,tag:v.tag,payload:v.payload,callback:v.callback,next:null};g=g.next=_}if(Wy(y,v.suspenseConfig),d=Eh(e,0,v,d,t,n),null!==v.callback){e.effectTag|=Di;var w=i.effects;null===w?i.effects=[v]:w.push(v)}}if(null===(v=v.next)||v===f){if(null===(a=i.shared.pending))break;v=o.next=a.next,a.next=f,i.baseQueue=o=a,i.shared.pending=null}}null===g?p=d:g.next=m,i.baseState=p,i.baseQueue=g,Yy(h),e.expirationTime=h,e.memoizedState=d}hh=null}function Th(e,t){if("function"!=typeof e)throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Ch(){yh=!1}function Mh(){return yh}function Nh(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var i=0;i<r.length;i++){var o=r[i],a=o.callback;null!==a&&(o.callback=null,Th(a,n))}}dh=!1,hh=null;var Rh=a.ReactCurrentBatchConfig;function Ph(){return Rh.suspense}var Oh,Dh,Ah,Ih,jh,Uh,Lh,Fh,zh,Bh,Wh={},Yh=Array.isArray,Hh=(new e.Component).refs;Oh=new Set,Dh=new Set,Ah=new Set,Ih=new Set,Fh=new Set,jh=new Set,zh=new Set,Bh=new Set;var Vh=new Set;function $h(e,t,r,i){var o=e.memoizedState;e.mode&ad&&r(i,o);var a=r(i,o);Uh(t,a);var s=null==a?o:n({},o,a);(e.memoizedState=s,e.expirationTime===fd)&&(e.updateQueue.baseState=s)}Lh=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;Vh.has(n)||(Vh.add(n),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Uh=function(e,t){if(void 0===t){var n=Ot(e)||"Component";jh.has(n)||(jh.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Wh,"_processChildContext",{enumerable:!1,value:function(){throw Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Wh);var qh,Gh,Qh,Kh,Zh,Xh={isMounted:function(e){var t=Hi.current;if(null!==t&&t.tag===R){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||u("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ot(n.type)||"A component"),r._warnedAboutRefsInRender=!0}var i=Si(e);return!!i&&Vi(i)===i},enqueueSetState:function(e,t,n){var r=Si(e),i=Ty(),o=Ph(),a=Cy(i,r,o),s=wh(a,o);s.payload=t,null!=n&&(Lh(n,"setState"),s.callback=n),kh(r,s),My(r,a)},enqueueReplaceState:function(e,t,n){var r=Si(e),i=Ty(),o=Ph(),a=Cy(i,r,o),s=wh(a,o);s.tag=mh,s.payload=t,null!=n&&(Lh(n,"replaceState"),s.callback=n),kh(r,s),My(r,a)},enqueueForceUpdate:function(e,t){var n=Si(e),r=Ty(),i=Ph(),o=Cy(r,n,i),a=wh(o,i);a.tag=gh,null!=t&&(Lh(t,"forceUpdate"),a.callback=t),kh(n,a),My(n,o)}};function Jh(e,t,n,r,i,o,a){var s=e.stateNode;if("function"==typeof s.shouldComponentUpdate){e.mode&ad&&s.shouldComponentUpdate(r,o,a),Yc(e,"shouldComponentUpdate");var l=s.shouldComponentUpdate(r,o,a);return Hc(),void 0===l&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ot(t)||"Component"),l}return!t.prototype||!t.prototype.isPureReactComponent||(!$l(n,r)||!$l(i,o))}function ep(e,t){var n;t.updater=Xh,e.stateNode=t,n=e,t._reactInternalFiber=n,t._reactInternalInstance=Wh}function tp(e,t,n){var r=!1,i=sf,o=sf,a=t.contextType;if("contextType"in t&&(!(null===a||void 0!==a&&a.$$typeof===gt&&void 0===a._context)&&!Bh.has(t))){Bh.add(t);var s="";s=void 0===a?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof a?" However, it is set to a "+typeof a+".":a.$$typeof===mt?" Did you accidentally pass the Context.Provider instead?":void 0!==a._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(a).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ot(t)||"Component",s)}if("object"==typeof a&&null!==a)o=fh(a);else{i=ff(0,t,!0);var l=t.contextTypes;o=(r=null!=l)?hf(e,i):sf}e.mode&ad&&new t(n,o);var c=new t(n,o),f=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(ep(e,c),"function"==typeof t.getDerivedStateFromProps&&null===f){var d=Ot(t)||"Component";Dh.has(d)||(Dh.add(d),u("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",d,null===c.state?"null":"undefined",d))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var h=null,p=null,m=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?h="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(h="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?p="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(p="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?m="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(m="UNSAFE_componentWillUpdate"),null!==h||null!==p||null!==m){var g=Ot(t)||"Component",v="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ih.has(g)||(Ih.add(g),u("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-unsafe-component-lifecycles",g,v,null!==h?"\n "+h:"",null!==p?"\n "+p:"",null!==m?"\n "+m:""))}}return r&&df(e,i,o),c}function np(e,t,n,r){var i=t.state;if(Yc(e,"componentWillReceiveProps"),"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),Hc(),t.state!==i){var o=Ot(e.type)||"Component";Oh.has(o)||(Oh.add(o),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",o)),Xh.enqueueReplaceState(t,t.state,null)}}function rp(e,t,n,r){!function(e,t,n){var r=e.stateNode,i=Ot(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",i):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",i)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||u("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",i),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&u("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",i),r.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",i),r.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",i),r.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",i),t.contextType&&t.contextTypes&&!zh.has(t)&&(zh.add(t),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",i)),"function"==typeof r.componentShouldUpdate&&u("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",i),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Ot(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",i),"function"==typeof r.componentDidReceiveProps&&u("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",i),"function"==typeof r.componentWillRecieveProps&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",i),"function"==typeof r.UNSAFE_componentWillRecieveProps&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",i);var o=r.props!==n;void 0!==r.props&&o&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",i,i),r.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",i,i),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||Ah.has(t)||(Ah.add(t),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ot(t))),"function"==typeof r.getDerivedStateFromProps&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",i),"function"==typeof r.getDerivedStateFromError&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",i),"function"==typeof t.getSnapshotBeforeUpdate&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",i);var a=r.state;a&&("object"!=typeof a||Yh(a))&&u("%s.state: must be set to an object or null",i),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",i)}(e,t,n);var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Hh,bh(e);var o=t.contextType;if("object"==typeof o&&null!==o)i.context=fh(o);else{var a=ff(0,t,!0);i.context=hf(e,a)}if(i.state===n){var s=Ot(t)||"Component";Fh.has(s)||(Fh.add(s),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))}e.mode&ad&&Md.recordLegacyContextWarning(e,i),Md.recordUnsafeLifecycleWarnings(e,i),Sh(e,n,i,r),i.state=e.memoizedState;var l=t.getDerivedStateFromProps;"function"==typeof l&&($h(e,t,l,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(!function(e,t){Yc(e,"componentWillMount");var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),Hc(),n!==t.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ot(e.type)||"Component"),Xh.enqueueReplaceState(t,t.state,null))}(e,i),Sh(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=Ni)}var ip=function(e){};qh=!1,Gh=!1,Qh={},Kh={},Zh={},ip=function(e){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var t='Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'+Ft();Kh[t]||(Kh[t]=!0,u('Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'))}};var op=Array.isArray;function ap(e,t,n){var r=n.ref;if(null!==r&&"function"!=typeof r&&"object"!=typeof r){if((e.mode&ad||xe)&&(!n._owner||!n._self||n._owner.stateNode===n._self)){var i=Ot(e.type)||"Component";Qh[i]||(u('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref%s',r,It(e)),Qh[i]=!0)}if(n._owner){var o,a=n._owner;if(a){var s=a;if(s.tag!==R)throw Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref");o=s.stateNode}if(!o)throw Error("Missing owner for string ref "+r+". This error is likely caused by a bug in React. Please file an issue.");var l=""+r;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===l)return t.ref;var c=function(e){var t=o.refs;t===Hh&&(t=o.refs={}),null===e?delete t[l]:t[l]=e};return c._stringRef=l,c}if("string"!=typeof r)throw Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw Error("Element ref was specified as a string ("+r+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://fb.me/react-refs-must-have-owner for more information.")}return r}function sp(e,t){if("textarea"!==e.type){var n;throw n=" If you meant to render a collection of children, use an array instead."+Ft(),Error("Objects are not valid as a React child (found: "+("[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t)+")."+n)}}function up(){var e="Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."+Ft();Zh[e]||(Zh[e]=!0,u("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function lp(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=Pi}}function n(n,r){if(!e)return null;for(var i=r;null!==i;)t(n,i),i=i.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function i(e,t){var n=Fb(e,t);return n.index=0,n.sibling=null,n}function o(t,n,r){if(t.index=r,!e)return n;var i=t.alternate;if(null!==i){var o=i.index;return o<n?(t.effectTag=Mi,n):o}return t.effectTag=Mi,n}function a(t){return e&&null===t.alternate&&(t.effectTag=Mi),t}function s(e,t,n,r){if(null===t||t.tag!==j){var o=Hb(n,e.mode,r);return o.return=e,o}var a=i(t,n);return a.return=e,a}function l(e,t,n,r){if(null!==t&&(t.elementType===n.type||Vd(t,n))){var o=i(t,n.props);return o.ref=ap(e,t,n),o.return=e,o._debugSource=n._source,o._debugOwner=n._owner,o}var a=Wb(n,e.mode,r);return a.ref=ap(e,t,n),a.return=e,a}function c(e,t,n,r){if(null===t||t.tag!==D||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var o=Vb(n,e.mode,r);return o.return=e,o}var a=i(t,n.children||[]);return a.return=e,a}function f(e,t,n,r,o){if(null===t||t.tag!==U){var a=Yb(n,e.mode,r,o);return a.return=e,a}var s=i(t,n);return s.return=e,s}function d(e,t,n){if("string"==typeof t||"number"==typeof t){var r=Hb(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case ct:var i=Wb(t,e.mode,n);return i.ref=ap(e,null,t),i.return=e,i;case ft:var o=Vb(t,e.mode,n);return o.return=e,o}if(op(t)||Tt(t)){var a=Yb(t,e.mode,n,null);return a.return=e,a}sp(e,t)}return"function"==typeof t&&up(),null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ct:return n.key===i?n.type===dt?f(e,t,n.props.children,r,i):l(e,t,n,r):null;case ft:return n.key===i?c(e,t,n,r):null}if(op(n)||Tt(n))return null!==i?null:f(e,t,n,r,null);sp(e,n)}return"function"==typeof n&&up(),null}function p(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return s(t,e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ct:var o=e.get(null===r.key?n:r.key)||null;return r.type===dt?f(t,o,r.props.children,i,r.key):l(t,o,r,i);case ft:return c(t,e.get(null===r.key?n:r.key)||null,r,i)}if(op(r)||Tt(r))return f(t,e.get(n)||null,r,i,null);sp(t,r)}return"function"==typeof r&&up(),null}function m(e,t){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case ct:case ft:ip(e);var n=e.key;if("string"!=typeof n)break;if(null===t){(t=new Set).add(n);break}if(!t.has(n)){t.add(n);break}u("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",n)}return t}return function(s,l,c,f){var g="object"==typeof c&&null!==c&&c.type===dt&&null===c.key;g&&(c=c.props.children);var v="object"==typeof c&&null!==c;if(v)switch(c.$$typeof){case ct:return a(function(e,r,o,a){for(var s=o.key,u=r;null!==u;){if(u.key===s){switch(u.tag){case U:if(o.type===dt){n(e,u.sibling);var l=i(u,o.props.children);return l.return=e,l._debugSource=o._source,l._debugOwner=o._owner,l}break;case X:default:if(u.elementType===o.type||Vd(u,o)){n(e,u.sibling);var c=i(u,o.props);return c.ref=ap(e,u,o),c.return=e,c._debugSource=o._source,c._debugOwner=o._owner,c}}n(e,u);break}t(e,u),u=u.sibling}if(o.type===dt){var f=Yb(o.props.children,e.mode,a,o.key);return f.return=e,f}var d=Wb(o,e.mode,a);return d.ref=ap(e,r,o),d.return=e,d}(s,l,c,f));case ft:return a(function(e,r,o,a){for(var s=o.key,u=r;null!==u;){if(u.key===s){if(u.tag===D&&u.stateNode.containerInfo===o.containerInfo&&u.stateNode.implementation===o.implementation){n(e,u.sibling);var l=i(u,o.children||[]);return l.return=e,l}n(e,u);break}t(e,u),u=u.sibling}var c=Vb(o,e.mode,a);return c.return=e,c}(s,l,c,f))}if("string"==typeof c||"number"==typeof c)return a(function(e,t,r,o){if(null!==t&&t.tag===j){n(e,t.sibling);var a=i(t,r);return a.return=e,a}n(e,t);var s=Hb(r,e.mode,o);return s.return=e,s}(s,l,""+c,f));if(op(c))return function(i,a,s,u){for(var l=null,c=0;c<s.length;c++)l=m(s[c],l);for(var f=null,g=null,v=a,y=0,b=0,_=null;null!==v&&b<s.length;b++){v.index>b?(_=v,v=null):_=v.sibling;var w=h(i,v,s[b],u);if(null===w){null===v&&(v=_);break}e&&v&&null===w.alternate&&t(i,v),y=o(w,y,b),null===g?f=w:g.sibling=w,g=w,v=_}if(b===s.length)return n(i,v),f;if(null===v){for(;b<s.length;b++){var k=d(i,s[b],u);null!==k&&(y=o(k,y,b),null===g?f=k:g.sibling=k,g=k)}return f}for(var x=r(0,v);b<s.length;b++){var E=p(x,i,b,s[b],u);null!==E&&(e&&null!==E.alternate&&x.delete(null===E.key?b:E.key),y=o(E,y,b),null===g?f=E:g.sibling=E,g=E)}return e&&x.forEach(function(e){return t(i,e)}),f}(s,l,c,f);if(Tt(c))return function(i,a,s,l){var c=Tt(s);if("function"!=typeof c)throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===s[Symbol.toStringTag]&&(Gh||u("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Gh=!0),s.entries===c&&(qh||u("Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead."),qh=!0);var f=c.call(s);if(f)for(var g=null,v=f.next();!v.done;v=f.next())g=m(v.value,g);var y=c.call(s);if(null==y)throw Error("An iterable object provided no iterator.");for(var b=null,_=null,w=a,k=0,x=0,E=null,S=y.next();null!==w&&!S.done;x++,S=y.next()){w.index>x?(E=w,w=null):E=w.sibling;var T=h(i,w,S.value,l);if(null===T){null===w&&(w=E);break}e&&w&&null===T.alternate&&t(i,w),k=o(T,k,x),null===_?b=T:_.sibling=T,_=T,w=E}if(S.done)return n(i,w),b;if(null===w){for(;!S.done;x++,S=y.next()){var C=d(i,S.value,l);null!==C&&(k=o(C,k,x),null===_?b=C:_.sibling=C,_=C)}return b}for(var M=r(0,w);!S.done;x++,S=y.next()){var N=p(M,i,x,S.value,l);null!==N&&(e&&null!==N.alternate&&M.delete(null===N.key?x:N.key),k=o(N,k,x),null===_?b=N:_.sibling=N,_=N)}return e&&M.forEach(function(e){return t(i,e)}),b}(s,l,c,f);if(v&&sp(s,c),"function"==typeof c&&up(),void 0===c&&!g)switch(s.tag){case R:if(s.stateNode.render._isMockFunction)break;case N:var y=s.type;throw Error((y.displayName||y.name||"Component")+"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.")}return n(s,l)}}var cp=lp(!0),fp=lp(!1);function dp(e,t){for(var n=e.child;null!==n;)zb(n,t),n=n.sibling}var hp={},pp=rf(hp),mp=rf(hp),gp=rf(hp);function vp(e){if(e===hp)throw Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function yp(){return vp(gp.current)}function bp(e,t){af(gp,t,e),af(mp,e,e),af(pp,hp,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case Fn:case zn:t=r===Fn?"#document":"#fragment";var i=e.documentElement;n=i?i.namespaceURI:On(null,"");break;default:var o=r===Ln?e.parentNode:e;n=On(o.namespaceURI||null,t=o.tagName)}var a=t.toLowerCase();return{namespace:n,ancestorInfo:Os(null,a)}}(t);of(pp,e),af(pp,n,e)}function _p(e){of(pp,e),of(mp,e),of(gp,e)}function wp(){return vp(pp.current)}function kp(e){vp(gp.current);var t,n,r,i=vp(pp.current),o=(t=i,n=e.type,{namespace:On((r=t).namespace,n),ancestorInfo:Os(r.ancestorInfo,n)});i!==o&&(af(mp,e,e),af(pp,o,e))}function xp(e){mp.current===e&&(of(pp,e),of(mp,e))}var Ep=1,Sp=1,Tp=2,Cp=rf(0);function Mp(e,t){return 0!=(e&t)}function Np(e){return e&Ep}function Rp(e,t){return e&Ep|t}function Pp(e,t){af(Cp,t,e)}function Op(e){of(Cp,e)}function Dp(e,t){var n=e.memoizedState;if(null!==n)return null!==n.dehydrated;var r=e.memoizedProps;return void 0!==r.fallback&&(!0!==r.unstable_avoidThisFallback||!t)}function Ap(e){for(var t=e;null!==t;){if(t.tag===Y){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||r.data===Ws||uu(r))return t}}else if(t.tag===Q&&void 0!==t.memoizedProps.revealOrder){if((t.effectTag&Ai)!==Ti)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ip(e,t){var n={responder:e,props:t};return Object.freeze(n),n}var jp,Up=1,Lp=2,Fp=4,zp=a.ReactCurrentDispatcher,Bp=a.ReactCurrentBatchConfig;jp=new Set;var Wp=fd,Yp=null,Hp=null,Vp=null,$p=!1,qp=25,Gp=null,Qp=null,Kp=-1,Zp=!1;function Xp(){var e=Gp;null===Qp?Qp=[e]:Qp.push(e)}function Jp(){var e=Gp;null!==Qp&&Qp[++Kp]!==e&&function(e){var t=Ot(Yp.type);if(!jp.has(t)&&(jp.add(t),null!==Qp)){for(var n="",r=0;r<=Kp;r++){for(var i=Qp[r],o=r===Kp?e:i,a=r+1+". "+i;a.length<30;)a+=" ";n+=a+=o+"\n"}u("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://fb.me/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e)}function em(e){null==e||Array.isArray(e)||u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Gp,typeof e)}function tm(){throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.")}function nm(e,t){if(Zp)return!1;if(null===t)return u("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Gp),!1;e.length!==t.length&&u("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",Gp,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Hl(e[n],t[n]))return!1;return!0}function rm(e,t,n,r,i,o){Wp=o,Yp=t,Qp=null!==e?e._debugHookTypes:null,Kp=-1,Zp=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.expirationTime=fd,null!==e&&null!==e.memoizedState?zp.current=Hm:zp.current=null!==Qp?Ym:Wm;var a=n(r,i);if(t.expirationTime===Wp){var s=0;do{if(t.expirationTime=fd,!(s<qp))throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");s+=1,Zp=!1,Hp=null,Vp=null,t.updateQueue=null,Kp=-1,zp.current=Vm,a=n(r,i)}while(t.expirationTime===Wp)}zp.current=Bm,t._debugHookTypes=Qp;var u=null!==Hp&&null!==Hp.next;if(Wp=fd,Yp=null,Hp=null,Vp=null,Gp=null,Qp=null,Kp=-1,$p=!1,u)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return a}function im(e,t,n){t.updateQueue=e.updateQueue,t.effectTag&=~(Ui|Ni),e.expirationTime<=n&&(e.expirationTime=fd)}function om(){if(zp.current=Bm,$p)for(var e=Yp.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Wp=fd,Yp=null,Hp=null,Vp=null,Qp=null,Kp=-1,Gp=null,$p=!1}function am(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Vp?Yp.memoizedState=Vp=e:Vp=Vp.next=e,Vp}function sm(){var e,t;if(null===Hp){var n=Yp.alternate;e=null!==n?n.memoizedState:null}else e=Hp.next;if(null!==(t=null===Vp?Yp.memoizedState:Vp.next))t=(Vp=t).next,Hp=e;else{if(null===e)throw Error("Rendered more hooks than during the previous render.");var r={memoizedState:(Hp=e).memoizedState,baseState:Hp.baseState,baseQueue:Hp.baseQueue,queue:Hp.queue,next:null};null===Vp?Yp.memoizedState=Vp=r:Vp=Vp.next=r}return Vp}function um(e,t){return"function"==typeof t?t(e):t}function lm(e,t,n){var r,i=am();r=void 0!==n?n(t):t,i.memoizedState=i.baseState=r;var o=i.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a=o.dispatch=zm.bind(null,Yp,o);return[i.memoizedState,a]}function cm(e,t,n){var r=sm(),i=r.queue;if(null===i)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");i.lastRenderedReducer=e;var o=Hp,a=o.baseQueue,s=i.pending;if(null!==s){if(null!==a){var u=a.next,l=s.next;a.next=l,s.next=u}o.baseQueue=a=s,i.pending=null}if(null!==a){var c=a.next,f=o.baseState,d=null,h=null,p=null,m=c;do{var g=m.expirationTime;if(g<Wp){var v={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,action:m.action,eagerReducer:m.eagerReducer,eagerState:m.eagerState,next:null};null===p?(h=p=v,d=f):p=p.next=v,g>Yp.expirationTime&&(Yp.expirationTime=g,Yy(g))}else{if(null!==p){var y={expirationTime:md,suspenseConfig:m.suspenseConfig,action:m.action,eagerReducer:m.eagerReducer,eagerState:m.eagerState,next:null};p=p.next=y}if(Wy(g,m.suspenseConfig),m.eagerReducer===e)f=m.eagerState;else f=e(f,m.action)}m=m.next}while(null!==m&&m!==c);null===p?d=f:p.next=h,Hl(f,r.memoizedState)||Kg(),r.memoizedState=f,r.baseState=d,r.baseQueue=p,i.lastRenderedState=f}var b=i.dispatch;return[r.memoizedState,b]}function fm(e,t,n){var r=sm(),i=r.queue;if(null===i)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");i.lastRenderedReducer=e;var o=i.dispatch,a=i.pending,s=r.memoizedState;if(null!==a){i.pending=null;var u=a.next,l=u;do{s=e(s,l.action),l=l.next}while(l!==u);Hl(s,r.memoizedState)||Kg(),r.memoizedState=s,null===r.baseQueue&&(r.baseState=s),i.lastRenderedState=s}return[s,o]}function dm(e){var t=am();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n=t.queue={pending:null,dispatch:null,lastRenderedReducer:um,lastRenderedState:e},r=n.dispatch=zm.bind(null,Yp,n);return[t.memoizedState,r]}function hm(e){return cm(um)}function pm(e){return fm(um)}function mm(e,t,n,r){var i={tag:e,create:t,destroy:n,deps:r,next:null},o=Yp.updateQueue;if(null===o)o={lastEffect:null},Yp.updateQueue=o,o.lastEffect=i.next=i;else{var a=o.lastEffect;if(null===a)o.lastEffect=i.next=i;else{var s=a.next;a.next=i,i.next=s,o.lastEffect=i}}return i}function gm(e){var t=am(),n={current:e};return Object.seal(n),t.memoizedState=n,n}function vm(e){return sm().memoizedState}function ym(e,t,n,r){var i=am(),o=void 0===r?null:r;Yp.effectTag|=e,i.memoizedState=mm(Up|t,n,void 0,o)}function bm(e,t,n,r){var i=sm(),o=void 0===r?null:r,a=void 0;if(null!==Hp){var s=Hp.memoizedState;if(a=s.destroy,null!==o)if(nm(o,s.deps))return void mm(t,n,a,o)}Yp.effectTag|=e,i.memoizedState=mm(Up|t,n,a,o)}function _m(e,t){return"undefined"!=typeof jest&&pb(Yp),ym(Ni|Ui,Fp,e,t)}function wm(e,t){return"undefined"!=typeof jest&&pb(Yp),bm(Ni|Ui,Fp,e,t)}function km(e,t){return ym(Ni,Lp,e,t)}function xm(e,t){return bm(Ni,Lp,e,t)}function Em(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var i=t;i.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(i).join(", ")+"}");var o=e();return i.current=o,function(){i.current=null}}}function Sm(e,t,n){"function"!=typeof t&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return ym(Ni,Lp,Em.bind(null,t,e),r)}function Tm(e,t,n){"function"!=typeof t&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return bm(Ni,Lp,Em.bind(null,t,e),r)}function Cm(e,t){}var Mm=Cm;function Nm(e,t){var n=void 0===t?null:t;return am().memoizedState=[e,n],e}function Rm(e,t){var n=sm(),r=void 0===t?null:t,i=n.memoizedState;if(null!==i&&(null!==r&&nm(r,i[1])))return i[0];return n.memoizedState=[e,r],e}function Pm(e,t){var n=am(),r=void 0===t?null:t,i=e();return n.memoizedState=[i,r],i}function Om(e,t){var n=sm(),r=void 0===t?null:t,i=n.memoizedState;if(null!==i&&(null!==r&&nm(r,i[1])))return i[0];var o=e();return n.memoizedState=[o,r],o}function Dm(e,t){var n=dm(e),r=n[0],i=n[1];return _m(function(){var n=Bp.suspense;Bp.suspense=void 0===t?null:t;try{i(e)}finally{Bp.suspense=n}},[e,t]),r}function Am(e,t){var n=hm(),r=n[0],i=n[1];return wm(function(){var n=Bp.suspense;Bp.suspense=void 0===t?null:t;try{i(e)}finally{Bp.suspense=n}},[e,t]),r}function Im(e,t){var n=pm(),r=n[0],i=n[1];return wm(function(){var n=Bp.suspense;Bp.suspense=void 0===t?null:t;try{i(e)}finally{Bp.suspense=n}},[e,t]),r}function jm(e,t,n){var r=Xf();ed(r<zf?zf:r,function(){e(!0)}),ed(r>Bf?Bf:r,function(){var r=Bp.suspense;Bp.suspense=void 0===t?null:t;try{e(!1),n()}finally{Bp.suspense=r}})}function Um(e){var t=dm(!1),n=t[0],r=t[1];return[Nm(jm.bind(null,r,e),[r,e]),n]}function Lm(e){var t=hm(),n=t[0],r=t[1];return[Rm(jm.bind(null,r,e),[r,e]),n]}function Fm(e){var t=pm(),n=t[0],r=t[1];return[Rm(jm.bind(null,r,e),[r,e]),n]}function zm(e,t,n){"function"==typeof arguments[3]&&u("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Ty(),i=Ph(),o=Cy(r,e,i),a={expirationTime:o,suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};a.priority=Xf();var s=t.pending;null===s?a.next=a:(a.next=s.next,s.next=a),t.pending=a;var l=e.alternate;if(e===Yp||null!==l&&l===Yp)$p=!0,a.expirationTime=Wp,Yp.expirationTime=Wp;else{if(e.expirationTime===fd&&(null===l||l.expirationTime===fd)){var c=t.lastRenderedReducer;if(null!==c){var f;f=zp.current,zp.current=qm;try{var d=t.lastRenderedState,h=c(d,n);if(a.eagerReducer=c,a.eagerState=h,Hl(h,d))return}catch(e){}finally{zp.current=f}}}"undefined"!=typeof jest&&(hb(e),mb(e)),My(e,o)}}var Bm={readContext:fh,useCallback:tm,useContext:tm,useEffect:tm,useImperativeHandle:tm,useLayoutEffect:tm,useMemo:tm,useReducer:tm,useRef:tm,useState:tm,useDebugValue:tm,useResponder:tm,useDeferredValue:tm,useTransition:tm},Wm=null,Ym=null,Hm=null,Vm=null,$m=null,qm=null,Gm=null,Qm=function(){u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Km=function(){u("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://fb.me/rules-of-hooks")};Wm={readContext:function(e,t){return fh(e,t)},useCallback:function(e,t){return Gp="useCallback",Xp(),em(t),Nm(e,t)},useContext:function(e,t){return Gp="useContext",Xp(),fh(e,t)},useEffect:function(e,t){return Gp="useEffect",Xp(),em(t),_m(e,t)},useImperativeHandle:function(e,t,n){return Gp="useImperativeHandle",Xp(),em(n),Sm(e,t,n)},useLayoutEffect:function(e,t){return Gp="useLayoutEffect",Xp(),em(t),km(e,t)},useMemo:function(e,t){Gp="useMemo",Xp(),em(t);var n=zp.current;zp.current=$m;try{return Pm(e,t)}finally{zp.current=n}},useReducer:function(e,t,n){Gp="useReducer",Xp();var r=zp.current;zp.current=$m;try{return lm(e,t,n)}finally{zp.current=r}},useRef:function(e){return Gp="useRef",Xp(),gm(e)},useState:function(e){Gp="useState",Xp();var t=zp.current;zp.current=$m;try{return dm(e)}finally{zp.current=t}},useDebugValue:function(e,t){Gp="useDebugValue",Xp()},useResponder:function(e,t){return Gp="useResponder",Xp(),Ip(e,t)},useDeferredValue:function(e,t){return Gp="useDeferredValue",Xp(),Dm(e,t)},useTransition:function(e){return Gp="useTransition",Xp(),Um(e)}},Ym={readContext:function(e,t){return fh(e,t)},useCallback:function(e,t){return Gp="useCallback",Jp(),Nm(e,t)},useContext:function(e,t){return Gp="useContext",Jp(),fh(e,t)},useEffect:function(e,t){return Gp="useEffect",Jp(),_m(e,t)},useImperativeHandle:function(e,t,n){return Gp="useImperativeHandle",Jp(),Sm(e,t,n)},useLayoutEffect:function(e,t){return Gp="useLayoutEffect",Jp(),km(e,t)},useMemo:function(e,t){Gp="useMemo",Jp();var n=zp.current;zp.current=$m;try{return Pm(e,t)}finally{zp.current=n}},useReducer:function(e,t,n){Gp="useReducer",Jp();var r=zp.current;zp.current=$m;try{return lm(e,t,n)}finally{zp.current=r}},useRef:function(e){return Gp="useRef",Jp(),gm(e)},useState:function(e){Gp="useState",Jp();var t=zp.current;zp.current=$m;try{return dm(e)}finally{zp.current=t}},useDebugValue:function(e,t){Gp="useDebugValue",Jp()},useResponder:function(e,t){return Gp="useResponder",Jp(),Ip(e,t)},useDeferredValue:function(e,t){return Gp="useDeferredValue",Jp(),Dm(e,t)},useTransition:function(e){return Gp="useTransition",Jp(),Um(e)}},Hm={readContext:function(e,t){return fh(e,t)},useCallback:function(e,t){return Gp="useCallback",Jp(),Rm(e,t)},useContext:function(e,t){return Gp="useContext",Jp(),fh(e,t)},useEffect:function(e,t){return Gp="useEffect",Jp(),wm(e,t)},useImperativeHandle:function(e,t,n){return Gp="useImperativeHandle",Jp(),Tm(e,t,n)},useLayoutEffect:function(e,t){return Gp="useLayoutEffect",Jp(),xm(e,t)},useMemo:function(e,t){Gp="useMemo",Jp();var n=zp.current;zp.current=qm;try{return Om(e,t)}finally{zp.current=n}},useReducer:function(e,t,n){Gp="useReducer",Jp();var r=zp.current;zp.current=qm;try{return cm(e)}finally{zp.current=r}},useRef:function(e){return Gp="useRef",Jp(),vm()},useState:function(e){Gp="useState",Jp();var t=zp.current;zp.current=qm;try{return hm()}finally{zp.current=t}},useDebugValue:function(e,t){return Gp="useDebugValue",Jp(),Mm()},useResponder:function(e,t){return Gp="useResponder",Jp(),Ip(e,t)},useDeferredValue:function(e,t){return Gp="useDeferredValue",Jp(),Am(e,t)},useTransition:function(e){return Gp="useTransition",Jp(),Lm(e)}},Vm={readContext:function(e,t){return fh(e,t)},useCallback:function(e,t){return Gp="useCallback",Jp(),Rm(e,t)},useContext:function(e,t){return Gp="useContext",Jp(),fh(e,t)},useEffect:function(e,t){return Gp="useEffect",Jp(),wm(e,t)},useImperativeHandle:function(e,t,n){return Gp="useImperativeHandle",Jp(),Tm(e,t,n)},useLayoutEffect:function(e,t){return Gp="useLayoutEffect",Jp(),xm(e,t)},useMemo:function(e,t){Gp="useMemo",Jp();var n=zp.current;zp.current=Gm;try{return Om(e,t)}finally{zp.current=n}},useReducer:function(e,t,n){Gp="useReducer",Jp();var r=zp.current;zp.current=Gm;try{return fm(e)}finally{zp.current=r}},useRef:function(e){return Gp="useRef",Jp(),vm()},useState:function(e){Gp="useState",Jp();var t=zp.current;zp.current=Gm;try{return pm()}finally{zp.current=t}},useDebugValue:function(e,t){return Gp="useDebugValue",Jp(),Mm()},useResponder:function(e,t){return Gp="useResponder",Jp(),Ip(e,t)},useDeferredValue:function(e,t){return Gp="useDeferredValue",Jp(),Im(e,t)},useTransition:function(e){return Gp="useTransition",Jp(),Fm(e)}},$m={readContext:function(e,t){return Qm(),fh(e,t)},useCallback:function(e,t){return Gp="useCallback",Km(),Xp(),Nm(e,t)},useContext:function(e,t){return Gp="useContext",Km(),Xp(),fh(e,t)},useEffect:function(e,t){return Gp="useEffect",Km(),Xp(),_m(e,t)},useImperativeHandle:function(e,t,n){return Gp="useImperativeHandle",Km(),Xp(),Sm(e,t,n)},useLayoutEffect:function(e,t){return Gp="useLayoutEffect",Km(),Xp(),km(e,t)},useMemo:function(e,t){Gp="useMemo",Km(),Xp();var n=zp.current;zp.current=$m;try{return Pm(e,t)}finally{zp.current=n}},useReducer:function(e,t,n){Gp="useReducer",Km(),Xp();var r=zp.current;zp.current=$m;try{return lm(e,t,n)}finally{zp.current=r}},useRef:function(e){return Gp="useRef",Km(),Xp(),gm(e)},useState:function(e){Gp="useState",Km(),Xp();var t=zp.current;zp.current=$m;try{return dm(e)}finally{zp.current=t}},useDebugValue:function(e,t){Gp="useDebugValue",Km(),Xp()},useResponder:function(e,t){return Gp="useResponder",Km(),Xp(),Ip(e,t)},useDeferredValue:function(e,t){return Gp="useDeferredValue",Km(),Xp(),Dm(e,t)},useTransition:function(e){return Gp="useTransition",Km(),Xp(),Um(e)}},qm={readContext:function(e,t){return Qm(),fh(e,t)},useCallback:function(e,t){return Gp="useCallback",Km(),Jp(),Rm(e,t)},useContext:function(e,t){return Gp="useContext",Km(),Jp(),fh(e,t)},useEffect:function(e,t){return Gp="useEffect",Km(),Jp(),wm(e,t)},useImperativeHandle:function(e,t,n){return Gp="useImperativeHandle",Km(),Jp(),Tm(e,t,n)},useLayoutEffect:function(e,t){return Gp="useLayoutEffect",Km(),Jp(),xm(e,t)},useMemo:function(e,t){Gp="useMemo",Km(),Jp();var n=zp.current;zp.current=qm;try{return Om(e,t)}finally{zp.current=n}},useReducer:function(e,t,n){Gp="useReducer",Km(),Jp();var r=zp.current;zp.current=qm;try{return cm(e)}finally{zp.current=r}},useRef:function(e){return Gp="useRef",Km(),Jp(),vm()},useState:function(e){Gp="useState",Km(),Jp();var t=zp.current;zp.current=qm;try{return hm()}finally{zp.current=t}},useDebugValue:function(e,t){return Gp="useDebugValue",Km(),Jp(),Mm()},useResponder:function(e,t){return Gp="useResponder",Km(),Jp(),Ip(e,t)},useDeferredValue:function(e,t){return Gp="useDeferredValue",Km(),Jp(),Am(e,t)},useTransition:function(e){return Gp="useTransition",Km(),Jp(),Lm(e)}},Gm={readContext:function(e,t){return Qm(),fh(e,t)},useCallback:function(e,t){return Gp="useCallback",Km(),Jp(),Rm(e,t)},useContext:function(e,t){return Gp="useContext",Km(),Jp(),fh(e,t)},useEffect:function(e,t){return Gp="useEffect",Km(),Jp(),wm(e,t)},useImperativeHandle:function(e,t,n){return Gp="useImperativeHandle",Km(),Jp(),Tm(e,t,n)},useLayoutEffect:function(e,t){return Gp="useLayoutEffect",Km(),Jp(),xm(e,t)},useMemo:function(e,t){Gp="useMemo",Km(),Jp();var n=zp.current;zp.current=qm;try{return Om(e,t)}finally{zp.current=n}},useReducer:function(e,t,n){Gp="useReducer",Km(),Jp();var r=zp.current;zp.current=qm;try{return fm(e)}finally{zp.current=r}},useRef:function(e){return Gp="useRef",Km(),Jp(),vm()},useState:function(e){Gp="useState",Km(),Jp();var t=zp.current;zp.current=qm;try{return pm()}finally{zp.current=t}},useDebugValue:function(e,t){return Gp="useDebugValue",Km(),Jp(),Mm()},useResponder:function(e,t){return Gp="useResponder",Km(),Jp(),Ip(e,t)},useDeferredValue:function(e,t){return Gp="useDeferredValue",Km(),Jp(),Im(e,t)},useTransition:function(e){return Gp="useTransition",Km(),Jp(),Fm(e)}};var Zm=r.unstable_now,Xm=0,Jm=-1;function eg(){Xm=Zm()}function tg(e){Jm=Zm(),e.actualStartTime<0&&(e.actualStartTime=Zm())}function ng(e){Jm=-1}function rg(e,t){if(Jm>=0){var n=Zm()-Jm;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Jm=-1}}var ig=null,og=null,ag=!1;function sg(e,t){switch(e.tag){case O:!function(e,t){t.nodeType===jn?gs(e,t):t.nodeType===Ln||vs(e,t)}(e.stateNode.containerInfo,t);break;case A:!function(e,t,n,r){!0!==t[Ls]&&(r.nodeType===jn?gs(n,r):r.nodeType===Ln||vs(n,r))}(e.type,e.memoizedProps,e.stateNode,t)}var n,r=((n=Ub(A,null,null,od)).elementType="DELETED",n.type="DELETED",n);r.stateNode=t,r.return=e,r.effectTag=Pi,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function ug(e,t){switch(t.effectTag=t.effectTag&~Li|Mi,e.tag){case O:var n=e.stateNode.containerInfo;switch(t.tag){case A:var r=t.type;t.pendingProps;!function(e,t,n){ys(e,t)}(n,r);break;case j:!function(e,t){bs(e,t)}(n,t.pendingProps)}break;case A:e.type;var i=e.memoizedProps,o=e.stateNode;switch(t.tag){case A:var a=t.type;t.pendingProps;!function(e,t,n,r,i){!0!==t[Ls]&&ys(n,r)}(0,i,o,a);break;case j:!function(e,t,n,r){!0!==t[Ls]&&bs(n,r)}(0,i,o,t.pendingProps);break;case Y:!function(e,t,n){t[Ls]}(0,i)}break;default:return}}function lg(e,t){switch(e.tag){case A:var n=e.type,r=(e.pendingProps,function(e,t,n){return e.nodeType!==jn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n));return null!==r&&(e.stateNode=r,!0);case j:var i=function(e,t){return""===t||e.nodeType!==Un?null:e}(t,e.pendingProps);return null!==i&&(e.stateNode=i,!0);case Y:default:return!1}}function cg(e){if(ag){var t=og;if(!t)return ug(ig,e),ag=!1,void(ig=e);var n=t;if(!lg(e,t)){if(!(t=cu(n))||!lg(e,t))return ug(ig,e),ag=!1,void(ig=e);sg(ig,n)}ig=e,og=fu(t)}}function fg(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n){return yu(n,e),function(e,t){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var i=ig;if(null!==i)switch(i.tag){case O:i.stateNode.containerInfo;!function(e,t,n){ms(t,n)}(0,t,n);break;case A:i.type;var o=i.memoizedProps;i.stateNode;!function(e,t,n,r,i){!0!==t[Ls]&&ms(r,i)}(0,o,0,t,n)}}return r}function dg(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Ln){var r=t.data;if(r===Bs){if(0===n)return cu(t);n--}else r!==zs&&r!==Ys&&r!==Ws||n++}t=t.nextSibling}return null}(n)}function hg(e){for(var t=e.return;null!==t&&t.tag!==A&&t.tag!==O&&t.tag!==Y;)t=t.return;ig=t}function pg(e){if(e!==ig)return!1;if(!ag)return hg(e),ag=!0,!1;var t=e.type;if(e.tag!==A||"head"!==t&&"body"!==t&&!Zs(t,e.memoizedProps))for(var n=og;n;)sg(e,n),n=cu(n);return hg(e),og=e.tag===Y?dg(e):ig?cu(e.stateNode):null,!0}function mg(){ig=null,og=null,ag=!1}var gg,vg,yg,bg,_g,wg,kg,xg,Eg=a.ReactCurrentOwner,Sg=!1;function Tg(e,t,n,r){t.child=null===e?fp(t,null,n,r):cp(t,e.child,n,r)}function Cg(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&i(a,r,"prop",Ot(n),Ft)}var s,u=n.render,l=t.ref;return ch(t,o),Eg.current=t,Wt(!0),s=rm(e,t,u,r,l,o),t.mode&ad&&null!==t.memoizedState&&(s=rm(e,t,u,r,l,o)),Wt(!1),null===e||Sg?(t.effectTag|=Ci,Tg(e,t,s,o),t.child):(im(e,t,o),Zg(e,t,o))}function Mg(e,t,n,r,o,a){if(null===e){var s=n.type;if(function(e){return"function"==typeof e&&!Lb(e)&&void 0===e.defaultProps}(s)&&null===n.compare&&void 0===n.defaultProps){var u;return u=Wd(s),t.tag=V,t.type=u,Ug(t,s),Ng(e,t,u,r,o,a)}var l=s.propTypes;l&&i(l,r,"prop",Ot(s),Ft);var c=Bb(n.type,null,r,null,t.mode,a);return c.ref=t.ref,c.return=t,t.child=c,c}var f=n.type,d=f.propTypes;d&&i(d,r,"prop",Ot(f),Ft);var h=e.child;if(o<a){var p=h.memoizedProps,m=n.compare;if((m=null!==m?m:$l)(p,r)&&e.ref===t.ref)return Zg(e,t,a)}t.effectTag|=Ci;var g=Fb(h,r);return g.ref=t.ref,g.return=t,t.child=g,g}function Ng(e,t,n,r,o,a){if(t.type!==t.elementType){var s=t.elementType;s.$$typeof===kt&&(s=Pt(s));var u=s&&s.propTypes;u&&i(u,r,"prop",Ot(s),Ft)}if(null!==e&&($l(e.memoizedProps,r)&&e.ref===t.ref&&t.type===e.type&&(Sg=!1,o<a)))return t.expirationTime=e.expirationTime,Zg(e,t,a);return Pg(e,t,n,r,a)}function Rg(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=Ii)}function Pg(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&i(a,r,"prop",Ot(n),Ft)}var s,u;return s=hf(t,ff(0,n,!0)),ch(t,o),Eg.current=t,Wt(!0),u=rm(e,t,n,r,s,o),t.mode&ad&&null!==t.memoizedState&&(u=rm(e,t,n,r,s,o)),Wt(!1),null===e||Sg?(t.effectTag|=Ci,Tg(e,t,u,o),t.child):(im(e,t,o),Zg(e,t,o))}function Og(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&i(a,r,"prop",Ot(n),Ft)}var s,l;mf(n)?(s=!0,_f(t)):s=!1,ch(t,o),null===t.stateNode?(null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Mi),tp(t,n,r),rp(t,n,r,o),l=!0):l=null===e?function(e,t,n,r){var i=e.stateNode,o=e.memoizedProps;i.props=o;var a=i.context,s=t.contextType,u=sf;u="object"==typeof s&&null!==s?fh(s):hf(e,ff(0,t,!0));var l=t.getDerivedStateFromProps,c="function"==typeof l||"function"==typeof i.getSnapshotBeforeUpdate;c||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||o===n&&a===u||np(e,i,n,u),Ch();var f=e.memoizedState,d=i.state=f;if(Sh(e,n,i,r),d=e.memoizedState,o===n&&f===d&&!pf()&&!Mh())return"function"==typeof i.componentDidMount&&(e.effectTag|=Ni),!1;"function"==typeof l&&($h(e,t,l,n),d=e.memoizedState);var h=Mh()||Jh(e,t,o,n,f,d,u);return h?(c||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(Yc(e,"componentWillMount"),"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),Hc()),"function"==typeof i.componentDidMount&&(e.effectTag|=Ni)):("function"==typeof i.componentDidMount&&(e.effectTag|=Ni),e.memoizedProps=n,e.memoizedState=d),i.props=n,i.state=d,i.context=u,h}(t,n,r,o):function(e,t,n,r,i){var o=t.stateNode;_h(e,t);var a=t.memoizedProps;o.props=t.type===t.elementType?a:Kd(t.type,a);var s=o.context,u=n.contextType,l=sf;l="object"==typeof u&&null!==u?fh(u):hf(t,ff(0,n,!0));var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||a===r&&s===l||np(t,o,r,l),Ch();var d=t.memoizedState,h=o.state=d;if(Sh(t,r,o,i),h=t.memoizedState,a===r&&d===h&&!pf()&&!Mh())return"function"==typeof o.componentDidUpdate&&(a===e.memoizedProps&&d===e.memoizedState||(t.effectTag|=Ni)),"function"==typeof o.getSnapshotBeforeUpdate&&(a===e.memoizedProps&&d===e.memoizedState||(t.effectTag|=ji)),!1;"function"==typeof c&&($h(t,n,c,r),h=t.memoizedState);var p=Mh()||Jh(t,n,a,r,d,h,l);return p?(f||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||(Yc(t,"componentWillUpdate"),"function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,l),Hc()),"function"==typeof o.componentDidUpdate&&(t.effectTag|=Ni),"function"==typeof o.getSnapshotBeforeUpdate&&(t.effectTag|=ji)):("function"==typeof o.componentDidUpdate&&(a===e.memoizedProps&&d===e.memoizedState||(t.effectTag|=Ni)),"function"==typeof o.getSnapshotBeforeUpdate&&(a===e.memoizedProps&&d===e.memoizedState||(t.effectTag|=ji)),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=l,p}(e,t,n,r,o);var c=Dg(e,t,n,l,s,o);return t.stateNode.props!==r&&(wg||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ot(t.type)||"a component"),wg=!0),c}function Dg(e,t,n,r,i,o){Rg(e,t);var a=(t.effectTag&Ai)!==Ti;if(!r&&!a)return i&&wf(t,n,!1),Zg(e,t,o);var s,u=t.stateNode;return Eg.current=t,a&&"function"!=typeof n.getDerivedStateFromError?(s=null,ng()):(Wt(!0),s=u.render(),t.mode&ad&&u.render(),Wt(!1)),t.effectTag|=Ci,null!==e&&a?function(e,t,n,r){t.child=cp(t,e.child,null,r),t.child=cp(t,null,n,r)}(e,t,s,o):Tg(e,t,s,o),t.memoizedState=u.state,i&&wf(t,n,!0),t.child}function Ag(e){var t=e.stateNode;t.pendingContext?yf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&yf(e,t.context,!1),bp(e,t.containerInfo)}function Ig(e,t,n){Ag(t);var r=t.updateQueue;if(null===e||null===r)throw Error("If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.");var i=t.pendingProps,o=t.memoizedState,a=null!==o?o.element:null;_h(e,t),Sh(t,i,null,n);var s,u,l=t.memoizedState.element;if(l===a)return mg(),Zg(e,t,n);if(t.stateNode.hydrate&&(u=(s=t).stateNode.containerInfo,og=fu(u),ig=s,ag=!0,1)){var c=fp(t,null,l,n);t.child=c;for(var f=c;f;)f.effectTag=f.effectTag&~Mi|Li,f=f.sibling}else Tg(e,t,l,n),mg();return t.child}function jg(e,t,n,r,o){null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Mi);var a=t.pendingProps;zc(t);var s=Zd(n);t.type=s;var u=t.tag=function(e){if("function"==typeof e)return Lb(e)?R:N;if(null!=e){var t=e.$$typeof;if(t===yt)return B;if(t===wt)return H}return P}(s);Fc(t);var l=Kd(s,a);switch(u){case N:return Ug(t,s),t.type=s=Wd(s),Pg(null,t,s,l,o);case R:return t.type=s=Yd(s),Og(null,t,s,l,o);case B:return t.type=s=Hd(s),Cg(null,t,s,l,o);case H:if(t.type!==t.elementType){var c=s.propTypes;c&&i(c,l,"prop",Ot(s),Ft)}return Mg(null,t,s,Kd(s.type,l),r,o)}var f="";throw null!==s&&"object"==typeof s&&s.$$typeof===kt&&(f=" Did you wrap a component in React.lazy() more than once?"),Error("Element type is invalid. Received a promise that resolves to: "+s+". Lazy element type must resolve to a class or function."+f)}function Ug(e,t){if(t&&t.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=Lt();r&&(n+="\n\nCheck the render method of `"+r+"`.");var i=r||e._debugID||"",o=e._debugSource;o&&(i=o.fileName+":"+o.lineNumber),_g[i]||(_g[i]=!0,u("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if("function"==typeof t.getDerivedStateFromProps){var a=Ot(t)||"Unknown";bg[a]||(u("%s: Function components do not support getDerivedStateFromProps.",a),bg[a]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var s=Ot(t)||"Unknown";yg[s]||(u("%s: Function components do not support contextType.",s),yg[s]=!0)}}gg={},vg={},yg={},bg={},_g={},wg=!1,kg={},xg={};var Lg={dehydrated:null,retryTime:fd};function Fg(e,t,n){var r=t.mode,i=t.pendingProps;i_(t)&&(t.effectTag|=Ai);var o=Cp.current,a=!1;if((t.effectTag&Ai)!==Ti||function(e,t,n){return Mp(e,Tp)&&(null===t||null!==t.memoizedState)}(o,e)?(a=!0,t.effectTag&=~Ai):null!==e&&null===e.memoizedState||void 0!==i.fallback&&!0!==i.unstable_avoidThisFallback&&(o=o|Sp),Pp(t,o=Np(o)),null===e){if(void 0!==i.fallback&&cg(t),a){var s=i.fallback,u=Yb(null,r,fd,null);if(u.return=t,(t.mode&sd)===od){var l=null!==t.memoizedState?t.child.child:t.child;u.child=l;for(var c=l;null!==c;)c.return=u,c=c.sibling}var f=Yb(s,r,n,null);return f.return=t,u.sibling=f,t.memoizedState=Lg,t.child=u,f}var d=i.children;return t.memoizedState=null,t.child=fp(t,null,d,n)}if(null!==e.memoizedState){var h=e.child,p=h.sibling;if(a){var m=i.fallback,g=Fb(h,h.pendingProps);if(g.return=t,(t.mode&sd)===od){var v=null!==t.memoizedState?t.child.child:t.child;if(v!==h.child){g.child=v;for(var y=v;null!==y;)y.return=g,y=y.sibling}}if(t.mode&ld){for(var b=0,_=g.child;null!==_;)b+=_.treeBaseDuration,_=_.sibling;g.treeBaseDuration=b}var w=Fb(p,m);return w.return=t,g.sibling=w,g.childExpirationTime=fd,t.memoizedState=Lg,t.child=g,w}var k=i.children,x=h.child,E=cp(t,x,k,n);return t.memoizedState=null,t.child=E}var S=e.child;if(a){var T=i.fallback,C=Yb(null,r,fd,null);if(C.return=t,C.child=S,null!==S&&(S.return=C),(t.mode&sd)===od){var M=null!==t.memoizedState?t.child.child:t.child;C.child=M;for(var N=M;null!==N;)N.return=C,N=N.sibling}if(t.mode&ld){for(var R=0,P=C.child;null!==P;)R+=P.treeBaseDuration,P=P.sibling;C.treeBaseDuration=R}var O=Yb(T,r,n,null);return O.return=t,C.sibling=O,O.effectTag|=Mi,C.childExpirationTime=fd,t.memoizedState=Lg,t.child=C,O}t.memoizedState=null;var D=i.children;return t.child=cp(t,S,D,n)}function zg(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),lh(e.return,t)}function Bg(e,t){var n=Array.isArray(e),r=!n&&"function"==typeof Tt(e);if(n||r){var i=n?"array":"iterable";return u("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",i,t,i),!1}return!0}function Wg(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Yg(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail,a=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!kg[e])if(kg[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":u('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":u('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:u('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else u('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(i),function(e,t){void 0===e||xg[e]||("collapsed"!==e&&"hidden"!==e?(xg[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(xg[e]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(o,i),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(Array.isArray(e)){for(var n=0;n<e.length;n++)if(!Bg(e[n],n))return}else{var r=Tt(e);if("function"==typeof r){var i=r.call(e);if(i)for(var o=i.next(),a=0;!o.done;o=i.next()){if(!Bg(o.value,a))return;a++}}else u('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(a,i),Tg(e,t,a,n);var s=Cp.current;Mp(s,Tp)?(s=Rp(s,Tp),t.effectTag|=Ai):(null!==e&&(e.effectTag&Ai)!==Ti&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===Y)null!==r.memoizedState&&zg(r,n);else if(r.tag===Q)zg(r,n);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),s=Np(s));if(Pp(t,s),(t.mode&sd)===od)t.memoizedState=null;else switch(i){case"forwards":var l,c=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===Ap(r)&&(n=t),t=t.sibling}return n}(t.child);null===c?(l=t.child,t.child=null):(l=c.sibling,c.sibling=null),Wg(t,!1,l,c,o,t.lastEffect);break;case"backwards":var f=null,d=t.child;for(t.child=null;null!==d;){var h=d.alternate;if(null!==h&&null===Ap(h)){t.child=d;break}var p=d.sibling;d.sibling=f,f=d,d=p}Wg(t,!0,f,null,o,t.lastEffect);break;case"together":Wg(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Hg(e,t,n){var r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,l=t.type.propTypes;if(l&&i(l,o,"prop","Context.Provider",Ft),sh(t,s),null!==a){var c=function(e,t,n){if(Hl(n,t))return 0;var r="function"==typeof e._calculateChangedBits?e._calculateChangedBits(n,t):cd;return(r&cd)!==r&&u("calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",r),0|r}(r,s,a.value);if(0===c){if(a.children===o.children&&!pf())return Zg(e,t,n)}else!function(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){var o=void 0,a=i.dependencies;if(null!==a){o=i.child;for(var s=a.firstContext;null!==s;){if(s.context===t&&0!=(s.observedBits&n)){if(i.tag===R){var u=wh(r,null);u.tag=gh,kh(i,u)}i.expirationTime<r&&(i.expirationTime=r);var l=i.alternate;null!==l&&l.expirationTime<r&&(l.expirationTime=r),lh(i.return,r),a.expirationTime<r&&(a.expirationTime=r);break}s=s.next}}else o=i.tag===z&&i.type===e.type?null:i.child;if(null!==o)o.return=i;else for(o=i;null!==o;){if(o===e){o=null;break}var c=o.sibling;if(null!==c){c.return=o.return,o=c;break}o=o.return}i=o}}(t,r,c,n)}return Tg(e,t,o.children,n),t.child}var Vg,$g,qg,Gg,Qg=!1;function Kg(){Sg=!0}function Zg(e,t,n){zc(t),null!==e&&(t.dependencies=e.dependencies),ng();var r=t.expirationTime;return r!==fd&&Yy(r),t.childExpirationTime<n?null:(function(e,t){if(null!==e&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=Fb(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=Fb(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child)}function Xg(e,t,n){var r=t.expirationTime;if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var i=r.child;if(null===i)throw new Error("Expected parent to have a child.");for(;i.sibling!==t;)if(null===(i=i.sibling))throw new Error("Expected to find the previous sibling.");i.sibling=n}var o=r.lastEffect;return null!==o?(o.nextEffect=e,r.lastEffect=e):r.firstEffect=r.lastEffect=e,e.nextEffect=null,e.effectTag=Pi,n.effectTag|=Mi,n}(e,t,Bb(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.expirationTime));if(null!==e){var o=e.memoizedProps,a=t.pendingProps;if(o!==a||pf()||t.type!==e.type)Sg=!0;else{if(r<n){switch(Sg=!1,t.tag){case O:Ag(t),mg();break;case A:if(kp(t),t.mode&ud&&n!==dd&&Xs(t.type,a))return yb(dd),t.expirationTime=t.childExpirationTime=dd,null;break;case R:mf(t.type)&&_f(t);break;case D:bp(t,t.stateNode.containerInfo);break;case z:sh(t,t.memoizedProps.value);break;case W:t.childExpirationTime>=n&&(t.effectTag|=Ni);break;case Y:if(null!==t.memoizedState){var s=t.child.childExpirationTime;if(s!==fd&&s>=n)return Fg(e,t,n);Pp(t,Np(Cp.current));var l=Zg(e,t,n);return null!==l?l.sibling:null}Pp(t,Np(Cp.current));break;case Q:var c=(e.effectTag&Ai)!==Ti,f=t.childExpirationTime>=n;if(c){if(f)return Yg(e,t,n);t.effectTag|=Ai}var d=t.memoizedState;if(null!==d&&(d.rendering=null,d.tail=null),Pp(t,Cp.current),f)break;return null}return Zg(e,t,n)}Sg=!1}}else Sg=!1;switch(t.expirationTime=fd,t.tag){case P:return function(e,t,n,r){null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Mi);var i,o,a=t.pendingProps;if(i=hf(t,ff(0,n,!1)),ch(t,r),n.prototype&&"function"==typeof n.prototype.render){var s=Ot(n)||"Unknown";gg[s]||(u("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",s,s),gg[s]=!0)}if(t.mode&ad&&Md.recordLegacyContextWarning(t,null),Wt(!0),Eg.current=t,o=rm(null,t,n,a,i,r),Wt(!1),t.effectTag|=Ci,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){var l=Ot(n)||"Unknown";vg[l]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",l,l,l),vg[l]=!0),t.tag=R,t.memoizedState=null,t.updateQueue=null;var c=!1;mf(n)?(c=!0,_f(t)):c=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,bh(t);var f=n.getDerivedStateFromProps;return"function"==typeof f&&$h(t,n,f,a),ep(t,o),rp(t,n,a,r),Dg(null,t,n,!0,c,r)}return t.tag=N,t.mode&ad&&null!==t.memoizedState&&(o=rm(null,t,n,a,i,r)),Tg(null,t,o,r),Ug(t,n),t.child}(e,t,t.type,n);case $:return jg(e,t,t.elementType,r,n);case N:var h=t.type,p=t.pendingProps;return Pg(e,t,h,t.elementType===h?p:Kd(h,p),n);case R:var m=t.type,g=t.pendingProps;return Og(e,t,m,t.elementType===m?g:Kd(m,g),n);case O:return Ig(e,t,n);case A:return function(e,t,n){kp(t),null===e&&cg(t);var r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,a=i.children;return Zs(r,i)?a=null:null!==o&&Zs(r,o)&&(t.effectTag|=Oi),Rg(e,t),t.mode&ud&&n!==dd&&Xs(0,i)?(yb(dd),t.expirationTime=t.childExpirationTime=dd,null):(Tg(e,t,a,n),t.child)}(e,t,n);case j:return function(e,t){return null===e&&cg(t),null}(e,t);case Y:return Fg(e,t,n);case D:return function(e,t,n){bp(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=cp(t,null,r,n):Tg(e,t,r,n),t.child}(e,t,n);case B:var v=t.type,y=t.pendingProps;return Cg(e,t,v,t.elementType===v?y:Kd(v,y),n);case U:return function(e,t,n){return Tg(e,t,t.pendingProps,n),t.child}(e,t,n);case L:return function(e,t,n){return Tg(e,t,t.pendingProps.children,n),t.child}(e,t,n);case W:return function(e,t,n){return t.effectTag|=Ni,Tg(e,t,t.pendingProps.children,n),t.child}(e,t,n);case z:return Hg(e,t,n);case F:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(Qg||(Qg=!0,u("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var i=t.pendingProps,o=i.children;"function"!=typeof o&&u("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),ch(t,n);var a,s=fh(r,i.unstable_observedBits);return Eg.current=t,Wt(!0),a=o(s),Wt(!1),t.effectTag|=Ci,Tg(e,t,a,n),t.child}(e,t,n);case H:var b=t.type,_=Kd(b,t.pendingProps);if(t.type!==t.elementType){var w=b.propTypes;w&&i(w,_,"prop",Ot(b),Ft)}return Mg(e,t,b,_=Kd(b.type,_),r,n);case V:return Ng(e,t,t.type,t.pendingProps,r,n);case q:var k=t.type,x=t.pendingProps;return function(e,t,n,r,i){var o;return null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Mi),t.tag=R,mf(n)?(o=!0,_f(t)):o=!1,ch(t,i),tp(t,n,r),rp(t,n,r,i),Dg(null,t,n,!0,o,i)}(e,t,k,t.elementType===k?x:Kd(k,x),n);case Q:return Yg(e,t,n)}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Jg(e){e.effectTag|=Ni}function ev(e){e.effectTag|=Ii}function tv(e,t){switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var i=e.tail,o=null;null!==i;)null!==i.alternate&&(o=i),i=i.sibling;null===o?t||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function nv(e,t,n){var r=t.pendingProps;switch(t.tag){case P:case $:case V:case N:case B:case U:case L:case W:case F:case H:return null;case R:return mf(t.type)&&gf(t),null;case O:_p(t),vf(t);var i=t.stateNode;if(i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null===e||null===e.child)pg(t)&&Jg(t);return $g(t),null;case A:xp(t);var o=yp(),a=t.type;if(null!==e&&null!=t.stateNode)qg(e,t,a,r,o),e.ref!==t.ref&&ev(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return null}var s=wp();if(pg(t))(function(e,t,n){var r=du(e.stateNode,e.type,e.memoizedProps,t,n,e);return e.updateQueue=r,null!==r})(t,o,s)&&Jg(t);else{var u=Ks(a,r,o,s,t);Vg(u,t,!1,!1),t.stateNode=u,function(e,t,n,r,i){return ds(e,t,n,r),qs(t,n)}(u,a,r,o)&&Jg(t)}null!==t.ref&&ev(t)}return null;case j:var l=r;if(e&&null!=t.stateNode){var c=e.memoizedProps;Gg(e,t,c,l)}else{if("string"!=typeof l&&null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var f=yp(),d=wp();pg(t)?fg(t)&&Jg(t):t.stateNode=Js(l,f,d,t)}return null;case Y:Op(t);var h=t.memoizedState;if((t.effectTag&Ai)!==Ti)return t.expirationTime=n,t;var p=null!==h,m=!1;if(null===e)void 0!==t.memoizedProps.fallback&&pg(t);else{var g=e.memoizedState;if(m=null!==g,!p&&null!==g){var v=e.child.sibling;if(null!==v){var y=t.firstEffect;null!==y?(t.firstEffect=v,v.nextEffect=y):(t.firstEffect=t.lastEffect=v,v.nextEffect=null),v.effectTag=Pi}}}if(p&&!m)if((t.mode&sd)!==od)null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||Mp(Cp.current,Sp)?ey===Hv&&(ey=qv):function(){ey!==Hv&&ey!==qv||(ey=Gv);oy!==fd&&null!==Zv&&(Kb(Zv,Jv),Zb(Zv,oy))}();return(p||m)&&(t.effectTag|=Ni),null;case D:return _p(t),$g(t),null;case z:return uh(t),null;case q:return mf(t.type)&&gf(t),null;case Q:Op(t);var b=t.memoizedState;if(null===b)return null;var _=(t.effectTag&Ai)!==Ti,w=b.rendering;if(null===w){if(_)tv(b,!1);else if(!(ey===Hv&&(null===e||(e.effectTag&Ai)===Ti)))for(var k=t.child;null!==k;){var x=Ap(k);if(null!==x){_=!0,t.effectTag|=Ai,tv(b,!1);var E=x.updateQueue;return null!==E&&(t.updateQueue=E,t.effectTag|=Ni),null===b.lastEffect&&(t.firstEffect=null),t.lastEffect=b.lastEffect,dp(t,n),Pp(t,Rp(Cp.current,Tp)),t.child}k=k.sibling}}else{if(!_){var S=Ap(w);if(null!==S){t.effectTag|=Ai,_=!0;var T=S.updateQueue;if(null!==T&&(t.updateQueue=T,t.effectTag|=Ni),tv(b,!0),null===b.tail&&"hidden"===b.tailMode&&!w.alternate){var C=t.lastEffect=b.lastEffect;return null!==C&&(C.nextEffect=null),null}}else if(2*Zf()-b.renderingStartTime>b.tailExpiration&&n>dd){t.effectTag|=Ai,_=!0,tv(b,!1);var M=n-1;t.expirationTime=t.childExpirationTime=M,yb(M)}}if(b.isBackwards)w.sibling=t.child,t.child=w;else{var I=b.last;null!==I?I.sibling=w:t.child=w,b.last=w}}if(null!==b.tail){if(0===b.tailExpiration){b.tailExpiration=Zf()+500}var G=b.tail;b.rendering=G,b.tail=G.sibling,b.lastEffect=t.lastEffect,b.renderingStartTime=Zf(),G.sibling=null;var K=Cp.current;return Pp(t,K=_?Rp(K,Tp):Np(K)),G}return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function rv(e,t){switch(e.tag){case R:mf(e.type)&&gf(e);var n=e.effectTag;return n&Yi?(e.effectTag=n&~Yi|Ai,e):null;case O:_p(e),vf(e);var r=e.effectTag;if((r&Ai)!==Ti)throw Error("The root failed to unmount after an error. This is likely a bug in React. Please file an issue.");return e.effectTag=r&~Yi|Ai,e;case A:return xp(e),null;case Y:Op(e);var i=e.effectTag;return i&Yi?(e.effectTag=i&~Yi|Ai,e):null;case Q:return Op(e),null;case D:return _p(e),null;case z:return uh(e),null;default:return null}}function iv(e){switch(e.tag){case R:var t=e.type.childContextTypes;null!=t&&gf(e);break;case O:_p(e),vf(e);break;case A:xp(e);break;case D:_p(e);break;case Y:case Q:Op(e);break;case z:uh(e)}}function ov(e,t){return{value:e,source:t,stack:It(t)}}Vg=function(e,t,n,r){for(var i,o,a=t.child;null!==a;){if(a.tag===A||a.tag===j)i=e,o=a.stateNode,i.appendChild(o);else if(a.tag===D);else if(null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)return;for(;null===a.sibling;){if(null===a.return||a.return===t)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},$g=function(e){},qg=function(e,t,n,r,i){var o=e.memoizedProps;if(o!==r){var a=function(e,t,n,r,i,o){var a=o;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var s=""+r.children,u=Os(a.ancestorInfo,t);Ps(null,s,u)}return hs(e,t,n,r,i)}(t.stateNode,n,o,r,i,wp());t.updateQueue=a,a&&Jg(t)}},Gg=function(e,t,n,r){n!==r&&Jg(t)};var av=null;av=new Set;var sv="function"==typeof WeakSet?WeakSet:Set;function uv(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=It(n));var i={componentName:null!==n?Ot(n.type):null,componentStack:null!==r?r:"",error:t.value,errorBoundary:null,errorBoundaryName:null,errorBoundaryFound:!1,willRetry:!1};null!==e&&e.tag===R&&(i.errorBoundary=e.stateNode,i.errorBoundaryName=Ot(e.type),i.errorBoundaryFound=!0,i.willRetry=!0);try{!function(e){var t=e.error,n=e.componentName,r=e.componentStack,i=e.errorBoundaryName,o=e.errorBoundaryFound,a=e.willRetry;if(null!=t&&t._suppressLogging){if(o&&a)return;console.error(t)}var s=(n?"The above error occurred in the <"+n+"> component:":"The above error occurred in one of your React components:")+r+"\n\n"+(o&&i?a?"React will try to recreate this component tree from scratch using the error boundary you provided, "+i+".":"This error was initially handled by the error boundary "+i+".\nRecreating the tree from scratch failed so React will unmount the tree.":"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://fb.me/react-error-boundaries to learn more about error boundaries.");console.error(s)}(i)}catch(e){setTimeout(function(){throw e})}}var lv=function(e,t){Yc(e,"componentWillUnmount"),t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount(),Hc()};function cv(e){var t=e.ref;null!==t&&("function"==typeof t?(b(null,t,null,null),_()&&ob(e,w())):t.current=null)}function fv(e,t){(b(null,t,null),_())&&ob(e,w())}function dv(e,t){switch(t.tag){case N:case B:case V:case X:return;case R:if(t.effectTag&ji&&null!==e){var n=e.memoizedProps,r=e.memoizedState;Yc(t,"getSnapshotBeforeUpdate");var i=t.stateNode;t.type!==t.elementType||wg||(i.props!==t.memoizedProps&&u("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ot(t.type)||"instance"),i.state!==t.memoizedState&&u("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ot(t.type)||"instance"));var o=i.getSnapshotBeforeUpdate(t.elementType===t.type?n:Kd(t.type,n),r),a=av;void 0!==o||a.has(t.type)||(a.add(t.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ot(t.type))),i.__reactInternalSnapshotBeforeUpdate=o,Hc()}return;case O:case A:case j:case D:case q:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function hv(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next,o=i;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&a()}o=o.next}while(o!==i)}}function pv(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next,o=i;do{if((o.tag&e)===e){var a=o.create;o.destroy=a();var s=o.destroy;if(void 0!==s&&"function"!=typeof s){u("An effect function must not return anything besides a function, which is used for clean-up.%s%s",null===s?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof s.then?"\n\nIt looks like you wrote useEffect(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\nuseEffect(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://fb.me/react-hooks-data-fetching":" You returned: "+s,It(t))}}o=o.next}while(o!==i)}}function mv(e){if((e.effectTag&Ui)!==Ti)switch(e.tag){case N:case B:case V:case X:hv(Fp|Up,e),pv(Fp|Up,e)}}function gv(e,t,n,r){switch(n.tag){case N:case B:case V:case X:return void pv(Lp|Up,n);case R:var i=n.stateNode;if(n.effectTag&Ni)if(null===t)Yc(n,"componentDidMount"),n.type!==n.elementType||wg||(i.props!==n.memoizedProps&&u("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ot(n.type)||"instance"),i.state!==n.memoizedState&&u("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ot(n.type)||"instance")),i.componentDidMount(),Hc();else{var o=n.elementType===n.type?t.memoizedProps:Kd(n.type,t.memoizedProps),a=t.memoizedState;Yc(n,"componentDidUpdate"),n.type!==n.elementType||wg||(i.props!==n.memoizedProps&&u("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ot(n.type)||"instance"),i.state!==n.memoizedState&&u("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ot(n.type)||"instance")),i.componentDidUpdate(o,a,i.__reactInternalSnapshotBeforeUpdate),Hc()}var s=n.updateQueue;return void(null!==s&&(n.type!==n.elementType||wg||(i.props!==n.memoizedProps&&u("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ot(n.type)||"instance"),i.state!==n.memoizedState&&u("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ot(n.type)||"instance")),Nh(0,s,i)));case O:var l=n.updateQueue;if(null!==l){var c=null;if(null!==n.child)switch(n.child.tag){case A:c=Gs(n.child.stateNode);break;case R:c=n.child.stateNode}Nh(0,l,c)}return;case A:var f=n.stateNode;if(null===t&&n.effectTag&Ni)!function(e,t,n,r){qs(t,n)&&e.focus()}(f,n.type,n.memoizedProps);return;case j:case D:return;case W:var d=n.memoizedProps.onRender;return void("function"==typeof d&&d(n.memoizedProps.id,null===t?"mount":"update",n.actualDuration,n.treeBaseDuration,n.actualStartTime,Xm,e.memoizedInteractions));case Y:return void function(e,t){if(null===t.memoizedState){var n=t.alternate;if(null!==n){var r=n.memoizedState;if(null!==r){var i=r.dehydrated;null!==i&&function(e){Uo(e)}(i)}}}}(0,n);case Q:case q:case K:case Z:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function vv(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;switch(e.tag){case A:n=Gs(r);break;default:n=r}"function"==typeof t?t(n):(t.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().%s",Ot(e.type),It(e)),t.current=n)}}function yv(e){var t=e.ref;null!==t&&("function"==typeof t?t(null):t.current=null)}function bv(e,t,n){var r;switch(r=t,"function"==typeof Tb&&Tb(r),t.tag){case N:case B:case H:case V:case X:var i=t.updateQueue;if(null!==i){var o=i.lastEffect;if(null!==o){var a=o.next;ed(n>Bf?Bf:n,function(){var e=a;do{var n=e.destroy;void 0!==n&&fv(t,n),e=e.next}while(e!==a)})}}return;case R:cv(t);var s=t.stateNode;return void("function"==typeof s.componentWillUnmount&&function(e,t){b(null,lv,null,e,t),_()&&ob(e,w())}(t,s));case A:return void cv(t);case D:return void xv(e,t,n);case K:case G:case Z:return}}function _v(e,t,n){for(var r=t;;)if(bv(e,r,n),null===r.child||r.tag===D){if(r===t)return;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}else r.child.return=r,r=r.child}function wv(e){return e.tag===A||e.tag===O||e.tag===D}function kv(e){var t,n,r=function(e){for(var t=e.return;null!==t;){if(wv(t))return t;t=t.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e),i=r.stateNode;switch(r.tag){case A:t=i,n=!1;break;case O:case D:t=i.containerInfo,n=!0;break;case K:default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}r.effectTag&Oi&&(ru(t),r.effectTag&=~Oi);var o=function(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||wv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==A&&t.tag!==j&&t.tag!==G;){if(t.effectTag&Mi)continue e;if(null===t.child||t.tag===D)continue e;t.child.return=t,t=t.child}if(!(t.effectTag&Mi))return t.stateNode}}(e);n?function e(t,n,r){var i=t.tag;var o=i===A||i===j;if(o||ke){var a=o?t.stateNode:t.stateNode.instance;n?function(e,t,n){e.nodeType===Ln?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(r,a,n):function(e,t){var n;e.nodeType===Ln?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t);var r=e._reactRootContainer;null==r&&null===n.onclick&&fs(n)}(r,a)}else if(i===D);else{var s=t.child;if(null!==s){e(s,n,r);for(var u=s.sibling;null!==u;)e(u,n,r),u=u.sibling}}}(e,o,t):function e(t,n,r){var i=t.tag;var o=i===A||i===j;if(o||ke){var a=o?t.stateNode:t.stateNode.instance;n?function(e,t,n){e.insertBefore(t,n)}(r,a,n):function(e,t){e.appendChild(t)}(r,a)}else if(i===D);else{var s=t.child;if(null!==s){e(s,n,r);for(var u=s.sibling;null!==u;)e(u,n,r),u=u.sibling}}}(e,o,t)}function xv(e,t,n){for(var r,i,o,a,s=t,u=!1;;){if(!u){var l=s.return;e:for(;;){if(null===l)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");var c=l.stateNode;switch(l.tag){case A:r=c,i=!1;break e;case O:case D:r=c.containerInfo,i=!0;break e}l=l.return}u=!0}if(s.tag===A||s.tag===j)_v(e,s,n),i?(o=r,a=s.stateNode,o.nodeType===Ln?o.parentNode.removeChild(a):o.removeChild(a)):iu(r,s.stateNode);else if(s.tag===D){if(null!==s.child){r=s.stateNode.containerInfo,i=!0,s.child.return=s,s=s.child;continue}}else if(bv(e,s,n),null!==s.child){s.child.return=s,s=s.child;continue}if(s===t)return;for(;null===s.sibling;){if(null===s.return||s.return===t)return;(s=s.return).tag===D&&(u=!1)}s.sibling.return=s.return,s=s.sibling}}function Ev(e,t,n){xv(e,t,n),function e(t){var n=t.alternate;t.return=null,t.child=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.alternate=null,t.firstEffect=null,t.lastEffect=null,t.pendingProps=null,t.memoizedProps=null,t.stateNode=null,null!==n&&e(n)}(t)}function Sv(e,t){switch(t.tag){case N:case B:case H:case V:case X:return void hv(Lp|Up,t);case R:return;case A:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r,o=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&function(e,t,n,r,i,o){Su(e,i),ps(e,t,n,r,i)}(n,a,o,i,r)}return;case j:if(null===t.stateNode)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var s=t.stateNode,u=t.memoizedProps;null!==e&&e.memoizedProps;return void function(e,t,n){e.nodeValue=n}(s,0,u);case O:var l=t.stateNode;return void(l.hydrate&&(l.hydrate=!1,Uo(l.containerInfo)));case W:return;case Y:return function(e){var t,n=e.memoizedState,r=e;null===n?t=!1:(t=!0,r=e.child,sy=Zf());null!==r&&function(e,t){for(var n=e;;){if(n.tag===A){var r=n.stateNode;t?ou(r):au(n.stateNode,n.memoizedProps)}else if(n.tag===j){var i=n.stateNode;t?i.nodeValue="":su(i,n.memoizedProps)}else{if(n.tag===Y&&null!==n.memoizedState&&null===n.memoizedState.dehydrated){var o=n.child.sibling;o.return=n,n=o;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)return;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(r,t)}(t),void Tv(t);case Q:return void Tv(t);case q:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function Tv(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new sv),t.forEach(function(t){var r=function(e,t){var n,r=fd;null!==(n=e.stateNode)&&n.delete(t);!function(e,t){if(t===fd){var n=Ty();t=Cy(n,e,null)}var r=Ny(e,t);null!==r&&(Py(r),_b(r,t))}(e,r)}.bind(null,e,t);n.has(t)||(!0!==t.__reactDoNotTraceInteractions&&(r=o.unstable_wrap(r)),n.add(t),t.then(r,r))})}}function Cv(e){ru(e.stateNode)}var Mv="function"==typeof WeakMap?WeakMap:Map;function Nv(e,t,n){var r=wh(n,null);r.tag=vh,r.payload={element:null};var i=t.value;return r.callback=function(){rb(i),uv(e,t)},r}function Rv(e,t,n){var r=wh(n,null);r.tag=vh;var i=e.type.getDerivedStateFromError;if("function"==typeof i){var o=t.value;r.payload=function(){return uv(e,t),i(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch?r.callback=function(){var n;$d(e),"function"!=typeof i&&(n=this,null===dy?dy=new Set([n]):dy.add(n),uv(e,t));var r=t.value,o=t.stack;this.componentDidCatch(r,{componentStack:null!==o?o:""}),"function"!=typeof i&&e.expirationTime!==md&&u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ot(e.type)||"Unknown")}:r.callback=function(){$d(e)},r}function Pv(e,t,n){var r,i=e.pingCache;if(null===i?(i=e.pingCache=new Mv,r=new Set,i.set(n,r)):void 0===(r=i.get(n))&&(r=new Set,i.set(n,r)),!r.has(t)){r.add(t);var o=function(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);if(Zv===e&&Jv===n)return void(ey===Gv||ey===qv&&ny===md&&Zf()-sy<uy?jy(e,Jv):ay=!0);if(!Qb(e,n))return;var i=e.lastPingedTime;if(i!==fd&&i<n)return;e.lastPingedTime=n,Py(e),_b(e,n)}.bind(null,e,n,t);n.then(o,o)}}function Ov(e,t,n,r,i){if(n.effectTag|=Wi,n.firstEffect=n.lastEffect=null,null!==r&&"object"==typeof r&&"function"==typeof r.then){var o=r;if((n.mode&sd)===od){var a=n.alternate;a?(n.updateQueue=a.updateQueue,n.memoizedState=a.memoizedState,n.expirationTime=a.expirationTime):(n.updateQueue=null,n.memoizedState=null)}var s=Mp(Cp.current,Sp),u=t;do{if(u.tag===Y&&Dp(u,s)){var l=u.updateQueue;if(null===l){var c=new Set;c.add(o),u.updateQueue=c}else l.add(o);if((u.mode&sd)===od){if(u.effectTag|=Ai,n.effectTag&=~(zi|Wi),n.tag===R)if(null===n.alternate)n.tag=q;else{var f=wh(md,null);f.tag=gh,kh(n,f)}return void(n.expirationTime=md)}return Pv(e,i,o),u.effectTag|=Yi,void(u.expirationTime=i)}u=u.return}while(null!==u);r=new Error((Ot(n.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+It(n))}ey!==Qv&&(ey=$v),r=ov(r,n);var d=t;do{switch(d.tag){case O:var h=r;return d.effectTag|=Yi,d.expirationTime=i,void xh(d,Nv(d,h,i));case R:var p=r,m=d.type,g=d.stateNode;if((d.effectTag&Ai)===Ti&&("function"==typeof m.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&!nb(g)))return d.effectTag|=Yi,d.expirationTime=i,void xh(d,Rv(d,p,i))}d=d.return}while(null!==d)}var Dv=Math.ceil,Av=a.ReactCurrentDispatcher,Iv=a.ReactCurrentOwner,jv=a.IsSomeRendererActing,Uv=0,Lv=1,Fv=2,zv=4,Bv=8,Wv=16,Yv=32,Hv=0,Vv=1,$v=2,qv=3,Gv=4,Qv=5,Kv=Uv,Zv=null,Xv=null,Jv=fd,ey=Hv,ty=null,ny=md,ry=md,iy=null,oy=fd,ay=!1,sy=0,uy=500,ly=null,cy=!1,fy=null,dy=null,hy=!1,py=null,my=Hf,gy=fd,vy=null,yy=50,by=0,_y=null,wy=50,ky=0,xy=null,Ey=null,Sy=fd;function Ty(){return(Kv&(Wv|Yv))!==Uv?bd(Zf()):Sy!==fd?Sy:Sy=bd(Zf())}function Cy(e,t,n){var r=t.mode;if((r&sd)===od)return md;var i,o=Xf();if((r&ud)===od)return o===Ff?md:gd;if((Kv&Wv)!==Uv)return Jv;if(null!==n)i=function(e,t){return wd(e,t,xd)}(e,0|n.timeoutMs||kd);else switch(o){case Ff:i=md;break;case zf:i=Td(e);break;case Bf:case Wf:i=function(e){return wd(e,kd,xd)}(e);break;case Yf:i=hd;break;default:throw Error("Expected a valid priority level")}return null!==Zv&&i===Jv&&(i-=1),i}var My=function(e,t){!function(){if(by>yy)throw by=0,_y=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");ky>wy&&(ky=0,u("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),function(e){if(Ut&&(Kv&Wv)!==Uv)switch(e.tag){case N:case B:case V:var t=Xv&&Ot(Xv.type)||"Unknown",n=t;if(!cb.has(n)){cb.add(n);var r=Ot(e.type)||"Unknown";u("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://fb.me/setstate-in-render",r,t,t)}break;case R:fb||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),fb=!0)}}(e);var n=Ny(e,t);if(null!==n){var r,i;r=e,i=t,null!==Zv&&i>Jv&&(xy=r),bc&&(_c=!0),null!==vc&&"componentWillMount"!==vc&&"componentWillReceiveProps"!==vc&&(wc=!0);var o=Xf();if(t===md?(Kv&Bv)!==Uv&&(Kv&(Wv|Yv))===Uv?(_b(n,t),Oy(n)):(Py(n),_b(n,t),Kv===Uv&&rd()):(Py(n),_b(n,t)),(Kv&zv)!==Uv&&(o===zf||o===Ff))if(null===vy)vy=new Map([[n,t]]);else{var a=vy.get(n);(void 0===a||a>t)&&vy.set(n,t)}}else!function(e){var t=e.tag;if(t===O||t===R||t===N||t===B||t===H||t===V||t===X){var n=Ot(e.type)||"ReactComponent";if(null!==lb){if(lb.has(n))return;lb.add(n)}else lb=new Set([n]);u("Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s",t===R?"the componentWillUnmount method":"a useEffect cleanup function",It(e))}}(e)};function Ny(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&e.tag===O)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t?(r.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t)):null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&r.tag===O){i=r.stateNode;break}r=r.return}return null!==i&&(Zv===i&&(Yy(t),ey===Gv&&Kb(i,Jv)),Zb(i,t)),i}function Ry(e){var t=e.lastExpiredTime;if(t!==fd)return t;var n=e.firstPendingTime;if(!Qb(e,n))return n;var r=e.lastPingedTime,i=e.nextKnownPendingLevel,o=r>i?r:i;return o<=hd&&n!==o?fd:o}function Py(e){if(e.lastExpiredTime!==fd)return e.callbackExpirationTime=md,e.callbackPriority=Ff,void(e.callbackNode=nd(Oy.bind(null,e)));var t=Ry(e),n=e.callbackNode;if(t!==fd){var r,i=Cd(Ty(),t);if(null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=i)return;!function(e){e!==Lf&&Mf(e)}(n)}e.callbackExpirationTime=t,e.callbackPriority=i,r=t===md?nd(Oy.bind(null,e)):td(i,function e(t,n){Sy=fd;if(n){var r=Ty();return Xb(t,r),Py(t),null}var i=Ry(t);if(i!==fd){var o=t.callbackNode;if((Kv&(Wv|Yv))!==Uv)throw Error("Should not already be working.");if(eb(),t===Zv&&i===Jv||(jy(t,i),wb(t,i)),null!==Xv){var a=Kv;Kv|=Wv;var s=Ly(),u=zy(t);for(Vc(Xv);;)try{Vy();break}catch(e){Uy(t,e)}if(ih(),Kv=a,Fy(s),By(u),ey===Vv){var l=ty;throw sb(),jy(t,i),Kb(t,i),Py(t),l}if(null!==Xv)sb();else{ab();var c=t.finishedWork=t.current.alternate;t.finishedExpirationTime=i,function(e,t,n,r){switch(Zv=null,n){case Hv:case Vv:throw Error("Root did not complete. This is a bug in React.");case $v:Xb(e,r>hd?hd:r);break;case qv:Kb(e,r);var i=e.lastSuspendedTime;r===i&&(e.nextKnownPendingLevel=Gy(t));var o=ny===md;if(o&&!db.current){var a=sy+uy-Zf();if(a>10){if(ay){var s=e.lastPingedTime;if(s===fd||s>=r){e.lastPingedTime=r,jy(e,r);break}}var u=Ry(e);if(u!==fd&&u!==r)break;if(i!==fd&&i!==r){e.lastPingedTime=i;break}e.timeoutHandle=eu(Ky.bind(null,e),a);break}}Ky(e);break;case Gv:Kb(e,r);var l=e.lastSuspendedTime;if(r===l&&(e.nextKnownPendingLevel=Gy(t)),!db.current){if(ay){var c=e.lastPingedTime;if(c===fd||c>=r){e.lastPingedTime=r,jy(e,r);break}}var f,d=Ry(e);if(d!==fd&&d!==r)break;if(l!==fd&&l!==r){e.lastPingedTime=l;break}if(ry!==md)f=_d(ry)-Zf();else if(ny===md)f=0;else{var h=function(e){return _d(e)-kd}(ny),p=Zf(),m=_d(r)-p,g=p-h;g<0&&(g=0),f=function(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:1960*Dv(e/1960)}(g)-g,m<f&&(f=m)}if(f>10){e.timeoutHandle=eu(Ky.bind(null,e),f);break}}Ky(e);break;case Qv:if(!db.current&&ny!==md&&null!==iy){var v=function(e,t,n){var r=0|n.busyMinDurationMs;if(r<=0)return 0;var i=0|n.busyDelayMs,o=Zf(),a=function(e,t){return _d(e)-(0|t.timeoutMs||kd)}(e,n),s=o-a;if(s<=i)return 0;return i+r-s}(ny,0,iy);if(v>10){Kb(e,r),e.timeoutHandle=eu(Ky.bind(null,e),v);break}}Ky(e);break;default:throw Error("Unknown root exit status.")}}(t,c,ey,i)}if(Py(t),t.callbackNode===o)return e.bind(null,t)}}return null}.bind(null,e),{timeout:_d(t)-Zf()}),e.callbackNode=r}else null!==n&&(e.callbackNode=null,e.callbackExpirationTime=fd,e.callbackPriority=Hf)}function Oy(e){var t=e.lastExpiredTime,n=t!==fd?t:md;if((Kv&(Wv|Yv))!==Uv)throw Error("Should not already be working.");if(eb(),e===Zv&&n===Jv||(jy(e,n),wb(e,n)),null!==Xv){var r=Kv;Kv|=Wv;var i=Ly(),o=zy(e);for(Vc(Xv);;)try{Hy();break}catch(t){Uy(e,t)}if(ih(),Kv=r,Fy(i),By(o),ey===Vv){var a=ty;throw sb(),jy(e,n),Kb(e,n),Py(e),a}if(null!==Xv)throw Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");ab(),e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,function(e){Zv=null,Ky(e)}(e),Py(e)}return null}function Dy(e,t){var n=Kv;Kv|=Lv;try{return e(t)}finally{(Kv=n)===Uv&&rd()}}function Ay(e,t){var n=Kv;Kv&=~Lv,Kv|=Bv;try{return e(t)}finally{(Kv=n)===Uv&&rd()}}function Iy(e,t){if((Kv&(Wv|Yv))!==Uv)throw Error("flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.");var n=Kv;Kv|=Lv;try{return ed(Ff,e.bind(null,t))}finally{Kv=n,rd()}}function jy(e,t){e.finishedWork=null,e.finishedExpirationTime=fd;var n=e.timeoutHandle;if(n!==nu&&(e.timeoutHandle=nu,tu(n)),null!==Xv)for(var r=Xv.return;null!==r;)iv(r),r=r.return;Zv=e,Xv=Fb(e.current,null),Jv=t,ey=Hv,ty=null,ny=md,ry=md,iy=null,oy=fd,ay=!1,Ey=null,Md.discardPendingWarnings()}function Uy(e,t){for(;;){try{if(ih(),om(),zt(),null===Xv||null===Xv.return)return ey=Vv,ty=t,Xv=null,null;_e&&Xv.mode&ld&&rg(Xv,!0),Ov(e,Xv.return,Xv,t,Jv),Xv=qy(Xv)}catch(e){t=e;continue}return}}function Ly(e){var t=Av.current;return Av.current=Bm,null===t?Bm:t}function Fy(e){Av.current=e}function zy(e){var t=o.__interactionsRef.current;return o.__interactionsRef.current=e.memoizedInteractions,t}function By(e){o.__interactionsRef.current=e}function Wy(e,t){e<ny&&e>hd&&(ny=e),null!==t&&e<ry&&e>hd&&(ry=e,iy=t)}function Yy(e){e>oy&&(oy=e)}function Hy(){for(;null!==Xv;)Xv=$y(Xv)}function Vy(){for(;null!==Xv&&!Vf();)Xv=$y(Xv)}function $y(e){var t,n=e.alternate;return Fc(e),Bt(e),(e.mode&ld)!==od?(tg(e),t=ub(n,e,Jv),rg(e,!0)):t=ub(n,e,Jv),zt(),e.memoizedProps=e.pendingProps,null===t&&(t=qy(e)),Iv.current=null,t}function qy(e){Xv=e;do{var t=Xv.alternate,n=Xv.return;if((Xv.effectTag&Wi)===Ti){Bt(Xv);var r=void 0;if((Xv.mode&ld)===od?r=nv(t,Xv,Jv):(tg(Xv),r=nv(t,Xv,Jv),rg(Xv,!1)),Bc(Xv),zt(),Qy(Xv),null!==r)return r;if(null!==n&&(n.effectTag&Wi)===Ti)null===n.firstEffect&&(n.firstEffect=Xv.firstEffect),null!==Xv.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=Xv.firstEffect),n.lastEffect=Xv.lastEffect),Xv.effectTag>Ci&&(null!==n.lastEffect?n.lastEffect.nextEffect=Xv:n.firstEffect=Xv,n.lastEffect=Xv)}else{var i=rv(Xv);if((Xv.mode&ld)!==od){rg(Xv,!1);for(var o=Xv.actualDuration,a=Xv.child;null!==a;)o+=a.actualDuration,a=a.sibling;Xv.actualDuration=o}if(null!==i)return Wc(Xv),i.effectTag&=Bi,i;Bc(Xv),null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=Wi)}var s=Xv.sibling;if(null!==s)return s;Xv=n}while(null!==Xv);return ey===Hv&&(ey=Qv),null}function Gy(e){var t=e.expirationTime,n=e.childExpirationTime;return t>n?t:n}function Qy(e){if(Jv===dd||e.childExpirationTime!==dd){var t=fd;if((e.mode&ld)!==od){for(var n=e.actualDuration,r=e.selfBaseDuration,i=null===e.alternate||e.child!==e.alternate.child,o=e.child;null!==o;){var a=o.expirationTime,s=o.childExpirationTime;a>t&&(t=a),s>t&&(t=s),i&&(n+=o.actualDuration),r+=o.treeBaseDuration,o=o.sibling}e.actualDuration=n,e.treeBaseDuration=r}else for(var u=e.child;null!==u;){var l=u.expirationTime,c=u.childExpirationTime;l>t&&(t=l),c>t&&(t=c),u=u.sibling}e.childExpirationTime=t}}function Ky(e){var t=Xf();return ed(Ff,function(e,t){do{eb()}while(null!==py);if(Md.flushLegacyContextWarning(),Md.flushPendingUnsafeLifecycleWarnings(),(Kv&(Wv|Yv))!==Uv)throw Error("Should not already be working.");var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=fd,n===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackExpirationTime=fd,e.callbackPriority=Hf,e.nextKnownPendingLevel=fd,mc&&(bc=!0,_c=!1,Ec.clear(),Tc("(Committing Changes)"));var i,o=Gy(n);(function(e,t,n){e.firstPendingTime=n,t<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=fd:t<=e.firstSuspendedTime&&(e.firstSuspendedTime=t-1),t<=e.lastPingedTime&&(e.lastPingedTime=fd),t<=e.lastExpiredTime&&(e.lastExpiredTime=fd)})(e,r,o),e===Zv&&(Zv=null,Xv=null,Jv=fd);n.effectTag>Ci?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect;if(null!==i){var a=Kv;Kv|=Yv;var s=zy(e);Iv.current=null,qc(),Qs(e.containerInfo),ly=i;do{if(b(null,Zy,null),_()){if(null===ly)throw Error("Should be working on an effect.");var u=w();ob(ly,u),ly=ly.nextEffect}}while(null!==ly);Gc(),eg(),Qc(),ly=i;do{if(b(null,Xy,null,e,t),_()){if(null===ly)throw Error("Should be working on an effect.");var l=w();ob(ly,l),ly=ly.nextEffect}}while(null!==ly);Kc(),e.containerInfo,Rs($s),Go(Vs),Vs=null,$s=null,e.current=n,Zc(),ly=i;do{if(b(null,Jy,null,e,r),_()){if(null===ly)throw Error("Should be working on an effect.");var c=w();ob(ly,c),ly=ly.nextEffect}}while(null!==ly);Xc(),ly=null,$f(),By(s),Kv=a}else e.current=n,qc(),Gc(),eg(),Qc(),Kc(),Zc(),Xc();!function(){if(mc){var e=null;_c?e="Lifecycle hook scheduled a cascading update":kc>0&&(e="Caused by a cascading update in earlier commit"),_c=!1,kc++,bc=!1,Ec.clear(),Cc("(Committing Changes)","(Committing Changes)",e)}}();var f=hy;if(hy)hy=!1,py=e,gy=r,my=t;else for(ly=i;null!==ly;){var d=ly.nextEffect;ly.nextEffect=null,ly=d}var h=e.firstPendingTime;if(h!==fd){if(null!==Ey){var p=Ey;Ey=null;for(var m=0;m<p.length;m++)bb(e,p[m],e.memoizedInteractions)}_b(e,h)}else dy=null;f||kb(e,r);h===md?e===_y?by++:(by=0,_y=e):by=0;if(function(e,t){"function"==typeof Sb&&Sb(e,t)}(n.stateNode,r),Py(e),cy){cy=!1;var g=fy;throw fy=null,g}if((Kv&Bv)!==Uv)return null;return rd(),null}.bind(null,e,t)),null}function Zy(){for(;null!==ly;){var e=ly.effectTag;if((e&ji)!==Ti)Bt(ly),Lc(),dv(ly.alternate,ly),zt();(e&Ui)!==Ti&&(hy||(hy=!0,td(Bf,function(){return eb(),null}))),ly=ly.nextEffect}}function Xy(e,t){for(;null!==ly;){Bt(ly);var n=ly.effectTag;if(n&Oi&&Cv(ly),n&Ii){var r=ly.alternate;null!==r&&yv(r)}switch(n&(Mi|Ni|Pi|Li)){case Mi:kv(ly),ly.effectTag&=~Mi;break;case Ri:kv(ly),ly.effectTag&=~Mi,Sv(ly.alternate,ly);break;case Li:ly.effectTag&=~Li;break;case Fi:ly.effectTag&=~Li,Sv(ly.alternate,ly);break;case Ni:Sv(ly.alternate,ly);break;case Pi:Ev(e,ly,t)}Lc(),zt(),ly=ly.nextEffect}}function Jy(e,t){for(;null!==ly;){Bt(ly);var n=ly.effectTag;if(n&(Ni|Di))Lc(),gv(e,ly.alternate,ly);n&Ii&&(Lc(),vv(ly)),zt(),ly=ly.nextEffect}}function eb(){if(my!==Hf){var e=my>Bf?Bf:my;return my=Hf,ed(e,tb)}}function tb(){if(null===py)return!1;var e=py,t=gy;if(py=null,gy=fd,(Kv&(Wv|Yv))!==Uv)throw Error("Cannot flush passive effects while already rendering.");var n=Kv;Kv|=Yv;for(var r=zy(e),i=e.current.firstEffect;null!==i;){if(Bt(i),b(null,mv,null,i),_()){if(null===i)throw Error("Should be working on an effect.");ob(i,w())}zt();var o=i.nextEffect;i.nextEffect=null,i=o}return By(r),kb(e,t),Kv=n,rd(),ky=null===py?0:ky+1,!0}function nb(e){return null!==dy&&dy.has(e)}var rb=function(e){cy||(cy=!0,fy=e)};function ib(e,t,n){kh(e,Nv(e,ov(n,t),md));var r=Ny(e,md);null!==r&&(Py(r),_b(r,md))}function ob(e,t){if(e.tag!==O)for(var n=e.return;null!==n;){if(n.tag===O)return void ib(n,e,t);if(n.tag===R){var r=n.type,i=n.stateNode;if("function"==typeof r.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&!nb(i)){kh(n,Rv(n,ov(t,e),md));var o=Ny(n,md);return void(null!==o&&(Py(o),_b(o,md)))}}n=n.return}else ib(e,e,t)}function ab(){$c(xy,!0),xy=null}function sb(){$c(xy,!1),xy=null}var ub,lb=null;ub=function(e,t,n){var r=$b(null,t);try{return Xg(e,t,n)}catch(i){if(null!==i&&"object"==typeof i&&"function"==typeof i.then)throw i;if(ih(),om(),iv(t),$b(t,r),t.mode&ld&&tg(t),b(null,Xg,null,e,t,n),_())throw w();throw i}};var cb,fb=!1;cb=new Set;var db={current:!1};function hb(e){!0===jv.current&&!0!==db.current&&u("It looks like you're using the wrong act() around your test interactions.\nBe sure to use the matching version of act() corresponding to your renderer:\n\n// for react-dom:\nimport {act} from 'react-dom/test-utils';\n// ...\nact(() => ...);\n\n// for react-test-renderer:\nimport TestRenderer from 'react-test-renderer';\nconst {act} = TestRenderer;\n// ...\nact(() => ...);%s",It(e))}function pb(e){(e.mode&ad)!==od&&!1===jv.current&&!1===db.current&&u("An update to %s ran an effect, but was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s",Ot(e.type),It(e))}var mb=function(e){Kv===Uv&&!1===jv.current&&!1===db.current&&u("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s",Ot(e.type),It(e))},gb=!1;function vb(e,t){return 1e3*t+e.interactionThreadID}function yb(e){null===Ey?Ey=[e]:Ey.push(e)}function bb(e,t,n){if(n.size>0){var r=e.pendingInteractionMap,i=r.get(t);null!=i?n.forEach(function(e){i.has(e)||e.__count++,i.add(e)}):(r.set(t,new Set(n)),n.forEach(function(e){e.__count++}));var a=o.__subscriberRef.current;if(null!==a){var s=vb(e,t);a.onWorkScheduled(n,s)}}}function _b(e,t){bb(e,t,o.__interactionsRef.current)}function wb(e,t){var n=new Set;if(e.pendingInteractionMap.forEach(function(e,r){r>=t&&e.forEach(function(e){return n.add(e)})}),e.memoizedInteractions=n,n.size>0){var r=o.__subscriberRef.current;if(null!==r){var i=vb(e,t);try{r.onWorkStarted(n,i)}catch(e){td(Ff,function(){throw e})}}}}function kb(e,t){var n,r=e.firstPendingTime;try{if(null!==(n=o.__subscriberRef.current)&&e.memoizedInteractions.size>0){var i=vb(e,t);n.onWorkStopped(e.memoizedInteractions,i)}}catch(e){td(Ff,function(){throw e})}finally{var a=e.pendingInteractionMap;a.forEach(function(e,t){t>r&&(a.delete(t),e.forEach(function(e){if(e.__count--,null!==n&&0===e.__count)try{n.onInteractionScheduledWorkCompleted(e)}catch(e){td(Ff,function(){throw e})}}))})}}var xb,Eb=null,Sb=null,Tb=null,Cb=!1,Mb="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function Nb(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return u("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var n=t.inject(e);"function"==typeof t.onScheduleFiberRoot&&(Eb=function(e,r){try{t.onScheduleFiberRoot(n,e,r)}catch(e){Cb||(Cb=!0,u("React instrumentation encountered an error: %s",e))}}),Sb=function(e,r){try{var i=(e.current.effectTag&Ai)===Ai;if(_e){var o=Cd(bd(Zf()),r);t.onCommitFiberRoot(n,e,o,i)}else t.onCommitFiberRoot(n,e,void 0,i)}catch(e){Cb||(Cb=!0,u("React instrumentation encountered an error: %s",e))}},Tb=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){Cb||(Cb=!0,u("React instrumentation encountered an error: %s",e))}}}catch(e){u("React instrumentation encountered an error: %s.",e)}return!0}xb=!1;try{var Rb=Object.preventExtensions({}),Pb=new Map([[Rb,null]]),Ob=new Set([Rb]);Pb.set(0,0),Ob.add(0)}catch(e){xb=!0}var Db=1;function Ab(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.effectTag=Ti,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=fd,this.childExpirationTime=fd,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugID=Db++,this._debugIsCurrentlyTiming=!1,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,xb||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var Ib,jb,Ub=function(e,t,n,r){return new Ab(e,t,n,r)};function Lb(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function Fb(e,t){var n=e.alternate;null===n?((n=Ub(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugID=e._debugID,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=Ti,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null,n.actualDuration=0,n.actualStartTime=-1),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{expirationTime:r.expirationTime,firstContext:r.firstContext,responders:r.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case P:case N:case V:n.type=Wd(e.type);break;case R:n.type=Yd(e.type);break;case B:n.type=Hd(e.type)}return n}function zb(e,t){e.effectTag&=Mi,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null;var n=e.alternate;if(null===n)e.childExpirationTime=fd,e.expirationTime=t,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childExpirationTime=n.childExpirationTime,e.expirationTime=n.expirationTime,e.child=n.child,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue;var r=n.dependencies;e.dependencies=null===r?null:{expirationTime:r.expirationTime,firstContext:r.firstContext,responders:r.responders},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function Bb(e,t,n,r,i,o){var a,s=P,l=e;if("function"==typeof e)Lb(e)?(s=R,l=Yd(l)):l=Wd(l);else if("string"==typeof e)s=A;else e:switch(e){case dt:return Yb(n.children,i,o,t);case vt:s=L,i|=ud|sd|ad;break;case ht:s=L,i|=ad;break;case pt:return function(e,t,n,r){"string"==typeof e.id&&"function"==typeof e.onRender||u('Profiler must specify an "id" string and "onRender" function as props');var i=Ub(W,e,r,t|ld);return i.elementType=pt,i.type=pt,i.expirationTime=n,i}(n,i,o,t);case bt:return function(e,t,n,r){var i=Ub(Y,e,r,t);return i.type=bt,i.elementType=bt,i.expirationTime=n,i}(n,i,o,t);case _t:return function(e,t,n,r){var i=Ub(Q,e,r,t);return i.type=_t,i.elementType=_t,i.expirationTime=n,i}(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case mt:s=z;break e;case gt:s=F;break e;case yt:s=B,l=Hd(l);break e;case wt:s=H;break e;case kt:s=$,l=null;break e;case xt:s=X;break e}var c="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(c+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var f=r?Ot(r.type):null;throw f&&(c+="\n\nCheck the render method of `"+f+"`."),Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+c)}return(a=Ub(s,n,t,i)).elementType=e,a.type=l,a.expirationTime=o,a}function Wb(e,t,n){var r;r=e._owner;var i=Bb(e.type,e.key,e.props,r,t,n);return i._debugSource=e._source,i._debugOwner=e._owner,i}function Yb(e,t,n,r){var i=Ub(U,e,r,t);return i.expirationTime=n,i}function Hb(e,t,n){var r=Ub(j,e,null,t);return r.expirationTime=n,r}function Vb(e,t,n){var r=null!==e.children?e.children:[],i=Ub(D,r,e.key,t);return i.expirationTime=n,i.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},i}function $b(e,t){return null===e&&(e=Ub(P,null,null,od)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.effectTag=t.effectTag,e.nextEffect=t.nextEffect,e.firstEffect=t.firstEffect,e.lastEffect=t.lastEffect,e.expirationTime=t.expirationTime,e.childExpirationTime=t.childExpirationTime,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugID=t._debugID,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugIsCurrentlyTiming=t._debugIsCurrentlyTiming,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function qb(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pendingChildren=null,this.pingCache=null,this.finishedExpirationTime=fd,this.finishedWork=null,this.timeoutHandle=nu,this.context=null,this.pendingContext=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=Hf,this.firstPendingTime=fd,this.firstSuspendedTime=fd,this.lastSuspendedTime=fd,this.nextKnownPendingLevel=fd,this.lastPingedTime=fd,this.lastExpiredTime=fd,this.interactionThreadID=o.unstable_getThreadID(),this.memoizedInteractions=new Set,this.pendingInteractionMap=new Map}function Gb(e,t,n,r){var i=new qb(e,t,n),o=function(e){var t;return t=e===Sf?ud|sd|ad:e===Ef?sd|ad:od,Mb&&(t|=ld),Ub(O,null,null,t)}(t);return i.current=o,o.stateNode=i,bh(o),i}function Qb(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;return n!==fd&&n>=t&&r<=t}function Kb(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||n===fd)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=fd),t<=e.lastExpiredTime&&(e.lastExpiredTime=fd)}function Zb(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;n!==fd&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=fd:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Xb(e,t){var n=e.lastExpiredTime;(n===fd||n>t)&&(e.lastExpiredTime=t)}function Jb(e,t,n,i){var o,a;o=t,a=e,"function"==typeof Eb&&Eb(o,a);var s,l=t.current,c=Ty();"undefined"!=typeof jest&&(s=l,!1===gb&&void 0===r.unstable_flushAllWithoutAsserting&&(s.mode&sd||s.mode&ud)&&(gb=!0,u("In Concurrent or Sync modes, the \"scheduler\" module needs to be mocked to guarantee consistent behaviour across tests and browsers. For example, with jest: \njest.mock('scheduler', () => require('scheduler/unstable_mock'));\n\nFor more info, visit https://fb.me/react-mock-scheduler")),hb(l));var f=Ph(),d=Cy(c,l,f),h=function(e){if(!e)return sf;var t=Si(e),n=kf(t);if(t.tag===R){var r=t.type;if(mf(r))return bf(t,r,n)}return n}(n);null===t.context?t.context=h:t.pendingContext=h,Ut&&null!==jt&&!Ib&&(Ib=!0,u("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",Ot(jt.type)||"Unknown"));var p=wh(d,f);return p.payload={element:e},null!==(i=void 0===i?null:i)&&("function"!=typeof i&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),p.callback=i),kh(l,p),My(l,d),d}function e_(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case A:return Gs(t.child.stateNode);default:return t.child.stateNode}}function t_(e,t){var n=e.memoizedState;null!==n&&null!==n.dehydrated&&n.retryTime<t&&(n.retryTime=t)}function n_(e,t){t_(e,t);var n=e.alternate;n&&t_(n,t)}function r_(e){var t=function(e){var t=Qi(e);if(!t)return null;for(var n=t;;){if(n.tag===A||n.tag===j||ke)return n;if(n.child&&n.tag!==D)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}(e);return null===t?null:t.tag===K?t.stateNode.instance:t.stateNode}Ib=!1,jb={};var i_=function(e){return!1};var o_=null,a_=null,s_=null,u_=null,l_=function(e,t,r,i){if(r>=t.length)return i;var o=t[r],a=Array.isArray(e)?e.slice():n({},e);return a[o]=l_(e[o],t,r+1,i),a},c_=function(e,t,n){return l_(e,t,0,n)};o_=function(e,t,r,i){for(var o=e.memoizedState;null!==o&&t>0;)o=o.next,t--;if(null!==o){var a=c_(o.memoizedState,r,i);o.memoizedState=a,o.baseState=a,e.memoizedProps=n({},e.memoizedProps),My(e,md)}},a_=function(e,t,n){e.pendingProps=c_(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),My(e,md)},s_=function(e){My(e,md)},u_=function(e){i_=e};a.IsSomeRendererActing;function f_(e,t){this._internalRoot=h_(e,Sf,t)}function d_(e,t,n){this._internalRoot=h_(e,t,n)}function h_(e,t,n){var r,i,o,a=null!=n&&!0===n.hydrate,s=(null!=n&&n.hydrationOptions,function(e,t,n,r){return Gb(e,t,n)}(e,t,a));if(r=s.current,e[vu]=r,a&&t!==xf){var u=e.nodeType===Fn?e:e.ownerDocument;o=Ei(i=u),Eo.forEach(function(e){Co(e,i,o)}),So.forEach(function(e){Co(e,i,o)})}return s}function p_(e){return!(!e||e.nodeType!==jn&&e.nodeType!==Fn&&e.nodeType!==zn&&(e.nodeType!==Ln||" react-mount-point-unstable "!==e.nodeValue))}f_.prototype.render=d_.prototype.render=function(e){var t=this._internalRoot;"function"==typeof arguments[1]&&u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var n=t.containerInfo;if(n.nodeType!==Ln){var r=r_(t.current);r&&r.parentNode!==n&&u("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}Jb(e,t,null,null)},f_.prototype.unmount=d_.prototype.unmount=function(){"function"==typeof arguments[0]&&u("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot,t=e.containerInfo;Jb(null,e,null,function(){bu(t)})};var m_,g_=a.ReactCurrentOwner,v_=!1;function y_(e){return e?e.nodeType===Fn?e.documentElement:e.firstChild:null}function b_(e,t){var n=t||function(e){var t=y_(e);return!(!t||t.nodeType!==jn||!t.hasAttribute(We))}(e);if(!n)for(var r,i=!1;r=e.lastChild;)!i&&r.nodeType===jn&&r.hasAttribute(We)&&(i=!0,u("render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),e.removeChild(r);return!n||t||v_||(v_=!0,s("render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v17. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML.")),function(e,t){return new d_(e,xf,t)}(e,n?{hydrate:!0}:void 0)}function __(e,t,n,r,i){m_(n),function(e,t){null!==e&&"function"!=typeof e&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===i?null:i,"render");var o,a=n._reactRootContainer;if(a){if(o=a._internalRoot,"function"==typeof i){var s=i;i=function(){var e=e_(o);s.call(e)}}Jb(t,o,e,i)}else{if(a=n._reactRootContainer=b_(n,r),o=a._internalRoot,"function"==typeof i){var l=i;i=function(){var e=e_(o);l.call(e)}}Ay(function(){Jb(t,o,e,i)})}return e_(o)}m_=function(e){if(e._reactRootContainer&&e.nodeType!==Ln){var t=r_(e._reactRootContainer._internalRoot.current);t&&t.parentNode!==e&&u("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=y_(e);!(!r||!ku(r))&&!n&&u("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===jn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&u("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};oo=function(e){if(e.tag===Y){var t=Td(Ty());My(e,t),n_(e,t)}},function(e){ao=e}(function(e){e.tag===Y&&(My(e,pd),n_(e,pd))}),function(e){so=e}(function(e){if(e.tag===Y){var t=Cy(Ty(),e,null);My(e,t),n_(e,t)}});var w_=!1;function k_(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!p_(t))throw Error("Target container is not a DOM element.");return function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ft,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||u("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),pe=function(e,t,n){switch(t){case"input":return void cn(e,n);case"textarea":return void function(e,t){Sn(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&bn(n,!!t.multiple,r,!1)}(e,n)}},Ee=Dy,Se=function(e,t,n,r,i){var o=Kv;Kv|=zv;try{return ed(zf,e.bind(null,t,n,r,i))}finally{(Kv=o)===Uv&&rd()}},Te=function(){(Kv&(Lv|Wv|Yv))===Uv?(function(){if(null!==vy){var e=vy;vy=null,e.forEach(function(e,t){Xb(t,e),Py(t)}),rd()}}(),eb()):(Kv&Wv)!==Uv&&u("unstable_flushDiscreteUpdates: Cannot flush updates when React is already rendering.")},Ce=function(e,t){var n=Kv;Kv|=Fv;try{return e(t)}finally{(Kv=n)===Uv&&rd()}};var x_={Events:[ku,xu,Eu,le,oe,Du,function(e){Xi(e,Ou)},ye,be,Xo,no,eb,db]};if(!function(e){var t=e.findFiberByHostInstance,r=a.ReactCurrentDispatcher;return Nb(n({},e,{overrideHookState:o_,overrideProps:a_,setSuspenseHandler:u_,scheduleUpdate:s_,currentDispatcherRef:r,findHostInstanceByFiber:function(e){var t=Ki(e);return null===t?null:t.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:Qd,scheduleRefresh:qd,scheduleRoot:Gd,setRefreshHandler:Bd,getCurrentFiber:function(){return jt}}))}({findFiberByHostInstance:wu,bundleType:1,version:"16.14.0",rendererPackageName:"react-dom"})&&ce&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var E_=window.location.protocol;/^(https?|file):$/.test(E_)&&console.info("%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools"+("file:"===E_?"\nYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq":""),"font-weight:bold")}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=x_,t.createPortal=k_,t.findDOMNode=function(e){var t=g_.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||u("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ot(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:e.nodeType===jn?e:function(e,t){var n=Si(e);if(void 0===n)throw"function"==typeof e.render?Error("Unable to find node on an unmounted component."):Error("Argument appears to not be a ReactComponent. Keys: "+Object.keys(e));var r=Ki(n);if(null===r)return null;if(r.mode&ad){var i=Ot(n.type)||"Component";jb[i]||(jb[i]=!0,n.mode&ad?u("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node%s",t,t,i,It(r)):u("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node%s",t,t,i,It(r)))}return r.stateNode}(e,"findDOMNode")},t.flushSync=Iy,t.hydrate=function(e,t,n){if(!p_(t))throw Error("Target container is not a DOM element.");return _u(t)&&void 0===t._reactRootContainer&&u("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call createRoot(container, {hydrate: true}).render(element)?"),__(null,e,t,!0,n)},t.render=function(e,t,n){if(!p_(t))throw Error("Target container is not a DOM element.");return _u(t)&&void 0===t._reactRootContainer&&u("You are calling ReactDOM.render() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.render(element)?"),__(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!p_(e))throw Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(_u(e)&&void 0===e._reactRootContainer&&u("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=y_(e);return t&&!ku(t)&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),Ay(function(){__(null,null,e,!1,function(){e._reactRootContainer=null,bu(e)})}),!0}var n=y_(e),r=!(!n||!ku(n)),i=e.nodeType===jn&&p_(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",i?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},t.unstable_batchedUpdates=Dy,t.unstable_createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return w_||(w_=!0,s('The ReactDOM.unstable_createPortal() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactDOM.createPortal() instead. It has the exact same API, but without the "unstable_" prefix.')),k_(e,t,n)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(!p_(n))throw Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternalFiber)throw Error("parentComponent must be a valid React Component");return __(e,t,n,!1,r)}(e,t,n,r)},t.version="16.14.0"}()}),Hn=(Yn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Yn.createPortal,Yn.findDOMNode,Yn.flushSync,Yn.hydrate,Yn.render,Yn.unmountComponentAtNode,Yn.unstable_batchedUpdates,Yn.unstable_createPortal,Yn.unstable_renderSubtreeIntoContainer,Yn.version,a(function(e){e.exports=Yn}));function Vn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var $n=a(function(e,t){!function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:var h=e.type;switch(h){case l:case c:case i:case a:case o:case d:return h;default:var g=h&&h.$$typeof;switch(g){case u:case f:case m:case p:case s:return g;default:return t}}case r:return t}}}var w=l,k=c,x=u,E=s,S=n,T=f,C=i,M=m,N=p,R=r,P=a,O=o,D=d,A=!1;function I(e){return _(e)===c}t.AsyncMode=w,t.ConcurrentMode=k,t.ContextConsumer=x,t.ContextProvider=E,t.Element=S,t.ForwardRef=T,t.Fragment=C,t.Lazy=M,t.Memo=N,t.Portal=R,t.Profiler=P,t.StrictMode=O,t.Suspense=D,t.isAsyncMode=function(e){return A||(A=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(e)||_(e)===l},t.isConcurrentMode=I,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===m},t.isMemo=function(e){return _(e)===p},t.isPortal=function(e){return _(e)===r},t.isProfiler=function(e){return _(e)===a},t.isStrictMode=function(e){return _(e)===o},t.isSuspense=function(e){return _(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===a||e===o||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===b||e.$$typeof===g)},t.typeOf=_}()}),qn=($n.AsyncMode,$n.ConcurrentMode,$n.ContextConsumer,$n.ContextProvider,$n.Element,$n.ForwardRef,$n.Fragment,$n.Lazy,$n.Memo,$n.Portal,$n.Profiler,$n.StrictMode,$n.Suspense,$n.isAsyncMode,$n.isConcurrentMode,$n.isContextConsumer,$n.isContextProvider,$n.isElement,$n.isForwardRef,$n.isFragment,$n.isLazy,$n.isMemo,$n.isPortal,$n.isProfiler,$n.isStrictMode,$n.isSuspense,$n.isValidElementType,$n.typeOf,a(function(e){e.exports=$n})),Gn=qn.isValidElementType,Qn=Function.call.bind(Object.prototype.hasOwnProperty),Kn=function(){};function Zn(){return null}Kn=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}};var Xn=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r="@@iterator";var i="<<anonymous>>",o={array:l("array"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:u(Zn),arrayOf:function(e){return u(function(t,n,r,i,o){if("function"!=typeof e)return new s("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a)){var u=d(a);return new s("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an array.")}for(var l=0;l<a.length;l++){var c=e(a,l,r,i,o+"["+l+"]",v);if(c instanceof Error)return c}return null})},element:function(){return u(function(t,n,r,i,o){var a=t[n];if(!e(a)){var u=d(a);return new s("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected a single ReactElement.")}return null})}(),elementType:function(){return u(function(e,t,n,r,i){var o=e[t];if(!qn.isValidElementType(o)){var a=d(o);return new s("Invalid "+r+" `"+i+"` of type `"+a+"` supplied to `"+n+"`, expected a single ReactElement type.")}return null})}(),instanceOf:function(e){return u(function(t,n,r,o,a){if(!(t[n]instanceof e)){var u=e.name||i,l=function(e){if(!e.constructor||!e.constructor.name)return i;return e.constructor.name}(t[n]);return new s("Invalid "+o+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected instance of `"+u+"`.")}return null})},node:function(){return u(function(e,t,n,r,i){if(!f(e[t]))return new s("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.");return null})}(),objectOf:function(e){return u(function(t,n,r,i,o){if("function"!=typeof e)return new s("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],u=d(a);if("object"!==u)return new s("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var l in a)if(Qn(a,l)){var c=e(a,l,r,i,o+"."+l,v);if(c instanceof Error)return c}return null})},oneOf:function(e){if(!Array.isArray(e))return arguments.length>1?Kn("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):Kn("Invalid argument supplied to oneOf, expected an array."),Zn;return u(function(t,n,r,i,o){for(var u=t[n],l=0;l<e.length;l++)if(a(u,e[l]))return null;var c=JSON.stringify(e,function(e,t){var n=h(t);return"symbol"===n?String(t):t});return new s("Invalid "+i+" `"+o+"` of value `"+String(u)+"` supplied to `"+r+"`, expected one of "+c+".")})},oneOfType:function(e){if(!Array.isArray(e))return Kn("Invalid argument supplied to oneOfType, expected an instance of array."),Zn;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return Kn("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+p(n)+" at index "+t+"."),Zn}return u(function(t,n,r,i,o){for(var a=0;a<e.length;a++){var u=e[a];if(null==u(t,n,r,i,o,v))return null}return new s("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")})},shape:function(e){return u(function(t,n,r,i,o){var a=t[n],u=d(a);if("object"!==u)return new s("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var l in e){var c=e[l];if(c){var f=c(a,l,r,i,o+"."+l,v);if(f)return f}}return null})},exact:function(e){return u(function(t,n,r,i,o){var a=t[n],u=d(a);if("object"!==u)return new s("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var l=c({},t[n],e);for(var f in l){var h=e[f];if(!h)return new s("Invalid "+i+" `"+o+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=h(a,f,r,i,o+"."+f,v);if(p)return p}return null})}};function a(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function s(e){this.message=e,this.stack=""}function u(e){var n={},r=0;function o(o,a,u,l,c,f,d){if(l=l||i,f=f||u,d!==v){if(t){var h=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 h.name="Invariant Violation",h}if("undefined"!=typeof console){var p=l+":"+u;!n[p]&&r<3&&(Kn("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+l+"`. 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."),n[p]=!0,r++)}}return null==a[u]?o?null===a[u]?new s("The "+c+" `"+f+"` is marked as required in `"+l+"`, but its value is `null`."):new s("The "+c+" `"+f+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(a,u,l,c,f)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function l(e){return u(function(t,n,r,i,o,a){var u=t[n];return d(u)!==e?new s("Invalid "+i+" `"+o+"` of type `"+h(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null})}function f(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(f);if(null===t||e(t))return!0;var i=function(e){var t=e&&(n&&e[n]||e[r]);if("function"==typeof t)return t}(t);if(!i)return!1;var o,a=i.call(t);if(i!==t.entries){for(;!(o=a.next()).done;)if(!f(o.value))return!1}else for(;!(o=a.next()).done;){var s=o.value;if(s&&!f(s[1]))return!1}return!0;default:return!1}}function d(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function h(e){if(null==e)return""+e;var t=d(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function p(e){var t=h(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return s.prototype=Error.prototype,o.checkPropTypes=x,o.resetWarningCache=x.resetWarningCache,o.PropTypes=o,o},Jn=a(function(e){var t=qn;e.exports=Xn(t.isElement,!0)});function er(){return(er=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}).apply(this,arguments)}function tr(e){return"/"===e.charAt(0)}function nr(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}function rr(e,t){if(!e){var n="Warning: "+t;"undefined"!=typeof console&&console.warn(n);try{throw Error(n)}catch(e){}}}var ir="Invariant failed";function or(e,t){if(!e)throw new Error(ir+": "+(t||""))}function ar(e){return"/"===e.charAt(0)?e:"/"+e}function sr(e){return"/"===e.charAt(0)?e.substr(1):e}function ur(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}function lr(e,t){return ur(e,t)?e.substr(t.length):e}function cr(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function fr(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function dr(e,t,n,r){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=er({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&tr(e),a=t&&tr(t),s=o||a;if(e&&tr(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var l=0,c=i.length;c>=0;c--){var f=i[c];"."===f?nr(i,c):".."===f?(nr(i,c),l++):l&&(nr(i,c),l--)}if(!s)for(;l--;l)i.unshift("..");!s||""===i[0]||i[0]&&tr(i[0])||i.unshift("");var d=i.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d}(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function hr(){var e=null;var t=[];return{setPrompt:function(t){return rr(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):(rr(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var pr=!("undefined"==typeof window||!window.document||!window.document.createElement);function mr(e,t){t(window.confirm(e))}var gr="popstate",vr="hashchange";function yr(){try{return window.history.state||{}}catch(e){return{}}}function br(e){void 0===e&&(e={}),pr||or(!1,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,a=o.forceRefresh,s=void 0!==a&&a,u=o.getUserConfirmation,l=void 0===u?mr:u,c=o.keyLength,f=void 0===c?6:c,d=e.basename?cr(ar(e.basename)):"";function h(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return rr(!d||ur(o,d),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+o+'" to begin with "'+d+'".'),d&&(o=lr(o,d)),dr(o,r,n)}function p(){return Math.random().toString(36).substr(2,f)}var m=hr();function g(e){er(M,e),M.length=n.length,m.notifyListeners(M.location,M.action)}function v(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||_(h(e.state))}function y(){_(h(yr()))}var b=!1;function _(e){if(b)b=!1,g();else{m.confirmTransitionTo(e,"POP",l,function(t){t?g({action:"POP",location:e}):function(e){var t=M.location,n=k.indexOf(t.key);-1===n&&(n=0);var r=k.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(b=!0,E(i))}(e)})}}var w=h(yr()),k=[w.key];function x(e){return d+fr(e)}function E(e){n.go(e)}var S=0;function T(e){1===(S+=e)&&1===e?(window.addEventListener(gr,v),i&&window.addEventListener(vr,y)):0===S&&(window.removeEventListener(gr,v),i&&window.removeEventListener(vr,y))}var C=!1;var M={length:n.length,action:"POP",location:w,createHref:x,push:function(e,t){rr(!("object"==typeof e&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=dr(e,t,p(),M.location);m.confirmTransitionTo(i,"PUSH",l,function(e){if(e){var t=x(i),o=i.key,a=i.state;if(r)if(n.pushState({key:o,state:a},null,t),s)window.location.href=t;else{var u=k.indexOf(M.location.key),l=k.slice(0,u+1);l.push(i.key),k=l,g({action:"PUSH",location:i})}else rr(void 0===a,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){rr(!("object"==typeof e&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=dr(e,t,p(),M.location);m.confirmTransitionTo(i,"REPLACE",l,function(e){if(e){var t=x(i),o=i.key,a=i.state;if(r)if(n.replaceState({key:o,state:a},null,t),s)window.location.replace(t);else{var u=k.indexOf(M.location.key);-1!==u&&(k[u]=i.key),g({action:"REPLACE",location:i})}else rr(void 0===a,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:E,goBack:function(){E(-1)},goForward:function(){E(1)},block:function(e){void 0===e&&(e=!1);var t=m.setPrompt(e);return C||(T(1),C=!0),function(){return C&&(C=!1,T(-1)),t()}},listen:function(e){var t=m.appendListener(e);return T(1),function(){T(-1),t()}}};return M}var _r="hashchange",wr={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+sr(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:sr,decodePath:ar},slash:{encodePath:ar,decodePath:ar}};function kr(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function xr(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function Er(e){window.location.replace(kr(window.location.href)+"#"+e)}function Sr(e){void 0===e&&(e={}),pr||or(!1,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e,i=r.getUserConfirmation,o=void 0===i?mr:i,a=r.hashType,s=void 0===a?"slash":a,u=e.basename?cr(ar(e.basename)):"",l=wr[s],c=l.encodePath,f=l.decodePath;function d(){var e=f(xr());return rr(!u||ur(e,u),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+u+'".'),u&&(e=lr(e,u)),dr(e)}var h=hr();function p(e){er(T,e),T.length=t.length,h.notifyListeners(T.location,T.action)}var m=!1,g=null;function v(){var e,t,n=xr(),r=c(n);if(n!==r)Er(r);else{var i=d(),a=T.location;if(!m&&(t=i,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(g===fr(i))return;g=null,function(e){if(m)m=!1,p();else{h.confirmTransitionTo(e,"POP",o,function(t){t?p({action:"POP",location:e}):function(e){var t=T.location,n=w.lastIndexOf(fr(t));-1===n&&(n=0);var r=w.lastIndexOf(fr(e));-1===r&&(r=0);var i=n-r;i&&(m=!0,k(i))}(e)})}}(i)}}var y=xr(),b=c(y);y!==b&&Er(b);var _=d(),w=[fr(_)];function k(e){rr(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)}var x=0;function E(e){1===(x+=e)&&1===e?window.addEventListener(_r,v):0===x&&window.removeEventListener(_r,v)}var S=!1;var T={length:t.length,action:"POP",location:_,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=kr(window.location.href)),n+"#"+c(u+fr(e))},push:function(e,t){rr(void 0===t,"Hash history cannot push state; it is ignored");var n=dr(e,void 0,void 0,T.location);h.confirmTransitionTo(n,"PUSH",o,function(e){if(e){var t=fr(n),r=c(u+t);if(xr()!==r){g=t,function(e){window.location.hash=e}(r);var i=w.lastIndexOf(fr(T.location)),o=w.slice(0,i+1);o.push(t),w=o,p({action:"PUSH",location:n})}else rr(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),p()}})},replace:function(e,t){rr(void 0===t,"Hash history cannot replace state; it is ignored");var n=dr(e,void 0,void 0,T.location);h.confirmTransitionTo(n,"REPLACE",o,function(e){if(e){var t=fr(n),r=c(u+t);xr()!==r&&(g=t,Er(r));var i=w.indexOf(fr(T.location));-1!==i&&(w[i]=t),p({action:"REPLACE",location:n})}})},go:k,goBack:function(){k(-1)},goForward:function(){k(1)},block:function(e){void 0===e&&(e=!1);var t=h.setPrompt(e);return S||(E(1),S=!0),function(){return S&&(S=!1,E(-1)),t()}},listen:function(e){var t=h.appendListener(e);return E(1),function(){E(-1),t()}}};return T}function Tr(e,t,n){return Math.min(Math.max(e,t),n)}var Cr=1073741823,Mr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:{};var Nr=S.createContext||function(e,t){var n,r,i,o="__create-react-context-"+(Mr[i="__global_unique_id__"]=(Mr[i]||0)+1)+"__",a=function(e){function n(){var t,n,r;return(t=e.apply(this,arguments)||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter(function(t){return t!==e})},get:function(){return n},set:function(e,t){n=e,r.forEach(function(e){return e(n,t)})}}),t}Vn(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[o]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((o=r)===(a=i)?0!==o||1/o==1/a:o!=o&&a!=a)?n=0:(rr(((n="function"==typeof t?t(r,i):Cr)&Cr)===n,"calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: "+n),0!=(n|=0)&&this.emitter.set(e.value,n))}var o,a},r.render=function(){return this.props.children},n}(T);a.childContextTypes=((n={})[o]=Jn.object.isRequired,n);var s=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Vn(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?Cr:t},r.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?Cr:e},r.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},r.getValue=function(){return this.context[o]?this.context[o].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(T);return s.contextTypes=((r={})[o]=Jn.object,r),{Provider:a,Consumer:s}},Rr=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},Pr=Vr,Or=Ur,Dr=function(e,t){return Fr(Ur(e,t),t)},Ar=Fr,Ir=Hr,jr=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Ur(e,t){for(var n,r=[],i=0,o=0,a="",s=t&&t.delimiter||"/";null!=(n=jr.exec(e));){var u=n[0],l=n[1],c=n.index;if(a+=e.slice(o,c),o=c+u.length,l)a+=l[1];else{var f=e[o],d=n[2],h=n[3],p=n[4],m=n[5],g=n[6],v=n[7];a&&(r.push(a),a="");var y=null!=d&&null!=f&&f!==d,b="+"===g||"*"===g,_="?"===g||"*"===g,w=n[2]||s,k=p||m;r.push({name:h||i++,prefix:d||"",delimiter:w,optional:_,repeat:b,partial:y,asterisk:!!v,pattern:k?Br(k):v?".*":"[^"+zr(w)+"]+?"})}}return o<e.length&&(a+=e.substr(o)),a&&r.push(a),r}function Lr(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function Fr(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)"object"==typeof e[r]&&(n[r]=new RegExp("^(?:"+e[r].pattern+")$",Yr(t)));return function(t,r){for(var i="",o=t||{},a=(r||{}).pretty?Lr:encodeURIComponent,s=0;s<e.length;s++){var u=e[s];if("string"!=typeof u){var l,c=o[u.name];if(null==c){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(Rr(c)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(c)+"`");if(0===c.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<c.length;f++){if(l=a(c[f]),!n[s].test(l))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===f?u.prefix:u.delimiter)+l}}else{if(l=u.asterisk?encodeURI(c).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):a(c),!n[s].test(l))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+l+'"');i+=u.prefix+l}}else i+=u}return i}}function zr(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Br(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function Wr(e,t){return e.keys=t,e}function Yr(e){return e&&e.sensitive?"":"i"}function Hr(e,t,n){Rr(t)||(n=t||n,t=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,o="",a=0;a<e.length;a++){var s=e[a];if("string"==typeof s)o+=zr(s);else{var u=zr(s.prefix),l="(?:"+s.pattern+")";t.push(s),s.repeat&&(l+="(?:"+u+l+")*"),o+=l=s.optional?s.partial?u+"("+l+")?":"(?:"+u+"("+l+"))?":u+"("+l+")"}}var c=zr(n.delimiter||"/"),f=o.slice(-c.length)===c;return r||(o=(f?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=i?"$":r&&f?"":"(?="+c+"|$)",Wr(new RegExp("^"+o,Yr(n)),t)}function Vr(e,t,n){return Rr(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return Wr(e,t)}(e,t):Rr(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(Vr(e[i],t,n).source);return Wr(new RegExp("(?:"+r.join("|")+")",Yr(n)),t)}(e,t,n):function(e,t,n){return Hr(Ur(e,n),t,n)}(e,t,n)}function $r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}Pr.parse=Or,Pr.compile=Dr,Pr.tokensToFunction=Ar,Pr.tokensToRegExp=Ir;var qr={};qr[qn.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},qr[qn.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Gr=function(e){var t=Nr();return t.displayName=e,t}("Router-History"),Qr=function(e){var t=Nr();return t.displayName=e,t}("Router"),Kr=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e})),n}Vn(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return S.createElement(Qr.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},S.createElement(Gr.Provider,{children:this.props.children||null,value:this.props.history}))},t}(S.Component);Kr.propTypes={children:Jn.node,history:Jn.object.isRequired,staticContext:Jn.object},Kr.prototype.componentDidUpdate=function(e){rr(e.history===this.props.history,"You cannot change <Router history>")};var Zr=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=function(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,i=void 0===r?["/"]:r,o=t.initialIndex,a=void 0===o?0:o,s=t.keyLength,u=void 0===s?6:s,l=hr();function c(e){er(g,e),g.length=g.entries.length,l.notifyListeners(g.location,g.action)}function f(){return Math.random().toString(36).substr(2,u)}var d=Tr(a,0,i.length-1),h=i.map(function(e){return dr(e,void 0,"string"==typeof e?f():e.key||f())}),p=fr;function m(e){var t=Tr(g.index+e,0,g.entries.length-1),r=g.entries[t];l.confirmTransitionTo(r,"POP",n,function(e){e?c({action:"POP",location:r,index:t}):c()})}var g={length:h.length,action:"POP",location:h[d],index:d,entries:h,createHref:p,push:function(e,t){rr(!("object"==typeof e&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=dr(e,t,f(),g.location);l.confirmTransitionTo(r,"PUSH",n,function(e){if(e){var t=g.index+1,n=g.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),c({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,t){rr(!("object"==typeof e&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=dr(e,t,f(),g.location);l.confirmTransitionTo(r,"REPLACE",n,function(e){e&&(g.entries[g.index]=r,c({action:"REPLACE",location:r}))})},go:m,goBack:function(){m(-1)},goForward:function(){m(1)},canGo:function(e){var t=g.index+e;return t>=0&&t<g.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return g}(t.props),t}return Vn(t,e),t.prototype.render=function(){return S.createElement(Kr,{history:this.history,children:this.props.children})},t}(S.Component);Zr.propTypes={initialEntries:Jn.array,initialIndex:Jn.number,getUserConfirmation:Jn.func,keyLength:Jn.number,children:Jn.node},Zr.prototype.componentDidMount=function(){rr(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")};S.Component;var Xr=Jn.oneOfType([Jn.func,Jn.string]);Jn.bool,Xr.isRequired;Jn.bool,Jn.string,Jn.oneOfType([Jn.string,Jn.object]).isRequired;var Jr={},ei=1e4,ti=0;function ni(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,o=void 0!==i&&i,a=n.strict,s=void 0!==a&&a,u=n.sensitive,l=void 0!==u&&u;return[].concat(r).reduce(function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=Jr[n]||(Jr[n]={});if(r[e])return r[e];var i=[],o={regexp:Pr(e,i,t),keys:i};return ti<ei&&(r[e]=o,ti++),o}(n,{end:o,strict:s,sensitive:l}),i=r.regexp,a=r.keys,u=i.exec(e);if(!u)return null;var c=u[0],f=u.slice(1),d=e===c;return o&&!d?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:d,params:a.reduce(function(e,t,n){return e[t.name]=f[n],e},{})}},null)}function ri(e){return 0===S.Children.count(e)}function ii(e,t,n){var r=e(t);return rr(void 0!==r,"You returned `undefined` from the `children` function of <Route"+(n?' path="'+n+'"':"")+">, but you should have returned a React element or `null`"),r||null}var oi=function(e){function t(){return e.apply(this,arguments)||this}return Vn(t,e),t.prototype.render=function(){var e=this;return S.createElement(Qr.Consumer,null,function(t){t||or(!1,"You should not use <Route> outside a <Router>");var n=e.props.location||t.location,r=er({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?ni(n.pathname,e.props):t.match}),i=e.props,o=i.children,a=i.component,s=i.render;return Array.isArray(o)&&0===o.length&&(o=null),S.createElement(Qr.Provider,{value:r},r.match?o?"function"==typeof o?ii(o,r,e.props.path):o:a?S.createElement(a,r):s?s(r):null:"function"==typeof o?ii(o,r,e.props.path):null)})},t}(S.Component);function ai(e){return"/"===e.charAt(0)?e:"/"+e}function si(e,t){if(!e)return t;var n=ai(e);return 0!==t.pathname.indexOf(n)?t:er({},t,{pathname:t.pathname.substr(n.length)})}function ui(e){return"string"==typeof e?e:fr(e)}function li(e){return function(){or(!1,"You cannot %s with <StaticRouter>")}}function ci(){}oi.propTypes={children:Jn.oneOfType([Jn.func,Jn.node]),component:function(e,t){if(e[t]&&!Gn(e[t]))return new Error("Invalid prop 'component' supplied to 'Route': the prop is not a valid React component")},exact:Jn.bool,location:Jn.object,path:Jn.oneOfType([Jn.string,Jn.arrayOf(Jn.string)]),render:Jn.func,sensitive:Jn.bool,strict:Jn.bool},oi.prototype.componentDidMount=function(){rr(!(this.props.children&&!ri(this.props.children)&&this.props.component),"You should not use <Route component> and <Route children> in the same route; <Route component> will be ignored"),rr(!(this.props.children&&!ri(this.props.children)&&this.props.render),"You should not use <Route render> and <Route children> in the same route; <Route render> will be ignored"),rr(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored")},oi.prototype.componentDidUpdate=function(e){rr(!(this.props.location&&!e.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),rr(!(!this.props.location&&e.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')};var fi=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return ci},t.handleBlock=function(){return ci},t}Vn(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,i=void 0===r?"":r,o=n.context,a=void 0===o?{}:o;a.action=t,a.location=function(e,t){return e?er({},t,{pathname:ai(e)+t.pathname}):t}(i,dr(e)),a.url=ui(a.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,r=e.context,i=void 0===r?{}:r,o=e.location,a=void 0===o?"/":o,s=$r(e,["basename","context","location"]),u={createHref:function(e){return ai(n+ui(e))},action:"POP",location:si(n,dr(a)),push:this.handlePush,replace:this.handleReplace,go:li(),goBack:li(),goForward:li(),listen:this.handleListen,block:this.handleBlock};return S.createElement(Kr,er({},s,{history:u,staticContext:i}))},t}(S.Component);fi.propTypes={basename:Jn.string,context:Jn.object,location:Jn.oneOfType([Jn.string,Jn.object])},fi.prototype.componentDidMount=function(){rr(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")};var di=function(e){function t(){return e.apply(this,arguments)||this}return Vn(t,e),t.prototype.render=function(){var e=this;return S.createElement(Qr.Consumer,null,function(t){t||or(!1,"You should not use <Switch> outside a <Router>");var n,r,i=e.props.location||t.location;return S.Children.forEach(e.props.children,function(e){if(null==r&&S.isValidElement(e)){n=e;var o=e.props.path||e.props.from;r=o?ni(i.pathname,er({},e.props,{path:o})):t.match}}),r?S.cloneElement(n,{location:i,computedMatch:r}):null})},t}(S.Component);di.propTypes={children:Jn.node,location:Jn.object},di.prototype.componentDidUpdate=function(e){rr(!(this.props.location&&!e.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),rr(!(!this.props.location&&e.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')};S.useContext;if("undefined"!=typeof window){var hi=window,pi="__react_router_build__",mi={cjs:"CommonJS",esm:"ES modules",umd:"UMD"};if(hi[pi]&&"esm"!==hi[pi]){var gi=mi[hi[pi]];throw new Error("You are loading the "+mi.esm+" build of React Router on a page that is already running the "+gi+" build, so things won't work right.")}hi[pi]="esm"}var vi=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=br(t.props),t}return Vn(t,e),t.prototype.render=function(){return S.createElement(Kr,{history:this.history,children:this.props.children})},t}(S.Component);vi.propTypes={basename:Jn.string,children:Jn.node,forceRefresh:Jn.bool,getUserConfirmation:Jn.func,keyLength:Jn.number},vi.prototype.componentDidMount=function(){rr(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")};var yi=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=Sr(t.props),t}return Vn(t,e),t.prototype.render=function(){return S.createElement(Kr,{history:this.history,children:this.props.children})},t}(S.Component);yi.propTypes={basename:Jn.string,children:Jn.node,getUserConfirmation:Jn.func,hashType:Jn.oneOf(["hashbang","noslash","slash"])},yi.prototype.componentDidMount=function(){rr(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")};var bi=function(e,t){return"function"==typeof e?e(t):e},_i=function(e,t){return"string"==typeof e?dr(e,null,null,t):e},wi=function(e){return e},ki=S.forwardRef;void 0===ki&&(ki=wi);var xi=ki(function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,o=$r(e,["innerRef","navigate","onClick"]),a=o.target,s=er({},o,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return s.ref=wi!==ki&&t||n,S.createElement("a",s)});xi.displayName="LinkAnchor";var Ei=ki(function(e,t){var n=e.component,r=void 0===n?xi:n,i=e.replace,o=e.to,a=e.innerRef,s=$r(e,["component","replace","to","innerRef"]);return S.createElement(Qr.Consumer,null,function(e){e||or(!1,"You should not use <Link> outside a <Router>");var n=e.history,u=_i(bi(o,e.location),e.location),l=u?n.createHref(u):"",c=er({},s,{href:l,navigate:function(){var t=bi(o,e.location);(i?n.replace:n.push)(t)}});return wi!==ki?c.ref=t||a:c.innerRef=a,S.createElement(r,c)})}),Si=Jn.oneOfType([Jn.string,Jn.object,Jn.func]),Ti=Jn.oneOfType([Jn.string,Jn.func,Jn.shape({current:Jn.any})]);Ei.displayName="Link",Ei.propTypes={innerRef:Ti,onClick:Jn.func,replace:Jn.bool,target:Jn.string,to:Si.isRequired};var Ci=function(e){return e},Mi=S.forwardRef;void 0===Mi&&(Mi=Ci);var Ni=Mi(function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,i=e.activeClassName,o=void 0===i?"active":i,a=e.activeStyle,s=e.className,u=e.exact,l=e.isActive,c=e.location,f=e.sensitive,d=e.strict,h=e.style,p=e.to,m=e.innerRef,g=$r(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return S.createElement(Qr.Consumer,null,function(e){e||or(!1,"You should not use <NavLink> outside a <Router>");var n=c||e.location,i=_i(bi(p,n),n),v=i.pathname,y=v&&v.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),b=y?ni(n.pathname,{path:y,exact:u,sensitive:f,strict:d}):null,_=!!(l?l(b,n):b),w=_?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(s,o):s,k=_?er({},h,{},a):h,x=er({"aria-current":_&&r||null,className:w,style:k,to:i},g);return Ci!==Mi?x.ref=t||m:x.innerRef=m,S.createElement(Ei,x)})});Ni.displayName="NavLink";var Ri=Jn.oneOf(["page","step","location","date","time","true"]);Ni.propTypes=er({},Ei.propTypes,{"aria-current":Ri,activeClassName:Jn.string,activeStyle:Jn.object,className:Jn.string,exact:Jn.bool,isActive:Jn.func,location:Jn.object,sensitive:Jn.bool,strict:Jn.bool,style:Jn.object});a(function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i)&&i.length){var a=n.apply(null,i);a&&e.push(a)}else if("object"===o)for(var s in i)t.call(i,s)&&i[s]&&e.push(s)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()});var Pi=a(function(e,t){(function(){var n,i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="__lodash_hash_undefined__",u=500,l="__lodash_placeholder__",c=1,f=2,d=4,h=1,p=2,m=1,g=2,v=4,y=8,b=16,_=32,w=64,k=128,x=256,E=512,S=30,T="...",C=800,M=16,N=1,R=2,P=1/0,O=9007199254740991,D=1.7976931348623157e308,A=NaN,I=4294967295,j=I-1,U=I>>>1,L=[["ary",k],["bind",m],["bindKey",g],["curry",y],["curryRight",b],["flip",E],["partial",_],["partialRight",w],["rearg",x]],F="[object Arguments]",z="[object Array]",B="[object AsyncFunction]",W="[object Boolean]",Y="[object Date]",H="[object DOMException]",V="[object Error]",$="[object Function]",q="[object GeneratorFunction]",G="[object Map]",Q="[object Number]",K="[object Null]",Z="[object Object]",X="[object Proxy]",J="[object RegExp]",ee="[object Set]",te="[object String]",ne="[object Symbol]",re="[object Undefined]",ie="[object WeakMap]",oe="[object WeakSet]",ae="[object ArrayBuffer]",se="[object DataView]",ue="[object Float32Array]",le="[object Float64Array]",ce="[object Int8Array]",fe="[object Int16Array]",de="[object Int32Array]",he="[object Uint8Array]",pe="[object Uint8ClampedArray]",me="[object Uint16Array]",ge="[object Uint32Array]",ve=/\b__p \+= '';/g,ye=/\b(__p \+=) '' \+/g,be=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,ke=RegExp(_e.source),xe=RegExp(we.source),Ee=/<%-([\s\S]+?)%>/g,Se=/<%([\s\S]+?)%>/g,Te=/<%=([\s\S]+?)%>/g,Ce=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Me=/^\w*$/,Ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Re=/[\\^$.*+?()[\]{}|]/g,Pe=RegExp(Re.source),Oe=/^\s+|\s+$/g,De=/^\s+/,Ae=/\s+$/,Ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,je=/\{\n\/\* \[wrapped with (.+)\] \*/,Ue=/,? & /,Le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fe=/\\(\\)?/g,ze=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Be=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Ye=/^0b[01]+$/i,He=/^\[object .+?Constructor\]$/,Ve=/^0o[0-7]+$/i,$e=/^(?:0|[1-9]\d*)$/,qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ge=/($^)/,Qe=/['\n\r\u2028\u2029\\]/g,Ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ze="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xe="[\\ud800-\\udfff]",Je="["+Ze+"]",et="["+Ke+"]",tt="\\d+",nt="[\\u2700-\\u27bf]",rt="[a-z\\xdf-\\xf6\\xf8-\\xff]",it="[^\\ud800-\\udfff"+Ze+tt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ot="\\ud83c[\\udffb-\\udfff]",at="[^\\ud800-\\udfff]",st="(?:\\ud83c[\\udde6-\\uddff]){2}",ut="[\\ud800-\\udbff][\\udc00-\\udfff]",lt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ct="(?:"+rt+"|"+it+")",ft="(?:"+lt+"|"+it+")",dt="(?:"+et+"|"+ot+")"+"?",ht="[\\ufe0e\\ufe0f]?"+dt+("(?:\\u200d(?:"+[at,st,ut].join("|")+")[\\ufe0e\\ufe0f]?"+dt+")*"),pt="(?:"+[nt,st,ut].join("|")+")"+ht,mt="(?:"+[at+et+"?",et,st,ut,Xe].join("|")+")",gt=RegExp("['’]","g"),vt=RegExp(et,"g"),yt=RegExp(ot+"(?="+ot+")|"+mt+ht,"g"),bt=RegExp([lt+"?"+rt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Je,lt,"$"].join("|")+")",ft+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Je,lt+ct,"$"].join("|")+")",lt+"?"+ct+"+(?:['’](?:d|ll|m|re|s|t|ve))?",lt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",tt,pt].join("|"),"g"),_t=RegExp("[\\u200d\\ud800-\\udfff"+Ke+"\\ufe0e\\ufe0f]"),wt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xt=-1,Et={};Et[ue]=Et[le]=Et[ce]=Et[fe]=Et[de]=Et[he]=Et[pe]=Et[me]=Et[ge]=!0,Et[F]=Et[z]=Et[ae]=Et[W]=Et[se]=Et[Y]=Et[V]=Et[$]=Et[G]=Et[Q]=Et[Z]=Et[J]=Et[ee]=Et[te]=Et[ie]=!1;var St={};St[F]=St[z]=St[ae]=St[se]=St[W]=St[Y]=St[ue]=St[le]=St[ce]=St[fe]=St[de]=St[G]=St[Q]=St[Z]=St[J]=St[ee]=St[te]=St[ne]=St[he]=St[pe]=St[me]=St[ge]=!0,St[V]=St[$]=St[ie]=!1;var Tt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ct=parseFloat,Mt=parseInt,Nt="object"==typeof r&&r&&r.Object===Object&&r,Rt="object"==typeof self&&self&&self.Object===Object&&self,Pt=Nt||Rt||Function("return this")(),Ot=t&&!t.nodeType&&t,Dt=Ot&&e&&!e.nodeType&&e,At=Dt&&Dt.exports===Ot,It=At&&Nt.process,jt=function(){try{var e=Dt&&Dt.require&&Dt.require("util").types;return e||It&&It.binding&&It.binding("util")}catch(e){}}(),Ut=jt&&jt.isArrayBuffer,Lt=jt&&jt.isDate,Ft=jt&&jt.isMap,zt=jt&&jt.isRegExp,Bt=jt&&jt.isSet,Wt=jt&&jt.isTypedArray;function Yt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ht(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function Vt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function $t(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function qt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Gt(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Qt(e,t){return!!(null==e?0:e.length)&&an(e,t,0)>-1}function Kt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Zt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Xt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Jt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function en(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function tn(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var nn=cn("length");function rn(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function on(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function an(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):on(e,un,n)}function sn(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function un(e){return e!=e}function ln(e,t){var n=null==e?0:e.length;return n?hn(e,t)/n:A}function cn(e){return function(t){return null==t?n:t[e]}}function fn(e){return function(t){return null==e?n:e[t]}}function dn(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function hn(e,t){for(var r,i=-1,o=e.length;++i<o;){var a=t(e[i]);a!==n&&(r=r===n?a:r+a)}return r}function pn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function mn(e){return function(t){return e(t)}}function gn(e,t){return Zt(t,function(t){return e[t]})}function vn(e,t){return e.has(t)}function yn(e,t){for(var n=-1,r=e.length;++n<r&&an(t,e[n],0)>-1;);return n}function bn(e,t){for(var n=e.length;n--&&an(t,e[n],0)>-1;);return n}var _n=fn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),wn=fn({"&":"&","<":"<",">":">",'"':""","'":"'"});function kn(e){return"\\"+Tt[e]}function xn(e){return _t.test(e)}function En(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Sn(e,t){return function(n){return e(t(n))}}function Tn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==l||(e[n]=l,o[i++]=n)}return o}function Cn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Mn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Nn(e){return xn(e)?function(e){var t=yt.lastIndex=0;for(;yt.test(e);)++t;return t}(e):nn(e)}function Rn(e){return xn(e)?function(e){return e.match(yt)||[]}(e):function(e){return e.split("")}(e)}var Pn=fn({"&":"&","<":"<",">":">",""":'"',"'":"'"});var On=function e(t){var r,Ke=(t=null==t?Pt:On.defaults(Pt.Object(),t,On.pick(Pt,kt))).Array,Ze=t.Date,Xe=t.Error,Je=t.Function,et=t.Math,tt=t.Object,nt=t.RegExp,rt=t.String,it=t.TypeError,ot=Ke.prototype,at=Je.prototype,st=tt.prototype,ut=t["__core-js_shared__"],lt=at.toString,ct=st.hasOwnProperty,ft=0,dt=(r=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",ht=st.toString,pt=lt.call(tt),mt=Pt._,yt=nt("^"+lt.call(ct).replace(Re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_t=At?t.Buffer:n,Tt=t.Symbol,Nt=t.Uint8Array,Rt=_t?_t.allocUnsafe:n,Ot=Sn(tt.getPrototypeOf,tt),Dt=tt.create,It=st.propertyIsEnumerable,jt=ot.splice,nn=Tt?Tt.isConcatSpreadable:n,fn=Tt?Tt.iterator:n,Dn=Tt?Tt.toStringTag:n,An=function(){try{var e=Fo(tt,"defineProperty");return e({},"",{}),e}catch(e){}}(),In=t.clearTimeout!==Pt.clearTimeout&&t.clearTimeout,jn=Ze&&Ze.now!==Pt.Date.now&&Ze.now,Un=t.setTimeout!==Pt.setTimeout&&t.setTimeout,Ln=et.ceil,Fn=et.floor,zn=tt.getOwnPropertySymbols,Bn=_t?_t.isBuffer:n,Wn=t.isFinite,Yn=ot.join,Hn=Sn(tt.keys,tt),Vn=et.max,$n=et.min,qn=Ze.now,Gn=t.parseInt,Qn=et.random,Kn=ot.reverse,Zn=Fo(t,"DataView"),Xn=Fo(t,"Map"),Jn=Fo(t,"Promise"),er=Fo(t,"Set"),tr=Fo(t,"WeakMap"),nr=Fo(tt,"create"),rr=tr&&new tr,ir={},or=fa(Zn),ar=fa(Xn),sr=fa(Jn),ur=fa(er),lr=fa(tr),cr=Tt?Tt.prototype:n,fr=cr?cr.valueOf:n,dr=cr?cr.toString:n;function hr(e){if(Ms(e)&&!vs(e)&&!(e instanceof vr)){if(e instanceof gr)return e;if(ct.call(e,"__wrapped__"))return da(e)}return new gr(e)}var pr=function(){function e(){}return function(t){if(!Cs(t))return{};if(Dt)return Dt(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function mr(){}function gr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function vr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=I,this.__views__=[]}function yr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function br(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function wr(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new _r;++t<n;)this.add(e[t])}function kr(e){var t=this.__data__=new br(e);this.size=t.size}function xr(e,t){var n=vs(e),r=!n&&gs(e),i=!n&&!r&&ws(e),o=!n&&!r&&!i&&js(e),a=n||r||i||o,s=a?pn(e.length,rt):[],u=s.length;for(var l in e)!t&&!ct.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||$o(l,u))||s.push(l);return s}function Er(e){var t=e.length;return t?e[wi(0,t-1)]:n}function Sr(e,t){return ua(no(e),Ar(t,0,e.length))}function Tr(e){return ua(no(e))}function Cr(e,t,r){(r===n||hs(e[t],r))&&(r!==n||t in e)||Or(e,t,r)}function Mr(e,t,r){var i=e[t];ct.call(e,t)&&hs(i,r)&&(r!==n||t in e)||Or(e,t,r)}function Nr(e,t){for(var n=e.length;n--;)if(hs(e[n][0],t))return n;return-1}function Rr(e,t,n,r){return Fr(e,function(e,i,o){t(r,e,n(e),o)}),r}function Pr(e,t){return e&&ro(t,iu(t),e)}function Or(e,t,n){"__proto__"==t&&An?An(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Dr(e,t){for(var r=-1,i=t.length,o=Ke(i),a=null==e;++r<i;)o[r]=a?n:Js(e,t[r]);return o}function Ar(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function Ir(e,t,r,i,o,a){var s,u=t&c,l=t&f,h=t&d;if(r&&(s=o?r(e,i,o,a):r(e)),s!==n)return s;if(!Cs(e))return e;var p=vs(e);if(p){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ct.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!u)return no(e,s)}else{var m=Wo(e),g=m==$||m==q;if(ws(e))return Ki(e,u);if(m==Z||m==F||g&&!o){if(s=l||g?{}:Ho(e),!u)return l?function(e,t){return ro(e,Bo(e),t)}(e,function(e,t){return e&&ro(t,ou(t),e)}(s,e)):function(e,t){return ro(e,zo(e),t)}(e,Pr(s,e))}else{if(!St[m])return o?e:{};s=function(e,t,n){var r,i,o,a=e.constructor;switch(t){case ae:return Zi(e);case W:case Y:return new a(+e);case se:return function(e,t){var n=t?Zi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case ue:case le:case ce:case fe:case de:case he:case pe:case me:case ge:return Xi(e,n);case G:return new a;case Q:case te:return new a(e);case J:return(o=new(i=e).constructor(i.source,Be.exec(i))).lastIndex=i.lastIndex,o;case ee:return new a;case ne:return r=e,fr?tt(fr.call(r)):{}}}(e,m,u)}}a||(a=new kr);var v=a.get(e);if(v)return v;a.set(e,s),Ds(e)?e.forEach(function(n){s.add(Ir(n,t,r,n,e,a))}):Ns(e)&&e.forEach(function(n,i){s.set(i,Ir(n,t,r,i,e,a))});var y=p?n:(h?l?Oo:Po:l?ou:iu)(e);return Vt(y||e,function(n,i){y&&(n=e[i=n]),Mr(s,i,Ir(n,t,r,i,e,a))}),s}function jr(e,t,r){var i=r.length;if(null==e)return!i;for(e=tt(e);i--;){var o=r[i],a=t[o],s=e[o];if(s===n&&!(o in e)||!a(s))return!1}return!0}function Ur(e,t,r){if("function"!=typeof e)throw new it(a);return ia(function(){e.apply(n,r)},t)}function Lr(e,t,n,r){var o=-1,a=Qt,s=!0,u=e.length,l=[],c=t.length;if(!u)return l;n&&(t=Zt(t,mn(n))),r?(a=Kt,s=!1):t.length>=i&&(a=vn,s=!1,t=new wr(t));e:for(;++o<u;){var f=e[o],d=null==n?f:n(f);if(f=r||0!==f?f:0,s&&d==d){for(var h=c;h--;)if(t[h]===d)continue e;l.push(f)}else a(t,d,r)||l.push(f)}return l}hr.templateSettings={escape:Ee,evaluate:Se,interpolate:Te,variable:"",imports:{_:hr}},hr.prototype=mr.prototype,hr.prototype.constructor=hr,gr.prototype=pr(mr.prototype),gr.prototype.constructor=gr,vr.prototype=pr(mr.prototype),vr.prototype.constructor=vr,yr.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},yr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},yr.prototype.get=function(e){var t=this.__data__;if(nr){var r=t[e];return r===s?n:r}return ct.call(t,e)?t[e]:n},yr.prototype.has=function(e){var t=this.__data__;return nr?t[e]!==n:ct.call(t,e)},yr.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nr&&t===n?s:t,this},br.prototype.clear=function(){this.__data__=[],this.size=0},br.prototype.delete=function(e){var t=this.__data__,n=Nr(t,e);return!(n<0||(n==t.length-1?t.pop():jt.call(t,n,1),--this.size,0))},br.prototype.get=function(e){var t=this.__data__,r=Nr(t,e);return r<0?n:t[r][1]},br.prototype.has=function(e){return Nr(this.__data__,e)>-1},br.prototype.set=function(e,t){var n=this.__data__,r=Nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},_r.prototype.clear=function(){this.size=0,this.__data__={hash:new yr,map:new(Xn||br),string:new yr}},_r.prototype.delete=function(e){var t=Uo(this,e).delete(e);return this.size-=t?1:0,t},_r.prototype.get=function(e){return Uo(this,e).get(e)},_r.prototype.has=function(e){return Uo(this,e).has(e)},_r.prototype.set=function(e,t){var n=Uo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},wr.prototype.add=wr.prototype.push=function(e){return this.__data__.set(e,s),this},wr.prototype.has=function(e){return this.__data__.has(e)},kr.prototype.clear=function(){this.__data__=new br,this.size=0},kr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},kr.prototype.get=function(e){return this.__data__.get(e)},kr.prototype.has=function(e){return this.__data__.has(e)},kr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof br){var r=n.__data__;if(!Xn||r.length<i-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new _r(r)}return n.set(e,t),this.size=n.size,this};var Fr=ao(qr),zr=ao(Gr,!0);function Br(e,t){var n=!0;return Fr(e,function(e,r,i){return n=!!t(e,r,i)}),n}function Wr(e,t,r){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(u===n?s==s&&!Is(s):r(s,u)))var u=s,l=a}return l}function Yr(e,t){var n=[];return Fr(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Hr(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=Vo),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?Hr(s,t-1,n,r,i):Xt(i,s):r||(i[i.length]=s)}return i}var Vr=so(),$r=so(!0);function qr(e,t){return e&&Vr(e,t,iu)}function Gr(e,t){return e&&$r(e,t,iu)}function Qr(e,t){return Gt(t,function(t){return Es(e[t])})}function Kr(e,t){for(var r=0,i=(t=$i(t,e)).length;null!=e&&r<i;)e=e[ca(t[r++])];return r&&r==i?e:n}function Zr(e,t,n){var r=t(e);return vs(e)?r:Xt(r,n(e))}function Xr(e){return null==e?e===n?re:K:Dn&&Dn in tt(e)?function(e){var t=ct.call(e,Dn),r=e[Dn];try{e[Dn]=n;var i=!0}catch(e){}var o=ht.call(e);return i&&(t?e[Dn]=r:delete e[Dn]),o}(e):function(e){return ht.call(e)}(e)}function Jr(e,t){return e>t}function ei(e,t){return null!=e&&ct.call(e,t)}function ti(e,t){return null!=e&&t in tt(e)}function ni(e,t,r){for(var i=r?Kt:Qt,o=e[0].length,a=e.length,s=a,u=Ke(a),l=1/0,c=[];s--;){var f=e[s];s&&t&&(f=Zt(f,mn(t))),l=$n(f.length,l),u[s]=!r&&(t||o>=120&&f.length>=120)?new wr(s&&f):n}f=e[0];var d=-1,h=u[0];e:for(;++d<o&&c.length<l;){var p=f[d],m=t?t(p):p;if(p=r||0!==p?p:0,!(h?vn(h,m):i(c,m,r))){for(s=a;--s;){var g=u[s];if(!(g?vn(g,m):i(e[s],m,r)))continue e}h&&h.push(m),c.push(p)}}return c}function ri(e,t,r){var i=null==(e=ta(e,t=$i(t,e)))?e:e[ca(xa(t))];return null==i?n:Yt(i,e,r)}function ii(e){return Ms(e)&&Xr(e)==F}function oi(e,t,r,i,o){return e===t||(null==e||null==t||!Ms(e)&&!Ms(t)?e!=e&&t!=t:function(e,t,r,i,o,a){var s=vs(e),u=vs(t),l=s?z:Wo(e),c=u?z:Wo(t),f=(l=l==F?Z:l)==Z,d=(c=c==F?Z:c)==Z,m=l==c;if(m&&ws(e)){if(!ws(t))return!1;s=!0,f=!1}if(m&&!f)return a||(a=new kr),s||js(e)?No(e,t,r,i,o,a):function(e,t,n,r,i,o,a){switch(n){case se:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ae:return!(e.byteLength!=t.byteLength||!o(new Nt(e),new Nt(t)));case W:case Y:case Q:return hs(+e,+t);case V:return e.name==t.name&&e.message==t.message;case J:case te:return e==t+"";case G:var s=En;case ee:var u=r&h;if(s||(s=Cn),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;r|=p,a.set(e,t);var c=No(s(e),s(t),r,i,o,a);return a.delete(e),c;case ne:if(fr)return fr.call(e)==fr.call(t)}return!1}(e,t,l,r,i,o,a);if(!(r&h)){var g=f&&ct.call(e,"__wrapped__"),v=d&&ct.call(t,"__wrapped__");if(g||v){var y=g?e.value():e,b=v?t.value():t;return a||(a=new kr),o(y,b,r,i,a)}}return!!m&&(a||(a=new kr),function(e,t,r,i,o,a){var s=r&h,u=Po(e),l=u.length,c=Po(t).length;if(l!=c&&!s)return!1;for(var f=l;f--;){var d=u[f];if(!(s?d in t:ct.call(t,d)))return!1}var p=a.get(e),m=a.get(t);if(p&&m)return p==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);for(var v=s;++f<l;){d=u[f];var y=e[d],b=t[d];if(i)var _=s?i(b,y,d,t,e,a):i(y,b,d,e,t,a);if(!(_===n?y===b||o(y,b,r,i,a):_)){g=!1;break}v||(v="constructor"==d)}if(g&&!v){var w=e.constructor,k=t.constructor;w!=k&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof k&&k instanceof k)&&(g=!1)}return a.delete(e),a.delete(t),g}(e,t,r,i,o,a))}(e,t,r,i,oi,o))}function ai(e,t,r,i){var o=r.length,a=o,s=!i;if(null==e)return!a;for(e=tt(e);o--;){var u=r[o];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<a;){var l=(u=r[o])[0],c=e[l],f=u[1];if(s&&u[2]){if(c===n&&!(l in e))return!1}else{var d=new kr;if(i)var m=i(c,f,l,e,t,d);if(!(m===n?oi(f,c,h|p,i,d):m))return!1}}return!0}function si(e){return!(!Cs(e)||(t=e,dt&&dt in t))&&(Es(e)?yt:He).test(fa(e));var t}function ui(e){return"function"==typeof e?e:null==e?Ru:"object"==typeof e?vs(e)?pi(e[0],e[1]):hi(e):Fu(e)}function li(e){if(!Zo(e))return Hn(e);var t=[];for(var n in tt(e))ct.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ci(e){if(!Cs(e))return function(e){var t=[];if(null!=e)for(var n in tt(e))t.push(n);return t}(e);var t=Zo(e),n=[];for(var r in e)("constructor"!=r||!t&&ct.call(e,r))&&n.push(r);return n}function fi(e,t){return e<t}function di(e,t){var n=-1,r=bs(e)?Ke(e.length):[];return Fr(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function hi(e){var t=Lo(e);return 1==t.length&&t[0][2]?Jo(t[0][0],t[0][1]):function(n){return n===e||ai(n,e,t)}}function pi(e,t){return Go(e)&&Xo(t)?Jo(ca(e),t):function(r){var i=Js(r,e);return i===n&&i===t?eu(r,e):oi(t,i,h|p)}}function mi(e,t,r,i,o){e!==t&&Vr(t,function(a,s){if(o||(o=new kr),Cs(a))!function(e,t,r,i,o,a,s){var u=na(e,r),l=na(t,r),c=s.get(l);if(c)Cr(e,r,c);else{var f=a?a(u,l,r+"",e,t,s):n,d=f===n;if(d){var h=vs(l),p=!h&&ws(l),m=!h&&!p&&js(l);f=l,h||p||m?vs(u)?f=u:_s(u)?f=no(u):p?(d=!1,f=Ki(l,!0)):m?(d=!1,f=Xi(l,!0)):f=[]:Ps(l)||gs(l)?(f=u,gs(u)?f=Hs(u):Cs(u)&&!Es(u)||(f=Ho(l))):d=!1}d&&(s.set(l,f),o(f,l,i,a,s),s.delete(l)),Cr(e,r,f)}}(e,t,s,r,mi,i,o);else{var u=i?i(na(e,s),a,s+"",e,t,o):n;u===n&&(u=a),Cr(e,s,u)}},ou)}function gi(e,t){var r=e.length;if(r)return $o(t+=t<0?r:0,r)?e[t]:n}function vi(e,t,n){t=t.length?Zt(t,function(e){return vs(e)?function(t){return Kr(t,1===e.length?e[0]:e)}:e}):[Ru];var r=-1;return t=Zt(t,mn(jo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(di(e,function(e,n,i){return{criteria:Zt(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var u=Ji(i[r],o[r]);if(u){if(r>=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)})}function yi(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=Kr(e,a);n(s,a)&&Ti(o,$i(a,e),s)}return o}function bi(e,t,n,r){var i=r?sn:an,o=-1,a=t.length,s=e;for(e===t&&(t=no(t)),n&&(s=Zt(e,mn(n)));++o<a;)for(var u=0,l=t[o],c=n?n(l):l;(u=i(s,c,u,r))>-1;)s!==e&&jt.call(s,u,1),jt.call(e,u,1);return e}function _i(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;$o(i)?jt.call(e,i,1):Li(e,i)}}return e}function wi(e,t){return e+Fn(Qn()*(t-e+1))}function ki(e,t){var n="";if(!e||t<1||t>O)return n;do{t%2&&(n+=e),(t=Fn(t/2))&&(e+=e)}while(t);return n}function xi(e,t){return oa(ea(e,t,Ru),e+"")}function Ei(e){return Er(hu(e))}function Si(e,t){var n=hu(e);return ua(n,Ar(t,0,n.length))}function Ti(e,t,r,i){if(!Cs(e))return e;for(var o=-1,a=(t=$i(t,e)).length,s=a-1,u=e;null!=u&&++o<a;){var l=ca(t[o]),c=r;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=s){var f=u[l];(c=i?i(f,l,u):n)===n&&(c=Cs(f)?f:$o(t[o+1])?[]:{})}Mr(u,l,c),u=u[l]}return e}var Ci=rr?function(e,t){return rr.set(e,t),e}:Ru,Mi=An?function(e,t){return An(e,"toString",{configurable:!0,enumerable:!1,value:Cu(t),writable:!0})}:Ru;function Ni(e){return ua(hu(e))}function Ri(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Ke(i);++r<i;)o[r]=e[r+t];return o}function Pi(e,t){var n;return Fr(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function Oi(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=U){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!Is(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return Di(e,t,Ru,n)}function Di(e,t,r,i){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=r(t))!=t,u=null===t,l=Is(t),c=t===n;o<a;){var f=Fn((o+a)/2),d=r(e[f]),h=d!==n,p=null===d,m=d==d,g=Is(d);if(s)var v=i||m;else v=c?m&&(i||h):u?m&&h&&(i||!p):l?m&&h&&!p&&(i||!g):!p&&!g&&(i?d<=t:d<t);v?o=f+1:a=f}return $n(a,j)}function Ai(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!hs(s,u)){var u=s;o[i++]=0===a?0:a}}return o}function Ii(e){return"number"==typeof e?e:Is(e)?A:+e}function ji(e){if("string"==typeof e)return e;if(vs(e))return Zt(e,ji)+"";if(Is(e))return dr?dr.call(e):"";var t=e+"";return"0"==t&&1/e==-P?"-0":t}function Ui(e,t,n){var r=-1,o=Qt,a=e.length,s=!0,u=[],l=u;if(n)s=!1,o=Kt;else if(a>=i){var c=t?null:xo(e);if(c)return Cn(c);s=!1,o=vn,l=new wr}else l=t?[]:u;e:for(;++r<a;){var f=e[r],d=t?t(f):f;if(f=n||0!==f?f:0,s&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue e;t&&l.push(d),u.push(f)}else o(l,d,n)||(l!==u&&l.push(d),u.push(f))}return u}function Li(e,t){return null==(e=ta(e,t=$i(t,e)))||delete e[ca(xa(t))]}function Fi(e,t,n,r){return Ti(e,t,n(Kr(e,t)),r)}function zi(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Ri(e,r?0:o,r?o+1:i):Ri(e,r?o+1:0,r?i:o)}function Bi(e,t){var n=e;return n instanceof vr&&(n=n.value()),Jt(t,function(e,t){return t.func.apply(t.thisArg,Xt([e],t.args))},n)}function Wi(e,t,n){var r=e.length;if(r<2)return r?Ui(e[0]):[];for(var i=-1,o=Ke(r);++i<r;)for(var a=e[i],s=-1;++s<r;)s!=i&&(o[i]=Lr(o[i]||a,e[s],t,n));return Ui(Hr(o,1),t,n)}function Yi(e,t,r){for(var i=-1,o=e.length,a=t.length,s={};++i<o;){var u=i<a?t[i]:n;r(s,e[i],u)}return s}function Hi(e){return _s(e)?e:[]}function Vi(e){return"function"==typeof e?e:Ru}function $i(e,t){return vs(e)?e:Go(e,t)?[e]:la(Vs(e))}var qi=xi;function Gi(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:Ri(e,t,r)}var Qi=In||function(e){return Pt.clearTimeout(e)};function Ki(e,t){if(t)return e.slice();var n=e.length,r=Rt?Rt(n):new e.constructor(n);return e.copy(r),r}function Zi(e){var t=new e.constructor(e.byteLength);return new Nt(t).set(new Nt(e)),t}function Xi(e,t){var n=t?Zi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ji(e,t){if(e!==t){var r=e!==n,i=null===e,o=e==e,a=Is(e),s=t!==n,u=null===t,l=t==t,c=Is(t);if(!u&&!c&&!a&&e>t||a&&s&&l&&!u&&!c||i&&s&&l||!r&&l||!o)return 1;if(!i&&!a&&!c&&e<t||c&&r&&o&&!i&&!a||u&&r&&o||!s&&o||!l)return-1}return 0}function eo(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,u=t.length,l=Vn(o-a,0),c=Ke(u+l),f=!r;++s<u;)c[s]=t[s];for(;++i<a;)(f||i<o)&&(c[n[i]]=e[i]);for(;l--;)c[s++]=e[i++];return c}function to(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,u=-1,l=t.length,c=Vn(o-s,0),f=Ke(c+l),d=!r;++i<c;)f[i]=e[i];for(var h=i;++u<l;)f[h+u]=t[u];for(;++a<s;)(d||i<o)&&(f[h+n[a]]=e[i++]);return f}function no(e,t){var n=-1,r=e.length;for(t||(t=Ke(r));++n<r;)t[n]=e[n];return t}function ro(e,t,r,i){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var u=t[a],l=i?i(r[u],e[u],u,r,e):n;l===n&&(l=e[u]),o?Or(r,u,l):Mr(r,u,l)}return r}function io(e,t){return function(n,r){var i=vs(n)?Ht:Rr,o=t?t():{};return i(n,e,jo(r,2),o)}}function oo(e){return xi(function(t,r){var i=-1,o=r.length,a=o>1?r[o-1]:n,s=o>2?r[2]:n;for(a=e.length>3&&"function"==typeof a?(o--,a):n,s&&qo(r[0],r[1],s)&&(a=o<3?n:a,o=1),t=tt(t);++i<o;){var u=r[i];u&&e(t,u,i,a)}return t})}function ao(e,t){return function(n,r){if(null==n)return n;if(!bs(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=tt(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function so(e){return function(t,n,r){for(var i=-1,o=tt(t),a=r(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===n(o[u],u,o))break}return t}}function uo(e){return function(t){var r=xn(t=Vs(t))?Rn(t):n,i=r?r[0]:t.charAt(0),o=r?Gi(r,1).join(""):t.slice(1);return i[e]()+o}}function lo(e){return function(t){return Jt(Eu(gu(t).replace(gt,"")),e,"")}}function co(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=pr(e.prototype),r=e.apply(n,t);return Cs(r)?r:n}}function fo(e){return function(t,r,i){var o=tt(t);if(!bs(t)){var a=jo(r,3);t=iu(t),r=function(e){return a(o[e],e,o)}}var s=e(t,r,i);return s>-1?o[a?t[s]:s]:n}}function ho(e){return Ro(function(t){var r=t.length,i=r,o=gr.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new it(a);if(o&&!u&&"wrapper"==Ao(s))var u=new gr([],!0)}for(i=u?i:r;++i<r;){var l=Ao(s=t[i]),c="wrapper"==l?Do(s):n;u=c&&Qo(c[0])&&c[1]==(k|y|_|x)&&!c[4].length&&1==c[9]?u[Ao(c[0])].apply(u,c[3]):1==s.length&&Qo(s)?u[l]():u.thru(s)}return function(){var e=arguments,n=e[0];if(u&&1==e.length&&vs(n))return u.plant(n).value();for(var i=0,o=r?t[i].apply(this,e):n;++i<r;)o=t[i].call(this,o);return o}})}function po(e,t,r,i,o,a,s,u,l,c){var f=t&k,d=t&m,h=t&g,p=t&(y|b),v=t&E,_=h?n:co(e);return function m(){for(var g=arguments.length,y=Ke(g),b=g;b--;)y[b]=arguments[b];if(p)var w=Io(m),k=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,w);if(i&&(y=eo(y,i,o,p)),a&&(y=to(y,a,s,p)),g-=k,p&&g<c){var x=Tn(y,w);return wo(e,t,po,m.placeholder,r,y,x,u,l,c-g)}var E=d?r:this,S=h?E[e]:e;return g=y.length,u?y=function(e,t){for(var r=e.length,i=$n(t.length,r),o=no(e);i--;){var a=t[i];e[i]=$o(a,r)?o[a]:n}return e}(y,u):v&&g>1&&y.reverse(),f&&l<g&&(y.length=l),this&&this!==Pt&&this instanceof m&&(S=_||co(S)),S.apply(E,y)}}function mo(e,t){return function(n,r){return function(e,t,n,r){return qr(e,function(e,i,o){t(r,n(e),i,o)}),r}(n,e,t(r),{})}}function go(e,t){return function(r,i){var o;if(r===n&&i===n)return t;if(r!==n&&(o=r),i!==n){if(o===n)return i;"string"==typeof r||"string"==typeof i?(r=ji(r),i=ji(i)):(r=Ii(r),i=Ii(i)),o=e(r,i)}return o}}function vo(e){return Ro(function(t){return t=Zt(t,mn(jo())),xi(function(n){var r=this;return e(t,function(e){return Yt(e,r,n)})})})}function yo(e,t){var r=(t=t===n?" ":ji(t)).length;if(r<2)return r?ki(t,e):t;var i=ki(t,Ln(e/Nn(t)));return xn(t)?Gi(Rn(i),0,e).join(""):i.slice(0,e)}function bo(e){return function(t,r,i){return i&&"number"!=typeof i&&qo(t,r,i)&&(r=i=n),t=zs(t),r===n?(r=t,t=0):r=zs(r),function(e,t,n,r){for(var i=-1,o=Vn(Ln((t-e)/(n||1)),0),a=Ke(o);o--;)a[r?o:++i]=e,e+=n;return a}(t,r,i=i===n?t<r?1:-1:zs(i),e)}}function _o(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ys(t),n=Ys(n)),e(t,n)}}function wo(e,t,r,i,o,a,s,u,l,c){var f=t&y;t|=f?_:w,(t&=~(f?w:_))&v||(t&=~(m|g));var d=[e,t,o,f?a:n,f?s:n,f?n:a,f?n:s,u,l,c],h=r.apply(n,d);return Qo(e)&&ra(h,d),h.placeholder=i,aa(h,e,t)}function ko(e){var t=et[e];return function(e,n){if(e=Ys(e),(n=null==n?0:$n(Bs(n),292))&&Wn(e)){var r=(Vs(e)+"e").split("e");return+((r=(Vs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var xo=er&&1/Cn(new er([,-0]))[1]==P?function(e){return new er(e)}:Iu;function Eo(e){return function(t){var n=Wo(t);return n==G?En(t):n==ee?Mn(t):function(e,t){return Zt(t,function(t){return[t,e[t]]})}(t,e(t))}}function So(e,t,r,i,o,s,u,c){var f=t&g;if(!f&&"function"!=typeof e)throw new it(a);var d=i?i.length:0;if(d||(t&=~(_|w),i=o=n),u=u===n?u:Vn(Bs(u),0),c=c===n?c:Bs(c),d-=o?o.length:0,t&w){var h=i,p=o;i=o=n}var E=f?n:Do(e),S=[e,t,r,i,o,h,p,s,u,c];if(E&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<(m|g|k),a=r==k&&n==y||r==k&&n==x&&e[7].length<=t[8]||r==(k|x)&&t[7].length<=t[8]&&n==y;if(!o&&!a)return e;r&m&&(e[2]=t[2],i|=n&m?0:v);var s=t[3];if(s){var u=e[3];e[3]=u?eo(u,s,t[4]):s,e[4]=u?Tn(e[3],l):t[4]}(s=t[5])&&(u=e[5],e[5]=u?to(u,s,t[6]):s,e[6]=u?Tn(e[5],l):t[6]),(s=t[7])&&(e[7]=s),r&k&&(e[8]=null==e[8]?t[8]:$n(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(S,E),e=S[0],t=S[1],r=S[2],i=S[3],o=S[4],!(c=S[9]=S[9]===n?f?0:e.length:Vn(S[9]-d,0))&&t&(y|b)&&(t&=~(y|b)),t&&t!=m)T=t==y||t==b?function(e,t,r){var i=co(e);return function o(){for(var a=arguments.length,s=Ke(a),u=a,l=Io(o);u--;)s[u]=arguments[u];var c=a<3&&s[0]!==l&&s[a-1]!==l?[]:Tn(s,l);return(a-=c.length)<r?wo(e,t,po,o.placeholder,n,s,c,n,n,r-a):Yt(this&&this!==Pt&&this instanceof o?i:e,this,s)}}(e,t,c):t!=_&&t!=(m|_)||o.length?po.apply(n,S):function(e,t,n,r){var i=t&m,o=co(e);return function t(){for(var a=-1,s=arguments.length,u=-1,l=r.length,c=Ke(l+s),f=this&&this!==Pt&&this instanceof t?o:e;++u<l;)c[u]=r[u];for(;s--;)c[u++]=arguments[++a];return Yt(f,i?n:this,c)}}(e,t,r,i);else var T=function(e,t,n){var r=t&m,i=co(e);return function t(){return(this&&this!==Pt&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,r);return aa((E?Ci:ra)(T,S),e,t)}function To(e,t,r,i){return e===n||hs(e,st[r])&&!ct.call(i,r)?t:e}function Co(e,t,r,i,o,a){return Cs(e)&&Cs(t)&&(a.set(t,e),mi(e,t,n,Co,a),a.delete(t)),e}function Mo(e){return Ps(e)?n:e}function No(e,t,r,i,o,a){var s=r&h,u=e.length,l=t.length;if(u!=l&&!(s&&l>u))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,m=!0,g=r&p?new wr:n;for(a.set(e,t),a.set(t,e);++d<u;){var v=e[d],y=t[d];if(i)var b=s?i(y,v,d,t,e,a):i(v,y,d,e,t,a);if(b!==n){if(b)continue;m=!1;break}if(g){if(!tn(t,function(e,t){if(!vn(g,t)&&(v===e||o(v,e,r,i,a)))return g.push(t)})){m=!1;break}}else if(v!==y&&!o(v,y,r,i,a)){m=!1;break}}return a.delete(e),a.delete(t),m}function Ro(e){return oa(ea(e,n,ya),e+"")}function Po(e){return Zr(e,iu,zo)}function Oo(e){return Zr(e,ou,Bo)}var Do=rr?function(e){return rr.get(e)}:Iu;function Ao(e){for(var t=e.name+"",n=ir[t],r=ct.call(ir,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Io(e){return(ct.call(hr,"placeholder")?hr:e).placeholder}function jo(){var e=hr.iteratee||Pu;return e=e===Pu?ui:e,arguments.length?e(arguments[0],arguments[1]):e}function Uo(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Lo(e){for(var t=iu(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Xo(i)]}return t}function Fo(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return si(r)?r:n}var zo=zn?function(e){return null==e?[]:(e=tt(e),Gt(zn(e),function(t){return It.call(e,t)}))}:Wu,Bo=zn?function(e){for(var t=[];e;)Xt(t,zo(e)),e=Ot(e);return t}:Wu,Wo=Xr;function Yo(e,t,n){for(var r=-1,i=(t=$i(t,e)).length,o=!1;++r<i;){var a=ca(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Ts(i)&&$o(a,i)&&(vs(e)||gs(e))}function Ho(e){return"function"!=typeof e.constructor||Zo(e)?{}:pr(Ot(e))}function Vo(e){return vs(e)||gs(e)||!!(nn&&e&&e[nn])}function $o(e,t){var n=typeof e;return!!(t=null==t?O:t)&&("number"==n||"symbol"!=n&&$e.test(e))&&e>-1&&e%1==0&&e<t}function qo(e,t,n){if(!Cs(n))return!1;var r=typeof t;return!!("number"==r?bs(n)&&$o(t,n.length):"string"==r&&t in n)&&hs(n[t],e)}function Go(e,t){if(vs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Is(e))||Me.test(e)||!Ce.test(e)||null!=t&&e in tt(t)}function Qo(e){var t=Ao(e),n=hr[t];if("function"!=typeof n||!(t in vr.prototype))return!1;if(e===n)return!0;var r=Do(n);return!!r&&e===r[0]}(Zn&&Wo(new Zn(new ArrayBuffer(1)))!=se||Xn&&Wo(new Xn)!=G||Jn&&"[object Promise]"!=Wo(Jn.resolve())||er&&Wo(new er)!=ee||tr&&Wo(new tr)!=ie)&&(Wo=function(e){var t=Xr(e),r=t==Z?e.constructor:n,i=r?fa(r):"";if(i)switch(i){case or:return se;case ar:return G;case sr:return"[object Promise]";case ur:return ee;case lr:return ie}return t});var Ko=ut?Es:Yu;function Zo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||st)}function Xo(e){return e==e&&!Cs(e)}function Jo(e,t){return function(r){return null!=r&&r[e]===t&&(t!==n||e in tt(r))}}function ea(e,t,r){return t=Vn(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=Vn(n.length-t,0),a=Ke(o);++i<o;)a[i]=n[t+i];i=-1;for(var s=Ke(t+1);++i<t;)s[i]=n[i];return s[t]=r(a),Yt(e,this,s)}}function ta(e,t){return t.length<2?e:Kr(e,Ri(t,0,-1))}function na(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ra=sa(Ci),ia=Un||function(e,t){return Pt.setTimeout(e,t)},oa=sa(Mi);function aa(e,t,n){var r=t+"";return oa(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Vt(L,function(n){var r="_."+n[0];t&n[1]&&!Qt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(je);return t?t[1].split(Ue):[]}(r),n)))}function sa(e){var t=0,r=0;return function(){var i=qn(),o=M-(i-r);if(r=i,o>0){if(++t>=C)return arguments[0]}else t=0;return e.apply(n,arguments)}}function ua(e,t){var r=-1,i=e.length,o=i-1;for(t=t===n?i:t;++r<t;){var a=wi(r,o),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var la=function(e){var t=ss(e,function(e){return n.size===u&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ne,function(e,n,r,i){t.push(r?i.replace(Fe,"$1"):n||e)}),t});function ca(e){if("string"==typeof e||Is(e))return e;var t=e+"";return"0"==t&&1/e==-P?"-0":t}function fa(e){if(null!=e){try{return lt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function da(e){if(e instanceof vr)return e.clone();var t=new gr(e.__wrapped__,e.__chain__);return t.__actions__=no(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var ha=xi(function(e,t){return _s(e)?Lr(e,Hr(t,1,_s,!0)):[]}),pa=xi(function(e,t){var r=xa(t);return _s(r)&&(r=n),_s(e)?Lr(e,Hr(t,1,_s,!0),jo(r,2)):[]}),ma=xi(function(e,t){var r=xa(t);return _s(r)&&(r=n),_s(e)?Lr(e,Hr(t,1,_s,!0),n,r):[]});function ga(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Bs(n);return i<0&&(i=Vn(r+i,0)),on(e,jo(t,3),i)}function va(e,t,r){var i=null==e?0:e.length;if(!i)return-1;var o=i-1;return r!==n&&(o=Bs(r),o=r<0?Vn(i+o,0):$n(o,i-1)),on(e,jo(t,3),o,!0)}function ya(e){return null!=e&&e.length?Hr(e,1):[]}function ba(e){return e&&e.length?e[0]:n}var _a=xi(function(e){var t=Zt(e,Hi);return t.length&&t[0]===e[0]?ni(t):[]}),wa=xi(function(e){var t=xa(e),r=Zt(e,Hi);return t===xa(r)?t=n:r.pop(),r.length&&r[0]===e[0]?ni(r,jo(t,2)):[]}),ka=xi(function(e){var t=xa(e),r=Zt(e,Hi);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?ni(r,n,t):[]});function xa(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Ea=xi(Sa);function Sa(e,t){return e&&e.length&&t&&t.length?bi(e,t):e}var Ta=Ro(function(e,t){var n=null==e?0:e.length,r=Dr(e,t);return _i(e,Zt(t,function(e){return $o(e,n)?+e:e}).sort(Ji)),r});function Ca(e){return null==e?e:Kn.call(e)}var Ma=xi(function(e){return Ui(Hr(e,1,_s,!0))}),Na=xi(function(e){var t=xa(e);return _s(t)&&(t=n),Ui(Hr(e,1,_s,!0),jo(t,2))}),Ra=xi(function(e){var t=xa(e);return t="function"==typeof t?t:n,Ui(Hr(e,1,_s,!0),n,t)});function Pa(e){if(!e||!e.length)return[];var t=0;return e=Gt(e,function(e){if(_s(e))return t=Vn(e.length,t),!0}),pn(t,function(t){return Zt(e,cn(t))})}function Oa(e,t){if(!e||!e.length)return[];var r=Pa(e);return null==t?r:Zt(r,function(e){return Yt(t,n,e)})}var Da=xi(function(e,t){return _s(e)?Lr(e,t):[]}),Aa=xi(function(e){return Wi(Gt(e,_s))}),Ia=xi(function(e){var t=xa(e);return _s(t)&&(t=n),Wi(Gt(e,_s),jo(t,2))}),ja=xi(function(e){var t=xa(e);return t="function"==typeof t?t:n,Wi(Gt(e,_s),n,t)}),Ua=xi(Pa);var La=xi(function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,Oa(e,r)});function Fa(e){var t=hr(e);return t.__chain__=!0,t}function za(e,t){return t(e)}var Ba=Ro(function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,o=function(t){return Dr(t,e)};return!(t>1||this.__actions__.length)&&i instanceof vr&&$o(r)?((i=i.slice(r,+r+(t?1:0))).__actions__.push({func:za,args:[o],thisArg:n}),new gr(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e})):this.thru(o)});var Wa=io(function(e,t,n){ct.call(e,n)?++e[n]:Or(e,n,1)});var Ya=fo(ga),Ha=fo(va);function Va(e,t){return(vs(e)?Vt:Fr)(e,jo(t,3))}function $a(e,t){return(vs(e)?$t:zr)(e,jo(t,3))}var qa=io(function(e,t,n){ct.call(e,n)?e[n].push(t):Or(e,n,[t])});var Ga=xi(function(e,t,n){var r=-1,i="function"==typeof t,o=bs(e)?Ke(e.length):[];return Fr(e,function(e){o[++r]=i?Yt(t,e,n):ri(e,t,n)}),o}),Qa=io(function(e,t,n){Or(e,n,t)});function Ka(e,t){return(vs(e)?Zt:di)(e,jo(t,3))}var Za=io(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var Xa=xi(function(e,t){if(null==e)return[];var n=t.length;return n>1&&qo(e,t[0],t[1])?t=[]:n>2&&qo(t[0],t[1],t[2])&&(t=[t[0]]),vi(e,Hr(t,1),[])}),Ja=jn||function(){return Pt.Date.now()};function es(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,So(e,k,n,n,n,n,t)}function ts(e,t){var r;if("function"!=typeof t)throw new it(a);return e=Bs(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var ns=xi(function(e,t,n){var r=m;if(n.length){var i=Tn(n,Io(ns));r|=_}return So(e,r,t,n,i)}),rs=xi(function(e,t,n){var r=m|g;if(n.length){var i=Tn(n,Io(rs));r|=_}return So(t,r,e,n,i)});function is(e,t,r){var i,o,s,u,l,c,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new it(a);function m(t){var r=i,a=o;return i=o=n,f=t,u=e.apply(a,r)}function g(e){var r=e-c;return c===n||r>=t||r<0||h&&e-f>=s}function v(){var e=Ja();if(g(e))return y(e);l=ia(v,function(e){var n=t-(e-c);return h?$n(n,s-(e-f)):n}(e))}function y(e){return l=n,p&&i?m(e):(i=o=n,u)}function b(){var e=Ja(),r=g(e);if(i=arguments,o=this,c=e,r){if(l===n)return function(e){return f=e,l=ia(v,t),d?m(e):u}(c);if(h)return Qi(l),l=ia(v,t),m(c)}return l===n&&(l=ia(v,t)),u}return t=Ys(t)||0,Cs(r)&&(d=!!r.leading,s=(h="maxWait"in r)?Vn(Ys(r.maxWait)||0,t):s,p="trailing"in r?!!r.trailing:p),b.cancel=function(){l!==n&&Qi(l),f=0,i=c=o=l=n},b.flush=function(){return l===n?u:y(Ja())},b}var os=xi(function(e,t){return Ur(e,1,t)}),as=xi(function(e,t,n){return Ur(e,Ys(t)||0,n)});function ss(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new it(a);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(ss.Cache||_r),n}function us(e){if("function"!=typeof e)throw new it(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ss.Cache=_r;var ls=qi(function(e,t){var n=(t=1==t.length&&vs(t[0])?Zt(t[0],mn(jo())):Zt(Hr(t,1),mn(jo()))).length;return xi(function(r){for(var i=-1,o=$n(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return Yt(e,this,r)})}),cs=xi(function(e,t){var r=Tn(t,Io(cs));return So(e,_,n,t,r)}),fs=xi(function(e,t){var r=Tn(t,Io(fs));return So(e,w,n,t,r)}),ds=Ro(function(e,t){return So(e,x,n,n,n,t)});function hs(e,t){return e===t||e!=e&&t!=t}var ps=_o(Jr),ms=_o(function(e,t){return e>=t}),gs=ii(function(){return arguments}())?ii:function(e){return Ms(e)&&ct.call(e,"callee")&&!It.call(e,"callee")},vs=Ke.isArray,ys=Ut?mn(Ut):function(e){return Ms(e)&&Xr(e)==ae};function bs(e){return null!=e&&Ts(e.length)&&!Es(e)}function _s(e){return Ms(e)&&bs(e)}var ws=Bn||Yu,ks=Lt?mn(Lt):function(e){return Ms(e)&&Xr(e)==Y};function xs(e){if(!Ms(e))return!1;var t=Xr(e);return t==V||t==H||"string"==typeof e.message&&"string"==typeof e.name&&!Ps(e)}function Es(e){if(!Cs(e))return!1;var t=Xr(e);return t==$||t==q||t==B||t==X}function Ss(e){return"number"==typeof e&&e==Bs(e)}function Ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=O}function Cs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ms(e){return null!=e&&"object"==typeof e}var Ns=Ft?mn(Ft):function(e){return Ms(e)&&Wo(e)==G};function Rs(e){return"number"==typeof e||Ms(e)&&Xr(e)==Q}function Ps(e){if(!Ms(e)||Xr(e)!=Z)return!1;var t=Ot(e);if(null===t)return!0;var n=ct.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&<.call(n)==pt}var Os=zt?mn(zt):function(e){return Ms(e)&&Xr(e)==J};var Ds=Bt?mn(Bt):function(e){return Ms(e)&&Wo(e)==ee};function As(e){return"string"==typeof e||!vs(e)&&Ms(e)&&Xr(e)==te}function Is(e){return"symbol"==typeof e||Ms(e)&&Xr(e)==ne}var js=Wt?mn(Wt):function(e){return Ms(e)&&Ts(e.length)&&!!Et[Xr(e)]};var Us=_o(fi),Ls=_o(function(e,t){return e<=t});function Fs(e){if(!e)return[];if(bs(e))return As(e)?Rn(e):no(e);if(fn&&e[fn])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[fn]());var t=Wo(e);return(t==G?En:t==ee?Cn:hu)(e)}function zs(e){return e?(e=Ys(e))===P||e===-P?(e<0?-1:1)*D:e==e?e:0:0===e?e:0}function Bs(e){var t=zs(e),n=t%1;return t==t?n?t-n:t:0}function Ws(e){return e?Ar(Bs(e),0,I):0}function Ys(e){if("number"==typeof e)return e;if(Is(e))return A;if(Cs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Cs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Oe,"");var n=Ye.test(e);return n||Ve.test(e)?Mt(e.slice(2),n?2:8):We.test(e)?A:+e}function Hs(e){return ro(e,ou(e))}function Vs(e){return null==e?"":ji(e)}var $s=oo(function(e,t){if(Zo(t)||bs(t))ro(t,iu(t),e);else for(var n in t)ct.call(t,n)&&Mr(e,n,t[n])}),qs=oo(function(e,t){ro(t,ou(t),e)}),Gs=oo(function(e,t,n,r){ro(t,ou(t),e,r)}),Qs=oo(function(e,t,n,r){ro(t,iu(t),e,r)}),Ks=Ro(Dr);var Zs=xi(function(e,t){e=tt(e);var r=-1,i=t.length,o=i>2?t[2]:n;for(o&&qo(t[0],t[1],o)&&(i=1);++r<i;)for(var a=t[r],s=ou(a),u=-1,l=s.length;++u<l;){var c=s[u],f=e[c];(f===n||hs(f,st[c])&&!ct.call(e,c))&&(e[c]=a[c])}return e}),Xs=xi(function(e){return e.push(n,Co),Yt(su,n,e)});function Js(e,t,r){var i=null==e?n:Kr(e,t);return i===n?r:i}function eu(e,t){return null!=e&&Yo(e,t,ti)}var tu=mo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),e[t]=n},Cu(Ru)),nu=mo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),ct.call(e,t)?e[t].push(n):e[t]=[n]},jo),ru=xi(ri);function iu(e){return bs(e)?xr(e):li(e)}function ou(e){return bs(e)?xr(e,!0):ci(e)}var au=oo(function(e,t,n){mi(e,t,n)}),su=oo(function(e,t,n,r){mi(e,t,n,r)}),uu=Ro(function(e,t){var n={};if(null==e)return n;var r=!1;t=Zt(t,function(t){return t=$i(t,e),r||(r=t.length>1),t}),ro(e,Oo(e),n),r&&(n=Ir(n,c|f|d,Mo));for(var i=t.length;i--;)Li(n,t[i]);return n});var lu=Ro(function(e,t){return null==e?{}:function(e,t){return yi(e,t,function(t,n){return eu(e,n)})}(e,t)});function cu(e,t){if(null==e)return{};var n=Zt(Oo(e),function(e){return[e]});return t=jo(t),yi(e,n,function(e,n){return t(e,n[0])})}var fu=Eo(iu),du=Eo(ou);function hu(e){return null==e?[]:gn(e,iu(e))}var pu=lo(function(e,t,n){return t=t.toLowerCase(),e+(n?mu(t):t)});function mu(e){return xu(Vs(e).toLowerCase())}function gu(e){return(e=Vs(e))&&e.replace(qe,_n).replace(vt,"")}var vu=lo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),yu=lo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),bu=uo("toLowerCase");var _u=lo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var wu=lo(function(e,t,n){return e+(n?" ":"")+xu(t)});var ku=lo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),xu=uo("toUpperCase");function Eu(e,t,r){return e=Vs(e),(t=r?n:t)===n?function(e){return wt.test(e)}(e)?function(e){return e.match(bt)||[]}(e):function(e){return e.match(Le)||[]}(e):e.match(t)||[]}var Su=xi(function(e,t){try{return Yt(e,n,t)}catch(e){return xs(e)?e:new Xe(e)}}),Tu=Ro(function(e,t){return Vt(t,function(t){t=ca(t),Or(e,t,ns(e[t],e))}),e});function Cu(e){return function(){return e}}var Mu=ho(),Nu=ho(!0);function Ru(e){return e}function Pu(e){return ui("function"==typeof e?e:Ir(e,c))}var Ou=xi(function(e,t){return function(n){return ri(n,e,t)}}),Du=xi(function(e,t){return function(n){return ri(e,n,t)}});function Au(e,t,n){var r=iu(t),i=Qr(t,r);null!=n||Cs(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Qr(t,iu(t)));var o=!(Cs(n)&&"chain"in n&&!n.chain),a=Es(e);return Vt(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=no(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Xt([this.value()],arguments))})}),e}function Iu(){}var ju=vo(Zt),Uu=vo(qt),Lu=vo(tn);function Fu(e){return Go(e)?cn(ca(e)):function(e){return function(t){return Kr(t,e)}}(e)}var zu=bo(),Bu=bo(!0);function Wu(){return[]}function Yu(){return!1}var Hu=go(function(e,t){return e+t},0),Vu=ko("ceil"),$u=go(function(e,t){return e/t},1),qu=ko("floor");var Gu,Qu=go(function(e,t){return e*t},1),Ku=ko("round"),Zu=go(function(e,t){return e-t},0);return hr.after=function(e,t){if("function"!=typeof t)throw new it(a);return e=Bs(e),function(){if(--e<1)return t.apply(this,arguments)}},hr.ary=es,hr.assign=$s,hr.assignIn=qs,hr.assignInWith=Gs,hr.assignWith=Qs,hr.at=Ks,hr.before=ts,hr.bind=ns,hr.bindAll=Tu,hr.bindKey=rs,hr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return vs(e)?e:[e]},hr.chain=Fa,hr.chunk=function(e,t,r){t=(r?qo(e,t,r):t===n)?1:Vn(Bs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,a=0,s=Ke(Ln(i/t));o<i;)s[a++]=Ri(e,o,o+=t);return s},hr.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},hr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Ke(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Xt(vs(n)?no(n):[n],Hr(t,1))},hr.cond=function(e){var t=null==e?0:e.length,n=jo();return e=t?Zt(e,function(e){if("function"!=typeof e[1])throw new it(a);return[n(e[0]),e[1]]}):[],xi(function(n){for(var r=-1;++r<t;){var i=e[r];if(Yt(i[0],this,n))return Yt(i[1],this,n)}})},hr.conforms=function(e){return function(e){var t=iu(e);return function(n){return jr(n,e,t)}}(Ir(e,c))},hr.constant=Cu,hr.countBy=Wa,hr.create=function(e,t){var n=pr(e);return null==t?n:Pr(n,t)},hr.curry=function e(t,r,i){var o=So(t,y,n,n,n,n,n,r=i?n:r);return o.placeholder=e.placeholder,o},hr.curryRight=function e(t,r,i){var o=So(t,b,n,n,n,n,n,r=i?n:r);return o.placeholder=e.placeholder,o},hr.debounce=is,hr.defaults=Zs,hr.defaultsDeep=Xs,hr.defer=os,hr.delay=as,hr.difference=ha,hr.differenceBy=pa,hr.differenceWith=ma,hr.drop=function(e,t,r){var i=null==e?0:e.length;return i?Ri(e,(t=r||t===n?1:Bs(t))<0?0:t,i):[]},hr.dropRight=function(e,t,r){var i=null==e?0:e.length;return i?Ri(e,0,(t=i-(t=r||t===n?1:Bs(t)))<0?0:t):[]},hr.dropRightWhile=function(e,t){return e&&e.length?zi(e,jo(t,3),!0,!0):[]},hr.dropWhile=function(e,t){return e&&e.length?zi(e,jo(t,3),!0):[]},hr.fill=function(e,t,r,i){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&qo(e,t,r)&&(r=0,i=o),function(e,t,r,i){var o=e.length;for((r=Bs(r))<0&&(r=-r>o?0:o+r),(i=i===n||i>o?o:Bs(i))<0&&(i+=o),i=r>i?0:Ws(i);r<i;)e[r++]=t;return e}(e,t,r,i)):[]},hr.filter=function(e,t){return(vs(e)?Gt:Yr)(e,jo(t,3))},hr.flatMap=function(e,t){return Hr(Ka(e,t),1)},hr.flatMapDeep=function(e,t){return Hr(Ka(e,t),P)},hr.flatMapDepth=function(e,t,r){return r=r===n?1:Bs(r),Hr(Ka(e,t),r)},hr.flatten=ya,hr.flattenDeep=function(e){return null!=e&&e.length?Hr(e,P):[]},hr.flattenDepth=function(e,t){return null!=e&&e.length?Hr(e,t=t===n?1:Bs(t)):[]},hr.flip=function(e){return So(e,E)},hr.flow=Mu,hr.flowRight=Nu,hr.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},hr.functions=function(e){return null==e?[]:Qr(e,iu(e))},hr.functionsIn=function(e){return null==e?[]:Qr(e,ou(e))},hr.groupBy=qa,hr.initial=function(e){return null!=e&&e.length?Ri(e,0,-1):[]},hr.intersection=_a,hr.intersectionBy=wa,hr.intersectionWith=ka,hr.invert=tu,hr.invertBy=nu,hr.invokeMap=Ga,hr.iteratee=Pu,hr.keyBy=Qa,hr.keys=iu,hr.keysIn=ou,hr.map=Ka,hr.mapKeys=function(e,t){var n={};return t=jo(t,3),qr(e,function(e,r,i){Or(n,t(e,r,i),e)}),n},hr.mapValues=function(e,t){var n={};return t=jo(t,3),qr(e,function(e,r,i){Or(n,r,t(e,r,i))}),n},hr.matches=function(e){return hi(Ir(e,c))},hr.matchesProperty=function(e,t){return pi(e,Ir(t,c))},hr.memoize=ss,hr.merge=au,hr.mergeWith=su,hr.method=Ou,hr.methodOf=Du,hr.mixin=Au,hr.negate=us,hr.nthArg=function(e){return e=Bs(e),xi(function(t){return gi(t,e)})},hr.omit=uu,hr.omitBy=function(e,t){return cu(e,us(jo(t)))},hr.once=function(e){return ts(2,e)},hr.orderBy=function(e,t,r,i){return null==e?[]:(vs(t)||(t=null==t?[]:[t]),vs(r=i?n:r)||(r=null==r?[]:[r]),vi(e,t,r))},hr.over=ju,hr.overArgs=ls,hr.overEvery=Uu,hr.overSome=Lu,hr.partial=cs,hr.partialRight=fs,hr.partition=Za,hr.pick=lu,hr.pickBy=cu,hr.property=Fu,hr.propertyOf=function(e){return function(t){return null==e?n:Kr(e,t)}},hr.pull=Ea,hr.pullAll=Sa,hr.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?bi(e,t,jo(n,2)):e},hr.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?bi(e,t,n,r):e},hr.pullAt=Ta,hr.range=zu,hr.rangeRight=Bu,hr.rearg=ds,hr.reject=function(e,t){return(vs(e)?Gt:Yr)(e,us(jo(t,3)))},hr.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=jo(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return _i(e,i),n},hr.rest=function(e,t){if("function"!=typeof e)throw new it(a);return xi(e,t=t===n?t:Bs(t))},hr.reverse=Ca,hr.sampleSize=function(e,t,r){return t=(r?qo(e,t,r):t===n)?1:Bs(t),(vs(e)?Sr:Si)(e,t)},hr.set=function(e,t,n){return null==e?e:Ti(e,t,n)},hr.setWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:Ti(e,t,r,i)},hr.shuffle=function(e){return(vs(e)?Tr:Ni)(e)},hr.slice=function(e,t,r){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&qo(e,t,r)?(t=0,r=i):(t=null==t?0:Bs(t),r=r===n?i:Bs(r)),Ri(e,t,r)):[]},hr.sortBy=Xa,hr.sortedUniq=function(e){return e&&e.length?Ai(e):[]},hr.sortedUniqBy=function(e,t){return e&&e.length?Ai(e,jo(t,2)):[]},hr.split=function(e,t,r){return r&&"number"!=typeof r&&qo(e,t,r)&&(t=r=n),(r=r===n?I:r>>>0)?(e=Vs(e))&&("string"==typeof t||null!=t&&!Os(t))&&!(t=ji(t))&&xn(e)?Gi(Rn(e),0,r):e.split(t,r):[]},hr.spread=function(e,t){if("function"!=typeof e)throw new it(a);return t=null==t?0:Vn(Bs(t),0),xi(function(n){var r=n[t],i=Gi(n,0,t);return r&&Xt(i,r),Yt(e,this,i)})},hr.tail=function(e){var t=null==e?0:e.length;return t?Ri(e,1,t):[]},hr.take=function(e,t,r){return e&&e.length?Ri(e,0,(t=r||t===n?1:Bs(t))<0?0:t):[]},hr.takeRight=function(e,t,r){var i=null==e?0:e.length;return i?Ri(e,(t=i-(t=r||t===n?1:Bs(t)))<0?0:t,i):[]},hr.takeRightWhile=function(e,t){return e&&e.length?zi(e,jo(t,3),!1,!0):[]},hr.takeWhile=function(e,t){return e&&e.length?zi(e,jo(t,3)):[]},hr.tap=function(e,t){return t(e),e},hr.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new it(a);return Cs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),is(e,t,{leading:r,maxWait:t,trailing:i})},hr.thru=za,hr.toArray=Fs,hr.toPairs=fu,hr.toPairsIn=du,hr.toPath=function(e){return vs(e)?Zt(e,ca):Is(e)?[e]:no(la(Vs(e)))},hr.toPlainObject=Hs,hr.transform=function(e,t,n){var r=vs(e),i=r||ws(e)||js(e);if(t=jo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Cs(e)&&Es(o)?pr(Ot(e)):{}}return(i?Vt:qr)(e,function(e,r,i){return t(n,e,r,i)}),n},hr.unary=function(e){return es(e,1)},hr.union=Ma,hr.unionBy=Na,hr.unionWith=Ra,hr.uniq=function(e){return e&&e.length?Ui(e):[]},hr.uniqBy=function(e,t){return e&&e.length?Ui(e,jo(t,2)):[]},hr.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?Ui(e,n,t):[]},hr.unset=function(e,t){return null==e||Li(e,t)},hr.unzip=Pa,hr.unzipWith=Oa,hr.update=function(e,t,n){return null==e?e:Fi(e,t,Vi(n))},hr.updateWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:Fi(e,t,Vi(r),i)},hr.values=hu,hr.valuesIn=function(e){return null==e?[]:gn(e,ou(e))},hr.without=Da,hr.words=Eu,hr.wrap=function(e,t){return cs(Vi(t),e)},hr.xor=Aa,hr.xorBy=Ia,hr.xorWith=ja,hr.zip=Ua,hr.zipObject=function(e,t){return Yi(e||[],t||[],Mr)},hr.zipObjectDeep=function(e,t){return Yi(e||[],t||[],Ti)},hr.zipWith=La,hr.entries=fu,hr.entriesIn=du,hr.extend=qs,hr.extendWith=Gs,Au(hr,hr),hr.add=Hu,hr.attempt=Su,hr.camelCase=pu,hr.capitalize=mu,hr.ceil=Vu,hr.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=Ys(r))==r?r:0),t!==n&&(t=(t=Ys(t))==t?t:0),Ar(Ys(e),t,r)},hr.clone=function(e){return Ir(e,d)},hr.cloneDeep=function(e){return Ir(e,c|d)},hr.cloneDeepWith=function(e,t){return Ir(e,c|d,t="function"==typeof t?t:n)},hr.cloneWith=function(e,t){return Ir(e,d,t="function"==typeof t?t:n)},hr.conformsTo=function(e,t){return null==t||jr(e,t,iu(t))},hr.deburr=gu,hr.defaultTo=function(e,t){return null==e||e!=e?t:e},hr.divide=$u,hr.endsWith=function(e,t,r){e=Vs(e),t=ji(t);var i=e.length,o=r=r===n?i:Ar(Bs(r),0,i);return(r-=t.length)>=0&&e.slice(r,o)==t},hr.eq=hs,hr.escape=function(e){return(e=Vs(e))&&xe.test(e)?e.replace(we,wn):e},hr.escapeRegExp=function(e){return(e=Vs(e))&&Pe.test(e)?e.replace(Re,"\\$&"):e},hr.every=function(e,t,r){var i=vs(e)?qt:Br;return r&&qo(e,t,r)&&(t=n),i(e,jo(t,3))},hr.find=Ya,hr.findIndex=ga,hr.findKey=function(e,t){return rn(e,jo(t,3),qr)},hr.findLast=Ha,hr.findLastIndex=va,hr.findLastKey=function(e,t){return rn(e,jo(t,3),Gr)},hr.floor=qu,hr.forEach=Va,hr.forEachRight=$a,hr.forIn=function(e,t){return null==e?e:Vr(e,jo(t,3),ou)},hr.forInRight=function(e,t){return null==e?e:$r(e,jo(t,3),ou)},hr.forOwn=function(e,t){return e&&qr(e,jo(t,3))},hr.forOwnRight=function(e,t){return e&&Gr(e,jo(t,3))},hr.get=Js,hr.gt=ps,hr.gte=ms,hr.has=function(e,t){return null!=e&&Yo(e,t,ei)},hr.hasIn=eu,hr.head=ba,hr.identity=Ru,hr.includes=function(e,t,n,r){e=bs(e)?e:hu(e),n=n&&!r?Bs(n):0;var i=e.length;return n<0&&(n=Vn(i+n,0)),As(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&an(e,t,n)>-1},hr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Bs(n);return i<0&&(i=Vn(r+i,0)),an(e,t,i)},hr.inRange=function(e,t,r){return t=zs(t),r===n?(r=t,t=0):r=zs(r),function(e,t,n){return e>=$n(t,n)&&e<Vn(t,n)}(e=Ys(e),t,r)},hr.invoke=ru,hr.isArguments=gs,hr.isArray=vs,hr.isArrayBuffer=ys,hr.isArrayLike=bs,hr.isArrayLikeObject=_s,hr.isBoolean=function(e){return!0===e||!1===e||Ms(e)&&Xr(e)==W},hr.isBuffer=ws,hr.isDate=ks,hr.isElement=function(e){return Ms(e)&&1===e.nodeType&&!Ps(e)},hr.isEmpty=function(e){if(null==e)return!0;if(bs(e)&&(vs(e)||"string"==typeof e||"function"==typeof e.splice||ws(e)||js(e)||gs(e)))return!e.length;var t=Wo(e);if(t==G||t==ee)return!e.size;if(Zo(e))return!li(e).length;for(var n in e)if(ct.call(e,n))return!1;return!0},hr.isEqual=function(e,t){return oi(e,t)},hr.isEqualWith=function(e,t,r){var i=(r="function"==typeof r?r:n)?r(e,t):n;return i===n?oi(e,t,n,r):!!i},hr.isError=xs,hr.isFinite=function(e){return"number"==typeof e&&Wn(e)},hr.isFunction=Es,hr.isInteger=Ss,hr.isLength=Ts,hr.isMap=Ns,hr.isMatch=function(e,t){return e===t||ai(e,t,Lo(t))},hr.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,ai(e,t,Lo(t),r)},hr.isNaN=function(e){return Rs(e)&&e!=+e},hr.isNative=function(e){if(Ko(e))throw new Xe(o);return si(e)},hr.isNil=function(e){return null==e},hr.isNull=function(e){return null===e},hr.isNumber=Rs,hr.isObject=Cs,hr.isObjectLike=Ms,hr.isPlainObject=Ps,hr.isRegExp=Os,hr.isSafeInteger=function(e){return Ss(e)&&e>=-O&&e<=O},hr.isSet=Ds,hr.isString=As,hr.isSymbol=Is,hr.isTypedArray=js,hr.isUndefined=function(e){return e===n},hr.isWeakMap=function(e){return Ms(e)&&Wo(e)==ie},hr.isWeakSet=function(e){return Ms(e)&&Xr(e)==oe},hr.join=function(e,t){return null==e?"":Yn.call(e,t)},hr.kebabCase=vu,hr.last=xa,hr.lastIndexOf=function(e,t,r){var i=null==e?0:e.length;if(!i)return-1;var o=i;return r!==n&&(o=(o=Bs(r))<0?Vn(i+o,0):$n(o,i-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):on(e,un,o,!0)},hr.lowerCase=yu,hr.lowerFirst=bu,hr.lt=Us,hr.lte=Ls,hr.max=function(e){return e&&e.length?Wr(e,Ru,Jr):n},hr.maxBy=function(e,t){return e&&e.length?Wr(e,jo(t,2),Jr):n},hr.mean=function(e){return ln(e,Ru)},hr.meanBy=function(e,t){return ln(e,jo(t,2))},hr.min=function(e){return e&&e.length?Wr(e,Ru,fi):n},hr.minBy=function(e,t){return e&&e.length?Wr(e,jo(t,2),fi):n},hr.stubArray=Wu,hr.stubFalse=Yu,hr.stubObject=function(){return{}},hr.stubString=function(){return""},hr.stubTrue=function(){return!0},hr.multiply=Qu,hr.nth=function(e,t){return e&&e.length?gi(e,Bs(t)):n},hr.noConflict=function(){return Pt._===this&&(Pt._=mt),this},hr.noop=Iu,hr.now=Ja,hr.pad=function(e,t,n){e=Vs(e);var r=(t=Bs(t))?Nn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return yo(Fn(i),n)+e+yo(Ln(i),n)},hr.padEnd=function(e,t,n){e=Vs(e);var r=(t=Bs(t))?Nn(e):0;return t&&r<t?e+yo(t-r,n):e},hr.padStart=function(e,t,n){e=Vs(e);var r=(t=Bs(t))?Nn(e):0;return t&&r<t?yo(t-r,n)+e:e},hr.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Gn(Vs(e).replace(De,""),t||0)},hr.random=function(e,t,r){if(r&&"boolean"!=typeof r&&qo(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=zs(e),t===n?(t=e,e=0):t=zs(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var o=Qn();return $n(e+o*(t-e+Ct("1e-"+((o+"").length-1))),t)}return wi(e,t)},hr.reduce=function(e,t,n){var r=vs(e)?Jt:dn,i=arguments.length<3;return r(e,jo(t,4),n,i,Fr)},hr.reduceRight=function(e,t,n){var r=vs(e)?en:dn,i=arguments.length<3;return r(e,jo(t,4),n,i,zr)},hr.repeat=function(e,t,r){return t=(r?qo(e,t,r):t===n)?1:Bs(t),ki(Vs(e),t)},hr.replace=function(){var e=arguments,t=Vs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},hr.result=function(e,t,r){var i=-1,o=(t=$i(t,e)).length;for(o||(o=1,e=n);++i<o;){var a=null==e?n:e[ca(t[i])];a===n&&(i=o,a=r),e=Es(a)?a.call(e):a}return e},hr.round=Ku,hr.runInContext=e,hr.sample=function(e){return(vs(e)?Er:Ei)(e)},hr.size=function(e){if(null==e)return 0;if(bs(e))return As(e)?Nn(e):e.length;var t=Wo(e);return t==G||t==ee?e.size:li(e).length},hr.snakeCase=_u,hr.some=function(e,t,r){var i=vs(e)?tn:Pi;return r&&qo(e,t,r)&&(t=n),i(e,jo(t,3))},hr.sortedIndex=function(e,t){return Oi(e,t)},hr.sortedIndexBy=function(e,t,n){return Di(e,t,jo(n,2))},hr.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Oi(e,t);if(r<n&&hs(e[r],t))return r}return-1},hr.sortedLastIndex=function(e,t){return Oi(e,t,!0)},hr.sortedLastIndexBy=function(e,t,n){return Di(e,t,jo(n,2),!0)},hr.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=Oi(e,t,!0)-1;if(hs(e[n],t))return n}return-1},hr.startCase=wu,hr.startsWith=function(e,t,n){return e=Vs(e),n=null==n?0:Ar(Bs(n),0,e.length),t=ji(t),e.slice(n,n+t.length)==t},hr.subtract=Zu,hr.sum=function(e){return e&&e.length?hn(e,Ru):0},hr.sumBy=function(e,t){return e&&e.length?hn(e,jo(t,2)):0},hr.template=function(e,t,r){var i=hr.templateSettings;r&&qo(e,t,r)&&(t=n),e=Vs(e),t=Gs({},t,i,To);var o,a,s=Gs({},t.imports,i.imports,To),u=iu(s),l=gn(s,u),c=0,f=t.interpolate||Ge,d="__p += '",h=nt((t.escape||Ge).source+"|"+f.source+"|"+(f===Te?ze:Ge).source+"|"+(t.evaluate||Ge).source+"|$","g"),p="//# sourceURL="+(ct.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++xt+"]")+"\n";e.replace(h,function(t,n,r,i,s,u){return r||(r=i),d+=e.slice(c,u).replace(Qe,kn),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+t.length,t}),d+="';\n";var m=ct.call(t,"variable")&&t.variable;m||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(ve,""):d).replace(ye,"$1").replace(be,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Su(function(){return Je(u,p+"return "+d).apply(n,l)});if(g.source=d,xs(g))throw g;return g},hr.times=function(e,t){if((e=Bs(e))<1||e>O)return[];var n=I,r=$n(e,I);t=jo(t),e-=I;for(var i=pn(r,t);++n<e;)t(n);return i},hr.toFinite=zs,hr.toInteger=Bs,hr.toLength=Ws,hr.toLower=function(e){return Vs(e).toLowerCase()},hr.toNumber=Ys,hr.toSafeInteger=function(e){return e?Ar(Bs(e),-O,O):0===e?e:0},hr.toString=Vs,hr.toUpper=function(e){return Vs(e).toUpperCase()},hr.trim=function(e,t,r){if((e=Vs(e))&&(r||t===n))return e.replace(Oe,"");if(!e||!(t=ji(t)))return e;var i=Rn(e),o=Rn(t);return Gi(i,yn(i,o),bn(i,o)+1).join("")},hr.trimEnd=function(e,t,r){if((e=Vs(e))&&(r||t===n))return e.replace(Ae,"");if(!e||!(t=ji(t)))return e;var i=Rn(e);return Gi(i,0,bn(i,Rn(t))+1).join("")},hr.trimStart=function(e,t,r){if((e=Vs(e))&&(r||t===n))return e.replace(De,"");if(!e||!(t=ji(t)))return e;var i=Rn(e);return Gi(i,yn(i,Rn(t))).join("")},hr.truncate=function(e,t){var r=S,i=T;if(Cs(t)){var o="separator"in t?t.separator:o;r="length"in t?Bs(t.length):r,i="omission"in t?ji(t.omission):i}var a=(e=Vs(e)).length;if(xn(e)){var s=Rn(e);a=s.length}if(r>=a)return e;var u=r-Nn(i);if(u<1)return i;var l=s?Gi(s,0,u).join(""):e.slice(0,u);if(o===n)return l+i;if(s&&(u+=l.length-u),Os(o)){if(e.slice(u).search(o)){var c,f=l;for(o.global||(o=nt(o.source,Vs(Be.exec(o))+"g")),o.lastIndex=0;c=o.exec(f);)var d=c.index;l=l.slice(0,d===n?u:d)}}else if(e.indexOf(ji(o),u)!=u){var h=l.lastIndexOf(o);h>-1&&(l=l.slice(0,h))}return l+i},hr.unescape=function(e){return(e=Vs(e))&&ke.test(e)?e.replace(_e,Pn):e},hr.uniqueId=function(e){var t=++ft;return Vs(e)+t},hr.upperCase=ku,hr.upperFirst=xu,hr.each=Va,hr.eachRight=$a,hr.first=ba,Au(hr,(Gu={},qr(hr,function(e,t){ct.call(hr.prototype,t)||(Gu[t]=e)}),Gu),{chain:!1}),hr.VERSION="4.17.20",Vt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){hr[e].placeholder=hr}),Vt(["drop","take"],function(e,t){vr.prototype[e]=function(r){r=r===n?1:Vn(Bs(r),0);var i=this.__filtered__&&!t?new vr(this):this.clone();return i.__filtered__?i.__takeCount__=$n(r,i.__takeCount__):i.__views__.push({size:$n(r,I),type:e+(i.__dir__<0?"Right":"")}),i},vr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Vt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==N||3==n;vr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:jo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Vt(["head","last"],function(e,t){var n="take"+(t?"Right":"");vr.prototype[e]=function(){return this[n](1).value()[0]}}),Vt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");vr.prototype[e]=function(){return this.__filtered__?new vr(this):this[n](1)}}),vr.prototype.compact=function(){return this.filter(Ru)},vr.prototype.find=function(e){return this.filter(e).head()},vr.prototype.findLast=function(e){return this.reverse().find(e)},vr.prototype.invokeMap=xi(function(e,t){return"function"==typeof e?new vr(this):this.map(function(n){return ri(n,e,t)})}),vr.prototype.reject=function(e){return this.filter(us(jo(e)))},vr.prototype.slice=function(e,t){e=Bs(e);var r=this;return r.__filtered__&&(e>0||t<0)?new vr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=Bs(t))<0?r.dropRight(-t):r.take(t-e)),r)},vr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},vr.prototype.toArray=function(){return this.take(I)},qr(vr.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=hr[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(hr.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,u=t instanceof vr,l=s[0],c=u||vs(t),f=function(e){var t=o.apply(hr,Xt([e],s));return i&&d?t[0]:t};c&&r&&"function"==typeof l&&1!=l.length&&(u=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,m=u&&!h;if(!a&&c){t=m?t:new vr(this);var g=e.apply(t,s);return g.__actions__.push({func:za,args:[f],thisArg:n}),new gr(g,d)}return p&&m?e.apply(this,s):(g=this.thru(f),p?i?g.value()[0]:g.value():g)})}),Vt(["pop","push","shift","sort","splice","unshift"],function(e){var t=ot[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);hr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(vs(i)?i:[],e)}return this[n](function(n){return t.apply(vs(n)?n:[],e)})}}),qr(vr.prototype,function(e,t){var n=hr[t];if(n){var r=n.name+"";ct.call(ir,r)||(ir[r]=[]),ir[r].push({name:t,func:n})}}),ir[po(n,g).name]=[{name:"wrapper",func:n}],vr.prototype.clone=function(){var e=new vr(this.__wrapped__);return e.__actions__=no(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=no(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=no(this.__views__),e},vr.prototype.reverse=function(){if(this.__filtered__){var e=new vr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},vr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=vs(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=$n(t,e+a);break;case"takeRight":e=Vn(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,f=c.length,d=0,h=$n(u,this.__takeCount__);if(!n||!r&&i==u&&h==u)return Bi(e,this.__actions__);var p=[];e:for(;u--&&d<h;){for(var m=-1,g=e[l+=t];++m<f;){var v=c[m],y=v.iteratee,b=v.type,_=y(g);if(b==R)g=_;else if(!_){if(b==N)continue e;break e}}p[d++]=g}return p},hr.prototype.at=Ba,hr.prototype.chain=function(){return Fa(this)},hr.prototype.commit=function(){return new gr(this.value(),this.__chain__)},hr.prototype.next=function(){this.__values__===n&&(this.__values__=Fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},hr.prototype.plant=function(e){for(var t,r=this;r instanceof mr;){var i=da(r);i.__index__=0,i.__values__=n,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t},hr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof vr){var t=e;return this.__actions__.length&&(t=new vr(this)),(t=t.reverse()).__actions__.push({func:za,args:[Ca],thisArg:n}),new gr(t,this.__chain__)}return this.thru(Ca)},hr.prototype.toJSON=hr.prototype.valueOf=hr.prototype.value=function(){return Bi(this.__wrapped__,this.__actions__)},hr.prototype.first=hr.prototype.head,fn&&(hr.prototype[fn]=function(){return this}),hr}();Dt?((Dt.exports=On)._=On,Ot._=On):Pt._=On}).call(r)});class Oi{reduce(e,t){const n=Pi.get(e,"local",!1);n&&(this.status(n,t),this.apps(n,t),this.app(n,t),this.appState(n,t),this.appFailed(n,t),this.verbResult(n,t),this.verbStatus(n,t),this.threads(n,t),this.amesPeers(n,t),this.amesPeer(n,t),this.behnTimers(n,t),this.clayCommits(n,t),this.eyreBindings(n,t),this.eyreConnections(n,t),this.eyreAuthentication(n,t),this.eyreChannels(n,t))}status(e,t){const n=Pi.get(e,"status",!1);n&&(t.status=n)}apps(e,t){const n=Pi.get(e,"apps",!1);n&&Object.keys(n).map(e=>{t.apps[e]||(t.apps[e]=n[e])})}app(e,t){const n=Pi.get(e,"app",!1);n&&(t.apps[n.app]&&(n.state=t.apps[n.app].state),t.apps[n.app]=n)}appState(e,t){const n=Pi.get(e,"appState",!1);n&&(t.apps[n.app].state=n.state)}appFailed(e,t){const n=Pi.get(e,"appFailed",!1);n&&(console.log("loading app deets failed",n),t.apps[n]={noDebug:!0})}verbResult(e,t){const n=Pi.get(e,"verbResult",!1);if(n){t.apps[n.app]||(t.apps[n.app]={}),t.apps[n.app].events||(t.apps[n.app].events=[]);let e="some event";n["on-init"]&&(e="+on-init"),n["on-load"]&&(e="+on-load"),n["on-poke"]&&(e="+on-poke with mark "+n["on-poke"]),n["on-watch"]&&(e="+on-watch at path "+n["on-watch"]),n["on-leave"]&&(e="+on-leave on path "+n["on-leave"]),n["on-agent"]&&(e="+on-agent at wire "+n["on-agent"].wire+" with sign "+n["on-agent"].sign),n["on-arvo"]&&(e="+on-arvo at wire "+n["on-arvo"].wire+" from vane "+n["on-arvo"].vane+" with sign "+n["on-arvo"].sign),n["on-fail"]&&(e="+on-fail on "+n["on-fail"]),t.apps[n.app].events.push(e)}}verbStatus(e,t){const n=Pi.get(e,"verbStatus",!1);n&&(t.apps[n.app]||(t.apps[n.app]={}),t.apps[n.app].events||(t.apps[n.app].events=[]),t.apps[n.app].events.push(n.msg))}threads(e,t){const n=Pi.get(e,"threads",!1);n&&(t.threads=n)}amesPeers(e,t){const n=Pi.get(e,"amesPeers",!1);n&&(t.peers.known=n.known,t.peers.alien=n.alien)}amesPeer(e,t){const n=Pi.get(e,"amesPeer",!1);n&&(t.peers.deets[n.who]=n)}behnTimers(e,t){const n=Pi.get(e,"behnTimers",!1);n&&(t.timers=n)}clayCommits(e,t){const n=Pi.get(e,"clayCommits",!1);n&&(console.log("clay comms",n),t.commits=n)}eyreBindings(e,t){const n=Pi.get(e,"eyreBindings",!1);n&&(t.bindings=n)}eyreConnections(e,t){const n=Pi.get(e,"eyreConnections",!1);n&&(t.connections=n)}eyreAuthentication(e,t){const n=Pi.get(e,"eyreAuthentication",!1);n&&(t.authentication=n)}eyreChannels(e,t){const n=Pi.get(e,"eyreChannels",!1);n&&(t.channels=n)}}let Di=new class{constructor(){this.state={status:null,apps:{},threads:{},peers:{known:[],alien:[],deets:{}},timers:[],commits:[],bindings:[],connections:[],authentication:[],channels:[],sidebarShown:!0},this.localReducer=new Oi,this.setState=(()=>{})}setStateHandler(e){this.setState=e}handleEvent(e){let t;t=e.data?e.data:e,console.log("event",t),this.localReducer.reduce(t,this.state),this.setState(this.state)}};window.store=Di;a(function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function l(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function h(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return Pt(e,t,n,r,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=m(e),r=n.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function v(e){var t=p(NaN);return null!=e?h(m(t),e):m(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var y=r.momentProperties=[],b=!1;function _(e,t){var n,r,i;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=m(t)),l(t._locale)||(e._locale=t._locale),y.length>0)for(n=0;n<y.length;n++)r=y[n],l(i=t[r])||(e[r]=i);return e}function w(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,r.updateOffset(this),b=!1)}function k(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function x(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return h(function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,a,u=[];for(o=0;o<arguments.length;o++){if(i="","object"==typeof arguments[o]){for(a in i+="\n["+o+"] ",arguments[0])s(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[o];u.push(i)}x(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var S,T={};function C(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),T[e]||(x(t),T[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function N(e,t){var n,r=h({},e);for(n in t)s(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},h(r[n],e[n]),h(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&a(e[n])&&(r[n]=h({},r[n]));return r}function R(e){null!=e&&this.set(e)}function P(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},I={};function j(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(I[e]=i),t&&(I[t[0]]=function(){return P(i.apply(this,arguments),t[1],t[2])}),n&&(I[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=L(t,e.localeData()),A[t]=A[t]||function(e){var t,n,r,i=e.match(O);for(t=0,n=i.length;t<n;t++)I[i[t]]?i[t]=I[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=M(i[r])?i[r].call(t,e):i[r];return o}}(t),A[t](e)):e.localeData().invalidDate()}function L(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(D.lastIndex=0;n>=0&&D.test(e);)e=e.replace(D,r),D.lastIndex=0,n-=1;return e}var F={};function z(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function B(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function W(e){var t,n,r={};for(n in e)s(e,n)&&(t=B(n))&&(r[t]=e[n]);return r}var Y={};function H(e,t){Y[e]=t}function V(e){return e%4==0&&e%100!=0||e%400==0}function $(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function q(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$(t)),n}function G(e,t){return function(n){return null!=n?(K(this,e,n),r.updateOffset(this,t),this):Q(this,e)}}function Q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&V(e.year())&&1===e.month()&&29===e.date()?(n=q(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Pe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z,X=/\d/,J=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ie=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,se=/\d{1,4}/,ue=/[+-]?\d{1,6}/,le=/\d+/,ce=/[+-]?\d+/,fe=/Z|[+-]\d\d:?\d\d/gi,de=/Z|[+-]\d\d(?::?\d\d)?/gi,he=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pe(e,t,n){Z[e]=M(t)?t:function(e,r){return e&&n?n:t}}function me(e,t){return s(Z,e)?Z[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Z={};var ve={};function ye(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=q(e)}),n=0;n<e.length;n++)ve[e[n]]=r}function be(e,t){ye(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function _e(e,t,n){null!=t&&s(ve,e)&&ve[e](t,n._a,n,e)}var we,ke=0,xe=1,Ee=2,Se=3,Te=4,Ce=5,Me=6,Ne=7,Re=8;function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?V(e)?29:28:31-r%7%2}we=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},j("M",["MM",2],"Mo",function(){return this.month()+1}),j("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),j("MMMM",0,0,function(e){return this.localeData().months(this,e)}),z("month","M"),H("month",8),pe("M",re),pe("MM",re,J),pe("MMM",function(e,t){return t.monthsShortRegex(e)}),pe("MMMM",function(e,t){return t.monthsRegex(e)}),ye(["M","MM"],function(e,t){t[xe]=q(e)-1}),ye(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[xe]=i:m(n).invalidMonth=e});var Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ie=he,je=he;function Ue(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=q(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Pe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Le(e){return null!=e?(Ue(this,e),r.updateOffset(this,!0),this):Q(this,"Month")}function Fe(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=p([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),i[t]=ge(i[t]);for(t=0;t<24;t++)o[t]=ge(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ze(e){return V(e)?366:365}j("Y",0,0,function(){var e=this.year();return e<=9999?P(e,4):"+"+e}),j(0,["YY",2],0,function(){return this.year()%100}),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),z("year","y"),H("year",1),pe("Y",ce),pe("YY",re,J),pe("YYYY",se,te),pe("YYYYY",ue,ne),pe("YYYYYY",ue,ne),ye(["YYYYY","YYYYYY"],ke),ye("YYYY",function(e,t){t[ke]=2===e.length?r.parseTwoDigitYear(e):q(e)}),ye("YY",function(e,t){t[ke]=r.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[ke]=parseInt(e,10)}),r.parseTwoDigitYear=function(e){return q(e)+(q(e)>68?1900:2e3)};var Be=G("FullYear",!0);function We(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ye(e,t,n){var r=7+t-n,i=(7+We(e,0,r).getUTCDay()-t)%7;return-i+r-1}function He(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=Ye(e,r,i),l=1+7*(t-1)+s+u;return l<=0?a=ze(o=e-1)+l:l>ze(e)?(o=e+1,a=l-ze(e)):(o=e,a=l),{year:o,dayOfYear:a}}function Ve(e,t,n){var r,i,o=Ye(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+$e(i,t,n)):a>$e(e.year(),t,n)?(r=a-$e(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function $e(e,t,n){var r=Ye(e,t,n),i=Ye(e+1,t,n);return(ze(e)-r+i)/7}function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),z("week","w"),z("isoWeek","W"),H("week",5),H("isoWeek",5),pe("w",re),pe("ww",re,J),pe("W",re),pe("WW",re,J),be(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=q(e)}),j("d",0,"do","day"),j("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),j("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),j("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),z("day","d"),z("weekday","e"),z("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),pe("d",re),pe("e",re),pe("E",re),pe("dd",function(e,t){return t.weekdaysMinRegex(e)}),pe("ddd",function(e,t){return t.weekdaysShortRegex(e)}),pe("dddd",function(e,t){return t.weekdaysRegex(e)}),be(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:m(n).invalidWeekday=e}),be(["d","e","E"],function(e,t,n,r){t[r]=q(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ke="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ze=he,Xe=he,Je=he;function et(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),i=ge(this.weekdaysShort(n,"")),o=ge(this.weekdays(n,"")),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);a.sort(e),s.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function tt(){return this.hours()%12||12}function nt(e,t){j(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function rt(e,t){return t._meridiemParse}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,tt),j("k",["kk",2],0,function(){return this.hours()||24}),j("hmm",0,0,function(){return""+tt.apply(this)+P(this.minutes(),2)}),j("hmmss",0,0,function(){return""+tt.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+P(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)}),nt("a",!0),nt("A",!1),z("hour","h"),H("hour",13),pe("a",rt),pe("A",rt),pe("H",re),pe("h",re),pe("k",re),pe("HH",re,J),pe("hh",re,J),pe("kk",re,J),pe("hmm",ie),pe("hmmss",oe),pe("Hmm",ie),pe("Hmmss",oe),ye(["H","HH"],Se),ye(["k","kk"],function(e,t,n){var r=q(e);t[Se]=24===r?0:r}),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[Se]=q(e),m(n).bigHour=!0}),ye("hmm",function(e,t,n){var r=e.length-2;t[Se]=q(e.substr(0,r)),t[Te]=q(e.substr(r)),m(n).bigHour=!0}),ye("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Se]=q(e.substr(0,r)),t[Te]=q(e.substr(r,2)),t[Ce]=q(e.substr(i)),m(n).bigHour=!0}),ye("Hmm",function(e,t,n){var r=e.length-2;t[Se]=q(e.substr(0,r)),t[Te]=q(e.substr(r))}),ye("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Se]=q(e.substr(0,r)),t[Te]=q(e.substr(r,2)),t[Ce]=q(e.substr(i))});var it,ot=G("Hours",!0),at={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Oe,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Ke,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},st={},ut={};function lt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function ct(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var n=null;if(void 0===st[t]&&e&&e.exports)try{n=it._abbr,i(),dt(n)}catch(e){st[t]=null}return st[t]}function dt(e,t){var n;return e&&((n=l(t)?pt(e):ht(e,t))?it=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),it._abbr}function ht(e,t){if(null!==t){var n,r=at;if(t.abbr=e,null!=st[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])r=st[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;r=n._config}return st[e]=new R(N(r,t)),ut[e]&&ut[e].forEach(function(e){ht(e.name,e.config)}),dt(e),st[e]}return delete st[e],null}function pt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return it;if(!o(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(i=ct(e[o]).split("-"),t=i.length,n=(n=ct(e[o+1]))?n.split("-"):null;t>0;){if(r=ft(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&<(i,n)>=t-1)break;t--}o++}return it}(e)}function mt(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[xe]<0||n[xe]>11?xe:n[Ee]<1||n[Ee]>Pe(n[ke],n[xe])?Ee:n[Se]<0||n[Se]>24||24===n[Se]&&(0!==n[Te]||0!==n[Ce]||0!==n[Me])?Se:n[Te]<0||n[Te]>59?Te:n[Ce]<0||n[Ce]>59?Ce:n[Me]<0||n[Me]>999?Me:-1,m(e)._overflowDayOfYear&&(t<ke||t>Ee)&&(t=Ee),m(e)._overflowWeeks&&-1===t&&(t=Ne),m(e)._overflowWeekday&&-1===t&&(t=Re),m(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_t=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,kt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,n,r,i,o,a,s=e._i,u=gt.exec(s)||vt.exec(s);if(u){for(m(e).iso=!0,t=0,n=bt.length;t<n;t++)if(bt[t][1].exec(u[1])){i=bt[t][0],r=!1!==bt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(u[3])){o=(u[2]||" ")+_t[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!yt.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Nt(e)}else e._isValid=!1}function St(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Tt(e){var t,n,r,i,o,a,s,u,l=kt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){if(n=l[4],r=l[3],i=l[2],o=l[5],a=l[6],s=l[7],u=[St(n),De.indexOf(r),parseInt(i,10),parseInt(o,10),parseInt(a,10)],s&&u.push(parseInt(s,10)),t=u,!function(e,t,n){if(e){var r=Qe.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return m(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}(l[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return xt[e];if(t)return 0;var r=parseInt(n,10),i=r%100,o=(r-i)/100;return 60*o+i}(l[8],l[9],l[10]),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function Ct(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,i,o,a,s=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[Ee]&&null==e._a[xe]&&function(e){var t,n,r,i,o,a,s,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,n=Ct(t.GG,e._a[ke],Ve(Ot(),1,4).year),r=Ct(t.W,1),((i=Ct(t.E,1))<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,l=Ve(Ot(),o,a),n=Ct(t.gg,e._a[ke],l.year),r=Ct(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>$e(n,o,a)?m(e)._overflowWeeks=!0:null!=u?m(e)._overflowWeekday=!0:(s=He(n,r,i,o,a),e._a[ke]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=Ct(e._a[ke],i[ke]),(e._dayOfYear>ze(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=We(a,0,e._dayOfYear),e._a[xe]=n.getUTCMonth(),e._a[Ee]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Se]&&0===e._a[Te]&&0===e._a[Ce]&&0===e._a[Me]&&(e._nextDay=!0,e._a[Se]=0),e._d=(e._useUTC?We:function(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Se]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(m(e).weekdayMismatch=!0)}}function Nt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],m(e).empty=!0;var t,n,i,o,a,s,u=""+e._i,l=u.length,c=0;for(i=L(e._f,e._locale).match(O)||[],t=0;t<i.length;t++)o=i[t],(n=(u.match(me(o,e))||[])[0])&&((a=u.substr(0,u.indexOf(n))).length>0&&m(e).unusedInput.push(a),u=u.slice(u.indexOf(n)+n.length),c+=n.length),I[o]?(n?m(e).empty=!1:m(e).unusedTokens.push(o),_e(o,n,e)):e._strict&&!n&&m(e).unusedTokens.push(o);m(e).charsLeftOver=l-c,u.length>0&&m(e).unusedInput.push(u),e._a[Se]<=12&&!0===m(e).bigHour&&e._a[Se]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[Se]=(f=e._locale,d=e._a[Se],null==(h=e._meridiem)?d:null!=f.meridiemHour?f.meridiemHour(d,h):null!=f.isPM?((p=f.isPM(h))&&d<12&&(d+=12),p||12!==d||(d=0),d):d),null!==(s=m(e).era)&&(e._a[ke]=e._locale.erasConvertYear(s,e._a[ke])),Mt(e),mt(e)}else Tt(e);else Et(e);var f,d,h,p}function Rt(e){var t=e._i,n=e._f;return e._locale=e._locale||pt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(mt(t)):(f(t)?e._d=t:o(n)?function(e){var t,n,r,i,o,a,s=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,a=!1,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Nt(t),g(t)&&(a=!0),o+=m(t).charsLeftOver,o+=10*m(t).unusedTokens.length,m(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||a)&&(r=o,n=t,a&&(s=!0));h(e,n||t)}(e):n?Nt(e):function(e){var t=e._i;l(t)?e._d=new Date(r.now()):f(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=wt.exec(e._i);null===t?(Et(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=d(t.slice(0),function(e){return parseInt(e,10)}),Mt(e)):a(t)?function(e){if(!e._d){var t=W(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Mt(e)}}(e):c(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function Pt(e,t,n,r,i){var s,l={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&u(e)||o(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=i,l._l=n,l._i=e,l._f=t,l._strict=r,(s=new w(mt(Rt(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ot(e,t,n,r){return Pt(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),r.ISO_8601=function(){},r.RFC_2822=function(){};var Dt=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),At=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()});function It(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Ot();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var jt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ut(e){var t=W(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,u=t.hour||0,l=t.minute||0,c=t.second||0,f=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(s(e,t)&&(-1===we.call(jt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<jt.length;++n)if(e[jt[n]]){if(r)return!1;parseFloat(e[jt[n]])!==q(e[jt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+f+1e3*c+6e4*l+1e3*u*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=pt(),this._bubble()}function Lt(e){return e instanceof Ut}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function zt(e,t){j(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)})}zt("Z",":"),zt("ZZ",""),pe("Z",de),pe("ZZ",de),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Wt(de,e)});var Bt=/([\+\-]|\d\d)/gi;function Wt(e,t){var n,r,i,o=(t||"").match(e);return null===o?null:(n=o[o.length-1]||[],r=(n+"").match(Bt)||["-",0,0],0===(i=60*r[1]+q(r[2]))?0:"+"===r[0]?i:-i)}function Yt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(k(e)||f(e)?e.valueOf():Ot(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Ot(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function Vt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var $t=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,qt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Gt(e,t){var n,r,i,o,a,u,l=e,f=null;return Lt(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(l={},t?l[t]=+e:l.milliseconds=+e):(f=$t.exec(e))?(n="-"===f[1]?-1:1,l={y:0,d:q(f[Ee])*n,h:q(f[Se])*n,m:q(f[Te])*n,s:q(f[Ce])*n,ms:q(Ft(1e3*f[Me]))*n}):(f=qt.exec(e))?(n="-"===f[1]?-1:1,l={y:Qt(f[2],n),M:Qt(f[3],n),w:Qt(f[4],n),d:Qt(f[5],n),h:Qt(f[6],n),m:Qt(f[7],n),s:Qt(f[8],n)}):null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(o=Ot(l.from),a=Ot(l.to),i=o.isValid()&&a.isValid()?(a=Yt(a,o),o.isBefore(a)?u=Kt(o,a):((u=Kt(a,o)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(l={}).ms=i.milliseconds,l.M=i.months),r=new Ut(l),Lt(e)&&s(e,"_locale")&&(r._locale=e._locale),Lt(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Zt(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Xt(this,Gt(n,r),e),this}}function Xt(e,t,n,i){var o=t._milliseconds,a=Ft(t._days),s=Ft(t._months);e.isValid()&&(i=null==i||i,s&&Ue(e,Q(e,"Month")+s*n),a&&K(e,"Date",Q(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,a||s))}Gt.fn=Ut.prototype,Gt.invalid=function(){return Gt(NaN)};var Jt=Zt(1,"add"),en=Zt(-1,"subtract");function tn(e){return"string"==typeof e||e instanceof String}function nn(e,t){if(e.date()<t.date())return-nn(t,e);var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function rn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=pt(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var on=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function an(){return this._locale}var sn=1e3,un=60*sn,ln=60*un,cn=3506328*ln;function fn(e,t){return(e%t+t)%t}function dn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-cn:new Date(e,t,n).valueOf()}function hn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-cn:Date.UTC(e,t,n)}function pn(e,t){return t.erasAbbrRegex(e)}function mn(){var e,t,n=[],r=[],i=[],o=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(ge(a[e].name)),n.push(ge(a[e].abbr)),i.push(ge(a[e].narrow)),o.push(ge(a[e].name)),o.push(ge(a[e].abbr)),o.push(ge(a[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function gn(e,t){j(0,[e,e.length],0,t)}function vn(e,t,n,r,i){var o;return null==e?Ve(this,r,i).year:(o=$e(e,r,i),t>o&&(t=o),function(e,t,n,r,i){var o=He(e,t,n,r,i),a=We(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,r,i))}j("N",0,0,"eraAbbr"),j("NN",0,0,"eraAbbr"),j("NNN",0,0,"eraAbbr"),j("NNNN",0,0,"eraName"),j("NNNNN",0,0,"eraNarrow"),j("y",["y",1],"yo","eraYear"),j("y",["yy",2],0,"eraYear"),j("y",["yyy",3],0,"eraYear"),j("y",["yyyy",4],0,"eraYear"),pe("N",pn),pe("NN",pn),pe("NNN",pn),pe("NNNN",function(e,t){return t.erasNameRegex(e)}),pe("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?m(n).era=i:m(n).invalidEra=e}),pe("y",le),pe("yy",le),pe("yyy",le),pe("yyyy",le),pe("yo",function(e,t){return t._eraYearOrdinalRegex||le}),ye(["y","yy","yyy","yyyy"],ke),ye(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ke]=n._locale.eraYearOrdinalParse(e,i):t[ke]=parseInt(e,10)}),j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),gn("gggg","weekYear"),gn("ggggg","weekYear"),gn("GGGG","isoWeekYear"),gn("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),pe("G",ce),pe("g",ce),pe("GG",re,J),pe("gg",re,J),pe("GGGG",se,te),pe("gggg",se,te),pe("GGGGG",ue,ne),pe("ggggg",ue,ne),be(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=q(e)}),be(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),j("Q",0,"Qo","quarter"),z("quarter","Q"),H("quarter",7),pe("Q",X),ye("Q",function(e,t){t[xe]=3*(q(e)-1)}),j("D",["DD",2],"Do","date"),z("date","D"),H("date",9),pe("D",re),pe("DD",re,J),pe("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],Ee),ye("Do",function(e,t){t[Ee]=q(e.match(re)[0])});var yn=G("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),H("dayOfYear",4),pe("DDD",ae),pe("DDDD",ee),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=q(e)}),j("m",["mm",2],0,"minute"),z("minute","m"),H("minute",14),pe("m",re),pe("mm",re,J),ye(["m","mm"],Te);var bn=G("Minutes",!1);j("s",["ss",2],0,"second"),z("second","s"),H("second",15),pe("s",re),pe("ss",re,J),ye(["s","ss"],Ce);var _n,wn,kn=G("Seconds",!1);for(j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return 10*this.millisecond()}),j(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),j(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),j(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),j(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),j(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),z("millisecond","ms"),H("millisecond",16),pe("S",ae,X),pe("SS",ae,J),pe("SSS",ae,ee),_n="SSSS";_n.length<=9;_n+="S")pe(_n,le);function xn(e,t){t[Me]=q(1e3*("0."+e))}for(_n="S";_n.length<=9;_n+="S")ye(_n,xn);wn=G("Milliseconds",!1),j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var En=w.prototype;function Sn(e){return e}En.add=Jt,En.calendar=function(e,t){var n;1===arguments.length&&(arguments[0]?k(n=arguments[0])||f(n)||tn(n)||c(n)||function(e){var t=o(e),n=!1;return t&&(n=0===e.filter(function(t){return!c(t)&&tn(e)}).length),t&&n}(n)||function(e){var t,n,r=a(e)&&!u(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],i=i||s(e,n);return r&&i}(n)||null==n?(e=arguments[0],t=void 0):function(e){var t,n,r=a(e)&&!u(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],i=i||s(e,n);return r&&i}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var i=e||Ot(),l=Yt(i,this).startOf("day"),d=r.calendarFormat(this,l)||"sameElse",h=t&&(M(t[d])?t[d].call(this,i):t[d]);return this.format(h||this.localeData().calendar(d,this,Ot(i)))},En.clone=function(){return new w(this)},En.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Yt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=B(t)){case"year":o=nn(this,r)/12;break;case"month":o=nn(this,r);break;case"quarter":o=nn(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:$(o)},En.endOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?hn:dn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ln-fn(t+(this._isUTC?0:this.utcOffset()*un),ln)-1;break;case"minute":t=this._d.valueOf(),t+=un-fn(t,un)-1;break;case"second":t=this._d.valueOf(),t+=sn-fn(t,sn)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},En.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},En.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Ot(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},En.fromNow=function(e){return this.from(Ot(),e)},En.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Ot(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},En.toNow=function(e){return this.to(Ot(),e)},En.get=function(e){return M(this[e=B(e)])?this[e]():this},En.invalidAt=function(){return m(this).overflow},En.isAfter=function(e,t){var n=k(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},En.isBefore=function(e,t){var n=k(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},En.isBetween=function(e,t,n,r){var i=k(e)?e:Ot(e),o=k(t)?t:Ot(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))},En.isSame=function(e,t){var n,r=k(e)?e:Ot(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},En.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},En.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},En.isValid=function(){return g(this)},En.lang=on,En.locale=rn,En.localeData=an,En.max=At,En.min=Dt,En.parsingFlags=function(){return h({},m(this))},En.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=W(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(M(this[e=B(e)]))return this[e](t);return this},En.startOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?hn:dn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fn(t+(this._isUTC?0:this.utcOffset()*un),ln);break;case"minute":t=this._d.valueOf(),t-=fn(t,un);break;case"second":t=this._d.valueOf(),t-=fn(t,sn)}return this._d.setTime(t),r.updateOffset(this,!0),this},En.subtract=en,En.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},En.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},En.toDate=function(){return new Date(this.valueOf())},En.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},En.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(En[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),En.toJSON=function(){return this.isValid()?this.toISOString():null},En.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},En.unix=function(){return Math.floor(this.valueOf()/1e3)},En.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},En.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},En.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},En.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},En.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},En.eraYear=function(){var e,t,n,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()},En.year=Be,En.isLeapYear=function(){return V(this.year())},En.weekYear=function(e){return vn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},En.isoWeekYear=function(e){return vn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},En.quarter=En.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},En.month=Le,En.daysInMonth=function(){return Pe(this.year(),this.month())},En.week=En.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},En.isoWeek=En.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},En.weeksInYear=function(){var e=this.localeData()._week;return $e(this.year(),e.dow,e.doy)},En.weeksInWeekYear=function(){var e=this.localeData()._week;return $e(this.weekYear(),e.dow,e.doy)},En.isoWeeksInYear=function(){return $e(this.year(),1,4)},En.isoWeeksInISOWeekYear=function(){return $e(this.isoWeekYear(),1,4)},En.date=yn,En.day=En.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},En.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},En.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},En.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},En.hour=En.hours=ot,En.minute=En.minutes=bn,En.second=En.seconds=kn,En.millisecond=En.milliseconds=wn,En.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Wt(de,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ht(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Xt(this,Gt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ht(this)},En.utc=function(e){return this.utcOffset(0,e)},En.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},En.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Wt(fe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},En.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ot(e).utcOffset():0,(this.utcOffset()-e)%60==0)},En.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},En.isLocal=function(){return!!this.isValid()&&!this._isUTC},En.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},En.isUtc=Vt,En.isUTC=Vt,En.zoneAbbr=function(){return this._isUTC?"UTC":""},En.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},En.dates=E("dates accessor is deprecated. Use date instead.",yn),En.months=E("months accessor is deprecated. Use month instead",Le),En.years=E("years accessor is deprecated. Use year instead",Be),En.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),En.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=Rt(t))._a?(e=t._isUTC?p(t._a):Ot(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&q(e[r])!==q(t[r]))&&a++;return a+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Tn=R.prototype;function Cn(e,t,n,r){var i=pt(),o=p().set(r,t);return i[n](o,e)}function Mn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return Cn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Cn(e,r,n,"month");return i}function Nn(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=pt(),a=e?o._week.dow:0,s=[];if(null!=n)return Cn(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=Cn(t,(i+a)%7,r,"day");return s}Tn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return M(r)?r.call(t,n):r},Tn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(O).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Tn.invalidDate=function(){return this._invalidDate},Tn.ordinal=function(e){return this._ordinal.replace("%d",e)},Tn.preparse=Sn,Tn.postformat=Sn,Tn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return M(i)?i(e,t,n,r):i.replace(/%d/i,e)},Tn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)},Tn.set=function(e){var t,n;for(n in e)s(e,n)&&(M(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Tn.eras=function(e,t){var n,i,o,a=this._eras||pt("en")._eras;for(n=0,i=a.length;n<i;++n){switch(typeof a[n].since){case"string":o=r(a[n].since).startOf("day"),a[n].since=o.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=r(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}}return a},Tn.erasParse=function(e,t,n){var r,i,o,a,s,u=this.eras();for(e=e.toUpperCase(),r=0,i=u.length;r<i;++r)if(o=u[r].name.toUpperCase(),a=u[r].abbr.toUpperCase(),s=u[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[r];break;case"NNNN":if(o===e)return u[r];break;case"NNNNN":if(s===e)return u[r]}else if([o,a,s].indexOf(e)>=0)return u[r]},Tn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},Tn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||mn.call(this),e?this._erasAbbrRegex:this._erasRegex},Tn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||mn.call(this),e?this._erasNameRegex:this._erasRegex},Tn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||mn.call(this),e?this._erasNarrowRegex:this._erasRegex},Tn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},Tn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ae.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Tn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return function(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,a))?i:null:-1!==(i=we.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=we.call(this._shortMonthsParse,a))?i:-1!==(i=we.call(this._longMonthsParse,a))?i:null:-1!==(i=we.call(this._longMonthsParse,a))?i:-1!==(i=we.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},Tn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Fe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Tn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Fe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Ie),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Tn.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},Tn.firstDayOfYear=function(){return this._week.doy},Tn.firstDayOfWeek=function(){return this._week.dow},Tn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?qe(n,this._week.dow):e?n[e.day()]:n},Tn.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Tn.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Tn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=we.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=we.call(this._weekdaysParse,a))?i:-1!==(i=we.call(this._shortWeekdaysParse,a))?i:-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=we.call(this._shortWeekdaysParse,a))?i:-1!==(i=we.call(this._weekdaysParse,a))?i:-1!==(i=we.call(this._minWeekdaysParse,a))?i:null:-1!==(i=we.call(this._minWeekdaysParse,a))?i:-1!==(i=we.call(this._weekdaysParse,a))?i:-1!==(i=we.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},Tn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Tn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Tn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Tn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Tn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},dt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===q(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",dt),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",pt);var Rn=Math.abs;function Pn(e,t,n,r){var i=Gt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function On(e){return e<0?Math.floor(e):Math.ceil(e)}function Dn(e){return 4800*e/146097}function An(e){return 146097*e/4800}function In(e){return function(){return this.as(e)}}var jn=In("ms"),Un=In("s"),Ln=In("m"),Fn=In("h"),zn=In("d"),Bn=In("w"),Wn=In("M"),Yn=In("Q"),Hn=In("y");function Vn(e){return function(){return this.isValid()?this._data[e]:NaN}}var $n=Vn("milliseconds"),qn=Vn("seconds"),Gn=Vn("minutes"),Qn=Vn("hours"),Kn=Vn("days"),Zn=Vn("months"),Xn=Vn("years"),Jn=Math.round,er={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},tr=Math.abs;function nr(e){return(e>0)-(e<0)||+e}function rr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,u=tr(this._milliseconds)/1e3,l=tr(this._days),c=tr(this._months),f=this.asSeconds();return f?(e=$(u/60),t=$(e/60),u%=60,e%=60,n=$(c/12),c%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=nr(this._months)!==nr(f)?"-":"",a=nr(this._days)!==nr(f)?"-":"",s=nr(this._milliseconds)!==nr(f)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(u?s+r+"S":"")):"P0D"}var ir=Ut.prototype;return ir.isValid=function(){return this._isValid},ir.abs=function(){var e=this._data;return this._milliseconds=Rn(this._milliseconds),this._days=Rn(this._days),this._months=Rn(this._months),e.milliseconds=Rn(e.milliseconds),e.seconds=Rn(e.seconds),e.minutes=Rn(e.minutes),e.hours=Rn(e.hours),e.months=Rn(e.months),e.years=Rn(e.years),this},ir.add=function(e,t){return Pn(this,e,t,1)},ir.subtract=function(e,t){return Pn(this,e,t,-1)},ir.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Dn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(An(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},ir.asMilliseconds=jn,ir.asSeconds=Un,ir.asMinutes=Ln,ir.asHours=Fn,ir.asDays=zn,ir.asWeeks=Bn,ir.asMonths=Wn,ir.asQuarters=Yn,ir.asYears=Hn,ir.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},ir._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*On(An(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=$(o/1e3),u.seconds=e%60,t=$(e/60),u.minutes=t%60,n=$(t/60),u.hours=n%24,a+=$(n/24),i=$(Dn(a)),s+=i,a-=On(An(i)),r=$(s/12),s%=12,u.days=a,u.months=s,u.years=r,this},ir.clone=function(){return Gt(this)},ir.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},ir.milliseconds=$n,ir.seconds=qn,ir.minutes=Gn,ir.hours=Qn,ir.days=Kn,ir.weeks=function(){return $(this.days()/7)},ir.months=Zn,ir.years=Xn,ir.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=er;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},er,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var i=Gt(e).abs(),o=Jn(i.as("s")),a=Jn(i.as("m")),s=Jn(i.as("h")),u=Jn(i.as("d")),l=Jn(i.as("M")),c=Jn(i.as("w")),f=Jn(i.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(d=d||c<=1&&["w"]||c<n.w&&["ww",c]),(d=d||l<=1&&["M"]||l<n.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=t,d[3]=+e>0,d[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,d)}(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},ir.toISOString=rr,ir.toString=rr,ir.toJSON=rr,ir.locale=rn,ir.localeData=an,ir.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rr),ir.lang=on,j("X",0,0,"unix"),j("x",0,0,"valueOf"),pe("x",ce),pe("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ye("x",function(e,t,n){n._d=new Date(q(e))}),r.version="2.29.1",t=Ot,r.fn=En,r.min=function(){return It("isBefore",[].slice.call(arguments,0))},r.max=function(){return It("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=p,r.unix=function(e){return Ot(1e3*e)},r.months=function(e,t){return Mn(e,t,"months")},r.isDate=f,r.locale=dt,r.invalid=v,r.duration=Gt,r.isMoment=k,r.weekdays=function(e,t,n){return Nn(e,t,n,"weekdays")},r.parseZone=function(){return Ot.apply(null,arguments).parseZone()},r.localeData=pt,r.isDuration=Lt,r.monthsShort=function(e,t){return Mn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return Nn(e,t,n,"weekdaysMin")},r.defineLocale=ht,r.updateLocale=function(e,t){if(null!=t){var n,r,i=at;null!=st[e]&&null!=st[e].parentLocale?st[e].set(N(st[e]._config,t)):(null!=(r=ft(e))&&(i=r._config),t=N(i,t),null==r&&(t.abbr=e),(n=new R(t)).parentLocale=st[e],st[e]=n),dt(e)}else null!=st[e]&&(null!=st[e].parentLocale?(st[e]=st[e].parentLocale,e===dt()&&dt(e)):null!=st[e]&&delete st[e]);return st[e]},r.locales=function(){return S(st)},r.weekdaysShort=function(e,t,n){return Nn(e,t,n,"weekdaysShort")},r.normalizeUnits=B,r.relativeTimeRounding=function(e){return void 0===e?Jn:"function"==typeof e&&(Jn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==er[e]&&(void 0===t?er[e]:(er[e]=t,"s"===e&&(er.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=En,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()});function Ai(e,t=!1){let n=window.location.href.split("?")[1];return"/~debug/"+e+(n=t&&n?"?"+n:"")}function Ii(e,t){const n=new Date(e);var r=function(e){return e>=10?e:"0"+e};return`~${n.getUTCFullYear()}.`+`${n.getUTCMonth()+1}.`+`${r(n.getUTCDate())}..`+`${r(n.getUTCHours())}.`+`${r(n.getUTCMinutes())}.`+`${r(n.getUTCSeconds())}`+`${t?"..0000":""}`}function ji(e){return e.reduce((e,t)=>e+t+" ","")}let Ui=new class{setAuthTokens(e){this.authTokens=e,this.bindPaths=[],this.bind=this.bind.bind(this)}bind(e,t,n=this.authTokens.ship,r,i,o,a){this.bindPaths=Pi.uniq([...this.bindPaths,e]),window.subscriptionId=window.urb.subscribe(n,r,e,e=>{o(e)},t=>{i({data:t,from:{ship:n,path:e}})},e=>{a(e)})}action(e,t,n){return new Promise((r,i)=>{window.urb.poke(ship,e,t,n,e=>{r(e)},e=>{i(e)})})}dbugAction(e){return this.action("dbug","dbug-action",e)}bindToVerb(e){return this.bind("/verb/events","PUT",this.authTokens.ship,e,t=>{t.data.app=e,Di.handleEvent({data:{local:{verbResult:t.data}}})},()=>{Di.handleEvent({data:{local:{verbStatus:{app:e,msg:"failed to establish verb connection to "+e}}}})},()=>{Di.handleEvent({data:{local:{verbStatus:{app:e,msg:"verb connection to "+e+" was dropped"}}}})})}getJson(e,t,n){let r="/~debug"+e+".json";const i=window.location.href.split("?")[1];i&&(r=r+"?"+i),fetch(r).then(e=>{if(e.ok)return e.json();console.error("Network response not ok"),n()}).then(e=>{Di.handleEvent({data:{local:t(e)}})}).catch(e=>{console.error(`JSON fetch on ${r} failed:`,e),n()})}wrapLocal(e){return t=>{let n={};return n[e]=t,n.status=null,n}}showStatus(e){return()=>{Di.handleEvent({data:{local:{status:e}}})}}getApps(){this.getJson("/apps",this.wrapLocal("apps"),this.showStatus("error fetching apps"))}getAppDetails(e){this.getJson("/app/"+e,t=>(t.app=e,this.wrapLocal("app")(t)),()=>{Di.handleEvent({data:{local:{appFailed:e}}})})}getAppState(e,t=""){""!==t&&(t="/"+function(e){let t="";for(let n=0;n<e.length;n++){const r=e[n];let i="";switch(r){case" ":i=".";break;case".":i="~.";break;case"~":i="~~";break;default:const t=e.charCodeAt(n);i=t>=97&&t<=122||t>=48&&t<=57||"-"===r?r:"~"+t.toString(16)+"."}t+=i}return"~~"+t}(t)),this.getJson("/app/"+e+"/state"+t,t=>(t.app=e,this.wrapLocal("appState")(t)),()=>{Di.handleEvent({data:{local:{appFailed:e}}})})}getThreads(){this.getJson("/spider/threads",this.wrapLocal("threads"),this.showStatus("error fetching threads"))}killThread(e){return this.action("spider","spider-stop",{tid:e,nice:!1}).then(this.getThreads.bind(this))}getPeers(){this.getJson("/ames/peer",this.wrapLocal("amesPeers"),this.showStatus("error fetching ames peers"))}getPeer(e){this.getJson(`/ames/peer/${e}`,t=>(t.who=e,this.wrapLocal("amesPeer")(t)),this.showStatus("error fetching ames details for "+e))}getTimers(){this.getJson("/behn/timers",this.wrapLocal("behnTimers"),this.showStatus("error fetching behn timers"))}getCommits(){this.getJson("/clay/commits",this.wrapLocal("clayCommits"),this.showStatus("error fetching clay commits"))}getBindings(){this.getJson("/eyre/bindings",this.wrapLocal("eyreBindings"),this.showStatus("error fetching eyre bindings"))}getConnections(){this.getJson("/eyre/connections",this.wrapLocal("eyreConnections"),this.showStatus("error fetching eyre connections"))}getAuthenticationState(){this.getJson("/eyre/authentication",this.wrapLocal("eyreAuthentication"),this.showStatus("error fetching eyre authentication state"))}getChannels(){this.getJson("/eyre/channels",this.wrapLocal("eyreChannels"),this.showStatus("error fetching eyre channels"))}sidebarToggle(){let e=!0;!0===Di.state.sidebarShown&&(e=!1),Di.handleEvent({data:{local:{sidebarToggle:e}}})}};window.api=Ui;let Li=new class{start(){Ui.authTokens||console.error("~~~ ERROR: Must set api.authTokens before operation ~~~")}handleEvent(e){Di.handleEvent(e)}handleError(e){console.error(e)}handleQuitSilently(e){}handleQuitAndResubscribe(e){}};const Fi="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/components/skeleton.js";class zi extends T{render(){const{props:e}=this;let t=e.selected?"bg-gray5 bg-gray1-d":"pointer hover-bg-gray5 hover-bg-gray1-d";return S.createElement(Ei,{to:Ai(e.what,!0),key:"what",__self:this,__source:{fileName:Fi,lineNumber:15}},S.createElement("div",{className:"w-100 v-mid f9 ph4 z1 pv1 "+t,__self:this,__source:{fileName:Fi,lineNumber:16}},S.createElement("p",{className:"f9 dib",__self:this,__source:{fileName:Fi,lineNumber:17}},e.what)))}}class Bi extends T{render(){const{props:e}=this;let t=["apps","spider","ames","behn","eyre"];t=t.map(t=>S.createElement(zi,{what:t,selected:e.selected===t,__self:this,__source:{fileName:Fi,lineNumber:37}}));let n=this.props.rightPanelHide?"dn-s":"";const r=e.status?S.createElement("div",{style:{position:"absolute",right:"16px",bottom:"16px",padding:"8px",border:"1px solid #e22"},__self:this,__source:{fileName:Fi,lineNumber:44}},e.status):null;return S.createElement("div",{className:"absolute h-100 w-100 mono",__self:this,__source:{fileName:Fi,lineNumber:53}},S.createElement("div",{className:"cf w-100 h-100 flex",__self:this,__source:{fileName:Fi,lineNumber:54}},S.createElement("div",{className:"bn br-m br-l br-xl b--gray4 b--gray1-d lh-copy h-100 flex-shrink-0 mw5-m mw5-l mw5-xl pt3 pt0-m pt0-l pt0-xl relative",__self:this,__source:{fileName:Fi,lineNumber:55}},S.createElement("a",{className:"db dn-m dn-l dn-xl f8 pb3 pl3",href:"/",__self:this,__source:{fileName:Fi,lineNumber:56}},"⟵ Landscape"),S.createElement("div",{className:"overflow-y-scroll h-100",__self:this,__source:{fileName:Fi,lineNumber:57}},S.createElement("div",{className:"w-100 bg-transparent",__self:this,__source:{fileName:Fi,lineNumber:58}},S.createElement(Ei,{className:"dib f9 pointer green2 gray4-d pa4",to:"/~chat/join/~/~dopzod/urbit-help",__self:this,__source:{fileName:Fi,lineNumber:59}},"Get help")),t)),r,S.createElement("div",{className:"h-100 w-100 flex-auto overflow-scroll relative "+n,style:{flexGrow:1,padding:"8px"},__self:this,__source:{fileName:Fi,lineNumber:69}},this.props.children)))}}const Wi="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/components/message-screen.js";class Yi extends T{render(){return S.createElement("div",{className:"h-100 w-100 overflow-x-hidden flex flex-column bg-white bg-gray0-d dn db-ns",__self:this,__source:{fileName:Wi,lineNumber:6}},S.createElement("div",{className:"pl3 pr3 pt2 dt pb3 w-100 h-100",__self:this,__source:{fileName:Wi,lineNumber:7}},S.createElement("p",{className:"f8 pt3 gray2 w-100 h-100 dtc v-mid tc",__self:this,__source:{fileName:Wi,lineNumber:8}},this.props.text)))}}var Hi=[],Vi=[],$i="undefined"!=typeof Uint8Array?Uint8Array:Array,qi=!1;function Gi(){qi=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)Hi[t]=e[t],Vi[e.charCodeAt(t)]=t;Vi["-".charCodeAt(0)]=62,Vi["_".charCodeAt(0)]=63}function Qi(e,t,n){for(var r,i,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(Hi[(i=r)>>18&63]+Hi[i>>12&63]+Hi[i>>6&63]+Hi[63&i]);return o.join("")}function Ki(e){var t;qi||Gi();for(var n=e.length,r=n%3,i="",o=[],a=0,s=n-r;a<s;a+=16383)o.push(Qi(e,a,a+16383>s?s:a+16383));return 1===r?(t=e[n-1],i+=Hi[t>>2],i+=Hi[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=Hi[t>>10],i+=Hi[t>>4&63],i+=Hi[t<<2&63],i+="="),o.push(i),o.join("")}function Zi(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)}function Xi(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}var Ji={}.toString,eo=Array.isArray||function(e){return"[object Array]"==Ji.call(e)};function to(){return ro.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function no(e,t){if(to()<t)throw new RangeError("Invalid typed array length");return ro.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=ro.prototype:(null===e&&(e=new ro(t)),e.length=t),e}function ro(e,t,n){if(!(ro.TYPED_ARRAY_SUPPORT||this instanceof ro))return new ro(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return ao(this,e)}return io(this,e,t,n)}function io(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);ro.TYPED_ARRAY_SUPPORT?(e=t).__proto__=ro.prototype:e=so(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!ro.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|co(t,n),i=(e=no(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(lo(t)){var n=0|uo(t.length);return 0===(e=no(e,n)).length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?no(e,0):so(e,t);if("Buffer"===t.type&&eo(t.data))return so(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function oo(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function ao(e,t){if(oo(t),e=no(e,t<0?0:0|uo(t)),!ro.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function so(e,t){var n=t.length<0?0:0|uo(t.length);e=no(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function uo(e){if(e>=to())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+to().toString(16)+" bytes");return 0|e}function lo(e){return!(null==e||!e._isBuffer)}function co(e,t){if(lo(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Uo(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Lo(e).length;default:if(r)return Uo(e).length;t=(""+t).toLowerCase(),r=!0}}function fo(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function ho(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=ro.from(t,r)),lo(t))return 0===t.length?-1:po(e,t,n,r,i);if("number"==typeof t)return t&=255,ro.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):po(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function po(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;d<u;d++)if(l(e,o+d)!==l(t,d)){f=!1;break}if(f)return o}return-1}function mo(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function go(e,t,n,r){return Fo(Uo(t,e.length-n),e,n,r)}function vo(e,t,n,r){return Fo(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function yo(e,t,n,r){return vo(e,t,n,r)}function bo(e,t,n,r){return Fo(Lo(t),e,n,r)}function _o(e,t,n,r){return Fo(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function wo(e,t,n){return 0===t&&n===e.length?Ki(e):Ki(e.slice(t,n))}function ko(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,l=e[i],c=null,f=l>239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=xo)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=xo));return n}(r)}ro.TYPED_ARRAY_SUPPORT=void 0===t.TYPED_ARRAY_SUPPORT||t.TYPED_ARRAY_SUPPORT,ro.poolSize=8192,ro._augment=function(e){return e.__proto__=ro.prototype,e},ro.from=function(e,t,n){return io(null,e,t,n)},ro.TYPED_ARRAY_SUPPORT&&(ro.prototype.__proto__=Uint8Array.prototype,ro.__proto__=Uint8Array),ro.alloc=function(e,t,n){return function(e,t,n,r){return oo(t),t<=0?no(e,t):void 0!==n?"string"==typeof r?no(e,t).fill(n,r):no(e,t).fill(n):no(e,t)}(null,e,t,n)},ro.allocUnsafe=function(e){return ao(null,e)},ro.allocUnsafeSlow=function(e){return ao(null,e)},ro.isBuffer=function(e){return null!=e&&(!!e._isBuffer||zo(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&zo(e.slice(0,0))}(e))},ro.compare=function(e,t){if(!lo(e)||!lo(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},ro.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},ro.concat=function(e,t){if(!eo(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return ro.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=ro.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!lo(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},ro.byteLength=co,ro.prototype._isBuffer=!0,ro.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)fo(this,t,t+1);return this},ro.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)fo(this,t,t+3),fo(this,t+1,t+2);return this},ro.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)fo(this,t,t+7),fo(this,t+1,t+6),fo(this,t+2,t+5),fo(this,t+3,t+4);return this},ro.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?ko(this,0,e):function(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return To(this,t,n);case"utf8":case"utf-8":return ko(this,t,n);case"ascii":return Eo(this,t,n);case"latin1":case"binary":return So(this,t,n);case"base64":return wo(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Co(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},ro.prototype.equals=function(e){if(!lo(e))throw new TypeError("Argument must be a Buffer");return this===e||0===ro.compare(this,e)},ro.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},ro.prototype.compare=function(e,t,n,r,i){if(!lo(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(r,i),l=e.slice(t,n),c=0;c<s;++c)if(u[c]!==l[c]){o=u[c],a=l[c];break}return o<a?-1:a<o?1:0},ro.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},ro.prototype.indexOf=function(e,t,n){return ho(this,e,t,n,!0)},ro.prototype.lastIndexOf=function(e,t,n){return ho(this,e,t,n,!1)},ro.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return mo(this,e,t,n);case"utf8":case"utf-8":return go(this,e,t,n);case"ascii":return vo(this,e,t,n);case"latin1":case"binary":return yo(this,e,t,n);case"base64":return bo(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _o(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},ro.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var xo=4096;function Eo(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function So(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function To(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=jo(e[o]);return i}function Co(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function Mo(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function No(e,t,n,r,i,o){if(!lo(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Ro(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function Po(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function Oo(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Do(e,t,n,r,i){return i||Oo(e,0,n,4),Xi(e,t,n,r,23,4),n+4}function Ao(e,t,n,r,i){return i||Oo(e,0,n,8),Xi(e,t,n,r,52,8),n+8}ro.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),ro.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=ro.prototype;else{var i=t-e;n=new ro(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},ro.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Mo(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},ro.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Mo(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},ro.prototype.readUInt8=function(e,t){return t||Mo(e,1,this.length),this[e]},ro.prototype.readUInt16LE=function(e,t){return t||Mo(e,2,this.length),this[e]|this[e+1]<<8},ro.prototype.readUInt16BE=function(e,t){return t||Mo(e,2,this.length),this[e]<<8|this[e+1]},ro.prototype.readUInt32LE=function(e,t){return t||Mo(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},ro.prototype.readUInt32BE=function(e,t){return t||Mo(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},ro.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Mo(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},ro.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Mo(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},ro.prototype.readInt8=function(e,t){return t||Mo(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},ro.prototype.readInt16LE=function(e,t){t||Mo(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},ro.prototype.readInt16BE=function(e,t){t||Mo(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},ro.prototype.readInt32LE=function(e,t){return t||Mo(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},ro.prototype.readInt32BE=function(e,t){return t||Mo(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},ro.prototype.readFloatLE=function(e,t){return t||Mo(e,4,this.length),Zi(this,e,!0,23,4)},ro.prototype.readFloatBE=function(e,t){return t||Mo(e,4,this.length),Zi(this,e,!1,23,4)},ro.prototype.readDoubleLE=function(e,t){return t||Mo(e,8,this.length),Zi(this,e,!0,52,8)},ro.prototype.readDoubleBE=function(e,t){return t||Mo(e,8,this.length),Zi(this,e,!1,52,8)},ro.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||No(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},ro.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||No(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},ro.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||No(this,e,t,1,255,0),ro.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},ro.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||No(this,e,t,2,65535,0),ro.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ro(this,e,t,!0),t+2},ro.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||No(this,e,t,2,65535,0),ro.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ro(this,e,t,!1),t+2},ro.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||No(this,e,t,4,4294967295,0),ro.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Po(this,e,t,!0),t+4},ro.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||No(this,e,t,4,4294967295,0),ro.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Po(this,e,t,!1),t+4},ro.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);No(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},ro.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);No(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},ro.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||No(this,e,t,1,127,-128),ro.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},ro.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||No(this,e,t,2,32767,-32768),ro.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ro(this,e,t,!0),t+2},ro.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||No(this,e,t,2,32767,-32768),ro.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ro(this,e,t,!1),t+2},ro.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||No(this,e,t,4,2147483647,-2147483648),ro.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Po(this,e,t,!0),t+4},ro.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||No(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),ro.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Po(this,e,t,!1),t+4},ro.prototype.writeFloatLE=function(e,t,n){return Do(this,e,t,!0,n)},ro.prototype.writeFloatBE=function(e,t,n){return Do(this,e,t,!1,n)},ro.prototype.writeDoubleLE=function(e,t,n){return Ao(this,e,t,!0,n)},ro.prototype.writeDoubleBE=function(e,t,n){return Ao(this,e,t,!1,n)},ro.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!ro.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},ro.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!ro.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=lo(e)?e:Uo(new ro(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var Io=/[^+\/0-9A-Za-z-_]/g;function jo(e){return e<16?"0"+e.toString(16):e.toString(16)}function Uo(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Lo(e){return function(e){var t,n,r,i,o,a;qi||Gi();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new $i(3*s/4-o),r=o>0?s-4:s;var u=0;for(t=0,n=0;t<r;t+=4,n+=3)i=Vi[e.charCodeAt(t)]<<18|Vi[e.charCodeAt(t+1)]<<12|Vi[e.charCodeAt(t+2)]<<6|Vi[e.charCodeAt(t+3)],a[u++]=i>>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=Vi[e.charCodeAt(t)]<<2|Vi[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=Vi[e.charCodeAt(t)]<<10|Vi[e.charCodeAt(t+1)]<<4|Vi[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Io,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Fo(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function zo(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Bo=a(function(t){!function(t,n){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"==typeof t?t.exports=o:n.BN=o,o.BN=o,o.wordSize=26;try{a=e.Buffer}catch(e){}function s(e,t,n){for(var r=0,i=Math.min(e.length,n),o=t;o<i;o++){var a=e.charCodeAt(o)-48;r<<=4,r|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,o=0;for(n=e.length-6,r=0;n>=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c<s;c+=r)l=u(e,c,c+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var f=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)f*=t;this.imuln(f),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var l=1;l<r;l++){for(var c=u>>>26,f=67108863&u,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var p=l-h|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[h])+f)/67108864|0,f=67108863&a}n.words[l]=0|f,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);n=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-u.length]+u+n:u+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var d=c[e],h=f[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(h).toString(e);n=(p=p.idivn(h)).isZero()?m+n:l[d-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===t,l=new e(o),c=this.clone();if(u){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),l[s]=a;for(;s<o;s++)l[s]=0}else{for(s=0;s<o-i;s++)l[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),l[o-s-1]=a}return l},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return r(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a<r.length;a++)o=(t=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<n.length;a++)o=(t=(0|n.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var h=function(e,t,n){var r,i,o,a=e.words,s=t.words,u=n.words,l=0,c=0|a[0],f=8191&c,d=c>>>13,h=0|a[1],p=8191&h,m=h>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],_=8191&b,w=b>>>13,k=0|a[4],x=8191&k,E=k>>>13,S=0|a[5],T=8191&S,C=S>>>13,M=0|a[6],N=8191&M,R=M>>>13,P=0|a[7],O=8191&P,D=P>>>13,A=0|a[8],I=8191&A,j=A>>>13,U=0|a[9],L=8191&U,F=U>>>13,z=0|s[0],B=8191&z,W=z>>>13,Y=0|s[1],H=8191&Y,V=Y>>>13,$=0|s[2],q=8191&$,G=$>>>13,Q=0|s[3],K=8191&Q,Z=Q>>>13,X=0|s[4],J=8191&X,ee=X>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],fe=8191&ce,de=ce>>>13,he=0|s[9],pe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(l+(r=Math.imul(f,B))|0)+((8191&(i=(i=Math.imul(f,W))+Math.imul(d,B)|0))<<13)|0;l=((o=Math.imul(d,W))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,B),i=(i=Math.imul(p,W))+Math.imul(m,B)|0,o=Math.imul(m,W);var ve=(l+(r=r+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(d,H)|0))<<13)|0;l=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,B),i=(i=Math.imul(v,W))+Math.imul(y,B)|0,o=Math.imul(y,W),r=r+Math.imul(p,H)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,V)|0;var ye=(l+(r=r+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(d,q)|0))<<13)|0;l=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(_,B),i=(i=Math.imul(_,W))+Math.imul(w,B)|0,o=Math.imul(w,W),r=r+Math.imul(v,H)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(y,H)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,G)|0;var be=(l+(r=r+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(d,K)|0))<<13)|0;l=((o=o+Math.imul(d,Z)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(x,B),i=(i=Math.imul(x,W))+Math.imul(E,B)|0,o=Math.imul(E,W),r=r+Math.imul(_,H)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(w,H)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(v,q)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(y,q)|0,o=o+Math.imul(y,G)|0,r=r+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var _e=(l+(r=r+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,J)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(T,B),i=(i=Math.imul(T,W))+Math.imul(C,B)|0,o=Math.imul(C,W),r=r+Math.imul(x,H)|0,i=(i=i+Math.imul(x,V)|0)+Math.imul(E,H)|0,o=o+Math.imul(E,V)|0,r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(w,q)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(y,K)|0,o=o+Math.imul(y,Z)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,ee)|0;var we=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(N,B),i=(i=Math.imul(N,W))+Math.imul(R,B)|0,o=Math.imul(R,W),r=r+Math.imul(T,H)|0,i=(i=i+Math.imul(T,V)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,V)|0,r=r+Math.imul(x,q)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(E,q)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,K)|0,o=o+Math.imul(w,Z)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(y,J)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var ke=(l+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(O,B),i=(i=Math.imul(O,W))+Math.imul(D,B)|0,o=Math.imul(D,W),r=r+Math.imul(N,H)|0,i=(i=i+Math.imul(N,V)|0)+Math.imul(R,H)|0,o=o+Math.imul(R,V)|0,r=r+Math.imul(T,q)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,G)|0,r=r+Math.imul(x,K)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(E,K)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var xe=(l+(r=r+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ue)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(I,B),i=(i=Math.imul(I,W))+Math.imul(j,B)|0,o=Math.imul(j,W),r=r+Math.imul(O,H)|0,i=(i=i+Math.imul(O,V)|0)+Math.imul(D,H)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(N,q)|0,i=(i=i+Math.imul(N,G)|0)+Math.imul(R,q)|0,o=o+Math.imul(R,G)|0,r=r+Math.imul(T,K)|0,i=(i=i+Math.imul(T,Z)|0)+Math.imul(C,K)|0,o=o+Math.imul(C,Z)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0;var Ee=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,B),i=(i=Math.imul(L,W))+Math.imul(F,B)|0,o=Math.imul(F,W),r=r+Math.imul(I,H)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(j,H)|0,o=o+Math.imul(j,V)|0,r=r+Math.imul(O,q)|0,i=(i=i+Math.imul(O,G)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,G)|0,r=r+Math.imul(N,K)|0,i=(i=i+Math.imul(N,Z)|0)+Math.imul(R,K)|0,o=o+Math.imul(R,Z)|0,r=r+Math.imul(T,J)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(C,J)|0,o=o+Math.imul(C,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,r=r+Math.imul(v,ue)|0,i=(i=i+Math.imul(v,le)|0)+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Se=(l+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,pe)|0))<<13)|0;l=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,V))+Math.imul(F,H)|0,o=Math.imul(F,V),r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(j,q)|0,o=o+Math.imul(j,G)|0,r=r+Math.imul(O,K)|0,i=(i=i+Math.imul(O,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,r=r+Math.imul(N,J)|0,i=(i=i+Math.imul(N,ee)|0)+Math.imul(R,J)|0,o=o+Math.imul(R,ee)|0,r=r+Math.imul(T,ne)|0,i=(i=i+Math.imul(T,re)|0)+Math.imul(C,ne)|0,o=o+Math.imul(C,re)|0,r=r+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,ae)|0)+Math.imul(E,oe)|0,o=o+Math.imul(E,ae)|0,r=r+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,le)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,le)|0,r=r+Math.imul(v,fe)|0,i=(i=i+Math.imul(v,de)|0)+Math.imul(y,fe)|0,o=o+Math.imul(y,de)|0;var Te=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,G))+Math.imul(F,q)|0,o=Math.imul(F,G),r=r+Math.imul(I,K)|0,i=(i=i+Math.imul(I,Z)|0)+Math.imul(j,K)|0,o=o+Math.imul(j,Z)|0,r=r+Math.imul(O,J)|0,i=(i=i+Math.imul(O,ee)|0)+Math.imul(D,J)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(N,ne)|0,i=(i=i+Math.imul(N,re)|0)+Math.imul(R,ne)|0,o=o+Math.imul(R,re)|0,r=r+Math.imul(T,oe)|0,i=(i=i+Math.imul(T,ae)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,r=r+Math.imul(x,ue)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(E,ue)|0,o=o+Math.imul(E,le)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,de)|0;var Ce=(l+(r=r+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(y,pe)|0))<<13)|0;l=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,K),i=(i=Math.imul(L,Z))+Math.imul(F,K)|0,o=Math.imul(F,Z),r=r+Math.imul(I,J)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(j,J)|0,o=o+Math.imul(j,ee)|0,r=r+Math.imul(O,ne)|0,i=(i=i+Math.imul(O,re)|0)+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(N,oe)|0,i=(i=i+Math.imul(N,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,r=r+Math.imul(T,ue)|0,i=(i=i+Math.imul(T,le)|0)+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,r=r+Math.imul(x,fe)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(E,fe)|0,o=o+Math.imul(E,de)|0;var Me=(l+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;l=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,ee))+Math.imul(F,J)|0,o=Math.imul(F,ee),r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(j,ne)|0,o=o+Math.imul(j,re)|0,r=r+Math.imul(O,oe)|0,i=(i=i+Math.imul(O,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,r=r+Math.imul(N,ue)|0,i=(i=i+Math.imul(N,le)|0)+Math.imul(R,ue)|0,o=o+Math.imul(R,le)|0,r=r+Math.imul(T,fe)|0,i=(i=i+Math.imul(T,de)|0)+Math.imul(C,fe)|0,o=o+Math.imul(C,de)|0;var Ne=(l+(r=r+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(E,pe)|0))<<13)|0;l=((o=o+Math.imul(E,me)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(F,ne)|0,o=Math.imul(F,re),r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,ae)|0,r=r+Math.imul(O,ue)|0,i=(i=i+Math.imul(O,le)|0)+Math.imul(D,ue)|0,o=o+Math.imul(D,le)|0,r=r+Math.imul(N,fe)|0,i=(i=i+Math.imul(N,de)|0)+Math.imul(R,fe)|0,o=o+Math.imul(R,de)|0;var Re=(l+(r=r+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(C,pe)|0))<<13)|0;l=((o=o+Math.imul(C,me)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,ae))+Math.imul(F,oe)|0,o=Math.imul(F,ae),r=r+Math.imul(I,ue)|0,i=(i=i+Math.imul(I,le)|0)+Math.imul(j,ue)|0,o=o+Math.imul(j,le)|0,r=r+Math.imul(O,fe)|0,i=(i=i+Math.imul(O,de)|0)+Math.imul(D,fe)|0,o=o+Math.imul(D,de)|0;var Pe=(l+(r=r+Math.imul(N,pe)|0)|0)+((8191&(i=(i=i+Math.imul(N,me)|0)+Math.imul(R,pe)|0))<<13)|0;l=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(L,ue),i=(i=Math.imul(L,le))+Math.imul(F,ue)|0,o=Math.imul(F,le),r=r+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,de)|0)+Math.imul(j,fe)|0,o=o+Math.imul(j,de)|0;var Oe=(l+(r=r+Math.imul(O,pe)|0)|0)+((8191&(i=(i=i+Math.imul(O,me)|0)+Math.imul(D,pe)|0))<<13)|0;l=((o=o+Math.imul(D,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,fe),i=(i=Math.imul(L,de))+Math.imul(F,fe)|0,o=Math.imul(F,de);var De=(l+(r=r+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(j,pe)|0))<<13)|0;l=((o=o+Math.imul(j,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Ae=(l+(r=Math.imul(L,pe))|0)+((8191&(i=(i=Math.imul(L,me))+Math.imul(F,pe)|0))<<13)|0;return l=((o=Math.imul(F,me))+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=_e,u[5]=we,u[6]=ke,u[7]=xe,u[8]=Ee,u[9]=Se,u[10]=Te,u[11]=Ce,u[12]=Me,u[13]=Ne,u[14]=Re,u[15]=Pe,u[16]=Oe,u[17]=De,u[18]=Ae,0!==l&&(u[19]=l,n.length++),n};function p(e,t,n){return(new m).mulp(e,t,n)}function m(e,t){this.x=e,this.y=t}Math.imul||(h=d),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):n<63?d(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,u=Math.min(o,t.length-1),l=Math.max(0,o-e.length+1);l<=u;l++){var c=o-l,f=(0|e.words[c])*(0|t.words[l]),d=67108863&f;s=67108863&(d=d+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(d>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):p(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},m.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},m.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a<o;a++)r[a]=t[e[a]],i[a]=n[e[a]]},m.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),l=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var f=u,d=l,h=0;h<a;h++){var p=n[c+h],m=r[c+h],g=n[c+h+a],v=r[c+h+a],y=f*g-d*v;v=f*v+d*g,g=y,n[c+h]=p+g,r[c+h]=m+v,n[c+h+a]=p-g,r[c+h+a]=m-v,h!==s&&(y=u*f-l*d,d=u*d+l*f,f=y)}},m.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},m.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},m.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},m.prototype.convert13b=function(e,t,n,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},m.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},m.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),u=new Array(r),l=new Array(r),c=new Array(r),f=new Array(r),d=n.words;d.length=r,this.convert13b(e.words,e.length,a,r),this.convert13b(t.words,t.length,l,r),this.transform(a,o,s,u,r,i),this.transform(l,o,c,f,r,i);for(var h=0;h<r;h++){var p=s[h]*c[h]-u[h]*f[h];u[h]=s[h]*f[h]+u[h]*c[h],s[h]=p}return this.conjugate(s,u,r),this.transform(s,u,d,o,r,i),this.conjugate(d,o,r),this.normalize13b(d,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),p(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,u=(0|this.words[t])-s<<n;this.words[t]=u|a,a=s>>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,u=n;if(i-=a,i=Math.max(0,i),u){for(var l=0;l<a;l++)u.words[l]=this.words[l];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,l=0;l<this.length;l++)this.words[l]=this.words[l+a];else this.words[0]=0,this.length=1;var c=0;for(l=this.length-1;l>=0&&(0!==c||l>=i);l--){var f=0|this.words[l];this.words[l]=c<<26-o|f>>>o,c=f&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,a=e.length+n;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+s;var u=(0|e.words[i])*t;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,u=r.length-i.length;if("mod"!==t){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var l=0;l<s.length;l++)s.words[l]=0}var c=r.clone()._ishlnsubmul(i,1,u);0===c.negative&&(r=c,s&&(s.words[u]=1));for(var f=u-1;f>=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var c=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(f)),s.iushrn(1),u.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(u)):(n.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),u=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,c=1;0==(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(t.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,d=1;0==(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new k(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function x(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}v.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},i(y,v),y.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r<n;r++)t.words[r]=e.words[r];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,r=10;r<e.length;r++){var o=0|e.words[r];e.words[r-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},y.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(b,v),i(_,v),i(w,v),w.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new b;else if("p192"===e)t=new _;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return g[e]=t,t},k.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var f=this.pow(c,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=a;0!==h.cmp(s);){for(var m=h,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g<p);var v=this.pow(f,new o(1).iushln(p-g-1));d=d.redMul(v),f=v.redSqr(),h=h.redMul(f),p=g}return d},k.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},k.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],a=0,s=0,u=t.bitLength()%26;for(0===u&&(u=26),r=t.length-1;r>=0;r--){for(var l=t.words[r],c=u-1;c>=0;c--){var f=l>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===r&&0===c)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}u=26}return i},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new x(e)},i(x,k),x.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},x.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},x.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},x.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,r)}),Wo=1/0,Yo=9007199254740991,Ho=1.7976931348623157e308,Vo=NaN,$o="[object Function]",qo="[object GeneratorFunction]",Go="[object Symbol]",Qo=/^\s+|\s+$/g,Ko=/^[-+]0x[0-9a-f]+$/i,Zo=/^0b[01]+$/i,Xo=/^0o[0-7]+$/i,Jo=/^(?:0|[1-9]\d*)$/,ea=parseInt,ta=Object.prototype.toString,na=Math.ceil,ra=Math.max;function ia(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function oa(e,t,n){if(!aa(n))return!1;var r=typeof t;return!!("number"==r?function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Yo}(e.length)&&!function(e){var t=aa(e)?ta.call(e):"";return t==$o||t==qo}(e)}(n)&&function(e,t){return!!(t=null==t?Yo:t)&&("number"==typeof e||Jo.test(e))&&e>-1&&e%1==0&&e<t}(t,n.length):"string"==r&&t in n)&&function(e,t){return e===t||e!=e&&t!=t}(n[t],e)}function aa(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var sa=function(e,t,n){t=(n?oa(e,t,n):void 0===t)?1:ra(function(e){var t=function(e){if(!e)return 0===e?e:0;if((e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&ta.call(e)==Go}(e))return Vo;if(aa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=aa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Qo,"");var n=Zo.test(e);return n||Xo.test(e)?ea(e.slice(2),n?2:8):Ko.test(e)?Vo:+e}(e))===Wo||e===-Wo){var t=e<0?-1:1;return t*Ho}return e==e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}(t),0);var r=e?e.length:0;if(!r||t<1)return[];for(var i=0,o=0,a=Array(na(r/t));i<r;)a[o++]=ia(e,i,i+=t);return a},ua=a(function(e,t){var n=200,i="__lodash_hash_undefined__",o=1,a=2,s=9007199254740991,u="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",f="[object Boolean]",d="[object Date]",h="[object Error]",p="[object Function]",m="[object GeneratorFunction]",g="[object Map]",v="[object Number]",y="[object Null]",b="[object Object]",_="[object Proxy]",w="[object RegExp]",k="[object Set]",x="[object String]",E="[object Symbol]",S="[object Undefined]",T="[object ArrayBuffer]",C="[object DataView]",M=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,R={};R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R[u]=R[l]=R[T]=R[f]=R[C]=R[d]=R[h]=R[p]=R[g]=R[v]=R[b]=R[w]=R[k]=R[x]=R["[object WeakMap]"]=!1;var P="object"==typeof r&&r&&r.Object===Object&&r,O="object"==typeof self&&self&&self.Object===Object&&self,D=P||O||Function("return this")(),A=t&&!t.nodeType&&t,I=A&&e&&!e.nodeType&&e,j=I&&I.exports===A,U=j&&P.process,L=function(){try{return U&&U.binding&&U.binding("util")}catch(e){}}(),F=L&&L.isTypedArray;function z(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function B(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var Y,H,V,$=Array.prototype,q=Function.prototype,G=Object.prototype,Q=D["__core-js_shared__"],K=q.toString,Z=G.hasOwnProperty,X=(Y=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",J=G.toString,ee=RegExp("^"+K.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=j?D.Buffer:void 0,ne=D.Symbol,re=D.Uint8Array,ie=G.propertyIsEnumerable,oe=$.splice,ae=ne?ne.toStringTag:void 0,se=Object.getOwnPropertySymbols,ue=te?te.isBuffer:void 0,le=(H=Object.keys,V=Object,function(e){return H(V(e))}),ce=Le(D,"DataView"),fe=Le(D,"Map"),de=Le(D,"Promise"),he=Le(D,"Set"),pe=Le(D,"WeakMap"),me=Le(Object,"create"),ge=We(ce),ve=We(fe),ye=We(de),be=We(he),_e=We(pe),we=ne?ne.prototype:void 0,ke=we?we.valueOf:void 0;function xe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Se(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Te(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Se;++t<n;)this.add(e[t])}function Ce(e){var t=this.__data__=new Ee(e);this.size=t.size}function Me(e,t){var n=Ve(e),r=!n&&He(e),i=!n&&!r&&$e(e),o=!n&&!r&&!i&&Ze(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=s.length;for(var l in e)!t&&!Z.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Be(l,u))||s.push(l);return s}function Ne(e,t){for(var n=e.length;n--;)if(Ye(e[n][0],t))return n;return-1}function Re(e){return null==e?void 0===e?S:y:ae&&ae in Object(e)?function(e){var t=Z.call(e,ae),n=e[ae];try{e[ae]=void 0;var r=!0}catch(e){}var i=J.call(e);r&&(t?e[ae]=n:delete e[ae]);return i}(e):function(e){return J.call(e)}(e)}function Pe(e){return Ke(e)&&Re(e)==u}function Oe(e,t,n,r,i){return e===t||(null==e||null==t||!Ke(e)&&!Ke(t)?e!=e&&t!=t:function(e,t,n,r,i,s){var c=Ve(e),p=Ve(t),m=c?l:ze(e),y=p?l:ze(t),_=(m=m==u?b:m)==b,S=(y=y==u?b:y)==b,M=m==y;if(M&&$e(e)){if(!$e(t))return!1;c=!0,_=!1}if(M&&!_)return s||(s=new Ce),c||Ze(e)?Ie(e,t,n,r,i,s):function(e,t,n,r,i,s,u){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case T:return!(e.byteLength!=t.byteLength||!s(new re(e),new re(t)));case f:case d:case v:return Ye(+e,+t);case h:return e.name==t.name&&e.message==t.message;case w:case x:return e==t+"";case g:var l=B;case k:var c=r&o;if(l||(l=W),e.size!=t.size&&!c)return!1;var p=u.get(e);if(p)return p==t;r|=a,u.set(e,t);var m=Ie(l(e),l(t),r,i,s,u);return u.delete(e),m;case E:if(ke)return ke.call(e)==ke.call(t)}return!1}(e,t,m,n,r,i,s);if(!(n&o)){var N=_&&Z.call(e,"__wrapped__"),R=S&&Z.call(t,"__wrapped__");if(N||R){var P=N?e.value():e,O=R?t.value():t;return s||(s=new Ce),i(P,O,n,r,s)}}if(!M)return!1;return s||(s=new Ce),function(e,t,n,r,i,a){var s=n&o,u=je(e),l=u.length,c=je(t).length;if(l!=c&&!s)return!1;for(var f=l;f--;){var d=u[f];if(!(s?d in t:Z.call(t,d)))return!1}var h=a.get(e);if(h&&a.get(t))return h==t;var p=!0;a.set(e,t),a.set(t,e);for(var m=s;++f<l;){d=u[f];var g=e[d],v=t[d];if(r)var y=s?r(v,g,d,t,e,a):r(g,v,d,e,t,a);if(!(void 0===y?g===v||i(g,v,n,r,a):y)){p=!1;break}m||(m="constructor"==d)}if(p&&!m){var b=e.constructor,_=t.constructor;b!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(p=!1)}return a.delete(e),a.delete(t),p}(e,t,n,r,i,s)}(e,t,n,r,Oe,i))}function De(e){return!(!Qe(e)||(t=e,X&&X in t))&&(qe(e)?ee:M).test(We(e));var t}function Ae(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||G,t!==r)return le(e);var t,n,r,i=[];for(var o in Object(e))Z.call(e,o)&&"constructor"!=o&&i.push(o);return i}function Ie(e,t,n,r,i,s){var u=n&o,l=e.length,c=t.length;if(l!=c&&!(u&&c>l))return!1;var f=s.get(e);if(f&&s.get(t))return f==t;var d=-1,h=!0,p=n&a?new Te:void 0;for(s.set(e,t),s.set(t,e);++d<l;){var m=e[d],g=t[d];if(r)var v=u?r(g,m,d,t,e,s):r(m,g,d,e,t,s);if(void 0!==v){if(v)continue;h=!1;break}if(p){if(!z(t,function(e,t){if(o=t,!p.has(o)&&(m===e||i(m,e,n,r,s)))return p.push(t);var o})){h=!1;break}}else if(m!==g&&!i(m,g,n,r,s)){h=!1;break}}return s.delete(e),s.delete(t),h}function je(e){return function(e,t,n){var r=t(e);return Ve(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Xe,Fe)}function Ue(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Le(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return De(n)?n:void 0}xe.prototype.clear=function(){this.__data__=me?me(null):{},this.size=0},xe.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},xe.prototype.get=function(e){var t=this.__data__;if(me){var n=t[e];return n===i?void 0:n}return Z.call(t,e)?t[e]:void 0},xe.prototype.has=function(e){var t=this.__data__;return me?void 0!==t[e]:Z.call(t,e)},xe.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=me&&void 0===t?i:t,this},Ee.prototype.clear=function(){this.__data__=[],this.size=0},Ee.prototype.delete=function(e){var t=this.__data__,n=Ne(t,e);return!(n<0||(n==t.length-1?t.pop():oe.call(t,n,1),--this.size,0))},Ee.prototype.get=function(e){var t=this.__data__,n=Ne(t,e);return n<0?void 0:t[n][1]},Ee.prototype.has=function(e){return Ne(this.__data__,e)>-1},Ee.prototype.set=function(e,t){var n=this.__data__,r=Ne(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Se.prototype.clear=function(){this.size=0,this.__data__={hash:new xe,map:new(fe||Ee),string:new xe}},Se.prototype.delete=function(e){var t=Ue(this,e).delete(e);return this.size-=t?1:0,t},Se.prototype.get=function(e){return Ue(this,e).get(e)},Se.prototype.has=function(e){return Ue(this,e).has(e)},Se.prototype.set=function(e,t){var n=Ue(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,i),this},Te.prototype.has=function(e){return this.__data__.has(e)},Ce.prototype.clear=function(){this.__data__=new Ee,this.size=0},Ce.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ce.prototype.get=function(e){return this.__data__.get(e)},Ce.prototype.has=function(e){return this.__data__.has(e)},Ce.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Ee){var i=r.__data__;if(!fe||i.length<n-1)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new Se(i)}return r.set(e,t),this.size=r.size,this};var Fe=se?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(se(e),function(t){return ie.call(e,t)}))}:function(){return[]},ze=Re;function Be(e,t){return!!(t=null==t?s:t)&&("number"==typeof e||N.test(e))&&e>-1&&e%1==0&&e<t}function We(e){if(null!=e){try{return K.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ye(e,t){return e===t||e!=e&&t!=t}(ce&&ze(new ce(new ArrayBuffer(1)))!=C||fe&&ze(new fe)!=g||de&&"[object Promise]"!=ze(de.resolve())||he&&ze(new he)!=k||pe&&"[object WeakMap]"!=ze(new pe))&&(ze=function(e){var t=Re(e),n=t==b?e.constructor:void 0,r=n?We(n):"";if(r)switch(r){case ge:return C;case ve:return g;case ye:return"[object Promise]";case be:return k;case _e:return"[object WeakMap]"}return t});var He=Pe(function(){return arguments}())?Pe:function(e){return Ke(e)&&Z.call(e,"callee")&&!ie.call(e,"callee")},Ve=Array.isArray;var $e=ue||function(){return!1};function qe(e){if(!Qe(e))return!1;var t=Re(e);return t==p||t==m||t==c||t==_}function Ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function Qe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ke(e){return null!=e&&"object"==typeof e}var Ze=F?function(e){return function(t){return e(t)}}(F):function(e){return Ke(e)&&Ge(e.length)&&!!R[Re(e)]};function Xe(e){return null!=(t=e)&&Ge(t.length)&&!qe(t)?Me(e):Ae(e);var t}e.exports=function(e,t){return Oe(e,t)}});const la=new Bo(255),ca=new Bo(65280),fa=new Bo(256),da=(e,t)=>{let n,r,i,o,a,s,u,l;for(n=3&e.length,r=e.length-n,i=t,a=3432918353,s=461845907,l=0;l<r;)u=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24,++l,i=27492+(65535&(o=5*(65535&(i=(i^=u=(65535&(u=(u=(65535&u)*a+(((u>>>16)*a&65535)<<16)&4294967295)<<15|u>>>17))*s+(((u>>>16)*s&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(u=0,n){case 3:u^=(255&e.charCodeAt(l+2))<<16;case 2:u^=(255&e.charCodeAt(l+1))<<8;case 1:i^=u=(65535&(u=(u=(65535&(u^=255&e.charCodeAt(l)))*a+(((u>>>16)*a&65535)<<16)&4294967295)<<15|u>>>17))*s+(((u>>>16)*s&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0};var ha={muk:(e,t,n)=>{const r=n.and(la).toNumber(),i=n.and(ca).div(fa).toNumber(),o=String.fromCharCode(r)+String.fromCharCode(i);return new Bo(da(o,e))}};const{muk:pa}=ha,ma=new Bo("10000","hex"),ga=new Bo("ffffffff","hex"),va=new Bo("100000000","hex"),ya=new Bo("ffffffffffffffff","hex"),ba=new Bo("ffffffff00000000","hex"),_a=new Bo("65535"),wa=new Bo("65536"),ka=(e,t)=>{return pa([3077398253,3995603712,2243735041,1261992695][e],2,t)},xa=e=>Ea(4,_a,wa,ga,ka,new Bo(e)),Ea=(e,t,n,r,i,o)=>{const a=Sa(e,t,n,i,o);return a.lt(r)?a:Sa(e,t,n,i,a)},Sa=(e,t,n,r,i)=>{const o=(i,a,s)=>{if(i>e)return e%2!=0?t.mul(s).add(a):s.eq(t)?t.mul(s).add(a):t.mul(a).add(s);{const e=r(i-1,s),u=i%2!=0?a.add(e).mod(t):a.add(e).mod(n);return o(i+1,s,u)}},a=i.mod(t),s=i.div(t);return o(1,a,s)},Ta=e=>Ca(4,_a,wa,ga,ka,new Bo(e)),Ca=(e,t,n,r,i,o)=>{const a=Ma(e,t,n,i,o);return a.lt(r)?a:Ma(e,t,n,i,a)},Ma=(e,t,n,r,i)=>{const o=(e,i,a)=>{if(e<1)return t.mul(a).add(i);{const s=r(e-1,i),u=e%2!=0?a.add(t).sub(s.mod(t)).mod(t):a.add(n).sub(s.mod(n)).mod(n);return o(e-1,u,i)}},a=e%2!=0?i.div(t):i.mod(t),s=e%2!=0?i.mod(t):i.div(t),u=s.eq(t)?a:s,l=s.eq(t)?s:a;return o(e,u,l)};var Na={F:ka,fe:Sa,Fe:Ea,feis:xa,fein:e=>{const t=e=>{const n=e.and(ga),r=e.and(ba);return e.gte(ma)&&e.lte(ga)?ma.add(xa(e.sub(ma))):e.gte(va)&&e.lte(ya)?r.or(t(n)):e};return t(new Bo(e))},fen:Ma,Fen:Ca,tail:Ta,fynd:e=>{const t=e=>{const n=e.and(ga),r=e.and(ba);return e.gte(ma)&&e.lte(ga)?ma.add(Ta(e.sub(ma))):e.gte(va)&&e.lte(ya)?r.or(t(n)):e};return t(new Bo(e))}};const Ra=new Bo(0),Pa=new Bo(1),Oa=new Bo(2),Da=new Bo(3),Aa=new Bo(4),Ia=new Bo(5),ja="\nzodnecbudwessevpersutletfulpensytdurwepserwylsunrypsyxdyrnuphebpeglupdepdysputlughecryttyvsydnexlunmeplutseppesdelsulpedtemledtulmetwenbynhexfebpyldulhetmevruttylwydtepbesdexsefwycburderneppurrysrebdennutsubpetrulsynregtydsupsemwynrecmegnetsecmulnymtevwebsummutnyxrextebfushepbenmuswyxsymselrucdecwexsyrwetdylmynmesdetbetbeltuxtugmyrpelsyptermebsetdutdegtexsurfeltudnuxruxrenwytnubmedlytdusnebrumtynseglyxpunresredfunrevrefmectedrusbexlebduxrynnumpyxrygryxfeptyrtustyclegnemfermertenlusnussyltecmexpubrymtucfyllepdebbermughuttunbylsudpemdevlurdefbusbeprunmelpexdytbyttyplevmylwedducfurfexnulluclennerlexrupnedlecrydlydfenwelnydhusrelrudneshesfetdesretdunlernyrsebhulrylludremlysfynwerrycsugnysnyllyndyndemluxfedsedbecmunlyrtesmudnytbyrsenwegfyrmurtelreptegpecnelnevfes",Ua=e=>e.replace(/[\^~-]/g,"").match(/.{1,3}/g)||[],La="\ndozmarbinwansamlitsighidfidlissogdirwacsabwissibrigsoldopmodfoglidhopdardorlorhodfolrintogsilmirholpaslacrovlivdalsatlibtabhanticpidtorbolfosdotlosdilforpilramtirwintadbicdifrocwidbisdasmidloprilnardapmolsanlocnovsitnidtipsicropwitnatpanminritpodmottamtolsavposnapnopsomfinfonbanmorworsipronnorbotwicsocwatdolmagpicdavbidbaltimtasmalligsivtagpadsaldivdactansidfabtarmonranniswolmispallasdismaprabtobrollatlonnodnavfignomnibpagsopralbilhaddocridmocpacravripfaltodtiltinhapmicfanpattaclabmogsimsonpinlomrictapfirhasbosbatpochactidhavsaplindibhosdabbitbarracparloddosbortochilmactomdigfilfasmithobharmighinradmashalraglagfadtopmophabnilnosmilfopfamdatnoldinhatnacrisfotribhocnimlarfitwalrapsarnalmoslandondanladdovrivbacpollaptalpitnambonrostonfodponsovnocsorlavmatmipfip".match(/.{1,3}/g),Fa=ja.match(/.{1,3}/g),za=e=>Oa.pow(e),Ba=(e,t,n)=>n.div(za(za(e).mul(t))),Wa=(e,t,n=Ra)=>t.eq(Ra)?n:Wa(e,Ba(e,Pa,t),n.add(Pa)),Ya=(e,t,n)=>n.mod(za(za(e).mul(t))),Ha=e=>{if(!1===Ja(e))throw new Error("patp2hex: not a valid @p");const t=Ua(e),n=e=>e.toString(2).padStart(8,"0"),r=t.reduce((e,r,i)=>i%2!=0||1===t.length?e+n(Fa.indexOf(r)):e+n(La.indexOf(r)),""),i=new Bo(r,2),o=Na.fynd(i).toString("hex");return o.length%2!=0?o.padStart(o.length+1,"0"):o},Va=e=>new Bo(Ha(e),"hex"),$a=e=>{let t;try{t=Va(e)}catch(e){throw new Error("patp2dec: not a valid @p")}return t.toString()},qa=e=>{const t=new Bo(e).toArrayLike(ro);return Ga(t)},Ga=e=>{const t=e.length%2!=0&&e.length>1?[[e[0]]].concat(sa(e.slice(1),2)):sa(e,2),n=e=>e.length%2!=0&&t.length>1?(e=>void 0===e[1]?La[0]+Fa[e[0]]:La[e[0]]+Fa[e[1]])(e):(e=>void 0===e[1]?Fa[e[0]]:La[e[0]]+Fa[e[1]])(e);return t.reduce((e,t)=>e+("~"===e?"":"-")+n(t),"~")},Qa=e=>{if(!1===Ja(e))throw new Error("patq2hex: not a valid @q");const t=e.slice(1).split("-"),n=e=>e.toString(16).padStart(2,"0"),r=t.map(e=>{let t=((e,t)=>[t.slice(0,e),t.slice(e)])(3,e);return""===t[1]?n(Fa.indexOf(t[0])):n(La.indexOf(t[0]))+n(Fa.indexOf(t[1]))});return 0===e.length?"00":r.join("")},Ka=e=>new Bo(Qa(e),"hex"),Za=e=>{let t;try{t=Ka(e)}catch(e){throw new Error("patq2dec: not a valid @q")}return t.toString()},Xa=e=>{let t;try{t=Va(e)}catch(e){throw new Error("clan: not a valid @p")}const n=Wa(Da,t);return n.lte(Pa)?"galaxy":n.eq(Oa)?"star":n.lte(Aa)?"planet":n.lte(new Bo(8))?"moon":"comet"},Ja=e=>{if("string"!=typeof e)throw new Error("isValidPat: non-string input");if(!1===("~"===e.slice(0,1))||e.length<4)return!1;{const t=Ua(e),n=t.length%2!=0&&1!==t.length,r=t.reduce((e,n,r)=>e&&(r%2!=0||1===t.length?Fa.includes(n):La.includes(n)),!0);return!n&&r}},es=e=>"00"===e.slice(0,2)?es(e.slice(2)):e,ts=(e,t)=>{let n,r;try{n=Qa(e)}catch(e){throw new Error("eqPatq: not a valid @q")}try{r=Qa(t)}catch(e){throw new Error("eqPatq: not a valid @q")}return((e,t)=>ua(es(e),es(t)))(n,r)},ns=e=>{if(null===e)throw new Error("patp: null input");const t=new Bo(e),n=Na.fein(t),r=Wa(Aa,n),i=(e,t,n)=>{const o=Ya(Aa,Pa,e),a=La[Ba(Da,Pa,o)]+Fa[Ya(Da,Pa,o)]+(t.mod(Aa).eq(Ra)?t.eq(Ra)?"":"--":"-")+n;return t.eq(r)?n:i(Ba(Aa,Pa,e),t.add(Pa),a)};return"~"+(Wa(Da,n).lte(Pa)?Fa[n]:i(n,Ra,""))};var rs={patp:ns,patp2hex:Ha,hex2patp:e=>{if(null===e)throw new Error("hex2patp: null input");return ns(new Bo(e,"hex"))},patp2dec:$a,sein:e=>{let t,n;try{t=Va(e)}catch(e){throw new Error("sein: not a valid @p")}try{n=Xa(e)}catch(e){throw new Error("sein: not a valid @p")}const r="galaxy"===n?t:"star"===n?Ya(Da,Pa,t):"planet"===n?Ya(Aa,Pa,t):"moon"===n?Ya(Ia,Pa,t):Ra;return ns(r)},clan:Xa,patq:qa,patq2hex:Qa,hex2patq:e=>{const t=e.length%2!=0?e.padStart(e.length+1,"0"):e,n=ro.from(t,"hex");return Ga(n)},patq2dec:Za,eqPatq:ts,isValidPat:Ja,isValidPatp:e=>Ja(e)&&e===ns($a(e)),isValidPatq:e=>Ja(e)&&ts(e,qa(Za(e)))};Object.assign(rs,Na);const is="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/components/searchable-list.js";class os extends T{constructor(e){super(e),this.state={query:""},this.updateQuery=this.updateQuery.bind(this)}updateQuery(e){this.setState({query:e.target.value})}render(){const{state:e,props:t}=this,n=S.createElement("input",{type:"text",placeholder:t.placeholder,onChange:this.updateQuery,value:e.query,style:{border:"1px solid black"},__self:this,__source:{fileName:is,lineNumber:25}});let r=t.items.filter(t=>e.query.split(" ").reduce((e,n)=>e&&(""+t.key).includes(n),!0));return r=r.map(e=>S.createElement("div",{key:e.key,style:{marginTop:"4px"},__self:this,__source:{fileName:is,lineNumber:40}},e.jsx)),S.createElement("div",{style:{position:"relative",border:"1px solid grey",padding:"4px"},__self:this,__source:{fileName:is,lineNumber:43}},t.children,S.createElement("div",{__self:this,__source:{fileName:is,lineNumber:45}},n," (",r.length,")"),S.createElement("div",{__self:this,__source:{fileName:is,lineNumber:46}},0===r.length?"none":r))}}const as="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/components/subscriptions.js";class ss extends T{constructor(e){super(e)}componentDidMount(){this.componentDidUpdate()}componentDidUpdate(e){}render(){const e=this.props,t=e.in.map(e=>({key:"~"+e.ship+" "+e.path,jsx:S.createElement("div",{class:"flex",__self:this,__source:{fileName:as,lineNumber:23}},S.createElement("div",{class:"flex-auto",style:{maxWidth:"10%"},__self:this,__source:{fileName:as,lineNumber:24}},"~",e.ship),S.createElement("div",{class:"flex-auto",style:{maxWidth:"30%"},__self:this,__source:{fileName:as,lineNumber:27}},e.path),S.createElement("div",{class:"flex-auto",style:{maxWidth:"60%"},__self:this,__source:{fileName:as,lineNumber:30}},ji(e.duct)))})),n=e.out.map(e=>({key:`~${e.ship} ${e.app} ${e.wire} ${e.path}`,jsx:S.createElement("div",{class:"flex",__self:this,__source:{fileName:as,lineNumber:39}},S.createElement("div",{class:"flex-auto",style:{maxWidth:"35%"},__self:this,__source:{fileName:as,lineNumber:40}},e.wire),S.createElement("div",{class:"flex-auto",style:{maxWidth:"10%"},__self:this,__source:{fileName:as,lineNumber:43}},"~",e.ship),S.createElement("div",{class:"flex-auto",style:{maxWidth:"10%"},__self:this,__source:{fileName:as,lineNumber:46}},e.app),S.createElement("div",{class:"flex-auto",style:{maxWidth:"35%"},__self:this,__source:{fileName:as,lineNumber:49}},e.path),S.createElement("div",{class:"flex-auto",style:{maxWidth:"10%"},__self:this,__source:{fileName:as,lineNumber:52}},e.acked?"acked":"not acked"))}));return S.createElement("div",{__self:this,__source:{fileName:as,lineNumber:59}},S.createElement("h4",{__self:this,__source:{fileName:as,lineNumber:60}},"Incoming"),S.createElement(os,{placeholder:"ship / path",items:t,__self:this,__source:{fileName:as,lineNumber:61}}),S.createElement("h4",{__self:this,__source:{fileName:as,lineNumber:62}},"Outgoing"),S.createElement(os,{placeholder:"ship / app / wire / path",items:n,__self:this,__source:{fileName:as,lineNumber:63}}))}}const us="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/components/summary.js";class ls extends T{constructor(e){super(e),this.onToggle=this.onToggle.bind(this)}onToggle(e){e.target.open?this.props.onOpen&&this.props.onOpen(this.props.id):this.props.onClose&&this.props.onClose(this.props.id)}render(){const{props:e}=this;return S.createElement("details",{onToggle:this.onToggle,...e,style:{border:"1px solid black",padding:"4px",position:"relative",...e.style},__self:this,__source:{fileName:us,lineNumber:28}},S.createElement("summary",{__self:this,__source:{fileName:us,lineNumber:29}},e.summary),S.createElement("div",{style:{borderTop:"1px solid black"},__self:this,__source:{fileName:us,lineNumber:32}},e.details))}}const cs="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/views/apps.js";class fs extends T{constructor(e){super(e),this.state={stateQuery:{}},this.changeStateQuery=this.changeStateQuery.bind(this),this.loadApps=this.loadApps.bind(this),this.loadAppDetails=this.loadAppDetails.bind(this)}componentDidMount(){0===Object.keys(this.props.apps).length&&this.loadApps()}componentDidUpdate(e,t){}changeStateQuery(e,t){this.state.stateQuery[e]=t.target.value,this.setState({stateQuery:this.state.stateQuery})}loadApps(){api.getApps()}loadAppDetails(e){api.getAppDetails(e)}loadAppState(e){api.getAppState(e,this.state.stateQuery[e])}render(){const{props:e,state:t}=this,n=Object.keys(e.apps).sort().map(n=>{const r=e.apps[n],i="object"==typeof r,o=!!i||r,a=o?{borderLeft:"3px solid green"}:{borderLeft:"3px solid grey"};let s=null;if(i)if(r.noDebug)s="App doesn't use /lib/dbug";else{const e=r,i=(e.events||[]).map(e=>({key:e,jsx:S.createElement(S.Fragment,null,e,S.createElement("br",{__self:this,__source:{fileName:cs,lineNumber:75}}))}));s=S.createElement(S.Fragment,null,S.createElement("button",{style:{position:"absolute",top:0,right:0},onClick:()=>{this.loadAppDetails(n)},__self:this,__source:{fileName:cs,lineNumber:79}},"refresh"),S.createElement("button",{onClick:()=>{this.loadAppState(n)},__self:this,__source:{fileName:cs,lineNumber:85}},"query state"),S.createElement("textarea",{class:"mono",onChange:e=>this.changeStateQuery(n,e),value:t.stateQuery[n],placeholder:"-.-",spellCheck:"false",__self:this,__source:{fileName:cs,lineNumber:86}}),S.createElement("div",{style:{maxHeight:"500px",overflow:"scroll"},__self:this,__source:{fileName:cs,lineNumber:93}},S.createElement("pre",{__self:this,__source:{fileName:cs,lineNumber:94}},(e.state||e.simpleState).join("\n"))),S.createElement("div",{__self:this,__source:{fileName:cs,lineNumber:96}},S.createElement(ss,{...e.subscriptions,__self:this,__source:{fileName:cs,lineNumber:97}})),S.createElement("div",{__self:this,__source:{fileName:cs,lineNumber:99}},S.createElement("button",{onClick:()=>{api.bindToVerb(n)},__self:this,__source:{fileName:cs,lineNumber:100}},"listen to verb"),S.createElement(os,{placeholder:"event description",items:i,__self:this,__source:{fileName:cs,lineNumber:101}})))}else s=o?"Loading...":"App not running.";const u=o?this.loadAppDetails:null;return{key:n,jsx:S.createElement(ls,{id:n,summary:"%"+n,details:s,onOpen:u,style:a,__self:this,__source:{fileName:cs,lineNumber:111}})}});return S.createElement("div",{className:"h-100 w-100 pa3 pt4 overflow-x-hidden bg-gray0-d white-d flex flex-column",__self:this,__source:{fileName:cs,lineNumber:116}},S.createElement(os,{placeholder:"app name",items:n,__self:this,__source:{fileName:cs,lineNumber:121}},S.createElement("button",{onClick:this.loadApps,__self:this,__source:{fileName:cs,lineNumber:122}},"refresh")))}}const ds="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/views/spider.js";class hs extends T{constructor(e){super(e),this.state={},this.loadThreads=this.loadThreads.bind(this),this.renderThreads=this.renderThreads.bind(this),this.killThread=this.killThread.bind(this)}componentDidMount(){const{threads:e}=this.props;0===Object.keys(e).length&&this.loadThreads()}componentDidUpdate(e,t){}loadThreads(){api.getThreads()}killThread(e){api.killThread(e)}renderThreads(e){return Object.keys(e).map(t=>{const n=this.renderThreads(e[t]);return S.createElement(S.Fragment,null,S.createElement("div",{__self:this,__source:{fileName:ds,lineNumber:42}},S.createElement("button",{style:{margin:"4px"},onClick:()=>{this.killThread(t)},__self:this,__source:{fileName:ds,lineNumber:43}},"kill"),t),S.createElement("div",{style:{paddingLeft:"16px"},__self:this,__source:{fileName:ds,lineNumber:46}},n))})}render(){return S.createElement(S.Fragment,null,S.createElement("button",{onClick:this.loadThreads,__self:this,__source:{fileName:ds,lineNumber:53}},"refresh"),S.createElement("br",{__self:this,__source:{fileName:ds,lineNumber:53}}),0===Object.keys(this.props.threads).length?"no running threads":this.renderThreads(this.props.threads))}}const ps="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/views/ames.js";class ms extends T{constructor(e){super(e),this.loadPeers=this.loadPeers.bind(this),this.loadPeerDetails=this.loadPeerDetails.bind(this),this.renderFlow=this.renderFlow.bind(this)}componentDidMount(){const{known:e,alien:t}=this.props.peers;0===e.length&&0===t.length&&this.loadPeers()}componentDidUpdate(e,t){}loadPeers(){api.getPeers()}loadPeerDetails(e){api.getPeer(e)}renderDucts(e){const t=e.map(e=>({key:e.join(" "),jsx:S.createElement("div",{__self:this,__source:{fileName:ps,lineNumber:42}},ji(e))}));return S.createElement(os,{placeholder:"duct",items:t,__self:this,__source:{fileName:ps,lineNumber:45}})}renderSnd(e){const t=e["unsent-messages"].reduce((e,t)=>e+t+" bytes, ","unsent msg sizes: "),n=e["queued-message-acks"].map(e=>({key:e["message-num"],jsx:e["message-num"]+": "+e.ack})),r=S.createElement(os,{placeholder:"msg num",items:n,__self:this,__source:{fileName:ps,lineNumber:59}}),i=e["packet-pump-state"].metrics,o=S.createElement(S.Fragment,null,S.createElement("table",{__self:this,__source:{fileName:ps,lineNumber:64}},S.createElement("tbody",{__self:this,__source:{fileName:ps,lineNumber:64}},S.createElement("tr",{class:"inter",__self:this,__source:{fileName:ps,lineNumber:65}},S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:66}},"rto"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:67}},"rtt"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:68}},"rttvar"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:69}},"ssthresh"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:70}},"num-live"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:71}},"cwnd"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:72}},"counter")),S.createElement("tr",{__self:this,__source:{fileName:ps,lineNumber:74}},S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:75}},i.rto),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:76}},i.rtt),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:77}},i.rttvar),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:78}},i.ssthresh),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:79}},i["num-live"]),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:80}},i.cwnd),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:81}},i.counter))))),a=e["packet-pump-state"].live.map(e=>({key:e["message-num"]+","+e["fragment-num"],jsx:S.createElement("table",{__self:this,__source:{fileName:ps,lineNumber:88}},S.createElement("tbody",{__self:this,__source:{fileName:ps,lineNumber:88}},S.createElement("tr",{__self:this,__source:{fileName:ps,lineNumber:89}},S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:90}},"message-num"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:91}},"fragment-num"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:92}},"num-fragments"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:93}},"last-sent"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:94}},"retries"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:95}},"skips")),S.createElement("tr",{__self:this,__source:{fileName:ps,lineNumber:97}},S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:98}},e["message-num"]),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:99}},e["fragment-num"]),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:100}},e["num-fragments"]),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:101}},Ii(e["last-sent"])),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:102}},e.retries),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:103}},e.skips))))})),s=S.createElement(os,{placeholder:"msg-num,frag-num",items:a,__self:this,__source:{fileName:ps,lineNumber:109}}),u=S.createElement(S.Fragment,null,S.createElement("b",{__self:this,__source:{fileName:ps,lineNumber:113}},"snd"),S.createElement("br",{__self:this,__source:{fileName:ps,lineNumber:113}}),ji(e.duct),S.createElement("table",{__self:this,__source:{fileName:ps,lineNumber:115}},S.createElement("tbody",{__self:this,__source:{fileName:ps,lineNumber:115}},S.createElement("tr",{class:"inter",__self:this,__source:{fileName:ps,lineNumber:116}},S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:117}},"bone"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:118}},"current"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:119}},"next"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:120}},"next wake"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:121}},"total unsent")),S.createElement("tr",{__self:this,__source:{fileName:ps,lineNumber:123}},S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:124}},e.bone),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:125}},e.current),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:126}},e.next),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:127}},Ii(e["packet-pump-state"]["next-wake"])),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:128}},e["unsent-messages"].reduce((e,t)=>e+t,0)," bytes (",e["unsent-messages"].length," messages)"))))),l=S.createElement(S.Fragment,null,o,t,r,s);return{key:"snd "+(e["unsent-messages"].length>0||e["packet-pump-state"].live.length>0?"active, ":"")+e.bone+", "+ji(e.duct),jsx:S.createElement(ls,{summary:u,details:l,__self:this,__source:{fileName:ps,lineNumber:146}})}}renderRcv(e){const t=e["pending-vane-ack"].reduce((e,t)=>e+t+", ","pending vane acks: "),n=e.nax.reduce((e,t)=>e+t+", ","nacks: "),r=e["live-messages"].map(e=>({key:e["message-num"],jsx:S.createElement(S.Fragment,null,"Message #",e["message-num"],S.createElement("br",{__self:this,__source:{fileName:ps,lineNumber:159}}),e["num-received"]," out of ",e["num-fragments"]," fragments received:",S.createElement("br",{__self:this,__source:{fileName:ps,lineNumber:160}}),e.fragments.reduce((e,t)=>e+t+", ",""))})),i=S.createElement(S.Fragment,null,"Live messages:",S.createElement("br",{__self:this,__source:{fileName:ps,lineNumber:165}}),S.createElement(os,{placeholder:"message num",items:r,__self:this,__source:{fileName:ps,lineNumber:166}})),o=S.createElement(S.Fragment,null,S.createElement("b",{__self:this,__source:{fileName:ps,lineNumber:170}},"rcv"),S.createElement("br",{__self:this,__source:{fileName:ps,lineNumber:170}}),ji(e.duct),S.createElement("table",{__self:this,__source:{fileName:ps,lineNumber:172}},S.createElement("tbody",{__self:this,__source:{fileName:ps,lineNumber:172}},S.createElement("tr",{__self:this,__source:{fileName:ps,lineNumber:173}},S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:174}},"bone"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:175}},"last-acked"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:176}},"last-heard")),S.createElement("tr",{__self:this,__source:{fileName:ps,lineNumber:178}},S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:179}},e.bone),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:180}},e["last-acked"]),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:181}},e["last-heard"]))))),a=S.createElement(S.Fragment,null,t,S.createElement("br",{__self:this,__source:{fileName:ps,lineNumber:186}}),n,S.createElement("br",{__self:this,__source:{fileName:ps,lineNumber:187}}),i);return{key:"rcv "+e.bone+", "+ji(e.duct),jsx:S.createElement(ls,{summary:o,details:a,__self:this,__source:{fileName:ps,lineNumber:191}})}}renderFlow(e){return e.snd?this.renderSnd(e.snd):e.rcv?this.renderRcv(e.rcv):(console.log("weird flow",e),"weird flow")}render(){const{props:e,state:t}=this,{known:n,alien:r,deets:i}=e.peers,o=e=>{const t=i[e];if(t){if(t.alien)return S.createElement(S.Fragment,null,"Pending messages: ",t.alien.messages,"Pending packets: ",t.alien.packets,"Heeds: ",this.renderDucts(t.alien.heeds));if(t.known){const n=t.known,r=S.createElement(S.Fragment,null,S.createElement("h4",{style:{marginTop:"1em"},__self:this,__source:{fileName:ps,lineNumber:221}},"status"),S.createElement("table",{__self:this,__source:{fileName:ps,lineNumber:222}},S.createElement("tbody",{__self:this,__source:{fileName:ps,lineNumber:222}},S.createElement("tr",{__self:this,__source:{fileName:ps,lineNumber:223}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:ps,lineNumber:224}},"Life"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:225}},n.life)),S.createElement("tr",{__self:this,__source:{fileName:ps,lineNumber:227}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:ps,lineNumber:228}},"Route"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:229}},n.route?`${n.route.direct?"":"in"}direct, on lane ${n.route.lane}`:"none")),S.createElement("tr",{__self:this,__source:{fileName:ps,lineNumber:236}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:ps,lineNumber:237}},"QoS"),S.createElement("td",{__self:this,__source:{fileName:ps,lineNumber:238}},n.qos.kind,", last contact ",Ii(n.qos["last-contact"])))))),i=n.flows.forward.map(this.renderFlow),o=S.createElement(S.Fragment,null,S.createElement("h4",{style:{marginTop:"1em"},__self:this,__source:{fileName:ps,lineNumber:248}},"forward"),S.createElement(os,{placeholder:"bone, duct",items:i,__self:this,__source:{fileName:ps,lineNumber:249}})),a=n.flows.backward.map(this.renderFlow),s=S.createElement(S.Fragment,null,S.createElement("h4",{style:{marginTop:"1em"},__self:this,__source:{fileName:ps,lineNumber:254}},"backward"),S.createElement(os,{placeholder:"bone, duct",items:a,__self:this,__source:{fileName:ps,lineNumber:255}})),u=n.nax.map(e=>({key:e.bone,jsx:S.createElement("div",{__self:this,__source:{fileName:ps,lineNumber:260}},"bone ",e.bone,", message #",e["message-num"],", duct:",S.createElement("br",{__self:this,__source:{fileName:ps,lineNumber:261}}),ji(e.duct))})),l=S.createElement(S.Fragment,null,S.createElement("h4",{style:{marginTop:"1em"},__self:this,__source:{fileName:ps,lineNumber:267}},"nax"),S.createElement(os,{placeholder:"bone",items:u,__self:this,__source:{fileName:ps,lineNumber:268}})),c=S.createElement(S.Fragment,null,S.createElement("h4",{style:{marginTop:"1em"},__self:this,__source:{fileName:ps,lineNumber:272}},"heeds"),this.renderDucts(n.heeds));return S.createElement(S.Fragment,null,S.createElement("button",{style:{position:"absolute",top:0,right:0},onClick:()=>{this.loadPeerDetails(e)},__self:this,__source:{fileName:ps,lineNumber:277}},"refresh"),r,o,s,l,c)}return console.log("weird peer",t),"???"}return"Loading..."},a=[...n.map(e=>({key:"~"+e,jsx:S.createElement(ls,{id:e,summary:"~"+e+" (known)",details:o(e),onOpen:this.loadPeerDetails,__self:this,__source:{fileName:ps,lineNumber:296}})})),...r.map(e=>({key:"~"+e,jsx:S.createElement(ls,{id:e,summary:"~"+e+" (alien)",details:o(e),onOpen:this.loadPeerDetails,__self:this,__source:{fileName:ps,lineNumber:305}})}))];return S.createElement(os,{placeholder:"ship name",items:a,__self:this,__source:{fileName:ps,lineNumber:316}},S.createElement("button",{onClick:this.loadPeers,__self:this,__source:{fileName:ps,lineNumber:317}},"refresh"))}}const gs="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/views/behn.js";class vs extends T{constructor(e){super(e),this.state={},this.loadTimers=this.loadTimers.bind(this)}componentDidMount(){const{timers:e}=this.props;0===e.length&&this.loadTimers()}componentDidUpdate(e,t){}loadTimers(){api.getTimers()}render(){const{props:e,state:t}=this,n=e.timers.map(e=>{const t=ji(e.duct);return{key:t,jsx:S.createElement("div",{class:"flex",__self:this,__source:{fileName:gs,lineNumber:38}},S.createElement("div",{class:"flex-auto",style:{maxWidth:"50%"},__self:this,__source:{fileName:gs,lineNumber:39}},Ii(e.date)),S.createElement("div",{class:"flex-auto",style:{maxWidth:"50%"},__self:this,__source:{fileName:gs,lineNumber:42}},t))}});return S.createElement("table",{__self:this,__source:{fileName:gs,lineNumber:49}},S.createElement("tbody",{__self:this,__source:{fileName:gs,lineNumber:49}},S.createElement(os,{placeholder:"duct",items:n,__self:this,__source:{fileName:gs,lineNumber:50}},S.createElement("button",{onClick:this.loadTimers,__self:this,__source:{fileName:gs,lineNumber:51}},"refresh"))))}}var ys=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.VerticalReverse="vertical-reverse",e.Horizontal="horizontal",e.HorizontalReverse="horizontal-reverse"}(t.Orientation||(t.Orientation={}))});o(ys);ys.Orientation;var bs=a(function(e,t){function n(e,t){return Object.assign({},t.reduce((t,n)=>Object.assign({},t,{[n]:e[n]}),{}))}function r(e){return void 0===e}Object.defineProperty(t,"__esModule",{value:!0}),t.booleanOptionOr=function(e,t){return"boolean"==typeof e?e:t},t.numberOptionOr=function(e,t){return"number"==typeof e?e:t},t.pick=n,t.debug=function(e,t){console.log(JSON.stringify(e.map(e=>n(e,t)),null,2))},t.isUndefined=r,t.withoutUndefinedKeys=function(e={}){return Object.keys(e).reduce((t,n)=>r(e[n])?t:Object.assign({},t,{[n]:e[n]}),{})},t.arrowSvgPath=function(e,t,n){const r=n.style.dot.size,i=e.template.arrow.size,o=r+e.template.arrow.offset,a=Math.PI/7,s=function(e,t,n){const r=t.x-n.x,i=t.y-n.y,o=e.template.commit.spacing;let a,s;switch(e.orientation){case ys.Orientation.Horizontal:a=i,s=-o;break;case ys.Orientation.HorizontalReverse:a=i,s=o;break;case ys.Orientation.VerticalReverse:a=-o,s=r;break;default:a=o,s=r}return e.isVertical?Math.abs(i)>o&&(s=0):Math.abs(r)>o&&(a=0),e.reverseArrow&&(a*=-1,s*=-1),Math.atan2(a,s)}(e,t,n),u=o*Math.cos(s),l=o*Math.sin(s),c=(o+i)*Math.cos(s-a),f=(o+i)*Math.sin(s-a),d=(o+i/2)*Math.cos(s),h=(o+i/2)*Math.sin(s),p=(o+i)*Math.cos(s+a),m=(o+i)*Math.sin(s+a);return`M${u},${l} L${c},${f} Q${d},${h} ${p},${m} L${p},${m}`}});o(bs);bs.booleanOptionOr,bs.numberOptionOr,bs.pick,bs.debug,bs.isUndefined,bs.withoutUndefinedKeys,bs.arrowSvgPath;var _s=a(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Bezier="bezier",e.Straight="straight"}(n||(n={})),t.MergeStyle=n,t.DEFAULT_FONT="normal 12pt Calibri";class r{constructor(e){e.branch=e.branch||{},e.branch.label=e.branch.label||{},e.arrow=e.arrow||{},e.commit=e.commit||{},e.commit.dot=e.commit.dot||{},e.commit.message=e.commit.message||{},this.colors=e.colors||["#000000"],this.branch={color:e.branch.color,lineWidth:e.branch.lineWidth||2,mergeStyle:e.branch.mergeStyle||n.Bezier,spacing:bs.numberOptionOr(e.branch.spacing,20),label:{display:bs.booleanOptionOr(e.branch.label.display,!0),color:e.branch.label.color||e.commit.color,strokeColor:e.branch.label.strokeColor||e.commit.color,bgColor:e.branch.label.bgColor||"white",font:e.branch.label.font||e.commit.message.font||t.DEFAULT_FONT,borderRadius:bs.numberOptionOr(e.branch.label.borderRadius,10)}},this.arrow={size:e.arrow.size||null,color:e.arrow.color||null,offset:e.arrow.offset||2},this.commit={color:e.commit.color,spacing:bs.numberOptionOr(e.commit.spacing,25),hasTooltipInCompactMode:bs.booleanOptionOr(e.commit.hasTooltipInCompactMode,!0),dot:{color:e.commit.dot.color||e.commit.color,size:e.commit.dot.size||3,strokeWidth:bs.numberOptionOr(e.commit.dot.strokeWidth,0),strokeColor:e.commit.dot.strokeColor,font:e.commit.dot.font||e.commit.message.font||"normal 10pt Calibri"},message:{display:bs.booleanOptionOr(e.commit.message.display,!0),displayAuthor:bs.booleanOptionOr(e.commit.message.displayAuthor,!0),displayHash:bs.booleanOptionOr(e.commit.message.displayHash,!0),color:e.commit.message.color||e.commit.color,font:e.commit.message.font||t.DEFAULT_FONT}},this.tag=e.tag||{}}}t.Template=r;const i=new r({colors:["#6963FF","#47E8D4","#6BDB52","#E84BA5","#FFA657"],branch:{color:"#000000",lineWidth:4,spacing:50,mergeStyle:n.Straight},commit:{spacing:60,dot:{size:16,strokeColor:"#000000",strokeWidth:4},message:{color:"black"}},arrow:{size:16,offset:-1.5}});t.blackArrowTemplate=i;const o=new r({colors:["#979797","#008fb5","#f1c109"],branch:{lineWidth:10,spacing:50},commit:{spacing:80,dot:{size:14},message:{font:"normal 14pt Arial"}}});var a;function s(e){return e?"string"==typeof e?{[a.BlackArrow]:i,[a.Metro]:o}[e]:e:o}t.metroTemplate=o,function(e){e.Metro="metro",e.BlackArrow="blackarrow"}(a||(a={})),t.TemplateName=a,t.templateExtend=function(e,t){const n=s(e);return t.branch||(t.branch={}),t.commit||(t.commit={}),{colors:t.colors||n.colors,arrow:Object.assign({},n.arrow,t.arrow),branch:Object.assign({},n.branch,t.branch,{label:Object.assign({},n.branch.label,t.branch.label)}),commit:Object.assign({},n.commit,t.commit,{dot:Object.assign({},n.commit.dot,t.commit.dot),message:Object.assign({},n.commit.message,t.commit.message)}),tag:Object.assign({},n.tag,t.tag)}},t.getTemplate=s});o(_s);_s.MergeStyle,_s.DEFAULT_FONT,_s.Template,_s.blackArrowTemplate,_s.metroTemplate,_s.TemplateName,_s.templateExtend,_s.getTemplate;var ws=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.Tag=class{constructor(e,t,n,r){this.name=e,this.tagStyle=t,this.commitStyle=r,this.render=n}get style(){return{strokeColor:this.tagStyle.strokeColor||this.commitStyle.color,bgColor:this.tagStyle.bgColor||this.commitStyle.color,color:this.tagStyle.color||"white",font:this.tagStyle.font||this.commitStyle.message.font||_s.DEFAULT_FONT,borderRadius:bs.numberOptionOr(this.tagStyle.borderRadius,10),pointerWidth:bs.numberOptionOr(this.tagStyle.pointerWidth,12)}}}});o(ws);ws.Tag;var ks=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=()=>(Math.random().toString(16).substring(3)+Math.random().toString(16).substring(3)+Math.random().toString(16).substring(3)+Math.random().toString(16).substring(3)).substring(0,40);class r{constructor(e){let t,r;this.refs=[],this.x=0,this.y=0;try{[,t,r]=e.author.match(/(.*) <(.*)>/)}catch(n){[t,r]=[e.author,""]}this.author={name:t,email:r,timestamp:Date.now()},this.committer={name:t,email:r,timestamp:Date.now()},this.subject=e.subject,this.body=e.body||"",this.hash=e.hash||n(),this.hashAbbrev=this.hash.substring(0,7),this.parents=e.parents?e.parents:[],this.parentsAbbrev=this.parents.map(e=>e.substring(0,7)),this.style=Object.assign({},e.style,{message:Object.assign({},e.style.message),dot:Object.assign({},e.style.dot)}),this.dotText=e.dotText,this.onClick=(()=>e.onClick?e.onClick(this):void 0),this.onMessageClick=(()=>e.onMessageClick?e.onMessageClick(this):void 0),this.onMouseOver=(()=>e.onMouseOver?e.onMouseOver(this):void 0),this.onMouseOut=(()=>e.onMouseOut?e.onMouseOut(this):void 0),this.renderDot=e.renderDot,this.renderMessage=e.renderMessage,this.renderTooltip=e.renderTooltip}get message(){let e="";return this.style.message.displayHash&&(e+=`${this.hashAbbrev} `),e+=this.subject,this.style.message.displayAuthor&&(e+=` - ${this.author.name} <${this.author.email}>`),e}get branchToDisplay(){return this.branches?this.branches[0]:""}setRefs(e){return this.refs=e.getNames(this.hash),this}setTags(e,t,n){return this.tags=e.getNames(this.hash).map(e=>new ws.Tag(e,t(e),n(e),this.style)),this}setBranches(e){return this.branches=e,this}setPosition({x:e,y:t}){return this.x=e,this.y=t,this}withDefaultColor(e){const t=Object.assign({},this.style,{dot:Object.assign({},this.style.dot),message:Object.assign({},this.style.message)});t.color||(t.color=e),t.dot.color||(t.dot.color=e),t.message.color||(t.message.color=e);const n=this.cloneCommit();return n.style=t,n}cloneCommit(){const e=new r({author:`${this.author.name} <${this.author.email}>`,subject:this.subject,style:this.style,body:this.body,hash:this.hash,parents:this.parents,dotText:this.dotText,onClick:this.onClick,onMessageClick:this.onMessageClick,onMouseOver:this.onMouseOver,onMouseOut:this.onMouseOut,renderDot:this.renderDot,renderMessage:this.renderMessage,renderTooltip:this.renderTooltip});return e.refs=this.refs,e.branches=this.branches,e.tags=this.tags,e.x=this.x,e.y=this.y,e}}t.Commit=r});o(ks);ks.Commit;var xs=a(function(e,t){var n=r&&r.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0});class i{constructor(e,t,n){this._branch=e,this.name=e.name,this._graph=t,this._onGraphUpdate=n}branch(e){const t="string"==typeof e?{name:e}:e;return t.from=this,this._graph.createBranch(t).getUserApi()}commit(e){return"string"==typeof e&&(e={subject:e}),e||(e={}),this._commitWithParents(e,[]),this._onGraphUpdate(),this}merge(...e){let t=e[0];(function(e){return"object"==typeof e&&!(e instanceof i)})(t)||(t={branch:e[0],fastForward:!1,commitOptions:{subject:e[1]}});const{branch:n,fastForward:r,commitOptions:o}=t,a="string"==typeof n?n:n.name,s=this._graph.refs.getCommit(a);if(!s)throw new Error(`The branch called "${a}" is unknown`);let u=!1;if(r){const e=this._graph.refs.getCommit(this._branch.name);e&&(u=this._areCommitsConnected(e,s))}return r&&u?this._fastForwardTo(s):this._commitWithParents(Object.assign({},o,{subject:o&&o.subject||`Merge branch ${a}`}),[s]),this._onGraphUpdate(),this}tag(e){return"string"==typeof e?this._graph.getUserApi().tag({name:e,ref:this._branch.name}):this._graph.getUserApi().tag(Object.assign({},e,{ref:this._branch.name})),this}checkout(){const e=this._branch,t=this._graph.refs.getCommit(e.name);return this._graph.currentBranch=e,t&&this._graph.refs.set("HEAD",t),this}_commitWithParents(e,t){const r=this._graph.refs.getCommit(this._branch.name);r?t.unshift(r):this._branch.parentCommitHash&&t.unshift(this._branch.parentCommitHash);const{tag:i}=e,o=n(e,["tag"]),a=new ks.Commit(Object.assign({hash:this._graph.generateCommitHash(),author:this._branch.commitDefaultOptions.author||this._graph.author,subject:this._branch.commitDefaultOptions.subject||this._graph.commitMessage},o,{parents:t,style:this._getCommitStyle(e.style)}));if(r){this._graph.refs.getNames(r).forEach(e=>this._graph.refs.set(e,a.hash))}else this._graph.refs.set(this._branch.name,a.hash);this._graph.commits.push(a),this.checkout(),i&&this.tag(i)}_areCommitsConnected(e,t){const n=this._graph.commits.find(({hash:e})=>t===e);return!!n&&(!(0===n.parents.length)&&(!!n.parents.includes(e)||n.parents.some(t=>this._areCommitsConnected(e,t))))}_fastForwardTo(e){this._graph.refs.set(this._branch.name,e)}_getCommitStyle(e={}){return Object.assign({},bs.withoutUndefinedKeys(this._graph.template.commit),bs.withoutUndefinedKeys(this._branch.commitDefaultOptions.style),e,{message:Object.assign({},bs.withoutUndefinedKeys(this._graph.template.commit.message),bs.withoutUndefinedKeys(this._branch.commitDefaultOptions.style.message),e.message,bs.withoutUndefinedKeys({display:this._graph.shouldDisplayCommitMessage&&void 0})),dot:Object.assign({},bs.withoutUndefinedKeys(this._graph.template.commit.dot),bs.withoutUndefinedKeys(this._branch.commitDefaultOptions.style.dot),e.dot)})}}t.BranchUserApi=i});o(xs);xs.BranchUserApi;var Es=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n="";t.DELETED_BRANCH_NAME=n;class r{constructor(e){this.gitgraph=e.gitgraph,this.name=e.name,this.style=e.style,this.parentCommitHash=e.parentCommitHash,this.commitDefaultOptions=e.commitDefaultOptions||{style:{}},this.onGraphUpdate=e.onGraphUpdate,this.renderLabel=e.renderLabel}getUserApi(){return new xs.BranchUserApi(this,this.gitgraph,this.onGraphUpdate)}isDeleted(){return this.name===n}}t.Branch=r,t.createDeletedBranch=function(e,t,i){return new r({name:n,gitgraph:e,style:t,onGraphUpdate:i})}});o(Es);Es.DELETED_BRANCH_NAME,Es.Branch,Es.createDeletedBranch;var Ss=a(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Compact="compact"}(n||(n={})),t.Mode=n});o(Ss);Ss.Mode;var Ts=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.RegularGraphRows=class{constructor(e){this.rows=new Map,this.maxRowCache=void 0,this.computeRowsFromCommits(e)}getRowOf(e){return this.rows.get(e)||0}getMaxRow(){return void 0===this.maxRowCache&&(this.maxRowCache=function(e){const t=new Set;return e.forEach(e=>t.add(e)),Array.from(t)}(Array.from(this.rows.values())).length-1),this.maxRowCache}computeRowsFromCommits(e){e.forEach((e,t)=>{this.rows.set(e.hash,t)}),this.maxRowCache=void 0}}});o(Ts);Ts.RegularGraphRows;var Cs=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.CompactGraphRows=class extends Ts.RegularGraphRows{computeRowsFromCommits(e){e.forEach((t,n)=>{let r=n;if(0!==n){const i=this.getRowOf(t.parents[0]),o=e[n-1];r=Math.max(i+1,this.getRowOf(o.hash)),t.parents.length>1&&i<this.getRowOf(t.parents[1])&&r++}this.rows.set(t.hash,r)})}}});o(Cs);Cs.CompactGraphRows;var Ms=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.GraphRows=Ts.RegularGraphRows,t.createGraphRows=function(e,t){return e===Ss.Mode.Compact?new Cs.CompactGraphRows(t):new Ts.RegularGraphRows(t)}});o(Ms);Ms.GraphRows,Ms.createGraphRows;var Ns=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.BranchesOrder=class{constructor(e,t,n){this.branches=new Set,this.colors=t,e.forEach(e=>this.branches.add(e.branchToDisplay)),n&&(this.branches=new Set(Array.from(this.branches).sort(n)))}get(e){return Array.from(this.branches).findIndex(t=>t===e)}getColorOf(e){return this.colors[this.get(e)%this.colors.length]}}});o(Ns);Ns.BranchesOrder;var Rs=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.Refs=class{constructor(){this.commitPerName=new Map,this.namesPerCommit=new Map}set(e,t){const n=this.commitPerName.get(e);return n&&this.removeNameFrom(n,e),this.addNameTo(t,e),this.addCommitTo(e,t),this}getCommit(e){return this.commitPerName.get(e)}getNames(e){return this.namesPerCommit.get(e)||[]}getAllNames(){return Array.from(this.commitPerName.keys())}hasCommit(e){return this.namesPerCommit.has(e)}hasName(e){return this.commitPerName.has(e)}removeNameFrom(e,t){const n=this.namesPerCommit.get(e)||[];this.namesPerCommit.set(e,n.filter(e=>e!==t))}addNameTo(e,t){const n=this.namesPerCommit.get(e)||[];this.namesPerCommit.set(e,[...n,t])}addCommitTo(e,t){this.commitPerName.set(e,t)}}});o(Rs);Rs.Refs;var Ps=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.BranchesPathsCalculator=class{constructor(e,t,n,r,i,o){this.branchesPaths=new Map,this.commits=e,this.branches=t,this.commitSpacing=n,this.isGraphVertical=r,this.isGraphReverse=i,this.createDeletedBranch=o}execute(){return this.fromCommits(),this.withMergeCommits(),this.smoothBranchesPaths()}fromCommits(){this.commits.forEach(e=>{let t=this.branches.get(e.branchToDisplay);t||(t=this.getDeletedBranchInPath()||this.createDeletedBranch());const n=[],r=this.branchesPaths.get(t),i=this.commits.find(({hash:t})=>t===e.parents[0]);r?n.push(...r):i&&n.push({x:i.x,y:i.y}),n.push({x:e.x,y:e.y}),this.branchesPaths.set(t,n)})}withMergeCommits(){this.commits.filter(({parents:e})=>e.length>1).forEach(e=>{const t=this.commits.find(({hash:t})=>t===e.parents[1]);if(!t)return;const n=t.branches?t.branches[0]:"";let r=this.branches.get(n);if(!r&&!(r=this.getDeletedBranchInPath()))return;const i=[...this.branchesPaths.get(r)||[]];this.branchesPaths.set(r,[...i,{x:e.x,y:e.y,mergeCommit:!0}])})}getDeletedBranchInPath(){return Array.from(this.branchesPaths.keys()).find(e=>e.isDeleted())}smoothBranchesPaths(){const e=new Map;return this.branchesPaths.forEach((t,n)=>{if(t.length<=1)return void e.set(n,[t]);t=this.isGraphVertical?t.sort((e,t)=>e.y>t.y?-1:1):t.sort((e,t)=>e.x>t.x?1:-1),this.isGraphReverse&&(t=t.reverse());const r=t.reduce((e,n,r)=>{if(n.mergeCommit){e[e.length-1].push(bs.pick(n,["x","y"]));let i=r-1,o=t[i];for(;i>=0&&o.mergeCommit;)o=t[--i];i>=0&&e.push([o])}else e[e.length-1].push(n);return e},[[]]);this.isGraphReverse&&r.forEach(e=>e.reverse()),this.isGraphVertical?r.forEach(t=>{if(t.length<=1)return;const r=t[0],i=t[t.length-1],o=t[1].x,a=Math.round(Math.abs(r.y-i.y)/this.commitSpacing)-1,s=a>0?new Array(a).fill(0).map((e,n)=>({x:o,y:t[0].y-this.commitSpacing*(n+1)})):[],u=e.get(n)||[];e.set(n,[...u,[r,...s,i]])}):r.forEach(t=>{if(t.length<=1)return;const r=t[0],i=t[t.length-1],o=t[1].y,a=Math.round(Math.abs(r.x-i.x)/this.commitSpacing)-1,s=a>0?new Array(a).fill(0).map((e,n)=>({y:o,x:t[0].x+this.commitSpacing*(n+1)})):[],u=e.get(n)||[];e.set(n,[...u,[r,...s,i]])})}),e}},t.toSvgPath=function(e,t,n){return e.map(e=>"M"+e.map(({x:e,y:r},i,o)=>{if(t&&o.length>1&&(1===i||i===o.length-1)){const t=o[i-1];if(n){const n=(t.y+r)/2;return`C ${t.x} ${n} ${e} ${n} ${e} ${r}`}{const n=(t.x+e)/2;return`C ${n} ${t.y} ${n} ${r} ${e} ${r}`}}return`L ${e} ${r}`}).join(" ").slice(1)).join(" ")}});o(Ps);Ps.BranchesPathsCalculator,Ps.toSvgPath;var Os=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GitgraphUserApi=class{constructor(e,t){this._graph=e,this._onGraphUpdate=t}clear(){return this._graph.refs=new Rs.Refs,this._graph.tags=new Rs.Refs,this._graph.commits=[],this._graph.branches=new Map,this._graph.currentBranch=this._graph.createBranch("master"),this._onGraphUpdate(),this}commit(e){return this._graph.currentBranch.getUserApi().commit(e),this}branch(e){return this._graph.createBranch(e).getUserApi()}tag(...e){let t,n,r,i,o;if("string"==typeof e[0]?(t=e[0],n=e[1]):(t=e[0].name,n=e[0].ref,r=e[0].style,i=e[0].render),!n){const e=this._graph.refs.getCommit("HEAD");if(!e)return this;n=e}if(this._graph.refs.hasCommit(n)&&(o=n),this._graph.refs.hasName(n)&&(o=this._graph.refs.getCommit(n)),!o)throw new Error(`The ref "${n}" does not exist`);return this._graph.tags.set(t,o),this._graph.tagStyles[t]=r,this._graph.tagRenders[t]=i,this._onGraphUpdate(),this}import(e){const t=new Error("Only `git2json` format is supported for imported data.");if(!Array.isArray(e))throw t;if(!e.every(e=>"object"==typeof e&&"object"==typeof e.author&&Array.isArray(e.refs)))throw t;const n=e.map(e=>Object.assign({},e,{style:Object.assign({},this._graph.template.commit,{message:Object.assign({},this._graph.template.commit.message,{display:this._graph.shouldDisplayCommitMessage})}),author:`${e.author.name} <${e.author.email}>`})).reverse();this.clear(),this._graph.commits=n.map(e=>new ks.Commit(e)),n.forEach(({refs:e,hash:t})=>{e&&t&&(e.map(e=>e.split("tag: ")).map(([e,t])=>t).filter(e=>"string"==typeof e).forEach(e=>this._graph.tags.set(e,t)),e.filter(e=>!e.startsWith("tag: ")).forEach(e=>this._graph.refs.set(e,t)))});const r=this._getBranches();return this._graph.commits.map(e=>this._withBranches(r,e)).reduce((e,t)=>t.branches?(t.branches.forEach(t=>e.add(t)),e):e,new Set).forEach(e=>this.branch(e)),this._onGraphUpdate(),this}_withBranches(e,t){let n=Array.from((e.get(t.hash)||new Set).values());return 0===n.length&&(n=[Es.DELETED_BRANCH_NAME]),t.setBranches(n)}_getBranches(){const e=new Map,t=[];return this._graph.refs.getAllNames().filter(e=>"HEAD"!==e).forEach(n=>{const r=this._graph.refs.getCommit(n);for(r&&t.push(r);t.length>0;){const r=t.pop(),i=this._graph.commits.find(({hash:e})=>e===r),o=e.get(r)||new Set;o.add(n),e.set(r,o),i&&i.parents&&i.parents.length>0&&t.push(i.parents[0])}}),e}}});o(Os);Os.GitgraphUserApi;var Ds=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GitgraphCore=class{constructor(e={}){this.refs=new Rs.Refs,this.tags=new Rs.Refs,this.tagStyles={},this.tagRenders={},this.commits=[],this.branches=new Map,this.listeners=[],this.nextTimeoutId=null,this.template=_s.getTemplate(e.template),this.currentBranch=this.createBranch("master"),this.orientation=e.orientation,this.reverseArrow=bs.booleanOptionOr(e.reverseArrow,!1),this.initCommitOffsetX=bs.numberOptionOr(e.initCommitOffsetX,0),this.initCommitOffsetY=bs.numberOptionOr(e.initCommitOffsetY,0),this.mode=e.mode,this.author=e.author||"Sergio Flores <saxo-guy@epic.com>",this.commitMessage=e.commitMessage||"He doesn't like George Michael! Boooo!",this.generateCommitHash="function"==typeof e.generateCommitHash?e.generateCommitHash:()=>void 0,this.branchesOrderFunction="function"==typeof e.compareBranchesOrder?e.compareBranchesOrder:void 0,this.branchLabelOnEveryCommit=bs.booleanOptionOr(e.branchLabelOnEveryCommit,!1)}get isHorizontal(){return this.orientation===ys.Orientation.Horizontal||this.orientation===ys.Orientation.HorizontalReverse}get isVertical(){return!this.isHorizontal}get isReverse(){return this.orientation===ys.Orientation.HorizontalReverse||this.orientation===ys.Orientation.VerticalReverse}get shouldDisplayCommitMessage(){return!this.isHorizontal&&this.mode!==Ss.Mode.Compact}getUserApi(){return new Os.GitgraphUserApi(this,()=>this.next())}subscribe(e){this.listeners.push(e);let t=!0;return()=>{if(!t)return;t=!1;const n=this.listeners.indexOf(e);this.listeners.splice(n,1)}}getRenderedData(){const e=this.computeRenderedCommits(),t=this.computeRenderedBranchesPaths(e),n=this.computeCommitMessagesX(t);return this.computeBranchesColor(e,t),{commits:e,branchesPaths:t,commitMessagesX:n}}createBranch(e){let t={gitgraph:this,name:"",parentCommitHash:this.refs.getCommit("HEAD"),style:this.template.branch,onGraphUpdate:()=>this.next()};if("string"==typeof e)t.name=e,t.parentCommitHash=this.refs.getCommit("HEAD");else{const n=e.from?e.from.name:"HEAD",r=this.refs.getCommit(n)||(this.refs.hasCommit(e.from)?e.from:void 0);e.style=e.style||{},t=Object.assign({},t,e,{parentCommitHash:r,style:Object.assign({},t.style,e.style,{label:Object.assign({},t.style.label,e.style.label)})})}const n=new Es.Branch(t);return this.branches.set(n.name,n),n}computeRenderedCommits(){const e=this.getBranches(),t=this.commits.map(t=>this.withBranches(e,t)),n=Ms.createGraphRows(this.mode,this.commits),r=new Ns.BranchesOrder(t,this.template.colors,this.branchesOrderFunction);return t.map(e=>e.setRefs(this.refs)).map(e=>this.withPosition(n,r,e)).map(e=>e.withDefaultColor(this.getBranchDefaultColor(r,e.branchToDisplay))).map(e=>e.setTags(this.tags,e=>Object.assign({},this.tagStyles[e],this.template.tag),e=>this.tagRenders[e]))}computeRenderedBranchesPaths(e){return new Ps.BranchesPathsCalculator(e,this.branches,this.template.commit.spacing,this.isVertical,this.isReverse,()=>Es.createDeletedBranch(this,this.template.branch,()=>this.next())).execute()}computeBranchesColor(e,t){const n=new Ns.BranchesOrder(e,this.template.colors,this.branchesOrderFunction);Array.from(t).forEach(([e])=>{e.computedColor=e.style.color||this.getBranchDefaultColor(n,e.name)})}computeCommitMessagesX(e){return Array.from(e).length*this.template.branch.spacing}withBranches(e,t){let n=Array.from((e.get(t.hash)||new Set).values());return 0===n.length&&(n=[Es.DELETED_BRANCH_NAME]),t.setBranches(n)}getBranches(){const e=new Map,t=[];return this.refs.getAllNames().filter(e=>"HEAD"!==e).forEach(n=>{const r=this.refs.getCommit(n);for(r&&t.push(r);t.length>0;){const r=t.pop(),i=this.commits.find(({hash:e})=>e===r),o=e.get(r)||new Set;o.add(n),e.set(r,o),i&&i.parents&&i.parents.length>0&&t.push(i.parents[0])}}),e}withPosition(e,t,n){const r=e.getRowOf(n.hash),i=e.getMaxRow(),o=t.get(n.branchToDisplay);switch(this.orientation){default:return n.setPosition({x:this.initCommitOffsetX+this.template.branch.spacing*o,y:this.initCommitOffsetY+this.template.commit.spacing*(i-r)});case ys.Orientation.VerticalReverse:return n.setPosition({x:this.initCommitOffsetX+this.template.branch.spacing*o,y:this.initCommitOffsetY+this.template.commit.spacing*r});case ys.Orientation.Horizontal:return n.setPosition({x:this.initCommitOffsetX+this.template.commit.spacing*r,y:this.initCommitOffsetY+this.template.branch.spacing*o});case ys.Orientation.HorizontalReverse:return n.setPosition({x:this.initCommitOffsetX+this.template.commit.spacing*(i-r),y:this.initCommitOffsetY+this.template.branch.spacing*o})}}getBranchDefaultColor(e,t){return e.getColorOf(t)}next(){this.nextTimeoutId&&window.clearTimeout(this.nextTimeoutId),this.nextTimeoutId=window.setTimeout(()=>{this.listeners.forEach(e=>e(this.getRenderedData()))},0)}}});o(Ds);Ds.GitgraphCore;var As=a(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.GitgraphCore=Ds.GitgraphCore,t.Mode=Ss.Mode,t.GitgraphUserApi=Os.GitgraphUserApi,t.BranchUserApi=xs.BranchUserApi,t.Branch=Es.Branch,t.Commit=ks.Commit,t.Tag=ws.Tag,t.Refs=Rs.Refs,t.MergeStyle=_s.MergeStyle,t.TemplateName=_s.TemplateName,t.templateExtend=_s.templateExtend,t.Orientation=ys.Orientation,t.toSvgPath=Ps.toSvgPath,t.arrowSvgPath=bs.arrowSvgPath});o(As);var Is,js=As.GitgraphCore,Us=As.Mode,Ls=(As.GitgraphUserApi,As.BranchUserApi,As.Branch,As.Commit,As.Tag,As.Refs,As.MergeStyle),Fs=As.TemplateName,zs=As.templateExtend,Bs=As.Orientation,Ws=As.toSvgPath,Ys=As.arrowSvgPath,Hs=(Is=function(e,t){return(Is=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}Is(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Vs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textWidth:0,textHeight:0},t.$text=C(),t}return Hs(t,e),t.prototype.componentDidMount=function(){var e=this.$text.current.getBBox();this.setState({textWidth:e.width,textHeight:e.height})},t.prototype.render=function(){var e=this.props,n=e.branch,r=e.commit,i=this.state.textWidth+2*t.paddingX,o=this.state.textHeight+2*t.paddingY;return M("g",null,M("rect",{stroke:n.style.label.strokeColor||r.style.color,fill:n.style.label.bgColor,rx:n.style.label.borderRadius,width:i,height:o}),M("text",{ref:this.$text,fill:n.style.label.color||r.style.color,style:{font:n.style.label.font},alignmentBaseline:"middle",dominantBaseline:"middle",x:t.paddingX,y:o/2},n.name))},t.paddingX=10,t.paddingY=5,t}(T),$s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),qs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textWidth:0},t.$text=C(),t}return $s(t,e),t.prototype.componentDidMount=function(){this.setState({textWidth:this.$text.current.getBBox().width})},t.prototype.render=function(){var e=2*this.props.commit.style.dot.size,n=t.padding,r=10+this.state.textWidth+2*n,i=["M 0,0","L 10,10","V 20","Q 10,25 15,25","H "+(r-5),"Q "+r+",25 "+r+",20","V -20","Q "+r+",-25 "+(r-5)+",-25","H 15","Q 10,-25 10,-20","V -10","z"].join(" ");return M("g",{transform:"translate("+e+", "+e/2+")"},M("path",{d:i,fill:"#EEE"}),M("text",{ref:this.$text,x:10+n,y:0,alignmentBaseline:"central",fill:"#333"},this.props.children))},t.padding=10,t}(T),Gs=function(e){var t=e.commit,n=e.onMouseOver,r=e.onMouseOut;return M(O,null,M("defs",null,M("circle",{id:t.hash,cx:t.style.dot.size,cy:t.style.dot.size,r:t.style.dot.size,fill:t.style.dot.color}),M("clipPath",{id:"clip-"+t.hash},M("use",{xlinkHref:"#"+t.hash}))),M("g",{onClick:t.onClick,onMouseOver:n,onMouseOut:r},M("use",{xlinkHref:"#"+t.hash,clipPath:"url(#clip-"+t.hash+")",stroke:t.style.dot.strokeColor,strokeWidth:t.style.dot.strokeWidth&&2*t.style.dot.strokeWidth}),t.dotText&&M("text",{alignmentBaseline:"central",textAnchor:"middle",x:t.style.dot.size,y:t.style.dot.size,style:{font:t.style.dot.font}},t.dotText)))},Qs=10,Ks=5;function Zs(e){var t=N({textWidth:0,textHeight:0}),n=t[0],r=t[1],i=R(null);P(function(){var e=i.current.getBBox();r({textWidth:e.width,textHeight:e.height})},[]);var o=e.tag,a=o.style.pointerWidth,s=o.style.borderRadius,u=a+n.textWidth+2*Qs,l=n.textHeight+2*Ks,c=["M 0,0","L "+a+","+l/2,"V "+l/2,"Q "+a+","+l/2+" "+(a+s)+","+l/2,"H "+(u-s),"Q "+u+","+l/2+" "+u+","+(l/2-s),"V "+-(l/2-s),"Q "+u+",-"+l/2+" "+(u-s)+",-"+l/2,"H "+(a+s),"Q "+a+",-"+l/2+" "+a+",-"+l/2,"V -"+l/2,"z"].join(" ");return M("g",null,M("path",{d:c,fill:o.style.bgColor,stroke:o.style.strokeColor}),M("text",{ref:i,fill:o.style.color,style:{font:o.style.font},alignmentBaseline:"middle",dominantBaseline:"middle",x:a+Qs,y:0},o.name))}var Xs=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function Js(e){return"graph"in e}var eu=function(e){function t(t){var n=e.call(this,t)||this;return n.$graph=C(),n.$commits=C(),n.$tooltip=null,n.commitsElements={},n.state={commits:[],branchesPaths:new Map,commitMessagesX:0,commitYWithOffsets:{},shouldRecomputeOffsets:!0,currentCommitOver:null},n.gitgraph=Js(t)?t.graph:new js(t.options),n.gitgraph.subscribe(function(e){var t=e.commits,r=e.branchesPaths,i=e.commitMessagesX;n.setState({commits:t,branchesPaths:r,commitMessagesX:i,shouldRecomputeOffsets:!0})}),n}return Xs(t,e),t.prototype.render=function(){return M("svg",{ref:this.$graph},M("g",{transform:"translate("+Vs.paddingX+", "+qs.padding+")"},this.renderBranchesPaths(),this.renderCommits(),this.$tooltip))},t.prototype.componentDidMount=function(){Js(this.props)||this.props.children(this.gitgraph.getUserApi())},t.prototype.componentDidUpdate=function(){if(this.$graph.current){var e=this.$graph.current.getBBox(),t=e.height,n=e.width;this.$graph.current.setAttribute("width",(n+qs.padding+Vs.paddingX).toString()),this.$graph.current.setAttribute("height",(t+qs.padding+Vs.paddingY).toString())}if(this.state.shouldRecomputeOffsets&&this.$commits.current){this.positionCommitsElements();var r=Array.from(this.$commits.current.children);this.setState({commitYWithOffsets:this.computeOffsets(r),shouldRecomputeOffsets:!1})}},t.prototype.renderBranchesPaths=function(){var e=this,t=this.gitgraph.template.commit.dot.size,n=this.gitgraph.template.branch.mergeStyle===Ls.Bezier;return Array.from(this.state.branchesPaths).map(function(r){var i=r[0],o=r[1];return M("path",{key:i.name,d:Ws(o.map(function(t){return t.map(function(t){return e.getWithCommitOffset(t)})}),n,e.gitgraph.isVertical),fill:"transparent",stroke:i.computedColor,strokeWidth:i.style.lineWidth,transform:"translate("+t+", "+t+")"})})},t.prototype.renderCommits=function(){var e=this;return M("g",{ref:this.$commits},this.state.commits.map(function(t){return e.renderCommit(t)}))},t.prototype.renderCommit=function(e){var t=this.getWithCommitOffset(e),n=t.x,r=t.y;return this.state.currentCommitOver===e&&(this.gitgraph.isHorizontal||this.gitgraph.mode===Us.Compact&&e.style.hasTooltipInCompactMode)&&(this.$tooltip=M("g",{key:e.hashAbbrev,transform:"translate("+n+", "+r+")"},this.renderTooltip(e))),M("g",{key:e.hashAbbrev,transform:"translate("+n+", "+r+")"},this.renderDot(e),this.gitgraph.template.arrow.size&&this.renderArrows(e),M("g",{transform:"translate("+-n+", 0)"},e.style.message.display&&this.renderMessage(e),this.renderBranchLabels(e),this.renderTags(e)))},t.prototype.renderTooltip=function(e){return e.renderTooltip?e.renderTooltip(e):M(qs,{commit:e},e.hashAbbrev," - ",e.subject)},t.prototype.renderDot=function(e){var t=this;return e.renderDot?e.renderDot(e):M(Gs,{commit:e,onMouseOver:function(){t.setState({currentCommitOver:e}),e.onMouseOver()},onMouseOut:function(){t.setState({currentCommitOver:null}),t.$tooltip=null,e.onMouseOut()}})},t.prototype.renderArrows=function(e){var t=this,n=e.style.dot.size;return e.parents.map(function(r){var i=t.state.commits.find(function(e){return e.hash===r});if(!i)return null;var o=t.gitgraph.reverseArrow?{x:n+(i.x-e.x),y:n+(i.y-e.y)}:{x:n,y:n};return M("g",{transform:"translate("+o.x+", "+o.y+")"},M("path",{d:Ys(t.gitgraph,i,e),fill:t.gitgraph.template.arrow.color}))})},t.prototype.renderMessage=function(e){var t=this.createMessageRef(e);if(e.renderMessage)return M("g",{ref:t},e.renderMessage(e));var n=null;e.body&&(n=M("foreignObject",{width:"600",x:"10"},M("p",null,e.body)));var r=e.style.dot.size;return M("g",{ref:t,transform:"translate(0, "+r+")"},M("text",{alignmentBaseline:"central",fill:e.style.message.color,style:{font:e.style.message.font},onClick:e.onMessageClick},e.message),n)},t.prototype.renderBranchLabels=function(e){var t=this;return Array.from(this.gitgraph.branches.values()).map(function(n){if(!n.style.label.display)return null;if(!t.gitgraph.branchLabelOnEveryCommit){var r=t.gitgraph.refs.getCommit(n.name);if(e.hash!==r)return null}if(e.branchToDisplay!==n.name)return null;var i=t.createBranchLabelRef(e),o=n.renderLabel?n.renderLabel(n):M(Vs,{branch:n,commit:e});if(t.gitgraph.isVertical)return M("g",{key:n.name,ref:i},o);var a=2*e.style.dot.size+10;return M("g",{key:n.name,ref:i,transform:"translate("+e.x+", "+a+")"},o)})},t.prototype.renderTags=function(e){var t=this;return e.tags?this.gitgraph.isHorizontal?null:e.tags.map(function(n){var r=t.createTagRef(e);return M("g",{key:e.hashAbbrev+"-"+n.name,ref:r,transform:"translate(0, "+e.style.dot.size+")"},n.render?n.render(n.name,n.style):M(Zs,{tag:n}))}):null},t.prototype.createBranchLabelRef=function(e){var t=C();return this.commitsElements[e.hashAbbrev]||this.initCommitElements(e),this.commitsElements[e.hashAbbrev].branchLabel=t,t},t.prototype.createMessageRef=function(e){var t=C();return this.commitsElements[e.hashAbbrev]||this.initCommitElements(e),this.commitsElements[e.hashAbbrev].message=t,t},t.prototype.createTagRef=function(e){var t=C();return this.commitsElements[e.hashAbbrev]||this.initCommitElements(e),this.commitsElements[e.hashAbbrev].tags.push(t),t},t.prototype.initCommitElements=function(e){this.commitsElements[e.hashAbbrev]={branchLabel:null,tags:[],message:null}},t.prototype.positionCommitsElements=function(){var e=this;if(!this.gitgraph.isHorizontal){Object.keys(this.commitsElements).forEach(function(t){var n=e.commitsElements[t],r=n.branchLabel,i=n.tags,o=n.message,a=e.state.commitMessagesX;if(r&&r.current){tu(r.current,a);var s=r.current.getBBox().width+Vs.paddingX;a+=s+10}i.forEach(function(e){if(e&&e.current){tu(e.current,a);var t=e.current.getBBox().width+Qs;a+=t+10}}),o&&o.current&&tu(o.current,a)})}},t.prototype.computeOffsets=function(e){var t=0;return(this.gitgraph.orientation===Bs.VerticalReverse?e:e.reverse()).reduce(function(e,n){var r=parseInt(n.getAttribute("transform").split(",")[1].slice(0,-1),10),i=n.getElementsByTagName("foreignObject")[0],o=i&&i.firstElementChild,a=0;if(o){var s=o.getBoundingClientRect().height,u=window.getComputedStyle(o).marginTop||"0px";a=s+parseInt(u.replace("px",""),10)}return i&&i.setAttribute("height",a+"px"),e[r]=r+t,t+=a,e},{})},t.prototype.getWithCommitOffset=function(e){var t=e.x,n=e.y;return{x:t,y:this.state.commitYWithOffsets[n]||n}},t.defaultProps={options:{}},t}(T);function tu(e,t){var n=e.getAttribute("transform")||"translate(0, 0)";e.setAttribute("transform",n.replace(/translate\(([\d\.]+),/,"translate("+t+","))}const nu="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/views/clay.js";class ru extends T{constructor(e){super(e),this.clickety=this.clickety.bind(this),this.clickCommit=this.clickCommit.bind(this),this.submit=this.submit.bind(this),this.graph=this.graph.bind(this),this.template=zs(Fs.Metro,{branch:{lineWidth:6},commit:{spacing:40,dot:{size:10},message:{displayHash:!1,displayAuthor:!1,font:"normal 16pt monospace"}}})}componentDidMount(){api.getCommits()}clickety(){let{commits:e,gitgraph:t}=this.props;if(!e.commits)return;let n={};e.commits.forEach(e=>{n[e.commitHash]=e});let r=e.commits.map(t=>{console.log(t.commitHash,e.head);let n=[];return t.commitHash in e.head&&(n=["HEAD",e.head[t.commitHash]]),{refs:n,hash:t.commitHash.slice(2),parents:t.parents.map(e=>e.slice(2)),onMessageClick:this.clickCommit,subject:"commit: "+t.commitHash.slice(-5)+", content: "+t.contentHash.slice(-5)+", parents: "+t.parents.map(e=>e.slice(-5)),author:{name:"me",email:"me",timestamp:15e11}}});t.import(r)}clickCommit(e,t){console.log("click",e);let n=e.refs.slice(-1)[0];n&&(""==this.bobDesk.value?this.bobDesk.value=n:this.aliDesk.value=n)}submit(){api.pottery({ali:this.aliDesk.value,bob:this.bobDesk.value,germ:this.germ.value})}graph(e){this.setState({gitgraph:e})}render(){let e="f7 mono ba bg-gray0-d white-d pa3 mb2 db focus-b--black focus-b--white-d b--gray3 b--gray2-d nowrap ";S.createElement(S.Fragment,null,S.createElement("textarea",{ref:e=>{this.bobDesk=e},className:e,placeholder:"target desk",spellCheck:"false",rows:1,__self:this,__source:{fileName:nu,lineNumber:104}}),S.createElement("textarea",{ref:e=>{this.aliDesk=e},className:e,placeholder:"source desk",spellCheck:"false",rows:1,__self:this,__source:{fileName:nu,lineNumber:111}}),S.createElement("select",{ref:e=>{this.germ=e},className:e,__self:this,__source:{fileName:nu,lineNumber:118}},S.createElement("option",{value:"mate",__self:this,__source:{fileName:nu,lineNumber:121}},"%mate: conflict if changed same lines"),S.createElement("option",{value:"meet",__self:this,__source:{fileName:nu,lineNumber:122}},"%meet: conflict if changed same files"),S.createElement("option",{value:"meld",__self:this,__source:{fileName:nu,lineNumber:123}},"%meld: annotate conflicts"),S.createElement("option",{value:"fine",__self:this,__source:{fileName:nu,lineNumber:124}},"%fine: fast-forward (requires ancestor)"),S.createElement("option",{value:"this",__self:this,__source:{fileName:nu,lineNumber:125}},"%this: use target desk's data"),S.createElement("option",{value:"that",__self:this,__source:{fileName:nu,lineNumber:126}},"%that: use source desk's data"),S.createElement("option",{value:"init",__self:this,__source:{fileName:nu,lineNumber:127}},"%init: start new desk (danger!)")),S.createElement("button",{className:e,onClick:this.submit,__self:this,__source:{fileName:nu,lineNumber:129}},"Merge!"));return this.clickety(),S.createElement("div",{className:"cf w-100 flex flex-column pa4 ba-m ba-l ba-xl b--gray2 br1 h-100 h-100-minus-40-m h-100-minus-40-l h-100-minus-40-xl f9 white-d",__self:this,__source:{fileName:nu,lineNumber:138}},S.createElement(eu,{options:{template:this.template},__self:this,__source:{fileName:nu,lineNumber:139}},this.graph))}}const iu="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/views/eyre.js";class ou extends T{constructor(e){super(e),this.state={},this.loadBindings=this.loadBindings.bind(this),this.loadConnections=this.loadConnections.bind(this),this.loadAuthenticationState=this.loadAuthenticationState.bind(this),this.loadChannels=this.loadChannels.bind(this)}componentDidMount(){const{props:e}=this;0===e.bindings.length&&this.loadBindings(),0==e.connections.length&&this.loadConnections(),0==e.authentication.length&&this.loadAuthenticationState(),0==e.channels.length&&this.loadChannels()}componentDidUpdate(e,t){}loadBindings(){api.getBindings()}loadConnections(){api.getConnections()}loadAuthenticationState(){api.getAuthenticationState()}loadChannels(){api.getChannels()}render(){const{props:e,state:t}=this,n=e.bindings.map(e=>({key:e.location+" "+e.action,jsx:S.createElement("div",{class:"flex",__self:this,__source:{fileName:iu,lineNumber:54}},S.createElement("div",{class:"flex-auto",style:{maxWidth:"50%"},__self:this,__source:{fileName:iu,lineNumber:55}},e.location),S.createElement("div",{class:"flex-auto",style:{maxWidth:"50%"},__self:this,__source:{fileName:iu,lineNumber:58}},e.action))})),r=e.connections.map(e=>({key:e.duct+" "+e.action,jsx:S.createElement("table",{style:{borderBottom:"1px solid black"},__self:this,__source:{fileName:iu,lineNumber:66}},S.createElement("tbody",{__self:this,__source:{fileName:iu,lineNumber:66}},S.createElement("tr",{__self:this,__source:{fileName:iu,lineNumber:67}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:iu,lineNumber:68}},"duct"),S.createElement("td",{__self:this,__source:{fileName:iu,lineNumber:69}},e.duct)),S.createElement("tr",{__self:this,__source:{fileName:iu,lineNumber:71}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:iu,lineNumber:72}},"binding"),S.createElement("td",{__self:this,__source:{fileName:iu,lineNumber:73}},e.action)),S.createElement("tr",{__self:this,__source:{fileName:iu,lineNumber:75}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:iu,lineNumber:76}},"request"),S.createElement("td",{__self:this,__source:{fileName:iu,lineNumber:77}},"from ",e.request.source,",",e.request.authenticated?" ":" un","authenticated and",e.request.secure?" ":" in","secure")),S.createElement("tr",{__self:this,__source:{fileName:iu,lineNumber:83}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:iu,lineNumber:84}},"response"),S.createElement("td",{__self:this,__source:{fileName:iu,lineNumber:85}},"sent ",e.response.sent," bytes.",S.createElement("br",{__self:this,__source:{fileName:iu,lineNumber:86}}),e.response.header?S.createElement(S.Fragment,null,"status ",e.response.header["status-code"],S.createElement("br",{__self:this,__source:{fileName:iu,lineNumber:88}}),e.response.header.headers.reduce((e,t)=>e+t+", ","")):null))))})),i=e.channels.map(e=>{const t=S.createElement(S.Fragment,null,e.session,S.createElement("table",{style:{borderBottom:"1px solid black"},__self:this,__source:{fileName:iu,lineNumber:100}},S.createElement("tbody",{__self:this,__source:{fileName:iu,lineNumber:100}},S.createElement("tr",{__self:this,__source:{fileName:iu,lineNumber:101}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:iu,lineNumber:102}},"connected?"),S.createElement("td",{__self:this,__source:{fileName:iu,lineNumber:103}},e.connected?"connected":"disconnected, expires "+Ii(e.expiry))),S.createElement("tr",{__self:this,__source:{fileName:iu,lineNumber:108}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:iu,lineNumber:109}},"next-id"),S.createElement("td",{__self:this,__source:{fileName:iu,lineNumber:110}},e["next-id"])),S.createElement("tr",{__self:this,__source:{fileName:iu,lineNumber:112}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:iu,lineNumber:113}},"last-ack"),S.createElement("td",{__self:this,__source:{fileName:iu,lineNumber:114}},Ii(e["last-ack"]))),S.createElement("tr",{__self:this,__source:{fileName:iu,lineNumber:116}},S.createElement("td",{class:"inter",__self:this,__source:{fileName:iu,lineNumber:117}},"unacked"),S.createElement("td",{__self:this,__source:{fileName:iu,lineNumber:118}},e.unacked.reduce((e,t)=>e+t+", ","")))))),n=e.subscriptions.map(e=>({key:`${e.id} ${e.ship} ${e.app} ${e.path}`,jsx:S.createElement("div",{class:"flex",__self:this,__source:{fileName:iu,lineNumber:125}},S.createElement("div",{class:"flex-auto",style:{maxWidth:"15%"},__self:this,__source:{fileName:iu,lineNumber:126}},e.id),S.createElement("div",{class:"flex-auto",style:{maxWidth:"15%"},__self:this,__source:{fileName:iu,lineNumber:129}},"~",e.ship),S.createElement("div",{class:"flex-auto",style:{maxWidth:"20%"},__self:this,__source:{fileName:iu,lineNumber:132}},e.app),S.createElement("div",{class:"flex-auto",style:{maxWidth:"35%"},__self:this,__source:{fileName:iu,lineNumber:135}},e.path),S.createElement("div",{class:"flex-auto",style:{maxWidth:"15%"},__self:this,__source:{fileName:iu,lineNumber:138}},e.unacked))}));return{key:e.session,jsx:S.createElement(ls,{summary:t,details:S.createElement(os,{placeholder:"id, ship, app, path",items:n,__self:this,__source:{fileName:iu,lineNumber:146}}),__self:this,__source:{fileName:iu,lineNumber:145}})}}),o=e.authentication.map(e=>S.createElement("div",{__self:this,__source:{fileName:iu,lineNumber:155}},`${e.cookie} expires ${Ii(e.expiry)}, uses ${e.channels} channel(s)`));return S.createElement(S.Fragment,null,S.createElement("h4",{__self:this,__source:{fileName:iu,lineNumber:161}},"Bindings"),S.createElement(os,{placeholder:"binding",items:n,__self:this,__source:{fileName:iu,lineNumber:162}},S.createElement("button",{onClick:this.loadBindings,__self:this,__source:{fileName:iu,lineNumber:163}},"refresh")),S.createElement("h4",{__self:this,__source:{fileName:iu,lineNumber:166}},"Connections"),S.createElement(os,{placeholder:"duct, binding",items:r,__self:this,__source:{fileName:iu,lineNumber:167}},S.createElement("button",{onClick:this.loadConnections,__self:this,__source:{fileName:iu,lineNumber:168}},"refresh")),S.createElement("h4",{__self:this,__source:{fileName:iu,lineNumber:171}},"Channels"),S.createElement(os,{placeholder:"session id",items:i,__self:this,__source:{fileName:iu,lineNumber:172}},S.createElement("button",{onClick:this.loadChannels,__self:this,__source:{fileName:iu,lineNumber:173}},"refresh")),S.createElement("h4",{__self:this,__source:{fileName:iu,lineNumber:176}},"Cookies"),S.createElement("button",{onClick:this.loadAuthenticationState,__self:this,__source:{fileName:iu,lineNumber:177}},"refresh"),S.createElement("form",{method:"post",action:"/~/logout",__self:this,__source:{fileName:iu,lineNumber:178}},S.createElement("button",{type:"submit",__self:this,__source:{fileName:iu,lineNumber:179}},"logout")),S.createElement("form",{method:"post",action:"/~/logout",__self:this,__source:{fileName:iu,lineNumber:181}},S.createElement("button",{type:"submit",name:"all",__self:this,__source:{fileName:iu,lineNumber:182}},"logout all")),o)}}const au="/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/js/components/root.js";Ui.setAuthTokens({ship:window.ship}),window.urb=new window.channel,Li.start(),Hn.render(S.createElement(class extends T{constructor(e){super(e),this.state=Di.state,Di.setStateHandler(this.setState.bind(this))}componentDidMount(){(new Image).src="/~debug/img/Spinner.png"}render(){const{state:e}=this;return S.createElement(vi,{__self:this,__source:{fileName:au,lineNumber:36}},S.createElement(di,{__self:this,__source:{fileName:au,lineNumber:36}},S.createElement(oi,{exact:!0,path:"/~debug",render:t=>S.createElement(Bi,{status:e.status,selected:"",__self:this,__source:{fileName:au,lineNumber:40}},S.createElement(Yi,{text:"select a component on the left",__self:this,__source:{fileName:au,lineNumber:41}})),__self:this,__source:{fileName:au,lineNumber:37}}),S.createElement(oi,{exact:!0,path:Ai("apps"),render:t=>S.createElement(Bi,{status:e.status,selected:"apps",__self:this,__source:{fileName:au,lineNumber:50}},S.createElement(fs,{apps:e.apps,...t,__self:this,__source:{fileName:au,lineNumber:51}})),__self:this,__source:{fileName:au,lineNumber:47}}),S.createElement(oi,{exact:!0,path:Ai("spider"),render:t=>S.createElement(Bi,{status:e.status,selected:"spider",__self:this,__source:{fileName:au,lineNumber:60}},S.createElement(hs,{threads:e.threads,...t,__self:this,__source:{fileName:au,lineNumber:61}})),__self:this,__source:{fileName:au,lineNumber:57}}),S.createElement(oi,{exact:!0,path:Ai("ames"),render:t=>S.createElement(Bi,{status:e.status,selected:"ames",__self:this,__source:{fileName:au,lineNumber:70}},S.createElement(ms,{peers:e.peers,...t,__self:this,__source:{fileName:au,lineNumber:71}})),__self:this,__source:{fileName:au,lineNumber:67}}),S.createElement(oi,{exact:!0,path:Ai("behn"),render:t=>S.createElement(Bi,{status:e.status,selected:"behn",__self:this,__source:{fileName:au,lineNumber:80}},S.createElement(vs,{timers:e.timers,...t,__self:this,__source:{fileName:au,lineNumber:81}})),__self:this,__source:{fileName:au,lineNumber:77}}),S.createElement(oi,{exact:!0,path:Ai("clay"),render:t=>S.createElement(Bi,{status:e.status,selected:"clay",__self:this,__source:{fileName:au,lineNumber:90}},S.createElement(ru,{commits:e.commits,...t,__self:this,__source:{fileName:au,lineNumber:91}})),__self:this,__source:{fileName:au,lineNumber:87}}),S.createElement(oi,{exact:!0,path:Ai("eyre"),render:t=>S.createElement(Bi,{status:e.status,selected:"eyre",__self:this,__source:{fileName:au,lineNumber:100}},S.createElement(ou,{bindings:e.bindings,connections:e.connections,authentication:e.authentication,channels:e.channels,...t,__self:this,__source:{fileName:au,lineNumber:101}})),__self:this,__source:{fileName:au,lineNumber:97}})))}},{__self:void 0,__source:{fileName:"/Volumes/sensitive/URBIT/GITHUB/urbit-release-next-userspace/pkg/interface/dbug/src/index.js",lineNumber:16}}),document.querySelectorAll("#root")[0])}); |