PageSourceSearch

https://gali-ackee.netlify.app/index.js

js gali-ackee.netlify.app collected 2026-10-03 10:47:37 UTC 430,192 bytes, 633 lines download raw bytes

vendor: 4,286 bytes, lines 1-10
1!function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}function n(e){var t={exports:{}};return e(t,t.exports),t.exports
2/**
3	 * @license React
4	 * react.production.min.js
5	 *
6	 * Copyright (c) Facebook, Inc. and its affiliates.
7	 *
8	 * This source code is licensed under the MIT license found in the
9	 * LICENSE file in the root directory of this source tree.
10	 */}var r=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,y={};function g(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}function b(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}g.prototype.isReactComponent={},g.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")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var E=w.prototype=new b;E.constructor=w,v(E,g.prototype),E.isPureReactComponent=!0;var k=Array.isArray,_=Object.prototype.hasOwnProperty,S={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,n){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)_.call(t,i)&&!x.hasOwnProperty(i)&&(a[i]=t[i]);var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===a[i]&&(a[i]=l[i]);return{$$typeof:r,type:e,key:o,ref:s,props:a,_owner:S.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var C=/\/+/g;function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(e,t,n,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case i:l=!0}}if(l)return o=o(l=e),e=""===a?"."+N(l,0):a,k(o)?(n="",null!=e&&(n=e.replace(C,"$&/")+"/"),R(o,t,n,"",(function(e){return e}))):null!=o&&(O(o)&&(o=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(C,"$&/")+"/")+e)),t.push(o)),1;if(l=0,a=""===a?".":a+":",k(e))for(var u=0;u<e.length;u++){var c=a+N(s=e[u],u);l+=R(s,t,n,c,o)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=R(s=s.value,t,n,c=a+N(s,u++),o);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function D(e,t,n){if(null==e)return e;var r=[],i=0;return R(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function I(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},F={transition:null}
vendor: 4,680 bytes, lines 10-20
10,A={map:D,forEach:function(e,t,n){D(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return D(e,(function(){t++})),t},toArray:function(e){return D(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},M={Children:A,Component:g,Fragment:a,Profiler:s,PureComponent:w,StrictMode:o,Suspense:f,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:P,ReactCurrentBatchConfig:F,ReactCurrentOwner:S},cloneElement:function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=v({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)_.call(t,u)&&!x.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:r,type:e.type,key:a,ref:o,props:i,_owner:s}},createContext:function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},createElement:T,createFactory:function(e){var t=T.bind(null,e);return t.type=e,t},createRef:function(){return{current:null}},forwardRef:function(e){return{$$typeof:c,render:e}},isValidElement:O,lazy:function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:I}},memo:function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},startTransition:function(e){var t=F.transition;F.transition={};try{e()}finally{F.transition=t}},unstable_act:function(){throw Error("act(...) is not supported in production builds of React.")},useCallback:function(e,t){return P.current.useCallback(e,t)},useContext:function(e){return P.current.useContext(e)},useDebugValue:function(){},useDeferredValue:function(e){return P.current.useDeferredValue(e)},useEffect:function(e,t){return P.current.useEffect(e,t)},useId:function(){return P.current.useId()},useImperativeHandle:function(e,t,n){return P.current.useImperativeHandle(e,t,n)},useInsertionEffect:function(e,t){return P.current.useInsertionEffect(e,t)},useLayoutEffect:function(e,t){return P.current.useLayoutEffect(e,t)},useMemo:function(e,t){return P.current.useMemo(e,t)},useReducer:function(e,t,n){return P.current.useReducer(e,t,n)},useRef:function(e){return P.current.useRef(e)},useState:function(e){return P.current.useState(e)},useSyncExternalStore:function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},useTransition:function(){return P.current.useTransition()},version:"18.1.0"};
11/**
12	 * @license React
13	 * react.development.js
14	 *
15	 * Copyright (c) Facebook, Inc. and its affiliates.
16	 *
17	 * This source code is licensed under the MIT license found in the
18	 * LICENSE file in the root directory of this source tree.
19	 */
20n((function(e,t){}));var L=n((function(e){e.exports=M})),q=n((function(e,t){function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<a(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>a(l,n))u<i&&0>a(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<i&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],f=1,d=null,p=3,h=!1,m=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function E(e){if(v=!1,w(e),!m)if(null!==r(u))m=!0,P(k);else{var t=r(c);null!==t&&F(E,t.startTime-e)}}function k(e,n){m=!1,v&&(v=!1,g(T),T=-1),h=!0;var a=p;try{for(w(n),d=r(u);null!==d&&(!(d.expirationTime>n)||e&&!N());){var o=d.callback;if("function"==typeof o){d.callback=null,p=d.priorityLevel;var s=o(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?d.callback=s:d===r(u)&&i(u),w(n)}else i(u);d=r(u)}if(null!==d)var l=!0;else{var f=r(c);null!==f&&F(E,f.startTime-n),l=!1}return l}finally{d=null,p=a,h=!1}
vendor: 4,486 bytes, lines 20-48
20}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,S=!1,x=null,T=-1,O=5,C=-1;function N(){return!(t.unstable_now()-C<O)}function R(){if(null!==x){var e=t.unstable_now();C=e;var n=!0;try{n=x(!0,e)}finally{n?_():(S=!1,x=null)}}else S=!1}if("function"==typeof b)_=function(){b(R)};else if("undefined"!=typeof MessageChannel){var D=new MessageChannel,I=D.port2;D.port1.onmessage=R,_=function(){I.postMessage(null)}}else _=function(){y(R,0)};function P(e){x=e,S||(S=!0,_())}function F(e,n){T=y((function(){e(t.unstable_now())}),n)}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(){m||h||(m=!0,P(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?o+a:o:a=o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>o?(e.sortIndex=a,n(c,e),null===r(u)&&e===r(c)&&(v?(g(T),T=-1):v=!0,F(E,a-o))):(e.sortIndex=s,n(u,e),m||h||(m=!0,P(k))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}));
21/**
22	 * @license React
23	 * scheduler.production.min.js
24	 *
25	 * Copyright (c) Facebook, Inc. and its affiliates.
26	 *
27	 * This source code is licensed under the MIT license found in the
28	 * LICENSE file in the root directory of this source tree.
29	 */
30/**
31	 * @license React
32	 * scheduler.development.js
33	 *
34	 * Copyright (c) Facebook, Inc. and its affiliates.
35	 *
36	 * This source code is licensed under the MIT license found in the
37	 * LICENSE file in the root directory of this source tree.
38	 */
39n((function(e,t){}));var j=n((function(e){e.exports=q}));
40/**
41	 * @license React
42	 * react-dom.production.min.js
43	 *
44	 * Copyright (c) Facebook, Inc. and its affiliates.
45	 *
46	 * This source code is licensed under the MIT license found in the
47	 * LICENSE file in the root directory of this source tree.
48	 */function z(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var V=new Set,$={};function Q(e,t){U(e,t),U(e+"Capture",t)}function U(e,t){for($[e]=t,e=0;e<t.length;e++)V.add(t[e])}var B=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),W=Object.prototype.hasOwnProperty,K=/^[: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]*$/,H={},Y={};function G(e,t,n,r,i,a,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=a,this.removeEmptyString=o}var J={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){J[e]=new G(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEac
vendor: 7,858 bytes, line 48
48h((function(e){var t=e[0];J[t]=new G(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){J[e]=new G(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){J[e]=new G(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){J[e]=new G(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){J[e]=new G(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){J[e]=new G(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){J[e]=new G(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){J[e]=new G(e,5,!1,e.toLowerCase(),null,!1,!1)}));var X=/[\-:]([a-z])/g;function Z(e){return e[1].toUpperCase()}function ee(e,t,n,r){var i=J.hasOwnProperty(t)?J[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!!W.call(Y,e)||!W.call(H,e)&&(K.test(e)?Y[e]=!0:(H[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))))}"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(X,Z);J[t]=new G(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(X,Z);J[t]=new G(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(X,Z);J[t]=new G(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){J[e]=new G(e,1,!1,e.toLowerCase(),null,!1,!1)})),J.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){J[e]=new G(e,1,!1,e.toLowerCase(),null,!0,!0)}));var te=L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ne=Symbol.for("react.element"),re=Symbol.for("react.portal"),ie=Symbol.for("react.fragment"),ae=Symbol.for("react.strict_mode"),oe=Symbol.for("react.profiler"),se=Symbol.for("react.provider"),le=Symbol.for("react.context"),ue=Symbol.for("react.forward_ref"),ce=Symbol.for("react.suspense"),fe=Symbol.for("react.suspense_list"),de=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),he=Symbol.for("react.offscreen"),me=Symbol.iterator;function ve(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=me&&e[me]||e["@@iterator"])?e:null}var ye,ge=Object.assign;function be(e){if(void 0===ye)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ye=t&&t[1]||""}return"\n"+ye+e}var we=!1;function Ee(e,t){if(!e||we)return"";we=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(1!==o||1!==s)do{if(o--,0>--s||i[o]!==a[s]){var l="\n"+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=o&&0<=s);break}}}finally{we=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?be(e):""}function ke(e){switch(e.tag){case 5:return be(e.type);case 16:return be("Lazy");case 13:return be("Suspense");case 19:return be("SuspenseList");case 0:case 2:case 15:return e=Ee(e.type,!1);case 11:return e=Ee(e.type.render,!1);case 1:return e=Ee(e.type,!0);default:return""}}function _e(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ie:return"Fragment";case re:return"Portal";case oe:return"Profiler";case ae:return"StrictMode";case ce:return"Suspense";case fe:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case le:return(e.displayName||"Context")+".Consumer";case se:return(e._context.displayName||"Context")+".Provider";case ue:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case de:return null!==(t=e.displayName||null)?t:_e(e.type)||"Memo";case pe:t=e._payload,e=e._init;try{return _e(e(t))}catch(e){}}return null}function Se(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return _e(t);case 8:return t===ae?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function xe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Te(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Oe(e){e._valueTracker||(e._valueTracker=function(e){var t=Te(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,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)}
vendor: 5,972 bytes, line 48
48,set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ce(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Te(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ne(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 Re(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function De(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=xe(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ie(e,t){null!=(t=t.checked)&&ee(e,"checked",t,!1)}function Pe(e,t){Ie(e,t);var n=xe(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")?Ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ae(e,t.type,xe(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Fe(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ae(e,t,n){"number"===t&&Ne(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Me=Array.isArray;function Le(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=""+xe(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)}}function qe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(z(91));return ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function je(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(z(92));if(Me(n)){if(1<n.length)throw Error(z(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:xe(n)}}function ze(e,t){var n=xe(t.value),r=xe(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)}function Ve(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function $e(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Qe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?$e(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Ue,Be=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Ue=Ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function We(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Ke={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},He=["Webkit","ms","Moz","O"];function Ye(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Ke.hasOwnProperty(e)&&Ke[e]?(""+t).trim():t+"px"}function Ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Ye(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Ke).forEach((function(e){He.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ke[t]=Ke[e]}))}));var Je=ge({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Xe(e,t){if(t){if(Je[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(z(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(z(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(z(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(z(62))}}function Ze(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}}var et=null;function tt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 4,969 bytes, line 48
48odeType?e.parentNode:e}var nt=null,rt=null,it=null;function at(e){if(e=Zi(e)){if("function"!=typeof nt)throw Error(z(280));var t=e.stateNode;t&&(t=ta(t),nt(e.stateNode,e.type,t))}}function ot(e){rt?it?it.push(e):it=[e]:rt=e}function st(){if(rt){var e=rt,t=it;if(it=rt=null,at(e),t)for(e=0;e<t.length;e++)at(t[e])}}function lt(e,t){return e(t)}function ut(){}var ct=!1;function ft(e,t,n){if(ct)return e(t,n);ct=!0;try{return lt(e,t,n)}finally{ct=!1,(null!==rt||null!==it)&&(ut(),st())}}function dt(e,t){var n=e.stateNode;if(null===n)return null;var r=ta(n);if(null===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(z(231,t,typeof n));return n}var pt=!1;if(B)try{var ht={};Object.defineProperty(ht,"passive",{get:function(){pt=!0}}),window.addEventListener("test",ht,ht),window.removeEventListener("test",ht,ht)}catch(EE){pt=!1}function mt(e,t,n,r,i,a,o,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var vt=!1,yt=null,gt=!1,bt=null,wt={onError:function(e){vt=!0,yt=e}};function Et(e,t,n,r,i,a,o,s,l){vt=!1,yt=null,mt.apply(wt,arguments)}function kt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function _t(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function St(e){if(kt(e)!==e)throw Error(z(188))}function xt(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=kt(e)))throw Error(z(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return St(i),e;if(a===r)return St(i),t;a=a.sibling}throw Error(z(188))}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)throw Error(z(189))}}if(n.alternate!==r)throw Error(z(190))}if(3!==n.tag)throw Error(z(188));return n.stateNode.current===n?e:t}(e),null!==e?Tt(e):null}function Tt(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Tt(e);if(null!==t)return t;e=e.sibling}return null}var Ot=j.unstable_scheduleCallback,Ct=j.unstable_cancelCallback,Nt=j.unstable_shouldYield,Rt=j.unstable_requestPaint,Dt=j.unstable_now,It=j.unstable_getCurrentPriorityLevel,Pt=j.unstable_ImmediatePriority,Ft=j.unstable_UserBlockingPriority,At=j.unstable_NormalPriority,Mt=j.unstable_LowPriority,Lt=j.unstable_IdlePriority,qt=null,jt=null;var zt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(Vt(e)/$t|0)|0},Vt=Math.log,$t=Math.LN2;var Qt=64,Ut=4194304;function Bt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Wt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=268435455&n;if(0!==o){var s=o&~i;0!==s?r=Bt(s):0!==(a&=o)&&(r=Bt(a))}else 0!==(o=n&~i)?r=Bt(o):0!==a&&(r=Bt(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&i)&&((i=r&-r)>=(a=t&-t)||16===i&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-zt(t)),r|=e[n],t&=~i;return r}function Kt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Yt(){var e=Qt;return 0==(4194240&(Qt<<=1))&&(Qt=64),e}function Gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Jt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-zt(t)]=n}function Xt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-zt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Zt=0;function en(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}
vendor: 10,709 bytes, line 48
48var tn,nn,rn,an,on,sn=!1,ln=[],un=null,cn=null,fn=null,dn=new Map,pn=new Map,hn=[],mn="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function vn(e,t){switch(e){case"focusin":case"focusout":un=null;break;case"dragenter":case"dragleave":cn=null;break;case"mouseover":case"mouseout":fn=null;break;case"pointerover":case"pointerout":dn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pn.delete(t.pointerId)}}function yn(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&(null!==(t=Zi(t))&&nn(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function gn(e){var t=Xi(e.target);if(null!==t){var n=kt(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=_t(n)))return e.blockedOn=t,void on(e.priority,(function(){rn(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function bn(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Rn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Zi(n))&&nn(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);et=r,n.target.dispatchEvent(r),et=null,t.shift()}return!0}function wn(e,t,n){bn(e)&&n.delete(t)}function En(){sn=!1,null!==un&&bn(un)&&(un=null),null!==cn&&bn(cn)&&(cn=null),null!==fn&&bn(fn)&&(fn=null),dn.forEach(wn),pn.forEach(wn)}function kn(e,t){e.blockedOn===t&&(e.blockedOn=null,sn||(sn=!0,j.unstable_scheduleCallback(j.unstable_NormalPriority,En)))}function _n(e){function t(t){return kn(t,e)}if(0<ln.length){kn(ln[0],e);for(var n=1;n<ln.length;n++){var r=ln[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==un&&kn(un,e),null!==cn&&kn(cn,e),null!==fn&&kn(fn,e),dn.forEach(t),pn.forEach(t),n=0;n<hn.length;n++)(r=hn[n]).blockedOn===e&&(r.blockedOn=null);for(;0<hn.length&&null===(n=hn[0]).blockedOn;)gn(n),null===n.blockedOn&&hn.shift()}var Sn=te.ReactCurrentBatchConfig,xn=!0;function Tn(e,t,n,r){var i=Zt,a=Sn.transition;Sn.transition=null;try{Zt=1,Cn(e,t,n,r)}finally{Zt=i,Sn.transition=a}}function On(e,t,n,r){var i=Zt,a=Sn.transition;Sn.transition=null;try{Zt=4,Cn(e,t,n,r)}finally{Zt=i,Sn.transition=a}}function Cn(e,t,n,r){if(xn){var i=Rn(e,t,n,r);if(null===i)Si(e,t,r,Nn,n),vn(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return un=yn(un,e,t,n,r,i),!0;case"dragenter":return cn=yn(cn,e,t,n,r,i),!0;case"mouseover":return fn=yn(fn,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return dn.set(a,yn(dn.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,pn.set(a,yn(pn.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(vn(e,r),4&t&&-1<mn.indexOf(e)){for(;null!==i;){var a=Zi(i);if(null!==a&&tn(a),null===(a=Rn(e,t,n,r))&&Si(e,t,r,Nn,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else Si(e,t,r,null,n)}}var Nn=null;function Rn(e,t,n,r){if(Nn=null,null!==(e=Xi(e=tt(r))))if(null===(t=kt(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=_t(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Nn=e,null}function Dn(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(It()){case Pt:return 1;case Ft:return 4;case At:case Mt:return 16;case Lt:return 536870912;default:return 16}default:return 16}}var In=null,Pn=null,Fn=null;function An(){if(Fn)return Fn;var e,t,n=Pn,r=n.length,i="value"in In?In.value:In.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return Fn=i.slice(e,1<t?1-t:void 0)}function Mn(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}function Ln(){return!0}function qn(){return!1}function jn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Ln:qn,this.isPropagationStopped=qn,this}return ge(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Ln)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Ln)},persist:function(){},isPersistent:Ln}),t}var zn,Vn,$n,Qn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Un=jn(Qn),Bn=ge({},Qn,{view:0,detail:0}),Wn=jn(Bn),Kn=ge({},Bn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ar,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==$n&&($n&&"mousemove"===e.type?(zn=e.screenX-$n.screenX,Vn=e.screenY-$n.screenY):Vn=zn=0,$n=e),zn)},movementY:function(e){return"movementY"in e?e.movementY:Vn}}),Hn=jn(Kn),Yn=jn(ge({},Kn,{dataTransfer:0})),Gn=jn(ge({},Bn,{relatedTarget:0})),Jn=jn(ge({},Qn,{animationName:0,elapsedTime:0,pseudoElement:0})),Xn=ge({},Qn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zn=jn(Xn),er=jn(ge({},Qn,{data:0})),tr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nr={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"},rr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ir(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=rr[e])&&!!t[e]}function ar(){return ir}var or=ge({},Bn,{key:function(e){if(e.key){var t=tr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Mn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ar,charCode:function(e){return"keypress"===e.type?Mn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Mn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),sr=jn(or),lr=jn(ge({},Kn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ur=jn(ge({},Bn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ar})),cr=jn(ge({},Qn,{propertyName:0,elapsedTime:0,pseudoElement:0})),fr=ge({},Kn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),dr=jn(fr),pr=[9,13,27,32],hr=B&&"CompositionEvent"in window,mr=null;B&&"documentMode"in document&&(mr=document.documentMode);var vr=B&&"TextEvent"in window&&!mr,yr=B&&(!hr||mr&&8<mr&&11>=mr),gr=String.fromCharCode(32),br=!1;function wr(e,t){switch(e){case"keyup":return-1!==pr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Er(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var kr=!1;var _r={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 Sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!_r[e.type]:"textarea"===t}function xr(e,t,n,r){ot(r),0<(t=Ti(t,"onChange")).length&&(n=new Un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Tr=null,Or=null;function Cr(e){gi(e,0)}function Nr(e){if(Ce(ea(e)))return e}function Rr(e,t){if("change"===e)return t}var Dr=!1;if(B){var Ir;if(B){var Pr="oninput"in document;if(!Pr){var Fr=document.createElement("div");Fr.setAttribute("oninput","return;"),Pr="function"==typeof Fr.oninput}Ir=Pr}else Ir=!1;Dr=Ir&&(!document.documentMode||9<document.documentMode)}function Ar(){Tr&&(Tr.detachEvent("onpropertychange",Mr),Or=Tr=null)}function Mr(e){if("value"===e.propertyName&&Nr(Or)){var t=[];xr(t,Or,e,tt(e)),ft(Cr,t)}}function Lr(e,t,n){"focusin"===e?(Ar(),Or=n,(Tr=t).attachEvent("onpropertychange",Mr)):"focusout"===e&&Ar()}function qr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Nr(Or)}function jr(e,t){if("click"===e)return Nr(t)}function zr(e,t){if("input"===e||"change"===e)return Nr(t)}var Vr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function $r(e,t){if(Vr(e,t))return!0;
vendor: 4,831 bytes, line 48
48if("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++){var i=n[r];if(!W.call(t,i)||!Vr(e[i],t[i]))return!1}return!0}function Qr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ur(e,t){var n,r=Qr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Qr(r)}}function Br(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Br(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Wr(){for(var e=window,t=Ne();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Ne((e=t.contentWindow).document)}return t}function Kr(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 Hr(e){var t=Wr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Br(n.ownerDocument.documentElement,n)){if(null!==r&&Kr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=void 0===r.end?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Ur(n,a);var o=Ur(n,r);i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Yr=B&&"documentMode"in document&&11>=document.documentMode,Gr=null,Jr=null,Xr=null,Zr=!1;function ei(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Zr||null==Gr||Gr!==Ne(r)||("selectionStart"in(r=Gr)&&Kr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Xr&&$r(Xr,r)||(Xr=r,0<(r=Ti(Jr,"onSelect")).length&&(t=new Un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Gr)))}function ti(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ni={animationend:ti("Animation","AnimationEnd"),animationiteration:ti("Animation","AnimationIteration"),animationstart:ti("Animation","AnimationStart"),transitionend:ti("Transition","TransitionEnd")},ri={},ii={};function ai(e){if(ri[e])return ri[e];if(!ni[e])return e;var t,n=ni[e];for(t in n)if(n.hasOwnProperty(t)&&t in ii)return ri[e]=n[t];return e}B&&(ii=document.createElement("div").style,"AnimationEvent"in window||(delete ni.animationend.animation,delete ni.animationiteration.animation,delete ni.animationstart.animation),"TransitionEvent"in window||delete ni.transitionend.transition);var oi=ai("animationend"),si=ai("animationiteration"),li=ai("animationstart"),ui=ai("transitionend"),ci=new Map,fi="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function di(e,t){ci.set(e,t),Q(t,[e])}for(var pi=0;pi<fi.length;pi++){var hi=fi[pi];di(hi.toLowerCase(),"on"+(hi[0].toUpperCase()+hi.slice(1)))}di(oi,"onAnimationEnd"),di(si,"onAnimationIteration"),di(li,"onAnimationStart"),di("dblclick","onDoubleClick"),di("focusin","onFocus"),di("focusout","onBlur"),di(ui,"onTransitionEnd"),U("onMouseEnter",["mouseout","mouseover"]),U("onMouseLeave",["mouseout","mouseover"]),U("onPointerEnter",["pointerout","pointerover"]),U("onPointerLeave",["pointerout","pointerover"]),Q("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Q("onSelect","focusout contextmenu dragend focu
48sin keydown keyup mousedown mouseup selectionchange".split(" ")),Q("onBeforeInput",["compositionend","keypress","textInput","paste"]),Q("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Q("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Q("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),vi=new Set("cancel close invalid load scroll toggle".split(" ").concat(mi));function yi(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,o,s,l){if(Et.apply(this,arguments),vt){if(!vt)throw Error(z(198));var u=yt;vt=!1,yt=null,gt||(gt=!0,bt=u)}}(r,t,void 0,e),e.currentTarget=null}function gi(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;yi(i,s,u),a=l}else for(o=0;o<r.length;o++){if(l=(s=r[o]).instance,u=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;yi(i,s,u),a=l}}}if(gt)throw e=bt,gt=!1,bt=null,e}function bi(e,t){var n=t[Yi];void 0===n&&(n=t[Yi]=new Set);var r=e+"__bubble";n.has(r)||(_i(t,e,2,!1),n.add(r))}function wi(e,t,n){var r=0;t&&(r|=4),_i(n,e,r,t)}var Ei="_reactListening"+Math.random().toString(36).slice(2);function ki(e){if(!e[Ei]){e[Ei]=!0,V.forEach((function(t){"selectionchange"!==t&&(vi.has(t)||wi(t,!1,e),wi(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ei]||(t[Ei]=!0,wi("selectionchange",!1,t))}}function _i(e,t,n,r){switch(Dn(t)){case 1:var i=Tn;break;case 4:i=On;break;default:i=Cn}n=i.bind(null,t,n,e),i=void 0,!pt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Si(e,t,n,r,i){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;o=o.return}for(;null!==s;){if(null===(o=Xi(s)))return;if(5===(l=o.tag)||6===l){r=a=o;continue e}s=s.parentNode}}r=r.return}ft((function(){var r=a,i=tt(n),o=[];e:{var s=ci.get(e);if(void 0!==s){var l=Un,u=e;switch(e){case"keypress":if(0===Mn(n))break e;case"keydown":case"keyup":l=sr;break;case"focusin":u="focus",l=Gn;break;case"focusout":u="blur",l=Gn;break;case"beforeblur":case"afterblur":l=Gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=Hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=Yn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=ur;break;case oi:case si:case li:l=Jn;break;case ui:l=cr;break;case"scroll":l=Wn;break;case"wheel":l=dr;break;case"copy":case"cut":case"paste":l=Zn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=lr}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&(null!=(m=dt(h,d))&&c.push(xi(h,m,p)))),f)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,i),o.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===et||!(u=n.relatedTarget||n.fromElement)||!Xi(u)&&!u[Hi])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?Xi(u):null)&&(u!==(f=kt(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=Hn,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=lr,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?s:ea(l),p=null==u?s:ea(u),(s=new c(m,h+"leave",l,n,i)).target=f,s.relatedTarget=p,m=null,Xi(i)===r&&((c=new c(d,h+"enter",u,n,i)).target=p,c.relatedTarget=f,m=c),f=m,l&&u)e:{for(d=u,h=0,p=c=l;p;p=Oi(p))h++;for(p=0,m=d;m;m=Oi(m))p++;for(;0<h-p;)c=Oi(c),h--;for(;0<p-h;)d=Oi(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Oi(c),d=Oi(d)}c=null}else c=null;null!==l&&Ci(o,s,l,c,!1),null!==u&&null!==f&&Ci(o,f,u,c,!0)}if("select"===(l=(s=r?ea(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var v=Rr;else if(Sr(s))if(Dr)v=zr;else{v=qr;var y=Lr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(v=jr);switch(v&&(v=v(e,r))?xr(o,v,n,i):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&Ae(s,"number",s.value)),y=r?ea(r):window,e){case"focusin":(Sr(y)||"true"===y.contentEditable)&&(Gr=y,Jr=r,Xr=null);break;case"focusout":Xr=Jr=Gr=null;break;case"mousedown":Zr=!0;break;case"contextmenu":case"mouseup":case"dragend":Zr=!1,ei(o,n,i);break;case"selectionchange":if(Yr)break;case"keydown":case"keyup":ei(o,n,i)}var g;if(hr)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else kr?wr(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(yr&&"ko"!==n.locale&&(kr||"onCompositionStart"!==b?"onCompositionEnd"===b&&kr&&(g=An()):(Pn="value"in(In=i)?In.value:
vendor: 4,084 bytes, line 48
48In.textContent,kr=!0)),0<(y=Ti(r,b)).length&&(b=new er(b,e,null,n,i),o.push({event:b,listeners:y}),g?b.data=g:null!==(g=Er(n))&&(b.data=g))),(g=vr?function(e,t){switch(e){case"compositionend":return Er(t);case"keypress":return 32!==t.which?null:(br=!0,gr);case"textInput":return(e=t.data)===gr&&br?null:e;default:return null}}(e,n):function(e,t){if(kr)return"compositionend"===e||!hr&&wr(e,t)?(e=An(),Fn=Pn=In=null,kr=!1,e):null;switch(e){case"paste":default: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 yr&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Ti(r,"onBeforeInput")).length&&(i=new er("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=g))}gi(o,t)}))}function xi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ti(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=dt(e,n))&&r.unshift(xi(e,a,i)),null!=(a=dt(e,t))&&r.push(xi(e,a,i))),e=e.return}return r}function Oi(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ci(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,i?null!=(l=dt(n,a))&&o.unshift(xi(n,l,s)):i||null!=(l=dt(n,a))&&o.push(xi(n,l,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Ni=/\r\n?/g,Ri=/\u0000|\uFFFD/g;function Di(e){return("string"==typeof e?e:""+e).replace(Ni,"\n").replace(Ri,"")}function Ii(e,t,n){if(t=Di(t),Di(e)!==t&&n)throw Error(z(425))}function Pi(){}var Fi=null,Ai=null;function Mi(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Li="function"==typeof setTimeout?setTimeout:void 0,qi="function"==typeof clearTimeout?clearTimeout:void 0,ji="function"==typeof Promise?Promise:void 0,zi="function"==typeof queueMicrotask?queueMicrotask:void 0!==ji?function(e){return ji.resolve(null).then(e).catch(Vi)}:Li;function Vi(e){setTimeout((function(){throw e}))}function $i(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void _n(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);_n(t)}function Qi(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function Ui(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Bi=Math.random().toString(36).slice(2),Wi="__reactFiber$"+Bi,Ki="__reactProps$"+Bi,Hi="__reactContainer$"+Bi,Yi="__reactEvents$"+Bi,Gi="__reactListeners$"+Bi,Ji="__reactHandles$"+Bi;function Xi(e){var t=e[Wi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Hi]||n[Wi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Ui(e);null!==e;){if(n=e[Wi])return n;e=Ui(e)}return t}n=(e=n).parentNode}return null}function Zi(e){return!(e=e[Wi]||e[Hi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ea(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(z(33))}function ta(e){return e[Ki]||null}var na=[],ra=-1;function ia(e){return{current:e}}function aa(e){0>ra||(e.current=na[ra],na[ra]=null,ra--)}function oa(e,t){ra++,na[ra]=e.current,e.current=t}var sa={},la=ia(sa),ua=ia(!1),ca=sa;function fa(e,t){var n=e.type.contextTypes;if(!n)return sa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function da(e){return null!=(e=e.childContextTypes)}function pa(){aa(ua),aa(la)}
vendor: 8,789 bytes, line 48
48function ha(e,t,n){if(la.current!==sa)throw Error(z(168));oa(la,t),oa(ua,n)}function ma(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(z(108,Se(e)||"Unknown",i));return ge({},n,r)}function va(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sa,ca=la.current,oa(la,e),oa(ua,ua.current),!0}function ya(e,t,n){var r=e.stateNode;if(!r)throw Error(z(169));n?(e=ma(e,t,ca),r.__reactInternalMemoizedMergedChildContext=e,aa(ua),aa(la),oa(la,e)):aa(ua),oa(ua,n)}var ga=null,ba=!1,wa=!1;function Ea(e){null===ga?ga=[e]:ga.push(e)}function ka(){if(!wa&&null!==ga){wa=!0;var e=0,t=Zt;try{var n=ga;for(Zt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}ga=null,ba=!1}catch(t){throw null!==ga&&(ga=ga.slice(e+1)),Ot(Pt,ka),t}finally{Zt=t,wa=!1}}return null}var _a=te.ReactCurrentBatchConfig;function Sa(e,t){if(e&&e.defaultProps){for(var n in t=ge({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var xa=ia(null),Ta=null,Oa=null,Ca=null;function Na(){Ca=Oa=Ta=null}function Ra(e){var t=xa.current;aa(xa),e._currentValue=t}function Da(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ia(e,t){Ta=e,Ca=Oa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(tl=!0),e.firstContext=null)}function Pa(e){var t=e._currentValue;if(Ca!==e)if(e={context:e,memoizedValue:t,next:null},null===Oa){if(null===Ta)throw Error(z(308));Oa=e,Ta.dependencies={lanes:0,firstContext:e}}else Oa=Oa.next=e;return t}var Fa=null,Aa=!1;function Ma(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function La(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function qa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ja(e,t){var n=e.updateQueue;null!==n&&(n=n.shared,Au(e)?(null===(e=n.interleaved)?(t.next=t,null===Fa?Fa=[n]:Fa.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(null===(e=n.pending)?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function za(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Xt(e,n)}}function Va(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function $a(e,t,n,r){var i=e.updateQueue;Aa=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===o?a=u:o.next=u,o=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==a){var f=i.baseState;for(o=0,c=u=l=null,s=a;;){var d=s.lane,p=s.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(d=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=m.payload)?h.call(p,f,d):h))break e;f=ge({},f,d);break e;case 2:Aa=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[s]:d.push(s))}else p={eventTime:p,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=f):c=c.next=p,o|=d;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(d=s).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===c&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{o|=i.lane,i=i.next}while(i!==t)}else null===a&&(i.shared.lanes=0);pu|=o,e.lanes=o,e.memoizedState=f}}function Qa(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(z(191,i));i.call(r)}}}var Ua=(new L.Component).refs;function Ba(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:ge({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Wa={isMounted:function(e){return!!(e=e._reactInternals)&&kt(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Du(),i=Iu(e),a=qa(r,i);a.payload=t,null!=n&&(a.callback=n),ja(e,a),null!==(t=Pu(e,i,r))&&za(t,e,i)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Du(),i=Iu(e),a=qa(r,i);a.tag=1,a.payload=t,null!=n&&(a.callback=n),ja(e,a),null!==(t=Pu(e,i,r))&&za(t,e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Du(),r=Iu(e),i=qa(n,r);i.tag=2,null!=t&&(i.callback=t),ja(e,i),null!==(t=Pu(e,r,n))&&za(t,e,r)}};function Ka(e,t,n,r,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!$r(n,r)||!$r(i,a))}function Ha(e,t,n){var r=!1,i=sa,a=t.contextType;return"object"==typeof a&&null!==a?a=Pa(a):(i=da(t)?ca:la.current,a=(r=null!=(r=t.contextTypes))?fa(e,i):sa),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Wa,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ya(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Wa.enqueueReplaceState(t,t.state,null)}function Ga(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Ua,Ma(e);var a=t.contextType;"object"==typeof a&&null!==a?i.context=Pa(a):(a=da(t)?ca:la.current,i.context=fa(e,a)),i.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Ba(e,t,a,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Wa.enqueueReplaceState(i,i.state,null),$a(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}var Ja=[],Xa=0,Za=null,eo=0,to=[],no=0,ro=null,io=1,ao="";function oo(e,t){Ja[Xa++]=eo,Ja[Xa++]=Za,Za=e,eo=t}function so(e,t,n){to[no++]=io,to[no++]=ao,to[no++]=ro,ro=e;var r=io;e=ao;var i=32-zt(r)-1;r&=~(1<<i),n+=1;var a=32-zt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,io=1<<32-zt(t)+i|n<<i|r,ao=a+e}else io=1<<a|n<<i|r,ao=e}function lo(e){null!==e.return&&(oo(e,1),so(e,1,0))}function uo(e){for(;e===Za;)Za=Ja[--Xa],Ja[Xa]=null,eo=Ja[--Xa],Ja[Xa]=null;for(;e===ro;)ro=to[--no],to[no]=null,ao=to[--no],to[no]=null,io=to[--no],to[no]=null}var co=null,fo=null,po=!1,ho=null;function mo(e,t){var n=cc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function vo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,co=e,fo=Qi(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,co=e,fo=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==ro?{id:io,overflow:ao}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=cc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,co=e,fo=null,!0);default:return!1}}function yo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function go(e){if(po){var t=fo;if(t){var n=t;if(!vo(e,t)){if(yo(e))throw Error(z(418));t=Qi(n.nextSibling);var r=co;t&&vo(e,t)?mo(r,n):(e.flags=-4097&e.flags|2,po=!1,co=e)}}else{if(yo(e))throw Error(z(418));e.flags=-4097&e.flags|2,po=!1,co=e}}}function bo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;co=e}function wo(e){if(e!==co)return!1;if(!po)return bo(e),po=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Mi(e.type,e.memoizedProps)),t&&(t=fo)){if
vendor: 10,120 bytes, line 48
48(yo(e)){for(e=fo;e;)e=Qi(e.nextSibling);throw Error(z(418))}for(;t;)mo(e,t),t=Qi(t.nextSibling)}if(bo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(z(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){fo=Qi(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}fo=null}}else fo=co?Qi(e.stateNode.nextSibling):null;return!0}function Eo(){fo=co=null,po=!1}function ko(e){null===ho?ho=[e]:ho.push(e)}function _o(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(z(309));var r=n.stateNode}if(!r)throw Error(z(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;t===Ua&&(t=i.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(z(284));if(!n._owner)throw Error(z(290,e))}return e}function So(e,t){throw e=Object.prototype.toString.call(t),Error(z(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function xo(e){return(0,e._init)(e._payload)}function To(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=dc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function o(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=vc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){var a=n.type;return a===ie?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===pe&&xo(a)===t.type)?((r=i(t,n.props)).ref=_o(e,t,n),r.return=e,r):((r=pc(n.type,n.key,n.props,null,e.mode,r)).ref=_o(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=yc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function c(e,t,n,r,a){return null===t||7!==t.tag?((t=hc(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=vc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ne:return(n=pc(t.type,t.key,t.props,null,e.mode,n)).ref=_o(e,null,t),n.return=e,n;case re:return(t=yc(t,e.mode,n)).return=e,t;case pe:return f(e,(0,t._init)(t._payload),n)}if(Me(t)||ve(t))return(t=hc(t,e.mode,n,null)).return=e,t;So(e,t)}return null}function d(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ne:return n.key===i?l(e,t,n,r):null;case re:return n.key===i?u(e,t,n,r):null;case pe:return d(e,t,(i=n._init)(n._payload),r)}if(Me(n)||ve(n))return null!==i?null:c(e,t,n,r,null);So(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ne:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i);case re:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case pe:return p(e,t,n,(0,r._init)(r._payload),i)}if(Me(r)||ve(r))return c(t,e=e.get(n)||null,r,i,null);So(t,r)}return null}function h(i,o,s,l){for(var u=null,c=null,h=o,m=o=0,v=null;null!==h&&m<s.length;m++){h.index>m?(v=h,h=null):v=h.sibling;var y=d(i,h,s[m],l);if(null===y){null===h&&(h=v);break}e&&h&&null===y.alternate&&t(i,h),o=a(y,o,m),null===c?u=y:c.sibling=y,c=y,h=v}if(m===s.length)return n(i,h),po&&oo(i,m),u;if(null===h){for(;m<s.length;m++)null!==(h=f(i,s[m],l))&&(o=a(h,o,m),null===c?u=h:c.sibling=h,c=h);return po&&oo(i,m),u}for(h=r(i,h);m<s.length;m++)null!==(v=p(h,i,m,s[m],l))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach((function(e){return t(i,e)})),po&&oo(i,m),u}function m(i,o,s,l){var u=ve(s);if("function"!=typeof u)throw Error(z(150));if(null==(s=u.call(s)))throw Error(z(151));for(var c=u=null,h=o,m=o=0,v=null,y=s.next();null!==h&&!y.done;m++,y=s.next()){h.index>m?(v=h,h=null):v=h.sibling;var g=d(i,h,y.value,l);if(null===g){null===h&&(h=v);break}e&&h&&null===g.alternate&&t(i,h),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g,h=v}if(y.done)return n(i,h),po&&oo(i,m),u;if(null===h){for(;!y.done;m++,y=s.next())null!==(y=f(i,y.value,l))&&(o=a(y,o,m),null===c?u=y:c.sibling=y,c=y);return po&&oo(i,m),u}for(h=r(i,h);!y.done;m++,y=s.next())null!==(y=p(h,i,m,y.value,l))&&(e&&null!==y.alternate&&h.delete(null===y.key?m:y.key),o=a(y,o,m),null===c?u=y:c.sibling=y,c=y);return e&&h.forEach((function(e){return t(i,e)})),po&&oo(i,m),u}return function e(r,a,s,l){if("object"==typeof s&&null!==s&&s.type===ie&&null===s.key&&(s=s.props.children),"object"==typeof s&&null!==s){switch(s.$$typeof){case ne:e:{for(var u=s.key,c=a;null!==c;){if(c.key===u){if((u=s.type)===ie){if(7===c.tag){n(r,c.sibling),(a=i(c,s.props.children)).return=r,r=a;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===pe&&xo(u)===c.type){n(r,c.sibling),(a=i(c,s.props)).ref=_o(r,c,s),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}s.type===ie?((a=hc(s.props.children,r.mode,l,s.key)).return=r,r=a):((l=pc(s.type,s.key,s.props,null,r.mode,l)).ref=_o(r,a,s),l.return=r,r=l)}return o(r);case re:e:{for(c=s.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===s.containerInfo&&a.stateNode.implementation===s.implementation){n(r,a.sibling),(a=i(a,s.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=yc(s,r.mode,l)).return=r,r=a}return o(r);case pe:return e(r,a,(c=s._init)(s._payload),l)}if(Me(s))return h(r,a,s,l);if(ve(s))return m(r,a,s,l);So(r,s)}return"string"==typeof s&&""!==s||"number"==typeof s?(s=""+s,null!==a&&6===a.tag?(n(r,a.sibling),(a=i(a,s)).return=r,r=a):(n(r,a),(a=vc(s,r.mode,l)).return=r,r=a),o(r)):n(r,a)}}var Oo=To(!0),Co=To(!1),No={},Ro=ia(No),Do=ia(No),Io=ia(No);function Po(e){if(e===No)throw Error(z(174));return e}function Fo(e,t){switch(oa(Io,t),oa(Do,e),oa(Ro,No),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Qe(null,"");break;default:t=Qe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}aa(Ro),oa(Ro,t)}function Ao(){aa(Ro),aa(Do),aa(Io)}function Mo(e){Po(Io.current);var t=Po(Ro.current),n=Qe(t,e.type);t!==n&&(oa(Do,e),oa(Ro,n))}function Lo(e){Do.current===e&&(aa(Ro),aa(Do))}var qo=ia(0);function jo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;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}var zo=[];function Vo(){for(var e=0;e<zo.length;e++)zo[e]._workInProgressVersionPrimary=null;zo.length=0}var $o=te.ReactCurrentDispatcher,Qo=te.ReactCurrentBatchConfig,Uo=0,Bo=null,Wo=null,Ko=null,Ho=!1,Yo=!1,Go=0,Jo=0;function Xo(){throw Error(z(321))}function Zo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vr(e[n],t[n]))return!1;return!0}function es(e,t,n,r,i,a){if(Uo=a,Bo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$o.current=null===e||null===e.memoizedState?Ls:qs,e=n(r,i),Yo){a=0;do{if(Yo=!1,Go=0,25<=a)throw Error(z(301));a+=1,Ko=Wo=null,t.updateQueue=null,$o.current=js,e=n(r,i)}while(Yo)}if($o.current=Ms,t=null!==Wo&&null!==Wo.next,Uo=0,Ko=Wo=Bo=null,Ho=!1,t)throw Error(z(300));return e}function ts(){var e=0!==Go;return Go=0,e}function ns(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ko?Bo.memoizedState=Ko=e:Ko=Ko.next=e,Ko}function rs(){if(null===Wo){var e=Bo.alternate;e=null!==e?e.memoizedState:null}else e=Wo.next;var t=null===Ko?Bo.memoizedState:Ko.next;if(null!==t)Ko=t,Wo=e;else{if(null===e)throw Error(z(310));e={memoizedState:(Wo=e).memoizedState,baseState:Wo.baseState,baseQueue:Wo.baseQueue,queue:Wo.queue,next:null},null===Ko?Bo.memoizedState=Ko=e:Ko=Ko.next=e}return Ko}function is(e,t){return"function"==typeof t?t(e):t}function as(e){var t=rs(),n=t.queue;if(null===n)throw Error(z(311));n.lastRenderedReducer=e;var r=Wo,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var o=i.next;i.next=a.next,a.next=o}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var s=o=null,l=null,u=a;do{var c=u.lane;if((Uo&c)===c)null!==l&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===l?(s=l=f,o=r):l=l.next=f,Bo.lanes|=c,pu|=c}u=u.next}while(null!==u&&u!==a);null===l?o=r:l.next=s,Vr(r,t.memoizedState)||(tl=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,Bo.lanes|=a,pu|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function os(e){var t=rs(),n=t.queue;if(null===n)throw Error(z(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var o=i=i.next;do{a=e(a,o.action),o=o.next}while(o!==i);Vr(a,t.memoizedState)||(tl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ss(){}function ls(e,t){var n=Bo,r=rs(),i=t(),a=!Vr(r.memoizedState,i);if(a&&(r.memoizedState=i,tl=!0),r=r.queue,bs(fs.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==Ko&&1&Ko.memoizedState.tag){if(n.flags|=2048,hs(9,cs.bind(null,n,r,i,t),void 0,null),null===ou)throw Error(z(349));0!=(30&Uo)||us(n,t,i)}return i}
vendor: 1,580 bytes, line 48
48function us(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Bo.updateQueue)?(t={lastEffect:null,stores:null},Bo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function cs(e,t,n,r){t.value=n,t.getSnapshot=r,ds(t)&&Pu(e,1,-1)}function fs(e,t,n){return n((function(){ds(t)&&Pu(e,1,-1)}))}function ds(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Vr(e,n)}catch(e){return!0}}function ps(e){var t=ns();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:is,lastRenderedState:e},t.queue=e,e=e.dispatch=Ds.bind(null,Bo,e),[t.memoizedState,e]}function hs(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Bo.updateQueue)?(t={lastEffect:null,stores:null},Bo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ms(){return rs().memoizedState}function vs(e,t,n,r){var i=ns();Bo.flags|=e,i.memoizedState=hs(1|t,n,void 0,void 0===r?null:r)}function ys(e,t,n,r){var i=rs();r=void 0===r?null:r;var a=void 0;if(null!==Wo){var o=Wo.memoizedState;if(a=o.destroy,null!==r&&Zo(r,o.deps))return void(i.memoizedState=hs(t,n,a,r))}Bo.flags|=e,i.memoizedState=hs(1|t,n,a,r)}function gs(e,t){return vs(8390656,8,e,t)}function bs(e,t){return ys(2048,8,e,t)}function ws(e,t){return ys(4,2,e,t)}function Es(e,t){return ys(4,4,e,t)}function ks(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}
vendor: 15,020 bytes, line 48
48function _s(e,t,n){return n=null!=n?n.concat([e]):null,ys(4,4,ks.bind(null,t,e),n)}function Ss(){}function xs(e,t){var n=rs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ts(e,t){var n=rs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Os(e,t,n){return 0==(21&Uo)?(e.baseState&&(e.baseState=!1,tl=!0),e.memoizedState=n):(Vr(n,t)||(n=Yt(),Bo.lanes|=n,pu|=n,e.baseState=!0),t)}function Cs(e,t){var n=Zt;Zt=0!==n&&4>n?n:4,e(!0);var r=Qo.transition;Qo.transition={};try{e(!1),t()}finally{Zt=n,Qo.transition=r}}function Ns(){return rs().memoizedState}function Rs(e,t,n){var r=Iu(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Is(e)?Ps(t,n):(Fs(e,t,n),null!==(e=Pu(e,r,n=Du()))&&As(e,t,r))}function Ds(e,t,n){var r=Iu(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Is(e))Ps(t,i);else{Fs(e,t,i);var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Vr(s,o))return}catch(e){}null!==(e=Pu(e,r,n=Du()))&&As(e,t,r)}}function Is(e){var t=e.alternate;return e===Bo||null!==t&&t===Bo}function Ps(e,t){Yo=Ho=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fs(e,t,n){Au(e)?(null===(e=t.interleaved)?(n.next=n,null===Fa?Fa=[t]:Fa.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function As(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Xt(e,n)}}var Ms={readContext:Pa,useCallback:Xo,useContext:Xo,useEffect:Xo,useImperativeHandle:Xo,useInsertionEffect:Xo,useLayoutEffect:Xo,useMemo:Xo,useReducer:Xo,useRef:Xo,useState:Xo,useDebugValue:Xo,useDeferredValue:Xo,useTransition:Xo,useMutableSource:Xo,useSyncExternalStore:Xo,useId:Xo,unstable_isNewReconciler:!1},Ls={readContext:Pa,useCallback:function(e,t){return ns().memoizedState=[e,void 0===t?null:t],e},useContext:Pa,useEffect:gs,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,vs(4194308,4,ks.bind(null,t,e),n)},useLayoutEffect:function(e,t){return vs(4194308,4,e,t)},useInsertionEffect:function(e,t){return vs(4,2,e,t)},useMemo:function(e,t){var n=ns();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ns();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Rs.bind(null,Bo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ns().memoizedState=e},useState:ps,useDebugValue:Ss,useDeferredValue:function(e){return ns().memoizedState=e},useTransition:function(){var e=ps(!1),t=e[0];return e=Cs.bind(null,e[1]),ns().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Bo,i=ns();if(po){if(void 0===n)throw Error(z(407));n=n()}else{if(n=t(),null===ou)throw Error(z(349));0!=(30&Uo)||us(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,gs(fs.bind(null,r,a,e),[e]),r.flags|=2048,hs(9,cs.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ns(),t=ou.identifierPrefix;if(po){var n=ao;t=":"+t+"R"+(n=(io&~(1<<32-zt(io)-1)).toString(32)+n),0<(n=Go++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Jo++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},qs={readContext:Pa,useCallback:xs,useContext:Pa,useEffect:bs,useImperativeHandle:_s,useInsertionEffect:ws,useLayoutEffect:Es,useMemo:Ts,useReducer:as,useRef:ms,useState:function(){return as(is)},useDebugValue:Ss,useDeferredValue:function(e){return Os(rs(),Wo.memoizedState,e)},useTransition:function(){return[as(is)[0],rs().memoizedState]},useMutableSource:ss,useSyncExternalStore:ls,useId:Ns,unstable_isNewReconciler:!1},js={readContext:Pa,useCallback:xs,useContext:Pa,useEffect:bs,useImperativeHandle:_s,useInsertionEffect:ws,useLayoutEffect:Es,useMemo:Ts,useReducer:os,useRef:ms,useState:function(){return os(is)},useDebugValue:Ss,useDeferredValue:function(e){var t=rs();return null===Wo?t.memoizedState=e:Os(t,Wo.memoizedState,e)},useTransition:function(){return[os(is)[0],rs().memoizedState]},useMutableSource:ss,useSyncExternalStore:ls,useId:Ns,unstable_isNewReconciler:!1};function zs(e,t){try{var n="",r=t;do{n+=ke(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function Vs(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var $s,Qs,Us,Bs="function"==typeof WeakMap?WeakMap:Map;function Ws(e,t,n){(n=qa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Eu||(Eu=!0,ku=r),Vs(0,t)},n}function Ks(e,t,n){(n=qa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Vs(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){Vs(0,t),"function"!=typeof r&&(null===_u?_u=new Set([this]):_u.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Hs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Bs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=ic.bind(null,e,t,n),t.then(e,e))}function Ys(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Gs(e,t,n,r,i){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=qa(-1,1)).tag=2,ja(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}function Js(e,t){if(!po)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Zs(e,t,n){var r=t.pendingProps;switch(uo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xs(t),null;case 1:case 17:return da(t.type)&&pa(),Xs(t),null;case 3:return r=t.stateNode,Ao(),aa(ua),aa(la),Vo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(wo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ho&&(ju(ho),ho=null))),Xs(t),null;case 5:Lo(t);var i=Po(Io.current);if(n=t.type,null!==e&&null!=t.stateNode)Qs(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(z(166));return Xs(t),null}if(e=Po(Ro.current),wo(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Wi]=t,r[Ki]=a,e=0!=(1&t.mode),n){case"dialog":bi("cancel",r),bi("close",r);break;case"iframe":case"object":case"embed":bi("load",r);break;case"video":case"audio":for(i=0;i<mi.length;i++)bi(mi[i],r);break;case"source":bi("error",r);break;case"img":case"image":case"link":bi("error",r),bi("load",r);break;case"details":bi("toggle",r);break;case"input":De(r,a),bi("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},bi("invalid",r);break;case"textarea":je(r,a),bi("invalid",r)}for(var o in Xe(n,a),i=null,a)if(a.hasOwnProperty(o)){var s=a[o];"children"===o?"string"==typeof s?r.textContent!==s&&(!0!==a.suppressHydrationWarning&&Ii(r.textContent,s,e),i=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(!0!==a.suppressHydrationWarning&&Ii(r.textContent,s,e),i=["children",""+s]):$.hasOwnProperty(o)&&null!=s&&"onScroll"===o&&bi("scroll",r)}switch(n){case"input":Oe(r),Fe(r,a,!0);break;case"textarea":Oe(r),Ve(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Pi)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{o=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=$e(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=o.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),"select"===n&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Wi]=t,e[Ki]=r,$s(e,t),t.stateNode=e;e:{switch(o=Ze(n,r),n){case"dialog":bi("cancel",e),bi("close",e),i=r;break;case"iframe":case"object":case"embed":bi("load",e),i=r;break;case"video":case"audio":for(i=0;i<mi.length;i++)bi(mi[i],e);i=r;break;case"source":bi("error",e),i=r;break;case"img":case"image":case"link":bi("error",e),bi("load",e),i=r;break;case"details":bi("toggle",e),i=r;break;case"input":De(e,r),i=Re(e,r),bi("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ge({},r,{value:void 0}),bi("invalid",e);break;case"textarea":je(e,r),i=qe(e,r),bi("invalid",e)}for(a in Xe(n,i),s=i)if(s.hasOwnProperty(a)){var l=s[a];"style"===a?Ge(e,l):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&Be(e,l):"children"===a?"string"==typeof l?("textarea"!==n||""!==l)&&We(e,l):"number"==typeof l&&We(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&($.hasOwnProperty(a)?null!=l&&"onScroll"===a&&bi("scroll",e):null!=l&&ee(e,a,l,o))}switch(n){case"input":Oe(e),Fe(e,r,!1);break;case"textarea":Oe(e),Ve(e);break;case"option":null!=r.value&&e.setAttribute("value",""+xe(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?Le(e,!!r.multiple,a,!1):null!=r.defaultValue&&Le(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Pi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Xs(t),null;case 6:if(e&&null!=t.stateNode)Us(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(z(166));if(n=Po(Io.current),Po(Ro.current),wo(t)){if(r=t.stateNode,n=t.memoizedProps,r[Wi]=t,(a=r.nodeValue!==n)&&null!==(e=co))switch(e.tag){case 3:Ii(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Ii(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Wi]=t,t.stateNode=r}return Xs(t),null;case 13:if(aa(qo),r=t.memoizedState,po&&null!==fo&&0!=(1&t.mode)&&0==(128&t.flags)){for(r=fo;r;)r=Qi(r.nextSibling);return Eo(),t.flags|=98560,t}if(null!==r&&null!==r.dehydrated){if(r=wo(t),null===e){if(!r)throw Error(z(318));if(!(r=null!==(r=t.memoizedState)?r.dehydrated:null))throw Error(z(317));r[Wi]=t}else Eo(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;return Xs(t),null}return null!==ho&&(ju(ho),ho=null),0!=(128&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?wo(t):n=null!==e.memoizedState,r!==n&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&qo.current)?0===fu&&(fu=3):Hu())),null!==t.updateQueue&&(t.flags|=4),Xs(t),null);case 4:return Ao(),null===e&&ki(t.stateNode.containerInfo),Xs(t),null;case 10:return Ra(t.type._context),Xs(t),null;case 19:if(aa(qo),null===(a=t.memoizedState))return Xs(t),null;if(r=0!=(128&t.flags),null===(o=a.rendering))if(r)Js(a,!1);else{if(0!==fu||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=jo(e))){for(t.flags|=128,Js(a,!1),null!==(r=o.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(o=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return oa(qo,1&qo.current|2),t.child}e=e.sibling}null!==a.tail&&Dt()>bu&&(t.flags|=128,r=!0,Js(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=jo(o))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Js(a,!0),null===a.tail&&"hidden"===a.tailMode&&!o.alternate&&!po)return Xs(t),null}else 2*Dt()-a.renderingStartTime>bu&&1073741824!==n&&(t.flags|=128,r=!0,Js(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(null!==(n=a.last)?n.sibling=o:t.child=o,a.last=o)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Dt(),t.sibling=null,n=qo.current,oa(qo,r?1&n|2:1&n),t):(Xs(t),null);case 22:case 23:return Uu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&uu)&&(Xs(t),6&t.subtreeFlags&&(t.flags|=8192)):Xs(t),null;case 24:case 25:return null}throw Error(z(156,t.tag))}$s=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Qs=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Po(Ro.current);var a,o=null;switch(n){case"input":i=Re(e,i),r=Re(e,r),o=[];break;case"select":i=ge({},i,{value:void 0}),r=ge({},r,{value:void 0}),o=[];break;case"textarea":i=qe(e,i),r=qe(e,r),o=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Pi)}for(u in Xe(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var s=i[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&($.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(s=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(null!=l||null!=s))if("style"===u)if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(o=o||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(o=o||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&($.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&bi("scroll",e),o||s===l||(
vendor: 5,461 bytes, line 48
48o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},Us=function(e,t,n,r){n!==r&&(t.flags|=4)};var el=te.ReactCurrentOwner,tl=!1;function nl(e,t,n,r){t.child=null===e?Co(t,null,n,r):Oo(t,e.child,n,r)}function rl(e,t,n,r,i){n=n.render;var a=t.ref;return Ia(t,i),r=es(e,t,n,r,a,i),n=ts(),null===e||tl?(po&&n&&lo(t),t.flags|=1,nl(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Sl(e,t,i))}function il(e,t,n,r,i){if(null===e){var a=n.type;return"function"!=typeof a||fc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=pc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,al(e,t,a,r,i))}if(a=e.child,0==(e.lanes&i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:$r)(o,r)&&e.ref===t.ref)return Sl(e,t,i)}return t.flags|=1,(e=dc(a,r)).ref=t.ref,e.return=t,t.child=e}function al(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if($r(a,r)&&e.ref===t.ref){if(tl=!1,t.pendingProps=r=a,0==(e.lanes&i))return t.lanes=e.lanes,Sl(e,t,i);0!=(131072&e.flags)&&(tl=!0)}}return ll(e,t,n,r,i)}function ol(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oa(cu,uu),uu|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oa(cu,uu),uu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,oa(cu,uu),uu|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,oa(cu,uu),uu|=r;return nl(e,t,i,n),t.child}function sl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ll(e,t,n,r,i){var a=da(n)?ca:la.current;return a=fa(t,a),Ia(t,i),n=es(e,t,n,r,a,i),r=ts(),null===e||tl?(po&&r&&lo(t),t.flags|=1,nl(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Sl(e,t,i))}function ul(e,t,n,r,i){if(da(n)){var a=!0;va(t)}else a=!1;if(Ia(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Ha(t,n,r),Ga(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=n.contextType;"object"==typeof u&&null!==u?u=Pa(u):u=fa(t,u=da(n)?ca:la.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==r||l!==u)&&Ya(t,o,r,u),Aa=!1;var d=t.memoizedState;o.state=d,$a(t,r,o,i),l=t.memoizedState,s!==r||d!==l||ua.current||Aa?("function"==typeof c&&(Ba(t,n,c,r),l=t.memoizedState),(s=Aa||Ka(t,n,s,r,d,l,u))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=s):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,La(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Sa(t.type,s),o.props=u,f=t.pendingProps,d=o.context,"object"==typeof(l=n.contextType)&&null!==l?l=Pa(l):l=fa(t,l=da(n)?ca:la.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==f||d!==l)&&Ya(t,o,r,l),Aa=!1,d=t.memoizedState,o.state=d,$a(t,r,o,i);var h=t.memoizedState;s!==f||d!==h||ua.current||Aa?("function"==typeof p&&(Ba(t,n,p,r),h=t.memoizedState),(u=Aa||Ka(t,n,u,r,d,h,l)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=l,r=u):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return cl(e,t,n,r,a,i)}function cl(e,t,n,r,i,a){sl(e,t);var o=0!=(128&t.flags);if(!r&&!o)return i&&ya(t,n,!1),Sl(e,t,a);r=t.stateNode,el.current=t;var s=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Oo(t,e.child,null,a),t.child=Oo(t,null,s,a)):nl(e,t,s,a),t.memoizedState=r.state,i&&ya(t,n,!0),t.child}function fl(e){var t=e.stateNode;t.pendingContext?ha(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ha(0,t.context,!1),Fo(e,t.containerInfo)}function dl(e,t,n,r,i){return Eo(),ko(i),t.flags|=256,nl(e,t,n,r),t.child}var pl={dehydrated:null,treeContext:null,retryLane:0};function hl(e){return{baseLanes:e,cachePool:null,transitions:null}}
vendor: 5,556 bytes, line 48
48function ml(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function vl(e,t,n){var r,i=t.pendingProps,a=qo.current,o=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(o=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),oa(qo,1&a),null===e)return go(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(a=i.children,e=i.fallback,o?(i=t.mode,o=t.child,a={mode:"hidden",children:a},0==(1&i)&&null!==o?(o.childLanes=0,o.pendingProps=a):o=mc(a,i,0,null),e=hc(e,i,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=hl(n),t.memoizedState=pl,e):yl(t,a));if(null!==(a=e.memoizedState)){if(null!==(r=a.dehydrated)){if(s)return 256&t.flags?(t.flags&=-257,wl(e,t,n,Error(z(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=i.fallback,a=t.mode,i=mc({mode:"visible",children:i.children},a,0,null),(o=hc(o,a,n,null)).flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,0!=(1&t.mode)&&Oo(t,e.child,null,n),t.child.memoizedState=hl(n),t.memoizedState=pl,o);if(0==(1&t.mode))t=wl(e,t,n,null);else if("$!"===r.data)t=wl(e,t,n,Error(z(419)));else if(i=0!=(n&e.childLanes),tl||i){if(null!==(i=ou)){switch(n&-n){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(i=0!=(o&(i.suspendedLanes|n))?0:o)&&i!==a.retryLane&&(a.retryLane=i,Pu(e,i,-1))}Hu(),t=wl(e,t,n,Error(z(421)))}else"$?"===r.data?(t.flags|=128,t.child=e.child,t=oc.bind(null,e),r._reactRetry=t,t=null):(n=a.treeContext,fo=Qi(r.nextSibling),co=t,po=!0,ho=null,null!==n&&(to[no++]=io,to[no++]=ao,to[no++]=ro,io=n.id,ao=n.overflow,ro=t),(t=yl(t,t.pendingProps.children)).flags|=4096);return t}return o?(i=bl(e,t,i.children,i.fallback,n),o=t.child,a=e.child.memoizedState,o.memoizedState=null===a?hl(n):ml(a,n),o.childLanes=e.childLanes&~n,t.memoizedState=pl,i):(n=gl(e,t,i.children,n),t.memoizedState=null,n)}return o?(i=bl(e,t,i.children,i.fallback,n),o=t.child,a=e.child.memoizedState,o.memoizedState=null===a?hl(n):ml(a,n),o.childLanes=e.childLanes&~n,t.memoizedState=pl,i):(n=gl(e,t,i.children,n),t.memoizedState=null,n)}function yl(e,t){return(t=mc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function gl(e,t,n,r){var i=e.child;return e=i.sibling,n=dc(i,{mode:"visible",children:n}),0==(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function bl(e,t,n,r,i){var a=t.mode,o=(e=e.child).sibling,s={mode:"hidden",children:n};return 0==(1&a)&&t.child!==e?((n=t.child).childLanes=0,n.pendingProps=s,t.deletions=null):(n=dc(e,s)).subtreeFlags=14680064&e.subtreeFlags,null!==o?r=dc(o,r):(r=hc(r,a,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function wl(e,t,n,r){return null!==r&&ko(r),Oo(t,e.child,null,n),(e=yl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function El(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Da(e.return,t,n)}function kl(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function _l(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(nl(e,t,r.children,n),0!=(2&(r=qo.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&El(e,n,t);else if(19===e.tag)El(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(oa(qo,r),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===jo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),kl(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===jo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}kl(t,!0,n,null,a);break;case"together":kl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Sl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),pu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(z(153));if(null!==t.child){for(n=dc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=dc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function xl(e,t){switch(uo(t),t.tag){case 1:return da(t.type)&&pa(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ao(),aa(ua),aa(la),Vo(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Lo(t),null;case 13:if(aa(qo),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(z(340));Eo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return aa(qo),null;case 4:return Ao(),null;case 10:return Ra(t.type._context),null;case 22:case 23:return Uu(),null;default:return null}}var Tl=!1,Ol=!1,Cl="function"==typeof WeakSet?WeakSet:Set,Nl=null;function Rl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}
vendor: 4,157 bytes, line 48
48catch(n){rc(e,t,n)}else n.current=null}function Dl(e,t,n){try{n()}catch(n){rc(e,t,n)}}var Il=!1;function Pl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&Dl(t,n,a)}i=i.next}while(i!==r)}}function Fl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Al(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function Ml(e){var t=e.alternate;null!==t&&(e.alternate=null,Ml(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Wi],delete t[Ki],delete t[Yi],delete t[Gi],delete t[Ji])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ll(e){return 5===e.tag||3===e.tag||4===e.tag}function ql(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ll(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function jl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Pi));else if(4!==r&&null!==(e=e.child))for(jl(e,t,n),e=e.sibling;null!==e;)jl(e,t,n),e=e.sibling}function zl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(zl(e,t,n),e=e.sibling;null!==e;)zl(e,t,n),e=e.sibling}var Vl=null,$l=!1;function Ql(e,t,n){for(n=n.child;null!==n;)Ul(e,t,n),n=n.sibling}function Ul(e,t,n){if(jt&&"function"==typeof jt.onCommitFiberUnmount)try{jt.onCommitFiberUnmount(qt,n)}catch(e){}switch(n.tag){case 5:Ol||Rl(n,t);case 6:var r=Vl,i=$l;Vl=null,Ql(e,t,n),$l=i,null!==(Vl=r)&&($l?(e=Vl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):Vl.removeChild(n.stateNode));break;case 18:null!==Vl&&($l?(e=Vl,n=n.stateNode,8===e.nodeType?$i(e.parentNode,n):1===e.nodeType&&$i(e,n),_n(e)):$i(Vl,n.stateNode));break;case 4:r=Vl,i=$l,Vl=n.stateNode.containerInfo,$l=!0,Ql(e,t,n),Vl=r,$l=i;break;case 0:case 11:case 14:case 15:if(!Ol&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,void 0!==o&&(0!=(2&a)||0!=(4&a))&&Dl(n,t,o),i=i.next}while(i!==r)}Ql(e,t,n);break;case 1:if(!Ol&&(Rl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){rc(n,t,e)}Ql(e,t,n);break;case 21:Ql(e,t,n);break;case 22:1&n.mode?(Ol=(r=Ol)||null!==n.memoizedState,Ql(e,t,n),Ol=r):Ql(e,t,n);break;default:Ql(e,t,n)}}function Bl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Cl),t.forEach((function(t){var r=sc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Wl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,o=t,s=o;e:for(;null!==s;){switch(s.tag){case 5:Vl=s.stateNode,$l=!1;break e;case 3:case 4:Vl=s.stateNode.containerInfo,$l=!0;break e}s=s.return}if(null===Vl)throw Error(z(160));Ul(a,o,i),Vl=null,$l=!1;var l=i.alternate;null!==l&&(l.return=null),i.return=null}catch(e){rc(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)Kl(t,e),t=t.sibling}function Kl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Wl(t,e),Hl(e),4&r){try{Pl(3,e,e.return),Fl(3,e)}catch(t){rc(e,e.return,t)}try{Pl(5,e,e.return)}catch(t){rc(e,e.return,t)}}break;case 1:Wl(t,e),Hl(e),512&r&&null!==n&&Rl(n,n.return);break;case 5:if(Wl(t,e),Hl(e),512&r&&null!==n&&Rl(n,n.return),32&e.flags){var i=e.stateNode;try{We(i,"")}catch(t){rc(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,o=null!==n?n.memoizedProps:a,s=e.type,l=e.updateQueue;
vendor: 5,380 bytes, line 48
48if(e.updateQueue=null,null!==l)try{"input"===s&&"radio"===a.type&&null!=a.name&&Ie(i,a),Ze(s,o);var u=Ze(s,a);for(o=0;o<l.length;o+=2){var c=l[o],f=l[o+1];"style"===c?Ge(i,f):"dangerouslySetInnerHTML"===c?Be(i,f):"children"===c?We(i,f):ee(i,c,f,u)}switch(s){case"input":Pe(i,a);break;case"textarea":ze(i,a);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?Le(i,!!a.multiple,p,!1):d!==!!a.multiple&&(null!=a.defaultValue?Le(i,!!a.multiple,a.defaultValue,!0):Le(i,!!a.multiple,a.multiple?[]:"",!1))}i[Ki]=a}catch(t){rc(e,e.return,t)}}break;case 6:if(Wl(t,e),Hl(e),4&r){if(null===e.stateNode)throw Error(z(162));u=e.stateNode,c=e.memoizedProps;try{u.nodeValue=c}catch(t){rc(e,e.return,t)}}break;case 3:if(Wl(t,e),Hl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{_n(t.containerInfo)}catch(t){rc(e,e.return,t)}break;case 4:default:Wl(t,e),Hl(e);break;case 13:Wl(t,e),Hl(e),8192&(u=e.child).flags&&null!==u.memoizedState&&(null===u.alternate||null===u.alternate.memoizedState)&&(gu=Dt()),4&r&&Bl(e);break;case 22:if(u=null!==n&&null!==n.memoizedState,1&e.mode?(Ol=(c=Ol)||u,Wl(t,e),Ol=c):Wl(t,e),Hl(e),8192&r){c=null!==e.memoizedState;e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,c?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=d.stateNode,o=null!=(l=d.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,s.style.display=Ye("display",o))}catch(t){rc(e,e.return,t)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){rc(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}if(c&&!u&&0!=(1&e.mode))for(Nl=e,e=e.child;null!==e;){for(u=Nl=e;null!==Nl;){switch(f=(c=Nl).child,c.tag){case 0:case 11:case 14:case 15:Pl(4,c,c.return);break;case 1:if(Rl(c,c.return),"function"==typeof(a=c.stateNode).componentWillUnmount){d=c,p=c.return;try{i=d,a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(e){rc(d,p,e)}}break;case 5:Rl(c,c.return);break;case 22:if(null!==c.memoizedState){Xl(u);continue}}null!==f?(f.return=c,Nl=f):Xl(u)}e=e.sibling}}break;case 19:Wl(t,e),Hl(e),4&r&&Bl(e);case 21:}}function Hl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(Ll(n)){var r=n;break e}n=n.return}throw Error(z(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(We(i,""),r.flags&=-33),zl(e,ql(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;jl(e,ql(e),a);break;default:throw Error(z(161))}}catch(t){rc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Yl(e,t,n){Nl=e,Gl(e)}function Gl(e,t,n){for(var r=0!=(1&e.mode);null!==Nl;){var i=Nl,a=i.child;if(22===i.tag&&r){var o=null!==i.memoizedState||Tl;if(!o){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Ol;s=Tl;var u=Ol;if(Tl=o,(Ol=l)&&!u)for(Nl=i;null!==Nl;)l=(o=Nl).child,22===o.tag&&null!==o.memoizedState?Zl(i):null!==l?(l.return=o,Nl=l):Zl(i);for(;null!==a;)Nl=a,Gl(a),a=a.sibling;Nl=i,Tl=s,Ol=u}Jl(e)}else 0!=(8772&i.subtreeFlags)&&null!==a?(a.return=i,Nl=a):Jl(e)}}function Jl(e){for(;null!==Nl;){var t=Nl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ol||Fl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ol)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Sa(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Qa(t,a,r);break;case 3:var o=t.updateQueue;if(null!==o){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Qa(t,o,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&_n(f)}}}break;default:throw Error(z(163))}Ol||512&t.flags&&Al(t)}catch(e){rc(t,t.return,e)}}if(t===e){Nl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Nl=n;break}Nl=t.return}}function Xl(e){for(;null!==Nl;){var t=Nl;if(t===e){Nl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Nl=n;break}Nl=t.return}}function Zl(e){for(;null!==Nl;){var t=Nl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Fl(4,t)}catch(e){rc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){rc(t,i,e)}}var a=t.return;try{Al(t)}catch(e){rc(t,a,e)}break;case 5:var o=t.return;try{Al(t)}catch(e){rc(t,o,e)}}}catch(e){rc(t,t.return,e)}if(t===e){Nl=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Nl=s;break}Nl=t.return}}var eu,tu=Math.ceil,nu=te.ReactCurrentDispatcher,ru=te.ReactCurrentOwner,iu=te.ReactCurrentBatchConfig,au=0,ou=null,su=null,lu=0,uu=0,cu=ia(0),fu=0,du=null,pu=0,hu=0,mu=0,vu=null,yu=null,gu=0,bu=1/0,wu=null,Eu=!1,ku=null,_u=null,Su=!1,xu=null,Tu=0,Ou=0,Cu=null,Nu=-1,Ru=0;
vendor: 7,272 bytes, line 48
48function Du(){return 0!=(6&au)?Dt():-1!==Nu?Nu:Nu=Dt()}function Iu(e){return 0==(1&e.mode)?1:0!=(2&au)&&0!==lu?lu&-lu:null!==_a.transition?(0===Ru&&(Ru=Yt()),Ru):0!==(e=Zt)?e:e=void 0===(e=window.event)?16:Dn(e.type)}function Pu(e,t,n){if(50<Ou)throw Ou=0,Cu=null,Error(z(185));var r=Fu(e,t);return null===r?null:(Jt(r,t,n),0!=(2&au)&&r===ou||(r===ou&&(0==(2&au)&&(hu|=t),4===fu&&zu(r,lu)),Mu(r,n),1===t&&0===au&&0==(1&e.mode)&&(bu=Dt()+500,ba&&ka())),r)}function Fu(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function Au(e){return(null!==ou||null!==Fa)&&0!=(1&e.mode)&&0==(2&au)}function Mu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-zt(a),s=1<<o,l=i[o];-1===l?0!=(s&n)&&0==(s&r)||(i[o]=Kt(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var r=Wt(e,e===ou?lu:0);if(0===r)null!==n&&Ct(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ct(n),1===t)0===e.tag?function(e){ba=!0,Ea(e)}(Vu.bind(null,e)):Ea(Vu.bind(null,e)),zi((function(){0===au&&ka()})),n=null;else{switch(en(r)){case 1:n=Pt;break;case 4:n=Ft;break;case 16:default:n=At;break;case 536870912:n=Lt}n=lc(n,Lu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Lu(e,t){if(Nu=-1,Ru=0,0!=(6&au))throw Error(z(327));var n=e.callbackNode;if(tc()&&e.callbackNode!==n)return null;var r=Wt(e,e===ou?lu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=Yu(e,r);else{t=r;var i=au;au|=2;var a=Ku();for(ou===e&&lu===t||(wu=null,bu=Dt()+500,Bu(e,t));;)try{Ju();break}catch(t){Wu(e,t)}Na(),nu.current=a,au=i,null!==su?t=0:(ou=null,lu=0,t=fu)}if(0!==t){if(2===t&&(0!==(i=Ht(e))&&(r=i,t=qu(e,i))),1===t)throw n=du,Bu(e,0),zu(e,r),Mu(e,Dt()),n;if(6===t)zu(e,r);else{if(i=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Vr(a(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=Yu(e,r))&&(0!==(a=Ht(e))&&(r=a,t=qu(e,a))),1===t))throw n=du,Bu(e,0),zu(e,r),Mu(e,Dt()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(z(345));case 2:case 5:ec(e,yu,wu);break;case 3:if(zu(e,r),(130023424&r)===r&&10<(t=gu+500-Dt())){if(0!==Wt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){Du(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Li(ec.bind(null,e,yu,wu),t);break}ec(e,yu,wu);break;case 4:if(zu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-zt(r);a=1<<o,(o=t[o])>i&&(i=o),r&=~a}if(r=i,10<(r=(120>(r=Dt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*tu(r/1960))-r)){e.timeoutHandle=Li(ec.bind(null,e,yu,wu),r);break}ec(e,yu,wu);break;default:throw Error(z(329))}}}return Mu(e,Dt()),e.callbackNode===n?Lu.bind(null,e):null}function qu(e,t){var n=vu;return e.current.memoizedState.isDehydrated&&(Bu(e,t).flags|=256),2!==(e=Yu(e,t))&&(t=yu,yu=n,null!==t&&ju(t)),e}function ju(e){null===yu?yu=e:yu.push.apply(yu,e)}function zu(e,t){for(t&=~mu,t&=~hu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-zt(t),r=1<<n;e[n]=-1,t&=~r}}function Vu(e){if(0!=(6&au))throw Error(z(327));tc();var t=Wt(e,0);if(0==(1&t))return Mu(e,Dt()),null;var n=Yu(e,t);if(0!==e.tag&&2===n){var r=Ht(e);0!==r&&(t=r,n=qu(e,r))}if(1===n)throw n=du,Bu(e,0),zu(e,t),Mu(e,Dt()),n;if(6===n)throw Error(z(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ec(e,yu,wu),Mu(e,Dt()),null}function $u(e,t){var n=au;au|=1;try{return e(t)}finally{0===(au=n)&&(bu=Dt()+500,ba&&ka())}}function Qu(e){null!==xu&&0===xu.tag&&0==(6&au)&&tc();var t=au;au|=1;var n=iu.transition,r=Zt;try{if(iu.transition=null,Zt=1,e)return e()}finally{Zt=r,iu.transition=n,0==(6&(au=t))&&ka()}}function Uu(){uu=cu.current,aa(cu)}function Bu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,qi(n)),null!==su)for(n=su.return;null!==n;){var r=n;switch(uo(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&pa();break;case 3:Ao(),aa(ua),aa(la),Vo();break;case 5:Lo(r);break;case 4:Ao();break;case 13:case 19:aa(qo);break;case 10:Ra(r.type._context);break;case 22:case 23:Uu()}n=n.return}if(ou=e,su=e=dc(e.current,null),lu=uu=t,fu=0,du=null,mu=hu=pu=0,yu=vu=null,null!==Fa){for(t=0;t<Fa.length;t++)if(null!==(r=(n=Fa[t]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var o=a.next;a.next=i,r.next=o}n.pending=r}Fa=null}return e}function Wu(e,t){for(;;){var n=su;try{if(Na(),$o.current=Ms,Ho){for(var r=Bo.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}Ho=!1}if(Uo=0,Ko=Wo=Bo=null,Yo=!1,Go=0,ru.current=null,null===n||null===n.return){fu=1,du=t,su=null;break}e:{var a=e,o=n.return,s=n,l=t;if(t=lu,s.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l,c=s,f=c.tag;if(0==(1&c.mode)&&(0===f||11===f||15===f)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=Ys(o);if(null!==p){p.flags&=-257,Gs(p,o,s,0,t),1&p.mode&&Hs(a,u,t),l=u;var h=(t=p).updateQueue;if(null===h){var m=new Set;m.add(l),t.updateQueue=m}else h.add(l);break e}if(0==(1&t)){Hs(a,u,t),Hu();break e}l=Error(z(426))}else if(po&&1&s.mode){var v=Ys(o);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),Gs(v,o,s,0,t),ko(l);break e}}a=l,4!==fu&&(fu=2),null===vu?vu=[a]:vu.push(a),l=zs(l,s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t,Va(s,Ws(0,l,t));break e;case 1:a=l;var y=s.type,g=s.stateNode;if(0==(128&s.flags)&&("function"==typeof y.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&(null===_u||!_u.has(g)))){s.flags|=65536,t&=-t,s.lanes|=t,Va(s,Ks(s,a,t));break e}}s=s.return}while(null!==s)}Zu(n)}catch(e){t=e,su===n&&null!==n&&(su=n=n.return);continue}break}}function Ku(){var e=nu.current;return nu.current=Ms,null===e?Ms:e}function Hu(){0!==fu&&3!==fu&&2!==fu||(fu=4),null===ou||0==(268435455&pu)&&0==(268435455&hu)||zu(ou,lu)}function Yu(e,t){var n=au;au|=2;var r=Ku();for(ou===e&&lu===t||(wu=null,Bu(e,t));;)try{Gu();break}catch(t){Wu(e,t)}if(Na(),au=n,nu.current=r,null!==su)throw Error(z(261));return ou=null,lu=0,fu}function Gu(){for(;null!==su;)Xu(su)}function Ju(){for(;null!==su&&!Nt();)Xu(su)}function Xu(e){var t=eu(e.alternate,e,uu);e.memoizedProps=e.pendingProps,null===t?Zu(e):su=t,ru.current=null}function Zu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Zs(n,t,uu)))return void(su=n)}else{if(null!==(n=xl(n,t)))return n.flags&=32767,void(su=n);if(null===e)return fu=6,void(su=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(su=t);su=t=e}while(null!==t);0===fu&&(fu=5)}function ec(e,t,n){var r=Zt,i=iu.transition;try{iu.transition=null,Zt=1,function(e,t,n,r){do{tc()}while(null!==xu);if(0!=(6&au))throw Error(z(327));
vendor: 21,917 bytes, lines 48-72
48n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(z(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-zt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}(e,a),e===ou&&(su=ou=null,lu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Su||(Su=!0,lc(At,(function(){return tc(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=iu.transition,iu.transition=null;var o=Zt;Zt=1;var s=au;au|=4,ru.current=null,function(e,t){if(Fi=xn,Kr(e=Wr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var o=0,s=-1,l=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var p;f!==n||0!==i&&3!==f.nodeType||(s=o+i),f!==a||0!==r&&3!==f.nodeType||(l=o+r),3===f.nodeType&&(o+=f.nodeValue.length),null!==(p=f.firstChild);)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++u===i&&(s=o),d===a&&++c===r&&(l=o),null!==(p=f.nextSibling))break;d=(f=d).parentNode}f=p}n=-1===s||-1===l?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ai={focusedElem:e,selectionRange:n},xn=!1,Nl=t;null!==Nl;)if(e=(t=Nl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Nl=e;else for(;null!==Nl;){t=Nl;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,v=h.memoizedState,y=t.stateNode,g=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:Sa(t.type,m),v);y.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var b=t.stateNode.containerInfo;if(1===b.nodeType)b.textContent="";else if(9===b.nodeType){var w=b.body;null!=w&&(w.textContent="")}break;default:throw Error(z(163))}}catch(e){rc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Nl=e;break}Nl=t.return}h=Il,Il=!1}(e,n),Kl(n,e),Hr(Ai),xn=!!Fi,Ai=Fi=null,e.current=n,Yl(n),Rt(),au=s,Zt=o,iu.transition=a}else e.current=n;if(Su&&(Su=!1,xu=e,Tu=i),0===(a=e.pendingLanes)&&(_u=null),function(e){if(jt&&"function"==typeof jt.onCommitFiberRoot)try{jt.onCommitFiberRoot(qt,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),Mu(e,Dt()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r(t[n]);if(Eu)throw Eu=!1,e=ku,ku=null,e;0!=(1&Tu)&&0!==e.tag&&tc(),0!=(1&(a=e.pendingLanes))?e===Cu?Ou++:(Ou=0,Cu=e):Ou=0,ka()}(e,t,n,r)}finally{iu.transition=i,Zt=r}return null}function tc(){if(null!==xu){var e=en(Tu),t=iu.transition,n=Zt;try{if(iu.transition=null,Zt=16>e?16:e,null===xu)var r=!1;else{if(e=xu,xu=null,Tu=0,0!=(6&au))throw Error(z(331));var i=au;for(au|=4,Nl=e.current;null!==Nl;){var a=Nl,o=a.child;if(0!=(16&Nl.flags)){var s=a.deletions;if(null!==s){for(var l=0;l<s.length;l++){var u=s[l];for(Nl=u;null!==Nl;){var c=Nl;switch(c.tag){case 0:case 11:case 15:Pl(8,c,a)}var f=c.child;if(null!==f)f.return=c,Nl=f;else for(;null!==Nl;){var d=(c=Nl).sibling,p=c.return;if(Ml(c),c===u){Nl=null;break}if(null!==d){d.return=p,Nl=d;break}Nl=p}}}var h=a.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var v=m.sibling;m.sibling=null,m=v}while(null!==m)}}Nl=a}}if(0!=(2064&a.subtreeFlags)&&null!==o)o.return=a,Nl=o;else e:for(;null!==Nl;){if(0!=(2048&(a=Nl).flags))switch(a.tag){case 0:case 11:case 15:Pl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Nl=y;break e}Nl=a.return}}var g=e.current;for(Nl=g;null!==Nl;){var b=(o=Nl).child;if(0!=(2064&o.subtreeFlags)&&null!==b)b.return=o,Nl=b;else e:for(o=g;null!==Nl;){if(0!=(2048&(s=Nl).flags))try{switch(s.tag){case 0:case 11:case 15:Fl(9,s)}}catch(e){rc(s,s.return,e)}if(s===o){Nl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Nl=w;break e}Nl=s.return}}if(au=i,ka(),jt&&"function"==typeof jt.onPostCommitFiberRoot)try{jt.onPostCommitFiberRoot(qt,e)}catch(e){}r=!0}return r}finally{Zt=n,iu.transition=t}}return!1}function nc(e,t,n){ja(e,t=Ws(0,t=zs(n,t),1)),t=Du(),null!==(e=Fu(e,1))&&(Jt(e,1,t),Mu(e,t))}function rc(e,t,n){if(3===e.tag)nc(e,e,n);else for(;null!==t;){if(3===t.tag){nc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===_u||!_u.has(r))){ja(t,e=Ks(t,e=zs(n,e),1)),e=Du(),null!==(t=Fu(t,1))&&(Jt(t,1,e),Mu(t,e));break}}t=t.return}}function ic(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Du(),e.pingedLanes|=e.suspendedLanes&n,ou===e&&(lu&n)===n&&(4===fu||3===fu&&(130023424&lu)===lu&&500>Dt()-gu?Bu(e,0):mu|=n),Mu(e,t)}function ac(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Ut,0==(130023424&(Ut<<=1))&&(Ut=4194304)));var n=Du();null!==(e=Fu(e,t))&&(Jt(e,t,n),Mu(e,n))}function oc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ac(e,n)}function sc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(z(314))}null!==r&&r.delete(t),ac(e,n)}function lc(e,t){return Ot(e,t)}function uc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function cc(e,t,n,r){return new uc(e,t,n,r)}function fc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function dc(e,t){var n=e.alternate;return null===n?((n=cc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function pc(e,t,n,r,i,a){var o=2;if(r=e,"function"==typeof e)fc(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case ie:return hc(n.children,i,a,t);case ae:o=8,i|=8;break;case oe:return(e=cc(12,n,t,2|i)).elementType=oe,e.lanes=a,e;case ce:return(e=cc(13,n,t,i)).elementType=ce,e.lanes=a,e;case fe:return(e=cc(19,n,t,i)).elementType=fe,e.lanes=a,e;case he:return mc(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case se:o=10;break e;case le:o=9;break e;case ue:o=11;break e;case de:o=14;break e;case pe:o=16,r=null;break e}throw Error(z(130,null==e?e:typeof e,""))}return(t=cc(o,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function hc(e,t,n,r){return(e=cc(7,e,r,t)).lanes=n,e}function mc(e,t,n,r){return(e=cc(22,e,r,t)).elementType=he,e.lanes=n,e.stateNode={},e}function vc(e,t,n){return(e=cc(6,e,null,t)).lanes=n,e}function yc(e,t,n){return(t=cc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Gt(0),this.expirationTimes=Gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function bc(e,t,n,r,i,a,o,s,l){return e=new gc(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=cc(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ma(a),e}function wc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:re,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Ec(e){if(!e)return sa;e:{if(kt(e=e._reactInternals)!==e||1!==e.tag)throw Error(z(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(da(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(z(171))}if(1===e.tag){var n=e.type;if(da(n))return ma(e,n,t)}return t}function kc(e,t,n,r,i,a,o,s,l){return(e=bc(n,r,!0,e,0,a,0,s,l)).context=Ec(null),n=e.current,(a=qa(r=Du(),i=Iu(n))).callback=null!=t?t:null,ja(n,a),e.current.lanes=i,Jt(e,i,r),Mu(e,r),e}function _c(e,t,n,r){var i=t.current,a=Du(),o=Iu(i);return n=Ec(n),null===t.context?t.context=n:t.pendingContext=n,(t=qa(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ja(i,t),null!==(e=Pu(i,o,a))&&za(e,i,o),o}function Sc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function xc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Tc(e,t){xc(e,t),(e=e.alternate)&&xc(e,t)}eu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ua.current)tl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return tl=!1,function(e,t,n){switch(t.tag){case 3:fl(t),Eo();break;case 5:Mo(t);break;case 1:da(t.type)&&va(t);break;case 4:Fo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;oa(xa,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(oa(qo,1&qo.current),t.flags|=128,null):0!=(n&t.child.childLanes)?vl(e,t,n):(oa(qo,1&qo.current),null!==(e=Sl(e,t,n))?e.sibling:null);oa(qo,1&qo.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return _l(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),oa(qo,qo.current),r)break;return null;case 22:case 23:return t.lanes=0,ol(e,t,n)}return Sl(e,t,n)}(e,t,n);tl=0!=(131072&e.flags)}else tl=!1,po&&0!=(1048576&t.flags)&&so(t,eo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var i=fa(t,la.current);Ia(t,n),i=es(null,t,r,e,i,n);var a=ts();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,da(r)?(a=!0,va(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Ma(t),i.updater=Wa,t.stateNode=i,i._reactInternals=t,Ga(t,r,e,n),t=cl(null,t,r,!0,a,n)):(t.tag=0,po&&a&&lo(t),nl(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return fc(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===de)return 14}return 2}(r),e=Sa(r,e),i){case 0:t=ll(null,t,r,e,n);break e;case 1:t=ul(null,t,r,e,n);break e;case 11:t=rl(null,t,r,e,n);break e;case 14:t=il(null,t,r,Sa(r.type,e),n);break e}throw Error(z(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,ll(e,t,r,i=t.elementType===r?i:Sa(r,i),n);case 1:return r=t.type,i=t.pendingProps,ul(e,t,r,i=t.elementType===r?i:Sa(r,i),n);case 3:e:{if(fl(t),null===e)throw Error(z(387));r=t.pendingProps,i=(a=t.memoizedState).element,La(e,t),$a(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=dl(e,t,r,n,i=Error(z(423)));break e}if(r!==i){t=dl(e,t,r,n,i=Error(z(424)));break e}for(fo=Qi(t.stateNode.containerInfo.firstChild),co=t,po=!0,ho=null,n=Co(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Eo(),r===i){t=Sl(e,t,n);break e}nl(e,t,r,n)}t=t.child}return t;case 5:return Mo(t),null===e&&go(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,o=i.children,Mi(r,i)?o=null:null!==a&&Mi(r,a)&&(t.flags|=32),sl(e,t),nl(e,t,o,n),t.child;case 6:return null===e&&go(t),null;case 13:return vl(e,t,n);case 4:return Fo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oo(t,null,r,n):nl(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,rl(e,t,r,i=t.elementType===r?i:Sa(r,i),n);case 7:return nl(e,t,t.pendingProps,n),t.child;case 8:case 12:return nl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,oa(xa,r._currentValue),r._currentValue=o,null!==a)if(Vr(a.value,o)){if(a.children===i.children&&!ua.current){t=Sl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){o=a.child;for(var l=s.firstContext;null!==l;){if(l.context===r){if(1===a.tag){(l=qa(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Da(a.return,n,t),s.lanes|=n;break}l=l.next}}else if(10===a.tag)o=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(o=a.return))throw Error(z(341));o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),Da(o,n,t),o=a.sibling}else o=a.child;if(null!==o)o.return=a;else for(o=a;null!==o;){if(o===t){o=null;break}if(null!==(a=o.sibling)){a.return=o.return,o=a;break}o=o.return}a=o}nl(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ia(t,n),r=r(i=Pa(i)),t.flags|=1,nl(e,t,r,n),t.child;case 14:return i=Sa(r=t.type,t.pendingProps),il(e,t,r,i=Sa(r.type,i),n);case 15:return al(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Sa(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,da(r)?(e=!0,va(t)):e=!1,Ia(t,n),Ha(t,r,i),Ga(t,r,i,n),cl(null,t,r,!0,e,n);case 19:return _l(e,t,n);case 22:return ol(e,t,n)}throw Error(z(156,t.tag))};var Oc="function"==typeof reportError?reportError:function(e){console.error(e)};function Cc(e){this._internalRoot=e}function Nc(e){this._internalRoot=e}function Rc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Dc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ic(){}function Pc(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if("function"==typeof i){var s=i;i=function(){var e=Sc(o);s.call(e)}}_c(t,o,e,i)}else o=function(e,t,n,r,i){if(i){if("function"==typeof r){var a=r;r=function(){var e=Sc(o);a.call(e)}}var o=kc(t,r,e,0,null,!1,0,"",Ic);return e._reactRootContainer=o,e[Hi]=o.current,ki(8===e.nodeType?e.parentNode:e),Qu(),o}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=Sc(l);s.call(e)}}var l=bc(e,0,!1,null,0,!1,0,"",Ic);return e._reactRootContainer=l,e[Hi]=l.current,ki(8===e.nodeType?e.parentNode:e),Qu((function(){_c(t,l,n,r)})),l}(n,t,e,i,r);return Sc(o)}Nc.prototype.render=Cc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(z(409));_c(e,t,null,null)},Nc.prototype.unmount=Cc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;Qu((function(){_c(null,e,null,null)})),t[Hi]=null}},Nc.prototype.unstable_scheduleHydration=function(e){if(e){var t=an();e={blockedOn:null,target:e,priority:t};for(var n=0;n<hn.length&&0!==t&&t<hn[n].priority;n++);hn.splice(n,0,e),0===n&&gn(e)}},tn=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Bt(t.pendingLanes);0!==n&&(Xt(t,1|n),Mu(t,Dt()),0==(6&au)&&(bu=Dt()+500,ka()))}break;case 13:var r=Du();Qu((function(){return Pu(e,1,r)})),Tc(e,1)}},nn=function(e){13===e.tag&&(Pu(e,134217728,Du()),Tc(e,134217728))},rn=function(e){if(13===e.tag){var t=Du(),n=Iu(e);Pu(e,n,t),Tc(e,n)}},an=function(){return Zt},on=function(e,t){var n=Zt;try{return Zt=e,t()}finally{Zt=n}},nt=function(e,t,n){switch(t){case"input":if(Pe(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=ta(r);if(!i)throw Error(z(90));Ce(r),Pe(r,i)}}}break;case"textarea":ze(e,n);break;case"select":null!=(t=n.value)&&Le(e,!!n.multiple,t,!1)}},lt=$u,ut=Qu;var Fc={usingClientEntryPoint:!1,Events:[Zi,ea,ta,ot,st,$u]},Ac={findFiberByHostInstance:Xi,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},Mc={bundleType:Ac.bundleType,version:Ac.version,rendererPackageName:Ac.rendererPackageName,rendererConfig:Ac.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:te.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=xt(e))?null:e.stateNode},findFiberByHostInstance:Ac.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Lc.isDisabled&&Lc.supportsFiber)try{qt=Lc.inject(Mc),jt=Lc}catch(EE){}}var qc={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fc,createPortal:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Rc(t))throw Error(z(200));return wc(e,t,null,n)},createRoot:function(e,t){if(!Rc(e))throw Error(z(299));var n=!1,r="",i=Oc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=bc(e,1,!1,null,0,n,0,r,i),e[Hi]=t.current,ki(8===e.nodeType?e.parentNode:e),new Cc(t)},findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(z(188));throw e=Object.keys(e).join(","),Error(z(268,e))}return e=null===(e=xt(t))?null:e.stateNode},flushSync:function(e){return Qu(e)},hydrate:function(e,t,n){if(!Dc(t))throw Error(z(200));return Pc(null,e,t,!0,n)},hydrateRoot:function(e,t,n){if(!Rc(e))throw Error(z(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",o=Oc;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(o=n.onRecoverableError)),t=kc(t,null,e,1,null!=n?n:null,i,0,a,o),e[Hi]=t.current,ki(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Nc(t)},render:function(e,t,n){if(!Dc(t))throw Error(z(200));return Pc(null,e,t,!1,n)},unmountComponentAtNode:function(e){if(!Dc(e))throw Error(z(40));return!!e._reactRootContainer&&(Qu((function(){Pc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Hi]=null}))})),!0)},unstable_batchedUpdates:$u,unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Dc(n))throw Error(z(200));if(null==e||void 0===e._reactInternals)throw Error(z(38));return Pc(e,t,n,!1,r)},version:"18.1.0-next-22edb9f77-20220426"};
49/**
50	 * @license React
51	 * react-dom.development.js
52	 *
53	 * Copyright (c) Facebook, Inc. and its affiliates.
54	 *
55	 * This source code is licensed under the MIT license found in the
56	 * LICENSE file in the root directory of this source tree.
57	 */
58n((function(e,t){}));var jc=n((function(e){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=qc})),zc=function(e,t){return zc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},zc(e,t)};
59/*! *****************************************************************************
60	Copyright (c) Microsoft Corporation.
61
62	Permission to use, copy, modify, and/or distribute this software for any
63	purpose with or without fee is hereby granted.
64
65	THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
66	REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
67	AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
68	INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
69	LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
70	OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
71	PERFORMANCE OF THIS SOFTWARE.
72	***************************************************************************** */function Vc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}zc(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var $c=function(){return $c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},$c.apply(this,arguments)};function Qc(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&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}
72function Uc(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))}function Bc(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function Wc(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var Kc="Invariant Violation",Hc=Object.setPrototypeOf,Yc=void 0===Hc?function(e,t){return e.__proto__=t,e}:Hc,Gc=function(e){function t(n){void 0===n&&(n=Kc);var r=e.call(this,"number"==typeof n?Kc+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=Kc,Yc(r,t.prototype),r}return Vc(t,e),t}(Error);function Jc(e,t){if(!e)throw new Gc(t)}var Xc=["debug","log","warn","error","silent"],Zc=Xc.indexOf("log");function ef(e){return function(){if(Xc.indexOf(e)>=Zc){var t=console[e]||console.log;return t.apply(console,arguments)}}}function tf(e){try{return e()}catch(e){}}!function(e){e.debug=ef("debug"),e.log=ef("log"),e.warn=ef("warn"),e.error=ef("error")}(Jc||(Jc={}));var nf=tf((function(){return globalThis}))||tf((function(){return window}))||tf((function(){return self}))||tf((function(){return global}))||tf((function(){return tf.constructor("return this")()})),rf="__",af=[rf,rf].join("DEV");var of=function(){try{return Boolean(__DEV__)}catch(e){return Object.defineProperty(nf,af,{value:"production"!==tf((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),nf[af]}}();function sf(e){try{return e()}catch(e){}}var lf=sf((function(){return globalThis}))||sf((function(){return window}))||sf((function(){return self}))||sf((function(){return global}))||sf((function(){return sf.constructor("return this")()})),uf=!1;function cf(){uf&&(delete lf.process,uf=!1)}function ff(e,t){if(!Boolean(e))throw new Error(t)}function df(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}!lf||sf((function(){return"production"}))||sf((function(){return process}))||(Object.defineProperty(lf,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),uf=!0);const pf=/\r\n|[\n\r]/g;function hf(e,t){let n=0,r=1;for(const i of e.body.matchAll(pf)){if("number"==typeof i.index||df(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function mf(e){return vf(e.source,hf(e.source,e.start))}function vf(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,a=e.locationOffset.line-1,o=t.line+a,s=1===t.line?n:0,l=t.column+s,u=`${e.name}:${o}:${l}\n`,c=r.split(/\r\n|[\n\r]/g),f=c[i];if(f.length>120){const e=Math.floor(l/80),t=l%80,n=[];for(let e=0;e<f.length;e+=80)n.push(f.slice(e,e+80));return u+yf([[`${o} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return u+yf([[o-1+" |",c[i-1]],[`${o} |`,f],["|","^".padStart(l)],[`${o+1} |`,c[i+1]]])}function yf(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}
vendor: 10,398 bytes, line 72
72class gf extends Error{constructor(e,...t){var n,r,i;const{nodes:a,source:o,positions:s,path:l,originalError:u,extensions:c}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=u?u:void 0,this.nodes=bf(Array.isArray(a)?a:a?[a]:void 0);const f=bf(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=o?o:null==f||null===(r=f[0])||void 0===r?void 0:r.source,this.positions=null!=s?s:null==f?void 0:f.map((e=>e.start)),this.locations=s&&o?s.map((e=>hf(o,e))):null==f?void 0:f.map((e=>hf(e.source,e.start)));const d="object"==typeof(p=null==u?void 0:u.extensions)&&null!==p?null==u?void 0:u.extensions:void 0;var p;this.extensions=null!==(i=null!=c?c:d)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,gf):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+mf(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+vf(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function bf(e){return void 0===e||0===e.length?void 0:e}function wf(e,t,n){return new gf(`Syntax Error: ${n}`,{source:e,positions:[t]})}class Ef{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class kf{constructor(e,t,n,r,i,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const _f={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Sf=new Set(Object.keys(_f));function xf(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&Sf.has(t)}let Tf,Of,Cf,Nf;function Rf(e){return 9===e||32===e}function Df(e){return e>=48&&e<=57}function If(e){return e>=97&&e<=122||e>=65&&e<=90}function Pf(e){return If(e)||95===e}function Ff(e){return If(e)||Df(e)||95===e}function Af(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let t=0;t<e.length;++t){var a;const o=e[t],s=Mf(o);s!==o.length&&(r=null!==(a=r)&&void 0!==a?a:t,i=t,0!==t&&s<n&&(n=s))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,i+1)}function Mf(e){let t=0;for(;t<e.length&&Rf(e.charCodeAt(t));)++t;return t}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(Tf||(Tf={})),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(Of||(Of={})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(Cf||(Cf={})),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(Nf||(Nf={}));class Lf{constructor(e){const t=new kf(Nf.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==Nf.EOF)do{if(e.next)e=e.next;else{const t=Uf(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===Nf.COMMENT);return e}}function qf(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function jf(e,t){return zf(e.charCodeAt(t))&&Vf(e.charCodeAt(t+1))}function zf(e){return e>=55296&&e<=56319}function Vf(e){return e>=56320&&e<=57343}function $f(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return Nf.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Qf(e,t,n,r,i){const a=e.line,o=1+n-e.lineStart;return new kf(t,n,r,a,o,i)}function Uf(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return Bf(e,i);case 33:return Qf(e,Nf.BANG,i,i+1);case 36:return Qf(e,Nf.DOLLAR,i,i+1);case 38:return Qf(e,Nf.AMP,i,i+1);case 40:return Qf(e,Nf.PAREN_L,i,i+1);case 41:return Qf(e,Nf.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return Qf(e,Nf.SPREAD,i,i+3);break;case 58:return Qf(e,Nf.COLON,i,i+1);case 61:return Qf(e,Nf.EQUALS,i,i+1);case 64:return Qf(e,Nf.AT,i,i+1);case 91:return Qf(e,Nf.BRACKET_L,i,i+1);case 93:return Qf(e,Nf.BRACKET_R,i,i+1);case 123:return Qf(e,Nf.BRACE_L,i,i+1);case 124:return Qf(e,Nf.PIPE,i,i+1);case 125:return Qf(e,Nf.BRACE_R,i,i+1);case 34:return 34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)?ed(e,i):Hf(e,i)}if(Df(t)||45===t)return Wf(e,i,t);if(Pf(t))return td(e,i);throw wf(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":qf(t)||jf(n,i)?`Unexpected character: ${$f(e,i)}.`:`Invalid character: ${$f(e,i)}.`)}return Qf(e,Nf.EOF,r,r)}function Bf(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(10===e||13===e)break;if(qf(e))++i;else{if(!jf(n,i))break;i+=2}}return Qf(e,Nf.COMMENT,t,i,n.slice(t+1,i))}function Wf(e,t,n){const r=e.source.body;let i=t,a=n,o=!1;if(45===a&&(a=r.charCodeAt(++i)),48===a){if(a=r.charCodeAt(++i),Df(a))throw wf(e.source,i,`Invalid number, unexpected digit after 0: ${$f(e,i)}.`)}else i=Kf(e,i,a),a=r.charCodeAt(i);if(46===a&&(o=!0,a=r.charCodeAt(++i),i=Kf(e,i,a),a=r.charCodeAt(i)),69!==a&&101!==a||(o=!0,a=r.charCodeAt(++i),43!==a&&45!==a||(a=r.charCodeAt(++i)),i=Kf(e,i,a),a=r.charCodeAt(i)),46===a||Pf(a))throw wf(e.source,i,`Invalid number, expected digit but got: ${$f(e,i
72)}.`);return Qf(e,o?Nf.FLOAT:Nf.INT,t,i,r.slice(t,i))}function Kf(e,t,n){if(!Df(n))throw wf(e.source,t,`Invalid number, expected digit but got: ${$f(e,t)}.`);const r=e.source.body;let i=t+1;for(;Df(r.charCodeAt(i));)++i;return i}function Hf(e,t){const n=e.source.body,r=n.length;let i=t+1,a=i,o="";for(;i<r;){const r=n.charCodeAt(i);if(34===r)return o+=n.slice(a,i),Qf(e,Nf.STRING,t,i+1,o);if(92!==r){if(10===r||13===r)break;if(qf(r))++i;else{if(!jf(n,i))throw wf(e.source,i,`Invalid character within String: ${$f(e,i)}.`);i+=2}}else{o+=n.slice(a,i);const t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?Yf(e,i):Gf(e,i):Zf(e,i);o+=t.value,i+=t.size,a=i}}throw wf(e.source,i,"Unterminated string.")}function Yf(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const e=n.charCodeAt(t+i++);if(125===e){if(i<5||!qf(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|Xf(e),r<0)break}throw wf(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function Gf(e,t){const n=e.source.body,r=Jf(n,t+2);if(qf(r))return{value:String.fromCodePoint(r),size:6};if(zf(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=Jf(n,t+8);if(Vf(e))return{value:String.fromCodePoint(r,e),size:12}}throw wf(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function Jf(e,t){return Xf(e.charCodeAt(t))<<12|Xf(e.charCodeAt(t+1))<<8|Xf(e.charCodeAt(t+2))<<4|Xf(e.charCodeAt(t+3))}function Xf(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Zf(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw wf(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function ed(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,a=t+3,o=a,s="";const l=[];for(;a<r;){const r=n.charCodeAt(a);if(34===r&&34===n.charCodeAt(a+1)&&34===n.charCodeAt(a+2)){s+=n.slice(o,a),l.push(s);const r=Qf(e,Nf.BLOCK_STRING,t,a+3,Af(l).join("\n"));return e.line+=l.length-1,e.lineStart=i,r}if(92!==r||34!==n.charCodeAt(a+1)||34!==n.charCodeAt(a+2)||34!==n.charCodeAt(a+3))if(10!==r&&13!==r)if(qf(r))++a;else{if(!jf(n,a))throw wf(e.source,a,`Invalid character within String: ${$f(e,a)}.`);a+=2}else s+=n.slice(o,a),l.push(s),13===r&&10===n.charCodeAt(a+1)?a+=2:++a,s="",o=a,i=a;else s+=n.slice(o,a),o=a+1,a+=4}throw wf(e.source,a,"Unterminated string.")}function td(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){if(!Ff(n.charCodeAt(i)))break;++i}return Qf(e,Nf.NAME,t,i,n.slice(t,i))}function nd(e){return rd(e,[])}function rd(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:rd(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),r=e.length-n,i=[];for(let r=0;r<n;++r)i.push(rd(e[r],t));1===r?i.push("... 1 more item"):r>1&&i.push(`... ${r} more items`);return"["+i.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map((([e,n])=>e+": "+rd(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}class id{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||ff(!1,`Body must be a string. Received: ${nd(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||ff(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ff(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class ad{constructor(e,t){const n=function(e){return e instanceof id}(e)?e:new id(e);this._lexer=new Lf(n),this._options=t}parseName(){const e=this.expectToken(Nf.NAME);return this.node(e,{kind:Cf.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:Cf.DOCUMENT,definitions:this.many(Nf.SOF,this.parseDefinition,Nf.EOF)})}parseDefinition(){if(this.peek(Nf.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===Nf.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw wf(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(Nf.BRACE_L))return this.node(e,{kind:Cf.OPERATION_DEFINITION,operation:Tf.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(Nf.NAME)&&(n=this.parseName()),this.node(e,{kind:Cf.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(Nf.NAME);switch(e.value){case"query":return Tf.QUERY;case"mutation":return Tf.MUTATION;case"subscription":return Tf.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(Nf.PAREN_L,this.parseVariableDefinition,Nf.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:Cf.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Nf.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Nf.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(Nf.DOLLAR),this.node(e,{kind:Cf.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:Cf.SELECTION_SET,selections:this.many(Nf.BRACE_L,this.parseSelection,Nf.BRACE_R)})}parseSelection(){return this.peek(Nf.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(Nf.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:Cf.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Nf.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Nf.PAREN_L,t,Nf.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(Nf.COLON),this.node(t,{kind:Cf.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(Nf.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(Nf.NAME)?this.node(e,{kind:Cf.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:Cf.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){var e;const t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacyFragmentVariables)?this.node(t,{kind:Cf.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:Cf.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case Nf.BRACKET_L:return this.parseList(e);case Nf.BRACE_L:return this.parseObject(e);case Nf.INT:return this._lexer.advance(),this.node(t,{kind:Cf.INT,value:t.value});case Nf.FLOAT:return this._lexer.advance(),this.node(t,{kind:Cf.FLOAT,value:t.value});case Nf.STRING:case Nf.BLOCK_STRING:return this.parseStringLiteral();case Nf.NAME:switch(this._lexer.advance(),t.value){case"true":return this.node(t,{kind:Cf.BOOLEAN,value:!0});case"false":return this.node(t,{kind:Cf.BOOLEAN,value:!1});case"null":return this.node(t,{kind:Cf.NULL});default:return this.node(t,{kind:Cf.ENUM,value:t.value})}case Nf.DOLLAR:if(e){if(this.expectToken(Nf.DOLLAR),this._lexer.token.kind===Nf.NAME){const e=this._lexer.token.value;throw wf(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this._lexer.advance(),this.node(e,{kind:Cf.STRING,value:e.value,block:e.kind===Nf.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:Cf.LIST,values:this.any(Nf.BRACKET_L,(()=>this.parseValueLiteral(e)),Nf.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:Cf.OBJECT,fields:this.any(Nf.BRACE_L,(()=>this.parseObjectField(e)),Nf.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(Nf.COLON),this.node(t,{kind:Cf.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(Nf.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(Nf.AT),this.node(t,{kind:Cf.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(Nf.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(Nf.BRACKET_R),t=this.node(e,{kind:Cf.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(Nf.BANG)?this.node(e,{kind:Cf.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:Cf.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(Nf.STRING)||this.peek(Nf.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.many(Nf.BRACE_L,this.parseOperationTypeDefinition,Nf.BRACE_R);return this.node(e,{kind:Cf.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(Nf.COLON);const n=this.parseNamedType();return this.node(e,{kind:Cf.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:Cf.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:Cf.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(Nf.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(Nf.BRACE_L,this.parseFieldDefinition,Nf.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(Nf.COLON);const i=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:Cf.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:a})}parseArgumentDefs(){return this.optionalMany(Nf.PAREN_L,this.parseInputValueDef,Nf.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(Nf.COLON);const r=this.parseTypeReference();let i;this.expectOptionalToken(Nf.EQUALS)&&(i=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(e,{kind:Cf.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:a})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:Cf.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:Cf.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(Nf.EQUALS)?this.delimitedMany(Nf.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:Cf.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(Nf.BRACE_L,this.parseEnumValueDefinition,Nf.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:Cf.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw wf(this._lexer.source,this._lexer.token.start,`${od(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:Cf.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(Nf.BRACE_L,this.parseInputValueDef,Nf.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===Nf.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(Nf.BRACE_L,this.parseOperationTypeDefinition,Nf.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:Cf.SCHEMA_EXTENSION,directives:t,operationTypes:n})}par
72seScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:Cf.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:Cf.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:Cf.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:Cf.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:Cf.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:Cf.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Nf.AT);const n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(e,{kind:Cf.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:a})}parseDirectiveLocations(){return this.delimitedMany(Nf.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(Of,t.value))return t;throw this.unexpected(e)}node(e,t){var n;return!0!==(null===(n=this._options)||void 0===n?void 0:n.noLocation)&&(t.loc=new Ef(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw wf(this._lexer.source,t.start,`Expected ${sd(e)}, found ${od(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this._lexer.advance(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==Nf.NAME||t.value!==e)throw wf(this._lexer.source,t.start,`Expected "${e}", found ${od(t)}.`);this._lexer.advance()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===Nf.NAME&&t.value===e&&(this._lexer.advance(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return wf(this._lexer.source,t.start,`Unexpected ${od(t)}.`)}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}}function od(e){const t=e.value;return sd(e.kind)+(null!=t?` "${t}"`:"")}function sd(e){return function(e){return e===Nf.BANG||e===Nf.DOLLAR||e===Nf.AMP||e===Nf.PAREN_L||e===Nf.PAREN_R||e===Nf.SPREAD||e===Nf.COLON||e===Nf.EQUALS||e===Nf.AT||e===Nf.BRACKET_L||e===Nf.BRACKET_R||e===Nf.BRACE_L||e===Nf.PIPE||e===Nf.BRACE_R}(e)?`"${e}"`:e}const ld=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function ud(e){return cd[e.charCodeAt(0)]}const cd=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],fd=Object.freeze({});function dd(e,t,n=_f){const r=new Map;for(const e of Object.values(Cf))r.set(e,pd(t,e));let i,a,o,s=Array.isArray(e),l=[e],u=-1,c=[],f=e;const d=[],p=[];do{u++;const e=u===l.length,y=e&&0!==c.length;if(e){if(a=0===p.length?void 0:d[d.length-1],f=o,o=p.pop(),y)if(s){f=f.slice();let e=0;for(const[t,n]of c){const r=t-e;null===n?(f.splice(r,1),e++):f[r]=n}}else{f=Object.defineProperties({},Object.getOwnPropertyDescriptors(f));for(const[e,t]of c)f[e]=t}u=i.index,l=i.keys,c=i.edits,s=i.inArray,i=i.prev}else if(o){if(a=s?u:l[u],f=o[a],null==f)continue;d.push(a)}let g;if(!Array.isArray(f)){var h,m;xf(f)||ff(!1,`Invalid AST Node: ${nd(f)}.`);const n=e?null===(h=r.get(f.kind))||void 0===h?void 0:h.leave:null===(m=r.get(f.kind))||void 0===m?void 0:m.enter;if(g=null==n?void 0:n.call(t,f,a,o,d,p),g===fd)break;if(!1===g){if(!e){d.pop();continue}}else if(void 0!==g&&(c.push([a,g]),!e)){if(!xf(g)){d.pop();continue}f=g}}var v;if(void 0===g&&y&&c.push([a,f]),e)d.pop();else i={inArray:s,index:u,keys:l,edits:c,prev:i},s=Array.isArray(f),l=s?f:null!==(v=n[f.kind])&&void 0!==v?v:[],u=-1,c=[],o&&p.push(o),o=f}while(void 0!==i);return 0!==c.length?c[c.length-1][1]:e}function pd(e,t){const n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function hd(e){return dd(e,md)}const md={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>vd(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=gd("(",vd(e.variableDefinitions,", "),")"),n=vd([e.operation,vd([e.name,t]),vd(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+gd(" = ",n)+gd(" ",vd(r," "))},SelectionSet:{leave:({selections:e})=>yd(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const a=gd("",e,": ")+t;let o=a+gd("(",vd(n,", "),")");return o.length>80&&(o=a+gd("(\n",bd(vd(n,"\n")),"\n)")),vd([o,vd(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+gd(" ",vd(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>vd(["...",gd("on ",e),vd(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${gd("(",vd(n,", "),")")} on ${t} ${gd("",vd(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
72,StringValue:{leave:({value:e,block:t})=>t?function(e,t){const n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=1===r.length,a=r.length>1&&r.slice(1).every((e=>0===e.length||Rf(e.charCodeAt(0)))),o=n.endsWith('\\"""'),s=e.endsWith('"')&&!o,l=e.endsWith("\\"),u=s||l,c=!(null!=t&&t.minimize)&&(!i||e.length>70||u||a||o);let f="";const d=i&&Rf(e.charCodeAt(0));return(c&&!d||a)&&(f+="\n"),f+=n,(c||u)&&(f+="\n"),'"""'+f+'"""'}(e):`"${e.replace(ld,ud)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+vd(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+vd(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+gd("(",vd(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>gd("",e,"\n")+vd(["schema",vd(t," "),yd(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>gd("",e,"\n")+vd(["scalar",t,vd(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>gd("",e,"\n")+vd(["type",t,gd("implements ",vd(n," & ")),vd(r," "),yd(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>gd("",e,"\n")+t+(wd(n)?gd("(\n",bd(vd(n,"\n")),"\n)"):gd("(",vd(n,", "),")"))+": "+r+gd(" ",vd(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>gd("",e,"\n")+vd([t+": "+n,gd("= ",r),vd(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>gd("",e,"\n")+vd(["interface",t,gd("implements ",vd(n," & ")),vd(r," "),yd(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>gd("",e,"\n")+vd(["union",t,vd(n," "),gd("= ",vd(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>gd("",e,"\n")+vd(["enum",t,vd(n," "),yd(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>gd("",e,"\n")+vd([t,vd(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>gd("",e,"\n")+vd(["input",t,vd(n," "),yd(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>gd("",e,"\n")+"directive @"+t+(wd(n)?gd("(\n",bd(vd(n,"\n")),"\n)"):gd("(",vd(n,", "),")"))+(r?" repeatable":"")+" on "+vd(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>vd(["extend schema",vd(e," "),yd(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>vd(["extend scalar",e,vd(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>vd(["extend type",e,gd("implements ",vd(t," & ")),vd(n," "),yd(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>vd(["extend interface",e,gd("implements ",vd(t," & ")),vd(n," "),yd(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>vd(["extend union",e,vd(t," "),gd("= ",vd(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>vd(["extend enum",e,vd(t," "),yd(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>vd(["extend input",e,vd(t," "),yd(n)]," ")}};function vd(e,t=""){var n;return null!==(n=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function yd(e){return gd("{\n",bd(vd(e,"\n")),"\n}")}function gd(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function bd(e){return gd("  ",e.replace(/\n/g,"\n  "))}function wd(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}function Ed(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,r=e.name.value;__DEV__?Jc(n&&1===n.length,"Incorrect number of arguments for the @".concat(r," directive.")):Jc(n&&1===n.length,38);var i=n[0];__DEV__?Jc(i.name&&"if"===i.name.value,"Invalid argument for the @".concat(r," directive.")):Jc(i.name&&"if"===i.name.value,39);var a=i.value;__DEV__?Jc(a&&("Variable"===a.kind||"BooleanValue"===a.kind),"Argument for the @".concat(r," directive must be a variable or a boolean value.")):Jc(a&&("Variable"===a.kind||"BooleanValue"===a.kind),40),t.push({directive:e,ifArgument:i})}}));return t}(n).every((function(e){var n=e.directive,r=e.ifArgument,i=!1;return"Variable"===r.value.kind?(i=t&&t[r.value.name.value],__DEV__?Jc(void 0!==i,"Invalid variable referenced in @".concat(n.name.value," directive.")):Jc(void 0!==i,37)):i=r.value.value,"skip"===n.name.value?!i:i}))}function kd(e,t){return function(e){var t=[];return dd(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function _d(e){return e&&kd(["client"],e)&&kd(["export"],e)}function Sd(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new Gc("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new Gc(41);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(__DEV__?Jc(1===r.length,"Found ".concat(r.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):Jc(1===r.length,42),n=r[0].name.value),$c($c({},e),{definitions:Wc([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function xd(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function Td(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=t&&t[e.name.value];return __DEV__?Jc(n,"No fragment named ".concat(e.name.value,".")):Jc(n,43),n;default:return null}}function Od(e){return null!==e&&"object"==typeof e}function Cd(e){return{__ref:String(e)}}function Nd(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function Rd(e,t,n,r){if(function(e){return"IntValue"===e.kind}
72(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map((function(e){return Rd(i,e.name,e.value,r)})),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var a=(r||{})[n.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return Rd(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw __DEV__?new Gc('The inline argument "'.concat(t.value,'" of kind "').concat(n.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new Gc(52);e[t.value]=null}}cf(),__DEV__?Jc("boolean"==typeof of,of):Jc("boolean"==typeof of,36);var Dd=["connection","include","skip","client","rest","export"],Id=Object.assign((function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach((function(e){i[e]=t[e]})),"".concat(n.connection.key,"(").concat(Pd(i),")")}return n.connection.key}var a=e;if(t){var o=Pd(t);a+="(".concat(o,")")}return n&&Object.keys(n).forEach((function(e){-1===Dd.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@".concat(e,"(").concat(Pd(n[e]),")"):a+="@".concat(e))})),a}),{setStringify:function(e){var t=Pd;return Pd=e,t}}),Pd=function(e){return JSON.stringify(e,Fd)};function Fd(e,t){return Od(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{})),t}function Ad(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return Rd(n,r,i,t)})),n}return null}function Md(e){return e.alias?e.alias.value:e.name.value}function Ld(e,t,n){if("string"==typeof e.__typename)return e.__typename;for(var r=0,i=t.selections;r<i.length;r++){var a=i[r];if(qd(a)){if("__typename"===a.name.value)return e[Md(a)]}else{var o=Ld(e,Td(a,n).selectionSet,n);if("string"==typeof o)return o}}}function qd(e){return"Field"===e.kind}function jd(e){return"InlineFragment"===e.kind}function zd(e){__DEV__?Jc(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):Jc(e&&"Document"===e.kind,44);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new Gc('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new Gc(45);return e}));return __DEV__?Jc(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):Jc(t.length<=1,46),e}function Vd(e){return zd(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function $d(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function Qd(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function Ud(e){var t=Vd(e);return __DEV__?Jc(t&&"query"===t.operation,"Must contain a query definition."):Jc(t&&"query"===t.operation,47),t}function Bd(e){var t;zd(e);for(var n=0,r=e.definitions;n<r.length;n++){var i=r[n];if("OperationDefinition"===i.kind){var a=i.operation;if("query"===a||"mutation"===a||"subscription"===a)return i}"FragmentDefinition"!==i.kind||t||(t=i)}if(t)return t;throw __DEV__?new Gc("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new Gc(51)}function Wd(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach((function(e){e.defaultValue&&Rd(t,e.variable.name,e.defaultValue)})),t}function Kd(e,t,n){var r=0;return e.forEach((function(n,i){t.call(this,n,i,e)&&(e[r++]=n)}),n),e.length=r,e}var Hd={kind:"Field",name:{kind:"Name",value:"__typename"}};function Yd(e,t){return e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&Yd(t[e.name.value],t)}))}function Gd(e){return Yd(Vd(e)||function(e){__DEV__?Jc("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):Jc("Document"===e.kind,48),__DEV__?Jc(e.definitions.length<=1,"Fragment must have exactly one definition."):Jc(e.definitions.length<=1,49);var t=e.definitions[0];return __DEV__?Jc("FragmentDefinition"===t.kind,"Must be a fragment definition."):Jc("FragmentDefinition"===t.kind,50),t}(e),xd(Qd(e)))?null:e}function Jd(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function Xd(e,t){var n=Object.create(null),r=[],i=Object.create(null),a=[],o=Gd(dd(t,{Variable:{enter:function(e,t,r){"VariableDefinition"!==r.kind&&(n[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(Jd(e))))return t.arguments&&t.arguments.forEac
72h((function(e){"Variable"===e.value.kind&&r.push({name:e.value.name.value})})),t.selectionSet&&tp(t.selectionSet).forEach((function(e){a.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){i[e.name.value]=!0}},Directive:{enter:function(t){if(Jd(e)(t))return null}}}));return o&&Kd(r,(function(e){return!!e.name&&!n[e.name]})).length&&(o=function(e,t){var n=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return Gd(dd(t,{OperationDefinition:{enter:function(t){return $c($c({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments&&t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}(r,o)),o&&Kd(a,(function(e){return!!e.name&&!i[e.name]})).length&&(o=function(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return Gd(dd(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}(a,o)),o}var Zd=Object.assign((function(e){return dd(e,{SelectionSet:{enter:function(e,t,n){if(!n||"OperationDefinition"!==n.kind){var r=e.selections;if(r)if(!r.some((function(e){return qd(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var i=n;if(!(qd(i)&&i.directives&&i.directives.some((function(e){return"export"===e.name.value}))))return $c($c({},e),{selections:Wc(Wc([],r,!0),[Hd],!1)})}}}}})}),{added:function(e){return e===Hd}}),ep={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||__DEV__&&Jc.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),t}};function tp(e){var t=[];return e.selections.forEach((function(e){(qd(e)||jd(e))&&e.selectionSet?tp(e.selectionSet).forEach((function(e){return t.push(e)})):"FragmentSpread"===e.kind&&t.push(e)})),t}function np(e){return"query"===Bd(e).operation?e:dd(e,{OperationDefinition:{enter:function(e){return $c($c({},e),{operation:"query"})}}})}var rp=Object.prototype.hasOwnProperty;function ip(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ap(e)}function ap(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new sp,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var op=function(e,t,n){return this.merge(e[n],t[n])},sp=function(){function e(e){void 0===e&&(e=op),this.reconciler=e,this.isObject=Od,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return Od(t)&&Od(e)?(Object.keys(t).forEach((function(i){if(rp.call(e,i)){var a=e[i];if(t[i]!==a){var o=n.reconciler.apply(n,Wc([e,t,i],r,!1));o!==a&&((e=n.shallowCopyForMerge(e))[i]=o)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){if(Od(e)){if(this.pastCopies.has(e)){if(!Object.isFrozen(e))return e;this.pastCopies.delete(e)}e=Array.isArray(e)?e.slice(0):$c({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)}return e},e}();function lp(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return up(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return up(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function up(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fp(e,t,n){return t&&cp(e.prototype,t),n&&cp(e,n),e}var dp=function(){return"function"==typeof Symbol},pp=function(e){return dp()&&Boolean(Symbol[e])},hp=function(e){return pp(e)?Symbol[e]:"@@"+e};dp()&&!pp("observable")&&(Symbol.observable=Symbol("observable"));var mp=hp("iterator"),vp=hp("observable"),yp=hp("species");function gp(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function bp(e){var t=e.constructor;return void 0!==t&&null===(t=t[yp])&&(t=void 0),void 0!==t?t:Np}function wp(e){return e instanceof Np}function Ep(e){Ep.log?Ep.log(e):setTimeout((function(){throw e}))}function kp(e){Promise.resolve().then((function(){try{e()}catch(e){Ep(e)}}))}function _p(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=gp(t,"unsubscribe");n&&n.call(t)}}catch(e){Ep(e)}}function Sp(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function xp(e,t,n){e._state="running";var r=e._observer;try{var i=gp(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(Sp(e),!i)throw n;i.call(r,n);break;case"complete":Sp(e),i&&i.call(r)}}catch(e){Ep(e)}"closed"===e._state?_p(e):"running"===e._state&&(e._state="ready")}function Tp(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void kp((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(xp(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void xp(e,t,n);e._queue.push({type:t,value:n})}}var Op=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new Cp(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(Sp(this),_p(this))},fp(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),Cp=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){Tp(this._subscription,"next",e)},t.error=function(e){Tp(this._subscription,"error",e)},t.complete=function(){Tp(this._subscription,"complete")},fp(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),Np=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new Op(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(n,r){if("function"==typeof e)var i=t.subscribe({next:function(t){try{e(t,a)}catch(e){r(e),i.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function a(){i.unsubscribe(),n()}}))},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(bp(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(bp(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=bp(this),r=arguments.length>1,i=!1,a=arguments[1],o=a;return new n((function(n){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||r)try{o=e(o,t)}catch(e){return n.error(e)}else o=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(o),n.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=bp(this);return new i((function(t){var r,a=0;return function e(o){r=o.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){a===n.length?(r=void 0,t.complete()):e(i.from(n[a++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=bp(this);return new n((function(r){var i=[],a=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var a=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(a);e>=0&&i.splice(e,1),o()}});i.push(a)},error:function(e){r.error(e)},complete:function(){o()}});function o(){a.closed&&0===i.length&&r.complete()}
72return function(){i.forEach((function(e){return e.unsubscribe()})),a.unsubscribe()}}))},t[vp]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=gp(t,vp);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return wp(i)&&i.constructor===n?i:new n((function(e){return i.subscribe(e)}))}if(pp("iterator")&&(r=gp(t,mp)))return new n((function(e){kp((function(){if(!e.closed){for(var n,i=lp(r.call(t));!(n=i()).done;){var a=n.value;if(e.next(a),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){kp((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i="function"==typeof this?this:e;return new i((function(e){kp((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))},fp(e,null,[{key:yp,get:function(){return this}}]),e}();dp()&&Object.defineProperty(Np,Symbol("extensions"),{value:{symbol:vp,hostReportError:Ep},configurable:!0}),function(e){var t,n=e.Symbol;if("function"==typeof n)if(n.observable)t=n.observable;else{t="function"==typeof n.for?n.for("https://github.com/benlesh/symbol-observable"):n("https://github.com/benlesh/symbol-observable");try{n.observable=t}catch(e){}}else t="@@observable"}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")());var Rp=Np.prototype,Dp="@@observable";Rp[Dp]||(Rp[Dp]=function(){return this});var Ip=Object.prototype.toString;function Pp(e){return Fp(e)}function Fp(e,t){switch(Ip.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach((function(e,r){n[r]=Fp(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach((function(n){r[n]=Fp(e[n],t)})),r;default:return e}}function Ap(e){var t=new Set([e]);return t.forEach((function(e){Od(e)&&function(e){if(__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(n){Od(e[n])&&t.add(e[n])}))})),e}function Mp(e){return __DEV__&&Ap(e),e}
72function Lp(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function qp(e,t,n){return new Np((function(r){var i=r.next,a=r.error,o=r.complete,s=0,l=!1,u={then:function(e){return new Promise((function(t){return t(e())}))}};function c(e,t){return e?function(t){++s;var n=function(){return e(t)};u=u.then(n,n).then((function(e){--s,i&&i.call(r,e),l&&f.complete()}),(function(e){throw--s,e})).catch((function(e){a&&a.call(r,e)}))}:function(e){return t&&t.call(r,e)}}var f={next:c(t,i),error:c(n,a),complete:function(){l=!0,s||o&&o.call(r)}},d=e.subscribe(f);return function(){return d.unsubscribe()}}))}var jp="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product),zp="function"==typeof WeakSet,Vp="function"==typeof Symbol&&"function"==typeof Symbol.for;function $p(e){function t(t){Object.defineProperty(e,t,{value:Np})}return Vp&&Symbol.species&&t(Symbol.species),t("@@species"),e}function Qp(e){return e&&"function"==typeof e.then}var Up=function(e){function t(t){var n=e.call(this,(function(e){return n.addObserver(e),function(){return n.removeObserver(e)}}))||this;return n.observers=new Set,n.addCount=0,n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],Lp(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest=["error",e],n.reject(e),Lp(n.observers,"error",e))},complete:function(){if(null!==n.sub){var e=n.sources.shift();e?Qp(e)?e.then((function(e){return n.sub=e.subscribe(n.handlers)})):n.sub=e.subscribe(n.handlers):(n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),Lp(n.observers,"complete"))}}},n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch((function(e){})),"function"==typeof t&&(t=[new Np(t)]),Qp(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return Vc(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e),++this.addCount)},t.prototype.removeObserver=function(e,t){this.observers.delete(e)&&--this.addCount<1&&!t&&this.handlers.error(new Error("Observable cancelled prematurely"))},t.prototype.cleanup=function(e){var t=this,n=!1,r=function(){n||(n=!0,t.observers.delete(i),e())},i={next:r,error:r,complete:r},a=this.addCount;this.addObserver(i),this.addCount=a},t}(Np);function Bp(e){return Array.isArray(e)&&e.length>0}function Wp(e){return e.errors&&e.errors.length>0||!1}function Kp(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];void 0!==r&&(n[t]=r)}))})),n}$p(Up);var Hp=new Map;function Yp(e){var t=Hp.get(e)||1;return Hp.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function Gp(e,t){return Kp(e,t,t.variables&&{variables:$c($c({},e.variables),t.variables)})}var Jp=Vp?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function Xp(){var e=L.createContext[Jp];return e||(Object.defineProperty(L.createContext,Jp,{value:e=L.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var Zp=function(e){var t=e.client,n=e.children,r=Xp();return L.createElement(r.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?Jc(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):Jc(e.client,26),L.createElement(r.Provider,{value:e},n)}))};function eh(e){var t=L.useContext(Xp()),n=e||t.client;return __DEV__?Jc(!!n,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):Jc(!!n,29),n}function th(e){return e.hasOwnProperty("graphQLErrors")}var nh=function(e){function t(n){var r,i,a=n.graphQLErrors,o=n.clientErrors,s=n.networkError,l=n.errorMessage,u=n.extraInfo,c=e.call(this,l)||this;return c.graphQLErrors=a||[],c.clientErrors=o||[],c.networkError=s||null,c.message=l||(i="",(Bp((r=c).graphQLErrors)||Bp(r.clientErrors))&&(r.graphQLErrors||[]).concat(r.clientErrors||[]).forEac
72h((function(e){var t=e?e.message:"Error message not found.";i+="".concat(t,"\n")})),r.networkError&&(i+="".concat(r.networkError.message,"\n")),i=i.replace(/\n$/,"")),c.extraInfo=u,c.__proto__=t.prototype,c}return Vc(t,e),t}(Error);var rh="function"==typeof Object.is?Object.is:
73/**
74	 * @license React
75	 * use-sync-external-store-shim.production.min.js
76	 *
77	 * Copyright (c) Facebook, Inc. and its affiliates.
78	 *
79	 * This source code is licensed under the MIT license found in the
80	 * LICENSE file in the root directory of this source tree.
81	 */
82function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ih=L.useState,ah=L.useEffect,oh=L.useLayoutEffect,sh=L.useDebugValue;function lh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!rh(e,n)}catch(e){return!0}}var uh="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=ih({inst:{value:n,getSnapshot:t}}),i=r[0].inst,a=r[1];return oh((function(){i.value=n,i.getSnapshot=t,lh(i)&&a({inst:i})}),[e,n,t]),ah((function(){return lh(i)&&a({inst:i}),e((function(){lh(i)&&a({inst:i})}))}),[e]),sh(n),n},ch={useSyncExternalStore:void 0!==L.useSyncExternalStore?L.useSyncExternalStore:uh};
83/**
84	 * @license React
85	 * use-sync-external-store-shim.development.js
86	 *
87	 * Copyright (c) Facebook, Inc. and its affiliates.
88	 *
89	 * This source code is licensed under the MIT license found in the
90	 * LICENSE file in the root directory of this source tree.
91	 */
92n((function(e,t){}));var fh=n((function(e){e.exports=ch})),dh=Object.prototype,ph=dh.toString,hh=dh.hasOwnProperty,mh=Function.prototype.toString,vh=new Map;function yh(e,t){try{return gh(e,t)}finally{vh.clear()}}function gh(e,t){if(e===t)return!0;var n,r,i,a=ph.call(e);if(a!==ph.call(t))return!1;switch(a){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(kh(e,t))return!0;var o=bh(e),s=bh(t),l=o.length;if(l!==s.length)return!1;for(var u=0;u<l;++u)if(!hh.call(t,o[u]))return!1;for(u=0;u<l;++u){var c=o[u];if(!gh(e[c],t[c]))return!1}return!0;case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==""+t;case"[object Map]":case"[object Set]":if(e.size!==t.size)return!1;if(kh(e,t))return!0;for(var f=e.entries(),d="[object Map]"===a;;){var p=f.next();if(p.done)break;var h=p.value,m=h[0],v=h[1];if(!t.has(m))return!1;if(d&&!gh(v,t.get(m)))return!1}return!0;case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":var y=e.byteLength;if(y===t.byteLength)for(;y--&&e[y]===t[y];);return-1===y;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var g=mh.call(e);return g===mh.call(t)&&(r=Eh,!((i=(n=g).length-r.length)>=0&&n.indexOf(r,i)===i))}return!1}function bh(e){return Object.keys(e).filter(wh,e)}function wh(e){return void 0!==this[e]}var Eh="{ [native code] }";function kh(e,t){var n=vh.get(e);if(n){if(n.has(t))return!0}else vh.set(e,n=new Set);return n.add(t),!1}function _h(e){return new Np((function(t){t.error(e)}))}var Sh=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r};function xh(e,t){return t?t(e):Np.of()}function Th(e){return"function"==typeof e?new Nh(e):e}function Oh(e){return e.request.length<=1}var Ch=function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}return Vc(t,e),t}(Error),Nh=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return Np.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(Th).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var i=Th(n),a=Th(r||new e(xh));return Oh(i)&&Oh(a)?new e((function(e){return t(e)?i.request(e)||Np.of():a.request(e)||Np.of()})):new e((function(e,n){return t(e)?i.request(e,n)||Np.of():a.request(e,n)||Np.of()}))},e.execute=function(e,t){return e.request(function(e,t){var n=$c({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n=$c($c({},n),"function"==typeof e?e(n):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return $c({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?$d(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t.indexOf(i)<0)throw __DEV__?new Gc("illegal argument: ".concat(i)):new Gc(24)}return e}(t))))||Np.of()},e.concat=function(t,n){var r=Th(t);if(Oh(r))return __DEV__&&Jc.warn(new Ch("You are calling concat on a terminating link, which will have no effect",r)),r;var i=Th(n);return Oh(i)?new e((function(e){return r.request(e,(function(e){return i.request(e)||Np.of()}))||Np.of()})):new e((function(e,t){return r.request(e,(function(e){return i.request(e,t)||Np.of()}))||Np.of()}))},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(xh)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw __DEV__?new Gc("request is not implemented"):new Gc(19)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),Rh=Nh.empty,Dh=Nh.from,Ih=Nh.split,Ph=Nh.concat,Fh=Nh.execute,Ah=Object.prototype.hasOwnProperty;function Mh(e){return function(t){return t.text().then((function(e){try{return JSON.parse(e)}catch(r){var n=r;throw n.name="ServerParseError",n.response=t,n.statusCode=t.status,n.bodyText=e,n}})).then((function(n){return t.status>=300&&Sh(t,n,"Response not successful: Received status code ".concat(t.status)),Array.isArray(n)||Ah.call(n,"data")||Ah.call(n,"errors")||Sh(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName,"'.")),n}))}}var Lh=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var r=__DEV__?new Gc("Network request failed. ".concat(t," is not serializable: ").concat(e.message)):new Gc(21);throw r.parseError=e,r}return n},qh={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},jh=function(e,t){return t(e)};function zh(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={},a={};
92n.forEach((function(e){i=$c($c($c({},i),e.options),{headers:$c($c({},i.headers),Vh(e.headers))}),e.credentials&&(i.credentials=e.credentials),a=$c($c({},a),e.http)}));var o=e.operationName,s=e.extensions,l=e.variables,u=e.query,c={operationName:o,variables:l};return a.includeExtensions&&(c.extensions=s),a.includeQuery&&(c.query=t(u,hd)),{options:i,body:c}}function Vh(e){if(e){var t=Object.create(null);return Object.keys(Object(e)).forEach((function(n){t[n.toLowerCase()]=e[n]})),t}return e}var $h=function(e){if(!e&&"undefined"==typeof fetch)throw __DEV__?new Gc("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n  link: new HttpLink({ uri: '/graphql', fetch })\n});\n    "):new Gc(20)},Qh=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}},Uh=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")};function Bh(e,t){var n=[],r=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=Lh(t.variables,"Variables map")}catch(e){return{parseError:e}}r("variables",i)}if(t.extensions){var a=void 0;try{a=Lh(t.extensions,"Extensions map")}catch(e){return{parseError:e}}r("extensions",a)}var o="",s=e,l=e.indexOf("#");-1!==l&&(o=e.substr(l),s=e.substr(0,l));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+n.join("&")+o}}var Wh=tf((function(){return fetch})),Kh=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,i=e.print,a=void 0===i?jh:i,o=e.includeExtensions,s=e.useGETForQueries,l=e.includeUnusedVariables,u=void 0!==l&&l,c=Qc(e,["uri","fetch","print","includeExtensions","useGETForQueries","includeUnusedVariables"]);__DEV__&&$h(r||Wh);var f={http:{includeExtensions:o},options:c.fetchOptions,credentials:c.credentials,headers:c.headers};return new Nh((function(e){var t=Uh(e,n),i=e.getContext(),o={};if(i.clientAwareness){var l=i.clientAwareness,c=l.name,d=l.version;c&&(o["apollographql-client-name"]=c),d&&(o["apollographql-client-version"]=d)}var p,h=$c($c({},o),i.headers),m={http:i.http,options:i.fetchOptions,credentials:i.credentials,headers:h},v=zh(e,a,qh,f,m),y=v.options,g=v.body;if(g.variables&&!u){var b=new Set(Object.keys(g.variables));dd(e.query,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&b.delete(e.name.value)}}),b.size&&(g.variables=$c({},g.variables),b.forEach((function(e){delete g.variables[e]})))}if(!y.signal){var w=Qh(),E=w.controller,k=w.signal;(p=E)&&(y.signal=k)}if(s&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(y.method="GET"),"GET"===y.method){var _=Bh(t,g),S=_.newURI,x=_.parseError;if(x)return _h(x);t=S}else try{y.body=Lh(g,"Payload")}catch(x){return _h(x)}return new Np((function(n){return(r||tf((function(){return fetch}))||Wh)(t,y).then((function(t){return e.setContext({response:t}),t})).then(Mh(e)).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){p&&p.abort()}}))}))},Hh=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,Kh(t).request)||this;return n.options=t,n}return Vc(t,e),t}(Nh),Yh=function(){return Object.create(null)},Gh=Array.prototype,Jh=Gh.forEach,Xh=Gh.slice,Zh=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=Yh),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return Jh.call(e,(function(e){return t=t.getChildTrie(e)})),t.data||(t.data=this.makeData(Xh.call(e)))},e.prototype.getChildTrie=function(t){var n=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=n.get(t);return r||n.set(t,r=new e(this.weakness,this.makeData)),r},e}();var em=null,tm={},nm=1,rm="@wry/context:Slot",im=Array,am=im[rm]||function(){var e=function(){function e(){this.id=["slot",nm++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=em;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===tm)break;return e!==em&&(em.slots[this.id]=t),!0}return em&&(em.slots[this.id]=tm),!1},e.prototype.getValue=function(){if(this.hasValue())return em.slots[this.id]},e.prototype.withValue=function(e,t,n,r){var i,a=((i={__proto__:null})[this.id]=e,i),o=em;em={parent:o,slots:a};try{return t.apply(r,n)}finally{em=o}},e.bind=function(e){var t=em;return function(){var n=em;try{return em=t,e.apply(this,arguments)}finally{em=n}}},e.noContext=function(e,t,n){if(!em)return e.apply(n,t);var r=em;try{return em=null,e.apply(n,t)}finally{em=r}},e}();try{Object.defineProperty(im,rm,{value:im[rm]=e,enumerable:!1,writable:!1,
92configurable:!1})}finally{return e}}();function om(){}am.bind,am.noContext;var sm,lm=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=om),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var n=t.older,r=t.newer;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t},e.prototype.set=function(e,t){var n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),um=new am,cm=Object.prototype.hasOwnProperty,fm=void 0===(sm=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:sm;function dm(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var pm=[];function hm(e,t){if(!e)throw new Error(t||"assertion failure")}function mm(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var vm=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!bm(this))return ym(this),this.value[0]},e.prototype.recompute=function(e){return hm(!this.recomputing,"already recomputing"),ym(this),bm(this)?function(e,t){Tm(e),um.withValue(e,gm,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{dm(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,bm(e))return;Em(e)}(e);return mm(e.value)}(this,e):mm(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,wm(this),dm(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),Tm(this),km(this,(function(t,n){t.setDirty(),Om(t,e)}))},e.prototype.forget=function(){this.dispose()}
vendor: 11,878 bytes, line 92
92,e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=pm.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(fm(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),pm.push(this.deps),this.deps=null)},e.count=0,e}();function ym(e){var t=um.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),bm(e)?_m(t,e):Sm(t,e),t}function gm(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function bm(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function wm(e){km(e,_m)}function Em(e){km(e,Sm)}function km(e,t){var n=e.parents.size;if(n)for(var r=fm(e.parents),i=0;i<n;++i)t(r[i],e)}function _m(e,t){hm(e.childValues.has(t)),hm(bm(t));var n=!bm(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=pm.pop()||new Set;e.dirtyChildren.add(t),n&&wm(e)}function Sm(e,t){hm(e.childValues.has(t)),hm(!bm(t));var n=e.childValues.get(t);0===n.length?e.childValues.set(t,t.value.slice(0)):function(e,t){var n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}(n,t.value)||e.setDirty(),xm(e,t),bm(e)||Em(e)}function xm(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(pm.length<100&&pm.push(n),e.dirtyChildren=null))}function Tm(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){Om(e,n)})),e.forgetDeps(),hm(null===e.dirtyChildren)}function Om(e,t){t.parents.delete(e),e.childValues.delete(t),xm(e,t)}var Cm={setDirty:!0,dispose:!0,forget:!0};function Nm(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=um.getValue();if(r){var i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"==typeof n&&(dm(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){var r=t.get(e);if(r){var i=n&&cm.call(Cm,n)?n:"setDirty";fm(r).forEach((function(e){return e[i]()})),t.delete(e),dm(r)}},r}function Rm(){var e=new Zh("function"==typeof WeakMap);return function(){return e.lookupArray(arguments)}}Rm();var Dm=new Set;function Im(e,t){void 0===t&&(t=Object.create(null));var n=new lm(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=t.keyArgs,i=t.makeCacheKey||Rm(),a=function(){var a=i.apply(null,r?r.apply(null,arguments):arguments);if(void 0===a)return e.apply(null,arguments);var o=n.get(a);o||(n.set(a,o=new vm(e)),o.subscribe=t.subscribe,o.forget=function(){return n.delete(a)});var s=o.recompute(Array.prototype.slice.call(arguments));return n.set(a,o),Dm.add(n),um.hasValue()||(Dm.forEach((function(e){return e.clean()})),Dm.clear()),s};function o(e){var t=n.get(e);t&&t.setDirty()}function s(e){var t=n.get(e);if(t)return t.peek()}function l(e){return n.delete(e)}return Object.defineProperty(a,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1}),a.dirtyKey=o,a.dirty=function(){o(i.apply(null,arguments))},a.peekKey=s,a.peek=function(){return s(i.apply(null,arguments))},a.forgetKey=l,a.forget=function(){return l(i.apply(null,arguments))},a.makeCacheKey=i,a.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(a)}var Pm,Fm=function(){function e(){this.getFragmentDoc=Im(Sd)}return e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(n)}),r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read($c($c({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read($c($c({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,r=Qc(e,["id","data"]);return this.write(Object.assign(r,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,r=e.fragment,i=e.fragmentName,a=Qc(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(r,i),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var r=n.readQuery(e),i=t(r);return null==i?r:(n.writeQuery($c($c({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var r=n.readFragment(e),i=t(r);return null==i?r:(n.writeFragment($c($c({},e),{data:i})),i)}})},e}();Pm||(Pm={});var Am=function(e,t,n,r){this.message=e,this.path=t,this.query=n,this.variables=r},Mm=Object.prototype.hasOwnProperty;function Lm(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=void 0!==r?{id:r}:void 0!==i?{_id:i}:void 0),void 0===r&&(r=i),void 0!==r))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var qm={dataIdFromObject:Lm,addTypename:!0,resultCaching:!0,canonizeResults:!1};function jm(e){var t=e.canonizeResults;return void 0===t?qm.canonizeResults:t}var zm=/^[_a-z][_0-9a-z]*/i;function Vm(e){var t=e.match(zm);return t?t[0]:e}function $m(e,t,n){return!!Od(t)&&(Um(t)?t.every((function(t){return $m(e,t,n)})):e.selections.every((function(e){if(qd(e)&&Ed(e,n)){var r=Md(e);return Mm.call(t,r)&&(!e.selectionSet||$m(e.selectionSet,t[r],n))}return!0})))}function Qm(e){return Od(e)&&!Nd(e)&&!Um(e)}var Um=function(e){return Array.isArray(e)},Bm=Object.create(null),Wm=function(){return Bm},Km=Object.create(null),Hm=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return Mp(Nd(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Nd(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return Cd(e);if(Nd(e))return e;var r=n.policies.identify(e)[0];if(r){var i=Cd(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return $c({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),Mm.call(this.data,e)){var n=this.data[e];if(n&&Mm.call(n,t))return n[t]}return"__typename"===t&&Mm.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Xm?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),Mm.call(this.data,e)?this.data[e]:this instanceof Xm?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;Nd(e)&&(e=e.__ref),Nd(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(n=e):e,a="string"==typeof t?this.lookup(n=t):t;if(a){__DEV__?Jc("string"==typeof n,"store.merge expects a string ID"):Jc("string"==typeof n,1);var o=new sp(ev).merge(i,a);if(this.data[n]=o,o!==i&&(delete this.refs[n],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(a).forEach((function(e){if(!i||i[e]!==o[e]){s[e]=1;var t=Vm(e);t===e||r.policies.hasKeyArgs(o.__typename,t)||(s[t]=1),void 0!==o[e]||r instanceof Xm||delete o[e]}})),!s.__typename||i&&i.__typename||this.policies.rootTypenamesById[n]!==o.__typename||delete s.__typename,Object.keys(s).forEach((function(e){return r.group.dirty(n,e)}))}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),a=!1,o=!0,s={DELETE:Bm,INVALIDATE:Km,isReference:Nd,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||Cd(e)}:t,{store:n})}};if(Object.keys(r).forEach((function(l){var u=Vm(l),c=r[l];if(void 0!==c){var f="function"==typeof t?t:t[l]||t[u];if(f){var d=f===Wm?Bm:f(Mp(c),$c($c({},s),{fieldName:u,storeFieldName:l,storage:n.getStorage(e,l)}));d===Km?n.group.dirty(e,l):(d===Bm&&(d=void 0),d!==c&&(i[l]=d,a=!0,c=d))}void 0!==c&&(o=!1)}})),a)return this.merge(e,i),o&&(this instanceof Xm?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var a=this.getFieldValue(i,"__typename"),o=t&&n?this.policies.getStoreFieldName({typename:a,fieldName:t,args:n}):t;return this.modify(e,o?((r={})[o]=Wm,r):Wm)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(Mm.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof Xm&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){Mm.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&Mm.call(e,n)||t.delete(n)})),e){var n=e.__META,r=Qc(e,["__META"]);Object.keys(r).forEach((function(e){t.merge(e,r[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof Xm?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){Mm.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var i=this;i instanceof Xm;)i=i.parent;r.forEach((function(e){return i.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!Mm.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach((function(e){Nd(e)&&(t[e.__ref]=!0),Od(e)&&Object.keys(e).forEach((function(t){var n=e[t];Od(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Ym=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?Nm():null,this.keyMaker=new Zh(jp)},e.prototype.depend=function(e,t){if(this.d){this.d(Gm(e,t));var n=Vm(t);n!==t&&this.d(Gm(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(Gm(e,t),"__exists"===t?"forget":"setDirty")},e}();function Gm(e,t){return t+"#"+e}function Jm(e,t){tv(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=void 0===r||r,a=t.seed,o=e.call(this,n,new Ym(i))||this;return o.stump=new Zm(o),o.storageTrie=new Zh(jp),a&&o.replace(a),o}return Vc(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(Hm||(Hm={}));var Xm=function(e){function t(t,n,r,i){var a=e.call(this,n.policies,i)||this;return a.id=t,a.parent=n,a.replay=r,a.group=i,r(a),a}return Vc(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach((function(n){yh(r[n],i[n])||t.group.dirty(e,n)}
92)):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(n){t.group.dirty(e,n)}))):t.delete(e)})),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return $c($c({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return Mm.call(this.data,t)?$c($c({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(Hm),Zm=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new Ym(t.group.caching,t.group))||this}return Vc(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(Xm);function ev(e,t,n){var r=e[n],i=t[n];return yh(r,i)?r:i}function tv(e){return!!(e instanceof Hm&&e.group.caching)}var nv,rv,iv=function(){function e(){this.known=new(zp?WeakSet:Set),this.pool=new Zh(jp),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return Od(e)&&this.known.has(e)},e.prototype.pass=function(e){if(Od(e)){var t=function(e){return Od(e)?Um(e)?e.slice(0):$c({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if(Od(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(s=this.pool.lookupArray(r)).array||(this.known.add(s.array=r),__DEV__&&Object.freeze(r)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),a=[i],o=this.sortedKeys(e);a.push(o.json);var s,l=a.length;if(o.sorted.forEach((function(n){a.push(t.admit(e[n]))})),!(s=this.pool.lookupArray(a)).object){var u=s.object=Object.create(i);this.known.add(u),o.sorted.forEach((function(e,t){u[e]=a[l+t]})),__DEV__&&Object.freeze(u)}return s.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}(),av=Object.assign((function(e){if(Od(e)){void 0===nv&&ov();var t=nv.admit(e),n=rv.get(t);return void 0===n&&rv.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)}),{reset:ov});function ov(){nv=new iv,rv=new(jp?WeakMap:Map)}function sv(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var lv=function(){function e(e){var t=this;this.knownResults=new(jp?WeakMap:Map),this.config=Kp(e,{addTypename:!1!==e.addTypename,canonizeResults:jm(e)}),this.canon=e.canon||new iv,this.executeSelectionSet=Im((function(e){var n,r=e.context.canonizeResults,i=sv(e);i[3]=!r;var a=(n=t.executeSelectionSet).peek.apply(n,i);return a?r?$c($c({},a),{result:t.canon.admit(a.result)}):a:(Jm(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:sv,makeCacheKey:function(e,t,n,r){if(tv(n.store))return n.store.makeCacheKey(e,Nd(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=Im((function(e){return Jm(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(tv(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new iv},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.rootId,i=void 0===r?"ROOT_QUERY":r,a=e.variables,o=e.returnPartialData,s=void 0===o||o,l=e.canonizeResults,u=void 0===l?this.config.canonizeResults:l,c=this.config.cache.policies;a=$c($c({},Wd(Ud(n))),a);var f,d=Cd(i),p=new sp,h=this.executeSelectionSet({selectionSet:Bd(n).selectionSet,objectOrReference:d,enclosingRef:d,context:{store:t,query:n,policies:c,variables:a,varString:av(a),canonizeResults:u,fragmentMap:xd(Qd(n)),merge:function(e,t){return p.merge(e,t)}}});if(h.missing&&(f=[new Am(uv(h.missing),h.missing,n,a)],!s))throw f[0];return{result:h.result,complete:!f,missing:f}},e.prototype.isFresh=function(e,t,n,r){if(tv(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,i=e.enclosingRef,a=e.context;if(Nd(r)&&!a.policies.rootTypenamesById[r.__ref]&&!a.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var o,s=a.variables,l=a.policies,u=a.store.getFieldValue(r,"__typename"),c={};function f(e,t){var n;return e.missing&&(o=a.merge(o,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof u&&!l.rootIdsByTypename[u]&&(c={__typename:u});var d=new Set(n.selections);d.forEach((function(e){var n,p;
92if(Ed(e,s))if(qd(e)){var h=l.readField({fieldName:e.name.value,field:e,variables:a.variables,from:r},a),m=Md(e);void 0===h?Zd.added(e)||(o=a.merge(o,((n={})[m]="Can't find field '".concat(e.name.value,"' on ").concat(Nd(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):Um(h)?h=f(t.executeSubSelectedArray({field:e,array:h,enclosingRef:i,context:a}),m):e.selectionSet?null!=h&&(h=f(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:h,enclosingRef:Nd(h)?h:i,context:a}),m)):a.canonizeResults&&(h=t.canon.pass(h)),void 0!==h&&(c=a.merge(c,((p={})[m]=h,p)))}else{var v=Td(e,a.fragmentMap);v&&l.fragmentMatches(v,u)&&v.selectionSet.selections.forEach(d.add,d)}}));var p={result:c,missing:o},h=a.canonizeResults?this.canon.admit(p):Mp(p);return h.result&&this.knownResults.set(h.result,n),h},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,a=e.enclosingRef,o=e.context;function s(e,n){var r;return e.missing&&(t=o.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(i=i.filter(o.store.canRead)),i=i.map((function(e,t){return null===e?null:Um(e)?s(n.executeSubSelectedArray({field:r,array:e,enclosingRef:a,context:o}),t):r.selectionSet?s(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:Nd(e)?e:a,context:o}),t):(__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach((function(n){Od(n)&&(__DEV__?Jc(!Nd(n),"Missing selection set for object of type ".concat(function(e,t){return Nd(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,n)," returned for query field ").concat(t.name.value)):Jc(!Nd(n),5),Object.values(n).forEach(r.add,r))}))}}(o.store,r,e),e)})),{result:o.canonizeResults?this.canon.admit(i):i,missing:t}},e}();function uv(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(e){return e}}
vendor: 4,479 bytes, line 92
92var cv=new am,fv=new WeakMap;function dv(e){var t=fv.get(e);return t||fv.set(e,t={vars:new Set,dep:Nm()}),t}function pv(e){dv(e).vars.forEach((function(t){return t.forgetCache(e)}))}function hv(e){var t=new Set,n=new Set,r=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach((function(e){dv(e).dep.dirty(r),mv(e)}));var o=Array.from(n);n.clear(),o.forEach((function(t){return t(e)}))}}else{var s=cv.getValue();s&&(i(s),dv(s).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),dv(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function mv(e){e.broadcastWatches&&e.broadcastWatches()}var vv=Object.create(null);function yv(e){var t=JSON.stringify(e);return vv[t]||(vv[t]=Object.create(null))}function gv(e){var t=yv(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},i=n.keyObject=wv(e,(function(e){var i=_v(n.storeObject,e,r);return void 0===i&&t!==n.storeObject&&Mm.call(t,e[0])&&(i=_v(t,e,kv)),__DEV__?Jc(void 0!==i,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):Jc(void 0!==i,2),i}));return"".concat(n.typename,":").concat(JSON.stringify(i))})}function bv(e){var t=yv(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,a=n.fieldName,o=wv(e,(function(e){var n=e[0],a=n.charAt(0);if("@"!==a)if("$"!==a){if(t)return _v(t,e)}else{var o=n.slice(1);if(i&&Mm.call(i,o)){var s=e.slice(0);return s[0]=o,_v(i,s)}}else if(r&&Bp(r.directives)){var l=n.slice(1),u=r.directives.find((function(e){return e.name.value===l})),c=u&&Ad(u,i);return c&&_v(c,e.slice(1))}})),s=JSON.stringify(o);return(t||"{}"!==s)&&(a+=":"+s),a})}function wv(e,t){var n=new sp;return Ev(e).reduce((function(e,r){var i,a=t(r);if(void 0!==a){for(var o=r.length-1;o>=0;--o)(i={})[r[o]]=a,a=i;e=n.merge(e,a)}return e}),Object.create(null))}function Ev(e){var t=yv(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach((function(t,i){Um(t)?(Ev(t).forEach((function(e){return n.push(r.concat(e))})),r.length=0):(r.push(t),Um(e[i+1])||(n.push(r.slice(0)),r.length=0))}))}return t.paths}function kv(e,t){return e[t]}function _v(e,t,n){return n=n||kv,Sv(t.reduce((function e(t,r){return Um(t)?t.map((function(t){return e(t,r)})):t&&n(t,r)}),e))}function Sv(e){return Od(e)?Um(e)?e.map(Sv):wv(Object.keys(e).sort(),(function(t){return _v(e,t)})):e}function xv(e){return void 0!==e.args?e.args:e.field?Ad(e.field,e.variables):null}Id.setStringify(av);var Tv=function(){},Ov=function(e,t){return t.fieldName},Cv=function(e,t,n){return(0,n.mergeObjects)(e,t)},Nv=function(e,t){return t},Rv=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=$c({dataIdFromObject:Lm},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,r=this,i=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(i===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a,o=t&&t.storeObject||e,s=$c($c({},t),{typename:i,storeObject:o,readField:t&&t.readField||function(){var e=Iv(arguments,o);return r.readField(e,{store:r.cache.data,variables:e.variables})}}),l=i&&this.getTypePolicy(i),u=l&&l.keyFn||this.config.dataIdFromObject;u;){var c=u(e,s);if(!Um(c)){a=c;break}u=gv(c)}return a=a?String(a):void 0,s.keyObject?[a,s.keyObject]:[a]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var r=e[n],i=r.queryType,a=r.mutationType,o=r.subscriptionType,s=Qc(r,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),a&&t.setRootTypename("Mutation",n),o&&t.setRootTypename("Subscription",n),Mm.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,a=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?Cv:!1===t?Nv:e.merge}o(r,t.merge),r.keyFn=!1===i?Tv:Um(i)?gv(i):"function"==typeof i?i:r.keyFn,a&&Object.keys(a).forEac
92h((function(t){var r=n.getFieldPolicy(e,t,!0),i=a[t];if("function"==typeof i)r.read=i;else{var s=i.keyArgs,l=i.read,u=i.merge;r.keyFn=!1===s?Ov:Um(s)?bv(s):"function"==typeof s?s:r.keyFn,"function"==typeof l&&(r.read=l),o(r,u)}r.read&&r.merge&&(r.keyFn=r.keyFn||Ov)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(__DEV__?Jc(!r||r===e,"Cannot change root ".concat(e," __typename more than once")):Jc(!r||r===e,3),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(zm);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!Mm.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);r&&r.size&&r.forEach((function(e){var r=t.getTypePolicy(e),i=r.fields,a=Qc(r,["fields"]);Object.assign(n,a),Object.assign(n.fields,i)}))}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach((function(n){t.updateTypePolicy(e,n)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var o=this.getSupertypeSet(t,!0),s=[o],l=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},u=!(!n||!this.fuzzySubtypes.size),c=!1,f=0;f<s.length;++f){var d=s[f];if(d.has(a))return o.has(a)||(c&&__DEV__&&Jc.warn("Inferring subtype ".concat(t," of supertype ").concat(a)),o.add(a)),!0;d.forEach(l),u&&f===s.length-1&&$m(e.selectionSet,n,r)&&(u=!1,c=!0,this.fuzzySubtypes.forEach((function(e,n){var r=t.match(e);r&&r[0]===t&&l(n)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!(!n||!n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,i=this.getFieldPolicy(n,r,!1),a=i&&i.keyFn;if(a&&n)for(var o={typename:n,fieldName:r,field:e.field||null,variables:e.variables},s=xv(e);a;){var l=a(s,o);if(!Um(l)){t=l||r;break}a=bv(l)}return void 0===t&&(t=e.field?function(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var i=r.name,a=r.value;return Rd(n[e.name.value],i,a,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return Rd(r,n,i,t)}))),Id(e.name.value,r,n)}(e.field,e.variables):Id(r,xv(e))),!1===t?r:r===Vm(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),a=Vm(i),o=t.store.getFieldValue(n,i),s=this.getFieldPolicy(e.typename,a,!1),l=s&&s.read;if(l){var u=Dv(this,n,e,t,t.store.getStorage(Nd(n)?n.__ref:n,i));return cv.withValue(this.cache,l,[o,u])}return o}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var a=n.field,o=n.typename,s=n.merge;return s===Cv?Pv(r.store)(e,t):s===Nv?t:(r.overwrite&&(e=void 0),s(e,t,Dv(this,void 0,{typename:o,fieldName:a.name.value,field:a,variables:r.variables},r,i||Object.create(null))))},e}();function Dv(e,t,n,r,i){var a=e.getStoreFieldName(n),o=Vm(a),s=n.variables||r.variables,l=r.store,u=l.toReference,c=l.canRead;return{args:xv(n),field:n.field||null,fieldName:o,storeFieldName:a,variables:s,isReference:Nd,toReference:u,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(Iv(arguments,t,r),r)},mergeObjects:Pv(r.store)}}function Iv(e,t,n){var r,i,a,o=e[0],s=e[1],l=e.length;return"string"==typeof o?r={fieldName:o,from:l>1?s:t}:(r=$c({},o),Mm.call(r,"from")||(r.from=t)),__DEV__&&void 0===r.from&&__DEV__&&Jc.warn("Undefined 'from' passed to readField with arguments ".concat((i=Array.from(e),a=Yp("stringifyForDisplay"),JSON.stringify(i,(function(e,t){return void 0===t?a:t})).split(JSON.stringify(a)).join("<undefined>")))),void 0===r.variables&&(r.variables=n),r}function Pv(e){return function(t,n){if(Um(t)||Um(n))throw __DEV__?new Gc("Cannot automatically merge arrays"):new Gc(4);if(Od(t)&&Od(n)){var r=e.getFieldValue(t,"__typename"),i=e.getFieldValue(n,"__typename");if(r&&i&&r!==i)return n;if(Nd(t)&&Qm(n))return e.merge(t.__ref,n),t;if(Qm(t)&&Nd(n))return e.merge(t,n.__ref),n;if(Qm(t)&&Qm(n))return $c($c({},t),n)}return n}}function Fv(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:$c($c({},e),{clientOnly:t,deferred:n})),i}var Av=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e,t){var n=this,r=t.query,i=t.result,a=t.dataId,o=t.variables,s=t.overwrite,l=Vd(r),u=new sp;o=$c($c({},Wd(l)),o);var c={store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)},variables:o,varString:av(o),fragmentMap:xd(Qd(r)),overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},f=this.processSelectionSet({result:i||Object.create(null),dataId:a,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:c});if(!Nd(f))throw __DEV__?new Gc("Could not identify object ".concat(JSON.stringify(i))):new Gc(6);
92return c.incomingById.forEach((function(t,r){var i=t.storeObject,a=t.mergeTree,o=t.fieldNodeSet,s=Cd(r);if(a&&a.map.size){var l=n.applyMerges(a,s,i,c);if(Nd(l))return;i=l}if(__DEV__&&!c.overwrite){var u=Object.create(null);o.forEach((function(e){e.selectionSet&&(u[e.name.value]=!0)}));Object.keys(i).forEach((function(e){(function(e){return!0===u[Vm(e)]})(e)&&!function(e){var t=a&&a.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,r){var i=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},a=i(e);if(!a)return;var o=i(t);if(!o)return;if(Nd(a))return;if(yh(a,o))return;if(Object.keys(a).every((function(e){return void 0!==r.getFieldValue(o,e)})))return;var s=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),l=Vm(n),u="".concat(s,".").concat(l);if(Vv.has(u))return;Vv.add(u);var c=[];Um(a)||Um(o)||[a,o].forEach((function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||c.includes(t)||c.push(t)}));__DEV__&&Jc.warn("Cache data may be lost when replacing the ".concat(l," field of a ").concat(s," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(c.length?"either ensure all objects of type "+c.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(u," field, so InMemoryCache can safely merge these objects:\n\n  existing: ").concat(JSON.stringify(a).slice(0,1e3),"\n  incoming: ").concat(JSON.stringify(o).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n  * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n  * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}(s,i,e,c.store)}))}e.merge(r,i)})),e.retain(f.__ref),f},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,i=e.selectionSet,a=e.context,o=e.mergeTree,s=this.cache.policies,l=Object.create(null),u=n&&s.rootTypenamesById[n]||Ld(r,i,a.fragmentMap)||n&&a.store.get(n,"__typename");"string"==typeof u&&(l.__typename=u);var c=function(){var e=Iv(arguments,l,a.variables);if(Nd(e.from)){var t=a.incomingById.get(e.from.__ref);if(t){var n=s.readField($c($c({},e),{from:t.storeObject}),a);if(void 0!==n)return n}}return s.readField(e,a)},f=new Set;this.flattenFields(i,r,a,u).forEach((function(e,n){var i,a=Md(n),d=r[a];if(f.add(n),void 0!==d){var p=s.getStoreFieldName({typename:u,fieldName:n.name.value,field:n,variables:e.variables}),h=Lv(o,p),m=t.processFieldValue(d,n,n.selectionSet?Fv(e,!1,!1):e,h),v=void 0;n.selectionSet&&(Nd(m)||Qm(m))&&(v=c("__typename",m));var y=s.getMergeFunction(u,n.name.value,v);y?h.info={field:n,typename:u,merge:y}:zv(o,p),l=e.merge(l,((i={})[p]=m,i))}else!__DEV__||e.clientOnly||e.deferred||Zd.added(n)||s.getReadFunction(u,n.name.value)||__DEV__&&Jc.error("Missing field '".concat(Md(n),"' while writing result ").concat(JSON.stringify(r,null,2)).substring(0,1e3))}));try{var d=s.identify(r,{typename:u,selectionSet:i,fragmentMap:a.fragmentMap,storeObject:l,readField:c}),p=d[0],h=d[1];n=n||p,h&&(l=a.merge(l,h))}catch(e){if(!n)throw e}if("string"==typeof n){var m=Cd(n),v=a.written[n]||(a.written[n]=[]);if(v.indexOf(i)>=0)return m;if(v.push(i),this.reader&&this.reader.isFresh(r,m,i,a))return m;var y=a.incomingById.get(n);return y?(y.storeObject=a.merge(y.storeObject,l),y.mergeTree=qv(y.mergeTree,o),f.forEach((function(e){return y.fieldNodeSet.add(e)}))):a.incomingById.set(n,{storeObject:l,mergeTree:jv(o)?void 0:o,fieldNodeSet:f}),m}return l},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?Um(e)?e.map((function(e,a){var o=i.processFieldValue(e,t,n,Lv(r,a));return zv(r,a),o})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):__DEV__?Pp(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=Ld(t,e,n.fragmentMap));var i=new Map,a=this.cache.policies,o=new Zh(!1);return function e(s,l){var u=o.lookup(s,l.clientOnly,l.deferred);
vendor: 8,249 bytes, line 92
92u.visited||(u.visited=!0,s.selections.forEach((function(o){if(Ed(o,n.variables)){var s=l.clientOnly,u=l.deferred;if(s&&u||!Bp(o.directives)||o.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var r=Ad(e,n.variables);r&&!1===r.if||(u=!0)}})),qd(o)){var c=i.get(o);c&&(s=s&&c.clientOnly,u=u&&c.deferred),i.set(o,Fv(n,s,u))}else{var f=Td(o,n.fragmentMap);f&&a.fragmentMatches(f,r,t,n.variables)&&e(f.selectionSet,Fv(n,s,u))}}})))}(e,n),i},e.prototype.applyMerges=function(e,t,n,r,i){var a,o=this;if(e.map.size&&!Nd(n)){var s,l=Um(n)||!Nd(t)&&!Qm(t)?void 0:t,u=n;l&&!i&&(i=[Nd(l)?l.__ref:l]);var c=function(e,t){return Um(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var n=c(l,t),a=c(u,t);if(void 0!==a){i&&i.push(t);var f=o.applyMerges(e,n,a,r,i);f!==a&&(s=s||new Map).set(t,f),i&&Jc(i.pop()===t)}})),s&&(n=Um(u)?u.slice(0):$c({},u),s.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&(a=r.store).getStorage.apply(a,i)):n},e}(),Mv=[];function Lv(e,t){var n=e.map;return n.has(t)||n.set(t,Mv.pop()||{map:new Map}),n.get(t)}function qv(e,t){if(e===t||!t||jv(t))return e;if(!e||jv(e))return t;var n=e.info&&t.info?$c($c({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){var a=new Set(t.map.keys());e.map.forEach((function(e,n){i.map.set(n,qv(e,t.map.get(n))),a.delete(n)})),a.forEach((function(n){i.map.set(n,qv(t.map.get(n),e.map.get(n)))}))}return i}function jv(e){return!e||!(e.info||e.map.size)}function zv(e,t){var n=e.map,r=n.get(t);r&&jv(r)&&(Mv.push(r),n.delete(t))}var Vv=new Set;var $v,Qv=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.typenameDocumentCache=new Map,n.makeVar=hv,n.txCount=0,n.config=function(e){return Kp(qm,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new Rv({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return Vc(t,e),t.prototype.init=function(){var e=this.data=new Hm.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader;this.storeWriter=new Av(this,this.storeReader=new lv({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:jm(this.config),canon:e?void 0:n&&n.canon})),this.maybeBroadcastWatch=Im((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(tv(n)){var r=e.optimistic,i=e.rootId,a=e.variables;return n.makeCacheKey(e.query,e.callback,av({optimistic:r,rootId:i,variables:a}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore($c($c({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(e){if(e instanceof Am)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(Mm.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore($c($c({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||function(e){dv(e).vars.forEach((function(t){return t.attachCache(e)}))}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&pv(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){av.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(Nd(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){__DEV__&&Jc.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(Mm.call(e,"id"))return!1;e=$c($c({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),av.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),pv(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,r=e.update,i=e.optimistic,a=void 0===i||i,o=e.removeOptimistic,s=e.onWatchUpdated,l=function(e){var i=n,a=i.data,o=i.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=a,n.optimisticData=o}},u=new Set;return s&&!this.txCount&&this.broadcastWatches($c($c({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,l):!1===a?l(this.data):l(),"string"==typeof o&&(this.optimisticData=this.optimisticData.removeLayer(o)),s&&u.size?(this.broadcastWatches($c($c({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&u.delete(e),n}})),u.size&&u.forEach((function(e){return n.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Zd(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,r,n))||n&&yh(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(Fm);function Uv(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}($v||($v={}));var Bv=Object.assign,Wv=Object.hasOwnProperty,Kv=function(e){function t(t){var n=t.queryManager,r=t.queryInfo,i=t.options,a=e.call(this,(function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=Yv)}catch(e){}var n=!a.observers.size;a.observers.add(e);var r=a.last;return r&&r.error?e.error&&e.error(r.error):r&&r.result&&e.next&&e.next(r.result),n&&a.reobserve().catch((function(){})),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}}))||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=r,a.queryManager=n,a.isTornDown=!1,a.options=$c({initialFetchPolicy:i.fetchPolicy||"cache-first"},i),a.queryId=r.queryId||n.generateQueryId();var o=Vd(a.query);return a.queryName=o&&o.name&&o.name.value,a}return Vc(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables}
92,enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:n},i=e.subscribe(r)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||$v.ready,r=$c($c({},t),{loading:Uv(n),networkStatus:n}),i=this.options.fetchPolicy,a=void 0===i?"cache-first":i;if("network-only"===a||"no-cache"===a||"standby"===a||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var o=this.queryInfo.getDiff();(o.complete||this.options.returnPartialData)&&(r.data=o.result),yh(r.data,{})&&(r.data=void 0),o.complete?(delete r.partial,!o.complete||r.networkStatus!==$v.loading||"cache-first"!==a&&"cache-only"!==a||(r.networkStatus=$v.ready,r.loading=!1)):r.partial=!0,!__DEV__||o.complete||this.options.partialRefetch||r.loading||r.data||r.error||Gv(o.missing)}return e&&this.updateLastResult(r),r},t.prototype.isDifferentFromLastResult=function(e){return!this.last||!yh(this.last.result,e)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||yh(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},r=this.options.fetchPolicy;if(n.fetchPolicy="cache-and-network"===r?r:"no-cache"===r?"no-cache":"network-only",__DEV__&&e&&Wv.call(e,"variables")){var i=Ud(this.query),a=i.variableDefinitions;a&&a.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&Jc.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=i.name)||void 0===t?void 0:t.value)||JSON.stringify(i),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!yh(this.options.variables,e)&&(n.variables=this.options.variables=$c($c({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,$v.refetch)},t.prototype.fetchMore=function(e){var t=this,n=$c($c({},e.query?e:$c($c($c($c({},this.options),{query:this.query}),e),{variables:$c($c({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),r=this.queryManager.generateQueryId(),i=this.queryInfo,a=i.networkStatus;i.networkStatus=$v.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var o=new Set;return this.queryManager.fetchQuery(r,n,$v.fetchMore).then((function(s){return t.queryManager.removeQuery(r),i.networkStatus===$v.fetchMore&&(i.networkStatus=a),t.queryManager.cache.batch({update:function(r){var i=e.updateQuery;i?r.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return i(e,{fetchMoreResult:s.data,variables:n.variables})})):r.writeQuery({query:n.query,variables:n.variables,data:s.data})},onWatchUpdated:function(e){o.add(e.query)}}),s})).finally((function(){o.has(t.query)||Hv(t)}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var i=t.variables;return r(e,{subscriptionData:n,variables:i})}))},error:function(t){e.onError?e.onError(t):__DEV__&&Jc.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return yh(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},$v.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,i=t.initialFetchPolicy,a=void 0===i?r:i;"function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:a}):t.fetchPolicy="variables-changed"===e?a:t.nextFetchPolicy}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n){if(!t||t.interval!==n){__DEV__?Jc(n,"Attempted to start a polling query without a polling interval."):Jc(n,10),(t||(this.pollingInfo={})).interval=n;var r=function(){e.pollingInfo&&(Uv(e.queryInfo.networkStatus)?i():e.reobserve({fetchPolicy:"network-only"},$v.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};i()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=$c($c({},this.last),{result:this.queryManager.assumeImmutableResults?e:Pp(e),variables:t}),Bp(e.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(e,t){var n=this;this.isTornDown=!1;var r=t===$v.refetch||t===$v.fetchMore||t===$v.poll,i=this.options.variables,a=this.options.fetchPolicy,o=Gp(this.options,e||{}),s=r?o:Bv(this.options,o);r||(this.updatePolling(),!e||!e.variables||yh(e.variables,i)||e.fetchPolicy&&e.fetchPolicy!==a||(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=$v.setVariables)));var l=s.variables&&$c({},s.variables),u=this.fetch(s,t),c={next:function(e){n.reportResult(e,l)},error:function(e){n.reportError(e,l)}};return r||(this.concast&&this.observer&&this.concast.removeObserver(this.observer,!0),this.concast=u,this.observer=c),u.addObserver(c),u.promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError();(n||this.isDifferentFromLastResult(e))&&((n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),Lp(this.observers,"next",e))},t.prototype.reportError=function(e,t){var n=$c($c({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:$v.error,loading:!1});this.updateLastResult(n,t),Lp(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(Np);function Hv(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=r,"function"==typeof r?r.apply(this,arguments):n}}):e.reobserve()}function Yv(e){__DEV__&&Jc.error("Unhandled error",e.message,e.stack)}function Gv(e){__DEV__&&e&&__DEV__&&Jc.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}$p(Kv);var Jv=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=ip(t.resolvers,e)})):this.resolvers=ip(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,i=e.variables,a=e.onlyRunForcedResolvers,o=void 0!==a&&a;return Uc(this,void 0,void 0,(function(){return Bc(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,i,this.fragmentMatcher,o).then((function(e){return $c($c({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return kd(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return function(e){zd(e);var t=Xd([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=dd(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return qd(e)&&"__typename"===e.name.value})))return null}}})),t}(e)},e.prototype.prepareContext=function(e){var t=this.cache;return $c($c({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Uc(this,void 0,void 0,(function(){return Bc(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return $c($c({},t),e.exportedVariables)}))]:[2,$c({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return dd(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return fd}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:np(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,i,a){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===i&&(i=function(){return!0}),void 0===a&&(a=!1),Uc(this,void 0,void 0,(function(){var o,s,l,u,c,f,d,p,h;return Bc(this,(function(m){return o=Bd(e),s=Qd(e),l=xd(s),u=o.operation,c=u?u.charAt(0).toUpperCase()+u.slice(1):"Query",d=(f=this).cache,p=f.client,h={fragmentMap:l,context:$c($c({}
92,n),{cache:d,client:p}),variables:r,fragmentMatcher:i,defaultOperationType:c,exportedVariables:{},onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(o.selectionSet,t,h).then((function(e){return{result:e,exportedVariables:h.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return Uc(this,void 0,void 0,(function(){var r,i,a,o,s,l=this;return Bc(this,(function(u){return r=n.fragmentMap,i=n.context,a=n.variables,o=[t],s=function(e){return Uc(l,void 0,void 0,(function(){var s,l;return Bc(this,(function(u){return Ed(e,a)?qd(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&o.push(((n={})[Md(e)]=t,n))}))]:(jd(e)?s=e:(s=r[e.name.value],__DEV__?Jc(s,"No fragment named ".concat(e.name.value)):Jc(s,9)),s&&s.typeCondition&&(l=s.typeCondition.name.value,n.fragmentMatcher(t,l,i))?[2,this.resolveSelectionSet(s.selectionSet,t,n).then((function(e){o.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(s)).then((function(){return ap(o)}))]}))}))},e.prototype.resolveField=function(e,t,n){return Uc(this,void 0,void 0,(function(){var r,i,a,o,s,l,u,c,f,d=this;return Bc(this,(function(p){return r=n.variables,i=e.name.value,a=Md(e),o=i!==a,s=t[a]||t[i],l=Promise.resolve(s),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(u=t.__typename||n.defaultOperationType,(c=this.resolvers&&this.resolvers[u])&&(f=c[o?i:a])&&(l=Promise.resolve(cv.withValue(this.cache,f,[t,Ad(e,r),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,l.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?d.resolveSubSelectedArray(e,t,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}(),Xv=new(jp?WeakMap:Map);function Zv(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return Xv.set(e,(Xv.get(e)+1)%1e15),n.apply(this,arguments)})}function ey(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var ty=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;Xv.has(n)||(Xv.set(n,0),Zv(n,"evict"),Zv(n,"modify"),Zv(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||$v.loading;return this.variables&&this.networkStatus!==$v.loading&&!yh(this.variables,e.variables)&&(t=$v.setVariables),yh(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){ey(this),this.lastDiff=void 0,this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&yh(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var n=this.observableQuery;if(n&&"no-cache"===n.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(t);return this.updateLastDiff(r,t),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,n=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||yh(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():Hv(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
vendor: 4,169 bytes, line 92
92ey(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(Uv(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var r=$c($c({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&yh(r,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===Xv.get(this.cache)&&yh(t,n.variables)&&yh(e.data,n.result.data))},e.prototype.markResult=function(e,t,n){var r=this;this.graphQLErrors=Bp(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(t.variables)):0!==n&&(ny(e,t.errorPolicy)?this.cache.performTransaction((function(i){if(r.shouldWrite(e,t.variables))i.writeQuery({query:r.document,data:e.data,variables:t.variables,overwrite:1===n}),r.lastWrite={result:e,variables:t.variables,dmCount:Xv.get(r.cache)};else if(r.lastDiff&&r.lastDiff.diff.complete)return void(e.data=r.lastDiff.diff.result);var a=r.getDiffOptions(t.variables),o=i.diff(a);r.stopped||r.updateWatch(t.variables),r.updateLastDiff(o,a),o.complete&&(e.data=o.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=$v.ready},e.prototype.markError=function(e){return this.networkStatus=$v.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function ny(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!Wp(e);return!r&&n&&e.data&&(r=!0),r}var ry=Object.prototype.hasOwnProperty,iy=function(){function e(e){var t=e.cache,n=e.link,r=e.defaultOptions,i=e.queryDeduplication,a=void 0!==i&&i,o=e.onBroadcast,s=e.ssrMode,l=void 0!==s&&s,u=e.clientAwareness,c=void 0===u?{}:u,f=e.localState,d=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(jp?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=n,this.defaultOptions=r||Object.create(null),this.queryDeduplication=a,this.clientAwareness=c,this.localState=f||new Jv({cache:t}),this.ssrMode=l,this.assumeImmutableResults=!!d,(this.onBroadcast=o)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.cancelPendingFetches(__DEV__?new Gc("QueryManager stopped while query was in flight"):new Gc(11))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,n,r=e.mutation,i=e.variables,a=e.optimisticResponse,o=e.updateQueries,s=e.refetchQueries,l=void 0===s?[]:s,u=e.awaitRefetchQueries,c=void 0!==u&&u,f=e.update,d=e.onQueryUpdated,p=e.fetchPolicy,h=void 0===p?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":p,m=e.errorPolicy,v=void 0===m?(null===(n=this.defaultOptions.mutate)||void 0===n?void 0:n.errorPolicy)||"none":m,y=e.keepRootFields,g=e.context;return Uc(this,void 0,void 0,(function(){var e,t,n;return Bc(this,(function(s){switch(s.label){case 0:return __DEV__?Jc(r,"mutation option is required. You must specify your GraphQL document in the mutation option."):Jc(r,12),__DEV__?Jc("network-only"===h||"no-cache"===h,"Mutations supp
92ort only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):Jc("network-only"===h||"no-cache"===h,13),e=this.generateMutationId(),r=this.transform(r).document,i=this.getVariables(r,i),this.transform(r).hasClientExports?[4,this.localState.addExportedVariables(r,i,g)]:[3,2];case 1:i=s.sent(),s.label=2;case 2:return t=this.mutationStore&&(this.mutationStore[e]={mutation:r,variables:i,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:e,document:r,variables:i,fetchPolicy:h,errorPolicy:v,context:g,updateQueries:o,update:f,keepRootFields:y}),this.broadcastQueries(),n=this,[2,new Promise((function(s,u){return qp(n.getObservableFromLink(r,$c($c({},g),{optimisticResponse:a}),i,!1),(function(s){if(Wp(s)&&"none"===v)throw new nh({graphQLErrors:s.errors});t&&(t.loading=!1,t.error=null);var u=$c({},s);return"function"==typeof l&&(l=l(u)),"ignore"===v&&Wp(u)&&delete u.errors,n.markMutationResult({mutationId:e,result:u,document:r,variables:i,fetchPolicy:h,errorPolicy:v,context:g,update:f,updateQueries:o,awaitRefetchQueries:c,refetchQueries:l,removeOptimistic:a?e:void 0,onQueryUpdated:d,keepRootFields:y})})).subscribe({next:function(e){n.broadcastQueries(),s(e)},error:function(r){t&&(t.loading=!1,t.error=r),a&&n.cache.removeOptimistic(e),n.broadcastQueries(),u(r instanceof nh?r:new nh({networkError:r}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var r=e.result,i=[],a="no-cache"===e.fetchPolicy;if(!a&&ny(r,e.errorPolicy)){i.push({result:r.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables});var o=e.updateQueries;o&&this.queries.forEach((function(e,a){var s=e.observableQuery,l=s&&s.queryName;if(l&&ry.call(o,l)){var u=o[l],c=n.queries.get(a),f=c.document,d=c.variables,p=t.diff({query:f,variables:d,returnPartialData:!0,optimistic:!1}),h=p.result;if(p.complete&&h){var m=u(h,{mutationResult:r,queryName:f&&$d(f)||void 0,queryVariables:d});m&&i.push({result:m,dataId:"ROOT_QUERY",query:f,variables:d})}}}))}if(i.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var s=[];if(this.refetchQueries({updateCache:function(t){a||i.forEach((function(e){return t.write(e)}));var o=e.update;if(o){if(!a){var s=t.diff({id:"ROOT_MUTATION",query:n.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});s.complete&&(r=$c($c({},r),{data:s.result}))}o(t,r,{context:e.context,variables:e.variables})}a||e.keepRootFields||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return s.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(s).then((function(){return r}))}return Promise.resolve(r)},e.prototype.markMutationOptimistic=function(e,t){var n=this,r="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult($c($c({},t),{result:{data:r}}),e)}catch(e){__DEV__&&Jc.error(e)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,n){return this.fetchQueryObservable(e,t,n).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t,n=this.transformCache;if(!n.has(e)){var r=this.cache.transformDocument(e),i=(t=this.cache.transformForLink(r),Xd([ep],zd(t))),a=this.localState.clientQuery(r),o=i&&this.localState.serverQuery(i),s={document:r,hasClientExports:_d(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:a,serverQuery:o,defaultVars:Wd(Vd(r)),asQuery:$c($c({},r),{definitions:r.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?$c($c({},e),{operation:"query"}):e}))})},l=function(e){e&&!n.has(e)&&n.set(e,s)};l(e),l(r),l(a),l(o)}return n.get(e)},e.prototype.getVariables=function(e,t){return $c($c({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){void 0===(e=$c($c({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new ty(this),n=new Kv({queryManager:this,queryInfo:t,options:e});return this.queries.set(n.queryId,t),t.init({document:n.query,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?Jc(e.query,"query option is required. You must specify your GraphQL document in the query option."):Jc(e.query,14),__DEV__?Jc("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):Jc("Document"===e.query.kind,15),__DEV__?Jc(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):Jc(!e.returnPartialData,16),__DEV__?Jc(!e.pollInterval,"pollInterval option only supported on watchQuery."):Jc(!e.pollInterval,17),this.fetchQuery(t,e).finally((function(){return n.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new Gc("Store reset while query was in flight (not completed in link chain)"):new Gc(18)),this.queries.forEac
vendor: 6,392 bytes, line 92
92h((function(e){e.observableQuery?e.networkStatus=$v.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,r=new Map,i=new Set;return Array.isArray(e)&&e.forEach((function(e){var n;"string"==typeof e?r.set(e,!1):Od(n=e)&&"Document"===n.kind&&Array.isArray(n.definitions)?r.set(t.transform(e).document,!1):Od(e)&&e.query&&i.add(e)})),this.queries.forEach((function(t,i){var a=t.observableQuery,o=t.document;if(a){if("all"===e)return void n.set(i,a);var s=a.queryName;if("standby"===a.options.fetchPolicy||"active"===e&&!a.hasObservers())return;("active"===e||s&&r.has(s)||o&&r.has(o))&&(n.set(i,a),s&&r.set(s,!0),o&&r.set(o,!0))}})),i.size&&i.forEach((function(e){var r=Yp("legacyOneTimeQuery"),i=t.getQuery(r).init({document:e.query,variables:e.variables}),a=new Kv({queryManager:t,queryInfo:i,options:$c($c({},e),{fetchPolicy:"network-only"})});Jc(a.queryId===r),i.setObservableQuery(a),n.set(r,a)})),__DEV__&&r.size&&r.forEach((function(e,t){e||__DEV__&&Jc.warn("Unknown query ".concat("string"==typeof t?"named ":"").concat(JSON.stringify(t,null,2)," requested in refetchQueries options.include array"))})),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach((function(r,i){var a=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==a&&"cache-only"!==a)&&n.push(r.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,i=e.errorPolicy,a=e.variables,o=e.context,s=void 0===o?{}:o;n=this.transform(n).document,a=this.getVariables(n,a);var l=function(e){return t.getObservableFromLink(n,s,e).map((function(a){if("no-cache"!==r&&(ny(a,i)&&t.cache.write({query:n,result:a.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),Wp(a))throw new nh({graphQLErrors:a.errors});return a}))};if(this.transform(n).hasClientExports){var u=this.localState.addExportedVariables(n,a,s).then(l);return new Np((function(e){var t=null;return u.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return l(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r){var i,a,o=this;void 0===r&&(r=null!==(i=null==t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var s=this.transform(e).serverQuery;if(s){var l=this.inFlightLinkObservables,u=this.link,c={query:s,variables:n,operationName:$d(s)||void 0,context:this.prepareContext($c($c({},t),{forceFetch:!r}))};if(t=c.context,r){var f=l.get(s)||new Map;l.set(s,f);var d=av(n);if(!(a=f.get(d))){var p=new Up([Fh(u,c)]);f.set(d,a=p),p.cleanup((function(){f.delete(d)&&f.size<1&&l.delete(s)}))}}else a=new Up([Fh(u,c)])}else a=new Up([Np.of({data:{}})]),t=this.prepareContext(t);var h=this.transform(e).clientQuery;return h&&(a=qp(a,(function(e){return o.localState.runResolvers({document:h,remoteResult:e,context:t,variables:n})}))),a},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId();return qp(this.getObservableFromLink(e.document,n.context,n.variables),(function(i){var a=Bp(i.errors);if(r>=e.lastRequestId){if(a&&"none"===n.errorPolicy)throw e.markError(new nh({graphQLErrors:i.errors}));e.markResult(i,n,t),e.markReady()}var o={data:i.data,loading:!1,networkStatus:$v.ready};return a&&"ignore"!==n.errorPolicy&&(o.errors=i.errors,o.networkStatus=$v.error),o}),(function(t){var n=th(t)?t:new nh({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchQueryObservable=function(e,t,n){var r=this;void 0===n&&(n=$v.loading);var i=this.transform(t.query).document,a=this.getVariables(i,t.variables),o=this.getQuery(e),s=this.defaultOptions.watchQuery,l=t.fetchPolicy,u=void 0===l?s&&s.fetchPolicy||"cache-first":l,c=t.errorPolicy,f=void 0===c?s&&s.errorPolicy||"none":c,d=t.returnPartialData,p=void 0!==d&&d,h=t.notifyOnNetworkStatusChange,m=void 0!==h&&h,v=t.context,y=void 0===v?{}:v,g=Object.assign({},t,{query:i,variables:a,fetchPolicy:u,errorPolicy:f,returnPartialData:p,notifyOnNetworkStatusChange:m,context:y}),b=function(e){return g.variables=e,r.fetchQueryByPolicy(o,g,n)};this.fetchCancelFns.set(e,(function(e){setTimeout((function(){return w.cancel(e)}))}));var w=new Up(this.transform(g.query).hasClientExports?this.localState.addExportedVariables(g.query,g.variables,g.context).then(b):b(g.variables));return w.cleanup((function(){r.fetchCancelFns.delete(e),o.observableQuery&&o.observableQuery.applyNextFetchPolicy("after-fetch",t)})),w},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,a=void 0!==i&&i,o=e.removeOptimistic,s=void 0===o?a?Yp("refetchQueries"):void 0:o,l=e.onQueryUpdated,u=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){u.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})}));var c=new Map;return n&&this.cache.batch({update:n,optimistic:a&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof ty&&e.watcher.observableQuery;if(r){if(l){u.delete(r.queryId);var i=l(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&c.set(r,i),i}null!==l&&u.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),u.size&&u.forEach((function(e,n){var r,i=e.oq,a=e.lastDiff,o=e.diff;if(l){if(!o){var s=i.queryInfo;s.reset(),o=s.getDiff()}r=l(i,o,a)}l&&!0!==r||(r=i.refetch()),!1!==r&&c.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),s&&this.cache.removeOptimistic(s),c},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,i=t.query,a=t.variables,o=t.fetchPolicy,s=t.refetchWritePolicy,l=t.errorPolicy,u=t.returnPartialData,c=t.context,f
92=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:this.transform(i).document,variables:a,networkStatus:n});var p=function(){return e.getDiff(a)},h=function(t,n){void 0===n&&(n=e.networkStatus||$v.loading);var o=t.result;!__DEV__||u||yh(o,{})||Gv(t.missing);var s=function(e){return Np.of($c({data:e,loading:Uv(n),networkStatus:n},t.complete?null:{partial:!0}))};return o&&r.transform(i).hasForcedResolvers?r.localState.runResolvers({document:i,remoteResult:{data:o},context:c,variables:a,onlyRunForcedResolvers:!0}).then((function(e){return s(e.data||void 0)})):s(o)},m="no-cache"===o?0:n===$v.refetch&&"merge"!==s?1:2,v=function(){return r.getResultsFromLink(e,m,{variables:a,context:c,fetchPolicy:o,errorPolicy:l})},y=f&&"number"==typeof d&&d!==n&&Uv(n);switch(o){default:case"cache-first":return(g=p()).complete?[h(g,e.markReady())]:u||y?[h(g),v()]:[v()];case"cache-and-network":var g;return(g=p()).complete||u||y?[h(g),v()]:[v()];case"cache-only":return[h(p(),e.markReady())];case"network-only":return y?[h(p()),v()]:[v()];case"no-cache":return y?[h(e.getDiff()),v()]:[v()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new ty(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return $c($c({},t),{clientAwareness:this.clientAwareness})},e}(),ay=!1,oy=function(){function e(e){var t=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,r=e.credentials,i=e.headers,a=e.cache,o=e.ssrMode,s=void 0!==o&&o,l=e.ssrForceFetchDelay,u=void 0===l?0:l,c=e.connectToDevTools,f=void 0===c?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:c,d=e.queryDeduplication,p=void 0===d||d,h=e.defaultOptions,m=e.assumeImmutableResults,v=void 0!==m&&m,y=e.resolvers,g=e.typeDefs,b=e.fragmentMatcher,w=e.name,E=e.version,k=e.link;if(k||(k=n?new Hh({uri:n,credentials:r,headers:i}):Nh.empty()),!a)throw __DEV__?new Gc("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new Gc(7);if(this.link=k,this.cache=a,this.disableNetworkFetches=s||u>0,this.queryDeduplication=p,this.defaultOptions=h||Object.create(null),this.typeDefs=g,u&&setTimeout((function(){return t.disableNetworkFetches=!1}),u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),f&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!ay&&__DEV__&&(ay=!0,"undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var _=window.navigator,S=_&&_.userAgent,x=void 0;"string"==typeof S&&(S.indexOf("Chrome/")>-1?x="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":S.indexOf("Firefox/")>-1&&(x="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),x&&__DEV__&&Jc.log("Download the Apollo DevTools for a better development experience: "+x)}this.version="3.6.1",this.localState=new Jv({cache:a,client:this,resolvers:y,fragmentMatcher:b}),this.queryManager=new iy({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:p,ssrMode:s,clientAwareness:{name:w,version:E},localState:this.localState,assumeImmutableResults:v,onBroadcast:f?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Gp(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=$c($c({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Gp(this.defaultOptions.query,e)),__DEV__?Jc("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):Jc("cache-and-network"!==e.fetchPolicy,8),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=$c($c({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Gp(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Fh(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach((function(e,t){n.push(t),r.push(e)}));var i=Promise.all(r);return i.queries=n,i.results=r,i.catch((function(e){__DEV__&&Jc.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))})),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}(),sy=new Map,ly=new Map,uy=!0,cy=!1;function fy(e){return e.replace(/[\s,]+/g," ").trim()}function dy(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,i=fy((o=e.loc).source.body.substring(o.start,o.end)),a=ly.get(r);a&&!a.has(i)?uy&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||ly.set(r,a=new Set),a.add(i),t.has(i)||(t.add(i),n.push(e))}else n.push(e);var o})),$c($c({},e),{definitions:n})}function py(e){var t=fy(e);if(!sy.has(t)){var n=function(e,t){return new ad(e,t).parseDocument()}(e,{experimentalFragmentVariables:cy,allowLegacyFragmentVariables:cy});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");sy.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)}))}
92));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(dy(n)))}return sy.get(t)}function hy(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),py(r)}function my(){sy.clear(),ly.clear()}function vy(){uy=!1}function yy(){cy=!0}function gy(){cy=!1}var by,wy,Ey=hy,ky=my,_y=vy,Sy=yy,xy=gy;(by=hy||(hy={})).gql=Ey,by.resetCaches=ky,by.disableFragmentWarnings=_y,by.enableExperimentalFragmentVariables=Sy,by.disableExperimentalFragmentVariables=xy,hy.default=hy,function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(wy||(wy={}));var Ty=new Map;function Oy(e){var t;switch(e){case wy.Query:t="Query";break;case wy.Mutation:t="Mutation";break;case wy.Subscription:t="Subscription"}return t}function Cy(e){var t,n,r=Ty.get(e);if(r)return r;__DEV__?Jc(!!e&&!!e.kind,"Argument of ".concat(e," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):Jc(!!e&&!!e.kind,30);for(var i=[],a=[],o=[],s=[],l=0,u=e.definitions;l<u.length;l++){var c=u[l];if("FragmentDefinition"!==c.kind){if("OperationDefinition"===c.kind)switch(c.operation){case"query":a.push(c);break;case"mutation":o.push(c);break;case"subscription":s.push(c)}}else i.push(c)}__DEV__?Jc(!i.length||a.length||o.length||s.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):Jc(!i.length||a.length||o.length||s.length,31),__DEV__?Jc(a.length+o.length+s.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(e," had ").concat(a.length," queries, ").concat(s.length," ")+"subscriptions and ".concat(o.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):Jc(a.length+o.length+s.length<=1,32),n=a.length?wy.Query:wy.Mutation,a.length||o.length||(n=wy.Subscription);var f=a.length?a:o.length?o:s;__DEV__?Jc(1===f.length,"react-apollo only supports one definition per HOC. ".concat(e," had ")+"".concat(f.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):Jc(1===f.length,33);var d=f[0];t=d.variableDefinitions||[];var p={name:d.name&&"Name"===d.name.kind?d.name.value:"data",type:n,variables:t};return Ty.set(e,p),p}function Ny(e,t){var n=Cy(e),r=Oy(t),i=Oy(n.type);__DEV__?Jc(n.type===t,"Running a ".concat(r," requires a graphql ")+"".concat(r,", but a ").concat(i," was used instead.")):Jc(n.type===t,34)}var Ry=Object.prototype.hasOwnProperty;function Dy(e,t){return void 0===t&&(t=Object.create(null)),Iy(eh(t.client),e).useQuery(t)}function Iy(e,t){var n=L.useRef();n.current&&e===n.current.client&&t===n.current.query||(n.current=new Py(e,t));var r=n.current,i=L.useState(0);i[0];var a=i[1];return r.forceUpdate=function(){a((function(e){return e+1}))},r}var Py=function(){function e(e,t){this.client=e,this.query=t,this.ssrDisabledResult=Mp({loading:!0,data:void 0,error:void 0,networkStatus:$v.loading}),this.skipStandbyResult=Mp({loading:!1,data:void 0,error:void 0,networkStatus:$v.ready}),this.toQueryResultCache=new(jp?WeakMap:Map),Ny(t,wy.Query)}return e.prototype.forceUpdate=function(){},e.prototype.useQuery=function(e){var t=this;this.renderPromises=L.useContext(Xp()).renderPromises,this.useOptions(e);var n=this.useObservableQuery(),r=fh.useSyncExternalStore(L.useCallback((function(){if(t.renderPromises)return function(){};var e=function(){var e=t.result,r=n.getCurrentResult();e&&e.loading===r.loading&&e.networkStatus===r.networkStatus&&yh(e.data,r.data)||t.setResult(r)},r=function(a){var o=n.last;i.unsubscribe();try{n.resetLastResults(),i=n.subscribe(e,r)}finally{n.last=o}if(!Ry.call(a,"graphQLErrors"))throw a;var s=t.result;(!s||s&&s.loading||!yh(a,s.error))&&t.setResult({data:s&&s.data,error:a,loading:!1,networkStatus:$v.error})},i=n.subscribe(e,r);return function(){return i.unsubscribe()}}),[n,this.renderPromises,this.client.disableNetworkFetches]),(function(){return t.getCurrentResult()}));return this.unsafeHandlePartialRefetch(r),this.toQueryResult(r)},e.prototype.useOptions=function(t){var n,r=this.createWatchQueryOptions(this.queryHookOptions=t),i=this.watchQueryOptions;yh(r,i)||(this.watchQueryOptions=r,i&&this.observable&&(this.observable.reobserve(r),this.previousData=(null===(n=this.result)||void 0===n?void 0:n.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,(this.renderPromises||this.client.disableNetworkFetches)&&!1===this.queryHookOptions.ssr?this.result=this.ssrDisabledResult:this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:this.result!==this.ssrDisabledResult&&this.result!==this.skipStandbyResult||(this.result=void 0)},e.prototype.createWatchQueryOptions=function(e){void 0===e&&(e={});var t=e.skip;e.ssr,e.onCompleted,e.onError,e.displayName;
92var n=e.defaultOptions,r=Qc(e,["skip","ssr","onCompleted","onError","displayName","defaultOptions"]),i=[],a=this.client.defaultOptions.watchQuery;a&&i.push(a),n&&i.push(n);var o=this.observable&&this.observable.options;if(o&&i.length){var s=i.reduce(Gp,Object.create(null));i.length=1,i[0]=s,Object.keys(s).forEach((function(e){var t=o[e];Ry.call(o,e)&&!yh(s[e],t)&&(s[e]="variables"===e?$c($c({},s.variables),t):t)}))}i.push(r);var l=i.reduce(Gp,Object.create(null)),u=Object.assign(l,{query:this.query});if((!this.renderPromises||"network-only"!==u.fetchPolicy&&"cache-and-network"!==u.fetchPolicy)&&u.fetchPolicy||(u.fetchPolicy="cache-first"),t){var c=u.initialFetchPolicy,f=void 0===c?u.fetchPolicy:c;Object.assign(u,{initialFetchPolicy:f,fetchPolicy:"standby"})}return u.variables||(u.variables={}),u},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery($c({},this.watchQueryOptions));(this.obsQueryFields=L.useMemo((function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}),[e]),this.renderPromises)&&(this.renderPromises.registerSSRObservable(e),!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip)&&e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e));return e},e.prototype.setResult=function(e){var t=this.result;t&&t.data&&(this.previousData=t.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e)},e.prototype.handleErrorOrCompleted=function(e){e.loading||(e.error?this.onError(e.error):e.data&&this.onCompleted(e.data))},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var t=this.toQueryResultCache.get(e);if(t)return t;var n=e.data;e.partial;var r=Qc(e,["data","partial"]);return this.toQueryResultCache.set(e,t=$c($c($c({data:n},r),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!0,previousData:this.previousData})),!t.error&&Bp(e.errors)&&(t.error=new nh({graphQLErrors:e.errors})),t},e.prototype.unsafeHandlePartialRefetch=function(e){!e.partial||!this.queryHookOptions.partialRefetch||e.loading||e.data&&0!==Object.keys(e.data).length||"cache-only"===this.observable.options.fetchPolicy||(Object.assign(e,{loading:!0,networkStatus:$v.refetch}),this.observable.refetch())},e}(),Fy=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function Ay(e,t){var n=eh(null==t?void 0:t.client);Ny(e,wy.Mutation);var r=L.useState({called:!1,loading:!1,client:n}),i=r[0],a=r[1],o=L.useRef({result:i,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});Object.assign(o.current,{client:n,options:t,mutation:e});var s=L.useCallback((function(e){void 0===e&&(e={});var t=o.current,n=t.client,r=t.options,i=t.mutation,s=$c($c({},r),{mutation:i});o.current.result.loading||s.ignoreResults||a(o.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:n});var l=++o.current.mutationId,u=Gp(s,e);return n.mutate(u).then((function(t){var r,i,c=t.data,f=t.errors,d=f&&f.length>0?new nh({graphQLErrors:f}):void 0;if(l===o.current.mutationId&&!u.ignoreResults){var p={called:!0,loading:!1,data:c,error:d,client:n};o.current.isMounted&&!yh(o.current.result,p)&&a(o.current.result=p)}return null===(r=s.onCompleted)||void 0===r||r.call(s,t.data),null===(i=e.onCompleted)||void 0===i||i.call(e,t.data),t})).catch((function(t){var r,i;if(l===o.current.mutationId&&o.current.isMounted){var c={loading:!1,error:t,data:void 0,called:!0,client:n};yh(o.current.result,c)||a(o.current.result=c)}if(s.onError||u.onError)return null===(r=s.onError)||void 0===r||r.call(s,t),null===(i=e.onError)||void 0===i||i.call(e,t),{data:void 0,errors:t};throw t}))}),[]),l=L.useCallback((function(){a({called:!1,loading:!1,client:n})}),[]);return L.useEffect((function(){return o.current.isMounted=!0,function(){o.current.isMounted=!1}}),[]),[s,$c({reset:l},i)]}var My=Object.freeze({__proto__:null,ApolloClient:oy,mergeOptions:Gp,ObservableQuery:Kv,get NetworkStatus(){return $v},isApolloError:th,ApolloError:nh,get Cache(){return Pm},ApolloCache:Fm,InMemoryCache:Qv,MissingFieldError:Am,defaultDataIdFromObject:Lm,makeVar:hv,fromError:_h,toProm
92ise:function(e){var t=!1;return new Promise((function(n,r){e.subscribe({next:function(e){t?__DEV__&&Jc.warn("Promise Wrapper does not support multiple results from Observable"):(t=!0,n(e))},error:r})}))},fromPromise:function(e){return new Np((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))},throwServerError:Sh,Observable:Np,isReference:Nd,makeReference:Cd,get gql(){return hy},resetCaches:my,disableFragmentWarnings:vy,enableExperimentalFragmentVariables:yy,disableExperimentalFragmentVariables:gy,empty:Rh,from:Dh,split:Ih,concat:Ph,execute:Fh,ApolloLink:Nh,parseAndCheckHttpResponse:Mh,serializeFetchParameter:Lh,fallbackHttpConfig:qh,defaultPrinter:jh,selectHttpOptionsAndBody:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return n.unshift(t),zh.apply(void 0,Wc([e,jh],n,!1))},selectHttpOptionsAndBodyInternal:zh,checkFetcher:$h,createSignalIfSupported:Qh,selectURI:Uh,createHttpLink:Kh,HttpLink:Hh,rewriteURIForGET:Bh,setLogVerbosity:function(e){var t=Xc[Zc];return Zc=Math.max(0,Xc.indexOf(e)),t},ApolloProvider:Zp,ApolloConsumer:function(e){var t=Xp();return L.createElement(t.Consumer,null,(function(t){return __DEV__?Jc(t&&t.client,'Could not find "client" in the context of ApolloConsumer. Wrap the root component in an <ApolloProvider>.'):Jc(t&&t.client,25),e.children(t.client)}))},getApolloContext:Xp,resetApolloContext:Xp,get DocumentType(){return wy},operationName:Oy,parser:Cy,useQuery:Dy,useApolloClient:eh,useLazyQuery:function(e,t){var n=Iy(eh(t&&t.client),e),r=L.useRef(),i=n.client.defaultOptions.watchQuery,a=t&&t.fetchPolicy||r.current&&r.current.fetchPolicy||i&&i.fetchPolicy||"cache-first",o=n.useQuery($c($c($c({},t),r.current),{skip:!r.current})),s=Object.assign(o,{called:!!r.current}),l=L.useMemo((function(){for(var e={},t=function(t){var i=s[t];e[t]=function(){return r.current||(r.current=Object.create(null),n.forceUpdate()),i.apply(this,arguments)}},i=0,a=Fy;i<a.length;i++){t(a[i])}return e}),[]);Object.assign(s,l);var u=L.useCallback((function(e){var t=s.reobserve(r.current=e?$c($c({},e),{fetchPolicy:e.fetchPolicy||a}):{fetchPolicy:a}).then((function(e){if((e=e||n.getCurrentResult()).error||Bp(e.errors)){var t=s.observable.options.errorPolicy;if("none"===(void 0===t?"none":t))throw e.error||new nh({graphQLErrors:e.errors})}return n.toQueryResult(e)})).then((function(e){return Object.assign(e,l)}));return n.forceUpdate(),t.catch((function(){})),t}),[]);return[u,s]},useMutation:Ay,useSubscription:function(e,t){var n=eh(null==t?void 0:t.client);Ny(e,wy.Subscription);var r=L.useState({loading:!(null==t?void 0:t.skip),error:void 0,data:void 0,variables:null==t?void 0:t.variables}),i=r[0],a=r[1],o=L.useState((function(){return(null==t?void 0:t.skip)?null:n.subscribe({query:e,variables:null==t?void 0:t.variables,fetchPolicy:null==t?void 0:t.fetchPolicy,context:null==t?void 0:t.context})})),s=o[0],l=o[1],u=L.useRef({client:n,subscription:e,options:t});return L.useEffect((function(){var r,i,o,s,c=null==t?void 0:t.shouldResubscribe;"function"==typeof c&&(c=!!c(t)),(null==t?void 0:t.skip)?!(null==t?void 0:t.skip)!=!(null===(r=u.current.options)||void 0===r?void 0:r.skip)&&
92(a({loading:!1,data:void 0,error:void 0,variables:null==t?void 0:t.variables}),l(null)):!1===c||n===u.current.client&&e===u.current.subscription&&(null==t?void 0:t.fetchPolicy)===(null===(i=u.current.options)||void 0===i?void 0:i.fetchPolicy)&&!(null==t?void 0:t.skip)==!(null===(o=u.current.options)||void 0===o?void 0:o.skip)&&yh(null==t?void 0:t.variables,null===(s=u.current.options)||void 0===s?void 0:s.variables)||(a({loading:!0,data:void 0,error:void 0,variables:null==t?void 0:t.variables}),l(n.subscribe({query:e,variables:null==t?void 0:t.variables,fetchPolicy:null==t?void 0:t.fetchPolicy,context:null==t?void 0:t.context}))),Object.assign(u.current,{client:n,subscription:e,options:t})}),[n,e,t]),L.useEffect((function(){if(s){var e=s.subscribe({next:function(e){var r,i,o={loading:!1,data:e.data,error:void 0,variables:null==t?void 0:t.variables};a(o),null===(i=null===(r=u.current.options)||void 0===r?void 0:r.onSubscriptionData)||void 0===i||i.call(r,{client:n,subscriptionData:o})},error:function(e){a({loading:!1,data:void 0,error:e,variables:null==t?void 0:t.variables})},complete:function(){var e,t;null===(t=null===(e=u.current.options)||void 0===e?void 0:e.onSubscriptionComplete)||void 0===t||t.call(e)}});return function(){e.unsubscribe()}}}),[s]),i},useReactiveVar:function(e){var t=e(),n=L.useState(t)[1];return L.useEffect((function(){var r=e();if(t===r)return e.onNextChange(n);n(r)}),[t]),t}}),Ly=t(My),qy=n((function(e,t){var n,r=Ly,i=L;!function(e){e.REQUEST="REQUEST",e.ERROR="ERROR",e.SUCCESS="SUCCESS",e.CANCEL="CANCEL"}(n||(n={}));var a=n,o=function(e){function t(t){e.call(this),this.dispatcher=t}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.request=function(e,t){var n=this;this.dispatcher.dispatch({type:a.REQUEST,payload:{operation:e}});var i=t(e);return new r.Observable((function(t){var r=!0,o=i.subscribe({next:function(i){r=!1,n.dispatcher.dispatch({type:a.SUCCESS,payload:{operation:e,result:i}}),t.next(i)},error:function(i){r=!1,n.dispatcher.dispatch({type:a.ERROR,payload:{operation:e,networkError:i}}),t.error(i)},complete:t.complete.bind(t)});return function(){r&&n.dispatcher.dispatch({type:a.CANCEL,payload:{operation:e}}),o&&o.unsubscribe()}}))},t}(r.ApolloLink),s=function(){this.listeners=[]};function l(e,t,n){var r=i.useReducer(t,n),a=r[0],o=r[1];return i.useEffect((function(){var t;function n(e){t=requestAnimationFrame((function(){o(e)}))}return e.addListener(n),function(){e.removeListener(n),cancelAnimationFrame(t)}}),[e]),a}s.prototype.addListener=function(e){this.listeners.push(e)},s.prototype.removeListener=function(e){this.listeners=this.listeners.filter((function(t){return t!==e}))},s.prototype.dispatch=function(e){this.listeners.forEach((function(t){t(e)}))};var u="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function c(e,t){return e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&e.operation===t}))}function f(e){return function(t,n){if(void 0===t&&(t=0),!c(n.payload.operation,e))return t;switch(n.type){case a.REQUEST:return t+1;case a.ERROR:case a.SUCCESS:case a.CANCEL:return Math.max(t-1,0)}return t}}function d(e){return function(t,n){if(!c(n.payload.operation,e))return t;switch(n.type){case a.REQUEST:return;case a.ERROR:var r=n.payload;return{networkError:r.networkError,operation:r.operation};case a.SUCCESS:var i=n.payload,o=i.result;return o&&o.errors?{graphQLErrors:o.errors,response:o,operation:i.operation}:t}return t}}var p=f("query"),h=f("mutation"),m=d("query"),v=d("mutation"),y={numPendingQueries:0,numPendingMutations:0,queryError:void 0,mutationError:void 0};function g(e){return!1!==e.getContext().useApolloNetworkStatus}t.ActionTypes=a,t.createNetworkStatusNotifier=function(){var e=new s;return{link:new o(e),useApolloNetworkStatus:function(t){return function(e,t){t||(t={});var n,r,a=(n=t.shouldHandleOperation||g,r=i.useRef((function(){throw new Error("Function is called before it was assigned.")})),u((function(){r.current=n})),i.useCallback((function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return r.current.apply(r,e)}),[]));return l(e,i.useMemo((function(){return function(e,t){return a(t.payload.operation)?function(e,t){if(c(t.payload.operation,"subscription"))return e;var n=Object.assign({},e);return n.numPendingQueries=p(n.numPendingQueries,t),n.numPendingMutations=h(n.numPendingMutations,t),n.queryError=m(n.queryError,t),n.mutationError=v(n.mutationError,t),Object.keys(e).some((function(t){return n[t]!==e[t]}))?n:e}(e,t):e}}),[a]),y)}(e,t)},useApolloNetworkStatusReducer:function(t,n){return l(e,t,n)}}}}));const jy=(e,t)=>{switch(t.type){case qy.ActionTypes.REQUEST:return e+1;case qy.ActionTypes.ERROR:case qy.ActionTypes.SUCCESS:case qy.ActionTypes.CANCEL:return Math.max(e-1,0);default:return e}},zy=(e,t)=>{switch(t.type){case qy.ActionTypes.REQUEST:return[];case qy.ActionTypes.ERROR:const{networkError:n}=t.payload;return[n];case qy.ActionTypes.SUCCESS:const{result:r}=t.payload;return!0===(null!=r&&null!=r.errors)?[...r.errors]:e;default:return e}};var Vy="3.4.1",$y="https://github.com/electerious/Ackee",Qy=(e,t)=>({get:()=>{const n=localStorage.getItem(e);return null==n?t:JSON.parse(n)},set:t=>{const n=JSON.stringify(t);return localStorage.setItem(e,n),t},reset:()=>(localStorage.removeItem(e),t)});const Uy=Symbol(),By=Symbol(),{get:Wy,set:Ky,reset:Hy}=Qy("ackee_token_3.4.1"),Yy=(e,t)=>{switch(t.type){case Uy:return Ky(t.token);case By:return Hy();default:return e}};var Gy,Jy=function(){function e(e){var t=e.batchDebounce,n=e.batchInterval,r=e.batchMax,i=e.batchHandler,a=e.batchKey;this.batchesByKey=new Map,this.batchDebounce=t,this.batchInterval=n,this.batchMax=r||0,this.batchHandler=i,this.batchKey=a||function(){return""}}return e.prototype.enqueueRequest=function(e){var t=this,n=$c($c({},e),{next:[],error:[],complete:[],subscribers:new Set}),r=this.batchKey(e.operation);return n.observable||(n.observable=new Np((function(e){var i=t.batchesByKey.get(r);i||t.batchesByKey.set(r,i=new Set);var a=0===i.size,o=0===n.subscribers.size;return n.subscribers.add(e),o&&i.add(n),e.next&&n.next.push(e.next.bind(e)),e.error&&n.error.push(e.error.bind(e)),e.complete&&n.complete.push(e.complete.bind(e)),a?t.scheduleQueueConsumption(r):t.batchDebounce&&(clearTimeout(t.scheduledBatchTimer),t.scheduleQueueConsumption(r)),i.size===t.batchMax&&t.consumeQueue(r),function(){var a;n.subscribers.delete(e)&&n.subscribers.size<1&&i.delete(n)&&i.size<1&&(clearTimeout(t.scheduledBatchTimer),t.batchesByKey.delete(r),null===(a=i.subscription)||void 0===a||a.unsubscribe())}}))),n.observable},e.prototype.consumeQueue=function(e){void 0===e&&(e="");var t=this.batchesByKey.get(e);if(this.batchesByKey.delete(e),t&&t.size){var n=[],r=[],i=[],a=[],o=[],s=[];t.forEach((function(e){n.push(e.operation),r.push(e.forward),i.push(e.observable),a.push(e.next),o.push(e.error),s.push(e.complete)}));var l=this.batchHandler(n,r)||Np.of(),u=function(e){o.forEach((function(t){t&&t.forEach((function(t){return t(e)}))}))};return t.subscription=l.subscribe({next:function(e){if(Array.isArray(e)||(e=[e]),a.length!==e.length){var t=new Error("server returned results with length ".concat(e.length,", expected length of ").concat(a.length));return t.result=e,u(t)}e.forEach((function(e,t){a[t]&&a[t].forEach((function(t){return t(e)}))}))}
92,error:u,complete:function(){s.forEach((function(e){e&&e.forEach((function(e){return e()}))}))}}),i}},e.prototype.scheduleQueueConsumption=function(e){var t=this;this.scheduledBatchTimer=setTimeout((function(){t.consumeQueue(e)}),this.batchInterval)},e}(),Xy=function(e){function t(t){var n=e.call(this)||this,r=t||{},i=r.batchDebounce,a=r.batchInterval,o=void 0===a?10:a,s=r.batchMax,l=void 0===s?0:s,u=r.batchHandler,c=void 0===u?function(){return null}:u,f=r.batchKey,d=void 0===f?function(){return""}:f;return n.batcher=new Jy({batchDebounce:i,batchInterval:o,batchMax:l,batchHandler:c,batchKey:d}),t.batchHandler.length<=1&&(n.request=function(e){return n.batcher.enqueueRequest({operation:e})}),n}return Vc(t,e),t.prototype.request=function(e,t){return this.batcher.enqueueRequest({operation:e,forward:t})},t}(Nh),Zy=function(e){function t(t){var n=e.call(this)||this,r=t||{},i=r.uri,a=void 0===i?"/graphql":i,o=r.fetch,s=r.print,l=void 0===s?jh:s,u=r.includeExtensions,c=r.batchInterval,f=r.batchDebounce,d=r.batchMax,p=r.batchKey,h=Qc(r,["uri","fetch","print","includeExtensions","batchInterval","batchDebounce","batchMax","batchKey"]);$h(o),o||(o=fetch);var m={http:{includeExtensions:u},options:h.fetchOptions,credentials:h.credentials,headers:h.headers};n.batchDebounce=f,n.batchInterval=c||10,n.batchMax=d||10;return p=p||function(e){var t=e.getContext(),n={http:t.http,options:t.fetchOptions,credentials:t.credentials,headers:t.headers};return Uh(e,a)+JSON.stringify(n)},n.batcher=new Xy({batchDebounce:n.batchDebounce,batchInterval:n.batchInterval,batchMax:n.batchMax,batchKey:p,batchHandler:function(e){var t=Uh(e[0],a),n=e[0].getContext(),r={};if(n.clientAwareness){var i=n.clientAwareness,s=i.name,u=i.version;s&&(r["apollographql-client-name"]=s),u&&(r["apollographql-client-version"]=u)}var c,f={http:n.http,options:n.fetchOptions,credentials:n.credentials,headers:$c($c({},r),n.headers)},d=e.map((function(e){return zh(e,l,qh,m,f)})),p=d.map((function(e){return e.body})),h=d[0].options;if("GET"===h.method)return _h(new Error("apollo-link-batch-http does not support GET requests"));try{h.body=Lh(p,"Payload")}catch(e){return _h(e)}if(!h.signal){var v=Qh(),y=v.controller,g=v.signal;(c=y)&&(h.signal=g)}return new Np((function(n){return o(t,h).then((function(t){return e.forEach((function(e){return e.setContext({response:t})})),t})).then(Mh(e)).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){c&&c.abort()}}))}}),n}return Vc(t,e),t.prototype.request=function(e){return this.batcher.request(e)},t}(Nh),eg=(new Intl.DateTimeFormat).resolvedOptions().timeZone;function tg(){return tg=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},tg.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(Gy||(Gy={}));var ng="beforeunload";function rg(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function i(){var e=sg(n.location.hash.substr(1)),t=e.pathname,i=void 0===t?"/":t,a=e.search,o=void 0===a?"":a,s=e.hash,l=void 0===s?"":s,u=r.state||{};return[u.idx,{pathname:i,search:o,hash:l,state:u.usr||null,key:u.key||"default"}]}var a=null;function o(){if(a)d.call(a),a=null;else{var e=Gy.Pop,t=i(),n=t[0],r=t[1];if(d.length){if(null!=n){var o=u-n;o&&(a={action:e,location:r,retry:function(){g(-1*o)}},g(o))}}else y(e)}}n.addEventListener("popstate",o),n.addEventListener("hashchange",(function(){og(i()[1])!==og(c)&&o()}));var s=Gy.Pop,l=i(),u=l[0],c=l[1],f=ag(),d=ag();function p(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var r=n.location.href,i=r.indexOf("#");t=-1===i?r:r.slice(0,i)}return t}()+"#"+("string"==typeof e?e:og(e))}function h(e,t){return void 0===t&&(t=null),tg({pathname:c.pathname,hash:"",search:""},"string"==typeof e?sg(e):e,{state:t,key:Math.random().toString(36).substr(2,8)})}function m(e,t){return[{usr:e.state,key:e.key,idx:t},p(e)]}function v(e,t,n){return!d.length||(d.call({action:e,location:t,retry:n}),!1)}function y(e){s=e;var t=i();u=t[0],c=t[1],f.call({action:s,location:c})}function g(e){r.go(e)}null==u&&(u=0,r.replaceState(tg({},r.state,{idx:u}),""));var b={get action(){return s},get location(){return c},createHref:p,push:function e(t,i){var a=Gy.Push,o=h(t,i);if(v(a,o,(function(){e(t,i)}))){var s=m(o,u+1),l=s[0],c=s[1];try{r.pushState(l,"",c)}catch(e){n.location.assign(c)}y(a)}},replace:function e(t,n){var i=Gy.Replace,a=h(t,n);if(v(i,a,(function(){e(t,n)}))){var o=m(a,u),s=o[0],l=o[1];r.replaceState(s,"",l),y(i)}},go:g,back:function(){g(-1)},forward:function(){g(1)},listen:function(e){return f.push(e)},block:function(e){var t=d.push(e);return 1===d.length&&n.addEventListener(ng,ig),function(){t(),d.length||n.removeEventListener(ng,ig)}}};return b}function ig(e){e.preventDefault(),e.returnValue=""}function ag(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}
92))}}}function og(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,a=e.hash,o=void 0===a?"":a;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),o&&"#"!==o&&(n+="#"===o.charAt(0)?o:"#"+o),n}function sg(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var lg=n((function(t,n){var r=[].slice;!function(e,r){null!==n?t.exports=r():e.UrlPattern=r()}(e,(function(){var e,t,n,i,a,o,s,l,u,c,f,d,p,h,m;return u=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},s=function(e,t){var n,r,i;for(i=[],n=-1,r=e.length;++n<r;)i=i.concat(t(e[n]));return i},h=function(e,t){var n,r,i;for(i="",n=-1,r=e.length;++n<r;)i+=t(e[n]);return i},p=function(e){return new RegExp(e.toString()+"|").exec("").length-1},f=function(e,t){var n,r,i,a,o;for(a={},n=-1,i=e.length;++n<i;)r=e[n],null!=(o=t[n])&&(null!=a[r]?(Array.isArray(a[r])||(a[r]=[a[r]]),a[r].push(o)):a[r]=o);return a},(e={}).Result=function(e,t){this.value=e,this.rest=t},e.Tagged=function(e,t){this.tag=e,this.value=t},e.tag=function(t,n){return function(r){var i,a;if(null!=(i=n(r)))return a=new e.Tagged(t,i.value),new e.Result(a,i.rest)}},e.regex=function(t){return function(n){var r,i;if(null!=(r=t.exec(n)))return i=r[0],new e.Result(i,n.slice(i.length))}},e.sequence=function(){var t;return t=1<=arguments.length?r.call(arguments,0):[],function(n){var r,i,a,o,s;for(r=-1,i=t.length,s=[],a=n;++r<i;){if(null==(o=(0,t[r])(a)))return;s.push(o.value),a=o.rest}return new e.Result(s,a)}},e.pick=function(){var t,n;return t=arguments[0],n=2<=arguments.length?r.call(arguments,1):[],function(r){var i,a;if(null!=(a=e.sequence.apply(e,n)(r)))return i=a.value,a.value=i[t],a}},e.string=function(t){var n;return n=t.length,function(r){if(r.slice(0,n)===t)return new e.Result(t,r.slice(n))}},e.lazy=function(e){var t;return t=null,function(n){return null==t&&(t=e()),t(n)}},e.baseMany=function(t,n,r,i,a){var o,s,l;for(s=a,l=r?"":[];(null==n||null==n(s))&&null!=(o=t(s));)r?l+=o.value:l.push(o.value),s=o.rest;if(!i||0!==l.length)return new e.Result(l,s)},e.many1=function(t){return function(n){return e.baseMany(t,null,!1,!0,n)}},e.concatMany1Till=function(t,n){return function(r){return e.baseMany(t,n,!0,!0,r)}},e.firstChoice=function(){var e;return e=1<=arguments.length?r.call(arguments,0):[],function(t){var n,r,i;for(n=-1,r=e.length;++n<r;)if(null!=(i=(0,e[n])(t)))return i}},d=function(t){var n;return(n={}).wildcard=e.tag("wildcard",e.string(t.wildcardChar)),n.optional=e.tag("optional",e.pick(1,e.string(t.optionalSegmentStartChar),e.lazy((function(){return n.pattern})),e.string(t.optionalSegmentEndChar))),n.name=e.regex(new RegExp("^["+t.segmentNameCharset+"]+")),n.named=e.tag("named",e.pick(1,e.string(t.segmentNameStartChar),e.lazy((function(){return n.name})))),n.escapedChar=e.pick(1,e.string(t.escapeChar),e.regex(/^./)),n.static=e.tag("static",e.concatMany1Till(e.firstChoice(e.lazy((function(){return n.escapedChar})),e.regex(/^./)),e.firstChoice(e.string(t.segmentNameStartChar),e.string(t.optionalSegmentStartChar),e.string(t.optionalSegmentEndChar),n.wildcard))),n.token=e.lazy((function(){return e.firstChoice(n.wildcard,n.optional,n.named,n.static)})),n.pattern=e.many1(e.lazy((function(){return n.token}))),n},l={escapeChar:"\\",segmentNameStartChar:":",segmentValueCharset:"a-zA-Z0-9-_~ %",segmentNameCharset:"a-zA-Z0-9",optionalSegmentStartChar:"(",optionalSegmentEndChar:")",wildcardChar:"*"},o=function(e,t){if(Array.isArray(e))return h(e,(function(e){return o(e,t)}));switch(e.tag){case"wildcard":return"(.*?)";case"named":return"(["+t+"]+)";case"static":return u(e.value);case"optional":return"(?:"+o(e.value,t)+")?"}},a=function(e,t){return null==t&&(t=l.segmentValueCharset),"^"+o(e,t)+"$"},i=function(e){if(Array.isArray(e))return s(e,i);switch(e.tag){case"wildcard":return["_"];case"named":return[e.value];case"static":return[];case"optional":return i(e.value)}},c=function(e,t,n,r){var i,a,o;if(null==r&&(r=!1),null!=(o=e[t])){if(!((i=n[t]||0)>(Array.isArray(o)?o.length-1:0)))return a=Array.isArray(o)?o[i]:o,r&&(n[t]=i+1),a;if(r)throw new Error("too few values provided for key `"+t+"`")}else if(r)throw new Error("no values provided for key `"+t+"`")},n=function(e,t,r){var i,a;if(Array.isArray(e)){for(i=-1,a=e.length;++i<a;)if(n(e[i],t,r))return!0;return!1}switch(e.tag){case"wildcard":return null!=c(t,"_",r,!1);case"named":return null!=c(t,e.value,r,!1);case"static":return!1;case"optional":return n(e.value,t,r)}},m=function(e,t,r){if(Array.isArray(e))return h(e,(function(e){return m(e,t,r)}));switch(e.tag){case"wildcard":return c(t,"_",r,!0);case"named":return c(t,e.value,r,!0);case"static":return e.value;case"optional":return n(e.value,t,r)?m(e.value,t,r):""}},(t=function(e,n){var r,o,s;if(e instanceof t)return this.isRegex=e.isRegex,this.regex=e.regex,this.ast=e.ast,void(this.names=e.names);if(this.isRegex=e instanceof RegExp,"string"!=typeof e&&!this.isRegex)throw new TypeError("argument must be a regex or a string");if(this.isRegex){if(this.regex=e,null!=n){if(!Array.isArray(n))throw new Error("if first argument is a regex the second argument may be an array of group names but you provided something else");if(r=p(this.regex),n.length!==r)throw new Error("regex contains "+r+" groups but array of group names contains "+n.length);this.names=n}}else{if(""===e)throw new Error("argument must not be the empty string");if(e.replace(/\s+/g,"")!==e)throw new Error("argument must not contain whitespace");if(o={escapeChar:(null!=n?n.escapeChar:void 0)||l.escapeChar,segmentNameStartChar:(null!=n?n.segmentNameStartChar:void 0)||l.segmentNameStartChar,segmentNameCharset:(null!=n?n.segmentNameCharset:void 0)||l.segmentNameCharset,segmentValueCharset:(null!=n?n.segmentValueCharset:void 0)||l.segmentValueCharset,optionalSegmentStartChar:(null!=n?n.optionalSegmentStartChar:void 0)||l.optionalSegmentStartChar,optionalSegmentEndChar:(null!=n?n.optionalSegmentEndChar:void 0)||l.optionalSegmentEndChar,wildcardChar:(null!=n?n.wildcardChar:void 0)||l.wildcardChar},null==(s=d(o).pattern(e)))throw new Error("couldn't parse pattern");if(""!==s.rest)throw new Error("could only partially parse pattern");this.ast=s.value,this.regex=new RegExp(a(this.ast,o.segmentValueCharset)),this.names=i(this.ast)}}).prototype.match=function(e){var t,n;return null==(n=this.regex.exec(e))?null:(t=n.slice(1),this.names?f(this.names,t):t)},t.prototype.stringify=function(e){if(null==e&&(e={}),this.isRegex)throw new Error("can't stringify patterns generated from a regex");if(e!==Object(e))throw new Error("argument must be an object or undefined");return m(this.ast,e,{})},t.escapeForRegex=u,t.concatMap=s,t.stringConcatMap=h,t.regexGroupCount=p,t.keysAndValuesToObject=f,t.P=e,t.newParser=d,t.defaultOptions=l,t.astNodeToRegexString=a,t.astNodeToNames=i,t.getParam=c,t.astNodeContainsSegmentsForProvidedParams=n,t.stringify=m,t}))}));const ug=Symbol(),cg=Symbol(),fg=Symbol(),dg=Symbol(),pg=Symbol(),hg=Symbol(),mg=Symbol(),vg=Symbol(),yg=Symbol(),gg=Symbol(),bg=Symbol(),wg=Symbol(),Eg=Symbol(),kg=[{pattern:new lg("/"),key:ug},{pattern:new lg("/domains/:domainId"),key:cg},{pattern:new lg("/insights/views"),key:fg},{pattern:new lg("/insights/pages"),key:dg},{pattern:new lg("/insights/referrers"),key:pg},{pattern:new lg("/insights/durations"),key:hg},{pattern:new lg("/insights/events"),key:mg},{pattern:new lg("/insights/systems"),key:vg},{pattern:new lg("/insights/devices"),key:yg},{pattern:new lg("/insights/browsers"),key:gg},{pattern:new lg("/insights/sizes"),key:bg},{pattern:new lg("/insights/languages"),key:wg},{pattern:new lg("/settings"),key:Eg}],_g=kg[0],Sg=({pathname:e})=>!0===kg.some((t=>null!=t.pattern.match(e)))?e:_g.pattern.stringify();var xg=1;var Tg,Og,Cg,Ng={nextValue:function(){return(xg=(9301*xg+49297)%233280)/233280},seed:function(e){xg=e}},Rg="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";function Dg(){Cg=!1}function Ig(e){if(e){if(e!==Tg){if(e.length!==Rg.length)throw new Error("Custom alphabet for shortid must be "+Rg.length+" unique characters. You submitted "+e.length+" characters: "+e);var t=e.split("").filter((function(e,t,n){return t!==n.lastIndexOf(e)}));if(t.length)throw new Error("Custom alphabet for shortid must be "+Rg.length+" unique characters. These characters were not unique: "+t.join(", "));Tg=e,Dg()}}else Tg!==Rg&&(Tg=Rg,Dg())}function Pg(){return Cg||(Cg=function(){Tg||Ig(Rg);for(var e,t=Tg.split(""),n=[],r=Ng.nextValue();t.length>0;)r=Ng.nextValue(),e=Math.floor(r*t.length),n.push(t.splice(e,1)[0]);return n.join("")}(),Cg)}var Fg={get:function(){return Tg||Rg},characters:function(e){return Ig(e),Tg},seed:function(e){Ng.seed(e),Og!==e&&(Dg(),Og=e)},lookup:function(e){return Pg()[e]},shuffled:Pg},Ag="object"==typeof window&&(window.crypto||window.msCrypto),Mg=Ag&&Ag.getRandomValues?function(e){return Ag.getRandomValues(new Uint8Array(e))}:function(e){for(var t=[],n=0;n<e;
92n++)t.push(Math.floor(256*Math.random()));return t},Lg=function(e,t,n){for(var r=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*r*n/t.length),a="";;)for(var o=e(i),s=i;s--;)if((a+=t[o[s]&r]||"").length===+n)return a};var qg,jg,zg=function(e){for(var t,n=0,r="";!t;)r+=Lg(Mg,Fg.get(),1),t=e<Math.pow(16,n+1),n++;return r};var Vg=function(e){var t="",n=Math.floor(.001*(Date.now()-1567752802062));return n===jg?qg++:(qg=0,jg=n),t+=zg(7),t+=zg(e),qg>0&&(t+=zg(qg)),t+=zg(n)};var $g=function(e){return!(!e||"string"!=typeof e||e.length<6)&&!new RegExp("[^"+Fg.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]").test(e)},Qg=n((function(e){var t=0;function n(){return Vg(t)}e.exports=n,e.exports.generate=n,e.exports.seed=function(t){return Fg.seed(t),e.exports},e.exports.worker=function(n){return t=n,e.exports},e.exports.characters=function(e){return void 0!==e&&Fg.characters(e),Fg.shuffled()},e.exports.isValid=$g})),Ug=Qg,Bg=()=>`_${Ug.generate()}`;const Wg=Symbol(),Kg=Symbol(),Hg=Symbol(),Yg={},Gg=(e,t)=>{switch(t.type){case Wg:return{...e,[t.modalId]:{id:t.modalId,type:t.payload.type,props:t.payload.props}};case Kg:const n={...e};return delete n[t.modalId],n;case Hg:return Yg;default:return e}};var Jg="TOP",Xg="NEW",Zg="RECENT";var eb="LAST_24_HOURS",tb="LAST_7_DAYS",nb="LAST_30_DAYS",rb="LAST_6_MONTHS";var ib="DAILY",ab="MONTHLY",ob="YEARLY";var sb="UNIQUE",lb="TOTAL";var ub="WITH_SOURCE",cb="NO_SOURCE",fb="ONLY_SOURCE";var db="WITH_MODEL",pb="NO_MODEL";var hb="WITH_VERSION",mb="NO_VERSION";var vb="BROWSER_HEIGHT",yb="BROWSER_RESOLUTION",gb="BROWSER_WIDTH",bb="SCREEN_HEIGHT",wb="SCREEN_RESOLUTION",Eb="SCREEN_WIDTH";var kb="WITH_VERSION",_b="NO_VERSION";const Sb=Symbol(),xb=Symbol(),Tb=Symbol(),Ob=Symbol(),Cb=Symbol(),Nb=Symbol(),Rb=Symbol(),Db=Symbol(),Ib=Symbol(),Pb=Symbol(),{get:Fb,set:Ab,reset:Mb}=Qy("ackee_filter_3.4.1",{sorting:Jg,range:tb,interval:ib,viewsType:sb,referrersType:ub,devicesType:db,browsersType:hb,sizesType:yb,systemsType:kb}),Lb=(e,t)=>{switch(t.type){case Sb:return Ab({...e,sorting:t.payload});case xb:return Ab({...e,range:t.payload});case Tb:return Ab({...e,interval:t.payload});case Ob:return Ab({...e,viewsType:t.payload});case Cb:return Ab({...e,referrersType:t.payload});case Nb:return Ab({...e,devicesType:t.payload});case Rb:return Ab({...e,browsersType:t.payload});case Db:return Ab({...e,sizesType:t.payload});case Ib:return Ab({...e,systemsType:t.payload});case Pb:return Mb();default:return e}};const qb=["Token invalid","Token missing","Username or password incorrect"];var jb=e=>!0===qb.includes(e.message),zb="function"==typeof Symbol&&Symbol.for,Vb=zb?Symbol.for("react.element"):60103,$b=zb?Symbol.for("react.portal"):60106,Qb=zb?Symbol.for("react.fragment"):60107,Ub=zb?Symbol.for("react.strict_mode"):60108,Bb=zb?Symbol.for("react.profiler"):60114,Wb=zb?Symbol.for("react.provider"):60109,Kb=zb?Symbol.for("react.context"):60110,Hb=zb?Symbol.for("react.async_mode"):60111,Yb=zb?Symbol.for("react.concurrent_mode"):60111,Gb=zb?Symbol.for("react.forward_ref"):60112,Jb=zb?Symbol.for("react.suspense"):60113,Xb=zb?Symbol.for("react.suspense_list"):60120,Zb=zb?Symbol.for("react.memo"):60115,ew=zb?Symbol.for("react.lazy"):60116,tw=zb?Symbol.for("react.block"):60121,nw=zb?Symbol.for("react.fundamental"):60117,rw=zb?Symbol.for("react.responder"):60118,iw=zb?Symbol.for("react.scope"):60119;function aw(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Vb:switch(e=e.type){case Hb:case Yb:case Qb:case Bb:case Ub:case Jb:return e;default:switch(e=e&&e.$$typeof){case Kb:case Gb:case ew:case Zb:case Wb:return e;default:return t}}case $b:return t}}}function ow(e){return aw(e)===Yb}var sw={AsyncMode:Hb,ConcurrentMode:Yb,ContextConsumer:Kb,ContextProvider:Wb,Element:Vb,ForwardRef:Gb,Fragment:Qb,Lazy:ew,Memo:Zb,Portal:$b,Profiler:Bb,StrictMode:Ub,Suspense:Jb,isAsyncMode:function(e){return ow(e)||aw(e)===Hb},isConcurrentMode:ow,isContextConsumer:function(e){return aw(e)===Kb},isContextProvider:function(e){return aw(e)===Wb},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Vb},isForwardRef:function(e){return aw(e)===Gb},isFragment:function(e){return aw(e)===Qb},isLazy:function(e){return aw(e)===ew},isMemo:function(e){return aw(e)===Zb},isPortal:function(e){return aw(e)===$b},isProfiler:function(e){return aw(e)===Bb},isStrictMode:function(e){return aw(e)===Ub},isSuspense:function(e){return aw(e)===Jb},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===Qb||e===Yb||e===Bb||e===Ub||e===Jb||e===Xb||"object"==typeof e&&null!==e&&(e.$$typeof===ew||e.$$typeof===Zb||e.$$typeof===Wb||e.$$typeof===Kb||e.$$typeof===Gb||e.$$typeof===nw||e.$$typeof===rw||e.$$typeof===iw||e.$$typeof===tw)},typeOf:aw};
93/** @license React v16.13.1
94	 * react-is.development.js
95	 *
96	 * Copyright (c) Facebook, Inc. and its affiliates.
97	 *
98	 * This source code is licensed under the MIT license found in the
99	 * LICENSE file in the root directory of this source tree.
100	 */
101n((function(e,t){})),n((function(e){e.exports=sw}));function lw(){}function uw(){}uw.resetWarningCache=lw;var cw=function(){function e(e,t,n,r,i,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var o=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 o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
101:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:uw,resetWarningCache:lw};return n.PropTypes=n,n},fw=n((function(e){e.exports=cw()})),dw=e=>[e.message,e.stack].join("\n");const pw=e=>{e.target.select(),document.execCommand("copy")},hw=e=>{const t=L.createElement("textarea",{className:"input",id:e.id,required:e.required,disabled:e.disabled,readOnly:e.readOnly,placeholder:e.placeholder,value:e.value,rows:e.rows,onChange:e.onChange,onFocus:!0===e.copyOnFocus?pw:void 0});return!0===e.copyOnFocus?L.createElement("div",{className:"inputMessage",title:"Copied to clipboard"},t):t};hw.propTypes={id:fw.string,required:fw.bool,disabled:fw.bool,readOnly:fw.bool,placeholder:fw.string,value:fw.string,rows:fw.number,onChange:fw.func,copyOnFocus:fw.bool};const mw=e=>L.createElement("div",{className:"spacer",style:{"--size":e.size}});mw.propTypes={size:fw.number.isRequired};
102/*!
103	  Copyright (c) 2018 Jed Watson.
104	  Licensed under the MIT License (MIT), see
105	  http://jedwatson.github.io/classnames
106	*/
107var vw=n((function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var a=typeof i;if("string"===a||"number"===a)e.push(i);else if(Array.isArray(i)){if(i.length){var o=n.apply(null,i);o&&e.push(o)}}else if("object"===a)if(i.toString===Object.prototype.toString)for(var s in i)t.call(i,s)&&i[s]&&e.push(s);else e.push(i.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}));const yw=e=>{const t=null!=e.onClick,n=L.createElement("button",{className:"headline__button link",onClick:e.onClick},e.children);return L.createElement(e.type,{className:vw({headline:!0,[`headline--${e.size}`]:null!=e.size,"headline--no-spacing":!1===e.spacing},e.className)},!0===t?n:e.children)};yw.propTypes={type:fw.oneOf(["h1","h2","h3","h4","h5","h6","div"]).isRequired,size:fw.oneOf(["medium","small"]),spacing:fw.bool,className:fw.string,children:fw.node.isRequired,onClick:fw.func};const gw=e=>L.createElement(e.type,{className:vw({text:!0,"text--no-spacing":!1===e.spacing},e.className)},e.children);gw.propTypes={type:fw.oneOf(["p","div"]).isRequired,spacing:fw.bool,className:fw.string,children:fw.node.isRequired};const bw=e=>L.createElement("div",{className:vw({message:!0,[`message--${e.status}`]:null!=e.status},e.className)},e.children);bw.propTypes={status:fw.oneOf(["success","warning","error"]).isRequired,className:fw.string,children:fw.node.isRequired};const ww=e=>{return L.createElement("div",{className:"card card--overlay"},L.createElement("div",{className:"card__inner align-center"},L.createElement(mw,{size:2.4}),L.createElement(yw,{type:"h1"},"Oops"),L.createElement(gw,{type:"p"},"Something went wrong."),L.createElement(mw,{size:2.5}),L.createElement(bw,{status:"error"},"Please report this issue on GitHub if you can't resolve it by yourself."),L.createElement(hw,{rows:6,value:(t=e.errors,t.map(dw).join("\n\n")),readOnly:!0}),L.createElement(mw,{size:1})),L.createElement("div",{className:"card__footer"},L.createElement("a",{className:"card__button link",href:$y,target:"_blank",rel:"noopener"},"Help"),L.createElement("div",{className:"card__separator"}),L.createElement("button",{className:"card__button card__button--primary link color-white",onClick:()=>{e.reset(),window.location.hash="",window.location.reload()}},"Reload Ackee")));var t};ww.propTypes={errors:fw.array.isRequired,reset:fw.func.isRequired};const Ew=e=>{e.target.select(),document.execCommand("copy")},kw=e=>{const t=L.useRef(null);L.useEffect((()=>{!0===e.focused&&t.current.focus()}),[]);const n={text:"text",username:"text",password:"password"}[e.type],r={text:void 0,username:"username",password:"current-password"}[e.type],i=L.createElement("input",{ref:t,className:"input",autoCapitalize:"off",autoCorrect:"off",autoComplete:r,type:n,id:e.id,required:e.required,disabled:e.disabled,readOnly:e.readOnly,placeholder:e.placeholder,value:e.value,onChange:e.onChange,onFocus:!0===e.copyOnFocus?Ew:void 0});return!0===e.copyOnFocus?L.createElement("div",{className:"inputMessage",title:"Copied to clipboard"},i):i};kw.propTypes={type:fw.oneOf(["text","username","password"]).isRequired,id:fw.string,required:fw.bool,disabled:fw.bool,readOnly:fw.bool,focused:fw.bool,placeholder:fw.string.isRequired,value:fw.string,onChange:fw.func,copyOnFocus:fw.bool};const _w=()=>L.createElement("div",{className:"spinner"},L.createElement("div",{className:"spinner__circle spinner__circle--primary"}),L.createElement("div",{className:"spinner__circle spinner__circle--white"}),L.createElement("div",{className:"spinner__circle spinner__circle--dimmed"})),Sw=hy`
108	mutation createToken($input: CreateTokenInput!) {
109		createToken(input: $input) {
110			payload {
111				id
112			}
113		}
114	}
115`;var xw=e=>{const[t,n]=L.useState(e),r=L.useCallback((e=>t=>{n((n=>({...n,[e]:t.target.value})))}),[n]);return[t,r]};const Tw=e=>{const t=(()=>{const[e,{loading:t,error:n}]=Ay(Sw);return{mutate:e,loading:t,error:n}})(),n=null!=t.error,r=!0===t.loading,[i,a]=xw({username:!0===window.env.isDemoMode?"admin":"",password:!0===window.env.isDemoMode?"123456":""});return L.createElement("form",{className:"card card--overlay",onSubmit:async n=>{n.preventDefault();const{data:r}=await t.mutate({variables:{input:i}});e.setToken(r.createToken.payload.id)}},L.createElement("div",{className:"card__inner align-center"},L.createElement(mw,{size:2.4}),L.createElement(yw,{type:"h1"},"Ackee"),L.createElement(gw,{type:"p"},"Welcome back, sign in to continue."),L.createElement(mw,{size:2.5}),!0===n&&L.createElement(bw,{status:"error"},t.error.message),L.createElement(kw,{type:"username",required:!0,disabled:!0===r,focused:!0,placeholder:"Username",value:i.username,onChange:a("username")}),L.createElement(kw,{type:"password",required:!0,disabled:!0===r,placeholder:"Password",value:i.password,onChange:a("password")}),L.createElement(mw,{size:1})),L.createElement("div",{className:"card__footer"},L.createElement("a",{className:"card__button link",href:$y,target:"_blank",rel:"noopener"},"Help"),L.createElement("div",{className:"card__separator"}),L.createElement("button",{className:"card__button card__button--primary link color-white",disabled:!0===r},!0===r?L.createElement(_w):"Sign In →")))};Tw.propTypes={setToken:fw.func.isRequired};var Ow=e=>L.useMemo((()=>{const t=kg.find((t=>null!=t.pattern.match(e)));return{...t,params:t.pattern.match(e)}}),[e]);var Cw="undefined"!=typeof Element,Nw="function"==typeof Map,Rw="function"==typeof Set,Dw="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Iw(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,i,a;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!Iw(e[r],t[r]))return!1;return!0}if(Nw&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!Iw(r.value[1],t.get(r.value[0])))return!1;return!0}if(Rw&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Dw&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(Cw&&e instanceof Element)return!1;for(r=n;0!=r--;)if(("_owner"!==i[r]&&"__v"!==i[r]&&"__o"!==i[r]||!e.$$typeof)&&!Iw(e[i[r]],t[i[r]]))return!1;return!0}return e!=e&&t!=t}var Pw=function(e,t){try{return Iw(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}};var Fw=(e,t)=>{const[n,r]=L.useState();return function(e,t){void 0===t&&(t=!0);var n=L.useRef(null),r=L.useRef(!1),i=L.useRef(e);i.current=e;var a=L.useCallback((function(e){r.current&&(i.current(e),n.current=requestAnimationFrame(a))}),[]),o=L.useMemo((function(){return[function(){r.current&&(r.current=!1,n.current&&cancelAnimationFrame(n.current))},function(){r.current||(r.current=!0,n.current=requestAnimationFrame(a))},function(){return r.current}]}),[]);L.useEffect((function(){return t&&o[1](),o[0]}),[])}((()=>{if(null==e.current)return;if(null==t.current)return;const i=((e,t)=>{const n=document.scrollingElement.getBoundingClientRect(),r=e.current.getBoundingClientRect(),i=t.current.getBoundingClientRect();return{body:{width:n.width,height:n.height,relative:{x:n.left,y:n.top},absolute:{x:n.left,y:n.top}},target:{width:r.width,height:r.height,relative:{x:r.left,y:r.top},absolute:{x:r.left+-1*n.left,y:r.top+-1*n.top}},element:{width:i.width,height:i.height}}})(e,t);!1!==(!1===Pw(n||{},i))&&r(i)}),!0),n},Aw=e=>`${Math.round(e)}px`;const Mw=e=>L.createElement("div",{className:"keyHint"},e.children);Mw.propTypes={children:fw.node.isRequired};const Lw=Symbol(),qw=Symbol(),jw=Symbol(),zw=e=>L.createElement("p",{className:"context__content"},e.children);zw.propTypes={children:fw.node.isRequired};const Vw=e=>{const t=null!=e.keyHint,n=null!=e.description;return L.createElement("button",{className:vw({context__button:!0,active:!0===e.active,link:!0}),onClick:e.onClick},L.createElement("div",{className:"context__head"},L.createElement("div",{className:"context__label"},e.label),!0===t&&L.createElement(Mw,{},e.keyHint)),!0===n&&L.createElement("div",{className:"context__description"},e.description))};Vw.propTypes={label:fw.string.isRequired,description:fw.string,active:fw.bool.isRequired,onClick:fw.func.isRequired,keyHint:fw.node};const $w=()=>L.createElement("div",{className:"context__separator"}),Qw=e=>{const t=L.useRef(),n=Fw(e.targetRef,t);((e,t)=>
115{const[n,r]=L.useState(!1);L.useEffect((()=>{const e=requestAnimationFrame((()=>r(!0)));return()=>cancelAnimationFrame(e)}),[]),L.useEffect((()=>{if(!1===n)return;const r=n=>{!1!=(null!=e&&null!=e.current)&&!0!=(!0===e.current.contains(n.target))&&t()};return document.addEventListener("click",r),()=>document.removeEventListener("click",r)}),[t,n])})(t,e.onAwayClick);const r=null==n?void 0:Aw(e.x(n)),i=null==n?void 0:Aw(e.y(n));return jc.createPortal(L.createElement("div",{ref:t,className:vw({context:!0,"context--fixed":!0===e.fixed,"context--tooltip":!0===e.tooltip,"context--floating":!0===e.floating,visible:null!=n}),style:{"--x":r,"--y":i}},e.items.map(((t,n)=>t.type===Lw?L.createElement(zw,{key:n,...t}):t.type===qw?L.createElement(Vw,{key:t.label+n,...t,onClick:n=>{t.onClick(n),e.onItemClick(n)}}):t.type===jw?L.createElement($w,{key:n}):void 0))),document.body)};Qw.propTypes={targetRef:fw.shape({current:fw.instanceOf(Element)}),fixed:fw.bool,x:fw.func.isRequired,y:fw.func.isRequired,tooltip:fw.bool,floating:fw.bool,items:fw.arrayOf(fw.object).isRequired,onItemClick:fw.func.isRequired,onAwayClick:fw.func.isRequired};const Uw=e=>L.createElement("svg",{viewBox:"0 0 512 512",className:e.className},L.createElement("path",{d:"M256,298.3L256,298.3L256,298.3l174.2-167.2c4.3-4.2,11.4-4.1,15.8,0.2l30.6,29.9c4.4,4.3,4.5,11.3,0.2,15.5L264.1,380.9c-2.2,2.2-5.2,3.2-8.1,3c-3,0.1-5.9-0.9-8.1-3L35.2,176.7c-4.3-4.2-4.2-11.2,0.2-15.5L66,131.3c4.4-4.3,11.5-4.4,15.8-0.2L256,298.3z"}));Uw.propTypes={className:fw.string};const Bw={sortings:{[Jg]:"Top",[Xg]:"New",[Zg]:"Recent"},ranges:{[eb]:"24 hours",[tb]:"7 days",[nb]:"30 days",[rb]:"6 months"},intervals:{[ib]:"Daily",[ab]:"Monthly",[ob]:"Yearly"},views:{[sb]:"Unique",[lb]:"Total"},referrers:{[ub]:"Combined",[cb]:"Referrers",[fb]:"Sources"},sizes:{[yb]:"Browser sizes",[gb]:"Browser widths",[vb]:"Browser heights",[wb]:"Screen sizes",[Eb]:"Screen widths",[bb]:"Screen heights"}},Ww=e=>Math.max(10,Math.min(e.body.width-e.element.width-10,e.target.relative.x+e.target.width/2-e.element.width/2)),Kw=e=>e.target.relative.y-e.element.height-10,Hw=(e,t,n=!0)=>({label:e,items:t,visible:n}),Yw=(e,t,n,r,i)=>({type:qw,label:e,description:t,active:r===i,onClick:()=>n(i)}),Gw=()=>({type:jw}),Jw=(...e)=>e.find((e=>!1===e.active)),Xw=e=>{const t=L.useRef(),[n,r]=L.useState(!1),i=()=>r(!1);return!1===e.visible?null:L.createElement(L.Fragment,{},L.createElement("button",{ref:t,className:"filter__button color-white link",onClick:()=>r(!n)},L.createElement("span",{},e.label),L.createElement(Uw,{className:"filter__arrow"})),!0===n&&L.createElement(Qw,{targetRef:t,fixed:!0,x:Ww,y:Kw,floating:!0,items:e.items,onItemClick:i,onAwayClick:i}))},Zw=e=>{const t=[Yw("Top","Top entries first",e.setSortingFilter,e.filters.sorting,Jg),Yw("New","New entries only",e.setSortingFilter,e.filters.sorting,Xg),Yw("Recent","Entries sorted by time",e.setSortingFilter,e.filters.sorting,Zg)],n=[Yw("24 hours","Show last 24 hours",e.setRangeFilter,e.filters.range,eb),Yw("7 days","Show last 7 days",e.setRangeFilter,e.filters.range,tb),Yw("30 days","Show last 30 days",e.setRangeFilter,e.filters.range,nb),Yw("6 months","Show last 6 months",e.setRangeFilter,e.filters.range,rb)],r=[Yw("Daily","Grouped by day",e.setIntervalFilter,e.filters.interval,ib),Yw("Monthly","Grouped by month",e.setIntervalFilter,e.filters.interval,ab),Yw("Yearly","Grouped by year",e.setIntervalFilter,e.filters.interval,ob)],i=Hw(Bw.sortings[e.filters.sorting],t),a=Hw(Bw.ranges[e.filters.range],n,e.filters.sorting===Jg),o=
115Hw(Bw.intervals[e.filters.interval],r),s={[fg]:[Hw(Bw.views[e.filters.viewsType],[Yw("Unique","Unique site views",e.setViewsTypeFilter,e.filters.viewsType,sb),Yw("Total","Total page views",e.setViewsTypeFilter,e.filters.viewsType,lb)]),o],[dg]:[i,a],[pg]:[i,Hw(Bw.referrers[e.filters.referrersType],[Yw("Combined","Prefer source parameter",e.setReferrersTypeFilter,e.filters.referrersType,ub),Yw("↳ referrers only",void 0,e.setReferrersTypeFilter,e.filters.referrersType,cb),Yw("↳ sources only",void 0,e.setReferrersTypeFilter,e.filters.referrersType,fb)]),a],[hg]:[o],[mg]:[o,i],[vg]:[Hw(Bw.sortings[e.filters.sorting],[...t,Gw(),Jw(Yw("Show version","Include system version",e.setSystemsTypeFilter,e.filters.systemsType,kb),Yw("Hide version","Don't include version",e.setSystemsTypeFilter,e.filters.systemsType,_b))]),a],[yg]:[Hw(Bw.sortings[e.filters.sorting],[...t,Gw(),Jw(Yw("Show model","Include device model",e.setDevicesTypeFilter,e.filters.devicesType,db),Yw("Hide model","Don't include model",e.setDevicesTypeFilter,e.filters.devicesType,pb))]),a],[gg]:[Hw(Bw.sortings[e.filters.sorting],[...t,Gw(),Jw(Yw("Show version","Include browser version",e.setBrowsersTypeFilter,e.filters.browsersType,hb),Yw("Hide version","Don't include version",e.setBrowsersTypeFilter,e.filters.browsersType,mb))]),a],[bg]:[i,Hw(Bw.sizes[e.filters.sizesType],[Yw("Browser sizes","Width and height combined",e.setSizesTypeFilter,e.filters.sizesType,yb),Yw("↳ widths",void 0,e.setSizesTypeFilter,e.filters.sizesType,gb),Yw("↳ heights",void 0,e.setSizesTypeFilter,e.filters.sizesType,vb),Gw(),Yw("Screen sizes","Width and height combined",e.setSizesTypeFilter,e.filters.sizesType,wb),Yw("↳ widths",void 0,e.setSizesTypeFilter,e.filters.sizesType,Eb),Yw("↳ heights",void 0,e.setSizesTypeFilter,e.filters.sizesType,bb)]),a],[wg]:[i,a]}[Ow(e.route).key];if(null==s)return null;const l=s.map((e=>L.createElement(Xw,e)));return jc.createPortal(L.createElement("div",{className:"filter"},L.createElement("div",{className:"filter__bar"},...l)),document.body)};Zw.propTypes={filters:fw.object.isRequired,setSortingFilter:fw.func.isRequired,setRangeFilter:fw.func.isRequired,setIntervalFilter:fw.func.isRequired,setViewsTypeFilter:fw.func.isRequired,setReferrersTypeFilter:fw.func.isRequired,setDevicesTypeFilter:fw.func.isRequired,setBrowsersTypeFilter:fw.func.isRequired,setSizesTypeFilter:fw.func.isRequired,setSystemsTypeFilter:fw.func.isRequired,route:fw.string.isRequired};
116/*!
117	 * hotkeys-js v3.8.7
118	 * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
119	 * 
120	 * Copyright (c) 2021 kenny wong <[email protected]>
121	 * http://jaywcjlove.github.io/hotkeys
122	 * 
123	 * Licensed under the MIT license.
124	 */
125var eE="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function tE(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function nE(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function rE(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var iE={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":eE?173:189,"=":eE?61:187,";":eE?59:186,"'":222,"[":219,"]":221,"\\":220},aE={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},oE={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},sE={16:!1,18:!1,17:!1,91:!1},lE={},uE=1;uE<20;uE++)iE["f".concat(uE)]=111+uE;var cE=[],fE="all",dE=[],pE=function(e){return iE[e.toLowerCase()]||aE[e.toLowerCase()]||e.toUpperCase().charCo
125deAt(0)};function hE(e){fE=e||"all"}function mE(){return fE||"all"}var vE=function(e){var t=e.key,n=e.scope,r=e.method,i=e.splitKey,a=void 0===i?"+":i;rE(t).forEach((function(e){var t=e.split(a),i=t.length,o=t[i-1],s="*"===o?"*":pE(o);if(lE[s]){n||(n=mE());var l=i>1?nE(aE,t):[];lE[s]=lE[s].map((function(e){return(!r||e.method===r)&&e.scope===n&&function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,i=!0,a=0;a<n.length;a++)-1===r.indexOf(n[a])&&(i=!1);return i}(e.mods,l)?{}:e}))}}))};function yE(e,t,n){var r;if(t.scope===n||"all"===t.scope){for(var i in r=t.mods.length>0,sE)Object.prototype.hasOwnProperty.call(sE,i)&&(!sE[i]&&t.mods.indexOf(+i)>-1||sE[i]&&-1===t.mods.indexOf(+i))&&(r=!1);(0!==t.mods.length||sE[16]||sE[18]||sE[17]||sE[91])&&!r&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function gE(e){var t=lE["*"],n=e.keyCode||e.which||e.charCode;if(bE.filter.call(this,e)){if(93!==n&&224!==n||(n=91),-1===cE.indexOf(n)&&229!==n&&cE.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=oE[t];e[t]&&-1===cE.indexOf(n)?cE.push(n):!e[t]&&cE.indexOf(n)>-1?cE.splice(cE.indexOf(n),1):"metaKey"===t&&e[t]&&3===cE.length&&(e.ctrlKey||e.shiftKey||e.altKey||(cE=cE.slice(cE.indexOf(n))))})),n in sE){for(var r in sE[n]=!0,aE)aE[r]===n&&(bE[r]=!0);if(!t)return}for(var i in sE)Object.prototype.hasOwnProperty.call(sE,i)&&(sE[i]=e[oE[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===cE.indexOf(17)&&cE.push(17),-1===cE.indexOf(18)&&cE.push(18),sE[17]=!0,sE[18]=!0);var a=mE();if(t)for(var o=0;o<t.length;o++)t[o].scope===a&&("keydown"===e.type&&t[o].keydown||"keyup"===e.type&&t[o].keyup)&&yE(e,t[o],a);if(n in lE)for(var s=0;s<lE[n].length;s++)if(("keydown"===e.type&&lE[n][s].keydown||"keyup"===e.type&&lE[n][s].keyup)&&lE[n][s].key){for(var l=lE[n][s],u=l.splitKey,c=l.key.split(u),f=[],d=0;d<c.length;d++)f.push(pE(c[d]));f.sort().join("")===cE.sort().join("")&&yE(e,l,a)}}}function bE(e,t,n){cE=[];var r=rE(e),i=[],a="all",o=document,s=0,l=!1,u=!0,c="+";for(void 0===n&&"function"==typeof t&&(n=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(a=t.scope),t.element&&(o=t.element),t.keyup&&(l=t.keyup),void 0!==t.keydown&&(u=t.keydown),"string"==typeof t.splitKey&&(c=t.splitKey)),"string"==typeof t&&(a=t);s<r.length;s++)i=[],(e=r[s].split(c)).length>1&&(i=nE(aE,e)),(e="*"===(e=e[e.length-1])?"*":pE(e))in lE||(lE[e]=[]),lE[e].push({keyup:l,keydown:u,scope:a,mods:i,shortcut:r[s],method:n,key:r[s],splitKey:c});void 0!==o&&!function(e){return dE.indexOf(e)>-1}(o)&&window&&(dE.push(o),tE(o,"keydown",(function(e){gE(e)})),tE(window,"focus",(function(){cE=[]})),tE(o,"keyup",(function(e){gE(e),function(e){var t=e.keyCode||e.which||e.charCode,n=cE.indexOf(t);if(n>=0&&cE.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&cE.splice(0,cE.length),93!==t&&224!==t||(t=91),t in sE)for(var r in sE[t]=!1,aE)aE[r]===t&&(bE[r]=!1)}(e)})))}var wE={setScope:hE,getScope:mE,deleteScope:function(e,t){var n,r;for(var i in e||(e=mE()),lE)if(Object.prototype.hasOwnProperty.call(lE,i))for(n=lE[i],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;mE()===e&&hE(t||"all")},getPressedKeyCodes:function(){return cE.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=pE(e)),-1!==cE.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,n=t.tagName,r=!0;return!t.isContentEditable&&("INPUT"!==n&&"TEXTAREA"!==n&&"SELECT"!==n||t.readOnly)||(r=!1),r},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&vE(e)}));else if("object"==typeof e)e.key&&vE(e);else if("string"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n[0],a=n[1];"function"==typeof i&&(a=i,i=""),vE({key:e,scope:i,method:a,splitKey:"+"})}}else Object.keys(lE).forEach((function(e){return delete lE[e]}))}};for(var EE in wE)Object.prototype.hasOwnProperty.call(wE,EE)&&(bE[EE]=wE[EE]);if("undefined"!=typeof window){var kE=window.hotkeys;bE.noConflict=function(e){return e&&window.hotkeys===bE&&(window.hotkeys=kE),bE},window.hotkeys=bE}bE.filter=function(){return!0};var _E=function(e,t){var n=e.target,r=n&&n.tagName;return Boolean(r&&t&&t.includes(r))};function SE(e,t,n,r){n instanceof Array&&(r=n,n=void 0);var i=n||{},a=i.enableOnTags,o=i.filter,s=i.keyup,l=i.keydown,u=i.filterPreventDefault,c=void 0===u||u,f=i.enabled,d=void 0===f||f,p=i.enableOnContentEditable,h=void 0!==p&&p,m=L.useRef(null),v=L.useCallback((function(e,n){var r;return o&&!o(e)?!c:!!(_E(e,["INPUT","TEXTAREA","SELECT"])&&!_E(e,a)||null!=(r=e.target)&&r.isContentEditable&&!h)||(null===m.current||document.activeElement===m.current)&&(t(e,n),!0)}),r?[m,a,o].concat(r):[m,a,o]);return L.useEffect((function(){if(d)return s&&!0!==l&&(n.keydown=!1),bE(e,n||{},v),function(){return bE.unbind(e,v)};bE.unbind(e,v)}),[v,e,d]),m}var xE=(e,t,n,r)=>{const{loading:i,data:a}=Dy(e,{fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first",...r}),o=L.useMemo((()=>t(a)),[a]),s=L.useMemo((()=>n(o)),[o]),l=L.useMemo((()=>((e,t)=>{const n=!0===t,r=null==e||0===e.length;return{isLoading:n,isEmpty:r,isInitializing:!0===r&&!0===t,isUpdating:!1===r&&!0===t}})(o,i)),[o,i]);return{value:s,status:l}},TE=hy`
126	fragment domainFields on Domain {
127		id
128		title
129	}
130`;const OE=hy`
131	query fetchDomains {
132		domains {
133			...domainFields
134		}
135	}
136
137	${TE}
138`;var CE=()=>xE(OE,(e=>e?.domains),((e=[])=>e),{fetchPolicy:"cache-first",nextFetchPolicy:"cache-first"});const NE=Symbol(),RE=Symbol(),DE=e=>Math.max(10,Math.min(e.body.width-e.element.width-10,e.target.absolute.x+e.target.width-e.element.width)),IE=e=>e.target.absolute.y+e.target.height+10,PE=e=>e.find((e=>!0===e.active)),FE=e=>L.createElement("div",{className:vw({header__spinner:!0,"header__spinner--white":"white"===e.color,"header__spinner--primary":"primary"===e.color,"header__spinner--visible":!0===e.loading})}),AE=e=>L.createElement("div",{className:"header__logo"},L.createElement(FE,{color:"white",loading:e.loading}),L.createElement(FE,{color:"primary",loading:e.loading})),ME=e=>L.createElement("button",{className:vw({header__button:!0,active:!0===e.active,link:!0,"color-white":!0===e.active}),onClick:e.onClick},e.children),LE=e=>{const t=L.useRef(),[n,r]=L.useState(!1),i=()=>r(!1),a=null!=PE(e.items);return L.createElement(L.Fragment,{},L.createElement("button",{ref:t,className:vw({header__button:!0,hovered:!0===n,active:!0===a,link:!0,"color-white":!0===a}),onClick:()=>r(!n)},e.children,L.createElement(Uw,{className:"header__arrow"}
138)),!0===n&&L.createElement(Qw,{targetRef:t,x:DE,y:IE,items:e.items,onItemClick:i,onAwayClick:i}))},qE=e=>L.createElement("header",{className:"header"},L.createElement(AE,{loading:e.loading}),L.createElement("nav",{className:"header__nav"},L.createElement("div",{className:"header__buttons"},e.items.map(((e,t)=>e.type===NE?L.createElement(ME,{key:t,...e},e.label):e.type===RE?L.createElement(LE,{key:t,...e},e.label(PE(e.items))):void 0)))));qE.propTypes={loading:fw.bool.isRequired,items:fw.arrayOf(fw.object).isRequired};const jE=(e,t,n,r)=>({type:NE,onClick:()=>r(t),active:n===t,label:e}),zE=(e,t)=>({type:RE,items:t,label:e}),VE=(e,t,n,r,i)=>({type:qw,onClick:()=>r(t),active:n===t,label:e,keyHint:i}),$E=()=>({type:jw}),QE="modals_views",UE="modals_durations",BE="modals_domain_add",WE="modals_domain_edit",KE="modals_event_add",HE="modals_event_edit",YE="modals_permanent_token_add",GE="modals_permanent_token_edit";var JE={current:fw.bool.isRequired,closeModal:fw.func.isRequired};const XE=e=>(SE("esc",e.closeModal,{filter:()=>!0===e.current,enableOnTags:["INPUT","SELECT","TEXTAREA"]}),L.createElement("div",{className:vw({modal:!0,visible:!0===e.visible})},L.createElement("div",{className:"modal__inner"},e.children)));XE.propTypes={...JE,visible:fw.bool.isRequired,children:fw.node.isRequired};const ZE=()=>L.createElement("div",{className:"loader"},L.createElement("div",{className:"loader__circle"})),ek=()=>L.createElement("div",{className:"updater"},L.createElement("div",{className:"updater__circle"})),tk=e=>L.createElement("div",{className:"status"},null!=e.icon&&L.createElement(e.icon,{}),e.children);tk.propTypes={icon:fw.oneOf([ZE,ek]),children:fw.node.isRequired};const nk=e=>L.createElement("svg",{viewBox:"0 0 24 24",className:e.className},L.createElement("path",{d:"M14.601 21.5c0 1.38-1.116 2.5-2.499 2.5-1.378 0-2.499-1.12-2.499-2.5s1.121-2.5 2.499-2.5c1.383 0 2.499 1.119 2.499 2.5zm-2.42-21.5c-4.029 0-7.06 2.693-7.06 8h3.955c0-2.304.906-4.189 3.024-4.189 1.247 0 2.57.828 2.684 2.411.123 1.666-.767 2.511-1.892 3.582-2.924 2.78-2.816 4.049-2.816 7.196h3.943c0-1.452-.157-2.508 1.838-4.659 1.331-1.436 2.986-3.222 3.021-5.943.047-3.963-2.751-6.398-6.697-6.398z"}));nk.propTypes={className:fw.string};const rk=e=>Math.max(10,Math.min(e.body.width-e.element.width-10,e.target.relative.x+e.target.width/2-e.element.width/2)),ik=e=>e.target.relative.y-e.element.height-10,ak=e=>{const t=L.useRef(),[n,r]=L.useState(!1),i=()=>r(!1),a=[{type:Lw,children:e.children}];return L.createElement("button",{ref:t,type:"button",className:"link tooltip",onClick:()=>r(!n)},L.createElement(nk,{className:"tooltip__icon"}),!0===n&&L.createElement(Qw,{targetRef:t,fixed:!0,x:rk,y:ik,tooltip:!0,items:a,onItemClick:i,onAwayClick:i},e.children))};ak.propTypes={children:fw.node.isRequired};const ok=e=>!0===e.isInitializing?L.createElement(tk,{icon:ZE},"Loading"):!0===e.isUpdating?L.createElement(tk,{icon:ek}
138,"Updating"):!0===e.isEmpty?L.createElement(tk,{},"No data",L.createElement(ak,{},"There is either no data available or collecting detailed data is disabled in ackee-tracker.")):L.createElement(tk,{},e.children);ok.propTypes={isEmpty:fw.bool.isRequired,isInitializing:fw.bool.isRequired,isUpdating:fw.bool.isRequired,children:fw.node.isRequired};var sk=e=>"t.co"===e.hostname?new URL(`https://twitter.com/search?q=${encodeURIComponent(e.origin+e.pathname)}`):e,lk=e=>(t,n)=>t+n[e];const uk=e=>{const t=null!=e.url,n=!0===t?"a":"div",r=!0===t?{href:sk(e.url).href,target:"_blank",rel:"noopener"}:{};return L.createElement(n,{className:"flexList__row",...r},L.createElement("div",{className:"flexList__column flexList__column--text-adjustment flexList__column--fixed-width flexList__column--spacing-left flexList__column--spacing-right",style:{"--width":`${e.counterWidth}px`}},L.createElement("div",{className:"flexList__bar flexList__bar--counter",style:{"--width":`${e.barWidth}%`}}),L.createElement("span",{className:"color-primary"},`${e.count}`)),L.createElement("div",{className:"flexList__column flexList__column--text-adjustment"},L.createElement("span",{className:"flexList__truncated"},e.text)))},ck=e=>{const t=e.items.reduce(lk("count"),0),n=({count:e})=>e/t*100,r=e.items.reduce(((t,n)=>{const r=e.formatter(n.count),i=9*String(r).length;return i>t?i:t}),0);return L.createElement("div",{className:"flexList"},L.createElement("div",{className:"flexList__inner"},e.items.map(((t,i)=>L.createElement(uk,{key:t.text+i,barWidth:n(t),counterWidth:r,count:e.formatter(t.count),url:t.url,text:t.text})))))};ck.propTypes={items:fw.arrayOf(fw.shape({url:fw.object,text:fw.string.isRequired,count:fw.number.isRequired})).isRequired,formatter:fw.func.isRequired};var fk=hy`
139	fragment viewsField on DomainStatistics {
140		views(interval: $interval, type: $type, limit: $limit) {
141			id
142			count
143		}
144	}
145`,dk=e=>new Array(e).fill(),pk=e=>(t,n)=>{const r=String(t[e]),i=String(n[e]);return r.localeCompare(i,"en",{numeric:!0})};const hk=hy`
146	query fetchCombinedViews($interval: Interval!, $type: ViewType!, $limit: Int) {
147		domains {
148			id
149			title
150			statistics {
151				id
152				...viewsField
153			}
154		}
155	}
156
157	${fk}
158`;var mk=e=>xE(hk,(e=>e?.domains),(t=>((e=[],t)=>{const n=dk(t).map((()=>[]));return e.reduce(((e,t)=>(t.statistics.views.forEach(((n,r)=>{const i=e[r],a={text:t.title,count:n.count};e[r]=[...i,a].sort(pk("count")).reverse()})),e)),n)})(t,e.limit)),{variables:e}),vk=e=>{switch(e){case 0:return"Today";case 1:return"Yesterday";default:return`${e} days ago`}};function yk(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function gk(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function bk(e){gk(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function wk(e,t){gk(2,arguments);var n=bk(e),r=yk(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),a=new Date(n.getTime());a.setMonth(n.getMonth()+r+1,0);var o=a.getDate();return i>=o?a:(n.setFullYear(a.getFullYear(),a.getMonth(),i),n)}function Ek(e,t){gk(2,arguments);var n=yk(t);return wk(e,12*n)}var kk=e=>{switch(e){case 0:return"This month";case 1:return"Last month";default:return function(e,t){gk(2,arguments);var n=yk(t);return wk(e,-n)}(new Date,e).toLocaleString("en-US",{month:"long",year:"numeric"})}},_k=e=>{switch(e){case 0:return"This year";case 1:return"Last year";default:return function(e,t){gk(2,arguments);var n=yk(t);return Ek(e,-n)}(new Date,e).getFullYear()}},Sk=e=>{switch(e){case ib:return vk;case ab:return kk;case ob:return _k}},xk=e=>Number.parseFloat(e).toFixed(2).replace(".00","")+"x";const Tk=e=>{const{value:t,status:n}=mk({interval:e.interval,type:e.type,limit:e.limit}),r={[sb]:"Site Views",[lb]:"Page Views"}[e.type];return L.createElement("div",{className:"card"},L.createElement("div",{className:"card__inner"},L.createElement(yw,{type:"h2",size:"medium"}
158,r),L.createElement(gw,{type:"div",spacing:!1},L.createElement(ok,n,Sk(e.interval)(e.index))),L.createElement(ck,{items:t[e.index],formatter:xk})),L.createElement("div",{className:"card__footer"},L.createElement("button",{type:"button",className:"card__button card__button--primary link",onClick:e.closeModal},"Close")))};Tk.propTypes={...JE,index:fw.number.isRequired,interval:fw.string.isRequired,type:fw.string.isRequired,limit:fw.number.isRequired};var Ok=hy`
159	fragment durationsField on DomainStatistics {
160		durations(interval: $interval, limit: $limit) {
161			id
162			count
163		}
164	}
165`;const Ck=hy`
166	query fetchCombinedDurations($interval: Interval!, $limit: Int) {
167		domains {
168			id
169			title
170			statistics {
171				id
172				...durationsField
173			}
174		}
175	}
176
177	${Ok}
178`;var Nk=e=>xE(Ck,(e=>e?.domains),(t=>((e=[],t)=>{const n=dk(t).map((()=>[]));return e.reduce(((e,t)=>(t.statistics.durations.forEach(((n,r)=>{const i=e[r],a={text:t.title,count:n.count};e[r]=[...i,a].sort(pk("count")).reverse()})),e)),n)})(t,e.limit)),{variables:e});const Rk=e=>(e=>e.replace(/^0/,""))((e=>e.replace(/(:00:00|:00)$/,""))(e)),Dk=function(){return`${this.value}${this.unit}`};var Ik=e=>{const t=new Date(e).toISOString().substr(11,8),n=null==t.match(/^00:00:/),r=null==t.match(/^00:/);return!1===n?{value:Rk(t.substr(6)),unit:"s",toString:Dk}:!1===r?{value:Rk(t.substr(3)),unit:"m",toString:Dk}:{value:Rk(t),unit:"h",toString:Dk}};const Pk=e=>{const{value:t,status:n}=Nk({interval:e.interval,limit:e.limit});return L.createElement("div",{className:"card"},L.createElement("div",{className:"card__inner"},L.createElement(yw,{type:"h2",size:"medium"},"Durations"),L.createElement(gw,{type:"div",spacing:!1},L.createElement(ok,n,Sk(e.interval)(e.index))),L.createElement(ck,{items:t[e.index],formatter:Ik})),L.createElement("div",{className:"card__footer"},L.createElement("button",{type:"button",className:"card__button card__button--primary link",onClick:e.closeModal},"Close")))};Pk.propTypes={...JE,index:fw.number.isRequired,interval:fw.string.isRequired,limit:fw.number.isRequired};const Fk=e=>L.createElement("label",{className:vw({label:!0,"label--no-spacing":!1===e.spacing}),htmlFor:e.htmlFor},e.children);Fk.propTypes={spacing:fw.bool,htmlFor:fw.string.isRequired,children:fw.node.isRequired};var Ak=(e,t)=>(n=[],{readField:r})=>[...n,e].map((e=>({ref:e,[t]:r(t,e)}))).sort(pk(t)).map((e=>e.ref));const Mk=hy`
179	mutation createDomain($input: CreateDomainInput!) {
180		createDomain(input: $input) {
181			payload {
182				...domainFields
183			}
184		}
185	}
186
187	${TE}
188`,Lk=(e,t)=>{const n=t.data.createDomain.payload,r=TE;e.modify({fields:{domains:(...t)=>{const i=e.writeFragment({data:n,fragment:r});return Ak(i,"title")(...t)}}})};const qk=e=>{const t=(()=>{const[e,{loading:t,error:n}]=Ay(Mk);return{mutate:t=>e({update:Lk,...t}),loading:t,error:n}})(),n=!0===t.loading,[r,i]=xw({title:""}),a=Bg();return L.createElement("form",{className:"card",onSubmit:async n=>{n.preventDefault(),await t.mutate({variables:{input:r}}),e.closeModal()}},L.createElement("div",{className:"card__inner"},L.createElement(mw,{size:.5}),L.createElement(Fk,{htmlFor:a},"Domain title"),L.createElement(kw,{type:"text",id:a,required:!0,disabled:!0===n,focused:!0,placeholder:"Domain title",value:r.title,onChange:i("title")})),L.createElement("div",{className:"card__footer"},L.createElement("button",{type:"button",className:"card__button link",onClick:e.closeModal},"Close"),L.createElement("div",{className:"card__separator"}),L.createElement("button",{className:"card__button card__button--primary link color-white",disabled:!0===n},!0===n?L.createElement(_w):"Add")))};qk.propTypes={...JE};const jk=hy`
189	mutation updateDomain($id: ID!, $input: UpdateDomainInput!) {
190		updateDomain(id: $id, input: $input) {
191			payload {
192				...domainFields
193			}
194		}
195	}
196
197	${TE}
198`;var zk=e=>(t=[],{readField:n})=>t.filter((t=>e!==n("id",t)));const Vk=hy`
199	mutation deleteDomain($id: ID!) {
200		deleteDomain(id: $id) {
201			success
202		}
203	}
204`,$k=e=>(t,n)=>{!1!==n.data.deleteDomain.success&&t.modify({fields:{domains:zk(e)}})};const Qk=e=>{const t=(e=>{const[t,{loading:n,error:r}]=Ay(jk,{variables:{id:e}});return{mutate:n=>t({optimisticResponse:{updateDomain:{payload:{id:e,title:n.variables.input.title,__typename:"Domain"},__typename:"UpdateDomainPayload"}},...n}),loading:n,error:r}})(e.id),n=(e=>{const[t,{loading:n,error:r}]=Ay(Vk,{variables:{id:e}});return{mutate:n=>t({update:$k(e),optimisticResponse:{deleteDomain:{success:!0,__typename:"DeleteDomainPayload"}},...n}),loading:n,error:r}})(e.id),[r,i]=xw({title:e.title}),a=Bg(),o=Bg(),s=Bg(),l=window.env.customTracker.url||"/tracker.js",u=new URL(l,location.href).href,c=location.origin;return L.createElement("form",{className:"card",onSubmit:n=>{n.preventDefault(),t.mutate({variables:{input:r}}),e.closeModal()}},L.createElement("div",{className:"card__inner"},L.createElement(mw,{size:.5}),L.createElement(Fk,{htmlFor:a},"Domain title"),L.createElement(kw,{type:"text",id:a,required:!0,focused:!0,placeholder:"Domain title",value:r.title,onChange:i("title")}),L.createElement(Fk,{htmlFor:o}
204,"Domain id"),L.createElement(kw,{type:"text",id:o,readOnly:!0,placeholder:"Domain id",value:e.id,copyOnFocus:!0}),L.createElement(Fk,{htmlFor:s},"Embed code"),L.createElement(hw,{id:s,readOnly:!0,rows:4,value:`<script async src="${u}" data-ackee-server="${c}" data-ackee-domain-id="${e.id}"><\/script>`,copyOnFocus:!0})),L.createElement("div",{className:"card__footer"},L.createElement("button",{type:"button",className:"card__button link",onClick:e.closeModal},"Close"),L.createElement("div",{className:"card__separator"}),L.createElement("button",{type:"button",className:"card__button link color-destructive",onClick:t=>{t.preventDefault();!1!==confirm(`Are you sure you want to delete the domain "${e.title}"? This action cannot be undone.`)&&(n.mutate(),e.closeModal())}},"Delete"),L.createElement("div",{className:"card__separator"}),L.createElement("button",{className:"card__button card__button--primary link color-white"},"Rename")))};Qk.propTypes={...JE,id:fw.string.isRequired,title:fw.string.isRequired};var Uk="TOTAL_CHART",Bk="AVERAGE_CHART",Wk="TOTAL_LIST",Kk="AVERAGE_LIST";const Hk=e=>L.createElement("select",{className:"select",id:e.id,required:e.required,disabled:e.disabled,value:e.value,onChange:e.onChange},e.items.map(((e,t)=>L.createElement("option",{key:e.value+t,value:e.value},e.label))));Hk.propTypes={id:fw.string,required:fw.bool,disabled:fw.bool,value:fw.string,onChange:fw.func.isRequired,items:fw.arrayOf(fw.shape({value:fw.string.isRequired,label:fw.string.isRequired})).isRequired};var Yk=hy`
205	fragment eventFields on Event {
206		id
207		title
208		type
209	}
210`;const Gk=hy`
211	mutation createEvent($input: CreateEventInput!) {
212		createEvent(input: $input) {
213			payload {
214				...eventFields
215			}
216		}
217	}
218
219	${Yk}
220`,Jk=(e,t)=>{const n=t.data.createEvent.payload,r=Yk;e.modify({fields:{events:(...t)=>{const i=e.writeFragment({data:n,fragment:r});return Ak(i,"title")(...t)}}})};const Xk=e=>{const t=(()=>{const[e,{loading:t,error:n}]=Ay(Gk);return{mutate:t=>e({update:Jk,...t}),loading:t,error:n}})(),n=!0===t.loading,[r,i]=xw({title:"",type:Uk}),a=Bg(),o=Bg();return L.createElement("form",{className:"card",onSubmit:async n=>{n.preventDefault(),await t.mutate({variables:{input:r}}),e.closeModal()}},L.createElement("div",{className:"card__inner"},L.createElement(mw,{size:.5}),L.createElement(Fk,{htmlFor:a},"Event title"),L.createElement(kw,{type:"text",id:a,required:!0,disabled:!0===n,focused:!0,placeholder:"Event title",value:r.title,onChange:i("title")}),L.createElement("div",{className:"card__group"},L.createElement(Fk,{spacing:!1,htmlFor:o},"Event type"),L.createElement(ak,{},"Specifies how the aggregated data will be displayed in the UI. Can be changed at any time.")),L.createElement(Hk,{id:o,required:!0,disabled:!0===n,value:r.type,items:[{value:Uk,label:"Chart with total sums"},{value:Bk,label:"Chart with average values"},{value:Wk,label:"List with total sums"},{value:Kk,label:"List with average values"}],onChange:i("type")})),L.createElement("div",{className:"card__footer"},L.createElement("button",{type:"button",className:"card__button link",onClick:e.closeModal},"Close"),L.createElement("div",{className:"card__separator"}),L.createElement("button",{className:"card__button card__button--primary link color-white",disabled:!0===n},!0===n?L.createElement(_w):"Add")))};Xk.propTypes={...JE};const Zk=hy`
221	mutation updateEvent($id: ID!, $input: UpdateEventInput!) {
222		updateEvent(id: $id, input: $input) {
223			payload {
224				...eventFields
225			}
226		}
227	}
228
229	${Yk}
230`;const e_=hy`
231	mutation deleteEvent($id: ID!) {
232		deleteEvent(id: $id) {
233			success
234		}
235	}
236`,t_=e=>(t,n)=>{!1!==n.data.deleteEvent.success&&t.modify({fields:{events:zk(e)}})};const n_=e=>{const t=(e=>{const[t,{loading:n,error:r}]=Ay(Zk,{variables:{id:e}});return{mutate:n=>t({optimisticResponse:{updateEvent:{payload:{id:e,title:n.variables.input.title,type:n.variables.input.type,__typename:"Event"},__typename:"UpdateEventPayload"}},...n}),loading:n,error:r}})(e.id),n=(e=>{const[t,{loading:n,error:r}]=Ay(e_,{variables:{id:e}});return{mutate:n=>t({update:t_(e),optimisticResponse:{deleteEvent:{success:!0,__typename:"DeleteEventPayload"}},...n}),loading:n,error:r}})(e.id),[r,i]=xw({title:e.title,type:e.type}),a=Bg(),o=Bg(),s=Bg(),l=Bg();return L.createElement("form",{className:"card",onSubmit:n=>{n.preventDefault(),t.mutate({variables:{input:r}}),e.closeModal()}},L.createElement("div",{className:"card__inner"},L.createElement(mw,{size:.5}),L.createElement(Fk,{htmlFor:a},"Event title"),L.createElement(kw,{type:"text",id:a,required:!0,focused:!0,placeholder:"Event title",value:r.title,onChange:i("title")}),L.createElement("div",{className:"card__group"},L.createElement(Fk,{spacing:!1,htmlFor:o},"Event type"),L.createElement(ak,{},"Specifies how the aggregated data will be displayed in the UI. Can be changed at any time.")),L.createElement(Hk,{id:o,required:!0,value:r.type,items:[{value:Uk,label:"Chart with total sums"},{value:Bk,label:"Chart with average values"},{value:Wk,label:"List with total sums"},{value:Kk,label:"List with average values"}],onChange:i("type")}),L.createElement(Fk,{htmlFor:s},"Event id"),L.createElement(kw,{type:"text",id:s,readOnly:!0,placeholder:"Event id",value:e.id,copyOnFocus:!0}),L.createElement(Fk,{htmlFor:l},"Usage example"),L.createElement(hw,{id:l,readOnly:!0,rows:3,value:`ackeeTracker.action('${e.id}', { key: 'Click', value: 1 })`,copyOnFocus:!0})),L.createElement("div",{className:"card__footer"},L.createElement("button",{type:"button",className:"card__button link",onClick:e.closeModal},"Close"),L.createElement("div",{className:"card__separator"}),L.createElement("button",{type:"button",className:"card__button link color-destructive",onClick:t=>{t.preventDefault();!1!==confirm(`Are you sure you want to delete the event "${e.title}"? This action cannot be undone.`)&&(n.mutate(),e.closeModal())}},"Delete"),L.createElement("div",{className:"card__separator"}),L.createElement("button",{className:"card__button card__button--primary link color-white"},"Save")))};
236n_.propTypes={...JE,id:fw.string.isRequired,title:fw.string.isRequired};var r_=hy`
237	fragment permanentTokenFields on PermanentToken {
238		id
239		title
240	}
241`;const i_=hy`
242	mutation createPermanentToken($input: CreatePermanentTokenInput!) {
243		createPermanentToken(input: $input) {
244			payload {
245				...permanentTokenFields
246			}
247		}
248	}
249
250	${r_}
251`,a_=(e,t)=>{const n=t.data.createPermanentToken.payload,r=r_;e.modify({fields:{permanentTokens:(...t)=>{const i=e.writeFragment({data:n,fragment:r});return Ak(i,"title")(...t)}}})};const o_=e=>{const t=(()=>{const[e,{loading:t,error:n}]=Ay(i_);return{mutate:t=>e({update:a_,...t}),loading:t,error:n}})(),n=!0===t.loading,[r,i]=xw({title:""}),a=Bg();return L.createElement("form",{className:"card",onSubmit:async n=>{n.preventDefault(),await t.mutate({variables:{input:r}}),e.closeModal()}},L.createElement("div",{className:"card__inner"},L.createElement(mw,{size:.5}),L.createElement(Fk,{htmlFor:a},"Permanent token title"),L.createElement(kw,{type:"text",id:a,required:!0,disabled:!0===n,focused:!0,placeholder:"Permanent token title",value:r.title,onChange:i("title")})),L.createElement("div",{className:"card__footer"},L.createElement("button",{type:"button",className:"card__button link",onClick:e.closeModal},"Close"),L.createElement("div",{className:"card__separator "}),L.createElement("button",{className:"card__button card__button--primary link color-white",disabled:!0===n},!0===n?L.createElement(_w):"Add")))};o_.propTypes={...JE};const s_=hy`
252	mutation updatePermanentToken($id: ID!, $input: UpdatePermanentTokenInput!) {
253		updatePermanentToken(id: $id, input: $input) {
254			payload {
255				...permanentTokenFields
256			}
257		}
258	}
259
260	${r_}
261`;const l_=hy`
262	mutation deletePermanentToken($id: ID!) {
263		deletePermanentToken(id: $id) {
264			success
265		}
266	}
267`,u_=e=>(t,n)=>{!1!==n.data.deletePermanentToken.success&&t.modify({fields:{permanentTokens:zk(e)}})};const c_=e=>{const t=(e=>{const[t,{loading:n,error:r}]=Ay(s_,{variables:{id:e}});return{mutate:n=>t({optimisticResponse:{updatePermanentToken:{payload:{id:e,title:n.variables.input.title,__typename:"PermanentToken"},__typename:"UpdatePermanentTokenPayload"}},...n}),loading:n,error:r}})(e.id),n=(e=>{const[t,{loading:n,error:r}]=Ay(l_,{variables:{id:e}});return{mutate:n=>t({update:u_(e),optimisticResponse:{deletePermanentToken:{success:!0,__typename:"DeletePermanentTokenPayload"}},...n}),loading:n,error:r}})(e.id),[r,i]=xw({title:e.title}),a=Bg(),o=Bg();return L.createElement("form",{className:"card",onSubmit:n=>{n.preventDefault(),t.mutate({variables:{input:r}}),e.closeModal()}},L.createElement("div",{className:"card__inner"},L.createElement(mw,{size:.5}),L.createElement(Fk,{htmlFor:a},"Permanent token title"),L.createElement(kw,{type:"text",id:a,required:!0,focused:!0,placeholder:"Permanent token title",value:r.title,onChange:i("title")}),L.createElement(Fk,{htmlFor:o},"Permanent token id"),L.createElement(kw,{type:"text",id:o,readOnly:!0,placeholder:"Permanent token id",value:e.id,copyOnFocus:!0})),L.createElement("div",{className:"card__footer"},L.createElement("button",{type:"button",className:"card__button link",onClick:e.closeModal},"Close"),L.createElement("div",{className:"card__separator "}),L.createElement("button",{type:"button",className:"card__button link color-destructive",onClick:t=>{t.preventDefault();!1!==confirm(`Are you sure you want to delete the permanent token "${e.title}"? This action cannot be undone.`)&&(n.mutate(),e.closeModal())}},"Delete"),L.createElement("div",{className:"card__separator "}),L.createElement("button",{className:"card__button card__button--primary link color-white"},"Rename")))};c_.propTypes={...JE,id:fw.string.isRequired,title:fw.string.isRequired};const f_={[QE]:Tk,[UE]:Pk,[BE]:qk,[WE]:Qk,[KE]:Xk,[HE]:n_,[YE]:o_,[GE]:c_},d_=e=>Object.entries(e.modals).map((([t,n],r,i)=>{const a={current:i.length-1===r,closeModal:e.removeModal.bind(null,t)};return L.createElement(XE,{key:t,visible:!0,...a},L.createElement(f_[n.type],{...a,...n.props}))}));d_.propTypes={modals:fw.object.isRequired,removeModal:fw.func.isRequired};const p_={activeVisitors:0,averageViews:{count:0,change:null},averageDuration:{count:0,change:null},viewsToday:0,viewsMonth:0,viewsYear:0};var h_=(e={})=>({...p_,...e});const m_=hy`
268	query fetchMergedActiveVisitors {
269		facts {
270			id
271			activeVisitors
272		}
273	}
274`;var v_=hy`
275	fragment factsFields on Facts {
276		id
277		activeVisitors
278		averageViews {
279			count
280			change
281		}
282		averageDuration {
283			count
284			change
285		}
286		viewsToday
287		viewsMonth
288		viewsYear
289	}
290`;const y_=hy`
291	query fetchMergedFacts {
292		facts {
293			...factsFields
294		}
295	}
296
297	${v_}
298`;var g_=()=>xE(y_,(e=>e?.facts),h_),b_=(e=[],t)=>dk(t).map(((t,n)=>{const r=e[n];return null==r?0:r.count}));const w_=hy`
299	query fetchMergedViews($interval: Interval!, $type: ViewType!, $limit: Int) {
300		statistics {
301			id
302			...viewsField
303		}
304	}
305
306	${fk}
307`;var E_=(e,t)=>xE(w_,(e=>e?.statistics.views),(t=>b_(t,e.limit)),{variables:e,...t}),k_=(e=[],t)=>dk(t).map(((t,n)=>{const r=e[n];return null==r?0:r.count}));const __=hy`
308	query fetchMergedDurations($interval: Interval!, $limit: Int) {
309		statistics {
310			id
311			...durationsField
312		}
313	}
314
315	${Ok}
316`;var S_=e=>xE(__,(e=>e?.statistics.durations),(t=>k_(t,e.limit)),{variables:e}),x_=hy`
317	fragment pagesField on DomainStatistics {
318		pages(sorting: $sorting, range: $range) {
319			id
320			value
321			count
322			created
323		}
324	}
325`,T_=(e=[])=>e.map((e=>({url:new URL(e.value),text:new URL(e.value).href,count:e.count,date:null==e.created?null:new Date(e.created)})));const O_=hy`
326	query fetchMergedPages($sorting: Sorting!, $range: Range) {
327		statistics {
328			id
329			...pagesField
330		}
331	}
332
333	${x_}
334`;var C_=e=>xE(O_,(e=>e?.statistics.pages),T_,{variables:e}),N_=hy`
335	fragment referrersField on DomainStatistics {
336		referrers(sorting: $sorting, type: $type, range: $range) {
337			id
338			value
339			count
340			created
341		}
342	}
343`,R_=function(e){if("string"!=typeof e)return!1;var t=e.match(D_);if(!t)return!1;var n=t[1];if(!n)return!1;if(I_.test(n)||P_.test(n))return!0;return!1},D_=/^(?:\w+:)?\/\/(\S+)$/,I_=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,P_=/^[^\s\.]+\.\S{2,}$/;var F_=(e=[])=>e.map((e=>({url:!0===R_(e.value)?new URL(e.value):null,text:!0===R_(e.value)?new URL(e.value).href:e.value,count:e.count,date:null==e.created?null:new Date(e.created)})));const A_=hy`
344	query fetchMergedReferrers($sorting: Sorting!, $type: ReferrerType!, $range: Range) {
345		statistics {
346			id
347			...referrersField
348		}
349	}
350
351	${N_}
352`;var M_=e=>xE(A_,(e=>e?.statistics.referrers),F_,{variables:e}),L_=hy`
353	fragment systemsField on DomainStatistics {
354		systems(sorting: $sorting, type: $type, range: $range) {
355			id
356			value
357			count
358			created
359		}
360	}
361`,q_=(e=[])=>e.map((e=>({text:e.value,count:e.count,date:null==e.created?null:new Date(e.created)})));const j_=hy`
362	query fetchMergedSystems($sorting: Sorting!, $type: SystemType!, $range: Range) {
363		statistics {
364			id
365			...systemsField
366		}
367	}
368
369	${L_}
370`;var z_=e=>xE(j_,(e=>e?.statistics.systems),q_,{variables:e}),V_=hy`
371	fragment devicesField on DomainStatistics {
372		devices(sorting: $sorting, type: $type, range: $range) {
373			id
374			value
375			count
376			created
377		}
378	}
379`,$_=(e=[])=>e.map((e=>({text:e.value,count:e.count,date:null==e.created?null:new Date(e.created)})));const Q_=hy`
380	query fetchMergedDevices($sorting: Sorting!, $type: DeviceType!, $range: Range) {
381		statistics {
382			id
383			...devicesField
384		}
385	}
386
387	${V_}
388`;var U_=e=>xE(Q_,(e=>e?.statistics.devices),$_,{variables:e}),B_=hy`
389	fragment browsersField on DomainStatistics {
390		browsers(sorting: $sorting, type: $type, range: $range) {
391			id
392			value
393			count
394			created
395		}
396	}
397`,W_=(e=[])=>e.map((e=>({text:e.value,count:e.count,date:null==e.created?null:new Date(e.created)})));const K_=hy`
398	query fetchMergedBrowsers($sorting: Sorting!, $type: BrowserType!, $range: Range) {
399		statistics {
400			id
401			...browsersField
402		}
403	}
404
405	${B_}
406`;
406var H_=e=>xE(K_,(e=>e?.statistics.browsers),W_,{variables:e}),Y_=hy`
407	fragment sizesField on DomainStatistics {
408		sizes(sorting: $sorting, type: $type, range: $range) {
409			id
410			value
411			count
412			created
413		}
414	}
415`,G_=(e=[])=>e.map((e=>({text:e.value,count:e.count,date:null==e.created?null:new Date(e.created)})));const J_=hy`
416	query fetchMergedSizes($sorting: Sorting!, $type: SizeType!, $range: Range) {
417		statistics {
418			id
419			...sizesField
420		}
421	}
422
423	${Y_}
424`;var X_=e=>xE(J_,(e=>e?.statistics.sizes),G_,{variables:e}),Z_=hy`
425	fragment languagesField on DomainStatistics {
426		languages(sorting: $sorting, range: $range) {
427			id
428			value
429			count
430			created
431		}
432	}
433`,eS=(e=[])=>e.map((e=>({text:e.value,count:e.count,date:null==e.created?null:new Date(e.created)})));const tS=hy`
434	query fetchMergedLanguages($sorting: Sorting!, $range: Range) {
435		statistics {
436			id
437			...languagesField
438		}
439	}
440
441	${Z_}
442`;var nS=e=>xE(tS,(e=>e?.statistics.languages),eS,{variables:e});const rS="KMGTPEZY".split("");var iS=function(e,t){e=Math.abs(e);let n=0;for(;e>=1e3&&++n<rS.length;)e/=1e3;return t&&(e=t(e)),String(0===n?e:e+rS[n-1])},aS=e=>{const t=Math.round(e),n=iS(t,(e=>Number.parseFloat(e).toFixed(1)));return n.replace(".0","")},oS=(e,t)=>{switch(t){case 0:return e[0];case 1:return e[1];default:return e[2]}};const sS=e=>L.createElement("div",{className:vw("badge",`badge--${e.type}`)},L.createElement("span",{className:"badge__value"},e.value));sS.propTypes={type:fw.oneOf(["positive","negative","neutral"]).isRequired,value:fw.string.isRequired};const lS=e=>L.createElement("svg",{viewBox:"0 0 512 512",className:e.className},L.createElement("path",{d:"m464 256c0-114.87-93.13-208-208-208s-208 93.13-208 208 93.13 208 208 208 208-93.13 208-208zm-212.65 91.36a16 16 0 0 1 -.09-22.63l52.32-52.73h-133.58a16 16 0 0 1 0-32h133.58l-52.32-52.73a16 16 0 1 1 22.74-22.54l79.39 80a16 16 0 0 1 0 22.54l-79.39 80a16 16 0 0 1 -22.65.09z"}));lS.propTypes={className:fw.string};const uS=e=>e>5?"positive":e<-5?"negative":"neutral",cS=(e,t)=>e>0?`A ${t} increase when comparing the last 7 days with the previous 7 days`:e<0?`A ${t} decrease when comparing the last 7 days with the previous 7 days`:"No change when comparing the last 7 days with the previous 7 days",fS=e=>{const t=e.value,n=`${Math.abs(e.value)}%`;return L.createElement("div",{className:vw("badge","badge--with-icon",`badge--${uS(t)}`),title:cS(t,n)},L.createElement(lS,{className:"badge__icon"}),L.createElement("span",{className:"badge__value"},n))};fS.propTypes={value:fw.number.isRequired};const dS=e=>L.createElement("div",{className:"valueUnit"},L.createElement(yw,{type:"div",spacing:!1},e.value),L.createElement(gw,{type:"div",spacing:!1},e.unit));dS.propTypes={value:fw.oneOfType([fw.number,fw.string]).isRequired,unit:fw.string.isRequired};const pS=e=>L.createElement("div",{className:"facts__card"},L.createElement(yw,{type:"h2",size:"small",className:"facts__top"},e.headline),L.createElement("div",{className:"facts__left",title:e.title},L.createElement(dS,{value:e.value,unit:e.unit})),null!=e.addition&&L.createElement("div",{className:"facts__right"},e.addition)),hS=e=>{const{value:t}=e.hook(...e.hookArgs),{activeVisitors:n,averageViews:r,averageDuration:i,viewsToday:a,viewsMonth:o,viewsYear:s}=t;return L.createElement("div",{className:"facts"},L.createElement(pS,{headline:"Active visitors",value:n,unit:oS(["visitors","visitor","visitors"],n),addition:L.createElement(sS,{type:"positive",value:"Live"})}),L.createElement(pS,{headline:"Average views",value:aS(r.count),unit:"per day",title:`An average of ${r.count} views per day during the last 14 days`,addition:null!=r.change&&L.createElement(fS,{value:r.change})}),L.createElement(pS,{headline:"Average duration",value:Ik(i.count).value,unit:Ik(i.count).unit,title:`An average visit duration of ${Ik(i.count).value}${Ik(i.count).unit} per day during the last 14 days`,addition:null!=i.change&&L.createElement(fS,{value:i.change})}),L.createElement(pS,{headline:"Views today",value:aS(a),unit:oS(["views","view","views"],a)}),L.createElement(pS,{headline:"Views this month",value:aS(o),unit:oS(["views","view","views"],o)}),L.createElement(pS,{headline:"Views this year",value:aS(s),unit:oS(["views","view","views"],s)}))};hS.propTypes={hook:fw.func.isRequired,hookArgs:fw.array.isRequired};const mS=e=>{const{value:t,status:n}=e.hook(...e.hookArgs),[r,i]=L.useState(" ");return L.createElement("div",{className:vw({card:!0,"card--wide":!0===e.wide})},L.createElement("div",{className:"card__inner"},L.createElement(yw,{type:"h2",size:"medium",onClick:e.onMore}
442,e.headline),L.createElement(gw,{type:"div",spacing:!1},L.createElement(ok,n,r)),L.createElement(e.renderer,{...e.rendererProps,items:t,setStatusLabel:i})))};mS.propTypes={wide:fw.bool,headline:fw.string.isRequired,onMore:fw.func,hook:fw.func.isRequired,hookArgs:fw.array.isRequired,renderer:fw.elementType.isRequired,rendererProps:fw.object};const vS=e=>{return t=Math.max.apply(Math,e),10*Math.ceil(t/10);var t},yS=(e,t)=>0===e&&0===t?0:e/t*100,gS=e=>L.createElement("div",{className:vw({barChart__row:!0,"barChart__row--top":"top"===e.position,"barChart__row--middle":"middle"===e.position,"barChart__row--bottom":"bottom"===e.position,"color-light":!0})},e.children),bS=e=>L.createElement("div",{className:vw({barChart__column:!0,"barChart__column--disabled":null==e.onClick,active:e.active}),onMouseEnter:e.onEnter,onMouseLeave:e.onLeave,onClick:e.onClick},L.createElement("div",{className:"barChart__bar color-black",style:{"--size":e.size},"data-label":e.label})),wS=e=>{return L.createElement("div",{className:"barChart"},L.createElement("div",{className:"barChart__axis"},L.createElement(gS,{position:"top"},e.formatter(vS(e.items))),L.createElement(gS,{position:"middle"},e.formatter((t=e.items,vS(t)/2))),L.createElement(gS,{position:"bottom"},e.formatter(0))),L.createElement("div",{className:"barChart__columns"},e.items.map(((t,n)=>L.createElement(bS,{key:n,active:e.active===n,size:`${yS(t,vS(e.items))}%`,onEnter:()=>e.onItemEnter(n),onLeave:()=>e.onItemLeave(n),onClick:null==e.onItemClick?void 0:()=>e.onItemClick(n),label:e.formatter(t)})))));var t};wS.propTypes={items:fw.arrayOf(fw.number).isRequired,formatter:fw.func.isRequired,onItemEnter:fw.func.isRequired,onItemLeave:fw.func.isRequired,onItemClick:fw.func};const ES=e=>{const[t,n]=L.useState(0),r=L.useCallback((e=>n(e)),[n]),i=L.useCallback((()=>n(0)),[n]),a=((e,t)=>Sk(t)(e))(t,e.interval);return L.useEffect((()=>e.setStatusLabel(a)),[a]),L.createElement(wS,{items:e.items,formatter:e.formatter,active:t,onItemEnter:r,onItemLeave:i,onItemClick:e.onItemClick})};ES.propTypes={items:fw.array.isRequired,interval:fw.string.isRequired,formatter:fw.func.isRequired,setStatusLabel:fw.func.isRequired,onItemClick:fw.func};var kS=e=>L.createElement(ES,{...e,formatter:aS});const _S=e=>Ik(e).toString();var SS=e=>L.createElement(ES,{...e,formatter:_S});function xS(e,t,n,r,i,a){var o=Math.round(Math.abs(e)/t);return a?o<=1?i:"in "+o+" "+n+"s":o<=1?r:o+" "+n+"s ago"}var TS=[{max:276e4,value:6e4,name:"minute",past:"a minute ago",future:"in a minute"},{max:72e6,value:36e5,name:"hour",past:"an hour ago",future:"in an hour"},{max:5184e5,value:864e5,name:"day",past:"yesterday",future:"tomorrow"},{max:24192e5,value:6048e5,name:"week",past:"last week",future:"in a week"},{max:28512e6,value:2592e6,name:"month",past:"last month",future:"in a month"}],OS=e=>{const t=function(e,t){var n=Date.now()-e.getTime();if(Math.abs(n)<6e4)return"just now";for(var r=0;r<TS.length;r++)if(Math.abs(n)<TS[r].max||t&&TS[r].name===t)return xS(n,TS[r].value,TS[r].name,TS[r].past,TS[r].future,n<0);return xS(n,31536e6,"year","last year","in a year",n<0)}(e);return t.charAt(0).toUpperCase()+t.slice(1)},CS=e=>({[eb]:"Last 24 hours",[tb]:"Last 7 days",[nb]:"Last 30 days",[rb]:"Last 6 months"}[e]);const NS=e=>{const t=null!=e.url,n=!0===t?"a":"div",r=!0===t?{href:sk(e.url).href,target:"_blank",rel:"noopener"}:{};return L.createElement(n,{className:"flexList__row flexList__row--has-hover",onMouseEnter:e.onEnter,onMouseLeave:e.onLeave,...r},L.createElement("div",{className:"flexList__column flexList__column--text-adjustment"},L.createElement("span",{className:"flexList__truncated",title:e.text},e.text)))}
442,RS=e=>L.createElement("div",{className:"flexList"},L.createElement("div",{className:"flexList__inner"},e.items.map(((t,n)=>L.createElement(NS,{key:t.text+n,onEnter:()=>e.onItemEnter(n),onLeave:()=>e.onItemLeave(n),...t})))));RS.propTypes={items:fw.arrayOf(fw.shape({url:fw.object,text:fw.string.isRequired})).isRequired,onItemEnter:fw.func.isRequired,onItemLeave:fw.func.isRequired};const DS=e=>{const[t,n]=L.useState(),r=L.useCallback((e=>n(e)),[n]),i=L.useCallback((()=>n()),[n]),a=(o=e.items[t],s=e.range,l=e.sorting===Zg,o&&o.date?OS(o.date):l?"Recent":CS(s));var o,s,l;return L.useEffect((()=>e.setStatusLabel(a)),[a]),e.sorting===Jg?L.createElement(ck,{items:e.items,formatter:xk}):L.createElement(RS,{items:e.items,onItemEnter:r,onItemLeave:i})};DS.propTypes={items:fw.array.isRequired,sorting:fw.string.isRequired,range:fw.string.isRequired,setStatusLabel:fw.func.isRequired};const IS=e=>{const t=null==e.url,[n,r]=L.useState(t);return L.createElement("img",{className:vw({favicon:!0,"favicon--missing":!0===n}),src:!0===n?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=":e.url,onError:()=>r(!0)})};IS.propTypes={url:fw.string};const PS=e=>{const t=null!=e.barWidth;return L.createElement("div",{className:"flexList__column flexList__column--spacing-right"},!0===t&&L.createElement("div",{className:"flexList__bar flexList__bar--favicon",style:{"--width":`${e.barWidth}%`}}),L.createElement(IS,{url:e.faviconUrl}))},FS=e=>{const t=e.url.hostname,n=e.url.pathname;return L.createElement("a",{className:"flexList__row",href:sk(e.url).href,target:"_blank",rel:"noopener",onMouseEnter:e.onEnter,onMouseLeave:e.onLeave},L.createElement(PS,{barWidth:e.barWidth,faviconUrl:e.faviconUrl}),L.createElement("div",{className:"flexList__column flexList__column--text-adjustment"},L.createElement("span",{},t),L.createElement("span",{className:"flexList__obscured",title:n},n)))},AS=e=>L.createElement("a",{className:"flexList__row flexList__row--has-hover",onMouseEnter:e.onEnter,onMouseLeave:e.onLeave},L.createElement(PS,{barWidth:e.barWidth}),L.createElement("div",{className:"flexList__column flexList__column--text-adjustment"},L.createElement("span",{className:"flexList__truncated",title:e.text},e.text))),MS=e=>{const t=e.items.reduce(lk("count"),0),n=!1===Number.isNaN(t),r=({count:e})=>e/t*100;return L.createElement("div",{className:"flexList"},L.createElement("div",{className:"flexList__inner"},e.items.map(((t,i)=>{const a={key:t.text+i,barWidth:!0===n?r(t):void 0,onEnter:()=>e.onItemEnter(i),onLeave:()=>e.onItemLeave(i)};return null==t.url?L.createElement(AS,{...a,text:t.text}):L.createElement(FS,{...a,faviconUrl:new URL("/favicon.ico",t.url).href,url:t.url})}))))};MS.propTypes={items:fw.arrayOf(fw.shape({url:fw.object,text:fw.string.isRequired,count:fw.number})).isRequired,onItemEnter:fw.func.isRequired,onItemLeave:fw.func.isRequired};const LS=e=>{const[t,n]=L.useState(),r=L.useCallback((e=>n(e)),[n]),i=L.useCallback((()=>n()),[n]),a=(o=e.items[t],s=e.range,l=e.sorting===Zg,u=e.sorting===Xg,o&&o.date?OS(o.date):o&&o.count?`${o.count} ${1===o.count?"visit":"visits"}`:l?"Recent":u?"New":CS(s));var o,s,l,u;return L.useEffect((()=>e.setStatusLabel(a)),[a]),L.createElement(MS,{items:e.items,onItemEnter:r,onItemLeave:i})};LS.propTypes={items:fw.array.isRequired,sorting:fw.string.isRequired,range:fw.string.isRequired,setStatusLabel:fw.func.isRequired};const qS=e=>(xE(m_,(e=>e?.facts),h_,{pollInterval:5e3}),L.createElement(L.Fragment,{},L.createElement(hS,{hook:g_,hookArgs:[]}),L.createElement("div",{className:"content__spacer"}),L.createElement(mS,{wide:!0,headline:"Views",onMore:()=>e.setRoute("/insights/views"),hook:E_,hookArgs:[{interval:ib,type:sb,limit:14}],renderer:kS,rendererProps:{interval:ib,onItemClick:t=>e.addModal(QE,{index:t,interval:ib,type:sb,limit:14})}}),L.createElement(mS,{wide:!0,headline:"Durations",onMore:()=>e.setRoute("/insights/durations"),hook:S_,hookArgs:[{interval:ib,limit:14}],renderer:SS,rendererProps:{interval:ib,onItemClick:t=>e.addModal(UE,{index:t,interval:ib,limit:14})}}),L.createElement(mS,{headline:"Pages",onMore:()=>e.setRoute("/insights/pages"),hook:C_,hookArgs:[{sorting:Jg,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}),L.createElement(mS,{headline:"Referrers",onMore:()=>e.setRoute("/insights/referrers"),hook:M_,hookArgs:[{sorting:Jg,type:ub,range:eb}],renderer:LS,rendererProps:{sorting:Jg,range:eb}}),L.createElement("div",{className:"content__spacer"}),L.createElement(mS,{headline:"Systems",onMore:()=>e.setRoute("/insights/systems"),hook:z_,hookArgs:[{sorting:Jg,type:kb,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}),L.createElement(mS,{headline:"Devices",onMore:()=>e.setRoute("/insights/devices"),hook:U_,hookArgs:[{sorting:Jg,type:db,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}),L.createElement(mS,{headline:"Browsers",onMore:()=>e.setRoute("/insights/browsers"),hook:H_,hookArgs:[{sorting:Jg,type:hb,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}),L.createElement(mS,{headline:"Sizes",onMore:()=>e.setRoute("/insights/sizes"),hook:X_,hookArgs:[{sorting:Jg,type:yb,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}),L.createElement(mS,{headline:"Languages",onMore:()=>e.setRoute("/insights/languages"),hook:nS,hookArgs:[{sorting:Jg,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}})));qS.propTypes={setRoute:fw.func.isRequired};const jS=hy`
443	query fetchActiveVisitors($id: ID!) {
444		domain(id: $id) {
445			id
446			facts {
447				id
448				activeVisitors
449			}
450		}
451	}
452`;const zS=hy`
453	query fetchFacts($id: ID!) {
454		domain(id: $id) {
455			id
456			facts {
457				...factsFields
458			}
459		}
460	}
461
462	${v_}
463`;var VS=e=>xE(zS,(e=>e?.domain.facts),h_,{variables:{id:e}});const $S=hy`
464	query fetchViews($id: ID!, $interval: Interval!, $type: ViewType!, $limit: Int) {
465		domain(id: $id) {
466			id
467			statistics {
468				id
469				...viewsField
470			}
471		}
472	}
473
474	${fk}
475`;var QS=(e,t)=>xE($S,(e=>e?.domain.statistics.views),(e=>b_(e,t.limit)),{variables:{...t,id:e}});const US=hy`
476	query fetchDurations($id: ID!, $interval: Interval!, $limit: Int) {
477		domain(id: $id) {
478			id
479			statistics {
480				id
481				...durationsField
482			}
483		}
484	}
485
486	${Ok}
487`;var BS=(e,t)=>xE(US,(e=>e?.domain.statistics.durations),(e=>k_(e,t.limit)),{variables:{...t,id:e}});const WS=hy`
488	query fetchPages($id: ID!, $sorting: Sorting!, $range: Range) {
489		domain(id: $id) {
490			id
491			statistics {
492				id
493				...pagesField
494			}
495		}
496	}
497
498	${x_}
499`;var KS=(e,t)=>xE(WS,(e=>e?.domain.statistics.pages),T_,{variables:{...t,id:e}});const HS=hy`
500	query fetchReferrers($id: ID!, $sorting: Sorting!, $type: ReferrerType!, $range: Range) {
501		domain(id: $id) {
502			id
503			statistics {
504				id
505				...referrersField
506			}
507		}
508	}
509
510	${N_}
511`;var YS=(e,t)=>xE(HS,(e=>e?.domain.statistics.referrers),F_,{variables:{...t,id:e}});const GS=hy`
512	query fetchSystems($id: ID!, $sorting: Sorting!, $type: SystemType!, $range: Range) {
513		domain(id: $id) {
514			id
515			statistics {
516				id
517				...systemsField
518			}
519		}
520	}
521
522	${L_}
523`;var JS=(e,t)=>xE(GS,(e=>e?.domain.statistics.systems),q_,{variables:{...t,id:e}});const XS=hy`
524	query fetchDevices($id: ID!, $sorting: Sorting!, $type: DeviceType!, $range: Range) {
525		domain(id: $id) {
526			id
527			statistics {
528				id
529				...devicesField
530			}
531		}
532	}
533
534	${V_}
535`;var ZS=(e,t)=>xE(XS,(e=>e?.domain.statistics.devices),$_,{variables:{...t,id:e}});const ex=hy`
536	query fetchBrowsers($id: ID!, $sorting: Sorting!, $type: BrowserType!, $range: Range) {
537		domain(id: $id) {
538			id
539			statistics {
540				id
541				...browsersField
542			}
543		}
544	}
545
546	${B_}
547`;var tx=(e,t)=>xE(ex,(e=>e?.domain.statistics.browsers),W_,{variables:{...t,id:e}});const nx=hy`
548	query fetchSizes($id: ID!, $sorting: Sorting!, $type: SizeType!, $range: Range) {
549		domain(id: $id) {
550			id
551			statistics {
552				id
553				...sizesField
554			}
555		}
556	}
557
558	${Y_}
559`;var rx=(e,t)=>xE(nx,(e=>e?.domain.statistics.sizes),G_,{variables:{...t,id:e}});const ix=hy`
560	query fetchLanguages($id: ID!, $sorting: Sorting!, $range: Range) {
561		domain(id: $id) {
562			id
563			statistics {
564				id
565				...languagesField
566			}
567		}
568	}
569
570	${Z_}
571`;var ax=(e,t)=>xE(ix,(e=>e?.domain.statistics.languages),eS,{variables:{...t,id:e}});const ox=e=>{const t=Ow(e.route).params.domainId;return(e=>{xE(jS,(e=>e?.domain.facts),h_,{variables:{id:e},pollInterval:5e3})})(t),L.createElement(L.Fragment,{},L.createElement(hS,{hook:VS,hookArgs:[t]}),L.createElement("div",{className:"content__spacer"}),L.createElement(mS,{wide:!0,headline:"Views",onMore:()=>e.setRoute("/insights/views"),hook:QS,hookArgs:[t,{interval:ib,type:sb,limit:14}],renderer:kS,rendererProps:{interval:ib}}),L.createElement(mS,{wide:!0,headline:"Durations",onMore:()=>e.setRoute("/insights/durations"),hook:BS,hookArgs:[t,{interval:ib,limit:14}],renderer:SS,rendererProps:{interval:ib}}),L.createElement(mS,{headline:"Pages",onMore:()=>e.setRoute("/insights/pages"),hook:KS,hookArgs:[t,{sorting:Jg,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}),L.createElement(mS,{headline:"Referrers",onMore:()=>e.setRoute("/insights/referrers"),hook:YS,hookArgs:[t,{sorting:Jg,type:ub,range:eb}],renderer:LS,rendererProps:{sorting:Jg,range:eb}}),L.createElement("div",{className:"content__spacer"}),L.createElement(mS,{headline:"Systems",onMore:()=>e.setRoute("/insights/systems"),hook:JS,hookArgs:[t,{sorting:Jg,type:kb,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}),L.createElement(mS,{headline:"Devices",onMore:()=>e.setRoute("/insights/devices"),hook:ZS,hookArgs:[t,{sorting:Jg,type:db,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}),L.createElement(mS,{headline:"Browsers",onMore:()=>e.setRoute("/insights/browsers"),hook:tx,hookArgs:[t,{sorting:Jg,type:hb,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}),L.createElement(mS,{headline:"Sizes",onMore:()=>e.setRoute("/insights/sizes"),hook:rx,hookArgs:[t,{sorting:Jg,type:yb,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}),L.createElement(mS,{headline:"Languages",onMore:()=>e.setRoute("/insights/languages"),hook:ax,hookArgs:[t,{sorting:Jg,range:eb}],renderer:DS,rendererProps:{sorting:Jg,range:eb}}))};ox.propTypes={route:fw.string.isRequired,setRoute:fw.func.isRequired};const sx=e=>{const t=CE();return L.createElement(L.Fragment,{},L.createElement(mS,{wide:!0,headline:{[sb]:"Site Views",[lb]:"Page Views"}[e.filters.viewsType],hook:E_,hookArgs:[{interval:e.filters.interval,type:e.filters.viewsType,limit:14}],renderer:kS,rendererProps:{interval:e.filters.interval,onItemClick:t=>e.addModal(QE,{index:t,interval:e.filters.interval,type:e.filters.viewsType,limit:14})}}),t.value.map((t=>L.createElement(mS,{key:t.id,headline:t.title,onMore:()=>e.setRoute(`/domains/${t.id}`),hook:QS,hookArgs:[t.id,{interval:e.filters.interval,type:e.filters.viewsType,limit:7}],renderer:kS,rendererProps:{interval:e.filters.interval}}))))};sx.propTypes={setRoute:fw.func.isRequired,filters:fw.object.isRequired};const lx=e=>CE().value.map((t=>L.createElement(mS,{key:t.id,headline:t.title,onMore:()=>e.setRoute(`/domains/${t.id}`),hook:KS,hookArgs:[t.id,{sorting:e.filters.sorting,range:e.filters.range}],renderer:DS,rendererProps:{sorting:e.filters.sorting,range:e.filters.range}})));lx.propTypes={setRoute:fw.func.isRequired,filters:fw.object.isRequired};const ux=e=>CE().value.map((t=>L.createElement(mS,{key:t.id,headline:t.title,onMore:()=>e.setRoute(`/domains/${t.id}`),hook:YS,hookArgs:[t.id,{sorting:e.filters.sorting,type:e.filters.referrersType,range:e.filters.range}],renderer:LS,rendererProps:{sorting:e.filters.sorting,range:e.filters.range}})));ux.propTypes={setRoute:fw.func.isRequired,filters:fw.object.isRequired};const cx=e=>{const t=CE();return L.createElement(L.Fragment,{},L.createElement(mS,{wide:!0,headline:"Durations",hook:S_,hookArgs:[{interval:e.filters.interval,limit:14}],renderer:SS,rendererProps:{interval:e.filters.interval,onItemClick:t=>e.addModal(UE,{index:t,interval:e.filters.interval,limit:14})}}),t.value.map((t=>L.createElement(mS,{key:t.id,headline:t.title,onMore:()=>e.setRoute(`/domains/${t.id}`),hook:BS,hookArgs:[t.id,{interval:e.filters.interval,limit:7}],renderer:SS,rendererProps:{interval:e.filters.interval}}))))};cx.propTypes={setRoute:fw.func.isRequired,filters:fw.object.isRequired};const fx=hy`
572	query fetchEvents {
573		events {
574			...eventFields
575		}
576	}
577
578	${Yk}
579`;var dx=()=>xE(fx,(e=>e?.events),((e=[])=>e),{fetchPolicy:"cache-first",nextFetchPolicy:"cache-first"}),px=hy`
580	fragment chartField on EventStatistics {
581		chart(interval: $interval, type: $type, limit: $limit) {
582			id
583			count
584		}
585	}
586`;const hx=hy`
587	query fetchEventChartEntries($id: ID!, $interval: Interval!, $type: EventChartType!, $limit: Int) {
588		event(id: $id) {
589			id
590			statistics {
591				id
592				...chartField
593			}
594		}
595	}
596
597	${px}
598`;var mx=(e,t)=>xE(hx,(e=>e?.event.statistics.chart),(e=>((e=[],t)=>dk(t).map(((t,n)=>{const r=e[n];return null==r?0:r.count})))(e,t.limit)),{variables:{...t,id:e}}),vx=hy`
599	fragment listField on EventStatistics {
600		list(sorting: $sorting, type: $type, range: $range) {
601			id
602			value
603			count
604			created
605		}
606	}
607`,yx=(e=[])=>e.map((e=>({text:e.value,count:e.count,date:null==e.created?null:new Date(e.created)})));const gx=hy`
608	query fetchEventListEntries($id: ID!, $sorting: Sorting!, $type: EventListType!, $range: Range) {
609		event(id: $id) {
610			id
611			statistics {
612				id
613				...listField
614			}
615		}
616	}
617
618	${vx}
619`;var bx=(e,t)=>xE(gx,(e=>e?.event.statistics.list),yx,{variables:{...t,id:e}}),wx=e=>{const t=iS(e,(e=>Number.parseFloat(e).toFixed(2)));return t.replace(".00","")},Ex=e=>L.createElement(ES,{...e,formatter:wx});const kx=(e,t)=>{switch(e.type){case Uk:case Bk:return{hook:mx,hookArgs:[e.id,{interval:t.filters.interval,type:e.type===Bk?"AVERAGE":"TOTAL",limit:7}],renderer:Ex,rendererProps:{interval:t.filters.interval}};case Wk:case Kk:return{hook:bx,hookArgs:[e.id,{sorting:t.filters.sorting,type:e.type===Kk?"AVERAGE":"TOTAL",range:t.filters.range}],renderer:DS,rendererProps:{sorting:t.filters.sorting,range:t.filters.range}}}},_x=e=>dx().value.map((t=>L.createElement(mS,{key:t.id,headline:t.title,...kx(t,e)})));_x.propTypes={filters:fw.object.isRequired};const Sx=e=>CE().value.map((t=>L.createElement(mS,{key:t.id,headline:t.title,onMore:()=>e.setRoute(`/domains/${t.id}`),hook:JS,hookArgs:[t.id,{sorting:e.filters.sorting,type:e.filters.systemsType,range:e.filters.range}],renderer:DS,rendererProps:{sorting:e.filters.sorting,range:e.filters.range}})));Sx.propTypes={setRoute:fw.func.isRequired,filters:fw.object.isRequired};const xx=e=>CE().value.map((t=>L.createElement(mS,{key:t.id,headline:t.title,onMore:()=>e.setRoute(`/domains/${t.id}`),hook:ZS,hookArgs:[t.id,{sorting:e.filters.sorting,type:e.filters.devicesType,range:e.filters.range}],renderer:DS,rendererProps:{sorting:e.filters.sorting,range:e.filters.range}})));xx.propTypes={setRoute:fw.func.isRequired,filters:fw.object.isRequired};const Tx=e=>CE().value.map((t=>L.createElement(mS,{key:t.id,headline:t.title,onMore:()=>e.setRoute(`/domains/${t.id}`),hook:tx,hookArgs:[t.id,{sorting:e.filters.sorting,type:e.filters.browsersType,range:e.filters.range}],renderer:DS,rendererProps:{sorting:e.filters.sorting,range:e.filters.range}})));Tx.propTypes={setRoute:fw.func.isRequired,filters:fw.object.isRequired};const Ox=e=>CE().value.map((t=>L.createElement(mS,{key:t.id,headline:t.title,onMore:()=>e.setRoute(`/domains/${t.id}`),hook:rx,hookArgs:[t.id,{sorting:e.filters.sorting,type:e.filters.sizesType,range:e.filters.range}],renderer:DS,rendererProps:{sorting:e.filters.sorting,range:e.filters.range}})));Ox.propTypes={setRoute:fw.func.isRequired,filters:fw.object.isRequired};const Cx=e=>CE().value.map((t=>L.createElement(mS,{key:t.id,headline:t.title,onMore:()=>e.setRoute(`/domains/${t.id}`),hook:ax,hookArgs:[t.id,{sorting:e.filters.sorting,range:e.filters.range}],renderer:DS,rendererProps:{sorting:e.filters.sorting,range:e.filters.range}})));Cx.propTypes={setRoute:fw.func.isRequired,filters:fw.object.isRequired};const Nx=hy`
620	mutation deleteToken($id: ID!) {
621		deleteToken(id: $id) {
622			success
623		}
624	}
625`;const Rx=hy`
626	query permanentTokens {
627		permanentTokens {
628			...permanentTokenFields
629		}
630	}
631
632	${r_}
633`;const Dx=e=>L.createElement("div",{className:"card card--wide"},L.createElement("div",{className:"card__inner"},L.createElement(yw,{type:"h2",size:"medium"},e.headline),L.createElement(mw,{size:1.6}),e.children));Dx.propTypes={headline:fw.string.isRequired,children:fw.oneOfType([fw.arrayOf(fw.node),fw.node]).isRequired};const Ix=e=>L.createElement(e.type,{onClick:e.onClick,href:e.href,target:e.target,className:vw({linkItem:!0,"linkItem--disabled":!0===e.disabled,link:!0})},L.createElement("span",{},e.children),null!=e.text&&L.createElement("span",{},e.text));Ix.propTypes={type:fw.oneOf(["p","a","button"]).isRequired,href:fw.string,target:fw.string,onClick:fw.func,disabled:fw.bool,text:fw.string,children:fw.node.isRequired};const Px=()=>L.createElement("hr",{className:"line"}),Fx=e=>L.createElement(bw,{status:"warning"},`Loading ${e.label}...`),Ax=e=>{const t=(()=>{const[e,{loading:t,error:n}]=Ay(Nx);return{mutate:e,loading:t,error:n}})(),n=CE(),r=dx(),i=xE(Rx,(e=>e?.permanentTokens),((e=[])=>e),{fetchPolicy:"cache-first",nextFetchPolicy:"cache-first"}),a=(e,t,n,r)=>[...e.map((e=>[L.createElement(Ix,{type:"button",text:e.id,onClick:()=>t(e)},e.title),L.createElement(Px)])).flat(),L.createElement(Ix,{type:"button",onClick:n},r)],o=L.createElement(Fx,{label:"domains"}),s=L.createElement(Fx,{label:"events"}),l=L.createElement(Fx,{label:"permanent tokens"}),u=a(n.value,(t=>e.addModal(WE,t)),(()=>e.addModal(BE)),"New domain"),c=a(r.value,(t=>e.addModal(HE,t)),(()=>e.addModal(KE)),"New event"),f=a(i.value,(t=>e.addModal(GE,t)),(()=>e.addModal(YE)),"New permanent token");return L.createElement(L.Fragment,{},L.createElement(Dx,{headline:"Account"},L.createElement(Ix,{type:"p",disabled:!0,text:Vy},"Version"),L.createElement(Px),L.createElement(Ix,{type:"button",onClick:async()=>{await t.mutate({variables:{id:e.token}}),e.reset()}},"Sign Out")),L.createElement(Dx,{headline:"Domains"},...!0===n.status.isInitializing?[o]:u),L.createElement(Dx,{headline:"Events"},...!0===r.status.isInitializing?[s]:c),L.createElement(Dx,{headline:"Permanent Tokens"},...!0===i.status.isInitializing?[l]:f),L.createElement(Dx,{headline:"Donate"},L.createElement(Ix,{type:"a",href:"https://github.com/sponsors/electerious",target:"_blank",rel:"noopener"},"Become a GitHub sponsor"),L.createElement(Px),L.createElement(Ix,{type:"a",href:"https://www.buymeacoffee.com/electerious",target:"_blank",rel:"noopener"},"Buy me a coffee"),L.createElement(Px),L.createElement(Ix,{type:"a",href:"https://paypal.me/electerious",target:"_blank",rel:"noopener"},"Donate via PayPal")),L.createElement(Dx,{headline:"Help"},L.createElement(Ix,{type:"a",href:"https://ackee.electerious.com",target:"_blank",rel:"noopener"},"Website and documentation"),L.createElement(Px),L.createElement(Ix,{type:"a",href:$y,target:"_blank",rel:"noopener"},"Ackee on GitHub"),L.createElement(Px),L.createElement(Ix,{type:"a",href:"https://github.com/electerious/ackee-tracker",target:"_blank",rel:"noopener"},"Add Ackee to your sites")))};Ax.propTypes={reset:fw.func.isRequired,token:fw.string.isRequired,addModal:fw.func.isRequired};const Mx={[ug]:qS,[cg]:ox,[fg]:sx,[dg]:lx,[pg]:ux,[hg]:cx,[mg]:_x,[vg]:Sx,[yg]:xx,[gg]:Tx,[bg]:Ox,[wg]:Cx,[Eg]:Ax},Lx=e=>{const t=Ow(e.route),n=CE();SE("o",(()=>e.setRoute("/"))),SE("v",(()=>e.setRoute("/insights/views"))),SE("p",(()=>e.setRoute("/insights/pages"))),SE("r",(()=>e.setRoute("/insights/referrers"))),SE("d",(()=>e.setRoute("/insights/durations"))),SE("e",(()=>e.setRoute("/insights/events"))),SE("s",(()=>e.setRoute("/settings"))),SE("0,1,2,3,4,5,6,7,8,9",((t,{key:r})=>((e,t,n)=>{const r=e[n];null!=r&&t(`/domains/${r.id}`)})(n.value,e.setRoute,r)),[n.value]);const r=n.value.length>0,i=n.value.map(((t,n)=>VE(t.title,`/domains/${t.id}`,e.route,e.setRoute,((e,t)=>e<t?e:void 0)(n,10)))),a=[VE("Views","/insights/views",e.route,e.setRoute,"v"),VE("Pages","/insights/pages",e.route,e.setRoute,"p"),VE("Referrers","/insights/referrers",e.route,e.
633setRoute,"r"),VE("Durations","/insights/durations",e.route,e.setRoute,"d"),$E(),VE("Events","/insights/events",e.route,e.setRoute,"e"),$E(),VE("Systems","/insights/systems",e.route,e.setRoute),VE("Devices","/insights/devices",e.route,e.setRoute),VE("Browsers","/insights/browsers",e.route,e.setRoute),VE("Sizes","/insights/sizes",e.route,e.setRoute),VE("Languages","/insights/languages",e.route,e.setRoute)],o=[jE("Overview","/",e.route,e.setRoute),!0===r?zE((e=>null==e?"Domains":e.label),i):void 0,zE((e=>null==e?"Insights":e.label),a),jE("Settings","/settings",e.route,e.setRoute)].filter(Boolean);return L.createElement("div",{},L.createElement(d_,{modals:e.modals,removeModal:e.removeModal}),L.createElement(qE,{loading:e.loading,items:o}),L.createElement("main",{className:"content"},L.createElement(Mx[t.key],{reset:e.reset,route:e.route,setRoute:e.setRoute,token:e.token,addModal:e.addModal,filters:e.filters})))},qx=e=>{const t=e.useErrors(),n=((e,t,n)=>!1!=(null!=e)&&(1!=t.filter(jb).length>0||(n(),!1)))(e.token,t,e.reset);if(!0===(!1===n))return L.createElement(Tw,{setToken:e.setToken});return!0===t.length>0?L.createElement(ww,{errors:t,reset:e.reset}):L.createElement(L.Fragment,{},L.createElement(Zw,{filters:e.filters,setSortingFilter:e.setSortingFilter,setRangeFilter:e.setRangeFilter,setIntervalFilter:e.setIntervalFilter,setViewsTypeFilter:e.setViewsTypeFilter,setReferrersTypeFilter:e.setReferrersTypeFilter,setDevicesTypeFilter:e.setDevicesTypeFilter,setBrowsersTypeFilter:e.setBrowsersTypeFilter,setSizesTypeFilter:e.setSizesTypeFilter,setSystemsTypeFilter:e.setSystemsTypeFilter,route:e.route}),L.createElement(Lx,e))},jx=class extends L.Component{constructor(e){super(e),this.state={error:void 0}}static getDerivedStateFromError(e){return{error:e}}render(){return!0===(null!=this.state.error)?L.createElement(ww,{errors:[this.state.error],reset:this.props.reset}):this.props.children}};jx.propTypes={reset:fw.func.isRequired},!0===window.env.isDemoMode&&console.warn("Ackee runs in demo mode");const{statusLink:zx,useLoading:Vx,useErrors:$x}=(()=>{const{link:e,useApolloNetworkStatusReducer:t}=qy.createNetworkStatusNotifier();return{statusLink:e,useLoading:()=>t(jy,0)>0,useErrors:()=>t(zy,[])}})(),Qx=(Ux=[zx,(Bx=(e,{headers:t})=>({headers:{...t,Authorization:`Bearer ${Wy()}`}}),new Nh((function(e,t){var n=Qc(e,[]);return new Np((function(r){var i,a=!1;return Promise.resolve(n).then((function(t){return Bx(t,e.getContext())})).then(e.setContext).then((function(){a||(i=t(e).subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}))})).catch(r.error.bind(r)),function(){a=!0,i&&i.unsubscribe()}}))}))),new Zy({uri:"/api",headers:{"Time-Zone":eg}})],new oy({link:Dh(Ux),cache:new Qv({})}));var Ux,Bx;jc.render(L.createElement((()=>{const[e,t]=L.useState(Date.now()),n=Vx(),r=(()=>{const e=L.useMemo((()=>rg()),[]),[t,n]=L.useState(Sg(e.location));return L.useEffect((()=>e.listen((({location:e})=>{n(Sg(e))}))),[e]),{setRoute:L.useCallback((t=>{e.push({pathname:t})}),[e]),route:t}})(),i=(()=>{const[e,t]=L.useReducer(Yy,Wy()),n=L.useCallback((e=>t({type:Uy,token:e})),[t]);return{token:e,setToken:n,resetToken:L.useCallback((()=>t({type:By})),[t])}})(),a=(()=>{const[e,t]=L.useReducer(Gg,Yg),n=L.useCallback(((e,n)=>t({type:Wg,modalId:Bg(),payload:{type:e,props:n}})),[t]);return{modals:e,addModal:n,removeModal:L.useCallback((e=>t({type:Kg,modalId:e})),[t]),resetModals:L.useCallback((()=>t({type:Hg})),[t])}})(),o=(()=>{const[e,t]=L.useReducer(Lb,Fb());return{filters:e,setSortingFilter:L.useCallback((e=>t({type:Sb,payload:e})),[t]),setRangeFilter:L.useCallback((e=>t({type:xb,payload:e})),[t]),setIntervalFilter:L.useCallback((e=>t({type:Tb,payload:e})),[t]),setViewsTypeFilter:L.useCallback((e=>t({type:Ob,payload:e})),[t]),setReferrersTypeFilter:L.useCallback((e=>t({type:Cb,payload:e})),[t]),setDevicesTypeFilter:L.useCallback((e=>t({type:Nb,payload:e})),[t]),setBrowsersTypeFilter:L.useCallback((e=>t({type:Rb,payload:e})),[t]),setSizesTypeFilter:L.useCallback((e=>t({type:Db,payload:e})),[t]),setSystemsTypeFilter:L.useCallback((e=>t({type:Ib,payload:e})),[t]),resetFilters:L.useCallback((()=>t({type:Pb})),[t])}})(),s=L.useCallback((()=>{i.resetToken(),a.resetModals(),o.resetFilters(),Qx.clearStore(),t(Date.now())}),[i.resetToken,a.resetModals,o.resetFilters,Qx.resetStore,t]);var l;return L.useEffect((()=>
633{if(0!=(!0===navigator.platform.includes("Win")))return document.body.classList.add("customScrollbar"),()=>document.body.classList.remove("customScrollbar")}),[]),l=r.route,L.useEffect((()=>{document.scrollingElement.scrollTop=0}),[l]),L.createElement(Zp,{client:Qx},L.createElement(jx,{reset:s},L.createElement(qx,{key:e,reset:s,useErrors:$x,loading:n,...status,...r,...i,...a,...o})))})),document.querySelector("#main"))}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.