widget.42q.ai
Open in
urlscan Pro
2606:4700:10::6816:4190
Public Scan
URL:
https://widget.42q.ai/
Submission: On June 21 via api from US — Scanned from DE
Submission: On June 21 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
(()=>{let e,t,n,r,i,o,a,s,l,u,c,d,f,p,h,m,g,y,v,b,w,x,_,S;function k(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var E,T,C,R,O,I,A,j,P,M,D,N,L,F,z,$,U,B,W,H,V,q,Y,G,K,Q,X,J,Z,ee,et,en,er=globalThis;function ei(e){return e&&e.__esModule?e.default:e}var eo={},ea={},es=er.parcelRequire10c2;null==es&&((es=function(e){if(e in eo)return eo[e].exports;if(e in ea){var t=ea[e];delete ea[e];var n={id:e,exports:{}};return eo[e]=n,t.call(n.exports,n,n.exports),n.exports}var r=Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}).register=function(e,t){ea[e]=t},er.parcelRequire10c2=es);var el=es.register;el("dvAdu",function(e,t){k(e.exports,"register",()=>n,e=>n=e),k(e.exports,"resolve",()=>r,e=>r=e);var n,r,i=new Map;n=function(e,t){for(var n=0;n<t.length-1;n+=2)i.set(t[n],{baseUrl:e,path:t[n+1]})},r=function(e){var t=i.get(e);if(null==t)throw Error("Could not resolve bundle with id "+e);return new URL(t.path,t.baseUrl).toString()}}),el("d2Law",function(e,t){k(e.exports,"getBundleURL",()=>n,e=>n=e);var n,r={};n=function(e){var t=r[e];return t||(t=function(){try{throw Error()}catch(t){var e=(""+t.stack).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^)\n]+/g);if(e)return(""+e[2]).replace(/^((?:https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/.+)\/[^/]+$/,"$1")+"/"}return"/"}(),r[e]=t),t}}),el("aQdfE",function(e,t){var n,r,i;k(e.exports,"Fragment",()=>n,e=>n=e),k(e.exports,"jsx",()=>r,e=>r=e),k(e.exports,"jsxs",()=>i,e=>i=e),function(){var e,t,o,a,s,l,u,c,d,f,p,h,m,g,y=es("79wpy"),v=Symbol.for("react.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),k=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),I=Symbol.for("react.offscreen"),A=Symbol.iterator,j=y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(e){for(var t,n,r,i,o=arguments.length,a=Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];t=e,n=a,""!==(r=j.ReactDebugCurrentFrame.getStackAddendum())&&(t+="%s",n=n.concat([r])),(i=n.map(function(e){return String(e)})).unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,i)}function M(e){return e.displayName||"Context"}function D(e){if(null==e)return null;if("number"==typeof e.tag&&P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case w:return"Fragment";case b:return"Portal";case _:return"Profiler";case x:return"StrictMode";case T:return"Suspense";case C:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case k:return M(e)+".Consumer";case S:return M(e._context)+".Provider";case E:return function(e,t,n){var r=e.displayName;if(r)return r;var i=t.displayName||t.name||"";return""!==i?n+"("+i+")":n}(e,e.render,"ForwardRef");case R:var t=e.displayName||null;if(null!==t)return t;return D(e.type)||"Memo";case O:var n=e._payload,r=e._init;try{return D(r(n))}catch(e){}}return null}e=Symbol.for("react.module.reference");var N=Object.assign,L=0;function F(){}F.__reactDisabledLog=!0;var z=j.ReactCurrentDispatcher;function $(e,t,n){if(void 0===d)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);d=r&&r[1]||""}return"\n"+d+e}var U=!1;function B(e,n){if(!e||U)return"";var r,i,d=f.get(e);if(void 0!==d)return d;U=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=z.current,z.current=null,function(){if(0===L){t=console.log,o=console.info,a=console.warn,s=console.error,l=console.group,u=console.groupCollapsed,c=console.groupEnd;var e={configurable:!0,enumerable:!0,value:F,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}L++}();try{if(n){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(h,[])}catch(e){r=e}Reflect.construct(e,[],h)}else{try{h.call()}catch(e){r=e}e.call(h.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var m=t.stack.split("\n"),g=r.stack.split("\n"),y=m.length-1,v=g.length-1;y>=1&&v>=0&&m[y]!==g[v];)v--;for(;y>=1&&v>=0;y--,v--)if(m[y]!==g[v]){if(1!==y||1!==v)do if(y--,--v<0||m[y]!==g[v]){var b="\n"+m[y].replace(" at new "," at ");return e.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",e.displayName)),"function"==typeof e&&f.set(e,b),b}while(y>=1&&v>=0)break}}}finally{U=!1,z.current=i,function(){if(0==--L){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},e,{value:t}),info:N({},e,{value:o}),warn:N({},e,{value:a}),error:N({},e,{value:s}),group:N({},e,{value:l}),groupCollapsed:N({},e,{value:u}),groupEnd:N({},e,{value:c})})}L<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=p}var w=e?e.displayName||e.name:"",x=w?$(w):"";return"function"==typeof e&&f.set(e,x),x}function W(e,t,n){if(null==e)return"";if("function"==typeof e)return B(e,!!((r=e.prototype)&&r.isReactComponent));if("string"==typeof e)return $(e);switch(e){case T:return $("Suspense");case C:return $("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case E:return B(e.render,!1);case R:return W(e.type,t,n);case O:var r,i=e._payload,o=e._init;try{return W(o(i),t,n)}catch(e){}}return""}f=new("function"==typeof WeakMap?WeakMap:Map);var H=Object.prototype.hasOwnProperty,V={},q=j.ReactDebugCurrentFrame;function Y(e){if(e){var t=e._owner,n=W(e.type,e._source,t?t.type:null);q.setExtraStackFrame(n)}else q.setExtraStackFrame(null)}var G=Array.isArray;function K(e){if(function(e){try{return!1}catch(e){return!0}}(0))return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.","function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"),""+e}var Q=j.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};m={};var J=function(e,t,n,r,i,o,a){var s={$$typeof:v,type:e,key:t,ref:n,props:a,_owner:o};return s._store={},Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s},Z=j.ReactCurrentOwner,ee=j.ReactDebugCurrentFrame;function et(e){if(e){var t=e._owner,n=W(e.type,e._source,t?t.type:null);ee.setExtraStackFrame(n)}else ee.setExtraStackFrame(null)}function en(e){return"object"==typeof e&&null!==e&&e.$$typeof===v}function er(){if(Z.current){var e=D(Z.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}g=!1;var ei={};function eo(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=er();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!ei[n]){ei[n]=!0;var r="";e&&e._owner&&e._owner!==Z.current&&(r=" It was passed a child from "+D(e._owner.type)+"."),et(e),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),et(null)}}}function ea(e,t){if("object"==typeof e){if(G(e))for(var n=0;n<e.length;n++){var r=e[n];en(r)&&eo(r,t)}else if(en(e))e._store&&(e._store.validated=!0);else if(e){var i=function(e){if(null===e||"object"!=typeof e)return null;var t=A&&e[A]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof i&&i!==e.entries)for(var o,a=i.call(e);!(o=a.next()).done;)en(o.value)&&eo(o.value,t)}}}function el(t,n,r,i,o,a){var s="string"==typeof t||"function"==typeof t||t===w||t===_||t===x||t===T||t===C||t===I||"object"==typeof t&&null!==t&&(t.$$typeof===O||t.$$typeof===R||t.$$typeof===S||t.$$typeof===k||t.$$typeof===E||t.$$typeof===e||void 0!==t.getModuleId);if(!s){var l,u="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(u+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var c=void 0!==o?"\n\nCheck your code at "+o.fileName.replace(/^.*[\\\/]/,"")+":"+o.lineNumber+".":"";(c?u+=c:u+=er(),null===t)?l="null":G(t)?l="array":void 0!==t&&t.$$typeof===v?(l="<"+(D(t.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):l=typeof t,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,u)}var d=function(e,t,n,r,i){var o,a={},s=null,l=null;for(o in void 0!==n&&(K(n),s=""+n),function(e){if(H.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(K(t.key),s=""+t.key),function(e){if(H.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(l=t.ref,function(e,t){if("string"==typeof e.ref&&Q.current&&t&&Q.current.stateNode!==t){var n=D(Q.current.type);m[n]||(P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',D(Q.current.type),e.ref),m[n]=!0)}}(t,i)),t)H.call(t,o)&&!X.hasOwnProperty(o)&&(a[o]=t[o]);if(e&&e.defaultProps){var u=e.defaultProps;for(o in u)void 0===a[o]&&(a[o]=u[o])}if(s||l){var c,d,f="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&((c=function(){p||(p=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",f))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:c,configurable:!0})),l&&((d=function(){h||(h=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",f))}).isReactWarning=!0,Object.defineProperty(a,"ref",{get:d,configurable:!0}))}return J(e,s,l,i,r,Q.current,a)}(t,n,r,o,a);if(null==d)return d;if(s){var f=n.children;if(void 0!==f){if(i){if(G(f)){for(var y=0;y<f.length;y++)ea(f[y],t);Object.freeze&&Object.freeze(f)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.")}else ea(f,t)}}return t===w?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){et(e),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),et(null);break}}null!==e.ref&&(et(e),P("Invalid attribute `ref` supplied to `React.Fragment`."),et(null))}(d):function(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==E&&n.$$typeof!==R)return;t=n.propTypes}if(t){var r=D(n);!function(e,t,n,r,i){var o=Function.call.bind(H);for(var a in e)if(o(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(Y(i),P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,a,typeof s),Y(null)),s instanceof Error&&!(s.message in V)&&(V[s.message]=!0,Y(i),P("Failed %s type: %s",n,s.message),Y(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||g||(g=!0,P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",D(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(d),d}n=w,r=function(e,t,n){return el(e,t,n,!1)},i=function(e,t,n){return el(e,t,n,!0)}}()}),el("79wpy",function(e,t){e.exports=es("5qD7E")}),el("5qD7E",function(e,t){!function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var n,r,i,o,a,s,l,u,c,d,f,p,h,m,g=Symbol.for("react.element"),y=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),_=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),O=Symbol.iterator;function I(e){if(null===e||"object"!=typeof e)return null;var t=O&&e[O]||e["@@iterator"];return"function"==typeof t?t:null}var A={current:null},j={transition:null},P={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},M={current:null},D={},N=null;D.setExtraStackFrame=function(e){N=e},D.getCurrentStack=null,D.getStackAddendum=function(){var e="";N&&(e+=N);var t=D.getCurrentStack;return t&&(e+=t()||""),e};var L={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:j,ReactCurrentOwner:M};function F(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];$("warn",e,n)}function z(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];$("error",e,n)}function $(e,t,n){var r=L.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var i=n.map(function(e){return String(e)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}L.ReactDebugCurrentFrame=D,L.ReactCurrentActQueue=P;var U={};function B(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",i=r+"."+t;U[i]||(z("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),U[i]=!0)}var W={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){B(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){B(e,"replaceState")},enqueueSetState:function(e,t,n,r){B(e,"setState")}},H=Object.assign,V={};function q(e,t,n){this.props=e,this.context=t,this.refs=V,this.updater=n||W}Object.freeze(V),q.prototype.isReactComponent={},q.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")},q.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var Y={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},G=function(e,t){Object.defineProperty(q.prototype,e,{get:function(){F("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var K in Y)Y.hasOwnProperty(K)&&G(K,Y[K]);function Q(){}function X(e,t,n){this.props=e,this.context=t,this.refs=V,this.updater=n||W}Q.prototype=q.prototype;var J=X.prototype=new Q;J.constructor=X,H(J,q.prototype),J.isPureReactComponent=!0;var Z=Array.isArray;function ee(e){if(function(e){try{return!1}catch(e){return!0}}(0))return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.","function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"),""+e}function et(e){return e.displayName||"Context"}function en(e){if(null==e)return null;if("number"==typeof e.tag&&z("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case v:return"Fragment";case y:return"Portal";case w:return"Profiler";case b:return"StrictMode";case k:return"Suspense";case E:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case _:return et(e)+".Consumer";case x:return et(e._context)+".Provider";case S:return function(e,t,n){var r=e.displayName;if(r)return r;var i=t.displayName||t.name||"";return""!==i?n+"("+i+")":n}(e,e.render,"ForwardRef");case T:var t=e.displayName||null;if(null!==t)return t;return en(e.type)||"Memo";case C:var n=e._payload,r=e._init;try{return en(r(n))}catch(e){}}return null}var er=Object.prototype.hasOwnProperty,ei={key:!0,ref:!0,__self:!0,__source:!0};function eo(e){if(er.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function ea(e){if(er.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}i={};var es=function(e,t,n,r,i,o,a){var s={$$typeof:g,type:e,key:t,ref:n,props:a,_owner:o};return s._store={},Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function el(e,t,o){var a,s={},l=null,u=null,c=null,d=null;if(null!=t)for(a in eo(t)&&(u=t.ref,function(e){if("string"==typeof e.ref&&M.current&&e.__self&&M.current.stateNode!==e.__self){var t=en(M.current.type);i[t]||(z('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),i[t]=!0)}}(t)),ea(t)&&(ee(t.key),l=""+t.key),c=void 0===t.__self?null:t.__self,d=void 0===t.__source?null:t.__source,t)er.call(t,a)&&!ei.hasOwnProperty(a)&&(s[a]=t[a]);var f=arguments.length-2;if(1===f)s.children=o;else if(f>1){for(var p=Array(f),h=0;h<f;h++)p[h]=arguments[h+2];Object.freeze&&Object.freeze(p),s.children=p}if(e&&e.defaultProps){var m=e.defaultProps;for(a in m)void 0===s[a]&&(s[a]=m[a])}if(l||u){var g,y,v="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&((g=function(){n||(n=!0,z("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",v))}).isReactWarning=!0,Object.defineProperty(s,"key",{get:g,configurable:!0})),u&&((y=function(){r||(r=!0,z("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",v))}).isReactWarning=!0,Object.defineProperty(s,"ref",{get:y,configurable:!0}))}return es(e,l,u,c,d,M.current,s)}function eu(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r,i,o=H({},e.props),a=e.key,s=e.ref,l=e._self,u=e._source,c=e._owner;if(null!=t)for(r in eo(t)&&(s=t.ref,c=M.current),ea(t)&&(ee(t.key),a=""+t.key),e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)er.call(t,r)&&!ei.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==i?o[r]=i[r]:o[r]=t[r]);var d=arguments.length-2;if(1===d)o.children=n;else if(d>1){for(var f=Array(d),p=0;p<d;p++)f[p]=arguments[p+2];o.children=f}return es(e.type,a,s,l,u,c,o)}function ec(e){return"object"==typeof e&&null!==e&&e.$$typeof===g}var ed=!1,ef=/\/+/g;function ep(e){return e.replace(ef,"$&/")}function eh(e,t){if("object"==typeof e&&null!==e&&null!=e.key){var n,r;return ee(e.key),n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})}return t.toString(36)}function em(e,t,n){if(null==e)return e;var r=[],i=0;return function e(t,n,r,i,o){var a=typeof t;("undefined"===a||"boolean"===a)&&(t=null);var s=!1;if(null===t)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case g:case y:s=!0}}if(s){var l,u,c=t,d=o(c),f=""===i?"."+eh(c,0):i;if(Z(d)){var p="";null!=f&&(p=ep(f)+"/"),e(d,n,p,"",function(e){return e})}else null!=d&&(ec(d)&&(d.key&&(!c||c.key!==d.key)&&ee(d.key),l=d,u=r+(d.key&&(!c||c.key!==d.key)?ep(""+d.key)+"/":"")+f,d=es(l.type,u,l.ref,l._self,l._source,l._owner,l.props)),n.push(d));return 1}var h=0,m=""===i?".":i+":";if(Z(t))for(var v=0;v<t.length;v++)x=m+eh(w=t[v],v),h+=e(w,n,r,x,o);else{var b=I(t);if("function"==typeof b){var w,x,_,S=t;b===S.entries&&(ed||F("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ed=!0);for(var k=b.call(S),E=0;!(_=k.next()).done;)x=m+eh(w=_.value,E++),h+=e(w,n,r,x,o)}else if("object"===a){var T=String(t);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===T?"object with keys {"+Object.keys(t).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.")}}return h}(e,r,"","",function(e){return t.call(n,e,i++)}),r}function eg(e){if(-1===e._status){var t=(0,e._result)();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){var n=e._result;return void 0===n&&z("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",n),"default"in n||z("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",n),n.default}throw e._result}function ey(e){return"string"==typeof e||"function"==typeof e||e===v||e===w||e===b||e===k||e===E||e===R||"object"==typeof e&&null!==e&&(e.$$typeof===C||e.$$typeof===T||e.$$typeof===x||e.$$typeof===_||e.$$typeof===S||e.$$typeof===o||void 0!==e.getModuleId)}function ev(){var e=A.current;return null===e&&z("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}o=Symbol.for("react.module.reference");var eb=0;function ew(){}ew.__reactDisabledLog=!0;var ex=L.ReactCurrentDispatcher;function e_(e,t,n){if(void 0===p)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);p=r&&r[1]||""}return"\n"+p+e}var eS=!1;function ek(e,t){if(!e||eS)return"";var n,r,i=h.get(e);if(void 0!==i)return i;eS=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=ex.current,ex.current=null,function(){if(0===eb){a=console.log,s=console.info,l=console.warn,u=console.error,c=console.group,d=console.groupCollapsed,f=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ew,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}eb++}();try{if(t){var p=function(){throw Error()};if(Object.defineProperty(p.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(p,[])}catch(e){n=e}Reflect.construct(e,[],p)}else{try{p.call()}catch(e){n=e}e.call(p.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var m=t.stack.split("\n"),g=n.stack.split("\n"),y=m.length-1,v=g.length-1;y>=1&&v>=0&&m[y]!==g[v];)v--;for(;y>=1&&v>=0;y--,v--)if(m[y]!==g[v]){if(1!==y||1!==v)do if(y--,--v<0||m[y]!==g[v]){var b="\n"+m[y].replace(" at new "," at ");return e.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",e.displayName)),"function"==typeof e&&h.set(e,b),b}while(y>=1&&v>=0)break}}}finally{eS=!1,ex.current=r,function(){if(0==--eb){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:H({},e,{value:a}),info:H({},e,{value:s}),warn:H({},e,{value:l}),error:H({},e,{value:u}),group:H({},e,{value:c}),groupCollapsed:H({},e,{value:d}),groupEnd:H({},e,{value:f})})}eb<0&&z("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=o}var w=e?e.displayName||e.name:"",x=w?e_(w):"";return"function"==typeof e&&h.set(e,x),x}function eE(e,t,n){if(null==e)return"";if("function"==typeof e)return ek(e,!!((r=e.prototype)&&r.isReactComponent));if("string"==typeof e)return e_(e);switch(e){case k:return e_("Suspense");case E:return e_("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case S:return ek(e.render,!1);case T:return eE(e.type,t,n);case C:var r,i=e._payload,o=e._init;try{return eE(o(i),t,n)}catch(e){}}return""}h=new("function"==typeof WeakMap?WeakMap:Map);var eT={},eC=L.ReactDebugCurrentFrame;function eR(e){if(e){var t=e._owner,n=eE(e.type,e._source,t?t.type:null);eC.setExtraStackFrame(n)}else eC.setExtraStackFrame(null)}function eO(e){if(e){var t=e._owner;N=eE(e.type,e._source,t?t.type:null)}else N=null}function eI(){if(M.current){var e=en(M.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}m=!1;var eA={};function ej(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=eI();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!eA[n]){eA[n]=!0;var r="";e&&e._owner&&e._owner!==M.current&&(r=" It was passed a child from "+en(e._owner.type)+"."),eO(e),z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),eO(null)}}}function eP(e,t){if("object"==typeof e){if(Z(e))for(var n=0;n<e.length;n++){var r=e[n];ec(r)&&ej(r,t)}else if(ec(e))e._store&&(e._store.validated=!0);else if(e){var i=I(e);if("function"==typeof i&&i!==e.entries)for(var o,a=i.call(e);!(o=a.next()).done;)ec(o.value)&&ej(o.value,t)}}}function eM(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==S&&n.$$typeof!==T)return;t=n.propTypes}if(t){var r=en(n);!function(e,t,n,r,i){var o=Function.call.bind(er);for(var a in e)if(o(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(eR(i),z("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,a,typeof s),eR(null)),s instanceof Error&&!(s.message in eT)&&(eT[s.message]=!0,eR(i),z("Failed %s type: %s",n,s.message),eR(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||m||(m=!0,z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",en(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function eD(e,t,n){var r=ey(e);if(!r){var i,o="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var a=function(e){if(null!=e){var t;return void 0!==(t=e.__source)?"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+".":""}return""}(t);(a?o+=a:o+=eI(),null===e)?i="null":Z(e)?i="array":void 0!==e&&e.$$typeof===g?(i="<"+(en(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):i=typeof e,z("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",i,o)}var s=el.apply(this,arguments);if(null==s)return s;if(r)for(var l=2;l<arguments.length;l++)eP(arguments[l],e);return e===v?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){eO(e),z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),eO(null);break}}null!==e.ref&&(eO(e),z("Invalid attribute `ref` supplied to `React.Fragment`."),eO(null))}(s):eM(s),s}var eN=!1,eL=!1,eF=null,ez=0,e$=!1;function eU(e){e!==ez-1&&z("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ez=e}function eB(t,n,r){var i=P.current;if(null!==i)try{eH(i),function(t){if(null===eF)try{var n=("require"+Math.random()).slice(0,7);eF=(e&&e[n]).call(e,"timers").setImmediate}catch(e){eF=function(e){!1===eL&&(eL=!0,"undefined"==typeof MessageChannel&&z("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}eF(t)}(function(){0===i.length?(P.current=null,n(t)):eB(t,n,r)})}catch(e){r(e)}else n(t)}var eW=!1;function eH(e){if(!eW){eW=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do n=n(!0);while(null!==n)}e.length=0}catch(n){throw e=e.slice(t+1),n}finally{eW=!1}}}t.Children={map:em,forEach:function(e,t,n){em(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return em(e,function(){t++}),t},toArray:function(e){return em(e,function(e){return e})||[]},only:function(e){if(!ec(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=q,t.Fragment=v,t.Profiler=w,t.PureComponent=X,t.StrictMode=b,t.Suspense=k,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,n){for(var r=eu.apply(this,arguments),i=2;i<arguments.length;i++)eP(arguments[i],r.type);return eM(r),r},t.createContext=function(e){var t={$$typeof:_,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:x,_context:t};var n=!1,r=!1,i=!1,o={$$typeof:_,_context:t};return Object.defineProperties(o,{Provider:{get:function(){return r||(r=!0,z("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return n||(n=!0,z("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){i||(F("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),i=!0)}}}),t.Consumer=o,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=eD,t.createFactory=function(e){var t=eD.bind(null,e);return t.type=e,eN||(eN=!0,F("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return F("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===T?z("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?z("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&z("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null!=e.defaultProps||null!=e.propTypes)&&z("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var t,n={$$typeof:S,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,e.name||e.displayName||(e.displayName=n)}}),n},t.isValidElement=ec,t.lazy=function(e){var t,n,r={$$typeof:C,_payload:{_status:-1,_result:e},_init:eg};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){z("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){z("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},t.memo=function(e,t){ey(e)||z("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var n,r={$$typeof:T,type:e,compare:void 0===t?null:t};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(e.displayName=t)}}),r},t.startTransition=function(e,t){var n=j.transition;j.transition={};var r=j.transition;j.transition._updatedFibers=new Set;try{e()}finally{j.transition=n,null===n&&r._updatedFibers&&(r._updatedFibers.size>10&&F("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),r._updatedFibers.clear())}},t.unstable_act=function(e){var t,n=ez;ez++,null===P.current&&(P.current=[]);var r=P.isBatchingLegacy;try{if(P.isBatchingLegacy=!0,t=e(),!r&&P.didScheduleLegacyUpdate){var i=P.current;null!==i&&(P.didScheduleLegacyUpdate=!1,eH(i))}}catch(e){throw eU(n),e}finally{P.isBatchingLegacy=r}if(null!==t&&"object"==typeof t&&"function"==typeof t.then){var o=t,a=!1;return e$||"undefined"==typeof Promise||Promise.resolve().then(function(){}).then(function(){a||(e$=!0,z("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(e,t){a=!0,o.then(function(r){eU(n),0===ez?eB(r,e,t):e(r)},function(e){eU(n),t(e)})}}}var s=t;if(eU(n),0!==ez)return{then:function(e,t){e(s)}};var l=P.current;return null!==l&&(eH(l),P.current=null),{then:function(e,t){null===P.current?(P.current=[],eB(s,e,t)):e(s)}}},t.useCallback=function(e,t){return ev().useCallback(e,t)},t.useContext=function(e){var t=ev();if(void 0!==e._context){var n=e._context;n.Consumer===e?z("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&z("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return ev().useDebugValue(e,t)},t.useDeferredValue=function(e){return ev().useDeferredValue(e)},t.useEffect=function(e,t){return ev().useEffect(e,t)},t.useId=function(){return ev().useId()},t.useImperativeHandle=function(e,t,n){return ev().useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return ev().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return ev().useLayoutEffect(e,t)},t.useMemo=function(e,t){return ev().useMemo(e,t)},t.useReducer=function(e,t,n){return ev().useReducer(e,t,n)},t.useRef=function(e){return ev().useRef(e)},t.useState=function(e){return ev().useState(e)},t.useSyncExternalStore=function(e,t,n){return ev().useSyncExternalStore(e,t,n)},t.useTransition=function(){return ev().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}),el("92oL8",function(e,t){var n,r,i,o,a,s,l,u,c,d,f,p;k(e.exports,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",()=>n,e=>n=e),k(e.exports,"createPortal",()=>r,e=>r=e),k(e.exports,"createRoot",()=>i,e=>i=e),k(e.exports,"findDOMNode",()=>o,e=>o=e),k(e.exports,"flushSync",()=>a,e=>a=e),k(e.exports,"hydrate",()=>s,e=>s=e),k(e.exports,"hydrateRoot",()=>l,e=>l=e),k(e.exports,"render",()=>u,e=>u=e),k(e.exports,"unmountComponentAtNode",()=>c,e=>c=e),k(e.exports,"unstable_batchedUpdates",()=>d,e=>d=e),k(e.exports,"unstable_renderSubtreeIntoContainer",()=>f,e=>f=e),k(e.exports,"version",()=>p,e=>p=e),function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var e,t,h,m,g,y,v,b,w,x,_,S,k,E,T,C,R,O,I,A,j,P,M,D,N,L,F,z,$,U,B,W,H,V,q,Y,G,K,Q,X,J,Z,ee,et,en,er,ei,eo,ea,el,eu,ec,ed,ef,ep,eh,em,eg,ey,ev,eb,ew,ex,e_,eS,ek,eE,eT,eC,eR,eO=es("79wpy"),eI=es("3g6U8"),eA=eO.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ej=!1;function eP(e){if(!ej){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];eD("warn",e,n)}}function eM(e){if(!ej){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];eD("error",e,n)}}function eD(e,t,n){var r=eA.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var i=n.map(function(e){return String(e)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}var eN=new Set,eL={},eF={};function ez(e,t){e$(e,t),e$(e+"Capture",t)}function e$(e,t){eL[e]&&eM("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),eL[e]=t,eF[e.toLowerCase()]=e,"onDoubleClick"===e&&(eF.ondblclick=e);for(var n=0;n<t.length;n++)eN.add(t[n])}var eU=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),eB=Object.prototype.hasOwnProperty;function eW(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function eH(e){try{return!1}catch(e){return!0}}function eV(e,t){if(eH(e))return eM("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,eW(e)),""+e}function eq(e){if(eH(e))return eM("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",eW(e)),""+e}var eY=":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",eG=eY+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",eK=RegExp("^["+eY+"]["+eG+"]*$"),eQ={},eX={};function eJ(e){return!!eB.call(eX,e)||!eB.call(eQ,e)&&(eK.test(e)?(eX[e]=!0,!0):(eQ[e]=!0,eM("Invalid attribute name: `%s`",e),!1))}function eZ(e,t,n){return null!==t?0===t.type:!n&&e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])}function e0(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;var i=e.toLowerCase().slice(0,5);return"data-"!==i&&"aria-"!==i;default:return!1}}function e1(e,t,n,r){if(null==t||e0(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)||t<1}return!1}function e2(e){return e4.hasOwnProperty(e)?e4[e]:null}function e3(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var e4={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){e4[e]=new e3(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];e4[t]=new e3(t,1,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){e4[e]=new e3(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){e4[e]=new e3(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"].forEach(function(e){e4[e]=new e3(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){e4[e]=new e3(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){e4[e]=new e3(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){e4[e]=new e3(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){e4[e]=new e3(e,5,!1,e.toLowerCase(),null,!1,!1)});var e6=/[\-\:]([a-z])/g,e5=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(e6,e5);e4[t]=new e3(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(e6,e5);e4[t]=new e3(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(e6,e5);e4[t]=new e3(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){e4[e]=new e3(e,1,!1,e.toLowerCase(),null,!1,!1)}),e4.xlinkHref=new e3("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){e4[e]=new e3(e,1,!1,e.toLowerCase(),null,!0,!0)});var e8=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,e9=!1;function e7(e){!e9&&e8.test(e)&&(e9=!0,eM("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function te(e,t,n,r){if(eJ(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var i=e.getAttribute(t);return(eV(n,t),i===""+n)?n:i}}function tt(e,t,n,r){var i=e2(t);if(!eZ(t,i,r)){if(e1(t,n,i,r)&&(n=null),r||null===i){eJ(t)&&(null===n?e.removeAttribute(t):(eV(n,t),e.setAttribute(t,""+n)));return}if(i.mustUseProperty){var o=i.propertyName;if(null===n){var a=i.type;e[o]=3!==a&&""}else e[o]=n;return}var s=i.attributeName,l=i.attributeNamespace;if(null===n)e.removeAttribute(s);else{var u,c=i.type;3===c||4===c&&!0===n?u="":(eV(n,s),u=""+n,i.sanitizeURL&&e7(u.toString())),l?e.setAttributeNS(l,s,u):e.setAttribute(s,u)}}}var tn=Symbol.for("react.element"),tr=Symbol.for("react.portal"),ti=Symbol.for("react.fragment"),to=Symbol.for("react.strict_mode"),ta=Symbol.for("react.profiler"),ts=Symbol.for("react.provider"),tl=Symbol.for("react.context"),tu=Symbol.for("react.forward_ref"),tc=Symbol.for("react.suspense"),td=Symbol.for("react.suspense_list"),tf=Symbol.for("react.memo"),tp=Symbol.for("react.lazy"),th=(Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode"),Symbol.for("react.offscreen")),tm=(Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker"),Symbol.iterator);function tg(e){if(null===e||"object"!=typeof e)return null;var t=tm&&e[tm]||e["@@iterator"];return"function"==typeof t?t:null}var ty=Object.assign,tv=0;function tb(){}tb.__reactDisabledLog=!0;var tw=eA.ReactCurrentDispatcher;function tx(e,t,n){if(void 0===S)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);S=r&&r[1]||""}return"\n"+S+e}var t_=!1;function tS(e,t){if(!e||t_)return"";var n,r,i=k.get(e);if(void 0!==i)return i;t_=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=tw.current,tw.current=null,function(){if(0===tv){g=console.log,y=console.info,v=console.warn,b=console.error,w=console.group,x=console.groupCollapsed,_=console.groupEnd;var e={configurable:!0,enumerable:!0,value:tb,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}tv++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){n=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){n=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,c=l.length-1;u>=1&&c>=0&&s[u]!==l[c];)c--;for(;u>=1&&c>=0;u--,c--)if(s[u]!==l[c]){if(1!==u||1!==c)do if(u--,--c<0||s[u]!==l[c]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&k.set(e,d),d}while(u>=1&&c>=0)break}}}finally{t_=!1,tw.current=r,function(){if(0==--tv){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ty({},e,{value:g}),info:ty({},e,{value:y}),warn:ty({},e,{value:v}),error:ty({},e,{value:b}),group:ty({},e,{value:w}),groupCollapsed:ty({},e,{value:x}),groupEnd:ty({},e,{value:_})})}tv<0&&eM("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=o}var f=e?e.displayName||e.name:"",p=f?tx(f):"";return"function"==typeof e&&k.set(e,p),p}function tk(e){try{var t="",n=e;do t+=function(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case 5:return tx(e.type);case 16:return tx("Lazy");case 13:return tx("Suspense");case 19:return tx("SuspenseList");case 0:case 2:case 15:return tS(e.type,!1);case 11:return tS(e.type.render,!1);case 1:return tS(e.type,!0);default:return""}}(n),n=n.return;while(n)return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function tE(e){return e.displayName||"Context"}function tT(e){if(null==e)return null;if("number"==typeof e.tag&&eM("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ti:return"Fragment";case tr:return"Portal";case ta:return"Profiler";case to:return"StrictMode";case tc:return"Suspense";case td:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case tl:return tE(e)+".Consumer";case ts:return tE(e._context)+".Provider";case tu:return function(e,t,n){var r=e.displayName;if(r)return r;var i=t.displayName||t.name||"";return""!==i?n+"("+i+")":n}(e,e.render,"ForwardRef");case tf:var t=e.displayName||null;if(null!==t)return t;return tT(e.type)||"Memo";case tp:var n=e._payload,r=e._init;try{return tT(r(n))}catch(e){}}return null}function tC(e){return e.displayName||"Context"}function tR(e){var t,n,r,i=e.tag,o=e.type;switch(i){case 24:return"Cache";case 9:return tC(o)+".Consumer";case 10:return tC(o._context)+".Provider";case 18:return"DehydratedFragment";case 11:return t=o.render,n="ForwardRef",r=t.displayName||t.name||"",o.displayName||(""!==r?n+"("+r+")":n);case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return tT(o);case 8:if(o===to)return"StrictMode";return"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 o)return o.displayName||o.name||null;if("string"==typeof o)return o}return null}k=new("function"==typeof WeakMap?WeakMap:Map);var tO=eA.ReactDebugCurrentFrame,tI=null,tA=!1;function tj(){if(null===tI)return null;var e=tI._debugOwner;return null!=e?tR(e):null}function tP(){return null===tI?"":tk(tI)}function tM(){tO.getCurrentStack=null,tI=null,tA=!1}function tD(e){tO.getCurrentStack=null===e?null:tP,tI=e,tA=!1}function tN(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return eq(e),e;default:return""}}var tL={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function tF(e,t){tL[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||eM("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||eM("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function tz(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function t$(e){return e._valueTracker}function tU(e){t$(e)||(e._valueTracker=function(e){var t=tz(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);eq(e[t]);var r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){eq(e),r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){eq(e),r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function tB(e){if(!e)return!1;var t,n=t$(e);if(!n)return!0;var r=n.getValue(),i=(t="",e?t=tz(e)?e.checked?"true":"false":e.value:t);return i!==r&&(n.setValue(i),!0)}function tW(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}}var tH=!1,tV=!1,tq=!1,tY=!1;function tG(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function tK(e,t){var n=t.checked;return ty({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function tQ(e,t){tF("input",t),void 0===t.checked||void 0===t.defaultChecked||tV||(eM("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",tj()||"A component",t.type),tV=!0),void 0===t.value||void 0===t.defaultValue||tH||(eM("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",tj()||"A component",t.type),tH=!0);var n=null==t.defaultValue?"":t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:tN(null!=t.value?t.value:n),controlled:tG(t)}}function tX(e,t){var n=t.checked;null!=n&&tt(e,"checked",n,!1)}function tJ(e,t){var n=tG(t);e._wrapperState.controlled||!n||tY||(eM("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),tY=!0),!e._wrapperState.controlled||n||tq||(eM("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),tq=!0),tX(e,t);var r=tN(t.value),i=t.type;if(null!=r)"number"===i?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===i||"reset"===i){e.removeAttribute("value");return}t.hasOwnProperty("value")?t0(e,t.type,r):t.hasOwnProperty("defaultValue")&&t0(e,t.type,tN(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function tZ(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;var i=""+e._wrapperState.initialValue;n||i===e.value||(e.value=i),e.defaultValue=i}var o=e.name;""!==o&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==o&&(e.name=o)}function t0(e,t,n){("number"!==t||tW(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var t1=!1,t2=!1,t3=!1;function t4(e,t){null!=t.value||("object"==typeof t.children&&null!==t.children?eO.Children.forEach(t.children,function(e){null!=e&&("string"==typeof e||"number"==typeof e||t2||(t2=!0,eM("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):null==t.dangerouslySetInnerHTML||t3||(t3=!0,eM("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),null==t.selected||t1||(eM("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),t1=!0)}var t6=Array.isArray;function t5(){var e=tj();return e?"\n\nCheck the render method of `"+e+"`.":""}E=!1;var t8=["value","defaultValue"];function t9(e,t,n,r){var i=e.options;if(t){for(var o={},a=0;a<n.length;a++)o["$"+n[a]]=!0;for(var s=0;s<i.length;s++){var l=o.hasOwnProperty("$"+i[s].value);i[s].selected!==l&&(i[s].selected=l),l&&r&&(i[s].defaultSelected=!0)}}else{for(var u=""+tN(n),c=null,d=0;d<i.length;d++){if(i[d].value===u){i[d].selected=!0,r&&(i[d].defaultSelected=!0);return}null!==c||i[d].disabled||(c=i[d])}null!==c&&(c.selected=!0)}}function t7(e,t){return ty({},t,{value:void 0})}function ne(e,t){(function(e){tF("select",e);for(var t=0;t<t8.length;t++){var n=t8[t];if(null!=e[n]){var r=t6(e[n]);e.multiple&&!r?eM("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,t5()):!e.multiple&&r&&eM("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,t5())}}})(t),e._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||E||(eM("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),E=!0)}var nt=!1;function nn(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");return ty({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nr(e,t){tF("textarea",t),void 0===t.value||void 0===t.defaultValue||nt||(eM("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",tj()||"A component"),nt=!0);var n=t.value;if(null==n){var r=t.children,i=t.defaultValue;if(null!=r){if(eM("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=i)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(t6(r)){if(r.length>1)throw Error("<textarea> can only have at most one child.");r=r[0]}i=r}null==i&&(i=""),n=i}e._wrapperState={initialValue:tN(n)}}function ni(e,t){var n=tN(t.value),r=tN(t.defaultValue);if(null!=n){var i=""+n;i!==e.value&&(e.value=i),null==t.defaultValue&&e.defaultValue!==i&&(e.defaultValue=i)}null!=r&&(e.defaultValue=""+r)}function no(e,t){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}var na="http://www.w3.org/1999/xhtml",ns="http://www.w3.org/2000/svg";function nl(e){switch(e){case"svg":return ns;case"math":return"http://www.w3.org/1998/Math/MathML";default:return na}}function nu(e,t){return null==e||e===na?nl(t):e===ns&&"foreignObject"===t?na:e}var nc=(e=function(e,t){if(e.namespaceURI===ns&&!("innerHTML"in e)){(T=T||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=T.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e),nd=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t},nf={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},np={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},nh=["Webkit","ms","Moz","O"];function nm(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||np.hasOwnProperty(e)&&np[e]?(eH(t)&&eM("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",e,eW(t)),(""+t).trim()):t+"px"}Object.keys(np).forEach(function(e){nh.forEach(function(t){np[t+e.charAt(0).toUpperCase()+e.substring(1)]=np[e]})});var ng=/([A-Z])/g,ny=/^ms-/,nv=/^(?:webkit|moz|o)[A-Z]/,nb=/^-ms-/,nw=/-(.)/g,nx=/;\s*$/,n_={},nS={},nk=!1,nE=!1,nT=function(e){n_.hasOwnProperty(e)&&n_[e]||(n_[e]=!0,eM("Unsupported style property %s. Did you mean %s?",e,e.replace(nb,"ms-").replace(nw,function(e,t){return t.toUpperCase()})))},nC=function(e){n_.hasOwnProperty(e)&&n_[e]||(n_[e]=!0,eM("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},nR=function(e,t){nS.hasOwnProperty(t)&&nS[t]||(nS[t]=!0,eM('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(nx,"")))},nO=function(e,t){nk||(nk=!0,eM("`NaN` is an invalid value for the `%s` css style property.",e))},nI=function(e,t){nE||(nE=!0,eM("`Infinity` is an invalid value for the `%s` css style property.",e))},nA=function(e,t){e.indexOf("-")>-1?nT(e):nv.test(e)?nC(e):nx.test(t)&&nR(e,t),"number"!=typeof t||(isNaN(t)?nO(e,t):isFinite(t)||nI(e,t))};function nj(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i=0===r.indexOf("--");i||nA(r,t[r]);var o=nm(r,t[r],i);"float"===r&&(r="cssFloat"),i?n.setProperty(r,o):n[r]=o}}function nP(e){var t={};for(var n in e)for(var r=nf[n]||[n],i=0;i<r.length;i++)t[r[i]]=n;return t}var nM=ty({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 nD(e,t){if(t){if(nM[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&eM("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function nN(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 nL={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},nF={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},nz={},n$=RegExp("^(aria)-["+eG+"]*$"),nU=RegExp("^(aria)[A-Z]["+eG+"]*$"),nB=!1,nW=function(){},nH={},nV=/^on./,nq=/^on[^A-Z]/,nY=RegExp("^(aria)-["+eG+"]*$"),nG=RegExp("^(aria)[A-Z]["+eG+"]*$");nW=function(e,t,n,r){if(eB.call(nH,t)&&nH[t])return!0;var i=t.toLowerCase();if("onfocusin"===i||"onfocusout"===i)return eM("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),nH[t]=!0,!0;if(null!=r){var o=r.registrationNameDependencies,a=r.possibleRegistrationNames;if(o.hasOwnProperty(t))return!0;var s=a.hasOwnProperty(i)?a[i]:null;if(null!=s)return eM("Invalid event handler property `%s`. Did you mean `%s`?",t,s),nH[t]=!0,!0;if(nV.test(t))return eM("Unknown event handler property `%s`. It will be ignored.",t),nH[t]=!0,!0}else if(nV.test(t))return nq.test(t)&&eM("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),nH[t]=!0,!0;if(nY.test(t)||nG.test(t))return!0;if("innerhtml"===i)return eM("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),nH[t]=!0,!0;if("aria"===i)return eM("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),nH[t]=!0,!0;if("is"===i&&null!=n&&"string"!=typeof n)return eM("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),nH[t]=!0,!0;if("number"==typeof n&&isNaN(n))return eM("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),nH[t]=!0,!0;var l=e2(t),u=null!==l&&0===l.type;if(nL.hasOwnProperty(i)){var c=nL[i];if(c!==t)return eM("Invalid DOM property `%s`. Did you mean `%s`?",t,c),nH[t]=!0,!0}else if(!u&&t!==i)return eM("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,i),nH[t]=!0,!0;return"boolean"==typeof n&&e0(t,n,l,!1)?(n?eM('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):eM('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),nH[t]=!0,!0):!!u||(e0(t,n,l,!1)?(nH[t]=!0,!1):(("false"===n||"true"===n)&&null!==l&&3===l.type&&(eM("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),nH[t]=!0),!0))};var nK=function(e,t,n){var r=[];for(var i in t)nW(e,i,t[i],n)||r.push(i);var o=r.map(function(e){return"`"+e+"`"}).join(", ");1===r.length?eM("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",o,e):r.length>1&&eM("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",o,e)},nQ=null;function nX(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var nJ=null,nZ=null,n0=null;function n1(e){var t=a1(e);if(t){if("function"!=typeof nJ)throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var r=a3(n);nJ(t.stateNode,t.type,r)}}}function n2(e){nZ?n0?n0.push(e):n0=[e]:nZ=e}function n3(){if(nZ){var e=nZ,t=n0;if(nZ=null,n0=null,n1(e),t)for(var n=0;n<t.length;n++)n1(t[n])}}var n4=function(e,t){return e(t)},n6=function(){},n5=!1;function n8(e,t,n){if(n5)return e(t,n);n5=!0;try{return n4(e,t,n)}finally{n5=!1,(null!==nZ||null!==n0)&&(n6(),n3())}}function n9(e,t){var n=e.stateNode;if(null===n)return null;var r=a3(n);if(null===r)return null;var i=r[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(n.disabled&&("button"===t||"input"===t||"select"===t||"textarea"===t));default:return!1}}(t,e.type,r))return null;if(i&&"function"!=typeof i)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof i+"` type.");return i}var n7=!1;if(eU)try{var re={};Object.defineProperty(re,"passive",{get:function(){n7=!0}}),window.addEventListener("test",re,re),window.removeEventListener("test",re,re)}catch(e){n7=!1}function rt(e,t,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var rn=rt;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var rr=document.createElement("react");rn=function(e,t,n,r,i,o,a,s,l){if("undefined"==typeof document||null===document)throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var u,c=document.createEvent("Event"),d=!1,f=!0,p=window.event,h=Object.getOwnPropertyDescriptor(window,"event");function m(){rr.removeEventListener(x,y,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=p)}var g=Array.prototype.slice.call(arguments,3);function y(){d=!0,m(),t.apply(n,g),f=!1}var v=!1,b=!1;function w(e){if(u=e.error,v=!0,null===u&&0===e.colno&&0===e.lineno&&(b=!0),e.defaultPrevented&&null!=u&&"object"==typeof u)try{u._suppressLogging=!0}catch(e){}}var x="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",w),rr.addEventListener(x,y,!1),c.initEvent(x,!1,!1),rr.dispatchEvent(c),h&&Object.defineProperty(window,"event",h),d&&f&&(v?b&&(u=Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):u=Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(u)),window.removeEventListener("error",w),!d)return m(),rt.apply(this,arguments)}}var ri=rn,ro=!1,ra=null,rs=!1,rl=null,ru={onError:function(e){ro=!0,ra=e}};function rc(e,t,n,r,i,o,a,s,l){ro=!1,ra=null,ri.apply(ru,arguments)}function rd(){if(ro){var e=ra;return ro=!1,ra=null,e}throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function rf(e){return e._reactInternals}var rp=eA.ReactCurrentOwner;function rh(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do(4098&(t=r).flags)!=0&&(n=t.return),r=t.return;while(r)}return 3===t.tag?n:null}function rm(e){if(13===e.tag){var t=e.memoizedState;if(null===t){var n=e.alternate;null!==n&&(t=n.memoizedState)}if(null!==t)return t.dehydrated}return null}function rg(e){return 3===e.tag?e.stateNode.containerInfo:null}function ry(e){if(rh(e)!==e)throw Error("Unable to find node on an unmounted component.")}function rv(e){var t=e.alternate;if(!t){var n=rh(e);if(null===n)throw Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,i=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){var s=o.return;if(null!==s){r=i=s;continue}break}if(o.child===a.child){for(var l=o.child;l;){if(l===r)return ry(o),e;if(l===i)return ry(o),t;l=l.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==i.return)r=o,i=a;else{for(var u=!1,c=o.child;c;){if(c===r){u=!0,r=o,i=a;break}if(c===i){u=!0,i=o,r=a;break}c=c.sibling}if(!u){for(c=a.child;c;){if(c===r){u=!0,r=a,i=o;break}if(c===i){u=!0,i=a,r=o;break}c=c.sibling}if(!u)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==i)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==r.tag)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function rb(e){var t=rv(e);return null!==t?function e(t){if(5===t.tag||6===t.tag)return t;for(var n=t.child;null!==n;){var r=e(n);if(null!==r)return r;n=n.sibling}return null}(t):null}var rw=eI.unstable_scheduleCallback,rx=eI.unstable_cancelCallback,r_=eI.unstable_shouldYield,rS=eI.unstable_requestPaint,rk=eI.unstable_now,rE=eI.unstable_getCurrentPriorityLevel,rT=eI.unstable_ImmediatePriority,rC=eI.unstable_UserBlockingPriority,rR=eI.unstable_NormalPriority,rO=eI.unstable_LowPriority,rI=eI.unstable_IdlePriority,rA=eI.unstable_yieldValue,rj=eI.unstable_setDisableYieldValue,rP=null,rM=null,rD=null,rN=!1,rL="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function rF(e){if("function"==typeof rA&&(rj(e),ej=e),rM&&"function"==typeof rM.setStrictMode)try{rM.setStrictMode(rP,e)}catch(e){rN||(rN=!0,eM("React instrumentation encountered an error: %s",e))}}function rz(e){rD=e}function r$(){for(var e=new Map,t=1,n=0;n<rJ;n++){var r,i=1&(r=t)?"Sync":2&r?"InputContinuousHydration":4&r?"InputContinuous":8&r?"DefaultHydration":16&r?"Default":32&r?"TransitionHydration":4194240&r?"Transition":130023424&r?"Retry":134217728&r?"SelectiveHydration":268435456&r?"IdleHydration":536870912&r?"Idle":1073741824&r?"Offscreen":void 0;e.set(t,i),t*=2}return e}function rU(){null!==rD&&"function"==typeof rD.markCommitStopped&&rD.markCommitStopped()}function rB(e){null!==rD&&"function"==typeof rD.markComponentRenderStarted&&rD.markComponentRenderStarted(e)}function rW(){null!==rD&&"function"==typeof rD.markComponentRenderStopped&&rD.markComponentRenderStopped()}function rH(e){null!==rD&&"function"==typeof rD.markComponentLayoutEffectUnmountStarted&&rD.markComponentLayoutEffectUnmountStarted(e)}function rV(){null!==rD&&"function"==typeof rD.markComponentLayoutEffectUnmountStopped&&rD.markComponentLayoutEffectUnmountStopped()}function rq(e){null!==rD&&"function"==typeof rD.markRenderStarted&&rD.markRenderStarted(e)}function rY(){null!==rD&&"function"==typeof rD.markRenderStopped&&rD.markRenderStopped()}function rG(e,t){null!==rD&&"function"==typeof rD.markStateUpdateScheduled&&rD.markStateUpdateScheduled(e,t)}var rK=Math.clz32?Math.clz32:function(e){var t=e>>>0;return 0===t?32:31-(rQ(t)/rX|0)|0},rQ=Math.log,rX=Math.LN2,rJ=31,rZ=64,r0=4194304;function r1(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 eM("Should have found matching lanes. This is a bug in React."),e}}function r2(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;if(0!==s)r=r1(s);else{var l=a&o;0!==l&&(r=r1(l))}}else{var u=n&~i;0!==u?r=r1(u):0!==o&&(r=r1(o))}if(0===r)return 0;if(0!==t&&t!==r&&(t&i)==0){var c,d=(c=r)&-c,f=t&-t;if(d>=f||16===d&&(4194240&f)!=0)return t}(4&r)!=0&&(r|=16&n);var p=e.entangledLanes;if(0!==p)for(var h=e.entanglements,m=r&p;m>0;){var g=r7(m),y=1<<g;r|=h[g],m&=~y}return r}function r3(e){var t=-1073741825&e.pendingLanes;return 0!==t?t:1073741824&t?1073741824:0}function r4(e){return(268435455&e)!=0}function r6(e){return(130023424&e)===e}function r5(e){return(4194240&e)!=0}function r8(){var e=rZ;return(4194240&(rZ<<=1))==0&&(rZ=64),e}function r9(e){return e&-e}function r7(e){return 31-rK(e)}function ie(e){for(var t=[],n=0;n<rJ;n++)t.push(e);return t}function it(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),e.eventTimes[r7(t)]=n}function ir(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function ii(e,t){for(var n=e.entangledLanes|=t,r=e.entanglements,i=n;i;){var o=r7(i),a=1<<o;a&t|r[o]&t&&(r[o]|=t),i&=~a}}function io(e,t,n){if(rL)for(var r=e.pendingUpdatersLaneMap;n>0;){var i=r7(n),o=1<<i;r[i].add(t),n&=~o}}function ia(e,t){if(rL)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;t>0;){var i=r7(t),o=1<<i,a=n[i];a.size>0&&(a.forEach(function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)}),a.clear()),t&=~o}}var is=0;function il(e){var t=e&-e;return 1<t?4<t?r4(t)?16:536870912:4:1}function iu(e){return e.current.memoizedState.isDehydrated}var ic=!1,id=[],ip=null,ih=null,im=null,ig=new Map,iy=new Map,iv=[],ib=["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"];function iw(e,t){switch(e){case"focusin":case"focusout":ip=null;break;case"dragenter":case"dragleave":ih=null;break;case"mouseover":case"mouseout":im=null;break;case"pointerover":case"pointerout":var n=t.pointerId;ig.delete(n);break;case"gotpointercapture":case"lostpointercapture":var r=t.pointerId;iy.delete(r)}}function ix(e,t,n,r,i,o){if(null===e||e.nativeEvent!==o){if(null!==t){var a=a1(t);null!==a&&R(a)}return{blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]}}e.eventSystemFlags|=r;var s=e.targetContainers;return null!==i&&-1===s.indexOf(i)&&s.push(i),e}function i_(e){var t=a0(e.target);if(null!==t){var n=rh(t);if(null!==n){var r=n.tag;if(13===r){var i=rm(n);if(null!==i){e.blockedOn=i,A(e.priority,function(){O(n)});return}}else if(3===r&&iu(n.stateNode)){e.blockedOn=rg(n);return}}}e.blockedOn=null}function iS(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],r=iM(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(null===r){var i=e.nativeEvent,o=new i.constructor(i.type,i);null!==nQ&&eM("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),nQ=o,i.target.dispatchEvent(o),null===nQ&&eM("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),nQ=null}else{var a=a1(r);return null!==a&&R(a),e.blockedOn=r,!1}t.shift()}return!0}function ik(e,t,n){iS(e)&&n.delete(t)}function iE(){ic=!1,null!==ip&&iS(ip)&&(ip=null),null!==ih&&iS(ih)&&(ih=null),null!==im&&iS(im)&&(im=null),ig.forEach(ik),iy.forEach(ik)}function iT(e,t){e.blockedOn!==t||(e.blockedOn=null,ic||(ic=!0,eI.unstable_scheduleCallback(eI.unstable_NormalPriority,iE)))}function iC(e){if(id.length>0){iT(id[0],e);for(var t=1;t<id.length;t++){var n=id[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==ip&&iT(ip,e),null!==ih&&iT(ih,e),null!==im&&iT(im,e);var r=function(t){return iT(t,e)};ig.forEach(r),iy.forEach(r);for(var i=0;i<iv.length;i++){var o=iv[i];o.blockedOn===e&&(o.blockedOn=null)}for(;iv.length>0;){var a=iv[0];if(null!==a.blockedOn)break;i_(a),null===a.blockedOn&&iv.shift()}}var iR=eA.ReactCurrentBatchConfig,iO=!0;function iI(e,t,n,r){var i=is,o=iR.transition;iR.transition=null;try{is=1,ij(e,t,n,r)}finally{is=i,iR.transition=o}}function iA(e,t,n,r){var i=is,o=iR.transition;iR.transition=null;try{is=4,ij(e,t,n,r)}finally{is=i,iR.transition=o}}function ij(e,t,n,r){iO&&function(e,t,n,r){var i=iM(e,t,n,r);if(null===i){o9(e,t,r,iP,n),iw(e,r);return}if(function(e,t,n,r,i){switch(t){case"focusin":return ip=ix(ip,e,t,n,r,i),!0;case"dragenter":return ih=ix(ih,e,t,n,r,i),!0;case"mouseover":return im=ix(im,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return ig.set(o,ix(ig.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":var a=i.pointerId;return iy.set(a,ix(iy.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){r.stopPropagation();return}if(iw(e,r),4&t&&ib.indexOf(e)>-1){for(;null!==i;){var o=a1(i);null!==o&&C(o);var a=iM(e,t,n,r);if(null===a&&o9(e,t,r,iP,n),a===i)break;i=a}null!==i&&r.stopPropagation();return}o9(e,t,r,null,n)}(e,t,n,r)}var iP=null;function iM(e,t,n,r){iP=null;var i=a0(nX(r));if(null!==i){var o=rh(i);if(null===o)i=null;else{var a=o.tag;if(13===a){var s=rm(o);if(null!==s)return s;i=null}else if(3===a){if(iu(o.stateNode))return rg(o);i=null}else o!==i&&(i=null)}}return iP=i,null}function iD(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(rE()){case rT:return 1;case rC:return 4;case rR:case rO:return 16;case rI:return 536870912;default:return 16}default:return 16}}var iN=null,iL=null,iF=null;function iz(){if(iF)return iF;var e,t,n=iL,r=n.length,i=i$(),o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);var s=t>1?1-t:void 0;return iF=i.slice(e,s)}function i$(){return"value"in iN?iN.value:iN.textContent}function iU(e){var t,n=e.keyCode;return("charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t)?t:0}function iB(){return!0}function iW(){return!1}function iH(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)if(e.hasOwnProperty(a)){var s=e[a];s?this[a]=s(i):this[a]=i[a]}return(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?this.isDefaultPrevented=iB:this.isDefaultPrevented=iW,this.isPropagationStopped=iW,this}return ty(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=iB)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=iB)},persist:function(){},isPersistent:iB}),t}var iV={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},iq=iH(iV),iY=ty({},iV,{view:0,detail:0}),iG=iH(iY),iK=ty({},iY,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:i5,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!==M&&(M&&"mousemove"===e.type?(j=e.screenX-M.screenX,P=e.screenY-M.screenY):(j=0,P=0),M=e),j)},movementY:function(e){return"movementY"in e?e.movementY:P}}),iQ=iH(iK),iX=iH(ty({},iK,{dataTransfer:0})),iJ=iH(ty({},iY,{relatedTarget:0})),iZ=iH(ty({},iV,{animationName:0,elapsedTime:0,pseudoElement:0})),i0=iH(ty({},iV,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),i1=iH(ty({},iV,{data:0})),i2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i3={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"},i4={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function i6(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=i4[e];return!!n&&!!t[n]}function i5(e){return i6}var i8=iH(ty({},iY,{key:function(e){if(e.key){var t=i2[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=iU(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:i5,charCode:function(e){return"keypress"===e.type?iU(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?iU(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),i9=iH(ty({},iK,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),i7=iH(ty({},iY,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:i5})),oe=iH(ty({},iV,{propertyName:0,elapsedTime:0,pseudoElement:0})),ot=iH(ty({},iK,{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})),on=[9,13,27,32],or=eU&&"CompositionEvent"in window,oi=null;eU&&"documentMode"in document&&(oi=document.documentMode);var oo=eU&&"TextEvent"in window&&!oi,oa=eU&&(!or||oi&&oi>8&&oi<=11),os=!1;function ol(e,t){switch(e){case"keyup":return -1!==on.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ou(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function oc(e){return"ko"===e.locale}var od=!1,of={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 op(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!of[e.type]:"textarea"===t}function oh(e,t,n,r){n2(r);var i=ae(t,"onChange");if(i.length>0){var o=new iq("onChange","change",null,n,r);e.push({event:o,listeners:i})}}var om=null,og=null;function oy(e){o1(e,0)}function ov(e){if(tB(a2(e)))return e}function ob(e,t){if("change"===e)return t}var ow=!1;function ox(){om&&(om.detachEvent("onpropertychange",o_),om=null,og=null)}function o_(e){if("value"===e.propertyName&&ov(og)){var t;oh(t=[],og,e,nX(e)),n8(oy,t)}}function oS(e,t,n){"focusin"===e?(ox(),om=t,og=n,om.attachEvent("onpropertychange",o_)):"focusout"===e&&ox()}function ok(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ov(og)}function oE(e,t){if("click"===e)return ov(t)}function oT(e,t){if("input"===e||"change"===e)return ov(t)}eU&&(ow=/** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, * `reset`, `load`, `error`, and `select`. * * Borrows from Modernizr. * * @param {string} eventNameSuffix Event name, e.g. "click". * @return {boolean} True if the event is supported. * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */function(e){if(!eU)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n="function"==typeof r[t]}return n}("input")&&(!document.documentMode||document.documentMode>9));var oC="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function oR(e,t){if(oC(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!eB.call(t,o)||!oC(e[o],t[o]))return!1}return!0}function oO(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function oI(e,t){for(var n=oO(e),r=0,i=0;n;){if(3===n.nodeType){if(i=r+n.textContent.length,r<=t&&i>=t)return{node:n,offset:t-r};r=i}n=oO(function(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}(n))}}function oA(e){return e&&3===e.nodeType}function oj(){for(var e=window,t=tW();t instanceof e.HTMLIFrameElement&&function(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}(t);)t=tW((e=t.contentWindow).document);return t}function oP(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)}var oM=eU&&"documentMode"in document&&document.documentMode<=11,oD=null,oN=null,oL=null,oF=!1;function oz(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;if(!oF&&null!=oD&&oD===tW(r)){var i=function(e){if("selectionStart"in e&&oP(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(oD);if(!oL||!oR(oL,i)){oL=i;var o=ae(oN,"onSelect");if(o.length>0){var a=new iq("onSelect","select",null,t,n);e.push({event:a,listeners:o}),a.target=oD}}}}function o$(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var oU={animationend:o$("Animation","AnimationEnd"),animationiteration:o$("Animation","AnimationIteration"),animationstart:o$("Animation","AnimationStart"),transitionend:o$("Transition","TransitionEnd")},oB={},oW={};function oH(e){if(oB[e])return oB[e];if(!oU[e])return e;var t=oU[e];for(var n in t)if(t.hasOwnProperty(n)&&n in oW)return oB[e]=t[n];return e}!eU||(oW=document.createElement("div").style,"AnimationEvent"in window||(delete oU.animationend.animation,delete oU.animationiteration.animation,delete oU.animationstart.animation),"TransitionEvent"in window||delete oU.transitionend.transition);var oV=oH("animationend"),oq=oH("animationiteration"),oY=oH("animationstart"),oG=oH("transitionend"),oK=new Map,oQ=["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"];function oX(e,t){oK.set(e,t),ez(t,[e])}(function(){for(var e=0;e<oQ.length;e++){var t=oQ[e];oX(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}oX(oV,"onAnimationEnd"),oX(oq,"onAnimationIteration"),oX(oY,"onAnimationStart"),oX("dblclick","onDoubleClick"),oX("focusin","onFocus"),oX("focusout","onBlur"),oX(oG,"onTransitionEnd")})(),e$("onMouseEnter",["mouseout","mouseover"]),e$("onMouseLeave",["mouseout","mouseover"]),e$("onPointerEnter",["pointerout","pointerover"]),e$("onPointerLeave",["pointerout","pointerover"]),ez("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),ez("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),ez("onBeforeInput",["compositionend","keypress","textInput","paste"]),ez("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),ez("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),ez("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var oJ=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],oZ=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(oJ));function o0(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,a,s,l){if(rc.apply(this,arguments),ro){var u=rd();rs||(rs=!0,rl=u)}}(r,t,void 0,e),e.currentTarget=null}function o1(e,t){for(var n=(4&t)!=0,r=0;r<e.length;r++){var i=e[r];!function(e,t,n){var r;if(n)for(var i=t.length-1;i>=0;i--){var o=t[i],a=o.instance,s=o.currentTarget,l=o.listener;if(a!==r&&e.isPropagationStopped())return;o0(e,l,s),r=a}else for(var u=0;u<t.length;u++){var c=t[u],d=c.instance,f=c.currentTarget,p=c.listener;if(d!==r&&e.isPropagationStopped())return;o0(e,p,f),r=d}}(i.event,i.listeners,n)}!function(){if(rs){var e=rl;throw rs=!1,rl=null,e}}()}function o2(e,t){oZ.has(e)||eM('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n,r=(void 0===(n=t[aX])&&(n=t[aX]=new Set),n),i=e+"__bubble";r.has(i)||(o5(t,e,2,!1),r.add(i))}function o3(e,t,n){oZ.has(e)&&!t&&eM('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=4),o5(n,e,r,t)}var o4="_reactListening"+Math.random().toString(36).slice(2);function o6(e){if(!e[o4]){e[o4]=!0,eN.forEach(function(t){"selectionchange"!==t&&(oZ.has(t)||o3(t,!1,e),o3(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[o4]||(t[o4]=!0,o3("selectionchange",!1,t))}}function o5(e,t,n,r,i){var o,a,s=function(e,t,n){var r;switch(iD(t)){case 1:r=iI;break;case 4:r=iA;break;default:r=ij}return r.bind(null,t,n,e)}(e,t,n),l=void 0;(n7&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(l=!0),r)?void 0!==l?(o=l,e.addEventListener(t,s,{capture:!0,passive:o})):e.addEventListener(t,s,!0):void 0!==l?(a=l,e.addEventListener(t,s,{passive:a})):e.addEventListener(t,s,!1)}function o8(e,t){return e===t||8===e.nodeType&&e.parentNode===t}function o9(e,t,n,r,i){var o=r;if((1&t)==0&&(2&t)==0&&null!==r){var a=r;e:for(;;){if(null===a)return;var s=a.tag;if(3===s||4===s){var l=a.stateNode.containerInfo;if(o8(l,i))break;if(4===s)for(var u=a.return;null!==u;){var c=u.tag;if((3===c||4===c)&&o8(u.stateNode.containerInfo,i))return;u=u.return}for(;null!==l;){var d=a0(l);if(null===d)return;var f=d.tag;if(5===f||6===f){a=o=d;continue e}l=l.parentNode}}a=a.return}}n8(function(){var r,i,a,s,l,u,c,d,f,p;return r=o,i=nX(n),void(function(e,t,n,r,i,o,a){var s=oK.get(t);if(void 0!==s){var l=iq,u=t;switch(t){case"keypress":if(0===iU(r))return;case"keydown":case"keyup":l=i8;break;case"focusin":u="focus",l=iJ;break;case"focusout":u="blur",l=iJ;break;case"beforeblur":case"afterblur":l=iJ;break;case"click":if(2===r.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=iQ;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=iX;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=i7;break;case oV:case oq:case oY:l=iZ;break;case oG:l=oe;break;case"scroll":l=iG;break;case"wheel":l=ot;break;case"copy":case"cut":case"paste":l=i0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=i9}var c=(4&o)!=0,d=function(e,t,n,r,i,o){for(var a=r?null!==t?t+"Capture":null:t,s=[],l=e,u=null;null!==l;){var c=l,d=c.stateNode;if(5===c.tag&&null!==d&&(u=d,null!==a)){var f=n9(l,a);null!=f&&s.push(o7(l,f,u))}if(i)break;l=l.return}return s}(n,s,r.type,c,!c&&"scroll"===t);if(d.length>0){var f=new l(s,u,null,r,i);e.push({event:f,listeners:d})}}}(s=a=[],l=e,u=r,c=n,d=i,f=t),(7&f)==0&&(function(e,t,n,r,i,o,a){var s,l,u,c="mouseover"===t||"pointerover"===t,d="mouseout"===t||"pointerout"===t;if(c&&r!==nQ){var f=r.relatedTarget||r.fromElement;if(f&&(a0(f)||f[aQ]))return}if(d||c){if(i.window===i)s=i;else{var p=i.ownerDocument;s=p?p.defaultView||p.parentWindow:window}if(d){var h=r.relatedTarget||r.toElement;if(l=n,null!==(u=h?a0(h):null)){var m=rh(u);(u!==m||5!==u.tag&&6!==u.tag)&&(u=null)}}else l=null,u=n;if(l!==u){var g,y,v,b,w=iQ,x="onMouseLeave",_="onMouseEnter",S="mouse";("pointerout"===t||"pointerover"===t)&&(w=i9,x="onPointerLeave",_="onPointerEnter",S="pointer");var k=null==l?s:a2(l),E=null==u?s:a2(u),T=new w(x,S+"leave",l,r,i);T.target=k,T.relatedTarget=E;var C=null;if(a0(i)===n){var R=new w(_,S+"enter",u,r,i);R.target=E,R.relatedTarget=k,C=R}g=C,y=l,v=u,b=y&&v?function(e,t){for(var n=e,r=t,i=0,o=n;o;o=at(o))i++;for(var a=0,s=r;s;s=at(s))a++;for(;i-a>0;)n=at(n),i--;for(;a-i>0;)r=at(r),a--;for(var l=i;l--;){if(n===r||null!==r&&n===r.alternate)return n;n=at(n),r=at(r)}return null}(y,v):null,null!==y&&an(e,T,y,b,!1),null!==v&&null!==g&&an(e,g,v,b,!0)}}}(s,l,u,c,d),function(e,t,n,r,i,o,a){var s,l,u,c,d,f=n?a2(n):window;if("select"===(s=f.nodeName&&f.nodeName.toLowerCase())||"input"===s&&"file"===f.type?c=ob:op(f)?ow?c=oT:(c=ok,d=oS):(l=f.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===f.type||"radio"===f.type)&&(c=oE),c){var p=c(t,n);if(p){oh(e,p,r,i);return}}d&&d(t,f,n),"focusout"===t&&(u=f._wrapperState)&&u.controlled&&"number"===f.type&&t0(f,"number",f.value)}(s,l,u,c,d),function(e,t,n,r,i,o,a){var s=n?a2(n):window;switch(t){case"focusin":(op(s)||"true"===s.contentEditable)&&(oD=s,oN=n,oL=null);break;case"focusout":oD=null,oN=null,oL=null;break;case"mousedown":oF=!0;break;case"contextmenu":case"mouseup":case"dragend":oF=!1,oz(e,r,i);break;case"selectionchange":if(oM)break;case"keydown":case"keyup":oz(e,r,i)}}(s,l,u,c,d),function(e,t,n,r,i){if(or?o=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):od?ol(t,r)&&(o="onCompositionEnd"):"keydown"===t&&229===r.keyCode&&(o="onCompositionStart"),o){oa&&!oc(r)&&(od||"onCompositionStart"!==o?"onCompositionEnd"===o&&od&&(a=iz()):(iN=i,iL=i$(),od=!0));var o,a,s=ae(n,o);if(s.length>0){var l=new i1(o,t,null,r,i);if(e.push({event:l,listeners:s}),a)l.data=a;else{var u=ou(r);null!==u&&(l.data=u)}}}}(s,l,u,c,d),function(e,t,n,r,i){if(o=oo?function(e,t){switch(e){case"compositionend":return ou(t);case"keypress":if(32!==t.which)return null;return os=!0," ";case"textInput":var n=t.data;if(" "===n&&os)return null;return n;default:return null}}(t,r):function(e,t){if(od){if("compositionend"===e||!or&&ol(e,t)){var n=iz();return iN=null,iL=null,iF=null,od=!1,n}return null}switch(e){case"paste":default:return null;case"keypress":if(!((t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey))){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return oa&&!oc(t)?null:t.data}}(t,r)){var o,a=ae(n,"onBeforeInput");if(a.length>0){var s=new i1("onBeforeInput","beforeinput",null,r,i);e.push({event:s,listeners:a}),s.data=o}}}(s,l,u,c,d)),o1(a,t))})}function o7(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ae(e,t){for(var n=t+"Capture",r=[],i=e;null!==i;){var o=i,a=o.stateNode;if(5===o.tag&&null!==a){var s=n9(i,n);null!=s&&r.unshift(o7(i,s,a));var l=n9(i,t);null!=l&&r.push(o7(i,l,a))}i=i.return}return r}function at(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag)return e||null}function an(e,t,n,r,i){for(var o=t._reactName,a=[],s=n;null!==s&&s!==r;){var l=s,u=l.alternate,c=l.stateNode,d=l.tag;if(null!==u&&u===r)break;if(5===d&&null!==c){if(i){var f=n9(s,o);null!=f&&a.unshift(o7(s,f,c))}else if(!i){var p=n9(s,o);null!=p&&a.push(o7(s,p,c))}}s=s.return}0!==a.length&&e.push({event:t,listeners:a})}var ar=!1,ai="dangerouslySetInnerHTML",ao="suppressContentEditableWarning",aa="suppressHydrationWarning",as="autoFocus",al="children",au="style",ac="__html";D={dialog:!0,webview:!0},N=function(e,t){var n;nN(e,t)||function(e,t){var n=[];for(var r in t)!function(e,t){if(eB.call(nz,t)&&nz[t])return!0;if(nU.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=nF.hasOwnProperty(n)?n:null;if(null==r)return eM("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),nz[t]=!0,!0;if(t!==r)return eM("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),nz[t]=!0,!0}if(n$.test(t)){var i=t.toLowerCase(),o=nF.hasOwnProperty(i)?i:null;if(null==o)return nz[t]=!0,!1;t!==o&&(eM("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,o),nz[t]=!0)}return!0}(0,r)&&n.push(r);var i=n.map(function(e){return"`"+e+"`"}).join(", ");1===n.length?eM("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e):n.length>1&&eM("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e)}(e,t),"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||nB||(nB=!0,"select"===e&&t.multiple?eM("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):eM("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e)),n={registrationNameDependencies:eL,possibleRegistrationNames:eF},nN(e,t)||nK(e,t,n)},$=eU&&!document.documentMode,L=function(e,t,n){if(!ar){var r=ap(n),i=ap(t);i!==r&&(ar=!0,eM("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(i),JSON.stringify(r)))}},F=function(e){if(!ar){ar=!0;var t=[];e.forEach(function(e){t.push(e)}),eM("Extra attributes from the server: %s",t)}},z=function(e,t){!1===t?eM("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):eM("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},U=function(e,t){var n=e.namespaceURI===na?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var ad=/\r\n?/g,af=/\u0000|\uFFFD/g;function ap(e){return eH(e)&&eM("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",eW(e)),("string"==typeof e?e:""+e).replace(ad,"\n").replace(af,"")}function ah(e,t,n,r){var i=ap(t),o=ap(e);if(o!==i&&(r&&!ar&&(ar=!0,eM('Text content did not match. Server: "%s" Client: "%s"',o,i)),n))throw Error("Text content does not match server-rendered HTML.")}function am(e){return 9===e.nodeType?e:e.ownerDocument}function ag(){}function ay(e){e.onclick=ag}function av(e,t){ar||(ar=!0,eM("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function ab(e,t){ar||(ar=!0,eM('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function aw(e,t,n){ar||(ar=!0,eM("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function ax(e,t){""!==t&&(ar||(ar=!0,eM('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var a_=function(){},aS=function(){},ak=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],aE=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],aT=aE.concat(["button"]),aC=["dd","dt","li","option","optgroup","p","rp","rt"],aR={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};aS=function(e,t){var n=ty({},e||aR),r={tag:t};return -1!==aE.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==aT.indexOf(t)&&(n.pTagInButtonScope=null),-1!==ak.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,"form"===t&&(n.formTag=r),"a"===t&&(n.aTagInScope=r),"button"===t&&(n.buttonTagInScope=r),"nobr"===t&&(n.nobrTagInScope=r),"p"===t&&(n.pTagInButtonScope=r),"li"===t&&(n.listItemTagAutoclosing=r),("dd"===t||"dt"===t)&&(n.dlItemTagAutoclosing=r),n};var aO=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return -1===aC.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0},aI=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},aA={};a_=function(e,t,n){var r=(n=n||aR).current,i=r&&r.tag;null!=t&&(null!=e&&eM("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var o=aO(e,i)?null:r,a=o?null:aI(e,n),s=o||a;if(s){var l=s.tag,u=!!o+"|"+e+"|"+l;if(!aA[u]){aA[u]=!0;var c=e,d="";if("#text"===e?/\S/.test(t)?c="Text nodes":(c="Whitespace text nodes",d=" Make sure you don't have any extra whitespace between tags on each line of your source code."):c="<"+e+">",o){var f="";"table"===l&&"tr"===e&&(f+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),eM("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",c,l,d,f)}else eM("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",c,l)}}};var aj="suppressHydrationWarning",aP=null,aM=null;function aD(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 aN="function"==typeof setTimeout?setTimeout:void 0,aL="function"==typeof clearTimeout?clearTimeout:void 0,aF="function"==typeof Promise?Promise:void 0,az="function"==typeof queueMicrotask?queueMicrotask:void 0!==aF?function(e){return aF.resolve(null).then(e).catch(a$)}:aN;function a$(e){setTimeout(function(){throw e})}function aU(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType){var o=i.data;if("/$"===o){if(0===r){e.removeChild(i),iC(t);return}r--}else("$"===o||"$?"===o||"$!"===o)&&r++}n=i}while(n)iC(t)}function aB(e){return"$?"===e.data}function aW(e){return"$!"===e.data}function aH(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){var n=e.data;if("$"===n||"$!"===n||"$?"===n)break;if("/$"===n)return null}}return e}function aV(e){return aH(e.nextSibling)}function aq(e){for(var t=e.previousSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if("$"===r||"$!"===r||"$?"===r){if(0===n)return t;n--}else"/$"===r&&n++}t=t.previousSibling}return null}var aY=Math.random().toString(36).slice(2),aG="__reactFiber$"+aY,aK="__reactProps$"+aY,aQ="__reactContainer$"+aY,aX="__reactEvents$"+aY,aJ="__reactListeners$"+aY,aZ="__reactHandles$"+aY;function a0(e){var t=e[aG];if(t)return t;for(var n=e.parentNode;n;){if(t=n[aQ]||n[aG]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var i=aq(e);null!==i;){var o=i[aG];if(o)return o;i=aq(i)}return t}n=(e=n).parentNode}return null}function a1(e){var t=e[aG]||e[aQ];return t&&(5===t.tag||6===t.tag||13===t.tag||3===t.tag)?t:null}function a2(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function a3(e){return e[aK]||null}var a4={},a6=eA.ReactDebugCurrentFrame;function a5(e){if(e){var t=e._owner,n=function e(t,n,r){if(null==t)return"";if("function"==typeof t)return tS(t,!!((i=t.prototype)&&i.isReactComponent));if("string"==typeof t)return tx(t);switch(t){case tc:return tx("Suspense");case td:return tx("SuspenseList")}if("object"==typeof t)switch(t.$$typeof){case tu:return tS(t.render,!1);case tf:return e(t.type,n,r);case tp:var i,o=t._payload,a=t._init;try{return e(a(o),n,r)}catch(e){}}return""}(e.type,e._source,t?t.type:null);a6.setExtraStackFrame(n)}else a6.setExtraStackFrame(null)}function a8(e,t,n,r,i){var o=Function.call.bind(eB);for(var a in e)if(o(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(a5(i),eM("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,a,typeof s),a5(null)),s instanceof Error&&!(s.message in a4)&&(a4[s.message]=!0,a5(i),eM("Failed %s type: %s",n,s.message),a5(null))}}var a9=[];B=[];var a7=-1;function se(e){return{current:e}}function st(e,t){if(a7<0){eM("Unexpected pop.");return}t!==B[a7]&&eM("Unexpected Fiber popped."),e.current=a9[a7],a9[a7]=null,B[a7]=null,a7--}function sn(e,t,n){a9[++a7]=e.current,B[a7]=n,e.current=t}W={};var sr={};Object.freeze(sr);var si=se(sr),so=se(!1),sa=sr;function ss(e,t,n){return n&&sd(t)?sa:si.current}function sl(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function su(e,t){var n=e.type.contextTypes;if(!n)return sr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={};for(var o in n)i[o]=t[o];return a8(n,i,"context",tR(e)||"Unknown"),r&&sl(e,t,i),i}function sc(){return so.current}function sd(e){return null!=e.childContextTypes}function sf(e){st(so,e),st(si,e)}function sp(e){st(so,e),st(si,e)}function sh(e,t,n){if(si.current!==sr)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");sn(si,t,e),sn(so,n,e)}function sm(e,t,n){var r=e.stateNode,i=t.childContextTypes;if("function"!=typeof r.getChildContext){var o=tR(e)||"Unknown";return W[o]||(W[o]=!0,eM("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",o,o)),n}var a=r.getChildContext();for(var s in a)if(!(s in i))throw Error((tR(e)||"Unknown")+'.getChildContext(): key "'+s+'" is not defined in childContextTypes.');return a8(i,a,"child context",tR(e)||"Unknown"),ty({},n,a)}function sg(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||sr;return sa=si.current,sn(si,n,e),sn(so,so.current,e),!0}function sy(e,t,n){var r=e.stateNode;if(!r)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var i=sm(e,t,sa);r.__reactInternalMemoizedMergedChildContext=i,st(so,e),st(si,e),sn(si,i,e),sn(so,n,e)}else st(so,e),sn(so,n,e)}var sv=null,sb=!1,sw=!1;function sx(e){null===sv?sv=[e]:sv.push(e)}function s_(){if(!sw&&null!==sv){sw=!0;var e=0,t=is;try{var n=sv;for(is=1;e<n.length;e++){var r=n[e];do r=r(!0);while(null!==r)}sv=null,sb=!1}catch(t){throw null!==sv&&(sv=sv.slice(e+1)),rw(rT,s_),t}finally{is=t,sw=!1}}return null}var sS=[],sk=0,sE=null,sT=0,sC=[],sR=0,sO=null,sI=1,sA="";function sj(e,t){sL(),sS[sk++]=sT,sS[sk++]=sE,sE=e,sT=t}function sP(e,t,n){sL(),sC[sR++]=sI,sC[sR++]=sA,sC[sR++]=sO,sO=e;var r=sI,i=sA,o=sD(r)-1,a=r&~(1<<o),s=n+1,l=sD(t)+o;if(l>30){var u=o-o%5,c=(a&(1<<u)-1).toString(32),d=o-u,f=sD(t)+d;sI=s<<d|a>>u|1<<f,sA=c+i}else sI=s<<o|a|1<<l,sA=i}function sM(e){sL(),null!==e.return&&(sj(e,1),sP(e,1,0))}function sD(e){return 32-rK(e)}function sN(e){for(;e===sE;)sE=sS[--sk],sS[sk]=null,sT=sS[--sk],sS[sk]=null;for(;e===sO;)sO=sC[--sR],sC[sR]=null,sA=sC[--sR],sC[sR]=null,sI=sC[--sR],sC[sR]=null}function sL(){s$||eM("Expected to be hydrating. This is a bug in React. Please file an issue.")}var sF=null,sz=null,s$=!1,sU=!1,sB=null;function sW(e,t){switch(e.tag){case 3:var n;n=e.stateNode.containerInfo,1===t.nodeType?av(n,t):8===t.nodeType||ab(n,t);break;case 5:var r,i,o=(1&e.mode)!=0;e.type,r=e.memoizedProps,i=e.stateNode,(o||!0!==r[aj])&&(1===t.nodeType?av(i,t):8===t.nodeType||ab(i,t));break;case 13:var a,s=e.memoizedState;null!==s.dehydrated&&null!==(a=s.dehydrated.parentNode)&&(1===t.nodeType?av(a,t):8===t.nodeType||ab(a,t))}}function sH(e,t){sW(e,t);var n,r=((n=pm(5,null,null,0)).elementType="DELETED",n);r.stateNode=t,r.return=e;var i=e.deletions;null===i?(e.deletions=[r],e.flags|=16):i.push(r)}function sV(e,t){if(!sU)switch(e.tag){case 3:var n=e.stateNode.containerInfo;switch(t.tag){case 5:var r=t.type;t.pendingProps,aw(n,r);break;case 6:ax(n,t.pendingProps)}break;case 5:e.type;var i=e.memoizedProps,o=e.stateNode;switch(t.tag){case 5:var a=t.type;t.pendingProps,((1&e.mode)!=0||!0!==i[aj])&&aw(o,a);break;case 6:var s=t.pendingProps;((1&e.mode)!=0||!0!==i[aj])&&ax(o,s)}break;case 13:var l=e.memoizedState.dehydrated;if(null!==l)switch(t.tag){case 5:var u,c=t.type;t.pendingProps,null!==(u=l.parentNode)&&aw(u,c);break;case 6:var d,f=t.pendingProps;null!==(d=l.parentNode)&&ax(d,f)}break;default:return}}function sq(e,t){t.flags=-4097&t.flags|2,sV(e,t)}function sY(e,t){switch(e.tag){case 5:var n=e.type;e.pendingProps;var r=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t;if(null!==r)return e.stateNode=r,sF=e,sz=aH(r.firstChild),!0;return!1;case 6:var i=""===e.pendingProps||3!==t.nodeType?null:t;if(null!==i)return e.stateNode=i,sF=e,sz=null,!0;return!1;case 13:var o=8!==t.nodeType?null:t;if(null!==o){var a,s={dehydrated:o,treeContext:(sL(),null!==sO)?{id:sI,overflow:sA}:null,retryLane:1073741824};e.memoizedState=s;var l=((a=pm(18,null,null,0)).stateNode=o,a);return l.return=e,e.child=l,sF=e,sz=null,!0}return!1;default:return!1}}function sG(e){return(1&e.mode)!=0&&(128&e.flags)==0}function sK(e){throw Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function sQ(e){if(s$){var t=sz;if(!t){sG(e)&&(sV(sF,e),sK()),sq(sF,e),s$=!1,sF=e;return}var n=t;if(!sY(e,t)){sG(e)&&(sV(sF,e),sK()),t=aV(n);var r=sF;if(!t||!sY(e,t)){sq(sF,e),s$=!1,sF=e;return}sH(r,n)}}}function sX(e){for(var t=e.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;sF=t}function sJ(e){if(e!==sF)return!1;if(!s$)return sX(e),s$=!0,!1;if(3!==e.tag&&(5!==e.tag||"head"!==(t=e.type)&&"body"!==t&&!aD(e.type,e.memoizedProps))){var t,n=sz;if(n){if(sG(e))sZ(e),sK();else for(;n;)sH(e,n),n=aV(n)}}return sX(e),sz=13===e.tag?function(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if("/$"===r){if(0===n)return aV(t);n--}else("$"===r||"$!"===r||"$?"===r)&&n++}t=t.nextSibling}return null}(n)}(e):sF?aV(e.stateNode):null,!0}function sZ(e){for(var t=sz;t;)sW(e,t),t=aV(t)}function s0(){sF=null,sz=null,s$=!1,sU=!1}function s1(){null!==sB&&(fF(sB),sB=null)}function s2(e){null===sB?sB=[e]:sB.push(e)}var s3=eA.ReactCurrentBatchConfig,s4={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},s6=function(e){for(var t=null,n=e;null!==n;)8&n.mode&&(t=n),n=n.return;return t},s5=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")},s8=[],s9=[],s7=[],le=[],lt=[],ln=[],lr=new Set;s4.recordUnsafeLifecycleWarnings=function(e,t){!lr.has(e.type)&&("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&s8.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillMount&&s9.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&s7.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&le.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&<.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillUpdate&&ln.push(e))},s4.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;s8.length>0&&(s8.forEach(function(t){e.add(tR(t)||"Component"),lr.add(t.type)}),s8=[]);var t=new Set;s9.length>0&&(s9.forEach(function(e){t.add(tR(e)||"Component"),lr.add(e.type)}),s9=[]);var n=new Set;s7.length>0&&(s7.forEach(function(e){n.add(tR(e)||"Component"),lr.add(e.type)}),s7=[]);var r=new Set;le.length>0&&(le.forEach(function(e){r.add(tR(e)||"Component"),lr.add(e.type)}),le=[]);var i=new Set;lt.length>0&&(lt.forEach(function(e){i.add(tR(e)||"Component"),lr.add(e.type)}),lt=[]);var o=new Set;ln.length>0&&(ln.forEach(function(e){o.add(tR(e)||"Component"),lr.add(e.type)}),ln=[]),t.size>0&&eM("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",s5(t)),r.size>0&&eM("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s",s5(r)),o.size>0&&eM("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",s5(o)),e.size>0&&eP("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",s5(e)),n.size>0&&eP("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",s5(n)),i.size>0&&eP("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",s5(i))};var li=new Map,lo=new Set;function la(e,t){if(e&&e.defaultProps){var n=ty({},t),r=e.defaultProps;for(var i in r)void 0===n[i]&&(n[i]=r[i]);return n}return t}s4.recordLegacyContextWarning=function(e,t){var n=s6(e);if(null===n){eM("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!lo.has(e.type)){var r=li.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],li.set(n,r)),r.push(e))}},s4.flushLegacyContextWarning=function(){li.forEach(function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach(function(e){r.add(tR(e)||"Component"),lo.add(e.type)});var i=s5(r);try{tD(n),eM("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",i)}finally{tM()}}})},s4.discardPendingWarnings=function(){s8=[],s9=[],s7=[],le=[],lt=[],ln=[],li=new Map};var ls=se(null);H={};var ll=null,lu=null,lc=null,ld=!1;function lf(){ll=null,lu=null,lc=null,ld=!1}function lp(e,t,n){sn(ls,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==H&&eM("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=H}function lh(e,t){var n=ls.current;st(ls,t),e._currentValue=n}function lm(e,t,n){for(var r=e;null!==r;){var i=r.alternate;if((r.childLanes&t)===t?null!==i&&(i.childLanes&t)!==t&&(i.childLanes=i.childLanes|t):(r.childLanes=r.childLanes|t,null!==i&&(i.childLanes=i.childLanes|t)),r===n)break;r=r.return}r!==n&&eM("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function lg(e,t){ll=e,lu=null,lc=null;var n=e.dependencies;null!==n&&null!==n.firstContext&&((n.lanes&t)!=0&&(cV=!0),n.firstContext=null)}function ly(e){ld&&eM("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(lc===e);else{var n={context:e,memoizedValue:t,next:null};if(null===lu){if(null===ll)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");lu=n,ll.dependencies={lanes:0,firstContext:n}}else lu=lu.next=n}return t}var lv=null;function lb(e){null===lv?lv=[e]:lv.push(e)}function lw(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,lb(t)):(n.next=i.next,i.next=n),t.interleaved=n,lx(e,r)}function lx(e,t){e.lanes=e.lanes|t;var n=e.alternate;null!==n&&(n.lanes=n.lanes|t),null===n&&(4098&e.flags)!=0&&pt(e);for(var r=e,i=e.return;null!==i;)(i.childLanes=i.childLanes|t,null!==(n=i.alternate))?n.childLanes=n.childLanes|t:(4098&i.flags)!=0&&pt(e),r=i,i=i.return;return 3===r.tag?r.stateNode:null}var l_=!1;function lS(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null};e.updateQueue=t}function lk(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var i={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects};t.updateQueue=i}}function lE(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function lT(e,t,n){var r,i=e.updateQueue;if(null===i)return null;var o=i.shared;if(q!==o||V||(eM("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),V=!0),(2&d5)!=0){var a=o.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),o.pending=t,lx(e,n)}return null===(r=o.interleaved)?(t.next=t,lb(o)):(t.next=r.next,r.next=t),o.interleaved=t,lx(e,n)}function lC(e,t,n){var r=t.updateQueue;if(null!==r){var i=r.shared;if(r5(n)){var o=i.lanes,a=(o&=e.pendingLanes)|n;i.lanes=a,ii(e,a)}}}function lR(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var i=r.updateQueue;if(n===i){var o=null,a=null,s=n.firstBaseUpdate;if(null!==s){var l=s;do{var u={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};null===a?o=a=u:(a.next=u,a=u),l=l.next}while(null!==l)null===a?o=a=t:(a.next=t,a=t)}else o=a=t;n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:i.shared,effects:i.effects},e.updateQueue=n;return}}var c=n.lastBaseUpdate;null===c?n.firstBaseUpdate=t:c.next=t,n.lastBaseUpdate=t}function lO(e,t,n,r){var i=e.updateQueue;l_=!1,q=i.shared;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?o=u:a.next=u,a=l;var c=e.alternate;if(null!==c){var d=c.updateQueue,f=d.lastBaseUpdate;f!==a&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=l)}}if(null!==o){for(var p=i.baseState,h=0,m=null,g=null,y=null,v=o;;){var b=v.lane,w=v.eventTime;if((r&b)===b){if(null!==y){var x={eventTime:w,lane:0,tag:v.tag,payload:v.payload,callback:v.callback,next:null};y=y.next=x}if(p=function(e,t,n,r,i,o){switch(n.tag){case 1:var a=n.payload;if("function"==typeof a){ld=!0;var s=a.call(o,r,i);if(8&e.mode){rF(!0);try{a.call(o,r,i)}finally{rF(!1)}}return ld=!1,s}return a;case 3:e.flags=-65537&e.flags|128;case 0:var l,u=n.payload;if("function"==typeof u){if(ld=!0,l=u.call(o,r,i),8&e.mode){rF(!0);try{u.call(o,r,i)}finally{rF(!1)}}ld=!1}else l=u;if(null==l)break;return ty({},r,l);case 2:l_=!0}return r}(e,0,v,p,t,n),null!==v.callback&&0!==v.lane){e.flags|=64;var _=i.effects;null===_?i.effects=[v]:_.push(v)}}else{var S={eventTime:w,lane:b,tag:v.tag,payload:v.payload,callback:v.callback,next:null};null===y?(g=y=S,m=p):y=y.next=S,h|=b}if(null===(v=v.next)){if(null===(s=i.shared.pending))break;var k=s,E=k.next;k.next=null,v=E,i.lastBaseUpdate=k,i.shared.pending=null}}null===y&&(m=p),i.baseState=m,i.firstBaseUpdate=g,i.lastBaseUpdate=y;var T=i.shared.interleaved;if(null!==T){var C=T;do h|=C.lane,C=C.next;while(C!==T)}else null===o&&(i.shared.lanes=0);fa|=h,e.lanes=h,e.memoizedState=p}q=null}function lI(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var i=0;i<r.length;i++){var o=r[i],a=o.callback;null!==a&&(o.callback=null,function(e,t){if("function"!=typeof e)throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}(a,n))}}V=!1,q=null;var lA={},lj=new eO.Component().refs;Y=new Set,G=new Set,K=new Set,Q=new Set,ee=new Set,X=new Set,et=new Set,en=new Set;var lP=new Set;function lM(e,t,n,r){var i=e.memoizedState,o=n(r,i);if(8&e.mode){rF(!0);try{o=n(r,i)}finally{rF(!1)}}J(t,o);var a=null==o?i:ty({},i,o);e.memoizedState=a,0===e.lanes&&(e.updateQueue.baseState=a)}Z=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;lP.has(n)||(lP.add(n),eM("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},J=function(e,t){if(void 0===t){var n=tT(e)||"Component";X.has(n)||(X.add(n),eM("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(lA,"_processChildContext",{enumerable:!1,value:function(){throw Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(lA);var lD={isMounted:function(e){var t=rp.current;if(null!==t&&1===t.tag){var n=t.stateNode;n._warnedAboutRefsInRender||eM("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",tR(t)||"A component"),n._warnedAboutRefsInRender=!0}var r=rf(e);return!!r&&rh(r)===r},enqueueSetState:function(e,t,n){var r=rf(e),i=fj(),o=fP(r),a=lE(i,o);a.payload=t,null!=n&&(Z(n,"setState"),a.callback=n);var s=lT(r,a,o);null!==s&&(fM(s,r,o,i),lC(s,r,o)),rG(r,o)},enqueueReplaceState:function(e,t,n){var r=rf(e),i=fj(),o=fP(r),a=lE(i,o);a.tag=1,a.payload=t,null!=n&&(Z(n,"replaceState"),a.callback=n);var s=lT(r,a,o);null!==s&&(fM(s,r,o,i),lC(s,r,o)),rG(r,o)},enqueueForceUpdate:function(e,t){var n=rf(e),r=fj(),i=fP(n),o=lE(r,i);o.tag=2,null!=t&&(Z(t,"forceUpdate"),o.callback=t);var a=lT(n,o,i);null!==a&&(fM(a,n,i,r),lC(a,n,i)),null!==rD&&"function"==typeof rD.markForceUpdateScheduled&&rD.markForceUpdateScheduled(n,i)}};function lN(e,t,n,r,i,o,a){var s=e.stateNode;if("function"==typeof s.shouldComponentUpdate){var l=s.shouldComponentUpdate(r,o,a);if(8&e.mode){rF(!0);try{l=s.shouldComponentUpdate(r,o,a)}finally{rF(!1)}}return void 0===l&&eM("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",tT(t)||"Component"),l}return!t.prototype||!t.prototype.isPureReactComponent||!oR(n,r)||!oR(i,o)}function lL(e,t){t.updater=lD,e.stateNode=t,t._reactInternals=e,t._reactInternalInstance=lA}function lF(e,t,n){var r=!1,i=sr,o=sr,a=t.contextType;if("contextType"in t&&!(null===a||void 0!==a&&a.$$typeof===tl&&void 0===a._context)&&!en.has(t)){en.add(t);var s="";s=void 0===a?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof a?" However, it is set to a "+typeof a+".":a.$$typeof===ts?" Did you accidentally pass the Context.Provider instead?":void 0!==a._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(a).join(", ")+"}.",eM("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",tT(t)||"Component",s)}"object"==typeof a&&null!==a?o=ly(a):(i=ss(e,t,!0),o=(r=null!=t.contextTypes)?su(e,i):sr);var l=new t(n,o);if(8&e.mode){rF(!0);try{l=new t(n,o)}finally{rF(!1)}}var u=e.memoizedState=null!==l.state&&void 0!==l.state?l.state:null;if(lL(e,l),"function"==typeof t.getDerivedStateFromProps&&null===u){var c=tT(t)||"Component";G.has(c)||(G.add(c),eM("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",c,null===l.state?"null":"undefined",c))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate){var d=null,f=null,p=null;if("function"==typeof l.componentWillMount&&!0!==l.componentWillMount.__suppressDeprecationWarning?d="componentWillMount":"function"==typeof l.UNSAFE_componentWillMount&&(d="UNSAFE_componentWillMount"),"function"==typeof l.componentWillReceiveProps&&!0!==l.componentWillReceiveProps.__suppressDeprecationWarning?f="componentWillReceiveProps":"function"==typeof l.UNSAFE_componentWillReceiveProps&&(f="UNSAFE_componentWillReceiveProps"),"function"==typeof l.componentWillUpdate&&!0!==l.componentWillUpdate.__suppressDeprecationWarning?p="componentWillUpdate":"function"==typeof l.UNSAFE_componentWillUpdate&&(p="UNSAFE_componentWillUpdate"),null!==d||null!==f||null!==p){var h=tT(t)||"Component",m="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Q.has(h)||(Q.add(h),eM("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",h,m,null!==d?"\n "+d:"",null!==f?"\n "+f:"",null!==p?"\n "+p:""))}}return r&&sl(e,i,o),l}function lz(e,t,n,r){var i=t.state;if("function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==i){var o=tR(e)||"Component";Y.has(o)||(Y.add(o),eM("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",o)),lD.enqueueReplaceState(t,t.state,null)}}function l$(e,t,n,r){i=e.stateNode,o=tT(t)||"Component",i.render||(t.prototype&&"function"==typeof t.prototype.render?eM("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):eM("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),!i.getInitialState||i.getInitialState.isReactClassApproved||i.state||eM("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",o),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&eM("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",o),i.propTypes&&eM("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),i.contextType&&eM("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),i.contextTypes&&eM("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!et.has(t)&&(et.add(t),eM("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof i.componentShouldUpdate&&eM("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",o),t.prototype&&t.prototype.isPureReactComponent&&void 0!==i.shouldComponentUpdate&&eM("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",tT(t)||"A pure component"),"function"==typeof i.componentDidUnmount&&eM("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof i.componentDidReceiveProps&&eM("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",o),"function"==typeof i.componentWillRecieveProps&&eM("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof i.UNSAFE_componentWillRecieveProps&&eM("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o),a=i.props!==n,void 0!==i.props&&a&&eM("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),i.defaultProps&&eM("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),"function"!=typeof i.getSnapshotBeforeUpdate||"function"==typeof i.componentDidUpdate||K.has(t)||(K.add(t),eM("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",tT(t))),"function"==typeof i.getDerivedStateFromProps&&eM("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof i.getDerivedStateFromError&&eM("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&eM("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o),(s=i.state)&&("object"!=typeof s||t6(s))&&eM("%s.state: must be set to an object or null",o),"function"==typeof i.getChildContext&&"object"!=typeof t.childContextTypes&&eM("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o);var i,o,a,s,l,u,c=e.stateNode;c.props=n,c.state=e.memoizedState,c.refs=lj,lS(e);var d=t.contextType;if("object"==typeof d&&null!==d)c.context=ly(d);else{var f=ss(e,t,!0);c.context=su(e,f)}if(c.state===n){var p=tT(t)||"Component";ee.has(p)||(ee.add(p),eM("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",p))}8&e.mode&&s4.recordLegacyContextWarning(e,c),s4.recordUnsafeLifecycleWarnings(e,c),c.state=e.memoizedState;var h=t.getDerivedStateFromProps;"function"==typeof h&&(lM(e,t,h,n),c.state=e.memoizedState),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof c.getSnapshotBeforeUpdate&&("function"==typeof c.UNSAFE_componentWillMount||"function"==typeof c.componentWillMount)&&(l=c.state,"function"==typeof c.componentWillMount&&c.componentWillMount(),"function"==typeof c.UNSAFE_componentWillMount&&c.UNSAFE_componentWillMount(),l!==c.state&&(eM("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",tR(e)||"Component"),lD.enqueueReplaceState(c,c.state,null)),lO(e,n,c,r),c.state=e.memoizedState),"function"==typeof c.componentDidMount&&(u=4194308,(16&e.mode)!=0&&(u|=16777216),e.flags|=u)}var lU=function(e,t){};function lB(e,t,n){var r=n.ref;if(null!==r&&"function"!=typeof r&&"object"!=typeof r){if(8&e.mode&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)){var i=tR(e)||"Component";eo[i]||(eM('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',r),eo[i]=!0)}if(n._owner){var o,a=n._owner;if(a){if(1!==a.tag)throw Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");o=a.stateNode}if(!o)throw Error("Missing owner for string ref "+r+". This error is likely caused by a bug in React. Please file an issue.");var s=o;eH(r)&&eM("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.","ref",eW(r));var l=""+r;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===l)return t.ref;var u=function(e){var t=s.refs;t===lj&&(t=s.refs={}),null===e?delete t[l]:t[l]=e};return u._stringRef=l,u}if("string"!=typeof r)throw Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw Error("Element ref was specified as a string ("+r+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return r}function lW(e,t){var n=Object.prototype.toString.call(t);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function lH(e){var t=tR(e)||"Component";el[t]||(el[t]=!0,eM("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function lV(e){var t=e._payload;return(0,e._init)(t)}function lq(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(var i=r;null!==i;)t(n,i),i=i.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function i(e,t){var n=py(e,t);return n.index=0,n.sibling=null,n}function o(t,n,r){if(t.index=r,!e)return t.flags|=1048576,n;var i=t.alternate;if(null===i)return t.flags|=2,n;var o=i.index;return o<n?(t.flags|=2,n):o}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){if(null===t||6!==t.tag){var o=p_(n,e.mode,r);return o.return=e,o}var a=i(t,n);return a.return=e,a}function l(e,t,n,r){var o=n.type;if(o===ti)return c(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===o||pf(t,n)||"object"==typeof o&&null!==o&&o.$$typeof===tp&&lV(o)===t.type)){var a=i(t,n.props);return a.ref=lB(e,t,n),a.return=e,a._debugSource=n._source,a._debugOwner=n._owner,a}var s=pb(n,e.mode,r);return s.ref=lB(e,t,n),s.return=e,s}function u(e,t,n,r){if(null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var o=pS(n,e.mode,r);return o.return=e,o}var a=i(t,n.children||[]);return a.return=e,a}function c(e,t,n,r,o){if(null===t||7!==t.tag){var a=pw(n,e.mode,r,o);return a.return=e,a}var s=i(t,n);return s.return=e,s}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var r=p_(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case tn:var i=pb(t,e.mode,n);return i.ref=lB(e,null,t),i.return=e,i;case tr:var o=pS(t,e.mode,n);return o.return=e,o;case tp:var a=t._payload;return d(e,(0,t._init)(a),n)}if(t6(t)||tg(t)){var s=pw(t,e.mode,n,null);return s.return=e,s}lW(e,t)}return"function"==typeof t&&lH(e),null}function f(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 tn:if(n.key===i)return l(e,t,n,r);return null;case tr:if(n.key===i)return u(e,t,n,r);return null;case tp:var o=n._payload;return f(e,t,(0,n._init)(o),r)}if(t6(n)||tg(n))return null!==i?null:c(e,t,n,r,null);lW(e,n)}return"function"==typeof n&&lH(e),null}function p(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case tn:return l(t,e.get(null===r.key?n:r.key)||null,r,i);case tr:return u(t,e.get(null===r.key?n:r.key)||null,r,i);case tp:var o=r._payload;return p(e,t,n,(0,r._init)(o),i)}if(t6(r)||tg(r))return c(t,e.get(n)||null,r,i,null);lW(t,r)}return"function"==typeof r&&lH(t),null}function h(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case tn:case tr:lU(e,n);var r=e.key;if("string"!=typeof r)break;if(null===t){(t=new Set).add(r);break}if(!t.has(r)){t.add(r);break}eM("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",r);break;case tp:var i=e._payload;h((0,e._init)(i),t,n)}return t}return function s(l,u,c,m){if("object"==typeof c&&null!==c&&c.type===ti&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case tn:return a(function(e,r,o,a){for(var s=o.key,l=r;null!==l;){if(l.key===s){var u=o.type;if(u===ti){if(7===l.tag){n(e,l.sibling);var c=i(l,o.props.children);return c.return=e,c._debugSource=o._source,c._debugOwner=o._owner,c}}else if(l.elementType===u||pf(l,o)||"object"==typeof u&&null!==u&&u.$$typeof===tp&&lV(u)===l.type){n(e,l.sibling);var d=i(l,o.props);return d.ref=lB(e,l,o),d.return=e,d._debugSource=o._source,d._debugOwner=o._owner,d}n(e,l);break}t(e,l),l=l.sibling}if(o.type===ti){var f=pw(o.props.children,e.mode,a,o.key);return f.return=e,f}var p=pb(o,e.mode,a);return p.ref=lB(e,r,o),p.return=e,p}(l,u,c,m));case tr:return a(function(e,r,o,a){for(var s=o.key,l=r;null!==l;){if(l.key===s){if(4===l.tag&&l.stateNode.containerInfo===o.containerInfo&&l.stateNode.implementation===o.implementation){n(e,l.sibling);var u=i(l,o.children||[]);return u.return=e,u}n(e,l);break}t(e,l),l=l.sibling}var c=pS(o,e.mode,a);return c.return=e,c}(l,u,c,m));case tp:var g=c._payload;return s(l,u,(0,c._init)(g),m)}if(t6(c))return function(i,a,s,l){for(var u=null,c=0;c<s.length;c++)u=h(s[c],u,i);for(var m=null,g=null,y=a,v=0,b=0,w=null;null!==y&&b<s.length;b++){y.index>b?(w=y,y=null):w=y.sibling;var x=f(i,y,s[b],l);if(null===x){null===y&&(y=w);break}e&&y&&null===x.alternate&&t(i,y),v=o(x,v,b),null===g?m=x:g.sibling=x,g=x,y=w}if(b===s.length)return n(i,y),s$&&sj(i,b),m;if(null===y){for(;b<s.length;b++){var _=d(i,s[b],l);null!==_&&(v=o(_,v,b),null===g?m=_:g.sibling=_,g=_)}return s$&&sj(i,b),m}for(var S=r(i,y);b<s.length;b++){var k=p(S,i,b,s[b],l);null!==k&&(e&&null!==k.alternate&&S.delete(null===k.key?b:k.key),v=o(k,v,b),null===g?m=k:g.sibling=k,g=k)}return e&&S.forEach(function(e){return t(i,e)}),s$&&sj(i,b),m}(l,u,c,m);if(tg(c))return function(i,a,s,l){var u=tg(s);if("function"!=typeof u)throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===s[Symbol.toStringTag]&&(ei||eM("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),ei=!0),s.entries===u&&(er||eM("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),er=!0);var c=u.call(s);if(c)for(var m=null,g=c.next();!g.done;g=c.next())m=h(g.value,m,i);var y=u.call(s);if(null==y)throw Error("An iterable object provided no iterator.");for(var v=null,b=null,w=a,x=0,_=0,S=null,k=y.next();null!==w&&!k.done;_++,k=y.next()){w.index>_?(S=w,w=null):S=w.sibling;var E=f(i,w,k.value,l);if(null===E){null===w&&(w=S);break}e&&w&&null===E.alternate&&t(i,w),x=o(E,x,_),null===b?v=E:b.sibling=E,b=E,w=S}if(k.done)return n(i,w),s$&&sj(i,_),v;if(null===w){for(;!k.done;_++,k=y.next()){var T=d(i,k.value,l);null!==T&&(x=o(T,x,_),null===b?v=T:b.sibling=T,b=T)}return s$&&sj(i,_),v}for(var C=r(i,w);!k.done;_++,k=y.next()){var R=p(C,i,_,k.value,l);null!==R&&(e&&null!==R.alternate&&C.delete(null===R.key?_:R.key),x=o(R,x,_),null===b?v=R:b.sibling=R,b=R)}return e&&C.forEach(function(e){return t(i,e)}),s$&&sj(i,_),v}(l,u,c,m);lW(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c?a(function(e,t,r,o){if(null!==t&&6===t.tag){n(e,t.sibling);var a=i(t,r);return a.return=e,a}n(e,t);var s=p_(r,e.mode,o);return s.return=e,s}(l,u,""+c,m)):("function"==typeof c&&lH(l),n(l,u))}}er=!1,ei=!1,eo={},ea={},el={},lU=function(e,t){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=tR(t)||"Component";ea[n]||(ea[n]=!0,eM('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var lY=lq(!0),lG=lq(!1),lK={},lQ=se(lK),lX=se(lK),lJ=se(lK);function lZ(e){if(e===lK)throw Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function l0(){return lZ(lJ.current)}function l1(e,t){sn(lJ,t,e),sn(lX,e,e),sn(lQ,lK,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case 9:case 11:t=9===r?"#document":"#fragment";var i=e.documentElement;n=i?i.namespaceURI:nu(null,"");break;default:var o=8===r?e.parentNode:e;n=nu(o.namespaceURI||null,t=o.tagName)}var a=t.toLowerCase();return{namespace:n,ancestorInfo:aS(null,a)}}(t);st(lQ,e),sn(lQ,n,e)}function l2(e){st(lQ,e),st(lX,e),st(lJ,e)}function l3(){return lZ(lQ.current)}function l4(e){lZ(lJ.current);var t,n=lZ(lQ.current),r=(t=e.type,{namespace:nu(n.namespace,t),ancestorInfo:aS(n.ancestorInfo,t)});n!==r&&(sn(lX,e,e),sn(lQ,r,e))}function l6(e){lX.current===e&&(st(lQ,e),st(lX,e))}var l5=se(0);function l8(e,t){sn(l5,t,e)}function l9(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||aB(r)||aW(r))return t}}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if((128&t.flags)!=0)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 l7=[];function ue(){for(var e=0;e<l7.length;e++)l7[e]._workInProgressVersionPrimary=null;l7.length=0}var ut=eA.ReactCurrentDispatcher,un=eA.ReactCurrentBatchConfig;eu=new Set;var ur=0,ui=null,uo=null,ua=null,us=!1,ul=!1,uu=0,uc=0,ud=null,uf=null,up=-1,uh=!1;function um(){var e=ud;null===uf?uf=[e]:uf.push(e)}function ug(){var e=ud;null!==uf&&uf[++up]!==e&&function(e){var t=tR(ui);if(!eu.has(t)&&(eu.add(t),null!==uf)){for(var n="",r=0;r<=up;r++){for(var i=uf[r],o=r===up?e:i,a=r+1+". "+i;a.length<30;)a+=" ";a+=o+"\n",n+=a}eM("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e)}function uy(e){null==e||t6(e)||eM("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ud,typeof e)}function uv(){throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function ub(e,t){if(uh)return!1;if(null===t)return eM("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ud),!1;e.length!==t.length&&eM("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",ud,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!oC(e[n],t[n]))return!1;return!0}function uw(e,t,n,r,i,o){ur=o,ui=t,uf=null!==e?e._debugHookTypes:null,up=-1,uh=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=0,null!==e&&null!==e.memoizedState?ut.current=cm:null!==uf?ut.current=ch:ut.current=cp;var a=n(r,i);if(ul){var s=0;do{if(ul=!1,uu=0,s>=25)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");s+=1,uh=!1,uo=null,ua=null,t.updateQueue=null,up=-1,ut.current=cg,a=n(r,i)}while(ul)}ut.current=cf,t._debugHookTypes=uf;var l=null!==uo&&null!==uo.next;if(ur=0,ui=null,uo=null,ua=null,ud=null,uf=null,up=-1,null!==e&&(14680064&e.flags)!=(14680064&t.flags)&&(1&e.mode)!=0&&eM("Internal React error: Expected static flag was missing. Please notify the React team."),us=!1,l)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return a}function ux(){var e=0!==uu;return uu=0,e}function u_(e,t,n){t.updateQueue=e.updateQueue,(16&t.mode)!=0?t.flags&=-50333701:t.flags&=-2053,e.lanes=e.lanes&~n}function uS(){if(ut.current=cf,us){for(var e=ui.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}us=!1}ur=0,ui=null,uo=null,ua=null,uf=null,up=-1,ud=null,ci=!1,ul=!1,uu=0}function uk(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ua?ui.memoizedState=ua=e:ua=ua.next=e,ua}function uE(){if(null===uo){var e,t,n=ui.alternate;e=null!==n?n.memoizedState:null}else e=uo.next;if(null!==(t=null===ua?ui.memoizedState:ua.next))t=(ua=t).next,uo=e;else{if(null===e)throw Error("Rendered more hooks than during the previous render.");var r={memoizedState:(uo=e).memoizedState,baseState:uo.baseState,baseQueue:uo.baseQueue,queue:uo.queue,next:null};null===ua?ui.memoizedState=ua=r:ua=ua.next=r}return ua}function uT(){return{lastEffect:null,stores:null}}function uC(e,t){return"function"==typeof t?t(e):t}function uR(e,t,n){var r,i=uk();r=void 0!==n?n(t):t,i.memoizedState=i.baseState=r;var o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};i.queue=o;var a=o.dispatch=cs.bind(null,ui,o);return[i.memoizedState,a]}function uO(e,t,n){var r=uE(),i=r.queue;if(null===i)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");i.lastRenderedReducer=e;var o=uo,a=o.baseQueue,s=i.pending;if(null!==s){if(null!==a){var l=a.next,u=s.next;a.next=u,s.next=l}o.baseQueue!==a&&eM("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),o.baseQueue=a=s,i.pending=null}if(null!==a){var c=a.next,d=o.baseState,f=null,p=null,h=null,m=c;do{var g=m.lane;if((ur&g)===g){if(null!==h){var y={lane:0,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null};h=h.next=y}d=m.hasEagerState?m.eagerState:e(d,m.action)}else{var v={lane:g,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null};null===h?(p=h=v,f=d):h=h.next=v,ui.lanes=ui.lanes|g,fa|=g}m=m.next}while(null!==m&&m!==c)null===h?f=d:h.next=p,oC(d,r.memoizedState)||(cV=!0),r.memoizedState=d,r.baseState=f,r.baseQueue=h,i.lastRenderedState=d}var b=i.interleaved;if(null!==b){var w=b;do{var x=w.lane;ui.lanes=ui.lanes|x,fa|=x,w=w.next}while(w!==b)}else null===a&&(i.lanes=0);var _=i.dispatch;return[r.memoizedState,_]}function uI(e,t,n){var r=uE(),i=r.queue;if(null===i)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");i.lastRenderedReducer=e;var o=i.dispatch,a=i.pending,s=r.memoizedState;if(null!==a){i.pending=null;var l=a.next,u=l;do s=e(s,u.action),u=u.next;while(u!==l)oC(s,r.memoizedState)||(cV=!0),r.memoizedState=s,null===r.baseQueue&&(r.baseState=s),i.lastRenderedState=s}return[s,o]}function uA(e,t,n){}function uj(e,t,n){}function uP(e,t,n){var r,i=ui,o=uk();if(s$){if(void 0===n)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=n(),ec||r===n()||(eM("The result of getServerSnapshot should be cached to avoid an infinite loop"),ec=!0)}else{if(r=t(),ec||oC(r,t())||(eM("The result of getSnapshot should be cached to avoid an infinite loop"),ec=!0),null===d8)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(30&ur)!=0||uD(i,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,uq(uL.bind(null,i,a,e),[e]),i.flags|=2048,uU(9,uN.bind(null,i,a,r,t),void 0,null),r}function uM(e,t,n){var r=ui,i=uE(),o=t();ec||oC(o,t())||(eM("The result of getSnapshot should be cached to avoid an infinite loop"),ec=!0);var a=!oC(i.memoizedState,o);a&&(i.memoizedState=o,cV=!0);var s=i.queue;if(uY(uL.bind(null,r,s,e),[e]),s.getSnapshot!==t||a||null!==ua&&1&ua.memoizedState.tag){if(r.flags|=2048,uU(9,uN.bind(null,r,s,o,t),void 0,null),null===d8)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(30&ur)!=0||uD(r,t,o)}return o}function uD(e,t,n){e.flags|=16384;var r={getSnapshot:t,value:n},i=ui.updateQueue;if(null===i)i=uT(),ui.updateQueue=i,i.stores=[r];else{var o=i.stores;null===o?i.stores=[r]:o.push(r)}}function uN(e,t,n,r){t.value=n,t.getSnapshot=r,uF(t)&&uz(e)}function uL(e,t,n){return n(function(){uF(t)&&uz(e)})}function uF(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!oC(n,r)}catch(e){return!0}}function uz(e){var t=lx(e,1);null!==t&&fM(t,e,1,-1)}function u$(e){var t=uk();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:uC,lastRenderedState:e};t.queue=n;var r=n.dispatch=cl.bind(null,ui,n);return[t.memoizedState,r]}function uU(e,t,n,r){var i={tag:e,create:t,destroy:n,deps:r,next:null},o=ui.updateQueue;if(null===o)o=uT(),ui.updateQueue=o,o.lastEffect=i.next=i;else{var a=o.lastEffect;if(null===a)o.lastEffect=i.next=i;else{var s=a.next;a.next=i,i.next=s,o.lastEffect=i}}return i}function uB(e){var t=uk(),n={current:e};return t.memoizedState=n,n}function uW(e){return uE().memoizedState}function uH(e,t,n,r){var i=uk();ui.flags|=e,i.memoizedState=uU(1|t,n,void 0,void 0===r?null:r)}function uV(e,t,n,r){var i=uE(),o=void 0===r?null:r,a=void 0;if(null!==uo){var s=uo.memoizedState;if(a=s.destroy,null!==o&&ub(o,s.deps)){i.memoizedState=uU(t,n,a,o);return}}ui.flags|=e,i.memoizedState=uU(1|t,n,a,o)}function uq(e,t){return(16&ui.mode)!=0?uH(41945088,8,e,t):uH(8390656,8,e,t)}function uY(e,t){return uV(2048,8,e,t)}function uG(e,t){return uH(4,2,e,t)}function uK(e,t){return uV(4,2,e,t)}function uQ(e,t){var n;return n=4194308,(16&ui.mode)!=0&&(n|=16777216),uH(n,4,e,t)}function uX(e,t){return uV(4,4,e,t)}function uJ(e,t){if("function"==typeof t)return t(e()),function(){t(null)};if(null!=t){t.hasOwnProperty("current")||eM("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}");var n=e();return t.current=n,function(){t.current=null}}}function uZ(e,t,n){"function"!=typeof t&&eM("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r,i=null!=n?n.concat([e]):null;return r=4194308,(16&ui.mode)!=0&&(r|=16777216),uH(r,4,uJ.bind(null,t,e),i)}function u0(e,t,n){"function"!=typeof t&&eM("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return uV(4,4,uJ.bind(null,t,e),r)}function u1(e,t){}function u2(e,t){return uk().memoizedState=[e,void 0===t?null:t],e}function u3(e,t){var n=uE(),r=void 0===t?null:t,i=n.memoizedState;return null!==i&&null!==r&&ub(r,i[1])?i[0]:(n.memoizedState=[e,r],e)}function u4(e,t){var n=uk(),r=e();return n.memoizedState=[r,void 0===t?null:t],r}function u6(e,t){var n=uE(),r=void 0===t?null:t,i=n.memoizedState;if(null!==i&&null!==r&&ub(r,i[1]))return i[0];var o=e();return n.memoizedState=[o,r],o}function u5(e){return uk().memoizedState=e,e}function u8(e){return u7(uE(),uo.memoizedState,e)}function u9(e){var t=uE();return null===uo?(t.memoizedState=e,e):u7(t,uo.memoizedState,e)}function u7(e,t,n){if(!((21&ur)!=0))return e.baseState&&(e.baseState=!1,cV=!0),e.memoizedState=n,n;if(!oC(n,t)){var r=r8();ui.lanes=ui.lanes|r,fa|=r,e.baseState=!0}return t}function ce(e,t,n){var r=is;is=0!==r&&r<4?r:4,e(!0);var i=un.transition;un.transition={};var o=un.transition;un.transition._updatedFibers=new Set;try{e(!1),t()}finally{is=r,un.transition=i,null===i&&o._updatedFibers&&(o._updatedFibers.size>10&&eP("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),o._updatedFibers.clear())}}function ct(){var e=u$(!1),t=e[0],n=e[1],r=ce.bind(null,n);return uk().memoizedState=r,[t,r]}function cn(){return[uO(uC)[0],uE().memoizedState]}function cr(){return[uI(uC)[0],uE().memoizedState]}var ci=!1;function co(){var e,t=uk(),n=d8.identifierPrefix;if(s$){e=":"+n+"R"+(r=sA,((i=sI)&~(1<<sD(i)-1)).toString(32)+r);var r,i,o=uu++;o>0&&(e+="H"+o.toString(32)),e+=":"}else e=":"+n+"r"+(uc++).toString(32)+":";return t.memoizedState=e,e}function ca(){return uE().memoizedState}function cs(e,t,n){"function"==typeof arguments[3]&&eM("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=fP(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(cu(e))cc(t,i);else{var o=lw(e,t,i,r);null!==o&&(fM(o,e,r,fj()),cd(o,t,r))}rG(e,r)}function cl(e,t,n){"function"==typeof arguments[3]&&eM("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=fP(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(cu(e))cc(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)){var a,s=t.lastRenderedReducer;if(null!==s){a=ut.current,ut.current=cv;try{var l,u=t.lastRenderedState,c=s(u,n);if(i.hasEagerState=!0,i.eagerState=c,oC(c,u)){l=t.interleaved,null===l?(i.next=i,lb(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch(e){}finally{ut.current=a}}}var d=lw(e,t,i,r);null!==d&&(fM(d,e,r,fj()),cd(d,t,r))}rG(e,r)}function cu(e){var t=e.alternate;return e===ui||null!==t&&t===ui}function cc(e,t){ul=us=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cd(e,t,n){if(r5(n)){var r=t.lanes,i=(r&=e.pendingLanes)|n;t.lanes=i,ii(e,i)}}var cf={readContext:ly,useCallback:uv,useContext:uv,useEffect:uv,useImperativeHandle:uv,useInsertionEffect:uv,useLayoutEffect:uv,useMemo:uv,useReducer:uv,useRef:uv,useState:uv,useDebugValue:uv,useDeferredValue:uv,useTransition:uv,useMutableSource:uv,useSyncExternalStore:uv,useId:uv,unstable_isNewReconciler:!1},cp=null,ch=null,cm=null,cg=null,cy=null,cv=null,cb=null,cw=function(){eM("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},cx=function(){eM("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};cp={readContext:function(e){return ly(e)},useCallback:function(e,t){return ud="useCallback",um(),uy(t),u2(e,t)},useContext:function(e){return ud="useContext",um(),ly(e)},useEffect:function(e,t){return ud="useEffect",um(),uy(t),uq(e,t)},useImperativeHandle:function(e,t,n){return ud="useImperativeHandle",um(),uy(n),uZ(e,t,n)},useInsertionEffect:function(e,t){return ud="useInsertionEffect",um(),uy(t),uG(e,t)},useLayoutEffect:function(e,t){return ud="useLayoutEffect",um(),uy(t),uQ(e,t)},useMemo:function(e,t){ud="useMemo",um(),uy(t);var n=ut.current;ut.current=cy;try{return u4(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){ud="useReducer",um();var r=ut.current;ut.current=cy;try{return uR(e,t,n)}finally{ut.current=r}},useRef:function(e){return ud="useRef",um(),uB(e)},useState:function(e){ud="useState",um();var t=ut.current;ut.current=cy;try{return u$(e)}finally{ut.current=t}},useDebugValue:function(e,t){return ud="useDebugValue",um(),u1()},useDeferredValue:function(e){return ud="useDeferredValue",um(),u5(e)},useTransition:function(){return ud="useTransition",um(),ct()},useMutableSource:function(e,t,n){return ud="useMutableSource",um(),uA()},useSyncExternalStore:function(e,t,n){return ud="useSyncExternalStore",um(),uP(e,t,n)},useId:function(){return ud="useId",um(),co()},unstable_isNewReconciler:!1},ch={readContext:function(e){return ly(e)},useCallback:function(e,t){return ud="useCallback",ug(),u2(e,t)},useContext:function(e){return ud="useContext",ug(),ly(e)},useEffect:function(e,t){return ud="useEffect",ug(),uq(e,t)},useImperativeHandle:function(e,t,n){return ud="useImperativeHandle",ug(),uZ(e,t,n)},useInsertionEffect:function(e,t){return ud="useInsertionEffect",ug(),uG(e,t)},useLayoutEffect:function(e,t){return ud="useLayoutEffect",ug(),uQ(e,t)},useMemo:function(e,t){ud="useMemo",ug();var n=ut.current;ut.current=cy;try{return u4(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){ud="useReducer",ug();var r=ut.current;ut.current=cy;try{return uR(e,t,n)}finally{ut.current=r}},useRef:function(e){return ud="useRef",ug(),uB(e)},useState:function(e){ud="useState",ug();var t=ut.current;ut.current=cy;try{return u$(e)}finally{ut.current=t}},useDebugValue:function(e,t){return ud="useDebugValue",ug(),u1()},useDeferredValue:function(e){return ud="useDeferredValue",ug(),u5(e)},useTransition:function(){return ud="useTransition",ug(),ct()},useMutableSource:function(e,t,n){return ud="useMutableSource",ug(),uA()},useSyncExternalStore:function(e,t,n){return ud="useSyncExternalStore",ug(),uP(e,t,n)},useId:function(){return ud="useId",ug(),co()},unstable_isNewReconciler:!1},cm={readContext:function(e){return ly(e)},useCallback:function(e,t){return ud="useCallback",ug(),u3(e,t)},useContext:function(e){return ud="useContext",ug(),ly(e)},useEffect:function(e,t){return ud="useEffect",ug(),uY(e,t)},useImperativeHandle:function(e,t,n){return ud="useImperativeHandle",ug(),u0(e,t,n)},useInsertionEffect:function(e,t){return ud="useInsertionEffect",ug(),uK(e,t)},useLayoutEffect:function(e,t){return ud="useLayoutEffect",ug(),uX(e,t)},useMemo:function(e,t){ud="useMemo",ug();var n=ut.current;ut.current=cv;try{return u6(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){ud="useReducer",ug();var r=ut.current;ut.current=cv;try{return uO(e,t,n)}finally{ut.current=r}},useRef:function(e){return ud="useRef",ug(),uW()},useState:function(e){ud="useState",ug();var t=ut.current;ut.current=cv;try{return uO(uC)}finally{ut.current=t}},useDebugValue:function(e,t){return ud="useDebugValue",ug(),u1()},useDeferredValue:function(e){return ud="useDeferredValue",ug(),u8(e)},useTransition:function(){return ud="useTransition",ug(),cn()},useMutableSource:function(e,t,n){return ud="useMutableSource",ug(),uj()},useSyncExternalStore:function(e,t,n){return ud="useSyncExternalStore",ug(),uM(e,t)},useId:function(){return ud="useId",ug(),ca()},unstable_isNewReconciler:!1},cg={readContext:function(e){return ly(e)},useCallback:function(e,t){return ud="useCallback",ug(),u3(e,t)},useContext:function(e){return ud="useContext",ug(),ly(e)},useEffect:function(e,t){return ud="useEffect",ug(),uY(e,t)},useImperativeHandle:function(e,t,n){return ud="useImperativeHandle",ug(),u0(e,t,n)},useInsertionEffect:function(e,t){return ud="useInsertionEffect",ug(),uK(e,t)},useLayoutEffect:function(e,t){return ud="useLayoutEffect",ug(),uX(e,t)},useMemo:function(e,t){ud="useMemo",ug();var n=ut.current;ut.current=cb;try{return u6(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){ud="useReducer",ug();var r=ut.current;ut.current=cb;try{return uI(e,t,n)}finally{ut.current=r}},useRef:function(e){return ud="useRef",ug(),uW()},useState:function(e){ud="useState",ug();var t=ut.current;ut.current=cb;try{return uI(uC)}finally{ut.current=t}},useDebugValue:function(e,t){return ud="useDebugValue",ug(),u1()},useDeferredValue:function(e){return ud="useDeferredValue",ug(),u9(e)},useTransition:function(){return ud="useTransition",ug(),cr()},useMutableSource:function(e,t,n){return ud="useMutableSource",ug(),uj()},useSyncExternalStore:function(e,t,n){return ud="useSyncExternalStore",ug(),uM(e,t)},useId:function(){return ud="useId",ug(),ca()},unstable_isNewReconciler:!1},cy={readContext:function(e){return cw(),ly(e)},useCallback:function(e,t){return ud="useCallback",cx(),um(),u2(e,t)},useContext:function(e){return ud="useContext",cx(),um(),ly(e)},useEffect:function(e,t){return ud="useEffect",cx(),um(),uq(e,t)},useImperativeHandle:function(e,t,n){return ud="useImperativeHandle",cx(),um(),uZ(e,t,n)},useInsertionEffect:function(e,t){return ud="useInsertionEffect",cx(),um(),uG(e,t)},useLayoutEffect:function(e,t){return ud="useLayoutEffect",cx(),um(),uQ(e,t)},useMemo:function(e,t){ud="useMemo",cx(),um();var n=ut.current;ut.current=cy;try{return u4(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){ud="useReducer",cx(),um();var r=ut.current;ut.current=cy;try{return uR(e,t,n)}finally{ut.current=r}},useRef:function(e){return ud="useRef",cx(),um(),uB(e)},useState:function(e){ud="useState",cx(),um();var t=ut.current;ut.current=cy;try{return u$(e)}finally{ut.current=t}},useDebugValue:function(e,t){return ud="useDebugValue",cx(),um(),u1()},useDeferredValue:function(e){return ud="useDeferredValue",cx(),um(),u5(e)},useTransition:function(){return ud="useTransition",cx(),um(),ct()},useMutableSource:function(e,t,n){return ud="useMutableSource",cx(),um(),uA()},useSyncExternalStore:function(e,t,n){return ud="useSyncExternalStore",cx(),um(),uP(e,t,n)},useId:function(){return ud="useId",cx(),um(),co()},unstable_isNewReconciler:!1},cv={readContext:function(e){return cw(),ly(e)},useCallback:function(e,t){return ud="useCallback",cx(),ug(),u3(e,t)},useContext:function(e){return ud="useContext",cx(),ug(),ly(e)},useEffect:function(e,t){return ud="useEffect",cx(),ug(),uY(e,t)},useImperativeHandle:function(e,t,n){return ud="useImperativeHandle",cx(),ug(),u0(e,t,n)},useInsertionEffect:function(e,t){return ud="useInsertionEffect",cx(),ug(),uK(e,t)},useLayoutEffect:function(e,t){return ud="useLayoutEffect",cx(),ug(),uX(e,t)},useMemo:function(e,t){ud="useMemo",cx(),ug();var n=ut.current;ut.current=cv;try{return u6(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){ud="useReducer",cx(),ug();var r=ut.current;ut.current=cv;try{return uO(e,t,n)}finally{ut.current=r}},useRef:function(e){return ud="useRef",cx(),ug(),uW()},useState:function(e){ud="useState",cx(),ug();var t=ut.current;ut.current=cv;try{return uO(uC)}finally{ut.current=t}},useDebugValue:function(e,t){return ud="useDebugValue",cx(),ug(),u1()},useDeferredValue:function(e){return ud="useDeferredValue",cx(),ug(),u8(e)},useTransition:function(){return ud="useTransition",cx(),ug(),cn()},useMutableSource:function(e,t,n){return ud="useMutableSource",cx(),ug(),uj()},useSyncExternalStore:function(e,t,n){return ud="useSyncExternalStore",cx(),ug(),uM(e,t)},useId:function(){return ud="useId",cx(),ug(),ca()},unstable_isNewReconciler:!1},cb={readContext:function(e){return cw(),ly(e)},useCallback:function(e,t){return ud="useCallback",cx(),ug(),u3(e,t)},useContext:function(e){return ud="useContext",cx(),ug(),ly(e)},useEffect:function(e,t){return ud="useEffect",cx(),ug(),uY(e,t)},useImperativeHandle:function(e,t,n){return ud="useImperativeHandle",cx(),ug(),u0(e,t,n)},useInsertionEffect:function(e,t){return ud="useInsertionEffect",cx(),ug(),uK(e,t)},useLayoutEffect:function(e,t){return ud="useLayoutEffect",cx(),ug(),uX(e,t)},useMemo:function(e,t){ud="useMemo",cx(),ug();var n=ut.current;ut.current=cv;try{return u6(e,t)}finally{ut.current=n}},useReducer:function(e,t,n){ud="useReducer",cx(),ug();var r=ut.current;ut.current=cv;try{return uI(e,t,n)}finally{ut.current=r}},useRef:function(e){return ud="useRef",cx(),ug(),uW()},useState:function(e){ud="useState",cx(),ug();var t=ut.current;ut.current=cv;try{return uI(uC)}finally{ut.current=t}},useDebugValue:function(e,t){return ud="useDebugValue",cx(),ug(),u1()},useDeferredValue:function(e){return ud="useDeferredValue",cx(),ug(),u9(e)},useTransition:function(){return ud="useTransition",cx(),ug(),cr()},useMutableSource:function(e,t,n){return ud="useMutableSource",cx(),ug(),uj()},useSyncExternalStore:function(e,t,n){return ud="useSyncExternalStore",cx(),ug(),uM(e,t)},useId:function(){return ud="useId",cx(),ug(),ca()},unstable_isNewReconciler:!1};var c_=eI.unstable_now,cS=0,ck=-1,cE=-1,cT=-1,cC=!1,cR=!1;function cO(e){cE=c_(),e.actualStartTime<0&&(e.actualStartTime=c_())}function cI(e,t){if(cE>=0){var n=c_()-cE;e.actualDuration+=n,t&&(e.selfBaseDuration=n),cE=-1}}function cA(e){if(ck>=0){var t=c_()-ck;ck=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:var r=n.stateNode;r.effectDuration+=t;return;case 12:var i=n.stateNode;i.effectDuration+=t;return}n=n.return}}}function cj(e){if(cT>=0){var t=c_()-cT;cT=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:var r=n.stateNode;null!==r&&(r.passiveEffectDuration+=t);return;case 12:var i=n.stateNode;null!==i&&(i.passiveEffectDuration+=t);return}n=n.return}}}function cP(){ck=c_()}function cM(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function cD(e,t){return{value:e,source:t,stack:tk(t),digest:null}}function cN(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function cL(e,t){try{var n,r=t.value,i=t.source,o=t.stack;if(null!=r&&r._suppressLogging){if(1===e.tag)return;console.error(r)}var a=i?tR(i):null;if(3===e.tag)n="Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.";else{var s=tR(e)||"Anonymous";n="React will try to recreate this component tree from scratch using the error boundary you provided, "+s+"."}var l=(a?"The above error occurred in the <"+a+"> component:":"The above error occurred in one of your React components:")+"\n"+(null!==o?o:"")+"\n\n"+n;console.error(l)}catch(e){setTimeout(function(){throw e})}}var cF="function"==typeof WeakMap?WeakMap:Map;function cz(e,t,n){var r=lE(-1,n);r.tag=3,r.payload={element:null};var i=t.value;return r.callback=function(){f1(i),cL(e,t)},r}function c$(e,t,n){var r=lE(-1,n);r.tag=3;var i=e.type.getDerivedStateFromError;if("function"==typeof i){var o=t.value;r.payload=function(){return i(o)},r.callback=function(){pp(e),cL(e,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(r.callback=function(){pp(e),cL(e,t),"function"!=typeof i&&(null===fy?fy=new Set([this]):fy.add(this));var n=t.value,r=t.stack;this.componentDidCatch(n,{componentStack:null!==r?r:""}),"function"==typeof i||(1&e.lanes)!=0||eM("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",tR(e)||"Unknown")}),r}function cU(e,t,n){var r,i=e.pingCache;if(null===i?(i=e.pingCache=new cF,r=new Set,i.set(t,r)):void 0===(r=i.get(t))&&(r=new Set,i.set(t,r)),!r.has(n)){r.add(n);var o=f4.bind(null,e,t,n);rL&&pr(e,n),t.then(o,o)}}function cB(e){var t=e;do{if(13===t.tag&&function(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}(t))return t;t=t.return}while(null!==t)return null}function cW(e,t,n,r,i){if((1&e.mode)==0){if(e===t)e.flags|=65536;else{if(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag){if(null===n.alternate)n.tag=17;else{var o=lE(-1,1);o.tag=2,lT(n,o,1)}}n.lanes=1|n.lanes}return e}return e.flags|=65536,e.lanes=i,e}var cH=eA.ReactCurrentOwner,cV=!1;function cq(e,t,n,r){null===e?t.child=lG(t,null,n,r):t.child=lY(t,e.child,n,r)}function cY(e,t,n,r,i){if(t.type!==t.elementType){var o,a,s=n.propTypes;s&&a8(s,r,"prop",tT(n))}var l=n.render,u=t.ref;if(lg(t,i),rB(t),cH.current=t,tA=!0,o=uw(e,t,l,r,u,i),a=ux(),8&t.mode){rF(!0);try{o=uw(e,t,l,r,u,i),a=ux()}finally{rF(!1)}}return(tA=!1,rW(),null===e||cV)?(s$&&a&&sM(t),t.flags|=1,cq(e,t,o,i),t.child):(u_(e,t,i),dl(e,t,i))}function cG(e,t,n,r,i){if(null===e){var o=n.type;if("function"==typeof o&&!pg(o)&&void 0===o.defaultProps&&null===n.compare&&void 0===n.defaultProps){var a=o;return a=pc(o),t.tag=15,t.type=a,c3(t,o),cK(e,t,a,r,i)}var s=o.propTypes;s&&a8(s,r,"prop",tT(o));var l=pv(n.type,null,r,t,t.mode,i);return l.ref=t.ref,l.return=t,t.child=l,l}var u=n.type,c=u.propTypes;c&&a8(c,r,"prop",tT(u));var d=e.child;if(!du(e,i)){var f=d.memoizedProps,p=n.compare;if((p=null!==p?p:oR)(f,r)&&e.ref===t.ref)return dl(e,t,i)}t.flags|=1;var h=py(d,r);return h.ref=t.ref,h.return=t,t.child=h,h}function cK(e,t,n,r,i){if(t.type!==t.elementType){var o=t.elementType;if(o.$$typeof===tp){var a=o,s=a._payload,l=a._init;try{o=l(s)}catch(e){o=null}var u=o&&o.propTypes;u&&a8(u,r,"prop",tT(o))}}if(null!==e){var c=e.memoizedProps;if(oR(c,r)&&e.ref===t.ref&&t.type===e.type){if(cV=!1,t.pendingProps=r=c,!du(e,i))return t.lanes=e.lanes,dl(e,t,i);(131072&e.flags)!=0&&(cV=!0)}}return cJ(e,t,n,r,i)}function cQ(e,t,n){var r,i,o=t.pendingProps,a=o.children,s=null!==e?e.memoizedState:null;if("hidden"===o.mode){if((1&t.mode)==0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},fW(t,n);else if((1073741824&n)!=0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},fW(t,null!==s?s.baseLanes:n);else{return r=null!==s?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:r,cachePool:null,transitions:null},t.updateQueue=null,fW(t,r),null}}else null!==s?(i=s.baseLanes|n,t.memoizedState=null):i=n,fW(t,i);return cq(e,t,a,n),t.child}function cX(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function cJ(e,t,n,r,i){if(t.type!==t.elementType){var o,a,s,l=n.propTypes;l&&a8(l,r,"prop",tT(n))}var u=ss(t,n,!0);if(o=su(t,u),lg(t,i),rB(t),cH.current=t,tA=!0,a=uw(e,t,n,r,o,i),s=ux(),8&t.mode){rF(!0);try{a=uw(e,t,n,r,o,i),s=ux()}finally{rF(!1)}}return(tA=!1,rW(),null===e||cV)?(s$&&s&&sM(t),t.flags|=1,cq(e,t,a,i),t.child):(u_(e,t,i),dl(e,t,i))}function cZ(e,t,n,r,i){switch(pD(t)){case!1:var o,a,s=t.stateNode,l=new t.type(t.memoizedProps,s.context).state;s.updater.enqueueSetState(s,l,null);break;case!0:t.flags|=128,t.flags|=65536;var u,c=Error("Simulated error coming from DevTools"),d=(u=i)&-u;t.lanes=t.lanes|d;var f=c$(t,cD(c,t),d);lR(t,f)}if(t.type!==t.elementType){var p=n.propTypes;p&&a8(p,r,"prop",tT(n))}sd(n)?(o=!0,sg(t)):o=!1,lg(t,i),null===t.stateNode?(ds(e,t),lF(t,n,r),l$(t,n,r,i),a=!0):a=null===e?function(e,t,n,r){var i,o,a,s=e.stateNode,l=e.memoizedProps;s.props=l;var u=s.context,c=t.contextType,d=sr;if("object"==typeof c&&null!==c)d=ly(c);else{var f=ss(e,t,!0);d=su(e,f)}var p=t.getDerivedStateFromProps,h="function"==typeof p||"function"==typeof s.getSnapshotBeforeUpdate;h||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||l===n&&u===d||lz(e,s,n,d),l_=!1;var m=e.memoizedState,g=s.state=m;if(lO(e,n,s,r),g=e.memoizedState,l===n&&m===g&&!sc()&&!l_)return"function"==typeof s.componentDidMount&&(i=4194308,(16&e.mode)!=0&&(i|=16777216),e.flags|=i),!1;"function"==typeof p&&(lM(e,t,p,n),g=e.memoizedState);var y=l_||lN(e,t,l,n,m,g,d);return y?(h||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||("function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"==typeof s.componentDidMount&&(o=4194308,(16&e.mode)!=0&&(o|=16777216),e.flags|=o)):("function"==typeof s.componentDidMount&&(a=4194308,(16&e.mode)!=0&&(a|=16777216),e.flags|=a),e.memoizedProps=n,e.memoizedState=g),s.props=n,s.state=g,s.context=d,y}(t,n,r,i):function(e,t,n,r,i){var o=t.stateNode;lk(e,t);var a=t.memoizedProps,s=t.type===t.elementType?a:la(t.type,a);o.props=s;var l=t.pendingProps,u=o.context,c=n.contextType,d=sr;if("object"==typeof c&&null!==c)d=ly(c);else{var f=ss(t,n,!0);d=su(t,f)}var p=n.getDerivedStateFromProps,h="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate;h||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||a===l&&u===d||lz(t,o,r,d),l_=!1;var m=t.memoizedState,g=o.state=m;if(lO(t,r,o,i),g=t.memoizedState,a===l&&m===g&&!sc()&&!l_)return"function"==typeof o.componentDidUpdate&&(a!==e.memoizedProps||m!==e.memoizedState)&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(a!==e.memoizedProps||m!==e.memoizedState)&&(t.flags|=1024),!1;"function"==typeof p&&(lM(t,n,p,r),g=t.memoizedState);var y=l_||lN(t,n,s,r,m,g,d)||!1;return y?(h||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,g,d),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,g,d)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"==typeof o.componentDidUpdate&&(a!==e.memoizedProps||m!==e.memoizedState)&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(a!==e.memoizedProps||m!==e.memoizedState)&&(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),o.props=r,o.state=g,o.context=d,y}(e,t,n,r,i);var h=c0(e,t,n,a,o,i),m=t.stateNode;return a&&m.props!==r&&(eg||eM("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",tR(t)||"a component"),eg=!0),h}function c0(e,t,n,r,i,o){cX(e,t);var a,s,l=(128&t.flags)!=0;if(!r&&!l)return i&&sy(t,n,!1),dl(e,t,o);var u=t.stateNode;if(cH.current=t,l&&"function"!=typeof n.getDerivedStateFromError)s=null,cE=-1;else{if(rB(t),tA=!0,s=u.render(),8&t.mode){rF(!0);try{u.render()}finally{rF(!1)}}tA=!1,rW()}return(t.flags|=1,null!==e&&l)?(a=s,t.child=lY(t,e.child,null,o),t.child=lY(t,null,a,o)):cq(e,t,s,o),t.memoizedState=u.state,i&&sy(t,n,!0),t.child}function c1(e){var t=e.stateNode;t.pendingContext?sh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&sh(e,t.context,!1),l1(e,t.containerInfo)}function c2(e,t,n,r,i){return s0(),s2(i),t.flags|=256,cq(e,t,n,r),t.child}function c3(e,t){if(t&&t.childContextTypes&&eM("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=tj();r&&(n+="\n\nCheck the render method of `"+r+"`.");var i=r||"",o=e._debugSource;o&&(i=o.fileName+":"+o.lineNumber),em[i]||(em[i]=!0,eM("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if("function"==typeof t.getDerivedStateFromProps){var a=tT(t)||"Unknown";eh[a]||(eM("%s: Function components do not support getDerivedStateFromProps.",a),eh[a]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var s=tT(t)||"Unknown";ep[s]||(eM("%s: Function components do not support contextType.",s),ep[s]=!0)}}ed={},ef={},ep={},eh={},em={},eg=!1,ey={},ev={};var c4={dehydrated:null,treeContext:null,retryLane:0};function c6(e){return{baseLanes:e,cachePool:null,transitions:null}}function c5(e,t,n){var r=t.pendingProps;pN(t)&&(t.flags|=128);var i=l5.current,o=!1,a=(128&t.flags)!=0;if(a||(s=i,(null===e||null!==e.memoizedState)&&(2&s)!=0)?(o=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(i|=1),l8(t,i&=1),null===e){sQ(t);var s,l,u,c,d,f,p=t.memoizedState;if(null!==p){var h=p.dehydrated;if(null!==h)return(1&t.mode)==0?(eM("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),t.lanes=1):aW(h)?t.lanes=8:t.lanes=1073741824,null}var m=r.children,g=r.fallback;if(!o)return c8(t,m);var y=(c=t.mode,d=t.child,f={mode:"hidden",children:m},(1&c)==0&&null!==d?((l=d).childLanes=0,l.pendingProps=f,2&t.mode&&(l.actualDuration=0,l.actualStartTime=-1,l.selfBaseDuration=0,l.treeBaseDuration=0)):l=c9(f,c),u=pw(g,c,n,null),l.return=t,u.return=t,l.sibling=u,t.child=l,u);return t.child.memoizedState=c6(n),t.memoizedState=c4,y}var v=e.memoizedState;if(null!==v){var b=v.dehydrated;if(null!==b)return function(e,t,n,r,i,o,a){if(n){if(256&t.flags)return t.flags&=-257,c7(e,t,a,cN(Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==t.memoizedState)return t.child=e.child,t.flags|=128,null;var s,l,u,c,d,f,p=r.children,h=r.fallback,m=(d=c9({mode:"visible",children:p},c=t.mode),f=pw(h,c,a,null),f.flags|=2,d.return=t,f.return=t,d.sibling=f,t.child=d,(1&t.mode)!=0&&lY(t,e.child,null,a),f);return t.child.memoizedState=c6(a),t.memoizedState=c4,m}if(s$&&eM("We should not be hydrating here. This is a bug in React. Please file a bug."),(1&t.mode)==0)return c7(e,t,a,null);if(aW(i)){var g,y,v,b,w,x,_,S=((b=i.nextSibling&&i.nextSibling.dataset)&&(g=b.dgst,y=b.msg,v=b.stck),{message:y,digest:g,stack:v});return w=S.digest,x=S.message,_=S.stack,c7(e,t,a,cN(x?Error(x):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),w,_))}var k=(a&e.childLanes)!=0;if(cV||k){var E=d8;if(null!==E){var T=function(e,t){var n;switch(t&-t){case 4:n=2;break;case 16:n=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:n=32;break;case 536870912:n=268435456;break;default:n=0}return(n&(e.suspendedLanes|t))!=0?0:n}(E,a);0!==T&&T!==o.retryLane&&(o.retryLane=T,lx(e,T),fM(E,e,T,-1))}return fG(),c7(e,t,a,cN(Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(aB(i)){t.flags|=128,t.child=e.child;var C=f5.bind(null,e);return i._reactRetry=C,null}s=t,l=i,u=o.treeContext,sz=aH(l.nextSibling),sF=s,s$=!0,sB=null,sU=!1,null!==u&&(sL(),sC[sR++]=sI,sC[sR++]=sA,sC[sR++]=sO,sI=u.id,sA=u.overflow,sO=s);var R=c8(t,r.children);return R.flags|=4096,R}(e,t,a,r,b,v,n)}if(o){var w,x,_,S,k,E,T,C=r.fallback,R=(w=r.children,S=t.mode,E=(k=e.child).sibling,T={mode:"hidden",children:w},(1&S)==0&&t.child!==k?((x=t.child).childLanes=0,x.pendingProps=T,2&t.mode&&(x.actualDuration=0,x.actualStartTime=-1,x.selfBaseDuration=k.selfBaseDuration,x.treeBaseDuration=k.treeBaseDuration),t.deletions=null):(x=py(k,T)).subtreeFlags=14680064&k.subtreeFlags,null!==E?_=py(E,C):(_=pw(C,S,n,null),_.flags|=2),_.return=t,x.return=t,x.sibling=_,t.child=x,_),O=t.child,I=e.child.memoizedState;return O.memoizedState=null===I?c6(n):{baseLanes:I.baseLanes|n,cachePool:null,transitions:I.transitions},O.childLanes=e.childLanes&~n,t.memoizedState=c4,R}var A=function(e,t,n,r){var i=e.child,o=i.sibling,a=py(i,{mode:"visible",children:n});if((1&t.mode)==0&&(a.lanes=r),a.return=t,a.sibling=null,null!==o){var s=t.deletions;null===s?(t.deletions=[o],t.flags|=16):s.push(o)}return t.child=a,a}(e,t,r.children,n);return t.memoizedState=null,A}function c8(e,t,n){var r=c9({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function c9(e,t,n){return px(e,t,0,null)}function c7(e,t,n,r){null!==r&&s2(r),lY(t,e.child,null,n);var i=t.pendingProps.children,o=c8(t,i);return o.flags|=2,t.memoizedState=null,o}function de(e,t,n){e.lanes=e.lanes|t;var r=e.alternate;null!==r&&(r.lanes=r.lanes|t),lm(e.return,t,n)}function dt(e,t){var n=t6(e),r=!n&&"function"==typeof tg(e);if(n||r){var i=n?"array":"iterable";return eM("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",i,t,i),!1}return!0}function dn(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function dr(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail,a=r.children;(function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!ey[e]){if(ey[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":eM('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":eM('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:eM('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else eM('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}})(i),void 0===o||ev[o]||("collapsed"!==o&&"hidden"!==o?(ev[o]=!0,eM('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',o)):"forwards"!==i&&"backwards"!==i&&(ev[o]=!0,eM('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',o))),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e){if(t6(e)){for(var n=0;n<e.length;n++)if(!dt(e[n],n))return}else{var r=tg(e);if("function"==typeof r){var i=r.call(e);if(i)for(var o=i.next(),a=0;!o.done;o=i.next()){if(!dt(o.value,a))return;a++}}else eM('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}}(a,i),cq(e,t,a,n);var s=l5.current;if((2&s)!=0?(s=1&s|2,t.flags|=128):(null!==e&&(128&e.flags)!=0&&function(e,t,n){for(var r=t;null!==r;){if(13===r.tag)null!==r.memoizedState&&de(r,n,e);else if(19===r.tag)de(r,n,e);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),s&=1),l8(t,s),(1&t.mode)==0)t.memoizedState=null;else switch(i){case"forwards":var l,u=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===l9(r)&&(n=t),t=t.sibling}return n}(t.child);null===u?(l=t.child,t.child=null):(l=u.sibling,u.sibling=null),dn(t,!1,l,u,o);break;case"backwards":var c=null,d=t.child;for(t.child=null;null!==d;){var f=d.alternate;if(null!==f&&null===l9(f)){t.child=d;break}var p=d.sibling;d.sibling=c,c=d,d=p}dn(t,!0,c,null,o);break;case"together":dn(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}var di=!1,da=!1;function ds(e,t){(1&t.mode)==0&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function dl(e,t,n){var r;return(null!==e&&(t.dependencies=e.dependencies),cE=-1,r=t.lanes,fa|=r,(n&t.childLanes)!=0)?(function(e,t){if(null!==e&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=py(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=py(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child):null}function du(e,t){return(e.lanes&t)!=0}function dc(e,t,n){if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var i=r.child;if(null===i)throw Error("Expected parent to have a child.");for(;i.sibling!==t;)if(null===(i=i.sibling))throw Error("Expected to find the previous sibling.");i.sibling=n}var o=r.deletions;return null===o?(r.deletions=[e],r.flags|=16):o.push(e),n.flags|=2,n}(e,t,pv(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e){if(e.memoizedProps!==t.pendingProps||sc()||t.type!==e.type)cV=!0;else{if(!du(e,n)&&(128&t.flags)==0)return cV=!1,function(e,t,n){switch(t.tag){case 3:c1(t),t.stateNode,s0();break;case 5:l4(t);break;case 1:sd(t.type)&&sg(t);break;case 4:l1(t,t.stateNode.containerInfo);break;case 10:var r=t.memoizedProps.value,i=t.type._context;lp(t,i,r);break;case 12:(n&t.childLanes)!=0&&(t.flags|=4);var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0;break;case 13:var a=t.memoizedState;if(null!==a){if(null!==a.dehydrated)return l8(t,1&l5.current),t.flags|=128,null;if((n&t.child.childLanes)!=0)return c5(e,t,n);l8(t,1&l5.current);var s=dl(e,t,n);if(null!==s)return s.sibling;return null}l8(t,1&l5.current);break;case 19:var l=(128&e.flags)!=0,u=(n&t.childLanes)!=0;if(l){if(u)return dr(e,t,n);t.flags|=128}var c=t.memoizedState;if(null!==c&&(c.rendering=null,c.tail=null,c.lastEffect=null),l8(t,l5.current),!u)return null;break;case 22:case 23:return t.lanes=0,cQ(e,t,n)}return dl(e,t,n)}(e,t,n);cV=(131072&e.flags)!=0}}else if(cV=!1,s$&&(sL(),(1048576&t.flags)!=0)){var r=t.index;sP(t,(sL(),sT),r)}switch(t.lanes=0,t.tag){case 2:return function(e,t,n,r){ds(e,t);var i,o,a,s=t.pendingProps,l=ss(t,n,!1);if(i=su(t,l),lg(t,r),rB(t),n.prototype&&"function"==typeof n.prototype.render){var u=tT(n)||"Unknown";ed[u]||(eM("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",u,u),ed[u]=!0)}if(8&t.mode&&s4.recordLegacyContextWarning(t,null),tA=!0,cH.current=t,o=uw(null,t,n,s,i,r),a=ux(),tA=!1,rW(),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){var c=tT(n)||"Unknown";ef[c]||(eM("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",c,c,c),ef[c]=!0)}if("object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){var d=tT(n)||"Unknown";ef[d]||(eM("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",d,d,d),ef[d]=!0),t.tag=1,t.memoizedState=null,t.updateQueue=null;var f=!1;return sd(n)?(f=!0,sg(t)):f=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,lS(t),lL(t,o),l$(t,n,s,r),c0(null,t,n,!0,f,r)}if(t.tag=0,8&t.mode){rF(!0);try{o=uw(null,t,n,s,i,r),a=ux()}finally{rF(!1)}}return s$&&a&&sM(t),cq(null,t,o,r),c3(t,n),t.child}(e,t,t.type,n);case 16:var i=t.elementType;return function(e,t,n,r){ds(e,t);var i=t.pendingProps,o=n._payload,a=(0,n._init)(o);t.type=a;var s=t.tag=function(e){if("function"==typeof e)return pg(e)?1:0;if(null!=e){var t=e.$$typeof;if(t===tu)return 11;if(t===tf)return 14}return 2}(a),l=la(a,i);switch(s){case 0:return c3(t,a),t.type=a=pc(a),cJ(null,t,a,l,r);case 1:return t.type=a=pc(a),cZ(null,t,a,l,r);case 11:return t.type=a=pd(a),cY(null,t,a,l,r);case 14:if(t.type!==t.elementType){var u=a.propTypes;u&&a8(u,l,"prop",tT(a))}return cG(null,t,a,la(a.type,l),r)}var c="";throw null!==a&&"object"==typeof a&&a.$$typeof===tp&&(c=" Did you wrap a component in React.lazy() more than once?"),Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+c)}(e,t,i,n);case 0:var o=t.type,a=t.pendingProps,s=t.elementType===o?a:la(o,a);return cJ(e,t,o,s,n);case 1:var l=t.type,u=t.pendingProps,c=t.elementType===l?u:la(l,u);return cZ(e,t,l,c,n);case 3:return function(e,t,n){if(c1(t),null===e)throw Error("Should have a current fiber. This is a bug in React.");var r=t.pendingProps,i=t.memoizedState,o=i.element;lk(e,t),lO(t,r,null,n);var a=t.memoizedState;t.stateNode;var s=a.element;if(i.isDehydrated){var l={element:s,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions};if(t.updateQueue.baseState=l,t.memoizedState=l,256&t.flags){var u=cD(Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return c2(e,t,s,n,u)}if(s!==o){var c=cD(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return c2(e,t,s,n,c)}sz=aH(t.stateNode.containerInfo.firstChild),sF=t,s$=!0,sB=null,sU=!1;var d=lG(t,null,s,n);t.child=d;for(var f=d;f;)f.flags=-3&f.flags|4096,f=f.sibling}else{if(s0(),s===o)return dl(e,t,n);cq(e,t,s,n)}return t.child}(e,t,n);case 5:return l4(t),null===e&&sQ(t),x=t.type,_=t.pendingProps,S=null!==e?e.memoizedProps:null,k=_.children,aD(x,_)?k=null:null!==S&&aD(x,S)&&(t.flags|=32),cX(e,t),cq(e,t,k,n),t.child;case 6:return null===e&&sQ(t),null;case 13:return c5(e,t,n);case 4:return l1(t,t.stateNode.containerInfo),E=t.pendingProps,null===e?t.child=lY(t,null,E,n):cq(e,t,E,n),t.child;case 11:var d=t.type,f=t.pendingProps,p=t.elementType===d?f:la(d,f);return cY(e,t,d,p,n);case 7:return T=t.pendingProps,cq(e,t,T,n),t.child;case 8:return C=t.pendingProps.children,cq(e,t,C,n),t.child;case 12:return t.flags|=4,(R=t.stateNode).effectDuration=0,R.passiveEffectDuration=0,O=t.pendingProps.children,cq(e,t,O,n),t.child;case 10:return function(e,t,n){var r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value;"value"in i||di||(di=!0,eM("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var s=t.type.propTypes;if(s&&a8(s,i,"prop","Context.Provider"),lp(t,r,a),null!==o){if(oC(o.value,a)){if(o.children===i.children&&!sc())return dl(e,t,n)}else(function(e,t,n){var r=e.child;for(null!==r&&(r.return=e);null!==r;){var i=void 0,o=r.dependencies;if(null!==o){i=r.child;for(var a=o.firstContext;null!==a;){if(a.context===t){if(1===r.tag){var s,l=lE(-1,(s=n)&-s);l.tag=2;var u=r.updateQueue;if(null===u);else{var c=u.shared,d=c.pending;null===d?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}r.lanes=r.lanes|n;var f=r.alternate;null!==f&&(f.lanes=f.lanes|n),lm(r.return,n,e),o.lanes=o.lanes|n;break}a=a.next}}else if(10===r.tag)i=r.type===e.type?null:r.child;else if(18===r.tag){var p=r.return;if(null===p)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");p.lanes=p.lanes|n;var h=p.alternate;null!==h&&(h.lanes=h.lanes|n),lm(p,n,e),i=r.sibling}else i=r.child;if(null!==i)i.return=r;else for(i=r;null!==i;){if(i===e){i=null;break}var m=i.sibling;if(null!==m){m.return=i.return,i=m;break}i=i.return}r=i}})(t,r,n)}return cq(e,t,i.children,n),t.child}(e,t,n);case 9:return void 0===(v=t.type)._context?v===v.Consumer||da||(da=!0,eM("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")):v=v._context,"function"!=typeof(b=t.pendingProps.children)&&eM("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),lg(t,n),w=ly(v),rB(t),cH.current=t,tA=!0,y=b(w),tA=!1,rW(),t.flags|=1,cq(e,t,y,n),t.child;case 14:var h=t.type,m=la(h,t.pendingProps);if(t.type!==t.elementType){var g=h.propTypes;g&&a8(g,m,"prop",tT(h))}return m=la(h.type,m),cG(e,t,h,m,n);case 15:return cK(e,t,t.type,t.pendingProps,n);case 17:var y,v,b,w,x,_,S,k,E,T,C,R,O,I,A=t.type,j=t.pendingProps,P=t.elementType===A?j:la(A,j);return ds(e,t),t.tag=1,sd(A)?(I=!0,sg(t)):I=!1,lg(t,n),lF(t,A,P),l$(t,A,P,n),c0(null,t,A,!0,I,n);case 19:return dr(e,t,n);case 21:break;case 22:return cQ(e,t,n)}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function dd(e){e.flags|=4}function df(e){e.flags|=512,e.flags|=2097152}function dp(e,t){if(!s$)switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var i=e.tail,o=null;null!==i;)null!==i.alternate&&(o=i),i=i.sibling;null===o?t||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function dh(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t){if((2&e.mode)!=0){for(var i=e.selfBaseDuration,o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,i+=o.treeBaseDuration,o=o.sibling;e.treeBaseDuration=i}else for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;e.subtreeFlags|=r}else{if((2&e.mode)!=0){for(var s=e.actualDuration,l=e.selfBaseDuration,u=e.child;null!==u;)n|=u.lanes|u.childLanes,r|=u.subtreeFlags,r|=u.flags,s+=u.actualDuration,l+=u.treeBaseDuration,u=u.sibling;e.actualDuration=s,e.treeBaseDuration=l}else for(var c=e.child;null!==c;)n|=c.lanes|c.childLanes,r|=c.subtreeFlags,r|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=r}return e.childLanes=n,t}function dm(e,t,n){var r=t.pendingProps;switch(sN(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dh(t),null;case 1:case 17:return sd(t.type)&&sf(t),dh(t),null;case 3:var i=t.stateNode;return l2(t),sp(t),ue(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(sJ(t)?dd(t):null===e||e.memoizedState.isDehydrated&&(256&t.flags)==0||(t.flags|=1024,s1())),ew(e,t),dh(t),null;case 5:l6(t);var o=l0(),a=t.type;if(null!==e&&null!=t.stateNode)ex(e,t,a,r,o),e.ref!==t.ref&&df(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return dh(t),null}var s,l,u,c,d,f=l3();if(sJ(t))u=t.stateNode,c=!sU,s=t.type,l=t.memoizedProps,u[aG]=t,u[aK]=l,d=function(e,t,n,r,i,o,a){switch(s=nN(t,n),N(t,n),t){case"dialog":o2("cancel",e),o2("close",e);break;case"iframe":case"object":case"embed":o2("load",e);break;case"video":case"audio":for(var s,l,u=0;u<oJ.length;u++)o2(oJ[u],e);break;case"source":o2("error",e);break;case"img":case"image":case"link":o2("error",e),o2("load",e);break;case"details":o2("toggle",e);break;case"input":tQ(e,n),o2("invalid",e);break;case"option":t4(e,n);break;case"select":ne(e,n),o2("invalid",e);break;case"textarea":nr(e,n),o2("invalid",e)}nD(t,n),l=new Set;for(var c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":case"checked":case"selected":break;default:l.add(c[d].name)}var f=null;for(var p in n)if(n.hasOwnProperty(p)){var h=n[p];if(p===al)"string"==typeof h?e.textContent!==h&&(!0!==n[aa]&&ah(e.textContent,h,o,a),f=[al,h]):"number"==typeof h&&e.textContent!==""+h&&(!0!==n[aa]&&ah(e.textContent,h,o,a),f=[al,""+h]);else if(eL.hasOwnProperty(p))null!=h&&("function"!=typeof h&&z(p,h),"onScroll"===p&&o2("scroll",e));else if(a&&"boolean"==typeof s){var m=void 0,g=e2(p);if(!0===n[aa]);else if(p===ao||p===aa||"value"===p||"checked"===p||"selected"===p);else if(p===ai){var y=e.innerHTML,v=h?h[ac]:void 0;if(null!=v){var b=U(e,v);b!==y&&L(p,y,b)}}else if(p===au){if(l.delete(p),$){var w=function(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];if(null!=i){var o=0===r.indexOf("--");t+=n+(o?r:r.replace(ng,"-$1").toLowerCase().replace(ny,"-ms-"))+":"+nm(r,i,o),n=";"}}return t||null}(h);w!==(m=e.getAttribute("style"))&&L(p,m,w)}}else if(s)l.delete(p.toLowerCase()),m=te(e,p,h),h!==m&&L(p,m,h);else if(!eZ(p,g,s)&&!e1(p,h,g,s)){var x=!1;if(null!==g)l.delete(g.attributeName),m=function(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];eV(n,t),r.sanitizeURL&&e7(""+n);var i=r.attributeName,o=null;if(4===r.type){if(e.hasAttribute(i)){var a=e.getAttribute(i);return""===a||(e1(t,n,r,!1)?a:a===""+n?n:a)}}else if(e.hasAttribute(i)){if(e1(t,n,r,!1))return e.getAttribute(i);if(3===r.type)return n;o=e.getAttribute(i)}return e1(t,n,r,!1)?null===o?n:o:o===""+n?n:o}(e,p,h,g);else{var _=r;if(_===na&&(_=nl(t)),_===na)l.delete(p.toLowerCase());else{var S=function(e){var t=e.toLowerCase();return nL.hasOwnProperty(t)&&nL[t]||null}(p);null!==S&&S!==p&&(x=!0,l.delete(S)),l.delete(p)}m=te(e,p,h)}h===m||x||L(p,m,h)}}}switch(a&&l.size>0&&!0!==n[aa]&&F(l),t){case"input":tU(e),tZ(e,n,!0);break;case"textarea":tU(e),no(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&ay(e)}return f}(u,s,l,f.namespace,0,(1&t.mode)!=0,c),t.updateQueue=d,null!==d&&dd(t);else{var p=function(e,t,n,r,i){if(a_(e,null,r.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var o=""+t.children,a=aS(r.ancestorInfo,e);a_(null,o,a)}var s=function(e,t,n,r){var i,o,a=am(n),s=r;if(s===na&&(s=nl(e)),s===na){if((i=nN(e,t))||e===e.toLowerCase()||eM("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var l=a.createElement("div");l.innerHTML="<script></script>";var u=l.firstChild;o=l.removeChild(u)}else if("string"==typeof t.is)o=a.createElement(e,{is:t.is});else if(o=a.createElement(e),"select"===e){var c=o;t.multiple?c.multiple=!0:t.size&&(c.size=t.size)}}else o=a.createElementNS(s,e);return s!==na||i||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(o)||eB.call(D,e)||(D[e]=!0,eM("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),o}(e,t,n,r.namespace);return s[aG]=i,s[aK]=t,s}(a,r,o,f,t);eb(p,t,!1,!1),t.stateNode=p,function(e,t,n,r,i){switch(function(e,t,n,r){var i,o,a=nN(t,n);switch(N(t,n),t){case"dialog":o2("cancel",e),o2("close",e),o=n;break;case"iframe":case"object":case"embed":o2("load",e),o=n;break;case"video":case"audio":for(var s=0;s<oJ.length;s++)o2(oJ[s],e);o=n;break;case"source":o2("error",e),o=n;break;case"img":case"image":case"link":o2("error",e),o2("load",e),o=n;break;case"details":o2("toggle",e),o=n;break;case"input":tQ(e,n),o=tK(e,n),o2("invalid",e);break;case"option":t4(e,n),o=n;break;case"select":ne(e,n),o=t7(e,n),o2("invalid",e);break;case"textarea":nr(e,n),o=nn(e,n),o2("invalid",e);break;default:o=n}switch(nD(t,o),function(e,t,n,r,i){for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];if(o===au)a&&Object.freeze(a),nj(t,a);else if(o===ai){var s=a?a[ac]:void 0;null!=s&&nc(t,s)}else o===al?"string"==typeof a?("textarea"!==e||""!==a)&&nd(t,a):"number"==typeof a&&nd(t,""+a):o===ao||o===aa||o===as||(eL.hasOwnProperty(o)?null!=a&&("function"!=typeof a&&z(o,a),"onScroll"===o&&o2("scroll",t)):null!=a&&tt(t,o,a,i))}}(t,e,0,o,a),t){case"input":tU(e),tZ(e,n,!1);break;case"textarea":tU(e),no(e);break;case"option":null!=n.value&&e.setAttribute("value",""+tN(n.value));break;case"select":e.multiple=!!n.multiple,null!=(i=n.value)?t9(e,!!n.multiple,i,!1):null!=n.defaultValue&&t9(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof o.onClick&&ay(e)}}(e,t,n,0),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(p,a,r,0)&&dd(t)}null!==t.ref&&df(t)}return dh(t),null;case 6:if(e&&null!=t.stateNode){var h=e.memoizedProps;e_(e,t,h,r)}else{if("string"!=typeof r&&null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var m,g=l0(),y=l3();sJ(t)?function(e){var t=e.stateNode,n=e.memoizedProps,r=(t[aG]=e,e.mode,t.nodeValue!==n);if(r){var i=sF;if(null!==i)switch(i.tag){case 3:i.stateNode.containerInfo;var o=(1&i.mode)!=0;ah(t.nodeValue,n,o,!0);break;case 5:i.type;var a=i.memoizedProps,s=(i.stateNode,(1&i.mode)!=0);!0!==a[aj]&&ah(t.nodeValue,n,s,!0)}}return r}(t)&&dd(t):t.stateNode=(a_(null,r,y.ancestorInfo),(m=am(g).createTextNode(r))[aG]=t,m)}return dh(t),null;case 13:st(l5,t);var v=t.memoizedState;if((null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)&&!function(e,t,n){if(s$&&null!==sz&&(1&t.mode)!=0&&(128&t.flags)==0)return sZ(t),s0(),t.flags|=98560,!1;var r=sJ(t);if(null===n||null===n.dehydrated)return s1(),!0;if(null===e){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(function(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");n[aG]=e}(t),dh(t),(2&t.mode)!=0&&null!==n){var i=t.child;null!==i&&(t.treeBaseDuration-=i.treeBaseDuration)}return!1}if(s0(),(128&t.flags)==0&&(t.memoizedState=null),t.flags|=4,dh(t),(2&t.mode)!=0&&null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}(e,t,v)){if(65536&t.flags)return t;return null}if((128&t.flags)!=0)return t.lanes=n,(2&t.mode)!=0&&cM(t),t;var b=null!==v;if(b!==(null!==e&&null!==e.memoizedState)&&b){var w=t.child;w.flags|=8192,(1&t.mode)!=0&&((null!==e||(t.memoizedProps.unstable_avoidThisFallback,0))&&(1&l5.current)==0?fG():0===fr&&(fr=3))}if(null!==t.updateQueue&&(t.flags|=4),dh(t),(2&t.mode)!=0&&b){var x=t.child;null!==x&&(t.treeBaseDuration-=x.treeBaseDuration)}return null;case 4:return l2(t),ew(e,t),null===e&&o6(t.stateNode.containerInfo),dh(t),null;case 10:return lh(t.type._context,t),dh(t),null;case 19:st(l5,t);var _=t.memoizedState;if(null===_)return dh(t),null;var S=(128&t.flags)!=0,k=_.rendering;if(null===k){if(S)dp(_,!1);else{if(!(0===fr&&(null===e||(128&e.flags)==0)))for(var E=t.child;null!==E;){var T=l9(E);if(null!==T){S=!0,t.flags|=128,dp(_,!1);var C=T.updateQueue;return null!==C&&(t.updateQueue=C,t.flags|=4),t.subtreeFlags=0,function(e,t){for(var n=e.child;null!==n;)(function(e,t){e.flags&=14680066;var n=e.alternate;if(null===n)e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var r=n.dependencies;e.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}})(n,t),n=n.sibling}(t,n),l8(t,1&l5.current|2),t.child}E=E.sibling}null!==_.tail&&rk()>ff&&(t.flags|=128,S=!0,dp(_,!1),t.lanes=4194304)}}else{if(!S){var R=l9(k);if(null!==R){t.flags|=128,S=!0;var O=R.updateQueue;if(null!==O&&(t.updateQueue=O,t.flags|=4),dp(_,!0),null===_.tail&&"hidden"===_.tailMode&&!k.alternate&&!s$)return dh(t),null}else 2*rk()-_.renderingStartTime>ff&&1073741824!==n&&(t.flags|=128,S=!0,dp(_,!1),t.lanes=4194304)}if(_.isBackwards)k.sibling=t.child,t.child=k;else{var I=_.last;null!==I?I.sibling=k:t.child=k,_.last=k}}if(null!==_.tail){var A=_.tail;_.rendering=A,_.tail=A.sibling,_.renderingStartTime=rk(),A.sibling=null;var j=l5.current;return S?j=1&j|2:j&=1,l8(t,j),A}return dh(t),null;case 21:break;case 22:case 23:fH(t);var P=null!==t.memoizedState;return null!==e&&null!==e.memoizedState!==P&&(t.flags|=8192),P&&(1&t.mode)!=0?(1073741824&fe)!=0&&(dh(t),6&t.subtreeFlags&&(t.flags|=8192)):dh(t),null;case 24:case 25:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function dg(e,t,n){switch(sN(t),t.tag){case 1:null!=t.type.childContextTypes&&sf(t);break;case 3:t.stateNode,l2(t),sp(t),ue();break;case 5:l6(t);break;case 4:l2(t);break;case 13:case 19:st(l5,t);break;case 10:lh(t.type._context,t);break;case 22:case 23:fH(t)}}eb=function(e,t,n,r){for(var i=t.child;null!==i;){if(5===i.tag||6===i.tag)!function(e,t){e.appendChild(t)}(e,i.stateNode);else if(4===i.tag);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},ew=function(e,t){},ex=function(e,t,n,r,i){var o=e.memoizedProps;if(o!==r){var a=function(e,t,n,r,i,o){if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var a=""+r.children,s=aS(o.ancestorInfo,t);a_(null,a,s)}return function(e,t,n,r,i){N(t,r);var o,a,s,l,u=null;switch(t){case"input":o=tK(e,n),a=tK(e,r),u=[];break;case"select":o=t7(e,n),a=t7(e,r),u=[];break;case"textarea":o=nn(e,n),a=nn(e,r),u=[];break;default:o=n,a=r,"function"!=typeof o.onClick&&"function"==typeof a.onClick&&ay(e)}nD(t,a);var c=null;for(s in o)if(!a.hasOwnProperty(s)&&o.hasOwnProperty(s)&&null!=o[s]){if(s===au){var d=o[s];for(l in d)d.hasOwnProperty(l)&&(c||(c={}),c[l]="")}else s!==ai&&s!==al&&s!==ao&&s!==aa&&s!==as&&(eL.hasOwnProperty(s)?u||(u=[]):(u=u||[]).push(s,null))}for(s in a){var f=a[s],p=null!=o?o[s]:void 0;if(a.hasOwnProperty(s)&&f!==p&&(null!=f||null!=p)){if(s===au){if(f&&Object.freeze(f),p){for(l in p)!p.hasOwnProperty(l)||f&&f.hasOwnProperty(l)||(c||(c={}),c[l]="");for(l in f)f.hasOwnProperty(l)&&p[l]!==f[l]&&(c||(c={}),c[l]=f[l])}else c||(u||(u=[]),u.push(s,c)),c=f}else if(s===ai){var h=f?f[ac]:void 0,m=p?p[ac]:void 0;null!=h&&m!==h&&(u=u||[]).push(s,h)}else s===al?("string"==typeof f||"number"==typeof f)&&(u=u||[]).push(s,""+f):s!==ao&&s!==aa&&(eL.hasOwnProperty(s)?(null!=f&&("function"!=typeof f&&z(s,f),"onScroll"===s&&o2("scroll",e)),u||p===f||(u=[])):(u=u||[]).push(s,f))}}return c&&(function(e,t){if(t){var n=nP(e),r=nP(t),i={};for(var o in n){var a=n[o],s=r[o];if(s&&a!==s){var l,u=a+","+s;if(i[u])continue;i[u]=!0,eM("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(l=e[a])||"boolean"==typeof l||""===l?"Removing":"Updating",a,s)}}}}(c,a[au]),(u=u||[]).push(au,c)),u}(e,t,n,r)}(t.stateNode,n,o,r,0,l3());t.updateQueue=a,a&&dd(t)}},e_=function(e,t,n,r){n!==r&&dd(t)};var dy=null;dy=new Set;var dv=!1,db=!1,dw="function"==typeof WeakSet?WeakSet:Set,dx=null,d_=null,dS=null,dk=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,2&e.mode)try{cP(),t.componentWillUnmount()}finally{cA(e)}else t.componentWillUnmount()};function dE(e,t){try{dj(4,e)}catch(n){f3(e,t,n)}}function dT(e,t,n){try{dk(e,n)}catch(n){f3(e,t,n)}}function dC(e,t){try{dP(e)}catch(n){f3(e,t,n)}}function dR(e,t){var n,r=e.ref;if(null!==r){if("function"==typeof r){try{if(2&e.mode)try{cP(),n=r(null)}finally{cA(e)}else n=r(null)}catch(n){f3(e,t,n)}"function"==typeof n&&eM("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",tR(e))}else r.current=null}}function dO(e,t,n){try{n()}catch(n){f3(e,t,n)}}var dI=!1;function dA(e,t,n){var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var o=i.next,a=o;do{if((a.tag&e)===e){var s=a.destroy;a.destroy=void 0,void 0!==s&&((8&e)!=0?null!==rD&&"function"==typeof rD.markComponentPassiveEffectUnmountStarted&&rD.markComponentPassiveEffectUnmountStarted(t):(4&e)!=0&&rH(t),(2&e)!=0&&(fA=!0),dO(t,n,s),(2&e)!=0&&(fA=!1),(8&e)!=0?null!==rD&&"function"==typeof rD.markComponentPassiveEffectUnmountStopped&&rD.markComponentPassiveEffectUnmountStopped():(4&e)!=0&&rV())}a=a.next}while(a!==o)}}function dj(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next,o=i;do{if((o.tag&e)===e){(8&e)!=0?null!==rD&&"function"==typeof rD.markComponentPassiveEffectMountStarted&&rD.markComponentPassiveEffectMountStarted(t):(4&e)!=0&&null!==rD&&"function"==typeof rD.markComponentLayoutEffectMountStarted&&rD.markComponentLayoutEffectMountStarted(t);var a=o.create;(2&e)!=0&&(fA=!0),o.destroy=a(),(2&e)!=0&&(fA=!1),(8&e)!=0?null!==rD&&"function"==typeof rD.markComponentPassiveEffectMountStopped&&rD.markComponentPassiveEffectMountStopped():(4&e)!=0&&null!==rD&&"function"==typeof rD.markComponentLayoutEffectMountStopped&&rD.markComponentLayoutEffectMountStopped();var s=o.destroy;if(void 0!==s&&"function"!=typeof s){var l=void 0;l=(4&o.tag)!=0?"useLayoutEffect":(2&o.tag)!=0?"useInsertionEffect":"useEffect";var u=void 0;u=null===s?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof s.then?"\n\nIt looks like you wrote "+l+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+l+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+s,eM("%s must not return anything besides a function, which is used for clean-up.%s",l,u)}}o=o.next}while(o!==i)}}function dP(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;if(e.tag,"function"==typeof t){if(2&e.mode)try{cP(),n=t(r)}finally{cA(e)}else n=t(r);"function"==typeof n&&eM("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",tR(e))}else t.hasOwnProperty("current")||eM("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",tR(e)),t.current=r}}function dM(e){return 5===e.tag||3===e.tag||4===e.tag}function dD(e){var t=e;t:for(;;){for(;null===t.sibling;){if(null===t.return||dM(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(2&t.flags||null===t.child||4===t.tag)continue t;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}var dN=null,dL=!1;function dF(e,t,n){for(var r=n.child;null!==r;)dz(e,t,r),r=r.sibling}function dz(e,t,n){switch(function(e){if(rM&&"function"==typeof rM.onCommitFiberUnmount)try{rM.onCommitFiberUnmount(rP,e)}catch(e){rN||(rN=!0,eM("React instrumentation encountered an error: %s",e))}}(n),n.tag){case 5:db||dR(n,t);case 6:var r,i,o,a,s=dN,l=dL;dN=null,dF(e,t,n),dN=s,dL=l,null!==dN&&(dL?(o=dN,a=n.stateNode,8===o.nodeType?o.parentNode.removeChild(a):o.removeChild(a)):function(e,t){e.removeChild(t)}(dN,n.stateNode));return;case 18:null!==dN&&(dL?(r=dN,i=n.stateNode,8===r.nodeType?aU(r.parentNode,i):1===r.nodeType&&aU(r,i),iC(r)):aU(dN,n.stateNode));return;case 4:var u=dN,c=dL;dN=n.stateNode.containerInfo,dL=!0,dF(e,t,n),dN=u,dL=c;return;case 0:case 11:case 14:case 15:if(!db){var d=n.updateQueue;if(null!==d){var f=d.lastEffect;if(null!==f){var p=f.next,h=p;do{var m=h,g=m.destroy,y=m.tag;void 0!==g&&((2&y)!=0?dO(n,t,g):(4&y)!=0&&(rH(n),2&n.mode?(cP(),dO(n,t,g),cA(n)):dO(n,t,g),rV())),h=h.next}while(h!==p)}}}dF(e,t,n);return;case 1:if(!db){dR(n,t);var v=n.stateNode;"function"==typeof v.componentWillUnmount&&dT(n,t,v)}dF(e,t,n);return;case 21:default:dF(e,t,n);return;case 22:if(1&n.mode){var b=db;db=b||null!==n.memoizedState,dF(e,t,n),db=b}else dF(e,t,n)}}function d$(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new dw),t.forEach(function(t){var r=f8.bind(null,e,t);if(!n.has(t)){if(n.add(t),rL){if(null!==d_&&null!==dS)pr(dS,d_);else throw Error("Expected finished root and lanes to be set. This is a bug in React.")}t.then(r,r)}})}}function dU(e,t,n){var r=t.deletions;if(null!==r)for(var i=0;i<r.length;i++){var o=r[i];try{!function(e,t,n){var r,i=t;n:for(;null!==i;){switch(i.tag){case 5:dN=i.stateNode,dL=!1;break n;case 3:case 4:dN=i.stateNode.containerInfo,dL=!0;break n}i=i.return}if(null===dN)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");dz(e,t,n),dN=null,dL=!1,null!==(r=n.alternate)&&(r.return=null),n.return=null}(e,t,o)}catch(e){f3(o,t,e)}}var a=tI;if(12854&t.subtreeFlags)for(var s=t.child;null!==s;)tD(s),dB(s,e),s=s.sibling;tD(a)}function dB(e,t,n){var r,i=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(dU(t,e),dW(e),4&o){try{dA(3,e,e.return),dj(3,e)}catch(t){f3(e,e.return,t)}if(2&e.mode){try{cP(),dA(5,e,e.return)}catch(t){f3(e,e.return,t)}cA(e)}else try{dA(5,e,e.return)}catch(t){f3(e,e.return,t)}}return;case 1:dU(t,e),dW(e),512&o&&null!==i&&dR(i,i.return);return;case 5:if(dU(t,e),dW(e),512&o&&null!==i&&dR(i,i.return),32&e.flags){var a=e.stateNode;try{nd(a,"")}catch(t){f3(e,e.return,t)}}if(4&o){var s=e.stateNode;if(null!=s){var l=e.memoizedProps,u=null!==i?i.memoizedProps:l,c=e.type,d=e.updateQueue;if(e.updateQueue=null,null!==d)try{(function(e,t,n,r,i){var o,a;switch("input"===n&&"radio"===i.type&&null!=i.name&&tX(e,i),nN(n,r),function(e,t,n,r){for(var i=0;i<t.length;i+=2){var o=t[i],a=t[i+1];o===au?nj(e,a):o===ai?nc(e,a):o===al?nd(e,a):tt(e,o,a,r)}}(e,t,0,nN(n,i)),n){case"input":tJ(e,i);break;case"textarea":ni(e,i);break;case"select":o=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!i.multiple,null!=(a=i.value)?t9(e,!!i.multiple,a,!1):!!i.multiple!==o&&(null!=i.defaultValue?t9(e,!!i.multiple,i.defaultValue,!0):t9(e,!!i.multiple,i.multiple?[]:"",!1))}})(s,d,c,u,l),s[aK]=l}catch(t){f3(e,e.return,t)}}}return;case 6:if(dU(t,e),dW(e),4&o){if(null===e.stateNode)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var f=e.stateNode,p=e.memoizedProps;null!==i&&i.memoizedProps;try{f.nodeValue=p}catch(t){f3(e,e.return,t)}}return;case 3:if(dU(t,e),dW(e),4&o&&null!==i&&i.memoizedState.isDehydrated)try{r=t.containerInfo,iC(r)}catch(t){f3(e,e.return,t)}return;case 4:default:dU(t,e),dW(e);return;case 13:dU(t,e),dW(e);var h=e.child;if(8192&h.flags){var m=h.stateNode,g=null!==h.memoizedState;m.isHidden=g,g&&!(null!==h.alternate&&null!==h.alternate.memoizedState)&&(fd=rk())}if(4&o){try{e.memoizedState}catch(t){f3(e,e.return,t)}d$(e)}return;case 22:var y=null!==i&&null!==i.memoizedState;if(1&e.mode){var v=db;db=v||y,dU(t,e),db=v}else dU(t,e);if(dW(e),8192&o){var b=e.stateNode,w=null!==e.memoizedState;if(b.isHidden=w,w&&!y&&(1&e.mode)!=0){dx=e;for(var x=e.child;null!==x;)dx=x,function(e){for(;null!==dx;){var t=dx,n=t.child;switch(t.tag){case 0:case 11:case 14:case 15:if(2&t.mode)try{cP(),dA(4,t,t.return)}finally{cA(t)}else dA(4,t,t.return);break;case 1:dR(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&dT(t,t.return,r);break;case 5:dR(t,t.return);break;case 22:if(null!==t.memoizedState){dV(e);continue}}null!==n?(n.return=t,dx=n):dV(e)}}(x),x=x.sibling}!function(e,t){for(var n=null,r=e;;){if(5===r.tag){if(null===n){n=r;try{var i=r.stateNode;t?function(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}(i):function(e,t){var n=t.style,r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=nm("display",r)}(r.stateNode,r.memoizedProps)}catch(t){f3(e,e.return,t)}}}else if(6===r.tag){if(null===n)try{var o,a=r.stateNode;t?a.nodeValue="":(o=r.memoizedProps,a.nodeValue=o)}catch(t){f3(e,e.return,t)}}else if((22===r.tag||23===r.tag)&&null!==r.memoizedState&&r!==e);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;n===r&&(n=null),r=r.return}n===r&&(n=null),r.sibling.return=r.return,r=r.sibling}}(e,w)}return;case 19:dU(t,e),dW(e),4&o&&d$(e);return;case 21:return}}function dW(e){var t=e.flags;if(2&t){try{!function(e){var t=function(e){for(var t=e.return;null!==t;){if(dM(t))return t;t=t.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(t.tag){case 5:var n=t.stateNode;32&t.flags&&(nd(n,""),t.flags&=-33);var r=dD(e);(function e(t,n,r){var i=t.tag;if(5===i||6===i){var o=t.stateNode;n?function(e,t,n){e.insertBefore(t,n)}(r,o,n):function(e,t){e.appendChild(t)}(r,o)}else if(4===i);else{var a=t.child;if(null!==a){e(a,n,r);for(var s=a.sibling;null!==s;)e(s,n,r),s=s.sibling}}})(e,r,n);break;case 3:case 4:var i=t.stateNode.containerInfo,o=dD(e);(function e(t,n,r){var i=t.tag;if(5===i||6===i){var o,a=t.stateNode;n?8===r.nodeType?r.parentNode.insertBefore(a,n):r.insertBefore(a,n):(8===r.nodeType?(o=r.parentNode).insertBefore(a,r):(o=r).appendChild(a),null==r._reactRootContainer&&null===o.onclick&&ay(o))}else if(4===i);else{var s=t.child;if(null!==s){e(s,n,r);for(var l=s.sibling;null!==l;)e(l,n,r),l=l.sibling}}})(e,o,i);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}(e)}catch(t){f3(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function dH(e,t,n){for(;null!==dx;){var r=dx;if((8772&r.flags)!=0){var i=r.alternate;tD(r);try{!function(e,t,n,r){if((8772&n.flags)!=0)switch(n.tag){case 0:case 11:case 15:if(!db){if(2&n.mode)try{cP(),dj(5,n)}finally{cA(n)}else dj(5,n)}break;case 1:var i=n.stateNode;if(4&n.flags&&!db){if(null===t){if(n.type!==n.elementType||eg||(i.props!==n.memoizedProps&&eM("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",tR(n)||"instance"),i.state!==n.memoizedState&&eM("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",tR(n)||"instance")),2&n.mode)try{cP(),i.componentDidMount()}finally{cA(n)}else i.componentDidMount()}else{var o=n.elementType===n.type?t.memoizedProps:la(n.type,t.memoizedProps),a=t.memoizedState;if(n.type!==n.elementType||eg||(i.props!==n.memoizedProps&&eM("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",tR(n)||"instance"),i.state!==n.memoizedState&&eM("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",tR(n)||"instance")),2&n.mode)try{cP(),i.componentDidUpdate(o,a,i.__reactInternalSnapshotBeforeUpdate)}finally{cA(n)}else i.componentDidUpdate(o,a,i.__reactInternalSnapshotBeforeUpdate)}}var s=n.updateQueue;null!==s&&(n.type!==n.elementType||eg||(i.props!==n.memoizedProps&&eM("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",tR(n)||"instance"),i.state!==n.memoizedState&&eM("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",tR(n)||"instance")),lI(n,s,i));break;case 3:var l=n.updateQueue;if(null!==l){var u=null;if(null!==n.child)switch(n.child.tag){case 5:case 1:u=n.child.stateNode}lI(n,l,u)}break;case 5:var c=n.stateNode;null===t&&4&n.flags&&function(e,t,n,r){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();return;case"img":n.src&&(e.src=n.src);return}}(c,n.type,n.memoizedProps);break;case 6:case 4:case 19:case 17:case 21:case 22:case 23:case 25:break;case 12:var d=n.memoizedProps,f=d.onCommit,p=d.onRender,h=n.stateNode.effectDuration,m=cS,g=null===t?"mount":"update";cC&&(g="nested-update"),"function"==typeof p&&p(n.memoizedProps.id,g,n.actualDuration,n.treeBaseDuration,n.actualStartTime,m),"function"==typeof f&&f(n.memoizedProps.id,g,h,m),fx.push(n),fv||(fv=!0,po(rR,function(){return fZ(),null}));var y=n.return;r:for(;null!==y;){switch(y.tag){case 3:var v=y.stateNode;v.effectDuration+=h;break r;case 12:var b=y.stateNode;b.effectDuration+=h;break r}y=y.return}break;case 13:(function(e,t){if(null===t.memoizedState){var n=t.alternate;if(null!==n){var r=n.memoizedState;if(null!==r){var i=r.dehydrated;null!==i&&iC(i)}}}})(0,n);break;default:throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}!db&&512&n.flags&&dP(n)}(0,i,r,0)}catch(e){f3(r,r.return,e)}tM()}if(r===e){dx=null;return}var o=r.sibling;if(null!==o){o.return=r.return,dx=o;return}dx=r.return}}function dV(e){for(;null!==dx;){var t=dx;if(t===e){dx=null;return}var n=t.sibling;if(null!==n){n.return=t.return,dx=n;return}dx=t.return}}function dq(e){for(;null!==dx;){var t=dx;tD(t);try{!function(e){switch(e.tag){case 0:case 11:case 15:if(2&e.mode)try{cP(),dE(e,e.return)}finally{cA(e)}else dE(e,e.return);break;case 1:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(n){f3(e,t,n)}}(e,e.return,t),dC(e,e.return);break;case 5:dC(e,e.return)}}(t)}catch(e){f3(t,t.return,e)}if(tM(),t===e){dx=null;return}var n=t.sibling;if(null!==n){n.return=t.return,dx=n;return}dx=t.return}}function dY(e){switch(e.tag){case 0:case 11:case 15:try{dj(5,e)}catch(t){f3(e,e.return,t)}break;case 1:var t=e.stateNode;try{t.componentDidMount()}catch(t){f3(e,e.return,t)}}}function dG(e){switch(e.tag){case 0:case 11:case 15:try{dj(9,e)}catch(t){f3(e,e.return,t)}}}function dK(e){switch(e.tag){case 0:case 11:case 15:try{dA(5,e,e.return)}catch(t){f3(e,e.return,t)}break;case 1:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&dT(e,e.return,t)}}function dQ(e){switch(e.tag){case 0:case 11:case 15:try{dA(9,e,e.return)}catch(t){f3(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var dX=Symbol.for;dX("selector.component"),dX("selector.has_pseudo_class"),dX("selector.role"),dX("selector.test_id"),dX("selector.text")}var dJ=[],dZ=eA.ReactCurrentActQueue;function d0(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===dZ.current||eM("The current testing environment is not configured to support act(...)"),e}var d1=Math.ceil,d2=eA.ReactCurrentDispatcher,d3=eA.ReactCurrentOwner,d4=eA.ReactCurrentBatchConfig,d6=eA.ReactCurrentActQueue,d5=0,d8=null,d9=null,d7=0,fe=0,ft=se(0),fr=0,fi=null,fo=0,fa=0,fs=0,fl=0,fu=null,fc=null,fd=0,ff=1/0,fp=null;function fh(){ff=rk()+500}var fm=!1,fg=null,fy=null,fv=!1,fb=null,fw=0,fx=[],f_=null,fS=0,fk=null,fE=!1,fT=!1,fC=0,fR=null,fO=-1,fI=0,fA=!1;function fj(){return(6&d5)!=0?rk():-1!==fO?fO:fO=rk()}function fP(e){if((1&e.mode)==0)return 1;if((2&d5)!=0&&0!==d7){var t;return(t=d7)&-t}if(null!==s3.transition){if(null!==d4.transition){var n,r=d4.transition;r._updatedFibers||(r._updatedFibers=new Set),r._updatedFibers.add(e)}return 0===fI&&(fI=r8()),fI}var i=is;return 0!==i?i:void 0===(n=window.event)?16:iD(n.type)}function fM(e,t,n,r){((function(){if(fS>50)throw fS=0,fk=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");fC>50&&(fC=0,fR=null,eM("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))})(),fA&&eM("useInsertionEffect must not schedule updates."),fE&&(fT=!0),it(e,n,r),(2&d5)!=0&&e===d8)?function(e){if(tA&&!ci)switch(e.tag){case 0:case 11:case 15:var t=d9&&tR(d9)||"Unknown";ek.has(t)||(ek.add(t),eM("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",tR(e)||"Unknown",t,t));break;case 1:pn||(eM("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),pn=!0)}}(t):(rL&&io(e,t,n),function(e){if(1&e.mode){if(!d0())return}else{var t;if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t||0!==d5||0!==e.tag&&11!==e.tag&&15!==e.tag)return}if(null===d6.current){var n=tI;try{tD(e),eM("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act",tR(e))}finally{n?tD(e):tM()}}}(t),e===d8&&((2&d5)==0&&(fs|=n),4===fr&&fz(e,d7)),fD(e,r),1===n&&0===d5&&(1&t.mode)==0&&!d6.isBatchingLegacy&&(fh(),sb&&s_()))}function fD(e,t){var n,r,i,o=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=n;a>0;){var s=r7(a),l=1<<s,u=o[s];-1===u?((l&r)==0||(l&i)!=0)&&(o[s]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return -1;default:return eM("Should have found matching lanes. This is a bug in React."),-1}}(l,t)):u<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var a=r2(e,e===d8?d7:0);if(0===a){null!==o&&pa(o),e.callbackNode=null,e.callbackPriority=0;return}var s=a&-a,l=e.callbackPriority;if(l===s&&!(null!==d6.current&&o!==pi)){null==o&&1!==l&&eM("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}if(null!=o&&pa(o),1===s)0===e.tag?(null!==d6.isBatchingLegacy&&(d6.didScheduleLegacyUpdate=!0),n=f$.bind(null,e),sb=!0,sx(n)):sx(f$.bind(null,e)),null!==d6.current?d6.current.push(s_):az(function(){(6&d5)==0&&s_()}),r=null;else{switch(il(a)){case 1:i=rT;break;case 4:i=rC;break;case 16:default:i=rR;break;case 536870912:i=rI}r=po(i,fN.bind(null,e))}e.callbackPriority=s,e.callbackNode=r}function fN(e,t){if(cC=!1,cR=!1,fO=-1,fI=0,(6&d5)!=0)throw Error("Should not already be working.");var n=e.callbackNode;if(fZ()&&e.callbackNode!==n)return null;var r=r2(e,e===d8?d7:0);if(0===r)return null;var i=(30&r)!=0||(r&e.expiredLanes)!=0||t?fK(e,r):function(e,t){var n=d5;d5|=2;var r=fY();if(d8!==e||d7!==t){if(rL){var i=e.memoizedUpdaters;i.size>0&&(pr(e,d7),i.clear()),ia(e,t)}fp=null,fh(),fV(e,t)}for(rq(t);;)try{(function(){for(;null!==d9&&!r_();)fQ(d9)})();break}catch(t){fq(e,t)}return(lf(),d2.current=r,d5=n,null!==d9)?(null!==rD&&"function"==typeof rD.markRenderYielded&&rD.markRenderYielded(),0):(rY(),d8=null,d7=0,fr)}(e,r);if(0!==i){if(2===i){var o=r3(e);0!==o&&(r=o,i=fL(e,o))}if(1===i){var a=fi;throw fV(e,0),fz(e,r),fD(e,rk()),a}if(6===i)fz(e,r);else{var s=(30&r)==0,l=e.current.alternate;if(s&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n){var r=n.stores;if(null!==r)for(var i=0;i<r.length;i++){var o=r[i],a=o.getSnapshot,s=o.value;try{if(!oC(a(),s))return!1}catch(e){return!1}}}}var l=t.child;if(16384&t.subtreeFlags&&null!==l){l.return=t,t=l;continue}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}(l)){if(2===(i=fK(e,r))){var u=r3(e);0!==u&&(r=u,i=fL(e,u))}if(1===i){var c=fi;throw fV(e,0),fz(e,r),fD(e,rk()),c}}e.finishedWork=l,e.finishedLanes=r,function(e,t,n){switch(t){case 0:case 1:throw Error("Root did not complete. This is a bug in React.");case 2:case 5:fJ(e,fc,fp);break;case 3:if(fz(e,n),r6(n)&&!ps()){var r=fd+500-rk();if(r>10){if(0!==r2(e,0))break;var i=e.suspendedLanes;if((i&n)!==n){fj(),ir(e,i);break}e.timeoutHandle=aN(fJ.bind(null,e,fc,fp),r);break}}fJ(e,fc,fp);break;case 4:if(fz(e,n),(4194240&n)===n)break;if(!ps()){var o=function(e,t){for(var n=e.eventTimes,r=-1;t>0;){var i=r7(t),o=1<<i,a=n[i];a>r&&(r=a),t&=~o}return r}(e,n),a=rk()-o,s=(a<120?120:a<480?480:a<1080?1080:a<1920?1920:a<3e3?3e3:a<4320?4320:1960*d1(a/1960))-a;if(s>10){e.timeoutHandle=aN(fJ.bind(null,e,fc,fp),s);break}}fJ(e,fc,fp);break;default:throw Error("Unknown root exit status.")}}(e,i,r)}}return(fD(e,rk()),e.callbackNode===n)?fN.bind(null,e):null}function fL(e,t){var n=fu;if(iu(e)){var r=fV(e,t);r.flags|=256,eM("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase())}var i=fK(e,t);if(2!==i){var o=fc;fc=n,null!==o&&fF(o)}return i}function fF(e){null===fc?fc=e:fc.push.apply(fc,e)}function fz(e,t){t&=~fl,function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var i=r7(r),o=1<<i;n[i]=-1,r&=~o}}(e,t&=~fs)}function f$(e){if(cC=cR,cR=!1,(6&d5)!=0)throw Error("Should not already be working.");fZ();var t=r2(e,0);if(!((1&t)!=0))return fD(e,rk()),null;var n=fK(e,t);if(0!==e.tag&&2===n){var r=r3(e);0!==r&&(t=r,n=fL(e,r))}if(1===n){var i=fi;throw fV(e,0),fz(e,t),fD(e,rk()),i}if(6===n)throw Error("Root did not complete. This is a bug in React.");var o=e.current.alternate;return e.finishedWork=o,e.finishedLanes=t,fJ(e,fc,fp),fD(e,rk()),null}function fU(e,t){var n=d5;d5|=1;try{return e(t)}finally{0===(d5=n)&&!d6.isBatchingLegacy&&(fh(),sb&&s_())}}function fB(e){null!==fb&&0===fb.tag&&(6&d5)==0&&fZ();var t=d5;d5|=1;var n=d4.transition,r=is;try{if(d4.transition=null,is=1,e)return e();return}finally{is=r,d4.transition=n,(6&(d5=t))==0&&s_()}}function fW(e,t){sn(ft,fe,e),fe|=t,fo|=t}function fH(e){fe=ft.current,st(ft,e)}function fV(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aL(n)),null!==d9)for(var r=d9.return;null!==r;)dg(r.alternate,r),r=r.return;d8=e;var i=py(e.current,null);return d9=i,d7=fe=fo=t,fr=0,fi=null,fa=0,fs=0,fl=0,fu=null,fc=null,function(){if(null!==lv){for(var e=0;e<lv.length;e++){var t=lv[e],n=t.interleaved;if(null!==n){t.interleaved=null;var r=n.next,i=t.pending;if(null!==i){var o=i.next;i.next=r,n.next=o}t.pending=n}}lv=null}}(),s4.discardPendingWarnings(),i}function fq(e,t){for(;;){var n=d9;try{if(lf(),uS(),tM(),d3.current=null,null===n||null===n.return){fr=1,fi=t,d9=null;return}if(2&n.mode&&cI(n,!0),rW(),null!==t&&"object"==typeof t&&"function"==typeof t.then){var r,i,o,a,s,l=t;a=n,s=d7,null!==rD&&"function"==typeof rD.markComponentSuspended&&rD.markComponentSuspended(a,l,s)}else r=n,i=t,o=d7,null!==rD&&"function"==typeof rD.markComponentErrored&&rD.markComponentErrored(r,i,o);(function(e,t,n,r,i){if(n.flags|=32768,rL&&pr(e,i),null!==r&&"object"==typeof r&&"function"==typeof r.then){var o,a=r;(function(e,t){var n=e.tag;if((1&e.mode)==0&&(0===n||11===n||15===n)){var r=e.alternate;r?(e.updateQueue=r.updateQueue,e.memoizedState=r.memoizedState,e.lanes=r.lanes):(e.updateQueue=null,e.memoizedState=null)}})(n),s$&&1&n.mode&&(sU=!0);var s=cB(t);if(null!==s){s.flags&=-257,cW(s,t,n,e,i),1&s.mode&&cU(e,a,i),function(e,t,n,r){var i=e.updateQueue;if(null===i){var o=new Set;o.add(n),e.updateQueue=o}else i.add(n)}(s,0,a);return}if(!((1&i)!=0)){cU(e,a,i),fG();return}r=Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(s$&&1&n.mode){sU=!0;var l=cB(t);if(null!==l){(65536&l.flags)==0&&(l.flags|=256),cW(l,t,n,e,i),s2(cD(r,n));return}}o=r=cD(r,n),4!==fr&&(fr=2),null===fu?fu=[o]:fu.push(o);var u=t;do{switch(u.tag){case 3:var c,d=r;u.flags|=65536;var f=(c=i)&-c;u.lanes=u.lanes|f;var p=cz(u,d,f);lR(u,p);return;case 1:var h=r,m=u.type,g=u.stateNode;if((128&u.flags)==0&&("function"==typeof m.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&!f0(g))){u.flags|=65536;var y,v=(y=i)&-y;u.lanes=u.lanes|v;var b=c$(u,h,v);lR(u,b);return}}u=u.return}while(null!==u)})(e,n.return,n,t,d7),fX(n)}catch(e){t=e,d9===n&&null!==n?d9=n=n.return:n=d9;continue}return}}function fY(){var e=d2.current;return(d2.current=cf,null===e)?cf:e}function fG(){(0===fr||3===fr||2===fr)&&(fr=4),null!==d8&&(r4(fa)||r4(fs))&&fz(d8,d7)}function fK(e,t){var n=d5;d5|=2;var r=fY();if(d8!==e||d7!==t){if(rL){var i=e.memoizedUpdaters;i.size>0&&(pr(e,d7),i.clear()),ia(e,t)}fp=null,fV(e,t)}for(rq(t);;)try{(function(){for(;null!==d9;)fQ(d9)})();break}catch(t){fq(e,t)}if(lf(),d5=n,d2.current=r,null!==d9)throw Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return rY(),d8=null,d7=0,fr}function fQ(e){var t,n=e.alternate;tD(e),(2&e.mode)!=0?(cO(e),t=eS(n,e,fe),cI(e,!0)):t=eS(n,e,fe),tM(),e.memoizedProps=e.pendingProps,null===t?fX(e):d9=t,d3.current=null}function fX(e){var t=e;do{var n=t.alternate,r=t.return;if((32768&t.flags)==0){tD(t);var i=void 0;if((2&t.mode)==0?i=dm(n,t,fe):(cO(t),i=dm(n,t,fe),cI(t,!1)),tM(),null!==i){d9=i;return}}else{var o=function(e,t,n){switch(sN(t),t.tag){case 1:sd(t.type)&&sf(t);var r=t.flags;if(65536&r)return t.flags=-65537&r|128,(2&t.mode)!=0&&cM(t),t;return null;case 3:t.stateNode,l2(t),sp(t),ue();var i=t.flags;if((65536&i)!=0&&(128&i)==0)return t.flags=-65537&i|128,t;return null;case 5:return l6(t),null;case 13:st(l5,t);var o=t.memoizedState;if(null!==o&&null!==o.dehydrated){if(null===t.alternate)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");s0()}var a=t.flags;if(65536&a)return t.flags=-65537&a|128,(2&t.mode)!=0&&cM(t),t;return null;case 19:return st(l5,t),null;case 4:return l2(t),null;case 10:return lh(t.type._context,t),null;case 22:case 23:return fH(t),null;default:return null}}(0,t);if(null!==o){o.flags&=32767,d9=o;return}if((2&t.mode)!=0){cI(t,!1);for(var a=t.actualDuration,s=t.child;null!==s;)a+=s.actualDuration,s=s.sibling;t.actualDuration=a}if(null!==r)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{fr=6,d9=null;return}}var l=t.sibling;if(null!==l){d9=l;return}d9=t=r}while(null!==t)0===fr&&(fr=5)}function fJ(e,t,n){var r=is,i=d4.transition;try{d4.transition=null,is=1,function(e,t,n,r){do fZ();while(null!==fb)if(s4.flushLegacyContextWarning(),s4.flushPendingUnsafeLifecycleWarnings(),(6&d5)!=0)throw Error("Should not already be working.");var i=e.finishedWork,o=e.finishedLanes;if(null!==rD&&"function"==typeof rD.markCommitStarted&&rD.markCommitStarted(o),null===i)return rU();if(0===o&&eM("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=0;var a=i.lanes|i.childLanes;(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;for(var r=e.entanglements,i=e.eventTimes,o=e.expirationTimes,a=n;a>0;){var s=r7(a),l=1<<s;r[s]=0,i[s]=-1,o[s]=-1,a&=~l}})(e,a),e===d8&&(d8=null,d9=null,d7=0),(2064&i.subtreeFlags)==0&&(2064&i.flags)==0||fv||(fv=!0,f_=n,po(rR,function(){return fZ(),null}));var s=(15990&i.subtreeFlags)!=0,l=(15990&i.flags)!=0;if(s||l){var u,c,d,f=d4.transition;d4.transition=null;var p=is;is=1;var h=d5;d5|=4,d3.current=null,e.containerInfo,aP=iO,aM={focusedElem:c=oj(),selectionRange:oP(c)?("selectionStart"in c?{start:c.selectionStart,end:c.selectionEnd}:function(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var i=r.anchorNode,o=r.anchorOffset,a=r.focusNode,s=r.focusOffset;try{i.nodeType,a.nodeType}catch(e){return null}return function(e,t,n,r,i){var o=0,a=-1,s=-1,l=0,u=0,c=e,d=null;r:for(;;){for(var f=null;c===t&&(0===n||3===c.nodeType)&&(a=o+n),c===r&&(0===i||3===c.nodeType)&&(s=o+i),3===c.nodeType&&(o+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break r;if(d===t&&++l===n&&(a=o),d===r&&++u===i&&(s=o),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}return -1===a||-1===s?null:{start:a,end:s}}(e,i,o,a,s)}(c))||{start:0,end:0}:null},iO=!1,dx=i,function(){for(;null!==dx;){var e=dx,t=e.child;(1028&e.subtreeFlags)!=0&&null!==t?(t.return=e,dx=t):function(){for(;null!==dx;){var e=dx;tD(e);try{(function(e){var t=e.alternate;if((1024&e.flags)!=0){switch(tD(e),e.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==t){var n,r=t.memoizedProps,i=t.memoizedState,o=e.stateNode;e.type!==e.elementType||eg||(o.props!==e.memoizedProps&&eM("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",tR(e)||"instance"),o.state!==e.memoizedState&&eM("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",tR(e)||"instance"));var a=o.getSnapshotBeforeUpdate(e.elementType===e.type?r:la(e.type,r),i),s=dy;void 0!==a||s.has(e.type)||(s.add(e.type),eM("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",tR(e))),o.__reactInternalSnapshotBeforeUpdate=a}break;case 3:1===(n=e.stateNode.containerInfo).nodeType?n.textContent="":9===n.nodeType&&n.documentElement&&n.removeChild(n.documentElement);break;default:throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}tM()}})(e)}catch(t){f3(e,e.return,t)}tM();var t=e.sibling;if(null!==t){t.return=e.return,dx=t;return}dx=e.return}}()}}(),cS=c_(),d_=o,dS=e,tD(i),dB(i,e),tD(i),d_=null,dS=null,e.containerInfo,function(e){var t,n=oj(),r=e.focusedElem,i=e.selectionRange;if(n!==r&&(t=r)&&t.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||!oA(t)&&(oA(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(t.ownerDocument.documentElement,t)){null!==i&&oP(r)&&(o=i.start,a=i.end,void 0===a&&(a=o),"selectionStart"in r?(r.selectionStart=o,r.selectionEnd=Math.min(a,r.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var i=r.getSelection(),o=e.textContent.length,a=Math.min(t.start,o),s=void 0===t.end?a:Math.min(t.end,o);if(!i.extend&&a>s){var l=s;s=a,a=l}var u=oI(e,a),c=oI(e,s);if(u&&c){if(1===i.rangeCount&&i.anchorNode===u.node&&i.anchorOffset===u.offset&&i.focusNode===c.node&&i.focusOffset===c.offset)return;var d=n.createRange();d.setStart(u.node,u.offset),i.removeAllRanges(),a>s?(i.addRange(d),i.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),i.addRange(d))}}}(r,i));for(var o,a,s=[],l=r;l=l.parentNode;)1===l.nodeType&&s.push({element:l,left:l.scrollLeft,top:l.scrollTop});"function"==typeof r.focus&&r.focus();for(var u=0;u<s.length;u++){var c=s[u];c.element.scrollLeft=c.left,c.element.scrollTop=c.top}}}(aM),iO=!!aP,aP=null,aM=null,e.current=i,null!==rD&&"function"==typeof rD.markLayoutEffectsStarted&&rD.markLayoutEffectsStarted(o),d_=o,dS=e,dx=i,function e(t,n,r){for(var i=(1&t.mode)!=0;null!==dx;){var o=dx,a=o.child;if(22===o.tag&&i){var s=null!==o.memoizedState||dv;if(s){dH(t,n,r);continue}var l=o.alternate,u=null!==l&&null!==l.memoizedState||db,c=dv,d=db;dv=s,(db=u)&&!d&&(dx=o,function(e){for(;null!==dx;){var t=dx,n=t.child;if(22===t.tag&&null!==t.memoizedState){dq(e);continue}null!==n?(n.return=t,dx=n):dq(e)}}(o));for(var f=a;null!==f;)dx=f,e(f,n,r),f=f.sibling;dx=o,dv=c,db=d,dH(t,n,r);continue}(8772&o.subtreeFlags)!=0&&null!==a?(a.return=o,dx=a):dH(t,n,r)}}(i,e,o),d_=null,dS=null,null!==rD&&"function"==typeof rD.markLayoutEffectsStopped&&rD.markLayoutEffectsStopped(),rS(),d5=h,is=p,d4.transition=f}else e.current=i,cS=c_();var m=fv;if(fv?(fv=!1,fb=e,fw=o):(fC=0,fR=null),0===(a=e.pendingLanes)&&(fy=null),m||f9(e.current,!1),function(e,t){if(rM&&"function"==typeof rM.onCommitFiberRoot)try{var n,r=(128&e.current.flags)==128;switch(t){case 1:n=rT;break;case 4:n=rC;break;case 16:default:n=rR;break;case 536870912:n=rI}rM.onCommitFiberRoot(rP,e,n,r)}catch(e){rN||(rN=!0,eM("React instrumentation encountered an error: %s",e))}}(i.stateNode,r),rL&&e.memoizedUpdaters.clear(),dJ.forEach(function(e){return e()}),fD(e,rk()),null!==t)for(var g=e.onRecoverableError,y=0;y<t.length;y++){var v=t[y],b=v.stack,w=v.digest;g(v.value,{componentStack:b,digest:w})}if(fm){fm=!1;var x=fg;throw fg=null,x}(1&fw)!=0&&0!==e.tag&&fZ(),(1&(a=e.pendingLanes))!=0?(cR=!0,e===fk?fS++:(fS=0,fk=e)):fS=0,s_(),rU()}(e,t,n,r)}finally{d4.transition=i,is=r}return null}function fZ(){if(null!==fb){var e=il(fw),t=d4.transition,n=is;try{return d4.transition=null,is=16>e?16:e,function(){if(null===fb)return!1;var e,t=f_;f_=null;var n=fb,r=fw;if(fb=null,fw=0,(6&d5)!=0)throw Error("Cannot flush passive effects while already rendering.");fE=!0,fT=!1,null!==rD&&"function"==typeof rD.markPassiveEffectsStarted&&rD.markPassiveEffectsStarted(r);var i=d5;d5|=4,dx=n.current,function(){for(;null!==dx;){var e=dx,t=e.child;if((16&dx.flags)!=0){var n=e.deletions;if(null!==n){for(var r=0;r<n.length;r++){var i=n[r];dx=i,function(e,t){for(;null!==dx;){var n=dx;tD(n),function(e,t){switch(e.tag){case 0:case 11:case 15:2&e.mode?(cT=c_(),dA(8,e,t),cj(e)):dA(8,e,t)}}(n,t),tM();var r=n.child;null!==r?(r.return=n,dx=r):function(e){for(;null!==dx;){var t=dx,n=t.sibling,r=t.return;if(function e(t){var n=t.alternate;if(null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag){var r=t.stateNode;null!==r&&(delete r[aG],delete r[aK],delete r[aX],delete r[aJ],delete r[aZ])}t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(t),t===e){dx=null;return}if(null!==n){n.return=r,dx=n;return}dx=r}}(e)}}(i,e)}var o=e.alternate;if(null!==o){var a=o.child;if(null!==a){o.child=null;do{var s=a.sibling;a.sibling=null,a=s}while(null!==a)}}dx=e}}(2064&e.subtreeFlags)!=0&&null!==t?(t.return=e,dx=t):function(){for(;null!==dx;){var e=dx;(2048&e.flags)!=0&&(tD(e),function(e){switch(e.tag){case 0:case 11:case 15:2&e.mode?(cT=c_(),dA(9,e,e.return),cj(e)):dA(9,e,e.return)}}(e),tM());var t=e.sibling;if(null!==t){t.return=e.return,dx=t;return}dx=e.return}}()}}(),dx=e=n.current,function(e,t,n,r){for(;null!==dx;){var i=dx,o=i.child;(2064&i.subtreeFlags)!=0&&null!==o?(o.return=i,dx=o):function(e,t,n,r){for(;null!==dx;){var i=dx;if((2048&i.flags)!=0){tD(i);try{(function(e,t,n,r){switch(t.tag){case 0:case 11:case 15:if(2&t.mode){cT=c_();try{dj(9,t)}finally{cj(t)}}else dj(9,t)}})(0,i,0,0)}catch(e){f3(i,i.return,e)}tM()}if(i===e){dx=null;return}var o=i.sibling;if(null!==o){o.return=i.return,dx=o;return}dx=i.return}}(e,0,0,0)}}(e,n,r,t);var o=fx;fx=[];for(var a=0;a<o.length;a++)!function(e,t){if((4&t.flags)!=0&&12===t.tag){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,i=r.id,o=r.onPostCommit,a=cS,s=null===t.alternate?"mount":"update";cC&&(s="nested-update"),"function"==typeof o&&o(i,s,n,a);var l=t.return;r:for(;null!==l;){switch(l.tag){case 3:var u=l.stateNode;u.passiveEffectDuration+=n;break r;case 12:var c=l.stateNode;c.passiveEffectDuration+=n;break r}l=l.return}}}(0,o[a]);null!==rD&&"function"==typeof rD.markPassiveEffectsStopped&&rD.markPassiveEffectsStopped(),f9(n.current,!0),d5=i,s_(),fT?n===fR?fC++:(fC=0,fR=n):fC=0,fE=!1,fT=!1,function(e){if(rM&&"function"==typeof rM.onPostCommitFiberRoot)try{rM.onPostCommitFiberRoot(rP,e)}catch(e){rN||(rN=!0,eM("React instrumentation encountered an error: %s",e))}}(n);var s=n.current.stateNode;return s.effectDuration=0,s.passiveEffectDuration=0,!0}()}finally{is=n,d4.transition=t}}return!1}function f0(e){return null!==fy&&fy.has(e)}var f1=function(e){fm||(fm=!0,fg=e)};function f2(e,t,n){var r=cz(e,cD(n,t),1),i=lT(e,r,1),o=fj();null!==i&&(it(i,1,o),fD(i,o))}function f3(e,t,n){if(rc(null,function(){throw n}),rd(),fA=!1,3===e.tag){f2(e,e,n);return}var r=null;for(r=t;null!==r;){if(3===r.tag){f2(r,e,n);return}if(1===r.tag){var i=r.type,o=r.stateNode;if("function"==typeof i.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&!f0(o)){var a=c$(r,cD(n,e),1),s=lT(r,a,1),l=fj();null!==s&&(it(s,1,l),fD(s,l));return}}r=r.return}eM("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}function f4(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);var i=fj();ir(e,n),0!==e.tag&&d0()&&null===d6.current&&eM("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act"),d8===e&&(d7&n)===n&&(4===fr||3===fr&&r6(d7)&&rk()-fd<500?fV(e,0):fl|=n),fD(e,i)}function f6(e,t){0===t&&(t=(1&e.mode)==0?1:(n=r0,(130023424&(r0<<=1))==0&&(r0=4194304),n));var n,r=fj(),i=lx(e,t);null!==i&&(it(i,t,r),fD(i,r))}function f5(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),f6(e,n)}function f8(e,t){var n,r=0;switch(e.tag){case 13:n=e.stateNode;var i=e.memoizedState;null!==i&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==n&&n.delete(t),f6(e,r)}function f9(e,t){tD(e),f7(e,16777216,dK),t&&f7(e,33554432,dQ),f7(e,16777216,dY),t&&f7(e,33554432,dG),tM()}function f7(e,t,n){for(var r=e,i=null;null!==r;){var o=r.subtreeFlags&t;r!==i&&null!==r.child&&0!==o?r=r.child:((r.flags&t)!=0&&n(r),r=null!==r.sibling?r.sibling:i=r.return)}}var pe=null;function pt(e){if((2&d5)==0&&1&e.mode){var t=e.tag;if(2===t||3===t||1===t||0===t||11===t||14===t||15===t){var n=tR(e)||"ReactComponent";if(null!==pe){if(pe.has(n))return;pe.add(n)}else pe=new Set([n]);var r=tI;try{tD(e),eM("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{r?tD(e):tM()}}}}eS=function(e,t,n){var r=pk(null,t);try{return dc(e,t,n)}catch(o){if(sU||null!==o&&"object"==typeof o&&"function"==typeof o.then)throw o;if(lf(),uS(),dg(e,t),pk(t,r),2&t.mode&&cO(t),rc(null,dc,null,e,t,n),ro){var i=rd();"object"==typeof i&&null!==i&&i._suppressLogging&&"object"==typeof o&&null!==o&&!o._suppressLogging&&(o._suppressLogging=!0)}throw o}};var pn=!1;function pr(e,t){rL&&e.memoizedUpdaters.forEach(function(n){io(e,n,t)})}ek=new Set;var pi={};function po(e,t){var n=d6.current;return null!==n?(n.push(t),pi):rw(e,t)}function pa(e){if(e!==pi)return rx(e)}function ps(){return null!==d6.current}var pl=null,pu=null;function pc(e){if(null===pl)return e;var t=pl(e);return void 0===t?e:t.current}function pd(e){if(null===pl)return e;var t=pl(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=pc(e.render);if(e.render!==n){var r={$$typeof:tu,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function pf(e,t){if(null===pl)return!1;var n=e.elementType,r=t.type,i=!1,o="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case 1:"function"==typeof r&&(i=!0);break;case 0:"function"==typeof r?i=!0:o===tp&&(i=!0);break;case 11:o===tu?i=!0:o===tp&&(i=!0);break;case 14:case 15:o===tf?i=!0:o===tp&&(i=!0);break;default:return!1}if(i){var a=pl(n);if(void 0!==a&&a===pl(r))return!0}return!1}function pp(e){null!==pl&&"function"==typeof WeakSet&&(null===pu&&(pu=new WeakSet),pu.add(e))}eE=!1;try{Object.preventExtensions({})}catch(e){eE=!0}function ph(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.flags=0,this.subtreeFlags=0,this.deletions=null,this.lanes=0,this.childLanes=0,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,eE||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var pm=function(e,t,n,r){return new ph(e,t,n,r)};function pg(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function py(e,t){var n=e.alternate;null===n?((n=pm(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),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;var r=e.dependencies;switch(n.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 2:case 0:case 15:case 1:n.type=pc(e.type);break;case 11:n.type=pd(e.type)}return n}function pv(e,t,n,r,i,o){var a,s,l,u,c=2,d=e;if("function"==typeof e)pg(e)&&(c=1),d=pc(d);else if("string"==typeof e)c=5;else i:switch(e){case ti:return pw(n.children,i,o,t);case to:c=8,(1&(i|=8))!=0&&(i|=16);break;case ta:return a=i,"string"!=typeof n.id&&eM('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof n.id),(s=pm(12,n,t,2|a)).elementType=ta,s.lanes=o,s.stateNode={effectDuration:0,passiveEffectDuration:0},s;case tc:return(l=pm(13,n,t,i)).elementType=tc,l.lanes=o,l;case td:return(u=pm(19,n,t,i)).elementType=td,u.lanes=o,u;case th:return px(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ts:c=10;break i;case tl:c=9;break i;case tu:c=11,d=pd(d);break i;case tf:c=14;break i;case tp:c=16,d=null;break i}var f="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(f+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var p=r?tR(r):null;throw p&&(f+="\n\nCheck the render method of `"+p+"`."),Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+f)}var h=pm(c,n,t,i);return h.elementType=e,h.type=d,h.lanes=o,h._debugOwner=r,h}function pb(e,t,n){var r=null;r=e._owner;var i=pv(e.type,e.key,e.props,r,t,n);return i._debugSource=e._source,i._debugOwner=e._owner,i}function pw(e,t,n,r){var i=pm(7,e,r,t);return i.lanes=n,i}function px(e,t,n,r){var i=pm(22,e,r,t);return i.elementType=th,i.lanes=n,i.stateNode={isHidden:!1},i}function p_(e,t,n){var r=pm(6,e,null,t);return r.lanes=n,r}function pS(e,t,n){var r=pm(4,null!==e.children?e.children:[],e.key,t);return r.lanes=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function pk(e,t){return null===e&&(e=pm(2,null,null,0)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function pE(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=-1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=ie(0),this.expirationTimes=ie(-1),this.pendingLanes=0,this.suspendedLanes=0,this.pingedLanes=0,this.expiredLanes=0,this.mutableReadLanes=0,this.finishedLanes=0,this.entangledLanes=0,this.entanglements=ie(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var o=this.pendingUpdatersLaneMap=[],a=0;a<rJ;a++)o.push(new Set);switch(t){case 1:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case 0:this._debugRootType=n?"hydrate()":"render()"}}function pT(e,t,n,r,i,o,a,s,l,u){var c,d=new pE(e,t,n,s,l),f=(1===t?(c=1,!0===o&&(c|=8,c|=16)):c=0,rL&&(c|=2),pm(3,null,null,c));return d.current=f,f.stateNode=d,f.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},lS(f),d}var pC="18.2.0";function pR(e){if(!e)return sr;var t=rf(e),n=function(e){if(rh(e)!==e||1!==e.tag)throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case 3:return t.stateNode.context;case 1:if(sd(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t)throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}(t);if(1===t.tag){var r=t.type;if(sd(r))return sm(t,r,n)}return n}function pO(e,t,n,r,i,o,a,s,l,u){var c=pT(n,r,!0,e,i,o,a,s,l);c.context=pR(null);var d=c.current,f=fj(),p=fP(d),h=lE(f,p);return h.callback=null!=t?t:null,lT(d,h,p),c.current.lanes=p,it(c,p,f),fD(c,f),c}function pI(e,t,n,r){!function(e,t){if(rM&&"function"==typeof rM.onScheduleFiberRoot)try{rM.onScheduleFiberRoot(rP,e,t)}catch(e){rN||(rN=!0,eM("React instrumentation encountered an error: %s",e))}}(t,e);var i=t.current,o=fj(),a=fP(i);null!==rD&&"function"==typeof rD.markRenderScheduled&&rD.markRenderScheduled(a);var s=pR(n);null===t.context?t.context=s:t.pendingContext=s,tA&&null!==tI&&!eT&&(eT=!0,eM("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",tR(tI)||"Unknown"));var l=lE(o,a);l.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&eM("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),l.callback=r);var u=lT(i,l,a);return null!==u&&(fM(u,i,a,o),lC(u,i,a)),a}function pA(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function pj(e,t){var n,r=e.memoizedState;null!==r&&null!==r.dehydrated&&(r.retryLane=0!==(n=r.retryLane)&&n<t?n:t)}function pP(e,t){pj(e,t);var n=e.alternate;n&&pj(n,t)}function pM(e){var t,n=null!==(t=rv(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(var n=t.child;null!==n;){if(4!==n.tag){var r=e(n);if(null!==r)return r}n=n.sibling}return null}(t):null;return null===n?null:n.stateNode}eT=!1,eC={};var pD=function(e){return null},pN=function(e){return!1},pL=null,pF=null,pz=null,p$=null,pU=null,pB=null,pW=null,pH=null,pV=null,pq=function(e,t,n){var r=t[n],i=t6(e)?e.slice():ty({},e);return n+1===t.length?t6(i)?i.splice(r,1):delete i[r]:i[r]=pq(e[r],t,n+1),i},pY=function(e,t){return pq(e,t,0)},pG=function(e,t,n,r){var i=t[r],o=t6(e)?e.slice():ty({},e);return r+1===t.length?(o[n[r]]=o[i],t6(o))?o.splice(i,1):delete o[i]:o[i]=pG(e[i],t,n,r+1),o},pK=function(e,t,n){if(t.length!==n.length){eP("copyWithRename() expects paths of the same length");return}for(var r=0;r<n.length-1;r++)if(t[r]!==n[r]){eP("copyWithRename() expects paths to be the same except for the deepest key");return}return pG(e,t,n,0)},pQ=function(e,t,n,r){if(n>=t.length)return r;var i=t[n],o=t6(e)?e.slice():ty({},e);return o[i]=pQ(e[i],t,n+1,r),o},pX=function(e,t,n){return pQ(e,t,0,n)},pJ=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};pL=function(e,t,n,r){var i=pJ(e,t);if(null!==i){var o=pX(i.memoizedState,n,r);i.memoizedState=o,i.baseState=o,e.memoizedProps=ty({},e.memoizedProps);var a=lx(e,1);null!==a&&fM(a,e,1,-1)}},pF=function(e,t,n){var r=pJ(e,t);if(null!==r){var i=pY(r.memoizedState,n);r.memoizedState=i,r.baseState=i,e.memoizedProps=ty({},e.memoizedProps);var o=lx(e,1);null!==o&&fM(o,e,1,-1)}},pz=function(e,t,n,r){var i=pJ(e,t);if(null!==i){var o=pK(i.memoizedState,n,r);i.memoizedState=o,i.baseState=o,e.memoizedProps=ty({},e.memoizedProps);var a=lx(e,1);null!==a&&fM(a,e,1,-1)}},p$=function(e,t,n){e.pendingProps=pX(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=lx(e,1);null!==r&&fM(r,e,1,-1)},pU=function(e,t){e.pendingProps=pY(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=lx(e,1);null!==n&&fM(n,e,1,-1)},pB=function(e,t,n){e.pendingProps=pK(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=lx(e,1);null!==r&&fM(r,e,1,-1)},pW=function(e){var t=lx(e,1);null!==t&&fM(t,e,1,-1)},pH=function(e){pD=e},pV=function(e){pN=e};var pZ="function"==typeof reportError?reportError:function(e){console.error(e)};function p0(e){this._internalRoot=e}function p1(e){this._internalRoot=e}function p2(e){return!!(e&&(1===e.nodeType||9===e.nodeType||11===e.nodeType))}function p3(e){return!!(e&&(1===e.nodeType||9===e.nodeType||11===e.nodeType||8===e.nodeType&&" react-mount-point-unstable "===e.nodeValue))}function p4(e){1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&eM("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),e[aQ]&&(e._reactRootContainer?eM("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):eM("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}p1.prototype.render=p0.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?eM("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):p2(arguments[1])?eM("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&eM("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(8!==n.nodeType){var r=pM(t.current);r&&r.parentNode!==n&&eM("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}pI(e,t,null,null)},p1.prototype.unmount=p0.prototype.unmount=function(){"function"==typeof arguments[0]&&eM("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;(6&d5)!=0&&eM("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),fB(function(){pI(null,e,null,null)}),t[aQ]=null}},p1.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t,n=I(),r={blockedOn:null,target:e,priority:n},i=0;i<iv.length&&(t=iv[i].priority,0!==n&&n<t);i++);iv.splice(i,0,r),0===i&&i_(r)}(e)};var p6=eA.ReactCurrentOwner;function p5(e){return e?9===e.nodeType?e.documentElement:e.firstChild:null}function p8(){}function p9(e,t,n,r,i){eR(n),a="render",null!==(o=void 0===i?null:i)&&"function"!=typeof o&&eM("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a,o);var o,a,s,l=n._reactRootContainer;if(l){if(s=l,"function"==typeof i){var u=i;i=function(){var e=pA(s);u.call(e)}}pI(t,s,e,i)}else s=function(e,t,n,r,i){if(i){if("function"==typeof r){var o,a,s=r;r=function(){var e=pA(l);s.call(e)}}var l=pO(t,r,e,0,null,!1,!1,"",p8);return e._reactRootContainer=l,a=l.current,e[aQ]=a,o6(8===e.nodeType?e.parentNode:e),fB(),l}for(;u=e.lastChild;)e.removeChild(u);if("function"==typeof r){var u,c=r;r=function(){var e=pA(d);c.call(e)}}var d=pT(e,0,!1,null,null,!1,!1,"",p8);return e._reactRootContainer=d,o=d.current,e[aQ]=o,o6(8===e.nodeType?e.parentNode:e),fB(function(){pI(t,d,n,r)}),d}(n,t,e,i,r);return pA(s)}eR=function(e){if(e._reactRootContainer&&8!==e.nodeType){var t=pM(e._reactRootContainer.current);t&&t.parentNode!==e&&eM("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=p5(e);r&&a1(r)&&!n&&eM("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&eM("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")},C=function(e){switch(e.tag){case 3:var t=e.stateNode;if(iu(t)){var n=r1(t.pendingLanes);0!==n&&(ii(t,1|n),fD(t,rk()),(6&d5)==0&&(fh(),s_()))}break;case 13:fB(function(){var t=lx(e,1);null!==t&&fM(t,e,1,fj())}),pP(e,1)}},R=function(e){if(13===e.tag){var t=lx(e,134217728);null!==t&&fM(t,e,134217728,fj()),pP(e,134217728)}},O=function(e){if(13===e.tag){var t=fP(e),n=lx(e,t);null!==n&&fM(n,e,t,fj()),pP(e,t)}},I=function(){return is},A=function(e,t){var n=is;try{return is=e,t()}finally{is=n}},("function"!=typeof Map||null==Map.prototype||"function"!=typeof Map.prototype.forEach||"function"!=typeof Set||null==Set.prototype||"function"!=typeof Set.prototype.clear||"function"!=typeof Set.prototype.forEach)&&eM("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),nJ=function(e,t,n){var r;switch(t){case"input":tJ(e,n),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var r=e;r.parentNode;)r=r.parentNode;eV(n,"name");for(var i=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),o=0;o<i.length;o++){var a=i[o];if(a!==e&&a.form===e.form){var s=a3(a);if(!s)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");tB(a),tJ(a,s)}}}}(e,n);return;case"textarea":ni(e,n);return;case"select":null!=(r=n.value)&&t9(e,!!n.multiple,r,!1);return}},n4=fU,n6=fB;var p7={usingClientEntryPoint:!1,Events:[a1,a2,a3,n2,n3,fU]};if(h=(t={findFiberByHostInstance:a0,bundleType:1,version:pC,rendererPackageName:"react-dom"}).findFiberByHostInstance,m=eA.ReactCurrentDispatcher,!function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return eM("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{e=ty({},e,{getLaneLabelMap:r$,injectProfilingHooks:rz}),rP=t.inject(e),rM=t}catch(e){eM("React instrumentation encountered an error: %s.",e)}return!!t.checkDCE}({bundleType:t.bundleType,version:t.version,rendererPackageName:t.rendererPackageName,rendererConfig:t.rendererConfig,overrideHookState:pL,overrideHookStateDeletePath:pF,overrideHookStateRenamePath:pz,overrideProps:p$,overridePropsDeletePath:pU,overridePropsRenamePath:pB,setErrorHandler:pH,setSuspenseHandler:pV,scheduleUpdate:pW,currentDispatcherRef:m,findHostInstanceByFiber:function(e){var t=rb(e);return null===t?null:t.stateNode},findFiberByHostInstance:h||function(e){return null},findHostInstancesForRefresh:function(e,t){var n=new Set,r=new Set(t.map(function(e){return e.current}));return function e(t,n,r){var i=t.child,o=t.sibling,a=t.tag,s=t.type,l=null;switch(a){case 0:case 15:case 1:l=s;break;case 11:l=s.render}var u=!1;null!==l&&n.has(l)&&(u=!0),u?function(e,t){if(!function(e,t){for(var n=e,r=!1;;){if(5===n.tag)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t))for(var n=e;;){switch(n.tag){case 5:t.add(n.stateNode);return;case 4:case 3:t.add(n.stateNode.containerInfo);return}if(null===n.return)throw Error("Expected to reach root first.");n=n.return}}(t,r):null!==i&&e(i,n,r),null!==o&&e(o,n,r)}(e.current,r,n),n},scheduleRefresh:function(e,t){if(null!==pl){var n=t.staleFamilies,r=t.updatedFamilies;fZ(),fB(function(){(function e(t,n,r){var i=t.alternate,o=t.child,a=t.sibling,s=t.tag,l=t.type,u=null;switch(s){case 0:case 15:case 1:u=l;break;case 11:u=l.render}if(null===pl)throw Error("Expected resolveFamily to be set during hot reload.");var c=!1,d=!1;if(null!==u){var f=pl(u);void 0!==f&&(r.has(f)?d=!0:n.has(f)&&(1===s?d=!0:c=!0))}if(null!==pu&&(pu.has(t)||null!==i&&pu.has(i))&&(d=!0),d&&(t._debugNeedsRemount=!0),d||c){var p=lx(t,1);null!==p&&fM(p,t,1,-1)}null===o||d||e(o,n,r),null!==a&&e(a,n,r)})(e.current,r,n)})}},scheduleRoot:function(e,t){e.context===sr&&(fZ(),fB(function(){pI(t,e,null,null)}))},setRefreshHandler:function(e){pl=e},getCurrentFiber:function(){return tI},reconcilerVersion:pC})&&eU&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var he=window.location.protocol;/^(https?|file):$/.test(he)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===he?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}n=p7,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!p2(t))throw Error("Target container is not a DOM element.");return function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return eH(r)&&eM("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",eW(r)),{$$typeof:tr,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},i=function(e,t){return p7.usingClientEntryPoint||eM('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!p2(e))throw Error("createRoot(...): Target container is not a DOM element.");p4(e);var n,r=!1,i="",o=pZ;null!=t&&(t.hydrate?eP("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===tn&&eM("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var a=pT(e,1,!1,null,null,r,!1,i,o);return n=a.current,e[aQ]=n,o6(8===e.nodeType?e.parentNode:e),new p0(a)}(e,t)},o=function(e){var t=p6.current;return(null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||eM("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",tT(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e)?null:1===e.nodeType?e:function(e,t){var n=rf(e);if(void 0===n){if("function"==typeof e.render)throw Error("Unable to find node on an unmounted component.");throw Error("Argument appears to not be a ReactComponent. Keys: "+Object.keys(e).join(","))}var r=rb(n);if(null===r)return null;if(8&r.mode){var i=tR(n)||"Component";if(!eC[i]){eC[i]=!0;var o=tI;try{tD(r),8&n.mode?eM("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):eM("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{o?tD(o):tM()}}}return r.stateNode}(e,"findDOMNode")},a=function(e){return(6&d5)!=0&&eM("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),fB(e)},s=function(e,t,n){if(eM("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!p3(t))throw Error("Target container is not a DOM element.");return t[aQ]&&void 0===t._reactRootContainer&&eM("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),p9(null,e,t,!0,n)},l=function(e,t,n){return p7.usingClientEntryPoint||eM('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t,n){if(!p2(e))throw Error("hydrateRoot(...): Target container is not a DOM element.");p4(e),void 0===t&&eM("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r,i=null!=n&&n.hydratedSources||null,o=!1,a="",s=pZ;null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError));var l=pO(t,null,e,1,null!=n?n:null,o,!1,a,s);if(r=l.current,e[aQ]=r,o6(e),i)for(var u=0;u<i.length;u++)!function(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}(l,i[u]);return new p1(l)}(e,t,n)},u=function(e,t,n){if(eM("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!p3(t))throw Error("Target container is not a DOM element.");return t[aQ]&&void 0===t._reactRootContainer&&eM("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),p9(null,e,t,!1,n)},c=function(e){if(!p3(e))throw Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(e[aQ]&&void 0===e._reactRootContainer&&eM("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=p5(e);return t&&!a1(t)&&eM("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),fB(function(){p9(null,null,e,!1,function(){e._reactRootContainer=null,e[aQ]=null})}),!0}var n=p5(e),r=!!(n&&a1(n)),i=1===e.nodeType&&p3(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&eM("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",i?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},d=fU,f=function(e,t,n,r){return function(e,t,n,r){if(eM("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!p3(n))throw Error("Target container is not a DOM element.");if(null==e||!(void 0!==e._reactInternals))throw Error("parentComponent must be a valid React Component");return p9(e,t,n,!1,r)}(e,t,n,r)},p=pC,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}),el("3g6U8",function(e,t){e.exports=es("6P3OR")}),el("6P3OR",function(e,t){var n,r,i,o,a,s,l,u,c,d,f,p,h,m,g,y,v,b,w;k(e.exports,"unstable_now",()=>n,e=>n=e),k(e.exports,"unstable_IdlePriority",()=>r,e=>r=e),k(e.exports,"unstable_ImmediatePriority",()=>i,e=>i=e),k(e.exports,"unstable_LowPriority",()=>o,e=>o=e),k(e.exports,"unstable_NormalPriority",()=>a,e=>a=e),k(e.exports,"unstable_Profiling",()=>s,e=>s=e),k(e.exports,"unstable_UserBlockingPriority",()=>l,e=>l=e),k(e.exports,"unstable_cancelCallback",()=>u,e=>u=e),k(e.exports,"unstable_continueExecution",()=>c,e=>c=e),k(e.exports,"unstable_forceFrameRate",()=>d,e=>d=e),k(e.exports,"unstable_getCurrentPriorityLevel",()=>f,e=>f=e),k(e.exports,"unstable_getFirstCallbackNode",()=>p,e=>p=e),k(e.exports,"unstable_next",()=>h,e=>h=e),k(e.exports,"unstable_pauseExecution",()=>m,e=>m=e),k(e.exports,"unstable_requestPaint",()=>g,e=>g=e),k(e.exports,"unstable_runWithPriority",()=>y,e=>y=e),k(e.exports,"unstable_scheduleCallback",()=>v,e=>v=e),k(e.exports,"unstable_shouldYield",()=>b,e=>b=e),k(e.exports,"unstable_wrapCallback",()=>w,e=>w=e),function(){function e(e,t){var n=e.length;e.push(t),function(e,t,n){for(var r=n;r>0;){var i=r-1>>>1,o=e[i];if(!(_(o,t)>0))return;e[i]=t,e[r]=o,r=i}}(e,t,n)}function t(e){return 0===e.length?null:e[0]}function x(e){if(0===e.length)return null;var t=e[0],n=e.pop();return n!==t&&(e[0]=n,function(e,t,n){for(var r=0,i=e.length,o=i>>>1;r<o;){var a=(r+1)*2-1,s=e[a],l=a+1,u=e[l];if(0>_(s,t))l<i&&0>_(u,s)?(e[r]=u,e[l]=t,r=l):(e[r]=s,e[a]=t,r=a);else{if(!(l<i&&0>_(u,t)))return;e[r]=u,e[l]=t,r=l}}}(e,n,0)),t}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),"object"==typeof performance&&"function"==typeof performance.now){var S,k=performance;n=function(){return k.now()}}else{var E=Date,T=E.now();n=function(){return E.now()-T}}var C=[],R=[],O=1,I=null,A=3,j=!1,P=!1,M=!1,D="function"==typeof setTimeout?setTimeout:null,N="function"==typeof clearTimeout?clearTimeout:null,L="undefined"!=typeof setImmediate?setImmediate:null;function F(n){for(var r=t(R);null!==r;){if(null===r.callback)x(R);else{if(!(r.startTime<=n))return;x(R),r.sortIndex=r.expirationTime,e(C,r)}r=t(R)}}function z(e){if(M=!1,F(e),!P){if(null!==t(C))P=!0,Q($);else{var n=t(R);null!==n&&X(z,n.startTime-e)}}}function $(e,r){P=!1,M&&(M=!1,N(W),W=-1),j=!0;var i=A;try{return function(e,r){var i=r;for(F(i),I=t(C);null!==I&&!(I.expirationTime>i&&(!e||q()));){var o=I.callback;if("function"==typeof o){I.callback=null,A=I.priorityLevel;var a=o(I.expirationTime<=i);i=n(),"function"==typeof a?I.callback=a:I===t(C)&&x(C),F(i)}else x(C);I=t(C)}if(null!==I)return!0;var s=t(R);return null!==s&&X(z,s.startTime-i),!1}(e,r)}finally{I=null,A=i,j=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var U=!1,B=null,W=-1,H=5,V=-1;function q(){return!(n()-V<H)}var Y=function(){if(null!==B){var e=n();V=e;var t=!0;try{t=B(!0,e)}finally{t?S():(U=!1,B=null)}}else U=!1};if("function"==typeof L)S=function(){L(Y)};else if("undefined"!=typeof MessageChannel){var G=new MessageChannel,K=G.port2;G.port1.onmessage=Y,S=function(){K.postMessage(null)}}else S=function(){D(Y,0)};function Q(e){B=e,U||(U=!0,S())}function X(e,t){W=D(function(){e(n())},t)}r=5,i=1,o=4,a=3,s=null,l=2,u=function(e){e.callback=null},c=function(){P||j||(P=!0,Q($))},d=function(e){if(e<0||e>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}H=e>0?Math.floor(1e3/e):5},f=function(){return A},p=function(){return t(C)},h=function(e){switch(A){case 1:case 2:case 3:t=3;break;default:t=A}var t,n=A;A=t;try{return e()}finally{A=n}},m=function(){},g=function(){},y=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=A;A=e;try{return t()}finally{A=n}},v=function(r,i,o){var a,s,l=n();if("object"==typeof o&&null!==o){var u=o.delay;a="number"==typeof u&&u>0?l+u:l}else a=l;switch(r){case 1:s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}var c=a+s,d={id:O++,callback:i,priorityLevel:r,startTime:a,expirationTime:c,sortIndex:-1};return a>l?(d.sortIndex=a,e(R,d),null===t(C)&&d===t(R)&&(M?(N(W),W=-1):M=!0,X(z,a-l))):(d.sortIndex=c,e(C,d),P||j||(P=!0,Q($))),d},b=q,w=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}),el("4Up6t",function(e,t){(function(){var n,r="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",a=1/0,s=0/0,l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",c="[object Array]",d="[object Boolean]",f="[object Date]",p="[object Error]",h="[object Function]",m="[object GeneratorFunction]",g="[object Map]",y="[object Number]",v="[object Object]",b="[object Promise]",w="[object RegExp]",x="[object Set]",_="[object String]",S="[object Symbol]",k="[object WeakMap]",E="[object ArrayBuffer]",T="[object DataView]",C="[object Float32Array]",R="[object Float64Array]",O="[object Int8Array]",I="[object Int16Array]",A="[object Int32Array]",j="[object Uint8Array]",P="[object Uint8ClampedArray]",M="[object Uint16Array]",D="[object Uint32Array]",N=/\b__p \+= '';/g,L=/\b(__p \+=) '' \+/g,F=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,U=RegExp(z.source),B=RegExp($.source),W=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(K.source),X=/^\s+/,J=/\s/,Z=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ee=/\{\n\/\* \[wrapped with (.+)\] \*/,et=/,? & /,en=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ei=/[()=,{}\[\]\/\s]/,eo=/\\(\\)?/g,ea=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,es=/\w*$/,el=/^[-+]0x[0-9a-f]+$/i,eu=/^0b[01]+$/i,ec=/^\[object .+?Constructor\]$/,ed=/^0o[0-7]+$/i,ef=/^(?:0|[1-9]\d*)$/,ep=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,eh=/($^)/,em=/['\n\r\u2028\u2029\\]/g,eg="\ud800-\udfff",ey="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ev="\\u2700-\\u27bf",eb="a-z\\xdf-\\xf6\\xf8-\\xff",ew="A-Z\\xc0-\\xd6\\xd8-\\xde",ex="\\ufe0e\\ufe0f",e_="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",eS="['’]",ek="["+e_+"]",eE="["+ey+"]",eT="["+eb+"]",eC="[^"+eg+e_+"\\d+"+ev+eb+ew+"]",eR="\ud83c[\udffb-\udfff]",eO="[^"+eg+"]",eI="(?:\ud83c[\udde6-\uddff]){2}",eA="[\ud800-\udbff][\udc00-\udfff]",ej="["+ew+"]",eP="\\u200d",eM="(?:"+eT+"|"+eC+")",eD="(?:"+eS+"(?:d|ll|m|re|s|t|ve))?",eN="(?:"+eS+"(?:D|LL|M|RE|S|T|VE))?",eL="(?:"+eE+"|"+eR+")?",eF="["+ex+"]?",ez="(?:"+eP+"(?:"+[eO,eI,eA].join("|")+")"+eF+eL+")*",e$=eF+eL+ez,eU="(?:"+["["+ev+"]",eI,eA].join("|")+")"+e$,eB="(?:"+[eO+eE+"?",eE,eI,eA,"["+eg+"]"].join("|")+")",eW=RegExp(eS,"g"),eH=RegExp(eE,"g"),eV=RegExp(eR+"(?="+eR+")|"+eB+e$,"g"),eq=RegExp([ej+"?"+eT+"+"+eD+"(?="+[ek,ej,"$"].join("|")+")","(?:"+ej+"|"+eC+")+"+eN+"(?="+[ek,ej+eM,"$"].join("|")+")",ej+"?"+eM+"+"+eD,ej+"+"+eN,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",eU].join("|"),"g"),eY=RegExp("["+eP+eg+ey+ex+"]"),eG=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eK=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eQ=-1,eX={};eX[C]=eX[R]=eX[O]=eX[I]=eX[A]=eX[j]=eX[P]=eX[M]=eX[D]=!0,eX[u]=eX[c]=eX[E]=eX[d]=eX[T]=eX[f]=eX[p]=eX[h]=eX[g]=eX[y]=eX[v]=eX[w]=eX[x]=eX[_]=eX[k]=!1;var eJ={};eJ[u]=eJ[c]=eJ[E]=eJ[T]=eJ[d]=eJ[f]=eJ[C]=eJ[R]=eJ[O]=eJ[I]=eJ[A]=eJ[g]=eJ[y]=eJ[v]=eJ[w]=eJ[x]=eJ[_]=eJ[S]=eJ[j]=eJ[P]=eJ[M]=eJ[D]=!0,eJ[p]=eJ[h]=eJ[k]=!1;var eZ={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e0=parseFloat,e1=parseInt,e2="object"==typeof er&&er&&er.Object===Object&&er,e3="object"==typeof self&&self&&self.Object===Object&&self,e4=e2||e3||Function("return this")(),e6=t&&!t.nodeType&&t,e5=e6&&e&&!e.nodeType&&e,e8=e5&&e5.exports===e6,e9=e8&&e2.process,e7=function(){try{var e=e5&&e5.require&&e5.require("util").types;if(e)return e;return e9&&e9.binding&&e9.binding("util")}catch(e){}}(),te=e7&&e7.isArrayBuffer,tt=e7&&e7.isDate,tn=e7&&e7.isMap,tr=e7&&e7.isRegExp,ti=e7&&e7.isSet,to=e7&&e7.isTypedArray;function ta(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function ts(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function tl(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function tu(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function tc(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function td(e,t){return!!(null==e?0:e.length)&&tx(e,t,0)>-1}function tf(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function tp(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function th(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function tm(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function tg(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function ty(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var tv=tE("length");function tb(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function tw(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return -1}function tx(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1}(e,t,n):tw(e,tS,n)}function t_(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return -1}function tS(e){return e!=e}function tk(e,t){var n=null==e?0:e.length;return n?tR(e,t)/n:s}function tE(e){return function(t){return null==t?n:t[e]}}function tT(e){return function(t){return null==e?n:e[t]}}function tC(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function tR(e,t){for(var r,i=-1,o=e.length;++i<o;){var a=t(e[i]);a!==n&&(r=r===n?a:r+a)}return r}function tO(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function tI(e){return e?e.slice(0,tq(e)+1).replace(X,""):e}function tA(e){return function(t){return e(t)}}function tj(e,t){return tp(t,function(t){return e[t]})}function tP(e,t){return e.has(t)}function tM(e,t){for(var n=-1,r=e.length;++n<r&&tx(t,e[n],0)>-1;);return n}function tD(e,t){for(var n=e.length;n--&&tx(t,e[n],0)>-1;);return n}var tN=tT({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tL=tT({"&":"&","<":"<",">":">",'"':""","'":"'"});function tF(e){return"\\"+eZ[e]}function tz(e){return eY.test(e)}function t$(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function tU(e,t){return function(n){return e(t(n))}}function tB(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var s=e[n];(s===t||s===o)&&(e[n]=o,a[i++]=n)}return a}function tW(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function tH(e){return tz(e)?function(e){for(var t=eV.lastIndex=0;eV.test(e);)++t;return t}(e):tv(e)}function tV(e){return tz(e)?e.match(eV)||[]:e.split("")}function tq(e){for(var t=e.length;t--&&J.test(e.charAt(t)););return t}var tY=tT({"&":"&","<":"<",">":">",""":'"',"'":"'"}),tG=function e(t){var J,er,eg,ey,ev=(t=null==t?e4:tG.defaults(e4.Object(),t,tG.pick(e4,eK))).Array,eb=t.Date,ew=t.Error,ex=t.Function,e_=t.Math,eS=t.Object,ek=t.RegExp,eE=t.String,eT=t.TypeError,eC=ev.prototype,eR=ex.prototype,eO=eS.prototype,eI=t["__core-js_shared__"],eA=eR.toString,ej=eO.hasOwnProperty,eP=0,eM=(J=/[^.]+$/.exec(eI&&eI.keys&&eI.keys.IE_PROTO||""))?"Symbol(src)_1."+J:"",eD=eO.toString,eN=eA.call(eS),eL=e4._,eF=ek("^"+eA.call(ej).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ez=e8?t.Buffer:n,e$=t.Symbol,eU=t.Uint8Array,eB=ez?ez.allocUnsafe:n,eV=tU(eS.getPrototypeOf,eS),eY=eS.create,eZ=eO.propertyIsEnumerable,e2=eC.splice,e3=e$?e$.isConcatSpreadable:n,e6=e$?e$.iterator:n,e5=e$?e$.toStringTag:n,e9=function(){try{var e=ih(eS,"defineProperty");return e({},"",{}),e}catch(e){}}(),e7=t.clearTimeout!==e4.clearTimeout&&t.clearTimeout,tv=eb&&eb.now!==e4.Date.now&&eb.now,tT=t.setTimeout!==e4.setTimeout&&t.setTimeout,tK=e_.ceil,tQ=e_.floor,tX=eS.getOwnPropertySymbols,tJ=ez?ez.isBuffer:n,tZ=t.isFinite,t0=eC.join,t1=tU(eS.keys,eS),t2=e_.max,t3=e_.min,t4=eb.now,t6=t.parseInt,t5=e_.random,t8=eC.reverse,t9=ih(t,"DataView"),t7=ih(t,"Map"),ne=ih(t,"Promise"),nt=ih(t,"Set"),nn=ih(t,"WeakMap"),nr=ih(eS,"create"),ni=nn&&new nn,no={},na=iz(t9),ns=iz(t7),nl=iz(ne),nu=iz(nt),nc=iz(nn),nd=e$?e$.prototype:n,nf=nd?nd.valueOf:n,np=nd?nd.toString:n;function nh(e){if(oq(e)&&!oD(e)&&!(e instanceof nv)){if(e instanceof ny)return e;if(ej.call(e,"__wrapped__"))return i$(e)}return new ny(e)}var nm=function(){function e(){}return function(t){if(!oV(t))return{};if(eY)return eY(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function ng(){}function ny(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function nv(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function nb(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function nw(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function nx(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function n_(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new nx;++t<n;)this.add(e[t])}function nS(e){var t=this.__data__=new nw(e);this.size=t.size}function nk(e,t){var n=oD(e),r=!n&&oM(e),i=!n&&!r&&oz(e),o=!n&&!r&&!i&&o0(e),a=n||r||i||o,s=a?tO(e.length,eE):[],l=s.length;for(var u in e)(t||ej.call(e,u))&&!(a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ix(u,l)))&&s.push(u);return s}function nE(e){var t=e.length;return t?e[ru(0,t-1)]:n}function nT(e,t,r){(r===n||oA(e[t],r))&&(r!==n||t in e)||nA(e,t,r)}function nC(e,t,r){var i=e[t];ej.call(e,t)&&oA(i,r)&&(r!==n||t in e)||nA(e,t,r)}function nR(e,t){for(var n=e.length;n--;)if(oA(e[n][0],t))return n;return -1}function nO(e,t,n,r){return nF(e,function(e,i,o){t(r,e,n(e),o)}),r}function nI(e,t){return e&&rU(t,af(t),e)}function nA(e,t,n){"__proto__"==t&&e9?e9(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function nj(e,t){for(var r=-1,i=t.length,o=ev(i),a=null==e;++r<i;)o[r]=a?n:as(e,t[r]);return o}function nP(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function nM(e,t,r,i,o,a){var s,l=1&t,c=2&t,p=4&t;if(r&&(s=o?r(e,i,o,a):r(e)),s!==n)return s;if(!oV(e))return e;var b=oD(e);if(b){if(k=e.length,N=new e.constructor(k),k&&"string"==typeof e[0]&&ej.call(e,"index")&&(N.index=e.index,N.input=e.input),s=N,!l)return r$(e,s)}else{var k,N,L,F,z,$=iy(e),U=$==h||$==m;if(oz(e))return rM(e,l);if($==v||$==u||U&&!o){if(s=c||U?{}:ib(e),!l)return c?(L=(z=s)&&rU(e,ap(e),z),rU(e,ig(e),L)):(F=nI(s,e),rU(e,im(e),F))}else{if(!eJ[$])return o?e:{};s=function(e,t,n){var r,i,o=e.constructor;switch(t){case E:return rD(e);case d:case f:return new o(+e);case T:return r=n?rD(e.buffer):e.buffer,new e.constructor(r,e.byteOffset,e.byteLength);case C:case R:case O:case I:case A:case j:case P:case M:case D:return rN(e,n);case g:return new o;case y:case _:return new o(e);case w:return(i=new e.constructor(e.source,es.exec(e))).lastIndex=e.lastIndex,i;case x:return new o;case S:return nf?eS(nf.call(e)):{}}}(e,$,l)}}a||(a=new nS);var B=a.get(e);if(B)return B;a.set(e,s),oX(e)?e.forEach(function(n){s.add(nM(n,t,r,n,e,a))}):oY(e)&&e.forEach(function(n,i){s.set(i,nM(n,t,r,i,e,a))});var W=p?c?ia:io:c?ap:af,H=b?n:W(e);return tl(H||e,function(n,i){H&&(n=e[i=n]),nC(s,i,nM(n,t,r,i,e,a))}),s}function nD(e,t,r){var i=r.length;if(null==e)return!i;for(e=eS(e);i--;){var o=r[i],a=t[o],s=e[o];if(s===n&&!(o in e)||!a(s))return!1}return!0}function nN(e,t,i){if("function"!=typeof e)throw new eT(r);return ij(function(){e.apply(n,i)},t)}function nL(e,t,n,r){var i=-1,o=td,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=tp(t,tA(n))),r?(o=tf,a=!1):t.length>=200&&(o=tP,a=!1,t=new n_(t));r:for(;++i<s;){var c=e[i],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d==d){for(var f=u;f--;)if(t[f]===d)continue r;l.push(c)}else o(t,d,r)||l.push(c)}return l}nh.templateSettings={escape:W,evaluate:H,interpolate:V,variable:"",imports:{_:nh}},nh.prototype=ng.prototype,nh.prototype.constructor=nh,ny.prototype=nm(ng.prototype),ny.prototype.constructor=ny,nv.prototype=nm(ng.prototype),nv.prototype.constructor=nv,nb.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},nb.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},nb.prototype.get=function(e){var t=this.__data__;if(nr){var r=t[e];return r===i?n:r}return ej.call(t,e)?t[e]:n},nb.prototype.has=function(e){var t=this.__data__;return nr?t[e]!==n:ej.call(t,e)},nb.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nr&&t===n?i:t,this},nw.prototype.clear=function(){this.__data__=[],this.size=0},nw.prototype.delete=function(e){var t=this.__data__,n=nR(t,e);return!(n<0)&&(n==t.length-1?t.pop():e2.call(t,n,1),--this.size,!0)},nw.prototype.get=function(e){var t=this.__data__,r=nR(t,e);return r<0?n:t[r][1]},nw.prototype.has=function(e){return nR(this.__data__,e)>-1},nw.prototype.set=function(e,t){var n=this.__data__,r=nR(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},nx.prototype.clear=function(){this.size=0,this.__data__={hash:new nb,map:new(t7||nw),string:new nb}},nx.prototype.delete=function(e){var t=id(this,e).delete(e);return this.size-=t?1:0,t},nx.prototype.get=function(e){return id(this,e).get(e)},nx.prototype.has=function(e){return id(this,e).has(e)},nx.prototype.set=function(e,t){var n=id(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},n_.prototype.add=n_.prototype.push=function(e){return this.__data__.set(e,i),this},n_.prototype.has=function(e){return this.__data__.has(e)},nS.prototype.clear=function(){this.__data__=new nw,this.size=0},nS.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},nS.prototype.get=function(e){return this.__data__.get(e)},nS.prototype.has=function(e){return this.__data__.has(e)},nS.prototype.set=function(e,t){var n=this.__data__;if(n instanceof nw){var r=n.__data__;if(!t7||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new nx(r)}return n.set(e,t),this.size=n.size,this};var nF=rH(nq),nz=rH(nY,!0);function n$(e,t){var n=!0;return nF(e,function(e,r,i){return n=!!t(e,r,i)}),n}function nU(e,t,r){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(l===n?s==s&&!oZ(s):r(s,l)))var l=s,u=a}return u}function nB(e,t){var n=[];return nF(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function nW(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=iw),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?nW(s,t-1,n,r,i):th(i,s):r||(i[i.length]=s)}return i}var nH=rV(),nV=rV(!0);function nq(e,t){return e&&nH(e,t,af)}function nY(e,t){return e&&nV(e,t,af)}function nG(e,t){return tc(t,function(t){return oB(e[t])})}function nK(e,t){t=rA(t,e);for(var r=0,i=t.length;null!=e&&r<i;)e=e[iF(t[r++])];return r&&r==i?e:n}function nQ(e,t,n){var r=t(e);return oD(e)?r:th(r,n(e))}function nX(e){return null==e?e===n?"[object Undefined]":"[object Null]":e5&&e5 in eS(e)?function(e){var t=ej.call(e,e5),r=e[e5];try{e[e5]=n;var i=!0}catch(e){}var o=eD.call(e);return i&&(t?e[e5]=r:delete e[e5]),o}(e):eD.call(e)}function nJ(e,t){return e>t}function nZ(e,t){return null!=e&&ej.call(e,t)}function n0(e,t){return null!=e&&t in eS(e)}function n1(e,t,r){for(var i=r?tf:td,o=e[0].length,a=e.length,s=a,l=ev(a),u=1/0,c=[];s--;){var d=e[s];s&&t&&(d=tp(d,tA(t))),u=t3(d.length,u),l[s]=!r&&(t||o>=120&&d.length>=120)?new n_(s&&d):n}d=e[0];var f=-1,p=l[0];r:for(;++f<o&&c.length<u;){var h=d[f],m=t?t(h):h;if(h=r||0!==h?h:0,!(p?tP(p,m):i(c,m,r))){for(s=a;--s;){var g=l[s];if(!(g?tP(g,m):i(e[s],m,r)))continue r}p&&p.push(m),c.push(h)}}return c}function n2(e,t,r){t=rA(t,e);var i=null==(e=iO(e,t))?e:e[iF(iX(t))];return null==i?n:ta(i,e,r)}function n3(e){return oq(e)&&nX(e)==u}function n4(e,t,r,i,o){return e===t||(null!=e&&null!=t&&(oq(e)||oq(t))?function(e,t,r,i,o,a){var s=oD(e),l=oD(t),h=s?c:iy(e),m=l?c:iy(t);h=h==u?v:h,m=m==u?v:m;var b=h==v,k=m==v,C=h==m;if(C&&oz(e)){if(!oz(t))return!1;s=!0,b=!1}if(C&&!b)return a||(a=new nS),s||o0(e)?ir(e,t,r,i,o,a):function(e,t,n,r,i,o,a){switch(n){case T:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case E:if(e.byteLength!=t.byteLength||!o(new eU(e),new eU(t)))break;return!0;case d:case f:case y:return oA(+e,+t);case p:return e.name==t.name&&e.message==t.message;case w:case _:return e==t+"";case g:var s=t$;case x:var l=1&r;if(s||(s=tW),e.size!=t.size&&!l)break;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ir(s(e),s(t),r,i,o,a);return a.delete(e),c;case S:if(nf)return nf.call(e)==nf.call(t)}return!1}(e,t,h,r,i,o,a);if(!(1&r)){var R=b&&ej.call(e,"__wrapped__"),O=k&&ej.call(t,"__wrapped__");if(R||O){var I=R?e.value():e,A=O?t.value():t;return a||(a=new nS),o(I,A,r,i,a)}}return!!C&&(a||(a=new nS),function(e,t,r,i,o,a){var s=1&r,l=io(e),u=l.length;if(u!=io(t).length&&!s)return!1;for(var c=u;c--;){var d=l[c];if(!(s?d in t:ej.call(t,d)))return!1}var f=a.get(e),p=a.get(t);if(f&&p)return f==t&&p==e;var h=!0;a.set(e,t),a.set(t,e);for(var m=s;++c<u;){var g=e[d=l[c]],y=t[d];if(i)var v=s?i(y,g,d,t,e,a):i(g,y,d,e,t,a);if(!(v===n?g===y||o(g,y,r,i,a):v)){h=!1;break}m||(m="constructor"==d)}if(h&&!m){var b=e.constructor,w=t.constructor;b!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(h=!1)}return a.delete(e),a.delete(t),h}(e,t,r,i,o,a))}(e,t,r,i,n4,o):e!=e&&t!=t)}function n6(e,t,r,i){var o=r.length,a=o,s=!i;if(null==e)return!a;for(e=eS(e);o--;){var l=r[o];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<a;){var u=(l=r[o])[0],c=e[u],d=l[1];if(s&&l[2]){if(c===n&&!(u in e))return!1}else{var f=new nS;if(i)var p=i(c,d,u,e,t,f);if(!(p===n?n4(d,c,3,i,f):p))return!1}}return!0}function n5(e){return!(!oV(e)||eM&&eM in e)&&(oB(e)?eF:ec).test(iz(e))}function n8(e){return"function"==typeof e?e:null==e?aF:"object"==typeof e?oD(e)?rn(e[0],e[1]):rt(e):aY(e)}function n9(e){if(!iT(e))return t1(e);var t=[];for(var n in eS(e))ej.call(e,n)&&"constructor"!=n&&t.push(n);return t}function n7(e,t){return e<t}function re(e,t){var n=-1,r=oL(e)?ev(e.length):[];return nF(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function rt(e){var t=ip(e);return 1==t.length&&t[0][2]?iC(t[0][0],t[0][1]):function(n){return n===e||n6(n,e,t)}}function rn(e,t){var r;return iS(e)&&(r=t)==r&&!oV(r)?iC(iF(e),t):function(r){var i=as(r,e);return i===n&&i===t?al(r,e):n4(t,i,3)}}function rr(e,t,r,i,o){e!==t&&nH(t,function(a,s){if(o||(o=new nS),oV(a))(function(e,t,r,i,o,a,s){var l=iI(e,r),u=iI(t,r),c=s.get(u);if(c){nT(e,r,c);return}var d=a?a(l,u,r+"",e,t,s):n,f=d===n;if(f){var p=oD(u),h=!p&&oz(u),m=!p&&!h&&o0(u);d=u,p||h||m?oD(l)?d=l:oF(l)?d=r$(l):h?(f=!1,d=rM(u,!0)):m?(f=!1,d=rN(u,!0)):d=[]:oK(u)||oM(u)?(d=l,oM(l)?d=o9(l):(!oV(l)||oB(l))&&(d=ib(u))):f=!1}f&&(s.set(u,d),o(d,u,i,a,s),s.delete(u)),nT(e,r,d)})(e,t,s,r,rr,i,o);else{var l=i?i(iI(e,s),a,s+"",e,t,o):n;l===n&&(l=a),nT(e,s,l)}},ap)}function ri(e,t){var r=e.length;if(r)return ix(t+=t<0?r:0,r)?e[t]:n}function ro(e,t,n){t=t.length?tp(t,function(e){return oD(e)?function(t){return nK(t,1===e.length?e[0]:e)}:e}):[aF];var r=-1;return t=tp(t,tA(ic())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(re(e,function(e,n,i){return{criteria:tp(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=rL(i[r],o[r]);if(l){if(r>=s)return l;return l*("desc"==n[r]?-1:1)}}return e.index-t.index}(e,t,n)})}function ra(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=nK(e,a);n(s,a)&&rf(o,rA(a,e),s)}return o}function rs(e,t,n,r){var i=r?t_:tx,o=-1,a=t.length,s=e;for(e===t&&(t=r$(t)),n&&(s=tp(e,tA(n)));++o<a;)for(var l=0,u=t[o],c=n?n(u):u;(l=i(s,c,l,r))>-1;)s!==e&&e2.call(s,l,1),e2.call(e,l,1);return e}function rl(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;ix(i)?e2.call(e,i,1):rS(e,i)}}return e}function ru(e,t){return e+tQ(t5()*(t-e+1))}function rc(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do t%2&&(n+=e),(t=tQ(t/2))&&(e+=e);while(t)return n}function rd(e,t){return iP(iR(e,t,aF),e+"")}function rf(e,t,r,i){if(!oV(e))return e;t=rA(t,e);for(var o=-1,a=t.length,s=a-1,l=e;null!=l&&++o<a;){var u=iF(t[o]),c=r;if("__proto__"===u||"constructor"===u||"prototype"===u)break;if(o!=s){var d=l[u];(c=i?i(d,u,l):n)===n&&(c=oV(d)?d:ix(t[o+1])?[]:{})}nC(l,u,c),l=l[u]}return e}var rp=ni?function(e,t){return ni.set(e,t),e}:aF,rh=e9?function(e,t){return e9(e,"toString",{configurable:!0,enumerable:!1,value:aD(t),writable:!0})}:aF;function rm(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=ev(i);++r<i;)o[r]=e[r+t];return o}function rg(e,t){var n;return nF(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function ry(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!oZ(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return rv(e,t,aF,n)}function rv(e,t,r,i){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=r(t))!=t,l=null===t,u=oZ(t),c=t===n;o<a;){var d=tQ((o+a)/2),f=r(e[d]),p=f!==n,h=null===f,m=f==f,g=oZ(f);if(s)var y=i||m;else y=c?m&&(i||p):l?m&&p&&(i||!h):u?m&&p&&!h&&(i||!g):!h&&!g&&(i?f<=t:f<t);y?o=d+1:a=d}return t3(a,4294967294)}function rb(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!oA(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function rw(e){return"number"==typeof e?e:oZ(e)?s:+e}function rx(e){if("string"==typeof e)return e;if(oD(e))return tp(e,rx)+"";if(oZ(e))return np?np.call(e):"";var t=e+"";return"0"==t&&1/e==-a?"-0":t}function r_(e,t,n){var r=-1,i=td,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=tf;else if(o>=200){var u=t?null:r5(e);if(u)return tW(u);a=!1,i=tP,l=new n_}else l=t?[]:s;r:for(;++r<o;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var f=l.length;f--;)if(l[f]===d)continue r;t&&l.push(d),s.push(c)}else i(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}function rS(e,t){return t=rA(t,e),null==(e=iO(e,t))||delete e[iF(iX(t))]}function rk(e,t,n,r){return rf(e,t,n(nK(e,t)),r)}function rE(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?rm(e,r?0:o,r?o+1:i):rm(e,r?o+1:0,r?i:o)}function rT(e,t){var n=e;return n instanceof nv&&(n=n.value()),tm(t,function(e,t){return t.func.apply(t.thisArg,th([e],t.args))},n)}function rC(e,t,n){var r=e.length;if(r<2)return r?r_(e[0]):[];for(var i=-1,o=ev(r);++i<r;)for(var a=e[i],s=-1;++s<r;)s!=i&&(o[i]=nL(o[i]||a,e[s],t,n));return r_(nW(o,1),t,n)}function rR(e,t,r){for(var i=-1,o=e.length,a=t.length,s={};++i<o;){var l=i<a?t[i]:n;r(s,e[i],l)}return s}function rO(e){return oF(e)?e:[]}function rI(e){return"function"==typeof e?e:aF}function rA(e,t){return oD(e)?e:iS(e,t)?[e]:iL(o7(e))}function rj(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:rm(e,t,r)}var rP=e7||function(e){return e4.clearTimeout(e)};function rM(e,t){if(t)return e.slice();var n=e.length,r=eB?eB(n):new e.constructor(n);return e.copy(r),r}function rD(e){var t=new e.constructor(e.byteLength);return new eU(t).set(new eU(e)),t}function rN(e,t){var n=t?rD(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function rL(e,t){if(e!==t){var r=e!==n,i=null===e,o=e==e,a=oZ(e),s=t!==n,l=null===t,u=t==t,c=oZ(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||i&&s&&u||!r&&u||!o)return 1;if(!i&&!a&&!c&&e<t||c&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!u)return -1}return 0}function rF(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,l=t.length,u=t2(o-a,0),c=ev(l+u),d=!r;++s<l;)c[s]=t[s];for(;++i<a;)(d||i<o)&&(c[n[i]]=e[i]);for(;u--;)c[s++]=e[i++];return c}function rz(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,l=-1,u=t.length,c=t2(o-s,0),d=ev(c+u),f=!r;++i<c;)d[i]=e[i];for(var p=i;++l<u;)d[p+l]=t[l];for(;++a<s;)(f||i<o)&&(d[p+n[a]]=e[i++]);return d}function r$(e,t){var n=-1,r=e.length;for(t||(t=ev(r));++n<r;)t[n]=e[n];return t}function rU(e,t,r,i){var o=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=i?i(r[l],e[l],l,r,e):n;u===n&&(u=e[l]),o?nA(r,l,u):nC(r,l,u)}return r}function rB(e,t){return function(n,r){var i=oD(n)?ts:nO,o=t?t():{};return i(n,e,ic(r,2),o)}}function rW(e){return rd(function(t,r){var i=-1,o=r.length,a=o>1?r[o-1]:n,s=o>2?r[2]:n;for(a=e.length>3&&"function"==typeof a?(o--,a):n,s&&i_(r[0],r[1],s)&&(a=o<3?n:a,o=1),t=eS(t);++i<o;){var l=r[i];l&&e(t,l,i,a)}return t})}function rH(e,t){return function(n,r){if(null==n)return n;if(!oL(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=eS(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function rV(e){return function(t,n,r){for(var i=-1,o=eS(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function rq(e){return function(t){var r=tz(t=o7(t))?tV(t):n,i=r?r[0]:t.charAt(0),o=r?rj(r,1).join(""):t.slice(1);return i[e]()+o}}function rY(e){return function(t){return tm(aj(ak(t).replace(eW,"")),e,"")}}function rG(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=nm(e.prototype),r=e.apply(n,t);return oV(r)?r:n}}function rK(e){return function(t,r,i){var o=eS(t);if(!oL(t)){var a=ic(r,3);t=af(t),r=function(e){return a(o[e],e,o)}}var s=e(t,r,i);return s>-1?o[a?t[s]:s]:n}}function rQ(e){return ii(function(t){var i=t.length,o=i,a=ny.prototype.thru;for(e&&t.reverse();o--;){var s=t[o];if("function"!=typeof s)throw new eT(r);if(a&&!l&&"wrapper"==il(s))var l=new ny([],!0)}for(o=l?o:i;++o<i;){var u=il(s=t[o]),c="wrapper"==u?is(s):n;l=c&&ik(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[il(c[0])].apply(l,c[3]):1==s.length&&ik(s)?l[u]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&oD(n))return l.plant(n).value();for(var r=0,o=i?t[r].apply(this,e):n;++r<i;)o=t[r].call(this,o);return o}})}function rX(e,t,r,i,o,a,s,l,u,c){var d=128&t,f=1&t,p=2&t,h=24&t,m=512&t,g=p?n:rG(e);return function y(){for(var v=arguments.length,b=ev(v),w=v;w--;)b[w]=arguments[w];if(h)var x=iu(y),_=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,x);if(i&&(b=rF(b,i,o,h)),a&&(b=rz(b,a,s,h)),v-=_,h&&v<c){var S=tB(b,x);return r4(e,t,rX,y.placeholder,r,b,S,l,u,c-v)}var k=f?r:this,E=p?k[e]:e;return v=b.length,l?b=function(e,t){for(var r=e.length,i=t3(t.length,r),o=r$(e);i--;){var a=t[i];e[i]=ix(a,r)?o[a]:n}return e}(b,l):m&&v>1&&b.reverse(),d&&u<v&&(b.length=u),this&&this!==e4&&this instanceof y&&(E=g||rG(E)),E.apply(k,b)}}function rJ(e,t){return function(n,r){var i,o;return i=t(r),o={},nq(n,function(t,n,r){e(o,i(t),n,r)}),o}}function rZ(e,t){return function(r,i){var o;if(r===n&&i===n)return t;if(r!==n&&(o=r),i!==n){if(o===n)return i;"string"==typeof r||"string"==typeof i?(r=rx(r),i=rx(i)):(r=rw(r),i=rw(i)),o=e(r,i)}return o}}function r0(e){return ii(function(t){return t=tp(t,tA(ic())),rd(function(n){var r=this;return e(t,function(e){return ta(e,r,n)})})})}function r1(e,t){var r=(t=t===n?" ":rx(t)).length;if(r<2)return r?rc(t,e):t;var i=rc(t,tK(e/tH(t)));return tz(t)?rj(tV(i),0,e).join(""):i.slice(0,e)}function r2(e){return function(t,r,i){return i&&"number"!=typeof i&&i_(t,r,i)&&(r=i=n),t=o4(t),r===n?(r=t,t=0):r=o4(r),i=i===n?t<r?1:-1:o4(i),function(e,t,n,r){for(var i=-1,o=t2(tK((t-e)/(n||1)),0),a=ev(o);o--;)a[r?o:++i]=e,e+=n;return a}(t,r,i,e)}}function r3(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=o8(t),n=o8(n)),e(t,n)}}function r4(e,t,r,i,o,a,s,l,u,c){var d=8&t,f=d?s:n,p=d?n:s,h=d?a:n,m=d?n:a;t|=d?32:64,4&(t&=~(d?64:32))||(t&=-4);var g=[e,t,o,h,f,m,p,l,u,c],y=r.apply(n,g);return ik(e)&&iA(y,g),y.placeholder=i,iM(y,e,t)}function r6(e){var t=e_[e];return function(e,n){if(e=o8(e),(n=null==n?0:t3(o6(n),292))&&tZ(e)){var r=(o7(e)+"e").split("e");return+((r=(o7(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var r5=nt&&1/tW(new nt([,-0]))[1]==a?function(e){return new nt(e)}:aW;function r8(e){return function(t){var n,r,i=iy(t);return i==g?t$(t):i==x?(n=-1,r=Array(t.size),t.forEach(function(e){r[++n]=[e,e]}),r):tp(e(t),function(e){return[e,t[e]]})}}function r9(e,t,i,a,s,l,u,c){var d=2&t;if(!d&&"function"!=typeof e)throw new eT(r);var f=a?a.length:0;if(f||(t&=-97,a=s=n),u=u===n?u:t2(o6(u),0),c=c===n?c:o6(c),f-=s?s.length:0,64&t){var p=a,h=s;a=s=n}var m=d?n:is(e),g=[e,t,i,a,s,p,h,l,u,c];if(m&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,s=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(a||s){1&r&&(e[2]=t[2],i|=1&n?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?rF(u,l,t[4]):l,e[4]=u?tB(e[3],o):t[4]}(l=t[5])&&(u=e[5],e[5]=u?rz(u,l,t[6]):l,e[6]=u?tB(e[5],o):t[6]),(l=t[7])&&(e[7]=l),128&r&&(e[8]=null==e[8]?t[8]:t3(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}}(g,m),e=g[0],t=g[1],i=g[2],a=g[3],s=g[4],(c=g[9]=g[9]===n?d?0:e.length:t2(g[9]-f,0))||!(24&t)||(t&=-25),t&&1!=t)8==t||16==t?(y=e,v=t,b=c,w=rG(y),j=function e(){for(var t=arguments.length,r=ev(t),i=t,o=iu(e);i--;)r[i]=arguments[i];var a=t<3&&r[0]!==o&&r[t-1]!==o?[]:tB(r,o);return(t-=a.length)<b?r4(y,v,rX,e.placeholder,n,r,a,n,n,b-t):ta(this&&this!==e4&&this instanceof e?w:y,this,r)}):32!=t&&33!=t||s.length?j=rX.apply(n,g):(x=e,_=t,S=i,k=a,E=1&_,T=rG(x),j=function e(){for(var t=-1,n=arguments.length,r=-1,i=k.length,o=ev(i+n),a=this&&this!==e4&&this instanceof e?T:x;++r<i;)o[r]=k[r];for(;n--;)o[r++]=arguments[++t];return ta(a,E?S:this,o)});else var y,v,b,w,x,_,S,k,E,T,C,R,O,I,A,j=(C=e,R=t,O=i,I=1&R,A=rG(C),function e(){return(this&&this!==e4&&this instanceof e?A:C).apply(I?O:this,arguments)});return iM((m?rp:iA)(j,g),e,t)}function r7(e,t,r,i){return e===n||oA(e,eO[r])&&!ej.call(i,r)?t:e}function ie(e,t,r,i,o,a){return oV(e)&&oV(t)&&(a.set(t,e),rr(e,t,n,ie,a),a.delete(t)),e}function it(e){return oK(e)?n:e}function ir(e,t,r,i,o,a){var s=1&r,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=2&r?new n_:n;for(a.set(e,t),a.set(t,e);++f<l;){var m=e[f],g=t[f];if(i)var y=s?i(g,m,f,t,e,a):i(m,g,f,e,t,a);if(y!==n){if(y)continue;p=!1;break}if(h){if(!ty(t,function(e,t){if(!tP(h,t)&&(m===e||o(m,e,r,i,a)))return h.push(t)})){p=!1;break}}else if(!(m===g||o(m,g,r,i,a))){p=!1;break}}return a.delete(e),a.delete(t),p}function ii(e){return iP(iR(e,n,iq),e+"")}function io(e){return nQ(e,af,im)}function ia(e){return nQ(e,ap,ig)}var is=ni?function(e){return ni.get(e)}:aW;function il(e){for(var t=e.name+"",n=no[t],r=ej.call(no,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function iu(e){return(ej.call(nh,"placeholder")?nh:e).placeholder}function ic(){var e=nh.iteratee||az;return e=e===az?n8:e,arguments.length?e(arguments[0],arguments[1]):e}function id(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function ip(e){for(var t=af(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,i==i&&!oV(i)]}return t}function ih(e,t){var r=null==e?n:e[t];return n5(r)?r:n}var im=tX?function(e){return null==e?[]:tc(tX(e=eS(e)),function(t){return eZ.call(e,t)})}:aQ,ig=tX?function(e){for(var t=[];e;)th(t,im(e)),e=eV(e);return t}:aQ,iy=nX;function iv(e,t,n){t=rA(t,e);for(var r=-1,i=t.length,o=!1;++r<i;){var a=iF(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&oH(i)&&ix(a,i)&&(oD(e)||oM(e))}function ib(e){return"function"!=typeof e.constructor||iT(e)?{}:nm(eV(e))}function iw(e){return oD(e)||oM(e)||!!(e3&&e&&e[e3])}function ix(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ef.test(e))&&e>-1&&e%1==0&&e<t}function i_(e,t,n){if(!oV(n))return!1;var r=typeof t;return("number"==r?!!(oL(n)&&ix(t,n.length)):"string"==r&&t in n)&&oA(n[t],e)}function iS(e,t){if(oD(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||oZ(e))||Y.test(e)||!q.test(e)||null!=t&&e in eS(t)}function ik(e){var t=il(e),n=nh[t];if("function"!=typeof n||!(t in nv.prototype))return!1;if(e===n)return!0;var r=is(n);return!!r&&e===r[0]}(t9&&iy(new t9(new ArrayBuffer(1)))!=T||t7&&iy(new t7)!=g||ne&&iy(ne.resolve())!=b||nt&&iy(new nt)!=x||nn&&iy(new nn)!=k)&&(iy=function(e){var t=nX(e),r=t==v?e.constructor:n,i=r?iz(r):"";if(i)switch(i){case na:return T;case ns:return g;case nl:return b;case nu:return x;case nc:return k}return t});var iE=eI?oB:aX;function iT(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||eO)}function iC(e,t){return function(r){return null!=r&&r[e]===t&&(t!==n||e in eS(r))}}function iR(e,t,r){return t=t2(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=t2(n.length-t,0),a=ev(o);++i<o;)a[i]=n[t+i];i=-1;for(var s=ev(t+1);++i<t;)s[i]=n[i];return s[t]=r(a),ta(e,this,s)}}function iO(e,t){return t.length<2?e:nK(e,rm(t,0,-1))}function iI(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var iA=iD(rp),ij=tT||function(e,t){return e4.setTimeout(e,t)},iP=iD(rh);function iM(e,t,n){var r,i,o=t+"";return iP(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Z,"{\n/* [wrapped with "+t+"] */\n")}(o,(r=(i=o.match(ee))?i[1].split(et):[],tl(l,function(e){var t="_."+e[0];n&e[1]&&!td(r,t)&&r.push(t)}),r.sort())))}function iD(e){var t=0,r=0;return function(){var i=t4(),o=16-(i-r);if(r=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function iN(e,t){var r=-1,i=e.length,o=i-1;for(t=t===n?i:t;++r<t;){var a=ru(r,o),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var iL=(eg=(er=oE(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(G,function(e,n,r,i){t.push(r?i.replace(eo,"$1"):n||e)}),t},function(e){return 500===eg.size&&eg.clear(),e})).cache,er);function iF(e){if("string"==typeof e||oZ(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}function iz(e){if(null!=e){try{return eA.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function i$(e){if(e instanceof nv)return e.clone();var t=new ny(e.__wrapped__,e.__chain__);return t.__actions__=r$(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var iU=rd(function(e,t){return oF(e)?nL(e,nW(t,1,oF,!0)):[]}),iB=rd(function(e,t){var r=iX(t);return oF(r)&&(r=n),oF(e)?nL(e,nW(t,1,oF,!0),ic(r,2)):[]}),iW=rd(function(e,t){var r=iX(t);return oF(r)&&(r=n),oF(e)?nL(e,nW(t,1,oF,!0),n,r):[]});function iH(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var i=null==n?0:o6(n);return i<0&&(i=t2(r+i,0)),tw(e,ic(t,3),i)}function iV(e,t,r){var i=null==e?0:e.length;if(!i)return -1;var o=i-1;return r!==n&&(o=o6(r),o=r<0?t2(i+o,0):t3(o,i-1)),tw(e,ic(t,3),o,!0)}function iq(e){return(null==e?0:e.length)?nW(e,1):[]}function iY(e){return e&&e.length?e[0]:n}var iG=rd(function(e){var t=tp(e,rO);return t.length&&t[0]===e[0]?n1(t):[]}),iK=rd(function(e){var t=iX(e),r=tp(e,rO);return t===iX(r)?t=n:r.pop(),r.length&&r[0]===e[0]?n1(r,ic(t,2)):[]}),iQ=rd(function(e){var t=iX(e),r=tp(e,rO);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?n1(r,n,t):[]});function iX(e){var t=null==e?0:e.length;return t?e[t-1]:n}var iJ=rd(iZ);function iZ(e,t){return e&&e.length&&t&&t.length?rs(e,t):e}var i0=ii(function(e,t){var n=null==e?0:e.length,r=nj(e,t);return rl(e,tp(t,function(e){return ix(e,n)?+e:e}).sort(rL)),r});function i1(e){return null==e?e:t8.call(e)}var i2=rd(function(e){return r_(nW(e,1,oF,!0))}),i3=rd(function(e){var t=iX(e);return oF(t)&&(t=n),r_(nW(e,1,oF,!0),ic(t,2))}),i4=rd(function(e){var t=iX(e);return t="function"==typeof t?t:n,r_(nW(e,1,oF,!0),n,t)});function i6(e){if(!(e&&e.length))return[];var t=0;return e=tc(e,function(e){if(oF(e))return t=t2(e.length,t),!0}),tO(t,function(t){return tp(e,tE(t))})}function i5(e,t){if(!(e&&e.length))return[];var r=i6(e);return null==t?r:tp(r,function(e){return ta(t,n,e)})}var i8=rd(function(e,t){return oF(e)?nL(e,t):[]}),i9=rd(function(e){return rC(tc(e,oF))}),i7=rd(function(e){var t=iX(e);return oF(t)&&(t=n),rC(tc(e,oF),ic(t,2))}),oe=rd(function(e){var t=iX(e);return t="function"==typeof t?t:n,rC(tc(e,oF),n,t)}),ot=rd(i6),on=rd(function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,i5(e,r)});function or(e){var t=nh(e);return t.__chain__=!0,t}function oi(e,t){return t(e)}var oo=ii(function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,o=function(t){return nj(t,e)};return!(t>1)&&!this.__actions__.length&&i instanceof nv&&ix(r)?((i=i.slice(r,+r+(t?1:0))).__actions__.push({func:oi,args:[o],thisArg:n}),new ny(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e})):this.thru(o)}),oa=rB(function(e,t,n){ej.call(e,n)?++e[n]:nA(e,n,1)}),os=rK(iH),ol=rK(iV);function ou(e,t){return(oD(e)?tl:nF)(e,ic(t,3))}function oc(e,t){return(oD(e)?function(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}:nz)(e,ic(t,3))}var od=rB(function(e,t,n){ej.call(e,n)?e[n].push(t):nA(e,n,[t])}),of=rd(function(e,t,n){var r=-1,i="function"==typeof t,o=oL(e)?ev(e.length):[];return nF(e,function(e){o[++r]=i?ta(t,e,n):n2(e,t,n)}),o}),op=rB(function(e,t,n){nA(e,n,t)});function oh(e,t){return(oD(e)?tp:re)(e,ic(t,3))}var om=rB(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),og=rd(function(e,t){if(null==e)return[];var n=t.length;return n>1&&i_(e,t[0],t[1])?t=[]:n>2&&i_(t[0],t[1],t[2])&&(t=[t[0]]),ro(e,nW(t,1),[])}),oy=tv||function(){return e4.Date.now()};function ov(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,r9(e,128,n,n,n,n,t)}function ob(e,t){var i;if("function"!=typeof t)throw new eT(r);return e=o6(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=n),i}}var ow=rd(function(e,t,n){var r=1;if(n.length){var i=tB(n,iu(ow));r|=32}return r9(e,r,t,n,i)}),ox=rd(function(e,t,n){var r=3;if(n.length){var i=tB(n,iu(ox));r|=32}return r9(t,r,e,n,i)});function o_(e,t,i){var o,a,s,l,u,c,d=0,f=!1,p=!1,h=!0;if("function"!=typeof e)throw new eT(r);function m(t){var r=o,i=a;return o=a=n,d=t,l=e.apply(i,r)}function g(e){var r=e-c,i=e-d;return c===n||r>=t||r<0||p&&i>=s}function y(){var e,n,r,i=oy();if(g(i))return v(i);u=ij(y,(e=i-c,n=i-d,r=t-e,p?t3(r,s-n):r))}function v(e){return(u=n,h&&o)?m(e):(o=a=n,l)}function b(){var e,r=oy(),i=g(r);if(o=arguments,a=this,c=r,i){if(u===n)return d=e=c,u=ij(y,t),f?m(e):l;if(p)return rP(u),u=ij(y,t),m(c)}return u===n&&(u=ij(y,t)),l}return t=o8(t)||0,oV(i)&&(f=!!i.leading,s=(p="maxWait"in i)?t2(o8(i.maxWait)||0,t):s,h="trailing"in i?!!i.trailing:h),b.cancel=function(){u!==n&&rP(u),d=0,o=c=a=u=n},b.flush=function(){return u===n?l:v(oy())},b}var oS=rd(function(e,t){return nN(e,1,t)}),ok=rd(function(e,t,n){return nN(e,o8(t)||0,n)});function oE(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new eT(r);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(oE.Cache||nx),n}function oT(e){if("function"!=typeof e)throw new eT(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}oE.Cache=nx;var oC=rd(function(e,t){var n=(t=1==t.length&&oD(t[0])?tp(t[0],tA(ic())):tp(nW(t,1),tA(ic()))).length;return rd(function(r){for(var i=-1,o=t3(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return ta(e,this,r)})}),oR=rd(function(e,t){var r=tB(t,iu(oR));return r9(e,32,n,t,r)}),oO=rd(function(e,t){var r=tB(t,iu(oO));return r9(e,64,n,t,r)}),oI=ii(function(e,t){return r9(e,256,n,n,n,t)});function oA(e,t){return e===t||e!=e&&t!=t}var oj=r3(nJ),oP=r3(function(e,t){return e>=t}),oM=n3(function(){return arguments}())?n3:function(e){return oq(e)&&ej.call(e,"callee")&&!eZ.call(e,"callee")},oD=ev.isArray,oN=te?tA(te):function(e){return oq(e)&&nX(e)==E};function oL(e){return null!=e&&oH(e.length)&&!oB(e)}function oF(e){return oq(e)&&oL(e)}var oz=tJ||aX,o$=tt?tA(tt):function(e){return oq(e)&&nX(e)==f};function oU(e){if(!oq(e))return!1;var t=nX(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!oK(e)}function oB(e){if(!oV(e))return!1;var t=nX(e);return t==h||t==m||"[object AsyncFunction]"==t||"[object Proxy]"==t}function oW(e){return"number"==typeof e&&e==o6(e)}function oH(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function oV(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function oq(e){return null!=e&&"object"==typeof e}var oY=tn?tA(tn):function(e){return oq(e)&&iy(e)==g};function oG(e){return"number"==typeof e||oq(e)&&nX(e)==y}function oK(e){if(!oq(e)||nX(e)!=v)return!1;var t=eV(e);if(null===t)return!0;var n=ej.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&eA.call(n)==eN}var oQ=tr?tA(tr):function(e){return oq(e)&&nX(e)==w},oX=ti?tA(ti):function(e){return oq(e)&&iy(e)==x};function oJ(e){return"string"==typeof e||!oD(e)&&oq(e)&&nX(e)==_}function oZ(e){return"symbol"==typeof e||oq(e)&&nX(e)==S}var o0=to?tA(to):function(e){return oq(e)&&oH(e.length)&&!!eX[nX(e)]},o1=r3(n7),o2=r3(function(e,t){return e<=t});function o3(e){if(!e)return[];if(oL(e))return oJ(e)?tV(e):r$(e);if(e6&&e[e6])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[e6]());var t=iy(e);return(t==g?t$:t==x?tW:ax)(e)}function o4(e){return e?(e=o8(e))===a||e===-a?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function o6(e){var t=o4(e),n=t%1;return t==t?n?t-n:t:0}function o5(e){return e?nP(o6(e),0,4294967295):0}function o8(e){if("number"==typeof e)return e;if(oZ(e))return s;if(oV(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=oV(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=tI(e);var n=eu.test(e);return n||ed.test(e)?e1(e.slice(2),n?2:8):el.test(e)?s:+e}function o9(e){return rU(e,ap(e))}function o7(e){return null==e?"":rx(e)}var ae=rW(function(e,t){if(iT(t)||oL(t)){rU(t,af(t),e);return}for(var n in t)ej.call(t,n)&&nC(e,n,t[n])}),at=rW(function(e,t){rU(t,ap(t),e)}),an=rW(function(e,t,n,r){rU(t,ap(t),e,r)}),ar=rW(function(e,t,n,r){rU(t,af(t),e,r)}),ai=ii(nj),ao=rd(function(e,t){e=eS(e);var r=-1,i=t.length,o=i>2?t[2]:n;for(o&&i_(t[0],t[1],o)&&(i=1);++r<i;)for(var a=t[r],s=ap(a),l=-1,u=s.length;++l<u;){var c=s[l],d=e[c];(d===n||oA(d,eO[c])&&!ej.call(e,c))&&(e[c]=a[c])}return e}),aa=rd(function(e){return e.push(n,ie),ta(am,n,e)});function as(e,t,r){var i=null==e?n:nK(e,t);return i===n?r:i}function al(e,t){return null!=e&&iv(e,t,n0)}var au=rJ(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=eD.call(t)),e[t]=n},aD(aF)),ac=rJ(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=eD.call(t)),ej.call(e,t)?e[t].push(n):e[t]=[n]},ic),ad=rd(n2);function af(e){return oL(e)?nk(e):n9(e)}function ap(e){return oL(e)?nk(e,!0):function(e){if(!oV(e))return function(e){var t=[];if(null!=e)for(var n in eS(e))t.push(n);return t}(e);var t=iT(e),n=[];for(var r in e)"constructor"==r&&(t||!ej.call(e,r))||n.push(r);return n}(e)}var ah=rW(function(e,t,n){rr(e,t,n)}),am=rW(function(e,t,n,r){rr(e,t,n,r)}),ag=ii(function(e,t){var n={};if(null==e)return n;var r=!1;t=tp(t,function(t){return t=rA(t,e),r||(r=t.length>1),t}),rU(e,ia(e),n),r&&(n=nM(n,7,it));for(var i=t.length;i--;)rS(n,t[i]);return n}),ay=ii(function(e,t){return null==e?{}:ra(e,t,function(t,n){return al(e,n)})});function av(e,t){if(null==e)return{};var n=tp(ia(e),function(e){return[e]});return t=ic(t),ra(e,n,function(e,n){return t(e,n[0])})}var ab=r8(af),aw=r8(ap);function ax(e){return null==e?[]:tj(e,af(e))}var a_=rY(function(e,t,n){return t=t.toLowerCase(),e+(n?aS(t):t)});function aS(e){return aA(o7(e).toLowerCase())}function ak(e){return(e=o7(e))&&e.replace(ep,tN).replace(eH,"")}var aE=rY(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),aT=rY(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),aC=rq("toLowerCase"),aR=rY(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),aO=rY(function(e,t,n){return e+(n?" ":"")+aA(t)}),aI=rY(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),aA=rq("toUpperCase");function aj(e,t,r){if(e=o7(e),(t=r?n:t)===n){var i;return(i=e,eG.test(i))?e.match(eq)||[]:e.match(en)||[]}return e.match(t)||[]}var aP=rd(function(e,t){try{return ta(e,n,t)}catch(e){return oU(e)?e:new ew(e)}}),aM=ii(function(e,t){return tl(t,function(t){nA(e,t=iF(t),ow(e[t],e))}),e});function aD(e){return function(){return e}}var aN=rQ(),aL=rQ(!0);function aF(e){return e}function az(e){return n8("function"==typeof e?e:nM(e,1))}var a$=rd(function(e,t){return function(n){return n2(n,e,t)}}),aU=rd(function(e,t){return function(n){return n2(e,n,t)}});function aB(e,t,n){var r=af(t),i=nG(t,r);null!=n||oV(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=nG(t,af(t)));var o=!(oV(n)&&"chain"in n)||!!n.chain,a=oB(e);return tl(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=r$(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,th([this.value()],arguments))})}),e}function aW(){}var aH=r0(tp),aV=r0(tu),aq=r0(ty);function aY(e){return iS(e)?tE(iF(e)):function(t){return nK(t,e)}}var aG=r2(),aK=r2(!0);function aQ(){return[]}function aX(){return!1}var aJ=rZ(function(e,t){return e+t},0),aZ=r6("ceil"),a0=rZ(function(e,t){return e/t},1),a1=r6("floor"),a2=rZ(function(e,t){return e*t},1),a3=r6("round"),a4=rZ(function(e,t){return e-t},0);return nh.after=function(e,t){if("function"!=typeof t)throw new eT(r);return e=o6(e),function(){if(--e<1)return t.apply(this,arguments)}},nh.ary=ov,nh.assign=ae,nh.assignIn=at,nh.assignInWith=an,nh.assignWith=ar,nh.at=ai,nh.before=ob,nh.bind=ow,nh.bindAll=aM,nh.bindKey=ox,nh.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return oD(e)?e:[e]},nh.chain=or,nh.chunk=function(e,t,r){t=(r?i_(e,t,r):t===n)?1:t2(o6(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,a=0,s=ev(tK(i/t));o<i;)s[a++]=rm(e,o,o+=t);return s},nh.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},nh.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ev(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return th(oD(n)?r$(n):[n],nW(t,1))},nh.cond=function(e){var t=null==e?0:e.length,n=ic();return e=t?tp(e,function(e){if("function"!=typeof e[1])throw new eT(r);return[n(e[0]),e[1]]}):[],rd(function(n){for(var r=-1;++r<t;){var i=e[r];if(ta(i[0],this,n))return ta(i[1],this,n)}})},nh.conforms=function(e){var t,n;return n=af(t=nM(e,1)),function(e){return nD(e,t,n)}},nh.constant=aD,nh.countBy=oa,nh.create=function(e,t){var n=nm(e);return null==t?n:nI(n,t)},nh.curry=function e(t,r,i){r=i?n:r;var o=r9(t,8,n,n,n,n,n,r);return o.placeholder=e.placeholder,o},nh.curryRight=function e(t,r,i){r=i?n:r;var o=r9(t,16,n,n,n,n,n,r);return o.placeholder=e.placeholder,o},nh.debounce=o_,nh.defaults=ao,nh.defaultsDeep=aa,nh.defer=oS,nh.delay=ok,nh.difference=iU,nh.differenceBy=iB,nh.differenceWith=iW,nh.drop=function(e,t,r){var i=null==e?0:e.length;return i?rm(e,(t=r||t===n?1:o6(t))<0?0:t,i):[]},nh.dropRight=function(e,t,r){var i=null==e?0:e.length;return i?rm(e,0,(t=i-(t=r||t===n?1:o6(t)))<0?0:t):[]},nh.dropRightWhile=function(e,t){return e&&e.length?rE(e,ic(t,3),!0,!0):[]},nh.dropWhile=function(e,t){return e&&e.length?rE(e,ic(t,3),!0):[]},nh.fill=function(e,t,r,i){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&i_(e,t,r)&&(r=0,i=o),function(e,t,r,i){var o=e.length;for((r=o6(r))<0&&(r=-r>o?0:o+r),(i=i===n||i>o?o:o6(i))<0&&(i+=o),i=r>i?0:o5(i);r<i;)e[r++]=t;return e}(e,t,r,i)):[]},nh.filter=function(e,t){return(oD(e)?tc:nB)(e,ic(t,3))},nh.flatMap=function(e,t){return nW(oh(e,t),1)},nh.flatMapDeep=function(e,t){return nW(oh(e,t),a)},nh.flatMapDepth=function(e,t,r){return r=r===n?1:o6(r),nW(oh(e,t),r)},nh.flatten=iq,nh.flattenDeep=function(e){return(null==e?0:e.length)?nW(e,a):[]},nh.flattenDepth=function(e,t){return(null==e?0:e.length)?nW(e,t=t===n?1:o6(t)):[]},nh.flip=function(e){return r9(e,512)},nh.flow=aN,nh.flowRight=aL,nh.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},nh.functions=function(e){return null==e?[]:nG(e,af(e))},nh.functionsIn=function(e){return null==e?[]:nG(e,ap(e))},nh.groupBy=od,nh.initial=function(e){return(null==e?0:e.length)?rm(e,0,-1):[]},nh.intersection=iG,nh.intersectionBy=iK,nh.intersectionWith=iQ,nh.invert=au,nh.invertBy=ac,nh.invokeMap=of,nh.iteratee=az,nh.keyBy=op,nh.keys=af,nh.keysIn=ap,nh.map=oh,nh.mapKeys=function(e,t){var n={};return t=ic(t,3),nq(e,function(e,r,i){nA(n,t(e,r,i),e)}),n},nh.mapValues=function(e,t){var n={};return t=ic(t,3),nq(e,function(e,r,i){nA(n,r,t(e,r,i))}),n},nh.matches=function(e){return rt(nM(e,1))},nh.matchesProperty=function(e,t){return rn(e,nM(t,1))},nh.memoize=oE,nh.merge=ah,nh.mergeWith=am,nh.method=a$,nh.methodOf=aU,nh.mixin=aB,nh.negate=oT,nh.nthArg=function(e){return e=o6(e),rd(function(t){return ri(t,e)})},nh.omit=ag,nh.omitBy=function(e,t){return av(e,oT(ic(t)))},nh.once=function(e){return ob(2,e)},nh.orderBy=function(e,t,r,i){return null==e?[]:(oD(t)||(t=null==t?[]:[t]),oD(r=i?n:r)||(r=null==r?[]:[r]),ro(e,t,r))},nh.over=aH,nh.overArgs=oC,nh.overEvery=aV,nh.overSome=aq,nh.partial=oR,nh.partialRight=oO,nh.partition=om,nh.pick=ay,nh.pickBy=av,nh.property=aY,nh.propertyOf=function(e){return function(t){return null==e?n:nK(e,t)}},nh.pull=iJ,nh.pullAll=iZ,nh.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?rs(e,t,ic(n,2)):e},nh.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?rs(e,t,n,r):e},nh.pullAt=i0,nh.range=aG,nh.rangeRight=aK,nh.rearg=oI,nh.reject=function(e,t){return(oD(e)?tc:nB)(e,oT(ic(t,3)))},nh.remove=function(e,t){var n=[];if(!(e&&e.length))return n;var r=-1,i=[],o=e.length;for(t=ic(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return rl(e,i),n},nh.rest=function(e,t){if("function"!=typeof e)throw new eT(r);return rd(e,t=t===n?t:o6(t))},nh.reverse=i1,nh.sampleSize=function(e,t,r){return t=(r?i_(e,t,r):t===n)?1:o6(t),(oD(e)?function(e,t){return iN(r$(e),nP(t,0,e.length))}:function(e,t){var n=ax(e);return iN(n,nP(t,0,n.length))})(e,t)},nh.set=function(e,t,n){return null==e?e:rf(e,t,n)},nh.setWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:rf(e,t,r,i)},nh.shuffle=function(e){return(oD(e)?function(e){return iN(r$(e))}:function(e){return iN(ax(e))})(e)},nh.slice=function(e,t,r){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&i_(e,t,r)?(t=0,r=i):(t=null==t?0:o6(t),r=r===n?i:o6(r)),rm(e,t,r)):[]},nh.sortBy=og,nh.sortedUniq=function(e){return e&&e.length?rb(e):[]},nh.sortedUniqBy=function(e,t){return e&&e.length?rb(e,ic(t,2)):[]},nh.split=function(e,t,r){return(r&&"number"!=typeof r&&i_(e,t,r)&&(t=r=n),r=r===n?4294967295:r>>>0)?(e=o7(e))&&("string"==typeof t||null!=t&&!oQ(t))&&!(t=rx(t))&&tz(e)?rj(tV(e),0,r):e.split(t,r):[]},nh.spread=function(e,t){if("function"!=typeof e)throw new eT(r);return t=null==t?0:t2(o6(t),0),rd(function(n){var r=n[t],i=rj(n,0,t);return r&&th(i,r),ta(e,this,i)})},nh.tail=function(e){var t=null==e?0:e.length;return t?rm(e,1,t):[]},nh.take=function(e,t,r){return e&&e.length?rm(e,0,(t=r||t===n?1:o6(t))<0?0:t):[]},nh.takeRight=function(e,t,r){var i=null==e?0:e.length;return i?rm(e,(t=i-(t=r||t===n?1:o6(t)))<0?0:t,i):[]},nh.takeRightWhile=function(e,t){return e&&e.length?rE(e,ic(t,3),!1,!0):[]},nh.takeWhile=function(e,t){return e&&e.length?rE(e,ic(t,3)):[]},nh.tap=function(e,t){return t(e),e},nh.throttle=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new eT(r);return oV(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),o_(e,t,{leading:i,maxWait:t,trailing:o})},nh.thru=oi,nh.toArray=o3,nh.toPairs=ab,nh.toPairsIn=aw,nh.toPath=function(e){return oD(e)?tp(e,iF):oZ(e)?[e]:r$(iL(o7(e)))},nh.toPlainObject=o9,nh.transform=function(e,t,n){var r=oD(e),i=r||oz(e)||o0(e);if(t=ic(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:oV(e)&&oB(o)?nm(eV(e)):{}}return(i?tl:nq)(e,function(e,r,i){return t(n,e,r,i)}),n},nh.unary=function(e){return ov(e,1)},nh.union=i2,nh.unionBy=i3,nh.unionWith=i4,nh.uniq=function(e){return e&&e.length?r_(e):[]},nh.uniqBy=function(e,t){return e&&e.length?r_(e,ic(t,2)):[]},nh.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?r_(e,n,t):[]},nh.unset=function(e,t){return null==e||rS(e,t)},nh.unzip=i6,nh.unzipWith=i5,nh.update=function(e,t,n){return null==e?e:rk(e,t,rI(n))},nh.updateWith=function(e,t,r,i){return i="function"==typeof i?i:n,null==e?e:rk(e,t,rI(r),i)},nh.values=ax,nh.valuesIn=function(e){return null==e?[]:tj(e,ap(e))},nh.without=i8,nh.words=aj,nh.wrap=function(e,t){return oR(rI(t),e)},nh.xor=i9,nh.xorBy=i7,nh.xorWith=oe,nh.zip=ot,nh.zipObject=function(e,t){return rR(e||[],t||[],nC)},nh.zipObjectDeep=function(e,t){return rR(e||[],t||[],rf)},nh.zipWith=on,nh.entries=ab,nh.entriesIn=aw,nh.extend=at,nh.extendWith=an,aB(nh,nh),nh.add=aJ,nh.attempt=aP,nh.camelCase=a_,nh.capitalize=aS,nh.ceil=aZ,nh.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=o8(r))==r?r:0),t!==n&&(t=(t=o8(t))==t?t:0),nP(o8(e),t,r)},nh.clone=function(e){return nM(e,4)},nh.cloneDeep=function(e){return nM(e,5)},nh.cloneDeepWith=function(e,t){return nM(e,5,t="function"==typeof t?t:n)},nh.cloneWith=function(e,t){return nM(e,4,t="function"==typeof t?t:n)},nh.conformsTo=function(e,t){return null==t||nD(e,t,af(t))},nh.deburr=ak,nh.defaultTo=function(e,t){return null==e||e!=e?t:e},nh.divide=a0,nh.endsWith=function(e,t,r){e=o7(e),t=rx(t);var i=e.length,o=r=r===n?i:nP(o6(r),0,i);return(r-=t.length)>=0&&e.slice(r,o)==t},nh.eq=oA,nh.escape=function(e){return(e=o7(e))&&B.test(e)?e.replace($,tL):e},nh.escapeRegExp=function(e){return(e=o7(e))&&Q.test(e)?e.replace(K,"\\$&"):e},nh.every=function(e,t,r){var i=oD(e)?tu:n$;return r&&i_(e,t,r)&&(t=n),i(e,ic(t,3))},nh.find=os,nh.findIndex=iH,nh.findKey=function(e,t){return tb(e,ic(t,3),nq)},nh.findLast=ol,nh.findLastIndex=iV,nh.findLastKey=function(e,t){return tb(e,ic(t,3),nY)},nh.floor=a1,nh.forEach=ou,nh.forEachRight=oc,nh.forIn=function(e,t){return null==e?e:nH(e,ic(t,3),ap)},nh.forInRight=function(e,t){return null==e?e:nV(e,ic(t,3),ap)},nh.forOwn=function(e,t){return e&&nq(e,ic(t,3))},nh.forOwnRight=function(e,t){return e&&nY(e,ic(t,3))},nh.get=as,nh.gt=oj,nh.gte=oP,nh.has=function(e,t){return null!=e&&iv(e,t,nZ)},nh.hasIn=al,nh.head=iY,nh.identity=aF,nh.includes=function(e,t,n,r){e=oL(e)?e:ax(e),n=n&&!r?o6(n):0;var i=e.length;return n<0&&(n=t2(i+n,0)),oJ(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&tx(e,t,n)>-1},nh.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var i=null==n?0:o6(n);return i<0&&(i=t2(r+i,0)),tx(e,t,i)},nh.inRange=function(e,t,r){var i,o,a;return t=o4(t),r===n?(r=t,t=0):r=o4(r),(i=e=o8(e))>=t3(o=t,a=r)&&i<t2(o,a)},nh.invoke=ad,nh.isArguments=oM,nh.isArray=oD,nh.isArrayBuffer=oN,nh.isArrayLike=oL,nh.isArrayLikeObject=oF,nh.isBoolean=function(e){return!0===e||!1===e||oq(e)&&nX(e)==d},nh.isBuffer=oz,nh.isDate=o$,nh.isElement=function(e){return oq(e)&&1===e.nodeType&&!oK(e)},nh.isEmpty=function(e){if(null==e)return!0;if(oL(e)&&(oD(e)||"string"==typeof e||"function"==typeof e.splice||oz(e)||o0(e)||oM(e)))return!e.length;var t=iy(e);if(t==g||t==x)return!e.size;if(iT(e))return!n9(e).length;for(var n in e)if(ej.call(e,n))return!1;return!0},nh.isEqual=function(e,t){return n4(e,t)},nh.isEqualWith=function(e,t,r){var i=(r="function"==typeof r?r:n)?r(e,t):n;return i===n?n4(e,t,n,r):!!i},nh.isError=oU,nh.isFinite=function(e){return"number"==typeof e&&tZ(e)},nh.isFunction=oB,nh.isInteger=oW,nh.isLength=oH,nh.isMap=oY,nh.isMatch=function(e,t){return e===t||n6(e,t,ip(t))},nh.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,n6(e,t,ip(t),r)},nh.isNaN=function(e){return oG(e)&&e!=+e},nh.isNative=function(e){if(iE(e))throw new ew("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return n5(e)},nh.isNil=function(e){return null==e},nh.isNull=function(e){return null===e},nh.isNumber=oG,nh.isObject=oV,nh.isObjectLike=oq,nh.isPlainObject=oK,nh.isRegExp=oQ,nh.isSafeInteger=function(e){return oW(e)&&e>=-9007199254740991&&e<=9007199254740991},nh.isSet=oX,nh.isString=oJ,nh.isSymbol=oZ,nh.isTypedArray=o0,nh.isUndefined=function(e){return e===n},nh.isWeakMap=function(e){return oq(e)&&iy(e)==k},nh.isWeakSet=function(e){return oq(e)&&"[object WeakSet]"==nX(e)},nh.join=function(e,t){return null==e?"":t0.call(e,t)},nh.kebabCase=aE,nh.last=iX,nh.lastIndexOf=function(e,t,r){var i=null==e?0:e.length;if(!i)return -1;var o=i;return r!==n&&(o=(o=o6(r))<0?t2(i+o,0):t3(o,i-1)),t==t?function(e,t,n){for(var r=n+1;r--&&e[r]!==t;);return r}(e,t,o):tw(e,tS,o,!0)},nh.lowerCase=aT,nh.lowerFirst=aC,nh.lt=o1,nh.lte=o2,nh.max=function(e){return e&&e.length?nU(e,aF,nJ):n},nh.maxBy=function(e,t){return e&&e.length?nU(e,ic(t,2),nJ):n},nh.mean=function(e){return tk(e,aF)},nh.meanBy=function(e,t){return tk(e,ic(t,2))},nh.min=function(e){return e&&e.length?nU(e,aF,n7):n},nh.minBy=function(e,t){return e&&e.length?nU(e,ic(t,2),n7):n},nh.stubArray=aQ,nh.stubFalse=aX,nh.stubObject=function(){return{}},nh.stubString=function(){return""},nh.stubTrue=function(){return!0},nh.multiply=a2,nh.nth=function(e,t){return e&&e.length?ri(e,o6(t)):n},nh.noConflict=function(){return e4._===this&&(e4._=eL),this},nh.noop=aW,nh.now=oy,nh.pad=function(e,t,n){e=o7(e);var r=(t=o6(t))?tH(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return r1(tQ(i),n)+e+r1(tK(i),n)},nh.padEnd=function(e,t,n){e=o7(e);var r=(t=o6(t))?tH(e):0;return t&&r<t?e+r1(t-r,n):e},nh.padStart=function(e,t,n){e=o7(e);var r=(t=o6(t))?tH(e):0;return t&&r<t?r1(t-r,n)+e:e},nh.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),t6(o7(e).replace(X,""),t||0)},nh.random=function(e,t,r){if(r&&"boolean"!=typeof r&&i_(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=o4(e),t===n?(t=e,e=0):t=o4(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var o=t5();return t3(e+o*(t-e+e0("1e-"+((o+"").length-1))),t)}return ru(e,t)},nh.reduce=function(e,t,n){var r=oD(e)?tm:tC,i=arguments.length<3;return r(e,ic(t,4),n,i,nF)},nh.reduceRight=function(e,t,n){var r=oD(e)?tg:tC,i=arguments.length<3;return r(e,ic(t,4),n,i,nz)},nh.repeat=function(e,t,r){return t=(r?i_(e,t,r):t===n)?1:o6(t),rc(o7(e),t)},nh.replace=function(){var e=arguments,t=o7(e[0]);return e.length<3?t:t.replace(e[1],e[2])},nh.result=function(e,t,r){t=rA(t,e);var i=-1,o=t.length;for(o||(o=1,e=n);++i<o;){var a=null==e?n:e[iF(t[i])];a===n&&(i=o,a=r),e=oB(a)?a.call(e):a}return e},nh.round=a3,nh.runInContext=e,nh.sample=function(e){return(oD(e)?nE:function(e){return nE(ax(e))})(e)},nh.size=function(e){if(null==e)return 0;if(oL(e))return oJ(e)?tH(e):e.length;var t=iy(e);return t==g||t==x?e.size:n9(e).length},nh.snakeCase=aR,nh.some=function(e,t,r){var i=oD(e)?ty:rg;return r&&i_(e,t,r)&&(t=n),i(e,ic(t,3))},nh.sortedIndex=function(e,t){return ry(e,t)},nh.sortedIndexBy=function(e,t,n){return rv(e,t,ic(n,2))},nh.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ry(e,t);if(r<n&&oA(e[r],t))return r}return -1},nh.sortedLastIndex=function(e,t){return ry(e,t,!0)},nh.sortedLastIndexBy=function(e,t,n){return rv(e,t,ic(n,2),!0)},nh.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=ry(e,t,!0)-1;if(oA(e[n],t))return n}return -1},nh.startCase=aO,nh.startsWith=function(e,t,n){return e=o7(e),n=null==n?0:nP(o6(n),0,e.length),t=rx(t),e.slice(n,n+t.length)==t},nh.subtract=a4,nh.sum=function(e){return e&&e.length?tR(e,aF):0},nh.sumBy=function(e,t){return e&&e.length?tR(e,ic(t,2)):0},nh.template=function(e,t,r){var i=nh.templateSettings;r&&i_(e,t,r)&&(t=n),e=o7(e),t=an({},t,i,r7);var o,a,s=an({},t.imports,i.imports,r7),l=af(s),u=tj(s,l),c=0,d=t.interpolate||eh,f="__p += '",p=ek((t.escape||eh).source+"|"+d.source+"|"+(d===V?ea:eh).source+"|"+(t.evaluate||eh).source+"|$","g"),h="//# sourceURL="+(ej.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++eQ+"]")+"\n";e.replace(p,function(t,n,r,i,s,l){return r||(r=i),f+=e.slice(c,l).replace(em,tF),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t}),f+="';\n";var m=ej.call(t,"variable")&&t.variable;if(m){if(ei.test(m))throw new ew("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(N,""):f).replace(L,"$1").replace(F,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=aP(function(){return ex(l,h+"return "+f).apply(n,u)});if(g.source=f,oU(g))throw g;return g},nh.times=function(e,t){if((e=o6(e))<1||e>9007199254740991)return[];var n=4294967295,r=t3(e,4294967295);t=ic(t),e-=4294967295;for(var i=tO(r,t);++n<e;)t(n);return i},nh.toFinite=o4,nh.toInteger=o6,nh.toLength=o5,nh.toLower=function(e){return o7(e).toLowerCase()},nh.toNumber=o8,nh.toSafeInteger=function(e){return e?nP(o6(e),-9007199254740991,9007199254740991):0===e?e:0},nh.toString=o7,nh.toUpper=function(e){return o7(e).toUpperCase()},nh.trim=function(e,t,r){if((e=o7(e))&&(r||t===n))return tI(e);if(!e||!(t=rx(t)))return e;var i=tV(e),o=tV(t),a=tM(i,o),s=tD(i,o)+1;return rj(i,a,s).join("")},nh.trimEnd=function(e,t,r){if((e=o7(e))&&(r||t===n))return e.slice(0,tq(e)+1);if(!e||!(t=rx(t)))return e;var i=tV(e),o=tD(i,tV(t))+1;return rj(i,0,o).join("")},nh.trimStart=function(e,t,r){if((e=o7(e))&&(r||t===n))return e.replace(X,"");if(!e||!(t=rx(t)))return e;var i=tV(e),o=tM(i,tV(t));return rj(i,o).join("")},nh.truncate=function(e,t){var r=30,i="...";if(oV(t)){var o="separator"in t?t.separator:o;r="length"in t?o6(t.length):r,i="omission"in t?rx(t.omission):i}var a=(e=o7(e)).length;if(tz(e)){var s=tV(e);a=s.length}if(r>=a)return e;var l=r-tH(i);if(l<1)return i;var u=s?rj(s,0,l).join(""):e.slice(0,l);if(o===n)return u+i;if(s&&(l+=u.length-l),oQ(o)){if(e.slice(l).search(o)){var c,d=u;for(o.global||(o=ek(o.source,o7(es.exec(o))+"g")),o.lastIndex=0;c=o.exec(d);)var f=c.index;u=u.slice(0,f===n?l:f)}}else if(e.indexOf(rx(o),l)!=l){var p=u.lastIndexOf(o);p>-1&&(u=u.slice(0,p))}return u+i},nh.unescape=function(e){return(e=o7(e))&&U.test(e)?e.replace(z,tY):e},nh.uniqueId=function(e){var t=++eP;return o7(e)+t},nh.upperCase=aI,nh.upperFirst=aA,nh.each=ou,nh.eachRight=oc,nh.first=iY,aB(nh,(ey={},nq(nh,function(e,t){ej.call(nh.prototype,t)||(ey[t]=e)}),ey),{chain:!1}),nh.VERSION="4.17.21",tl(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){nh[e].placeholder=nh}),tl(["drop","take"],function(e,t){nv.prototype[e]=function(r){r=r===n?1:t2(o6(r),0);var i=this.__filtered__&&!t?new nv(this):this.clone();return i.__filtered__?i.__takeCount__=t3(r,i.__takeCount__):i.__views__.push({size:t3(r,4294967295),type:e+(i.__dir__<0?"Right":"")}),i},nv.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tl(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;nv.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ic(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),tl(["head","last"],function(e,t){var n="take"+(t?"Right":"");nv.prototype[e]=function(){return this[n](1).value()[0]}}),tl(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");nv.prototype[e]=function(){return this.__filtered__?new nv(this):this[n](1)}}),nv.prototype.compact=function(){return this.filter(aF)},nv.prototype.find=function(e){return this.filter(e).head()},nv.prototype.findLast=function(e){return this.reverse().find(e)},nv.prototype.invokeMap=rd(function(e,t){return"function"==typeof e?new nv(this):this.map(function(n){return n2(n,e,t)})}),nv.prototype.reject=function(e){return this.filter(oT(ic(e)))},nv.prototype.slice=function(e,t){e=o6(e);var r=this;return r.__filtered__&&(e>0||t<0)?new nv(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=o6(t))<0?r.dropRight(-t):r.take(t-e)),r)},nv.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},nv.prototype.toArray=function(){return this.take(4294967295)},nq(nv.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=nh[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(nh.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof nv,u=s[0],c=l||oD(t),d=function(e){var t=o.apply(nh,th([e],s));return i&&f?t[0]:t};c&&r&&"function"==typeof u&&1!=u.length&&(l=c=!1);var f=this.__chain__,p=!!this.__actions__.length,h=a&&!f,m=l&&!p;if(!a&&c){t=m?t:new nv(this);var g=e.apply(t,s);return g.__actions__.push({func:oi,args:[d],thisArg:n}),new ny(g,f)}return h&&m?e.apply(this,s):(g=this.thru(d),h?i?g.value()[0]:g.value():g)})}),tl(["pop","push","shift","sort","splice","unshift"],function(e){var t=eC[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);nh.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(oD(i)?i:[],e)}return this[n](function(n){return t.apply(oD(n)?n:[],e)})}}),nq(nv.prototype,function(e,t){var n=nh[t];if(n){var r=n.name+"";ej.call(no,r)||(no[r]=[]),no[r].push({name:t,func:n})}}),no[rX(n,2).name]=[{name:"wrapper",func:n}],nv.prototype.clone=function(){var e=new nv(this.__wrapped__);return e.__actions__=r$(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=r$(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=r$(this.__views__),e},nv.prototype.reverse=function(){if(this.__filtered__){var e=new nv(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},nv.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=oD(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=t3(t,e+a);break;case"takeRight":e=t2(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,d=c.length,f=0,p=t3(l,this.__takeCount__);if(!n||!r&&i==l&&p==l)return rT(e,this.__actions__);var h=[];r:for(;l--&&f<p;){for(var m=-1,g=e[u+=t];++m<d;){var y=c[m],v=y.iteratee,b=y.type,w=v(g);if(2==b)g=w;else if(!w){if(1==b)continue r;break r}}h[f++]=g}return h},nh.prototype.at=oo,nh.prototype.chain=function(){return or(this)},nh.prototype.commit=function(){return new ny(this.value(),this.__chain__)},nh.prototype.next=function(){this.__values__===n&&(this.__values__=o3(this.value()));var e=this.__index__>=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}},nh.prototype.plant=function(e){for(var t,r=this;r instanceof ng;){var i=i$(r);i.__index__=0,i.__values__=n,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t},nh.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof nv){var t=e;return this.__actions__.length&&(t=new nv(this)),(t=t.reverse()).__actions__.push({func:oi,args:[i1],thisArg:n}),new ny(t,this.__chain__)}return this.thru(i1)},nh.prototype.toJSON=nh.prototype.valueOf=nh.prototype.value=function(){return rT(this.__wrapped__,this.__actions__)},nh.prototype.first=nh.prototype.head,e6&&(nh.prototype[e6]=function(){return this}),nh}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(e4._=tG,define(function(){return tG})):e5?((e5.exports=tG)._=tG,e6._=tG):e4._=tG}).call(this)}),el("2yNvp",function(e,t){var n,r,i,o,a,s,l,u,c,d,f,p,h,m,g,y,v,b,w,x,_,S,E,T,C,R,O,I;k(e.exports,"ContextConsumer",()=>n,e=>n=e),k(e.exports,"ContextProvider",()=>r,e=>r=e),k(e.exports,"Element",()=>i,e=>i=e),k(e.exports,"ForwardRef",()=>o,e=>o=e),k(e.exports,"Fragment",()=>a,e=>a=e),k(e.exports,"Lazy",()=>s,e=>s=e),k(e.exports,"Memo",()=>l,e=>l=e),k(e.exports,"Portal",()=>u,e=>u=e),k(e.exports,"Profiler",()=>c,e=>c=e),k(e.exports,"StrictMode",()=>d,e=>d=e),k(e.exports,"Suspense",()=>f,e=>f=e),k(e.exports,"SuspenseList",()=>p,e=>p=e),k(e.exports,"isAsyncMode",()=>h,e=>h=e),k(e.exports,"isConcurrentMode",()=>m,e=>m=e),k(e.exports,"isContextConsumer",()=>g,e=>g=e),k(e.exports,"isContextProvider",()=>y,e=>y=e),k(e.exports,"isElement",()=>v,e=>v=e),k(e.exports,"isForwardRef",()=>b,e=>b=e),k(e.exports,"isFragment",()=>w,e=>w=e),k(e.exports,"isLazy",()=>x,e=>x=e),k(e.exports,"isMemo",()=>_,e=>_=e),k(e.exports,"isPortal",()=>S,e=>S=e),k(e.exports,"isProfiler",()=>E,e=>E=e),k(e.exports,"isStrictMode",()=>T,e=>T=e),k(e.exports,"isSuspense",()=>C,e=>C=e),k(e.exports,"isSuspenseList",()=>R,e=>R=e),k(e.exports,"isValidElementType",()=>O,e=>O=e),k(e.exports,"typeOf",()=>I,e=>I=e),function(){var e,t=Symbol.for("react.element"),k=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),D=Symbol.for("react.context"),N=Symbol.for("react.server_context"),L=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),B=Symbol.for("react.offscreen");function W(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case t:var r=e.type;switch(r){case A:case P:case j:case F:case z:return r;default:var i=r&&r.$$typeof;switch(i){case N:case D:case L:case U:case $:case M:return i;default:return n}}case k:return n}}}e=Symbol.for("react.module.reference");var H=!1,V=!1;n=D,r=M,i=t,o=L,a=A,s=U,l=$,u=k,c=P,d=j,f=F,p=z,h=function(e){return H||(H=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},m=function(e){return V||(V=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},g=function(e){return W(e)===D},y=function(e){return W(e)===M},v=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},b=function(e){return W(e)===L},w=function(e){return W(e)===A},x=function(e){return W(e)===U},_=function(e){return W(e)===$},S=function(e){return W(e)===k},E=function(e){return W(e)===P},T=function(e){return W(e)===j},C=function(e){return W(e)===F},R=function(e){return W(e)===z},O=function(t){return"string"==typeof t||"function"==typeof t||t===A||t===P||t===j||t===F||t===z||t===B||"object"==typeof t&&null!==t&&(t.$$typeof===U||t.$$typeof===$||t.$$typeof===M||t.$$typeof===D||t.$$typeof===L||t.$$typeof===e||void 0!==t.getModuleId)},I=W}()}),el("fyS7a",function(e,t){var n,r,i,o,a,s,l,u,c,d,f,p,h,m,g,y,v,b,w,x,_,S,E,T,C,R,O,I;k(e.exports,"AsyncMode",()=>n,e=>n=e),k(e.exports,"ConcurrentMode",()=>r,e=>r=e),k(e.exports,"ContextConsumer",()=>i,e=>i=e),k(e.exports,"ContextProvider",()=>o,e=>o=e),k(e.exports,"Element",()=>a,e=>a=e),k(e.exports,"ForwardRef",()=>s,e=>s=e),k(e.exports,"Fragment",()=>l,e=>l=e),k(e.exports,"Lazy",()=>u,e=>u=e),k(e.exports,"Memo",()=>c,e=>c=e),k(e.exports,"Portal",()=>d,e=>d=e),k(e.exports,"Profiler",()=>f,e=>f=e),k(e.exports,"StrictMode",()=>p,e=>p=e),k(e.exports,"Suspense",()=>h,e=>h=e),k(e.exports,"isAsyncMode",()=>m,e=>m=e),k(e.exports,"isConcurrentMode",()=>g,e=>g=e),k(e.exports,"isContextConsumer",()=>y,e=>y=e),k(e.exports,"isContextProvider",()=>v,e=>v=e),k(e.exports,"isElement",()=>b,e=>b=e),k(e.exports,"isForwardRef",()=>w,e=>w=e),k(e.exports,"isFragment",()=>x,e=>x=e),k(e.exports,"isLazy",()=>_,e=>_=e),k(e.exports,"isMemo",()=>S,e=>S=e),k(e.exports,"isPortal",()=>E,e=>E=e),k(e.exports,"isProfiler",()=>T,e=>T=e),k(e.exports,"isStrictMode",()=>C,e=>C=e),k(e.exports,"isSuspense",()=>R,e=>R=e),k(e.exports,"isValidElementType",()=>O,e=>O=e),k(e.exports,"typeOf",()=>I,e=>I=e),function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,k=e?Symbol.for("react.portal"):60106,A=e?Symbol.for("react.fragment"):60107,j=e?Symbol.for("react.strict_mode"):60108,P=e?Symbol.for("react.profiler"):60114,M=e?Symbol.for("react.provider"):60109,D=e?Symbol.for("react.context"):60110,N=e?Symbol.for("react.async_mode"):60111,L=e?Symbol.for("react.concurrent_mode"):60111,F=e?Symbol.for("react.forward_ref"):60112,z=e?Symbol.for("react.suspense"):60113,$=e?Symbol.for("react.suspense_list"):60120,U=e?Symbol.for("react.memo"):60115,B=e?Symbol.for("react.lazy"):60116,W=e?Symbol.for("react.block"):60121,H=e?Symbol.for("react.fundamental"):60117,V=e?Symbol.for("react.responder"):60118,q=e?Symbol.for("react.scope"):60119;function Y(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case t:var r=e.type;switch(r){case N:case L:case A:case P:case j:case z:return r;default:var i=r&&r.$$typeof;switch(i){case D:case F:case B:case U:case M:return i;default:return n}}case k:return n}}}var G=!1;function K(e){return Y(e)===L}n=N,r=L,i=D,o=M,a=t,s=F,l=A,u=B,c=U,d=k,f=P,p=j,h=z,m=function(e){return G||(G=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),K(e)||Y(e)===N},g=K,y=function(e){return Y(e)===D},v=function(e){return Y(e)===M},b=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},w=function(e){return Y(e)===F},x=function(e){return Y(e)===A},_=function(e){return Y(e)===B},S=function(e){return Y(e)===U},E=function(e){return Y(e)===k},T=function(e){return Y(e)===P},C=function(e){return Y(e)===j},R=function(e){return Y(e)===z},O=function(e){return"string"==typeof e||"function"==typeof e||e===A||e===L||e===P||e===j||e===z||e===$||"object"==typeof e&&null!==e&&(e.$$typeof===B||e.$$typeof===U||e.$$typeof===M||e.$$typeof===D||e.$$typeof===F||e.$$typeof===H||e.$$typeof===V||e.$$typeof===q||e.$$typeof===W)},I=Y}()}),el("16mlx",function(e,t){e.exports=es("enMSG")}),el("enMSG",function(e,t){var n;k(e.exports,"useSyncExternalStore",()=>n,e=>n=e),function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var e=es("79wpy"),t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(e){for(var n,r,i,o,a=arguments.length,s=Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];n=e,r=s,""!==(i=t.ReactDebugCurrentFrame.getStackAddendum())&&(n+="%s",r=r.concat([i])),(o=r.map(function(e){return String(e)})).unshift("Warning: "+n),Function.prototype.apply.call(console.error,console,o)}var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=e.useState,a=e.useEffect,s=e.useLayoutEffect,l=e.useDebugValue,u=!1,c=!1;function d(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!i(n,r)}catch(e){return!0}}var f="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?function(t,n,f){u||void 0===e.startTransition||(u=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var p=n();c||i(p,n())||(r("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0);var h=o({inst:{value:p,getSnapshot:n}}),m=h[0].inst,g=h[1];return s(function(){m.value=p,m.getSnapshot=n,d(m)&&g({inst:m})},[t,p,n]),a(function(){return d(m)&&g({inst:m}),t(function(){d(m)&&g({inst:m})})},[t]),l(p),p}:function(e,t,n){return t()};n=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:f,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}),el("l8hlk",function(e,t){var n,r,i,o,a,s,l,u,c;k(e.exports,"useSyncExternalStoreWithSelector",()=>n,e=>n=e),"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),r=es("79wpy"),i=es("16mlx"),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue,n=function(e,t,n,r,i){var d,f=s(null);null===f.current?(d={hasValue:!1,value:null},f.current=d):d=f.current;var p=u(function(){var e,a,s=!1,l=function(t){if(!s){s=!0,e=t;var n=r(t);if(void 0!==i&&d.hasValue){var l=d.value;if(i(l,n))return a=l,l}return a=n,n}var u=a;if(o(e,t))return u;var c=r(t);return void 0!==i&&i(u,c)?u:(e=t,a=c,c)},u=void 0===n?null:n;return[function(){return l(t())},null===u?void 0:function(){return l(u())}]},[t,n,r,i]),h=a(e,p[0],p[1]);return l(function(){d.hasValue=!0,d.value=h},[h]),c(h),h},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}),el("5LB5e",function(e,t){function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=et[e];throw Error("[Immer] "+(i?"function"==typeof i?i.apply(null,n):i:"unknown error nr: "+e))}function r(e){return!!e&&!!e[Z]}function i(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===en}(e)||Array.isArray(e)||!!e[J]||!!(null===(t=e.constructor)||void 0===t?void 0:t[J])||f(e)||p(e))}function o(e){return r(e)||n(23,e),e[Z].t}function a(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:er)(e).forEach(function(r){n&&"symbol"==typeof r||t(r,e[r],e)}):e.forEach(function(n,r){return t(r,n,e)})}function s(e){var t=e[Z];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:f(e)?2:p(e)?3:0}function l(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===s(e)?e.get(t):e[t]}function c(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return G&&e instanceof Map}function p(e){return K&&e instanceof Set}function h(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ei(e);delete t[Z];for(var n=er(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),v(e)||r(e)||!i(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&a(e,function(e,t){return g(t,!0)},!0)),e}function y(){n(2)}function v(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=eo[e];return t||n(18,e),t}function w(e,t){eo[e]||(eo[e]=t)}function x(){return q||n(0),q}function _(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function S(e){E(e),e.p.forEach(C),e.p=null}function E(e){e===q&&(q=e.l)}function T(e){return q={p:[],l:q,h:e,m:!0,_:0}}function C(e){var t=e[Z];0===t.i||1===t.i?t.j():t.g=!0}function R(e,t){t._=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.O||b("ES5").S(t,e,o),o?(r[Z].P&&(S(t),n(4)),i(e)&&(e=O(t,e),t.l||A(t,e)),t.u&&b("Patches").M(r[Z].t,e,t.u,t.s)):e=O(t,r,[]),S(t),t.u&&t.v(t.u,t.s),e!==X?e:void 0}function O(e,t,n){if(v(t))return t;var r=t[Z];if(!r)return a(t,function(i,o){return I(e,r,t,i,o,n)},!0),t;if(r.A!==e)return t;if(!r.P)return A(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=m(r.k):r.o,o=i,s=!1;3===r.i&&(o=new Set(i),i.clear(),s=!0),a(o,function(t,o){return I(e,r,i,t,o,n,s)}),A(e,i,!1),n&&e.u&&b("Patches").N(r,n,e.u,e.s)}return r.o}function I(e,t,o,a,s,u,d){if(s===o&&n(5),r(s)){var f=O(e,s,u&&t&&3!==t.i&&!l(t.R,a)?u.concat(a):void 0);if(c(o,a,f),!r(f))return;e.m=!1}else d&&o.add(s);if(i(s)&&!v(s)){if(!e.h.D&&e._<1)return;O(e,s),t&&t.A.l||A(e,s)}}function A(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&g(t,n)}function j(e,t){var n=e[Z];return(n?h(n):e)[t]}function P(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function M(e){e.P||(e.P=!0,e.l&&M(e.l))}function D(e){e.o||(e.o=m(e.t))}function N(e,t,n){var r,i,o,a,s,l,u,c=f(t)?b("MapSet").F(t,n):p(t)?b("MapSet").T(t,n):e.O?(o=i={i:(r=Array.isArray(t))?1:0,A:n?n.A:x(),P:!1,I:!1,R:{},l:n,t:t,k:null,o:null,j:null,C:!1},a=ea,r&&(o=[i],a=es),l=(s=Proxy.revocable(o,a)).revoke,u=s.proxy,i.k=u,i.j=l,u):b("ES5").J(t,n);return(n?n.A:x()).p.push(c),c}function L(e){return r(e)||n(22,e),function e(t){if(!i(t))return t;var n,r=t[Z],o=s(t);if(r){if(!r.P&&(r.i<4||!b("ES5").K(r)))return r.t;r.I=!0,n=F(t,o),r.I=!1}else n=F(t,o);return a(n,function(t,i){r&&u(r.t,t)===i||c(n,t,e(i))}),3===o?new Set(n):n}(e)}function F(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function z(){function e(e,t){var n=u[e];return n?n.enumerable=t:u[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[Z];return s(t),ea.get(t,e)},set:function(t){var n=this[Z];s(n),ea.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var n=e[t][Z];if(!n.P)switch(n.i){case 5:o(n)&&M(n);break;case 4:i(n)&&M(n)}}}function i(e){for(var t=e.t,n=e.k,r=er(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==Z){var a=t[o];if(void 0===a&&!l(t,o))return!0;var s=n[o],u=s&&s[Z];if(u?u.t!==a:!d(s,a))return!0}}var c=!!t[Z];return r.length!==er(t).length+(c?0:1)}function o(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}function s(e){e.g&&n(3,JSON.stringify(h(e)))}var u={};w("ES5",{J:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=ei(n);delete o[Z];for(var a=er(o),s=0;s<a.length;s++){var l=a[s];o[l]=e(l,t||!!o[l].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:x(),P:!1,I:!1,R:{},l:n,t:t,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Z,{value:o,writable:!0}),i},S:function(e,n,i){i?r(n)&&n[Z].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[Z];if(n){var r=n.t,i=n.k,s=n.R,u=n.i;if(4===u)a(i,function(t){t!==Z&&(void 0!==r[t]||l(r,t)?s[t]||e(i[t]):(s[t]=!0,M(n)))}),a(r,function(e){void 0!==i[e]||l(i,e)||(s[e]=!1,M(n))});else if(5===u){if(o(n)&&(M(n),s.length=!0),i.length<r.length)for(var c=i.length;c<r.length;c++)s[c]=!1;else for(var d=r.length;d<i.length;d++)s[d]=!0;for(var f=Math.min(i.length,r.length),p=0;p<f;p++)i.hasOwnProperty(p)||(s[p]=!0),void 0===s[p]&&e(i[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?i(e):o(e)}})}function $(){function e(t){if(!i(t))return t;if(Array.isArray(t))return t.map(e);if(f(t))return new Map(Array.from(t.entries()).map(function(t){return[t[0],e(t[1])]}));if(p(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return l(t,J)&&(n[J]=t[J]),n}function t(t){return r(t)?e(t):t}w("Patches",{$:function(t,r){return r.forEach(function(r){for(var i=r.path,o=r.op,a=t,l=0;l<i.length-1;l++){var c=s(a),d=i[l];"string"!=typeof d&&"number"!=typeof d&&(d=""+d),0!==c&&1!==c||"__proto__"!==d&&"constructor"!==d||n(24),"function"==typeof a&&"prototype"===d&&n(24),"object"!=typeof(a=u(a,d))&&n(15,i.join("/"))}var f=s(a),p=e(r.value),h=i[i.length-1];switch(o){case"replace":switch(f){case 2:return a.set(h,p);case 3:n(16);default:return a[h]=p}case"add":switch(f){case 1:return"-"===h?a.push(p):a.splice(h,0,p);case 2:return a.set(h,p);case 3:return a.add(p);default:return a[h]=p}case"remove":switch(f){case 1:return a.splice(h,1);case 2:return a.delete(h);case 3:return a.delete(r.value);default:return delete a[h]}default:n(17,o)}}),t},N:function(e,n,r,i){var o,s,c,d,f;switch(e.i){case 0:case 4:case 2:return o=e.t,s=e.o,void a(e.R,function(e,a){var c=u(o,e),d=u(s,e),f=a?l(o,e)?"replace":"add":"remove";if(c!==d||"replace"!==f){var p=n.concat(e);r.push("remove"===f?{op:f,path:p}:{op:f,path:p,value:d}),i.push("add"===f?{op:"remove",path:p}:"remove"===f?{op:"add",path:p,value:t(c)}:{op:"replace",path:p,value:t(c)})}});case 5:case 1:return function(e,n,r,i){var o=e.t,a=e.R,s=e.o;if(s.length<o.length){var l=[s,o];o=l[0],s=l[1];var u=[i,r];r=u[0],i=u[1]}for(var c=0;c<o.length;c++)if(a[c]&&s[c]!==o[c]){var d=n.concat([c]);r.push({op:"replace",path:d,value:t(s[c])}),i.push({op:"replace",path:d,value:t(o[c])})}for(var f=o.length;f<s.length;f++){var p=n.concat([f]);r.push({op:"add",path:p,value:t(s[f])})}o.length<s.length&&i.push({op:"replace",path:n.concat(["length"]),value:o.length})}(e,n,r,i);case 3:return c=e.t,d=e.o,f=0,void(c.forEach(function(e){if(!d.has(e)){var t=n.concat([f]);r.push({op:"remove",path:t,value:e}),i.unshift({op:"add",path:t,value:e})}f++}),f=0,d.forEach(function(e){if(!c.has(e)){var t=n.concat([f]);r.push({op:"add",path:t,value:e}),i.unshift({op:"remove",path:t,value:e})}f++}))}},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t===X?void 0:t}),r.push({op:"replace",path:[],value:e})}})}function U(){function e(e,t){function n(){this.constructor=e}s(e,t),e.prototype=(n.prototype=t.prototype,new n)}function t(e){e.o||(e.R=new Map,e.o=new Map(e.t))}function r(e){e.o||(e.o=new Set,e.t.forEach(function(t){if(i(t)){var n=N(e.A.h,t,e);e.p.set(t,n),e.o.add(n)}else e.o.add(t)}))}function o(e){e.g&&n(3,JSON.stringify(h(e)))}var s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},l=function(){function n(e,t){return this[Z]={i:2,l:t,A:t?t.A:x(),P:!1,I:!1,o:void 0,R:void 0,t:e,k:this,C:!1,g:!1},this}e(n,Map);var r=n.prototype;return Object.defineProperty(r,"size",{get:function(){return h(this[Z]).size}}),r.has=function(e){return h(this[Z]).has(e)},r.set=function(e,n){var r=this[Z];return o(r),h(r).has(e)&&h(r).get(e)===n||(t(r),M(r),r.R.set(e,!0),r.o.set(e,n),r.R.set(e,!0)),this},r.delete=function(e){if(!this.has(e))return!1;var n=this[Z];return o(n),t(n),M(n),n.t.has(e)?n.R.set(e,!1):n.R.delete(e),n.o.delete(e),!0},r.clear=function(){var e=this[Z];o(e),h(e).size&&(t(e),M(e),e.R=new Map,a(e.t,function(t){e.R.set(t,!1)}),e.o.clear())},r.forEach=function(e,t){var n=this;h(this[Z]).forEach(function(r,i){e.call(t,n.get(i),i,n)})},r.get=function(e){var n=this[Z];o(n);var r=h(n).get(e);if(n.I||!i(r)||r!==n.t.get(e))return r;var a=N(n.A.h,r,n);return t(n),n.o.set(e,a),a},r.keys=function(){return h(this[Z]).keys()},r.values=function(){var e,t=this,n=this.keys();return(e={})[ee]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},r.entries=function(){var e,t=this,n=this.keys();return(e={})[ee]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var r=t.get(e.value);return{done:!1,value:[e.value,r]}},e},r[ee]=function(){return this.entries()},n}(),u=function(){function t(e,t){return this[Z]={i:3,l:t,A:t?t.A:x(),P:!1,I:!1,o:void 0,t:e,k:this,p:new Map,g:!1,C:!1},this}e(t,Set);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return h(this[Z]).size}}),n.has=function(e){var t=this[Z];return o(t),t.o?!!t.o.has(e)||!(!t.p.has(e)||!t.o.has(t.p.get(e))):t.t.has(e)},n.add=function(e){var t=this[Z];return o(t),this.has(e)||(r(t),M(t),t.o.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[Z];return o(t),r(t),M(t),t.o.delete(e)||!!t.p.has(e)&&t.o.delete(t.p.get(e))},n.clear=function(){var e=this[Z];o(e),h(e).size&&(r(e),M(e),e.o.clear())},n.values=function(){var e=this[Z];return o(e),r(e),e.o.values()},n.entries=function(){var e=this[Z];return o(e),r(e),e.o.entries()},n.keys=function(){return this.values()},n[ee]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),r=n.next();!r.done;)e.call(t,r.value,r.value,this),r=n.next()},t}();w("MapSet",{F:function(e,t){return new l(e,t)},T:function(e,t){return new u(e,t)}})}function B(){z(),U(),$()}function W(e){return e}function H(e){return e}k(e.exports,"isDraft",()=>r),k(e.exports,"isDraftable",()=>i),k(e.exports,"immerable",()=>J),k(e.exports,"original",()=>o),k(e.exports,"freeze",()=>g),k(e.exports,"nothing",()=>X),k(e.exports,"current",()=>L),k(e.exports,"enableES5",()=>z),k(e.exports,"enablePatches",()=>$),k(e.exports,"enableMapSet",()=>U),k(e.exports,"enableAllPlugins",()=>B),k(e.exports,"castDraft",()=>W),k(e.exports,"castImmutable",()=>H),k(e.exports,"Immer",()=>el),k(e.exports,"produce",()=>ec),k(e.exports,"produceWithPatches",()=>ed),k(e.exports,"setAutoFreeze",()=>ef),k(e.exports,"setUseProxies",()=>ep),k(e.exports,"applyPatches",()=>eh),k(e.exports,"createDraft",()=>em),k(e.exports,"finishDraft",()=>eg),k(e.exports,"default",()=>ey);var V,q,Y="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),G="undefined"!=typeof Map,K="undefined"!=typeof Set,Q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,X=Y?Symbol.for("immer-nothing"):((V={})["immer-nothing"]=!0,V),J=Y?Symbol.for("immer-draftable"):"__$immer_draftable",Z=Y?Symbol.for("immer-state"):"__$immer_state",ee="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",et={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},en=""+Object.prototype.constructor,er="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ei=Object.getOwnPropertyDescriptors||function(e){var t={};return er(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},eo={},ea={get:function(e,t){if(t===Z)return e;var n,r,o=h(e);if(!l(o,t))return(r=P(o,t))?"value"in r?r.value:null===(n=r.get)||void 0===n?void 0:n.call(e.k):void 0;var a=o[t];return e.I||!i(a)?a:a===j(e.t,t)?(D(e),e.o[t]=N(e.A.h,a,e)):a},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=P(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=j(h(e),t),o=null==i?void 0:i[Z];if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(d(n,i)&&(void 0!==n||l(e.t,t)))return!0;D(e),M(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==j(e.t,t)||t in e.t?(e.R[t]=!1,D(e),M(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},es={};a(ea,function(e,t){es[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),es.deleteProperty=function(e,t){return isNaN(parseInt(t))&&n(13),es.set.call(this,e,t,void 0)},es.set=function(e,t,r){return"length"!==t&&isNaN(parseInt(t))&&n(14),ea.set.call(this,e[0],t,r,e[0])};var el=function(){function e(e){var t=this;this.O=Q,this.D=!0,this.produce=function(e,r,o){if("function"==typeof e&&"function"!=typeof r){var a,s=r;return r=e,function(e){var n=this;void 0===e&&(e=s);for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return t.produce(e,function(e){var t;return(t=r).call.apply(t,[n,e].concat(o))})}}if("function"!=typeof r&&n(6),void 0!==o&&"function"!=typeof o&&n(7),i(e)){var l=T(t),u=N(t,e,void 0),c=!0;try{a=r(u),c=!1}finally{c?S(l):E(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then(function(e){return _(l,o),R(e,l)},function(e){throw S(l),e}):(_(l,o),R(a,l))}if(!e||"object"!=typeof e){if(void 0===(a=r(e))&&(a=e),a===X&&(a=void 0),t.D&&g(a,!0),o){var d=[],f=[];b("Patches").M(e,a,d,f),o(d,f)}return a}n(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,function(t){return e.apply(void 0,[t].concat(i))})};var r,i,o=t.produce(e,n,function(e,t){r=e,i=t});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return[e,r,i]}):[o,r,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){i(e)||n(8),r(e)&&(e=L(e));var t=T(this),o=N(this,e,void 0);return o[Z].C=!0,E(t),o},t.finishDraft=function(e,t){var r=e&&e[Z];r&&r.C||n(9),r.I&&n(10);var i=r.A;return _(i,t),R(void 0,i)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!Q&&n(20),this.O=e},t.applyPatches=function(e,t){for(n=t.length-1;n>=0;n--){var n,i=t[n];if(0===i.path.length&&"replace"===i.op){e=i.value;break}}n>-1&&(t=t.slice(n+1));var o=b("Patches").$;return r(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}(),eu=new el,ec=eu.produce,ed=eu.produceWithPatches.bind(eu),ef=eu.setAutoFreeze.bind(eu),ep=eu.setUseProxies.bind(eu),eh=eu.applyPatches.bind(eu),em=eu.createDraft.bind(eu),eg=eu.finishDraft.bind(eu),ey=ec}),el("4oK3d",function(e,t){var n,r=e.exports&&e.exports.__extends||(n=function(e,t){return(n=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])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=e.exports&&e.exports.__assign||function(){return(i=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}).apply(this,arguments)};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.cloneNode=e.exports.hasChildren=e.exports.isDocument=e.exports.isDirective=e.exports.isComment=e.exports.isText=e.exports.isCDATA=e.exports.isTag=e.exports.Element=e.exports.Document=e.exports.CDATA=e.exports.NodeWithChildren=e.exports.ProcessingInstruction=e.exports.Comment=e.exports.Text=e.exports.DataNode=e.exports.Node=void 0;var o=es("hHGap"),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),x(this,e)},e}();e.exports.Node=a;var s=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);e.exports.DataNode=s;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(s);e.exports.Text=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(s);e.exports.Comment=u;var c=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=o.ElementType.Directive,r}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(s);e.exports.ProcessingInstruction=c;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);e.exports.NodeWithChildren=d;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);e.exports.CDATA=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);e.exports.Document=p;var h=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var a=e.call(this,r)||this;return a.name=t,a.attribs=n,a.type=i,a}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(d);function m(e){return(0,o.isTag)(e)}function g(e){return e.type===o.ElementType.CDATA}function y(e){return e.type===o.ElementType.Text}function v(e){return e.type===o.ElementType.Comment}function b(e){return e.type===o.ElementType.Directive}function w(e){return e.type===o.ElementType.Root}function x(e,t){if(void 0===t&&(t=!1),y(e))n=new l(e.data);else if(v(e))n=new u(e.data);else if(m(e)){var n,r=t?_(e.children):[],o=new h(e.name,i({},e.attribs),r);r.forEach(function(e){return e.parent=o}),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(g(e)){var r=t?_(e.children):[],a=new f(r);r.forEach(function(e){return e.parent=a}),n=a}else if(w(e)){var r=t?_(e.children):[],s=new p(r);r.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(b(e)){var d=new c(e.name,e.data);null!=e["x-name"]&&(d["x-name"]=e["x-name"],d["x-publicId"]=e["x-publicId"],d["x-systemId"]=e["x-systemId"]),n=d}else throw Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function _(e){for(var t=e.map(function(e){return x(e,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}e.exports.Element=h,e.exports.isTag=m,e.exports.isCDATA=g,e.exports.isText=y,e.exports.isComment=v,e.exports.isDirective=b,e.exports.isDocument=w,e.exports.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},e.exports.cloneNode=x}),el("hHGap",function(e,t){var n,r;Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.Doctype=e.exports.CDATA=e.exports.Tag=e.exports.Style=e.exports.Script=e.exports.Comment=e.exports.Directive=e.exports.Text=e.exports.Root=e.exports.isTag=e.exports.ElementType=void 0,(r=n=e.exports.ElementType||(e.exports.ElementType={})).Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype",e.exports.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},e.exports.Root=n.Root,e.exports.Text=n.Text,e.exports.Directive=n.Directive,e.exports.Comment=n.Comment,e.exports.Script=n.Script,e.exports.Style=n.Style,e.exports.Tag=n.Tag,e.exports.CDATA=n.CDATA,e.exports.Doctype=n.Doctype}),el("iU1nQ",function(e,t){var n=es("hGKCj");function r(e,t){var r,i,o,a=null;if(!e||"string"!=typeof e)return a;for(var s=n(e),l="function"==typeof t,u=0,c=s.length;u<c;u++)i=(r=s[u]).property,o=r.value,l?t(i,o,r):o&&(a||(a={}),a[i]=o);return a}e.exports=r,e.exports.default=r}),el("hGKCj",function(e,t){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g;function c(e){return e?e.replace(u,""):""}e.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var u=1,d=1;function f(e){var t=e.match(r);t&&(u+=t.length);var n=e.lastIndexOf("\n");d=~n?e.length-n:d+e.length}function p(){var e={line:u,column:d};return function(t){return t.position=new h(e),y(i),t}}function h(e){this.start=e,this.end={line:u,column:d},this.source=t.source}h.prototype.content=e;var m=[];function g(n){var r=Error(t.source+":"+u+":"+d+": "+n);if(r.reason=n,r.filename=t.source,r.line=u,r.column=d,r.source=e,t.silent)m.push(r);else throw r}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function v(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}return y(i),function(){var e,t=[];for(v(t);e=function(){var e=p(),t=y(o);if(t){if(b(),!y(a))return g("property missing ':'");var r=y(s),i=e({type:"declaration",property:c(t[0].replace(n,"")),value:r?c(r[0].replace(n,"")):""});return y(l),i}}();)!1!==e&&(t.push(e),v(t));return t}()}}),el("jx1Br",function(e,t){var n,r,i,o,a,s,l,u,c,d,f,p,h,m,g,y,v,b,w,x,_,S,E,T,C,R,O,I;k(e.exports,"AsyncMode",()=>n,e=>n=e),k(e.exports,"ConcurrentMode",()=>r,e=>r=e),k(e.exports,"ContextConsumer",()=>i,e=>i=e),k(e.exports,"ContextProvider",()=>o,e=>o=e),k(e.exports,"Element",()=>a,e=>a=e),k(e.exports,"ForwardRef",()=>s,e=>s=e),k(e.exports,"Fragment",()=>l,e=>l=e),k(e.exports,"Lazy",()=>u,e=>u=e),k(e.exports,"Memo",()=>c,e=>c=e),k(e.exports,"Portal",()=>d,e=>d=e),k(e.exports,"Profiler",()=>f,e=>f=e),k(e.exports,"StrictMode",()=>p,e=>p=e),k(e.exports,"Suspense",()=>h,e=>h=e),k(e.exports,"isAsyncMode",()=>m,e=>m=e),k(e.exports,"isConcurrentMode",()=>g,e=>g=e),k(e.exports,"isContextConsumer",()=>y,e=>y=e),k(e.exports,"isContextProvider",()=>v,e=>v=e),k(e.exports,"isElement",()=>b,e=>b=e),k(e.exports,"isForwardRef",()=>w,e=>w=e),k(e.exports,"isFragment",()=>x,e=>x=e),k(e.exports,"isLazy",()=>_,e=>_=e),k(e.exports,"isMemo",()=>S,e=>S=e),k(e.exports,"isPortal",()=>E,e=>E=e),k(e.exports,"isProfiler",()=>T,e=>T=e),k(e.exports,"isStrictMode",()=>C,e=>C=e),k(e.exports,"isSuspense",()=>R,e=>R=e),k(e.exports,"isValidElementType",()=>O,e=>O=e),k(e.exports,"typeOf",()=>I,e=>I=e),function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,k=e?Symbol.for("react.portal"):60106,A=e?Symbol.for("react.fragment"):60107,j=e?Symbol.for("react.strict_mode"):60108,P=e?Symbol.for("react.profiler"):60114,M=e?Symbol.for("react.provider"):60109,D=e?Symbol.for("react.context"):60110,N=e?Symbol.for("react.async_mode"):60111,L=e?Symbol.for("react.concurrent_mode"):60111,F=e?Symbol.for("react.forward_ref"):60112,z=e?Symbol.for("react.suspense"):60113,$=e?Symbol.for("react.suspense_list"):60120,U=e?Symbol.for("react.memo"):60115,B=e?Symbol.for("react.lazy"):60116,W=e?Symbol.for("react.block"):60121,H=e?Symbol.for("react.fundamental"):60117,V=e?Symbol.for("react.responder"):60118,q=e?Symbol.for("react.scope"):60119;function Y(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case t:var r=e.type;switch(r){case N:case L:case A:case P:case j:case z:return r;default:var i=r&&r.$$typeof;switch(i){case D:case F:case B:case U:case M:return i;default:return n}}case k:return n}}}var G=!1;function K(e){return Y(e)===L}n=N,r=L,i=D,o=M,a=t,s=F,l=A,u=B,c=U,d=k,f=P,p=j,h=z,m=function(e){return G||(G=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),K(e)||Y(e)===N},g=K,y=function(e){return Y(e)===D},v=function(e){return Y(e)===M},b=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},w=function(e){return Y(e)===F},x=function(e){return Y(e)===A},_=function(e){return Y(e)===B},S=function(e){return Y(e)===U},E=function(e){return Y(e)===k},T=function(e){return Y(e)===P},C=function(e){return Y(e)===j},R=function(e){return Y(e)===z},O=function(e){return"string"==typeof e||"function"==typeof e||e===A||e===L||e===P||e===j||e===z||e===$||"object"==typeof e&&null!==e&&(e.$$typeof===B||e.$$typeof===U||e.$$typeof===M||e.$$typeof===D||e.$$typeof===F||e.$$typeof===H||e.$$typeof===V||e.$$typeof===q||e.$$typeof===W)},I=Y}()}),el("7PRXG",function(e,t){var n=es("4lLWL"),r=es("8lsOO"),i=es("4NZyM"),o=es("gdLd3"),a=es("5NJf5"),s=function(){};function l(){return null}s=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw Error(t)}catch(e){}},e.exports=function(e,t){var u="function"==typeof Symbol&&Symbol.iterator,c="<<anonymous>>",d={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:p(l),arrayOf:function(e){return p(function(t,n,r,o,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new f("Invalid "+o+" `"+a+"` of type "+("`"+g(s))+"` supplied to `"+r+"`, expected an array.");for(var l=0;l<s.length;l++){var u=e(s,l,r,o,a+"["+l+"]",i);if(u instanceof Error)return u}return null})},element:p(function(t,n,r,i,o){var a=t[n];return e(a)?null:new f("Invalid "+i+" `"+o+"` of type "+("`"+g(a))+"` supplied to `"+r+"`, expected a single ReactElement.")}),elementType:p(function(e,t,r,i,o){var a=e[t];return n.isValidElementType(a)?null:new f("Invalid "+i+" `"+o+"` of type "+("`"+g(a))+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return p(function(t,n,r,i,o){if(!(t[n]instanceof e)){var a,s=e.name||c;return new f("Invalid "+i+" `"+o+"` of type "+("`"+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:c))+"` supplied to `"+r+"`, expected instance of `"+s+"`.")}return null})},node:p(function(t,n,r,i,o){return!function t(n){switch(typeof n){case"number":case"string":case"undefined":return!0;case"boolean":return!n;case"object":if(Array.isArray(n))return n.every(t);if(null===n||e(n))return!0;var r=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(n);if(!r)return!1;var i,o=r.call(n);if(r!==n.entries){for(;!(i=o.next()).done;)if(!t(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!t(a[1]))return!1}return!0;default:return!1}}(t[n])?new f("Invalid "+i+" `"+o+"` supplied to `"+r+"`, expected a ReactNode."):null}),objectOf:function(e){return p(function(t,n,r,a,s){if("function"!=typeof e)return new f("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[n],u=g(l);if("object"!==u)return new f("Invalid "+a+" `"+s+"` of type "+("`"+u)+"` supplied to `"+r+"`, expected an object.");for(var c in l)if(o(l,c)){var d=e(l,c,r,a,s+"."+c,i);if(d instanceof Error)return d}return null})},oneOf:function(e){return Array.isArray(e)?p(function(t,n,r,i,o){for(var a,s=t[n],l=0;l<e.length;l++)if(s===(a=e[l])?0!==s||1/s==1/a:s!=s&&a!=a)return null;var u=JSON.stringify(e,function(e,t){return"symbol"===y(t)?String(t):t});return new f("Invalid "+i+" `"+o+"` of value `"+String(s)+"` "+("supplied to `"+r)+"`, expected one of "+u+".")}):(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array."),l)},oneOfType:function(e){if(!Array.isArray(e))return s("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+function(e){var t=y(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}(n)+" at index "+t+"."),l}return p(function(t,n,r,a,s){for(var l=[],u=0;u<e.length;u++){var c=(0,e[u])(t,n,r,a,s,i);if(null==c)return null;c.data&&o(c.data,"expectedType")&&l.push(c.data.expectedType)}return new f("Invalid "+a+" `"+s+"` supplied to "+("`"+r)+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")})},shape:function(e){return p(function(t,n,r,o,a){var s=t[n],l=g(s);if("object"!==l)return new f("Invalid "+o+" `"+a+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var c=e[u];if("function"!=typeof c)return m(r,o,a,u,y(c));var d=c(s,u,r,o,a+"."+u,i);if(d)return d}return null})},exact:function(e){return p(function(t,n,a,s,l){var u=t[n],c=g(u);if("object"!==c)return new f("Invalid "+s+" `"+l+"` of type `"+c+"` supplied to `"+a+"`, expected `object`.");var d=r({},t[n],e);for(var p in d){var h=e[p];if(o(e,p)&&"function"!=typeof h)return m(a,s,l,p,y(h));if(!h)return new f("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var v=h(u,p,a,s,l+"."+p,i);if(v)return v}return null})}};function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function p(e){var n={},r=0;function o(o,a,l,u,d,p,h){if(u=u||c,p=p||l,h!==i){if(t){var m=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 m.name="Invariant Violation",m}if("undefined"!=typeof console){var g=u+":"+l;!n[g]&&r<3&&(s("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[g]=!0,r++)}}return null!=a[l]?e(a,l,u,d,p):o?new f(null===a[l]?"The "+d+" `"+p+"` is marked as required in `"+u+"`, but its value is `null`.":"The "+d+" `"+p+"` is marked as required in `"+u+"`, but its value is `undefined`."):null}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function h(e){return p(function(t,n,r,i,o,a){var s=t[n];return g(s)!==e?new f("Invalid "+i+" `"+o+"` of type "+("`"+y(s))+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null})}function m(e,t,n,r,i){return new f((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":"symbol"===t||e&&("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)?"symbol":t}function y(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}return f.prototype=Error.prototype,d.checkPropTypes=a,d.resetWarningCache=a.resetWarningCache,d.PropTypes=d,d}}),el("4lLWL",function(e,t){e.exports=es("jx1Br")}),el("8lsOO",function(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var i={};if("abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},i)).join(""))return!1;return!0}catch(e){return!1}}()?function(e,t){for(var o,a,s=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]))r.call(o,u)&&(s[u]=o[u]);if(n){a=n(o);for(var c=0;c<a.length;c++)i.call(o,a[c])&&(s[a[c]]=o[a[c]])}}return s}:Object.assign}),el("4NZyM",function(e,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}),el("gdLd3",function(e,t){e.exports=Function.call.bind(Object.prototype.hasOwnProperty)}),el("5NJf5",function(e,t){var n=function(){},r=es("4NZyM"),i={},o=es("gdLd3");function a(e,t,a,s,l){for(var u in e)if(o(e,u)){var c;try{if("function"!=typeof e[u]){var d=Error((s||"React class")+": "+a+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}c=e[u](t,u,s,a,null,r)}catch(e){c=e}if(!c||c instanceof Error||n((s||"React class")+": type specification of "+a+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in i)){i[c.message]=!0;var f=l?l():"";n("Failed "+a+" type: "+c.message+(null!=f?f:""))}}}n=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw Error(t)}catch(e){}},a.resetWarningCache=function(){i={}},e.exports=a}),el("lQVtG",function(e,t){e.exports=es("bXsGq")(es("dvAdu").resolve("eZTpR")).then(()=>es("itfNJ"))}),el("bXsGq",function(e,t){var n=es("iNpbC");e.exports=n(function(e){return new Promise(function(t,n){if([].concat(document.getElementsByTagName("script")).some(function(t){return t.src===e})){t();return}var r=document.createElement("link");r.href=e,r.rel="preload",r.as="script",document.head.appendChild(r);var i=document.createElement("script");i.async=!0,i.type="text/javascript",i.src=e,i.onerror=function(t){var r=TypeError("Failed to fetch dynamically imported module: ".concat(e,". Error: ").concat(t.message));i.onerror=i.onload=null,i.remove(),n(r)},i.onload=function(){i.onerror=i.onload=null,t()},document.getElementsByTagName("head")[0].appendChild(i)})})}),el("iNpbC",function(e,t){var n={},r={},i={};e.exports=function(e,t){return function(o){var a=function(e){switch(e){case"preload":return r;case"prefetch":return i;default:return n}}(t);return a[o]?a[o]:a[o]=e.apply(null,arguments).catch(function(e){throw delete a[o],e})}}}),el("9e1Uw",function(e,t){k(e.exports,"isNodeEnv",()=>i);var n=es("bD5RL"),r=es("aGGVD");function i(){return!(0,n.isBrowserBundle)()&&"[object process]"===Object.prototype.toString.call(void 0!==r?r:0)}}),el("bD5RL",function(e,t){function n(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function r(){return"npm"}k(e.exports,"isBrowserBundle",()=>n),k(e.exports,"getSDKSource",()=>r)}),el("aGGVD",function(e,t){var n,r,i,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u=[],c=!1,d=-1;function f(){c&&i&&(c=!1,i.length?u=i.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=l(f);c=!0;for(var t=u.length;t;){for(i=u,u=[];++d<t;)i&&i[d].run();d=-1,t=u.length}i=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||l(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}),el("c92AQ",function(e,t){}),es("dvAdu").register(es("d2Law").getBundleURL("5DrPY"),JSON.parse('["5DrPY","index.js","eZTpR","web-vitals.9ea7ba6a.js","lwK7S","index.css"]'));var eu={};eu=es("aQdfE");var ec=es("79wpy"),ed={};k(ed,"createRoot",()=>$,e=>$=e),k(ed,"hydrateRoot",()=>U,e=>U=e);var ef={},ep=(ef=es("92oL8")).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;$=function(e,t){ep.usingClientEntryPoint=!0;try{return ef.createRoot(e,t)}finally{ep.usingClientEntryPoint=!1}},U=function(e,t,n){ep.usingClientEntryPoint=!0;try{return ef.hydrateRoot(e,t,n)}finally{ep.usingClientEntryPoint=!1}},es("4Up6t");var ec=es("79wpy"),eh=es("4Up6t"),em={};em=es("2yNvp");var ec=es("79wpy"),eg={};eg=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var u=o[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(i=n?n.call(r,c,d,u):void 0)||void 0===i&&c!==d)return!1}return!0};var ey=function(e){function t(e,t,r){var i=t.trim().split(h);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],r).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var u=0;u<a;++u)t[l++]=n(e[u]+" ",i[s],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,o){var a=e+";",s=2*t+3*n+4*o;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===O||2===O&&i(l,1)?"-webkit-"+l+l:l}if(0===O||2===O&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(E,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return f.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(b,"tb");break;case 232:l=a.replace(b,"tb-rl");break;case 220:l=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(_,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(_,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,o).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),P(2!==t?r:r.replace(S,"$1"),n,t)}function o(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function a(e,t,n,r,i,o,a,s,u,c){for(var d,f=0,p=t;f<j;++f)switch(d=A[f].call(l,e,p,n,r,i,o,a,s,u,c)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!=typeof e?O=1:(O=2,P=e):O=0),s}function l(e,n){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<j){var l=a(-1,n,s,s,C,T,0,0,0,0);void 0!==l&&"string"==typeof l&&(n=l)}var d=function e(n,s,l,d,f){for(var p,h,m,b,x,_=0,S=0,k=0,E=0,A=0,P=0,D=m=p=0,N=0,L=0,F=0,z=0,$=l.length,U=$-1,B="",W="",H="",V="";N<$;){if(h=l.charCodeAt(N),N===U&&0!==S+E+k+_&&(0!==S&&(h=47===S?10:47),E=k=_=0,$++,U++),0===S+E+k+_){if(N===U&&(0<L&&(B=B.replace(c,"")),0<B.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:B+=l.charAt(N)}h=59}switch(h){case 123:for(p=(B=B.trim()).charCodeAt(0),m=1,z=++N;N<$;){switch(h=l.charCodeAt(N)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(N+1)){case 42:case 47:o:{for(D=N+1;D<U;++D)switch(l.charCodeAt(D)){case 47:if(42===h&&42===l.charCodeAt(D-1)&&N+2!==D){N=D+1;break o}break;case 10:if(47===h){N=D+1;break o}}N=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<U&&l.charCodeAt(N)!==h;);}if(0===m)break;N++}if(m=l.substring(z,N),0===p&&(p=(B=B.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<L&&(B=B.replace(c,"")),h=B.charCodeAt(1)){case 100:case 109:case 115:case 45:L=s;break;default:L=I}if(z=(m=e(s,L,m,h,f+1)).length,0<j&&(x=a(3,m,L=t(I,B,F),s,C,T,z,h,f,d),B=L.join(""),void 0!==x&&0===(z=(m=x.trim()).length)&&(h=0,m="")),0<z)switch(h){case 115:B=B.replace(w,o);case 100:case 109:case 45:m=B+"{"+m+"}";break;case 107:m=(B=B.replace(g,"$1 $2"))+"{"+m+"}",m=1===O||2===O&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=B+m,112===d&&(W+=m,m="")}else m=""}else m=e(s,t(s,B,F),m,d,f+1);H+=m,m=F=L=D=p=0,B="",h=l.charCodeAt(++N);break;case 125:case 59:if(1<(z=(B=(0<L?B.replace(c,""):B).trim()).length))switch(0===D&&(45===(p=B.charCodeAt(0))||96<p&&123>p)&&(z=(B=B.replace(" ",":")).length),0<j&&void 0!==(x=a(1,B,s,n,C,T,W.length,d,f,d))&&0===(z=(B=x.trim()).length)&&(B="\0\0"),p=B.charCodeAt(0),h=B.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){V+=B+l.charAt(N);break}default:58!==B.charCodeAt(z-1)&&(W+=r(B,p,h,B.charCodeAt(2)))}F=L=D=p=0,B="",h=l.charCodeAt(++N)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==d&&0<B.length&&(L=1,B+="\0"),0<j*M&&a(0,B,s,n,C,T,W.length,d,f,d),T=1,C++;break;case 59:case 125:if(0===S+E+k+_){T++;break}default:switch(T++,b=l.charAt(N),h){case 9:case 32:if(0===E+_+S)switch(A){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===E+S+_&&(L=F=1,b="\f"+b);break;case 108:if(0===E+S+_+R&&0<D)switch(N-D){case 2:112===A&&58===l.charCodeAt(N-3)&&(R=A);case 8:111===P&&(R=P)}break;case 58:0===E+S+_&&(D=N);break;case 44:0===S+k+E+_&&(L=1,b+="\r");break;case 34:case 39:0===S&&(E=E===h?0:0===E?h:E);break;case 91:0===E+S+k&&_++;break;case 93:0===E+S+k&&_--;break;case 41:0===E+S+_&&k--;break;case 40:0===E+S+_&&(0===p&&(2*A+3*P==533||(p=1)),k++);break;case 64:0===S+k+E+_+D+m&&(m=1);break;case 42:case 47:if(!(0<E+_+k))switch(S){case 0:switch(2*h+3*l.charCodeAt(N+1)){case 235:S=47;break;case 220:z=N,S=42}break;case 42:47===h&&42===A&&z+2!==N&&(33===l.charCodeAt(z+2)&&(W+=l.substring(z,N+1)),b="",S=0)}}0===S&&(B+=b)}P=A,A=h,N++}if(0<(z=W.length)){if(L=s,0<j&&void 0!==(x=a(2,W,L,n,C,T,z,d,f,d))&&0===(W=x).length)return V+W+H;if(W=L.join(",")+"{"+W+"}",0!=O*R){switch(2!==O||i(W,2)||(R=0),R){case 111:W=W.replace(v,":-moz-$1")+W;break;case 112:W=W.replace(y,"::-webkit-input-$1")+W.replace(y,"::-moz-$1")+W.replace(y,":-ms-input-$1")+W}R=0}}return V+W+H}(I,s,n,0,0);return 0<j&&void 0!==(l=a(-2,d,s,s,C,T,d.length,0,0,0))&&(d=l),R=0,T=C=1,d}var u=/^\0+/g,c=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,p=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,_=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,T=1,C=1,R=0,O=1,I=[],A=[],j=0,P=null,M=0;return l.use=function e(t){switch(t){case void 0:case null:j=A.length=0;break;default:if("function"==typeof t)A[j++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else M=0|!!t}return e},l.set=s,void 0!==e&&s(e),l},ev={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},eb=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ew=(E=function(e){return eb.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},T=Object.create(null),function(e){return void 0===T[e]&&(T[e]=E(e)),T[e]}),ex={},e_={};e_=es("fyS7a");var eS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ek={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},eE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eT={};function eC(e){return e_.isMemo(e)?eE:eT[e.$$typeof]||eS}eT[e_.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},eT[e_.Memo]=eE;var eR=Object.defineProperty,eO=Object.getOwnPropertyNames,eI=Object.getOwnPropertySymbols,eA=Object.getOwnPropertyDescriptor,ej=Object.getPrototypeOf,eP=Object.prototype;ex=function e(t,n,r){if("string"!=typeof n){if(eP){var i=ej(n);i&&i!==eP&&e(t,i,r)}var o=eO(n);eI&&(o=o.concat(eI(n)));for(var a=eC(t),s=eC(n),l=0;l<o.length;++l){var u=o[l];if(!ek[u]&&!(r&&r[u])&&!(s&&s[u])&&!(a&&a[u])){var c=eA(n,u);try{eR(t,u,c)}catch(e){}}}}return t};var eM=es("aGGVD");function eD(){return(eD=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var eN=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},eL=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,em.typeOf)(e)},eF=Object.freeze([]),ez=Object.freeze({});function e$(e){return"function"==typeof e}function eU(e){return"string"==typeof e&&e||e.displayName||e.name||"Component"}function eB(e){return e&&"string"==typeof e.styledComponentId}var eW=(void 0!==eM&&eM.env,"data-styled"),eH="undefined"!=typeof window&&"HTMLElement"in window,eV=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==eM&&void 0!==eM.env),eq={1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"};function eY(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n<r;n+=1)t.push(n<0||arguments.length<=n?void 0:arguments[n]);return t.forEach(function(t){e=e.replace(/%[a-z]/,t)}),e}function eG(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error(eY.apply(void 0,[eq[e]].concat(n)).trim())}var eK=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&eG(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),eQ=new Map,eX=new Map,eJ=1,eZ=function(e){if(eQ.has(e))return eQ.get(e);for(;eX.has(eJ);)eJ++;var t=eJ++;return((0|t)<0||t>1073741824)&&eG(16,""+t),eQ.set(e,t),eX.set(t,e),t},e0=function(e,t){t>=eJ&&(eJ=t+1),eQ.set(e,t),eX.set(t,e)},e1="style["+eW+'][data-styled-version="5.3.11"]',e2=RegExp("^"+eW+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),e3=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},e4=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(e2);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(e0(u,l),e3(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},e6=function(){return"undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null},e5=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(eW))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(eW,"active"),r.setAttribute("data-styled-version","5.3.11");var a=e6();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},e8=function(){function e(e){var t=this.element=e5(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}eG(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),e9=function(){function e(e){var t=this.element=e5(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),e7=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),te=eH,tt={isServer:!eH,useCSSOMInjection:!eV},tn=function(){function e(e,t,n){void 0===e&&(e=ez),void 0===t&&(t={}),this.options=eD({},tt,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&eH&&te&&(te=!1,function(e){for(var t=document.querySelectorAll(e1),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(eW)&&(e4(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return eZ(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eD({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(t=(e=this.options).isServer,n=e.useCSSOMInjection,r=e.target,new eK(t?new e7(r):n?new e8(r):new e9(r))))},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(eZ(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(eZ(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(eZ(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o,a=(o=i,eX.get(o));if(void 0!==a){var s=e.names.get(a),l=t.getGroup(i);if(s&&l&&s.size){var u=eW+".g"+i+'[id="'+a+'"]',c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=e+",")}),r+=""+l+u+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),tr=/(a)(d)/gi,ti=function(e){return String.fromCharCode(e+(e>25?39:97))};function to(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ti(t%52)+n;return(ti(t%52)+n).replace(tr,"$1-$2")}var ta=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ts=function(e){return ta(5381,e)},tl=ts("5.3.11"),tu=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=!1,this.componentId=t,this.baseHash=ta(tl,t),this.baseStyle=n,tn.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash){if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=tT(this.rules,e,t,n).join(""),a=to(ta(this.baseHash,o)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}}else{for(var l=this.rules.length,u=ta(this.baseHash,n.hash),c="",d=0;d<l;d++){var f=this.rules[d];if("string"==typeof f)c+=f,u=ta(u,f+d);else if(f){var p=tT(f,e,t,n),h=Array.isArray(p)?p.join(""):p;u=ta(u,h+d),c+=h}}if(c){var m=to(u>>>0);if(!t.hasNameForId(r,m)){var g=n(c,"."+m,void 0,r);t.insertRules(r,m,g)}i.push(m)}}return i.join(" ")},e}(),tc=/^\s*\/\/.*$/gm,td=[":","[",".","#"];function tf(e){var t,n,r,i,o=void 0===e?ez:e,a=o.options,s=void 0===a?ez:a,l=o.plugins,u=void 0===l?eF:l,c=new ey(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,l,u,c,d){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(i[0]+r),"";default:return r+(0===d?"/*|*/":"")}case -2:r.split("/*|*/}").forEach(t)}}}(function(e){d.push(e)}),p=function(e,r,o){return 0===r&&-1!==td.indexOf(o[n.length])||o.match(i)?e:"."+t};function h(e,o,a,s){void 0===s&&(s="&");var l=e.replace(tc,""),u=o&&a?a+" "+o+" { "+l+" }":l;return t=s,r=RegExp("\\"+(n=o)+"\\b","g"),i=RegExp("(\\"+n+"\\b){2,}"),c(a||!o?"":o,u)}return c.use([].concat(u,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,p))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),h.hash=u.length?u.reduce(function(e,t){return t.name||eG(15),ta(e,t.name)},5381).toString():"",h}var tp=ei(ec).createContext(),th=(tp.Consumer,ei(ec).createContext()),tm=(th.Consumer,new tn),tg=tf();function ty(){return(0,ec.useContext)(tp)||tm}function tv(e){var t=(0,ec.useState)(e.stylisPlugins),n=t[0],r=t[1],i=ty(),o=(0,ec.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,ec.useMemo)(function(){return tf({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return(0,ec.useEffect)(function(){ei(eg)(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),ei(ec).createElement(tp.Provider,{value:o},ei(ec).createElement(th.Provider,{value:a},ei(ec).Children.only(e.children)))}var tb=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=tg);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return eG(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=tg),this.name+e.hash},e}(),tw=/([A-Z])/,tx=/([A-Z])/g,t_=/^ms-/,tS=function(e){return"-"+e.toLowerCase()};function tk(e){return tw.test(e)?e.replace(tx,tS).replace(t_,"-ms-"):e}var tE=function(e){return null==e||!1===e||""===e};function tT(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=tT(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}if(tE(e))return"";if(eB(e))return"."+e.styledComponentId;if(e$(e)){if("function"!=typeof e||e.prototype&&e.prototype.isReactComponent||!t)return e;var l=e(t);return(0,em.isElement)(l)&&console.warn(eU(e)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),tT(l,t,n,r)}return e instanceof tb?n?(e.inject(n,r),e.getName(r)):e:eL(e)?function e(t,n){var r,i=[];for(var o in t)t.hasOwnProperty(o)&&!tE(t[o])&&(Array.isArray(t[o])&&t[o].isCss||e$(t[o])?i.push(tk(o)+":",t[o],";"):eL(t[o])?i.push.apply(i,e(t[o],o)):i.push(tk(o)+": "+(null==(r=t[o])||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||o in ev||o.startsWith("--")?String(r).trim():r+"px")+";"));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString()}var tC=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function tR(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e$(e)||eL(e)?tC(tT(eN(eF,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:tC(tT(eN(e,n)))}var tO=/invalid hook call/i,tI=new Set,tA=function(e,t){var n="The component "+e+(t?' with the id of "'+t+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",r=console.error;try{var i=!0;console.error=function(e){if(tO.test(e))i=!1,tI.delete(n);else{for(var t=arguments.length,o=Array(t>1?t-1:0),a=1;a<t;a++)o[a-1]=arguments[a];r.apply(void 0,[e].concat(o))}},(0,ec.useRef)(),i&&!tI.has(n)&&(console.warn(n),tI.add(n))}catch(e){tO.test(e.message)&&tI.delete(n)}finally{console.error=r}},tj=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,tP=/(^-|-$)/g;function tM(e){return e.replace(tj,"-").replace(tP,"")}function tD(e){return"string"==typeof e&&e.charAt(0)===e.charAt(0).toLowerCase()}var tN=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},tL=ei(ec).createContext();function tF(e){var t=(0,ec.useContext)(tL),n=(0,ec.useMemo)(function(){return function(e,t){if(!e)return eG(14);if(e$(e)){var n=e(t);return null===n||Array.isArray(n)||"object"!=typeof n?eG(7):n}return Array.isArray(e)||"object"!=typeof e?eG(8):t?eD({},t,{},e):e}(e.theme,t)},[e.theme,t]);return e.children?ei(ec).createElement(tL.Provider,{value:n},e.children):null}tL.Consumer;var tz={},t$=function(e){return function e(t,n,r){if(void 0===r&&(r=ez),!(0,em.isValidElementType)(n))return eG(1,String(n));var i=function(){return t(n,r,tR.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,n,eD({},r,{},i))},i.attrs=function(i){return e(t,n,eD({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(function e(t,n,r){var i,o,a=eB(t),s=!tD(t),l=n.attrs,u=void 0===l?eF:l,c=n.componentId,d=void 0===c?(y=n.displayName,v=n.parentComponentId,tz[b="string"!=typeof y?"sc":tM(y)]=(tz[b]||0)+1,w=b+"-"+to(ts("5.3.11"+b+tz[b])>>>0),v?v+"-"+w:w):c,f=n.displayName,p=void 0===f?tD(t)?"styled."+t:"Styled("+eU(t)+")":f,h=n.displayName&&n.componentId?tM(n.displayName)+"-"+n.componentId:n.componentId||d,m=a&&t.attrs?Array.prototype.concat(t.attrs,u).filter(Boolean):u,g=n.shouldForwardProp;a&&t.shouldForwardProp&&(g=n.shouldForwardProp?function(e,r,i){return t.shouldForwardProp(e,r,i)&&n.shouldForwardProp(e,r,i)}:t.shouldForwardProp);var y,v,b,w,x,_=new tu(r,h,a?t.componentStyle:void 0),S=_.isStatic&&0===u.length,k=function(e,t){return function(e,t,n,r){var i,o,a,s,l,u,c,d,f,p=e.attrs,h=e.componentStyle,m=e.defaultProps,g=e.foldedComponentIds,y=e.shouldForwardProp,v=e.styledComponentId,b=e.target,w=(i=(0,ec.useContext)(tL),void 0===(o=m)&&(o=ez),void 0===(a=t.theme!==o.theme&&t.theme||i||o.theme||ez)&&(a=ez),s=eD({},t,{theme:a}),l={},p.forEach(function(e){var t,n,r,i=e;for(t in e$(i)&&(i=i(s)),i)s[t]=l[t]="className"===t?(n=l[t],r=i[t],n&&r?n+" "+r:n||r):i[t]}),[s,l]),x=w[0],_=w[1],S=(u=e.warnTooManyClasses,c=ty(),d=(0,ec.useContext)(th)||tg,f=r?h.generateAndInjectStyles(ez,c,d):h.generateAndInjectStyles(x,c,d),!r&&u&&u(f),f),k=_.$as||t.$as||_.as||t.as||b,E=tD(k),T=_!==t?eD({},t,{},_):t,C={};for(var R in T)"$"!==R[0]&&"as"!==R&&("forwardedAs"===R?C.as=T[R]:(y?y(R,ew,k):!E||ew(R))&&(C[R]=T[R]));return t.style&&_.style!==t.style&&(C.style=eD({},t.style,{},_.style)),C.className=Array.prototype.concat(g,v,S!==v?S:null,t.className,_.className).filter(Boolean).join(" "),C.ref=n,(0,ec.createElement)(k,C)}(x,e,t,S)};return k.displayName=p,(x=ei(ec).forwardRef(k)).attrs=m,x.componentStyle=_,x.displayName=p,x.shouldForwardProp=g,x.foldedComponentIds=a?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):eF,x.styledComponentId=h,x.target=a?t.target:t,x.withComponent=function(t){var i=n.componentId,o=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(n,["componentId"]),a=i&&i+"-"+(tD(t)?t:tM(eU(t)));return e(t,eD({},o,{attrs:m,componentId:a}),r)},Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?function e(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=0;o<r.length;o++){var a=r[o];if(tN(a))for(var s in a)"__proto__"!==s&&"constructor"!==s&&"prototype"!==s&&function(t,n,r){var i=t[r];tN(n)&&tN(i)?e(i,n):t[r]=n}(t,a[s],s)}return t}({},t.defaultProps,e):e}}),tA(p,h),x.warnTooManyClasses=(i={},o=!1,function(e){!o&&(i[e]=!0,Object.keys(i).length>=200)&&(console.warn("Over 200 classes were generated for component "+p+(h?' with the id of "'+h+'"':"")+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=!0,i={})}),Object.defineProperty(x,"toString",{value:function(){return"."+x.styledComponentId}}),s&&ei(ex)(x,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),x},e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){t$[e]=t$(e)}),(C=(function(e,t){this.rules=e,this.componentId=t,this.isStatic=function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(e$(n)&&!eB(n))return!1}return!0}(e),tn.registerId(this.componentId+1)}).prototype).createStyles=function(e,t,n,r){var i=r(tT(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},C.removeStyles=function(e,t){t.clearRules(this.componentId+e)},C.renderStyles=function(e,t,n,r){e>2&&tn.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},(R=(function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=e6();return"<style "+[n&&'nonce="'+n+'"',eW+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?eG(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return eG(2);var t,n=((t={})[eW]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=e6();return r&&(n.nonce=r),[ei(ec).createElement("style",eD({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tn({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(e){return this.sealed?eG(2):ei(ec).createElement(tv,{sheet:this.instance},e)},R.interleaveWithNodeStream=function(e){return eG(3)},"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var tU=es("16mlx"),tB={};tB=es("l8hlk");let tW=function(e){e()},tH=()=>tW;var ec=(es("79wpy"),es("79wpy"),es("79wpy"));let tV=Symbol.for("react-redux-context"),tq="undefined"!=typeof globalThis?globalThis:{},tY=function(){var e;if(!ec.createContext)return{};let t=null!=(e=tq[tV])?e:tq[tV]=new Map,n=t.get(ec.createContext);return n||((n=ec.createContext(null)).displayName="ReactRedux",t.set(ec.createContext,n)),n}();function tG(e=tY){return function(){let t=(0,ec.useContext)(e);if(!t)throw Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return t}}let tK=tG(),tQ=()=>{throw Error("uSES not initialized!")},tX=(e,t)=>e===t,tJ=function(e=tY){let t=e===tY?tK:tG(e);return function(e,n={}){let{equalityFn:r=tX,stabilityCheck:i,noopCheck:o}="function"==typeof n?{equalityFn:n}:n;if(!e)throw Error("You must pass a selector to useSelector");if("function"!=typeof e)throw Error("You must pass a function as a selector to useSelector");if("function"!=typeof r)throw Error("You must pass a function as an equality function to useSelector");let{store:a,subscription:s,getServerState:l,stabilityCheck:u,noopCheck:c}=t(),d=(0,ec.useRef)(!0),f=(0,ec.useCallback)({[e.name](t){let n=e(t);{let a=void 0===i?u:i;if("always"===a||"once"===a&&d.current){let i=e(t);if(!r(n,i)){let r;try{throw Error()}catch(e){({stack:r}=e)}console.warn("Selector "+(e.name||"unknown")+" returned a different result when called with the same parameters. This can lead to unnecessary rerenders.\nSelectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization",{state:t,selected:n,selected2:i,stack:r})}}let s=void 0===o?c:o;if(("always"===s||"once"===s&&d.current)&&n===t){let t;try{throw Error()}catch(e){({stack:t}=e)}console.warn("Selector "+(e.name||"unknown")+" returned the root state when called. This can lead to unnecessary rerenders.\nSelectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.",{stack:t})}d.current&&(d.current=!1)}return n}}[e.name],[e,u,i]),p=tQ(s.addNestedSub,a.getState,l||a.getState,f,r);return(0,ec.useDebugValue)(p),p}}();function tZ(){return(tZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ec=es("79wpy");let t0={notify(){},get:()=>[]};var ec=es("79wpy");let t1="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?ec.useLayoutEffect:ec.useEffect;var ec=es("79wpy"),t2=function({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",noopCheck:o="once"}){let a=ec.useMemo(()=>{let t=function(e,t){let n;let r=t0,i=0,o=!1;function a(){u.onStateChange&&u.onStateChange()}function s(){i++,n||(n=e.subscribe(a),r=function(){let e=tH(),t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let e=t;for(;e;)e.callback(),e=e.next})},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}function l(){i--,n&&0===i&&(n(),n=void 0,r.clear(),r=t0)}let u={addNestedSub:function(e){s();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,s())},tryUnsubscribe:function(){o&&(o=!1,l())},getListeners:()=>r};return u}(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:i,noopCheck:o}},[e,r,i,o]),s=ec.useMemo(()=>e.getState(),[e]);return t1(()=>{let{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}},[a,s]),ec.createElement((t||tY).Provider,{value:a},n)};function t3(e=tY){let t=e===tY?tK:tG(e);return function(){let{store:e}=t();return e}}let t4=t3(),t6=function(e=tY){let t=e===tY?t4:t3(e);return function(){return t().dispatch}}();tQ=tB.useSyncExternalStoreWithSelector,tU.useSyncExternalStore,tW=ef.unstable_batchedUpdates;var ec=es("79wpy");function t5(){return(0,eu.jsx)("svg",{width:"17px",height:"7px",viewBox:"0 0 17 7",id:"eyes-svg",children:(0,eu.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,eu.jsx)("g",{transform:"translate(-1387, -876)",fill:"#FFFFFF",children:(0,eu.jsx)("g",{transform:"translate(1020, 194)",children:(0,eu.jsx)("g",{transform:"translate(350, 660)",children:(0,eu.jsxs)("g",{transform:"translate(17, 22)",children:[(0,eu.jsx)("rect",{x:"0",y:"0",width:"6.66666667",height:"6.66666667",rx:"1.66666667"}),(0,eu.jsx)("rect",{x:"10",y:"0",width:"6.66666667",height:"6.66666667",rx:"1.66666667"})]})})})})})})}function t8(){return(0,eu.jsx)("svg",{width:"25.916129px",height:"25.916129px",viewBox:"0 0 25.916129 25.916129",id:"close-svg",children:(0,eu.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,eu.jsx)("g",{transform:"translate(-1332.000000, -916.000000)",fill:"#FFFFFF",fillRule:"nonzero",children:(0,eu.jsx)("g",{transform:"translate(934.000000, 213.000000)",children:(0,eu.jsx)("g",{transform:"translate(366.000000, 671.000000)",children:(0,eu.jsx)("g",{transform:"translate(32.000000, 32.000000)",children:(0,eu.jsx)("polygon",{points:"22.6766129 25.916129 25.916129 22.6766129 16.1975806 12.9580645 25.916129 3.23951613 22.6766129 -1.07765648e-14 12.9580645 9.71854839 3.23951613 -1.07765648e-14 4.00272408e-14 3.23951613 9.71854839 12.9580645 4.00272408e-14 22.6766129 3.23951613 25.916129 12.9580645 16.1975806"})})})})})})})}let t9=t$.button` padding: 0; cursor: pointer; position: fixed; ${e=>e.inFrame?"":`bottom: ${e.theme.chatOuterSpacing}px; right: ${e.theme.chatOuterSpacing}px;`} z-index: 102; border-radius: 4px; height: 50px; width: 50px; outline: none; -webkit-appearance: none; border: 0; -webkit-box-shadow: ${e=>e.theme.boxShadow}; box-shadow: ${e=>e.theme.boxShadow}; background-color: ${e=>e.theme.highlight}; ${e=>"left"===e.theme.chatAlignment&&` @media (min-width: 491px) { left: ${e.theme.chatOuterSpacing}px; } `}; svg g { fill: ${e=>e.theme.btnText}; } #close-svg { width: 14px; position: relative; top: 2px; } &:after { content: ""; position: absolute; right: 0; bottom: -7px; width: 0; height: 0; border-top: ${e=>`10px solid ${e.theme.highlight}`}; border-left: 15px solid transparent; } &.custom-open-icon, &.custom-closed-icon { background-size: cover; background-repeat: no-repeat; background-position: center; svg, &:after { display: none; } } &.custom-open-icon { background-image: ${e=>`url(${e.theme.chatTriggerIconOpen})`}; } &.custom-closed-icon { background-image: ${e=>`url(${e.theme.chatTriggerIconClose})`}; } `;function t7(e){let{isOpen:t,onClick:n}=e,r=(0,ec.useContext)(tL);return(0,eu.jsx)(t9,{onClick:n,isOpen:t,"aria-label":t?"Close":"Open",inFrame:window.location!==window.parent.location&&document.querySelector('meta[name="42q-iframed"]')?.content==="true",className:r.chatTriggerIconOpen&&t?"custom-open-icon":r.chatTriggerIconClose&&!t?"custom-closed-icon":void 0,children:t?(0,eu.jsx)(eu.Fragment,{children:(0,eu.jsx)(t8,{})}):(0,eu.jsx)(eu.Fragment,{children:(0,eu.jsx)(t5,{})})})}var ec=es("79wpy");function ne(){return(0,eu.jsx)("svg",{width:"7px",height:"13px",viewBox:"0 0 7 13",children:(0,eu.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,eu.jsx)("g",{transform:"translate(-1382, -765)",fill:"#FFFFFF",children:(0,eu.jsx)("g",{transform:"translate(1020, 194)",children:(0,eu.jsx)("g",{transform:"translate(0, 546)",children:(0,eu.jsx)("g",{transform:"translate(337, 16)",children:(0,eu.jsx)("path",{d:"M25.2104959,9.22900694 C25.4982328,8.93104664 25.9730342,8.92275895 26.2709945,9.21049587 L31.666043,14.4204336 C31.8309109,14.5796447 31.9070912,14.7961284 31.8935079,15.0082362 C31.9068503,15.2198363 31.8306504,15.4358876 31.666043,15.5948472 L26.2709945,20.804785 C25.9730342,21.0925219 25.4982328,21.0842342 25.2104959,20.7862739 C24.9227589,20.4883136 24.9310466,20.0135122 25.2290069,19.7257753 L30.115,15.007 L25.2290069,10.2895056 C24.9581339,10.0279266 24.9266598,9.61174878 25.1393568,9.31437992 Z"})})})})})})})}let nt=t$.button` font-family: ${e=>e.theme.font}; flex-grow: 0; align-self: center; background-color: ${e=>e.theme.highlight}; color: ${e=>e.theme.btnText}; border: 1px solid ${e=>e.theme.highlight}; font-size: ${e=>"big"==e.size?"16px":"13px"}; line-height: ${e=>"big"==e.size?"16px":"1.31"}; min-height: ${e=>"big"==e.size?"40px":"31px"}; min-width: ${e=>"big"==e.size?"72px":"50px"}; padding: ${e=>"big"==e.size?"11px 20px":"6px 10.5px"}; font-weight: bold; letter-spacing: 0.1px; box-sizing: border-box; vertical-align: middle; border-style: solid; text-align: center; text-decoration: none; cursor: pointer; transition: 0.3s background-color, 0.15s color ease-out, 0.15s border-color ease-out; user-select: none; background-clip: border-box; border-radius: 4px; outline-offset: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 143px; &:hover, &:focus { background-color: ${e=>e.theme.btnHoverBg}; color: ${e=>e.theme.btnText}; border-color: ${e=>e.theme.btnHoverBg}; } &:focus { outline: none; } &:focus-visible { outline: ${e=>e.theme.focus}; } &[disabled] { pointer-events: none; opacity: 0.4; cursor: default; } ${e=>e.sendBtn&&` color: transparent!important; padding: 0; min-width: 31px; min-height: 31px; width: 31px; height: 31px; position: relative; &[disabled] { background-color: ${e.theme.btnDisabledBg}; border-color: ${e.theme.btnDisabledBg}; opacity: 1; } svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } &:not([disabled]) svg g { fill: ${e.theme.btnText}; } `}; `;function nn(e){let{size:t,text:n,disabled:r,onClick:i,sendBtn:o}=e;return(0,eu.jsxs)(nt,{size:t,disabled:r,onClick:i,sendBtn:o,children:[o&&(0,eu.jsx)(ne,{}),n]})}function nr(){return(0,eu.jsxs)("svg",{id:"logo-svg",viewBox:"0 0 524.77 149.19",children:[(0,eu.jsx)("path",{d:"m104.43,0h-44.97L0,88.02v28.56h73.95v32.61h30.48v-32.61l20.89-.21v-28.34l-20.89-.21V.01h0Zm-30.48,87.81h-41.34l39.43-59.46h1.91v59.46Z"}),(0,eu.jsxs)("g",{children:[(0,eu.jsx)("path",{d:"m248.28.02c-32.51,0-52.82,17.2-54.32,46.01l-.16,3.05h28.71l.28-2.6c1.25-13.17,9.42-21.19,24.03-21.19,18.24,0,21.6,9.97,21.6,17.28,0,13.43-6.9,19.21-28.7,35.45-14.93,10.77-29.91,22.1-39.46,31.99h42.5c5.17-5.12,13.27-10.44,20.72-15.86,27.14-19.1,36.37-30.51,36.37-51.73S286.3,0,248.28,0h0Z"}),(0,eu.jsx)("rect",{x:"200.27",y:"121.17",width:"42.5",height:"27.99"}),(0,eu.jsx)("rect",{x:"254.5",y:"121.17",width:"42.5",height:"27.99"})]}),(0,eu.jsx)("path",{d:"m501.69,121.15c9.8-12.57,15.62-28.72,15.62-46.56C517.31,32.15,484.82.02,442.71.02s-74.39,32.13-74.39,74.57,32.29,74.58,74.39,74.58c.35,0,.7,0,1.05-.01h81.01v-28h-23.09.01Zm-103.93-46.56c0-26.98,19.21-46.55,44.96-46.55s44.97,19.57,44.97,46.55-19.21,46.56-44.97,46.56-44.96-19.57-44.96-46.56h0Z"})]})}var ni=es("5LB5e");function no(e){return(no="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function na(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ns(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?na(Object(n),!0).forEach(function(t){!function(e,t,n){var r;r=function(e,t){if("object"!=no(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=no(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==no(r)?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):na(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var nl="function"==typeof Symbol&&Symbol.observable||"@@observable",nu=function(){return Math.random().toString(36).substring(7).split("").join(".")},nc={INIT:"@@redux/INIT"+nu(),REPLACE:"@@redux/REPLACE"+nu(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+nu()}};function nd(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function nf(e){return function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate)return"date";if(e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit)return"error";var n="function"==typeof e.constructor?e.constructor.name:null;switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}(e)}function np(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw Error(e)}catch(e){}}function nh(e){for(var t,n,r=Object.keys(e),i={},o=0;o<r.length;o++){var a=r[o];void 0===e[a]&&np('No reducer provided for key "'+a+'"'),"function"==typeof e[a]&&(i[a]=e[a])}var s=Object.keys(i);t={};try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:nc.INIT}))throw Error('The slice reducer for key "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:nc.PROBE_UNKNOWN_ACTION()}))throw Error('The slice reducer for key "'+t+"\" returned undefined when probed with a random type. Don't try to handle '"+nc.INIT+'\' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(i)}catch(e){n=e}return function(e,r){if(void 0===e&&(e={}),n)throw n;var o=function(e,t,n,r){var i=Object.keys(t),o=n&&n.type===nc.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(0===i.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!nd(e))return"The "+o+' has unexpected type of "'+nf(e)+'". Expected argument to be an object with the following keys: "'+i.join('", "')+'"';var a=Object.keys(e).filter(function(e){return!t.hasOwnProperty(e)&&!r[e]});if(a.forEach(function(e){r[e]=!0}),(!n||n.type!==nc.REPLACE)&&a.length>0)return"Unexpected "+(a.length>1?"keys":"key")+" "+('"'+a.join('", "'))+'" found in '+o+'. Expected to find one of the known reducer keys instead: "'+i.join('", "')+'". Unexpected keys will be ignored.'}(e,i,r,t);o&&np(o);for(var a=!1,l={},u=0;u<s.length;u++){var c=s[u],d=i[c],f=e[c],p=d(f,r);if(void 0===p){var h=r&&r.type;throw Error("When called with an action of type "+(h?'"'+String(h)+'"':"(unknown type)")+', the slice reducer for key "'+c+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}l[c]=p,a=a||p!==f}return(a=a||s.length!==Object.keys(e).length)?l:e}}function nm(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function ng(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map(function(e){return e(i)});return r=nm.apply(void 0,o)(n.dispatch),ns(ns({},n),{},{dispatch:r})}}}function ny(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}var nv=ny();nv.withExtraArgument=ny;var eM=es("aGGVD"),nb=(O=function(e,t){return(O=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])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nw=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},nx=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},n_=Object.defineProperty,nS=Object.defineProperties,nk=Object.getOwnPropertyDescriptors,nE=Object.getOwnPropertySymbols,nT=Object.prototype.hasOwnProperty,nC=Object.prototype.propertyIsEnumerable,nR=function(e,t,n){return t in e?n_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},nO=function(e,t){for(var n in t||(t={}))nT.call(t,n)&&nR(e,n,t[n]);if(nE)for(var r=0,i=nE(t);r<i.length;r++){var n=i[r];nC.call(t,n)&&nR(e,n,t[n])}return e},nI=function(e,t){return nS(e,nk(t))},nA="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?nm:nm.apply(null,arguments)};function nj(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}function nP(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var i=t.apply(void 0,n);if(!i)throw Error("prepareAction did not return an object");return nO(nO({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}function nM(e){var t;return"function"==typeof e&&"type"in e&&(t=e)&&"function"==typeof t.match}function nD(e,t){var n=0;return{measureTime:function(e){var t=Date.now();try{return e()}finally{var r=Date.now();n+=r-t}},warnIfExceeded:function(){n>e&&console.warn(t+" took "+n+"ms, which is more than the warning threshold of "+e+"ms. \nIf your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.\nIt is disabled in production builds, so you don't need to worry about that.")}}}"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var nN=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return nb(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,nx([void 0],e[0].concat(this)))):new(t.bind.apply(t,nx([void 0],e.concat(this))))},t}(Array),nL=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return nb(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,nx([void 0],e[0].concat(this)))):new(t.bind.apply(t,nx([void 0],e.concat(this))))},t}(Array);function nF(e){return(0,ni.isDraftable)(e)?(0,ni.default)(e,function(){}):e}function nz(e,t){if(!e)throw Error("Invariant failed: "+(t||""))}function n$(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function nU(e,t,n){var r=function e(t,n,r,i,o){void 0===n&&(n=[]),void 0===i&&(i=""),void 0===o&&(o=new Set);var a={value:r};if(!t(r)&&!o.has(r))for(var s in o.add(r),a.children={},r){var l=i?i+"."+s:s;n.length&&-1!==n.indexOf(l)||(a.children[s]=e(t,n,r[s],l))}return a}(e,t,n);return{detectMutations:function(){return function e(t,n,r,i,o,a){void 0===n&&(n=[]),void 0===o&&(o=!1),void 0===a&&(a="");var s=r?r.value:void 0,l=s===i;if(o&&!l&&!Number.isNaN(i))return{wasMutated:!0,path:a};if(t(s)||t(i))return{wasMutated:!1};var u={};for(var c in r.children)u[c]=!0;for(var c in i)u[c]=!0;var d=n.length>0;for(var c in u){var f=function(o){var s=a?a+"."+o:o;if(d&&n.some(function(e){return e instanceof RegExp?e.test(s):s===e}))return"continue";var u=e(t,n,r.children[o],i[o],l,s);if(u.wasMutated)return{value:u}}(c);if("object"==typeof f)return f.value}return{wasMutated:!1}}(e,t,r,n)}}}function nB(e){var t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||nj(e)}function nW(e,t,n,r,i,o){if(void 0===t&&(t=""),void 0===n&&(n=nB),void 0===i&&(i=[]),!n(e))return{keyPath:t||"<root>",value:e};if("object"!=typeof e||null===e||(null==o?void 0:o.has(e)))return!1;for(var a,s=null!=r?r(e):Object.entries(e),l=i.length>0,u=0;u<s.length;u++){var c=s[u],d=function(e,s){var u=t?t+"."+e:e;return l&&i.some(function(e){return e instanceof RegExp?e.test(u):u===e})?"continue":n(s)?"object"==typeof s&&(a=nW(s,u,n,r,i,o))?{value:a}:void 0:{value:{keyPath:u,value:s}}}(c[0],c[1]);if("object"==typeof d)return d.value}return o&&function e(t){if(!Object.isFrozen(t))return!1;for(var n=0,r=Object.values(t);n<r.length;n++){var i=r[n];if("object"==typeof i&&null!==i&&!e(i))return!1}return!0}(e)&&o.add(e),!1}function nH(e){return"boolean"==typeof e}function nV(e){var t,n={},r=[],i={addCase:function(e,o){if(r.length>0)throw Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(t)throw Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`");var a="string"==typeof e?e:e.type;if(!a)throw Error("`builder.addCase` cannot be called with an empty action type");if(a in n)throw Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[a]=o,i},addMatcher:function(e,n){if(t)throw Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:e,reducer:n}),i},addDefaultCase:function(e){if(t)throw Error("`builder.addDefaultCase` can only be called once");return t=e,i}};return e(i),[n,r,t]}var nq=!1,nY=!1;function nG(e){var t,n=e.name;if(!n)throw Error("`name` is a required option for createSlice");void 0!==eM&&void 0===e.initialState&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");var r="function"==typeof e.initialState?e.initialState:nF(e.initialState),i=e.reducers||{},o=Object.keys(i),a={},s={},l={};function u(){"object"!=typeof e.extraReducers||nY||(nY=!0,console.warn("The object notation for `createSlice.extraReducers` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice"));var t="function"==typeof e.extraReducers?nV(e.extraReducers):[e.extraReducers],n=t[0],i=t[1],o=void 0===i?[]:i,a=t[2],l=void 0===a?void 0:a,u=nO(nO({},void 0===n?{}:n),s);return function(e,t,n,r){void 0===n&&(n=[]),"object"!=typeof t||nq||(nq=!0,console.warn("The object notation for `createReducer` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer"));var i,o="function"==typeof t?nV(t):[t,n,void 0],a=o[0],s=o[1],l=o[2];if("function"==typeof e)i=function(){return nF(e())};else{var u=nF(e);i=function(){return u}}function c(e,t){void 0===e&&(e=i());var n=nx([a[t.type]],s.filter(function(e){return(0,e.matcher)(t)}).map(function(e){return e.reducer}));return 0===n.filter(function(e){return!!e}).length&&(n=[l]),n.reduce(function(e,n){if(n){if((0,ni.isDraft)(e)){var r=n(e,t);return void 0===r?e:r}if((0,ni.isDraftable)(e))return(0,ni.default)(e,function(e){return n(e,t)});var r=n(e,t);if(void 0===r){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e},e)}return c.getInitialState=i,c}(r,function(e){for(var t in u)e.addCase(t,u[t]);for(var n=0;n<o.length;n++){var r=o[n];e.addMatcher(r.matcher,r.reducer)}l&&e.addDefaultCase(l)})}return o.forEach(function(e){var t,r,o=i[e],u=n+"/"+e;"reducer"in o?(t=o.reducer,r=o.prepare):t=o,a[e]=t,s[u]=t,l[e]=r?nP(u,r):nP(u)}),{name:n,reducer:function(e,n){return t||(t=u()),t(e,n)},actions:l,caseReducers:a,getInitialState:function(){return t||(t=u()),t.getInitialState()}}}var nK=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},nQ=["name","message","stack","code"],nX=function(e,t){this.payload=e,this.meta=t},nJ=function(e,t){this.payload=e,this.meta=t},nZ=function(e){if("object"==typeof e&&null!==e){for(var t={},n=0;n<nQ.length;n++){var r=nQ[n];"string"==typeof e[r]&&(t[r]=e[r])}return t}return{message:String(e)}};function n0(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}!function(){function e(e,t,n){var r=nP(e+"/fulfilled",function(e,t,n,r){return{payload:e,meta:nI(nO({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}}),i=nP(e+"/pending",function(e,t,n){return{payload:void 0,meta:nI(nO({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}}),o=nP(e+"/rejected",function(e,t,r,i,o){return{payload:i,error:(n&&n.serializeError||nZ)(e||"Rejected"),meta:nI(nO({},o||{}),{arg:r,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:(null==e?void 0:e.name)==="AbortError",condition:(null==e?void 0:e.name)==="ConditionError"})}}),a=!1,s="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){a||(a=!0,console.info("This platform does not implement AbortController. \nIf you want to use the AbortController to react to `abort` events, please consider importing a polyfill like 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'."))},e}();return Object.assign(function(e){return function(a,l,u){var c,d=(null==n?void 0:n.idGenerator)?n.idGenerator(e):nK(),f=new s;function p(e){c=e,f.abort()}var h=function(){var s,h;return s=this,h=function(){var s,h,m,g,y,v;return nw(this,function(b){switch(b.label){case 0:var w;if(b.trys.push([0,4,,5]),!(null!==(w=g=null==(s=null==n?void 0:n.condition)?void 0:s.call(n,e,{getState:l,extra:u}))&&"object"==typeof w&&"function"==typeof w.then))return[3,2];return[4,g];case 1:g=b.sent(),b.label=2;case 2:if(!1===g||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise(function(e,t){return f.signal.addEventListener("abort",function(){return t({name:"AbortError",message:c||"Aborted"})})}),a(i(d,e,null==(h=null==n?void 0:n.getPendingMeta)?void 0:h.call(n,{requestId:d,arg:e},{getState:l,extra:u}))),[4,Promise.race([y,Promise.resolve(t(e,{dispatch:a,getState:l,extra:u,requestId:d,signal:f.signal,abort:p,rejectWithValue:function(e,t){return new nX(e,t)},fulfillWithValue:function(e,t){return new nJ(e,t)}})).then(function(t){if(t instanceof nX)throw t;return t instanceof nJ?r(t.payload,d,e,t.meta):r(t,d,e)})])];case 3:return m=b.sent(),[3,5];case 4:return m=(v=b.sent())instanceof nX?o(null,d,e,v.payload,v.meta):o(v,d,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&o.match(m)&&m.meta.condition||a(m),[2,m]}})},new Promise(function(e,t){var n=function(e){try{i(h.next(e))}catch(e){t(e)}},r=function(e){try{i(h.throw(e))}catch(e){t(e)}},i=function(t){return t.done?e(t.value):Promise.resolve(t.value).then(n,r)};i((h=h.apply(s,null)).next())})}();return Object.assign(h,{abort:p,requestId:d,arg:e,unwrap:function(){return h.then(n0)}})}},{pending:i,rejected:o,fulfilled:r,typePrefix:e})}e.withTypes=function(){return e}}();var n1="listenerMiddleware";nP(n1+"/add"),nP(n1+"/removeAll"),nP(n1+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:void 0!==er?er:globalThis),"undefined"!=typeof window&&window.requestAnimationFrame&&window.requestAnimationFrame,(0,ni.enableES5)(),es("4Up6t");let n2={isOpen:!1,isFeaturesOpen:!0,channelName:"",loadedFrames:{},frameSizes:{},nextEventId:1,queue:[]},n3=["messages","trigger","fqs","imt"];n3.forEach(e=>{n2.frameSizes[e]={width:0,height:0}});let n4=nG({name:"widgetStateSlice",initialState:n2,reducers:{addToQueue:(e,t)=>{let n={...t.payload,eventId:e.nextEventId};e.queue=[...e.queue,n],e.nextEventId=e.nextEventId+1},clearQueue:(e,t)=>{e.queue=[]},setIsOpen:(e,t)=>{let n=!0===t.payload;e.isOpen=n,n&&(e.isFeaturesOpen=!1)},setIsFeaturesOpen:(e,t)=>{e.isFeaturesOpen=!0===t.payload},setFrameLoaded:(e,t)=>{if(n3.includes(t.payload))e.loadedFrames[t.payload]=!0;else throw Error(`Invalid frame ${t.payload}`)},setFrameSize:(e,t)=>{if(n3.includes(t.payload.name))e.frameSizes[t.payload.name]={width:t.payload.width,height:t.payload.height};else throw Error(`Invalid frame ${t.payload}`)}}}),{setIsOpen:n6,setIsFeaturesOpen:n5,setFrameLoaded:n8,setFrameVisibility:n9,setFrameSize:n7,addToQueue:re,clearQueue:rt}=n4.actions;var rn=n4.reducer;let rr=t$.div` background-color: ${e=>e.theme.background}; ${e=>"inline"!==e.theme.chatType||e.theme.chatInlineHeaderXL?"":` @media (min-width: 491px) { display: none } `}; `,ri=t$.div` display: flex; align-items: center; justify-content: space-between; min-height: 62px; box-sizing: border-box; padding: 0 20px; max-width: 1180px; margin: 0 auto; position: relative; svg { fill: ${e=>e.theme.headerText}; height: 22px; flex-shrink: 0; g { fill: ${e=>e.theme.headerText}; } } .custom-logo-icon { display: none; height: 22px; content: ${e=>`url(${e.theme.logo})`}; } ${e=>e.theme.logo&&` #logo-svg { display: none; } .custom-logo-icon { display: block; } `} .chat-header-close { width: 16px; height: 16px; margin-left: 20px; padding: 0; border: 0; background-color: transparent; cursor: pointer; &:focus { outline: none; } &:focus-visible { outline: ${e=>e.theme.focus}; } #close-svg { width: 14px; position: relative; top: -3px; } @media (min-width: 491px) { display: none; } ${e=>e.windowSize?.width>490&&"display: none;"} } `,ro=t$.div` display: flex; align-items: center; `;function ra(e){let{withButton:t,windowSize:n}=e,r=(0,ec.useContext)(tL),i=t6();return(0,eu.jsx)(rr,{children:(0,eu.jsxs)(ri,{windowSize:n,children:[(0,eu.jsx)("img",{className:"custom-logo-icon",alt:""}),(0,eu.jsx)(nr,{}),(0,eu.jsxs)(ro,{children:[t&&(0,eu.jsx)(nn,{text:r.buttonText,onClick:()=>{"https://www.42q.ai/show-42q-chat"===r.handoverButtonLinkHref?window.parent.postMessage({channelName:channelName,name:"open42QChat",mode:mode},"*"):window.open(r.handoverButtonLinkHref,r.handoverButtonTarget).focus()}}),(0,eu.jsx)("button",{"aria-label":"Close",className:"chat-header-close",onClick:()=>i(n6(!1)),children:(0,eu.jsx)(t8,{})})]})]})})}var ec=es("79wpy");let rs=t$.div` display: flex; flex-flow: row nowrap; margin: 10px 0 10px; flex-shrink: 0; .chat-bot-icon { width: 30px; margin-right: 20px; flex-shrink: 0; } .chat-bubble { width: 260px; padding: 15px 20px 19px 20px; min-height: 50px; border-radius: 4px; font-family: ${e=>e.theme.font}; font-size: 14px; line-height: 1.29; box-sizing: border-box; ${e=>"inline"===e.theme.chatType&&` @media (min-width: 491px) { width: 100%; max-width: 300px; } `}; } p { margin: 0 0 17px; &:last-of-type:not(:first-of-type) { margin-bottom: 0; } &:last-child { margin-bottom: 0; margin-block-end: 0px; } } b { letter-spacing: 0.11px; } a { color: ${e=>e.theme.linkColour}; text-decoration: underline ${e=>e.theme.linkColour}; cursor: pointer; font-size: inherit; line-height: 1; -webkit-transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out; transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out; outline-offset: 1px; &:hover { color: ${e=>e.theme.linkColour}; -webkit-text-decoration-color: transparent; text-decoration-color: transparent; } &:active, &:hover { outline-width: 0; } &:focus { -webkit-text-decoration-color: transparent; text-decoration-color: transparent; color: ${e=>e.theme.linkColour}; outline: unset; -webkit-box-shadow: unset; box-shadow: unset; } &:focus-visible { outline: ${e=>e.theme.focus}; outline-offset: 1px; } } `,rl=t$(rs)` .chat-bubble { background-color: ${e=>e.theme.userMsgBgColour}; color: ${e=>e.theme.userMessageText}; } align-self: flex-end; `,ru=t$(rs)` width: 100%; .chat-bubble { background-color: ${e=>e.theme.systemMessageBg}; color: ${e=>e.theme.systemMessageText}; p:last-child { } } `;function rc(){return(0,eu.jsx)("svg",{height:"34",viewBox:"0 0 30 34",width:"30",className:"chat-bot-icon",children:(0,eu.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,eu.jsxs)("g",{fill:"#767676",children:[(0,eu.jsx)("path",{d:"m30 29.7035502v4.2964498h-6z",transform:"matrix(1 0 0 -1 0 63.7036)"}),(0,eu.jsx)("path",{d:"m4 0h22c2.209139 0 4 1.790861 4 4v26h-26c-2.209139 0-4-1.790861-4-4v-22c0-2.209139 1.790861-4 4-4z"})]}),(0,eu.jsxs)("g",{fill:"#fff",children:[(0,eu.jsx)("rect",{height:"4",rx:"1",width:"4",x:"10",y:"13"}),(0,eu.jsx)("rect",{height:"4",rx:"1",width:"4",x:"16",y:"13"})]})]})})}let rd=t$(ru)` min-width: 100px; min-height: 50px; background-color: blue; color: white; `;function rf(e){let{children:t}=e;return(0,eu.jsxs)(rd,{children:[(0,eu.jsx)(rc,{}),(0,eu.jsx)("div",{className:"chat-bubble",children:t})]})}var ec=es("79wpy");let rp=t$(ru)``,rh=t$.div` margin: 10px 0; &:last-of-type { margin-bottom: 0; } `;function rm(e){let{articles:t,flagged:n}=e,r=(0,ec.useContext)(tL);return(0,eu.jsxs)(rp,{children:[(0,eu.jsx)(rc,{}),(0,eu.jsx)("div",{className:"chat-bubble",children:n||0==t.length?(0,eu.jsxs)(eu.Fragment,{children:["Sorry I couldn't find articles that may relate to your question. You can try rephrasing it or"," ",(0,eu.jsx)("a",{href:r.contactLink,target:"_blank",children:"contact us"}),"."]}):(0,eu.jsxs)(eu.Fragment,{children:[" ",(0,eu.jsx)("p",{children:"I've found the following articles that may relate to your question:"}),t.map((e,t)=>(0,eu.jsx)(rh,{children:(0,eu.jsx)("a",{target:"_blank",href:e.content_url?`${e.content_url}`:"#",children:e.content_title})},t))]})})]})}var rg={},ry={},rv=ry&&ry.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),rb=ry&&ry.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||rv(t,e,n)};Object.defineProperty(ry,"__esModule",{value:!0}),ry.DomHandler=void 0;var rw=es("hHGap");rb(es("4oK3d"),ry);var rx={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},r_=function(){function e(e,t,n){this.dom=[],this.root=new(es("4oK3d")).Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=rx),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:rx,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new(es("4oK3d")).Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?rw.ElementType.Tag:void 0,r=new(es("4oK3d")).Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===rw.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new(es("4oK3d")).Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===rw.ElementType.Comment){this.lastNode.data+=e;return}var t=new(es("4oK3d")).Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new(es("4oK3d")).Text(""),t=new(es("4oK3d")).CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new(es("4oK3d")).ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();ry.DomHandler=r_,ry.default=r_;var rS={},rk="html",rE="head",rT="body",rC=/<([a-zA-Z]+[0-9]?)/,rR=/<head[^]*>/i,rO=/<body[^]*>/i,rI=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},rA=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},rj="object"==typeof window&&window.DOMParser;if("function"==typeof rj){var rP=new rj;rI=rA=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),rP.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var rM=document.implementation.createHTMLDocument();rI=function(e,t){return t?rM.documentElement.querySelector(t).innerHTML=e:rM.documentElement.innerHTML=e,rM}}var rD="object"==typeof document?document.createElement("template"):{};rD.content&&(B=function(e){return rD.innerHTML=e,rD.content.childNodes}),rS=function(e){var t,n,r,i,o=e.match(rC);switch(o&&o[1]&&(t=o[1].toLowerCase()),t){case rk:return n=rA(e),!rR.test(e)&&(r=n.querySelector(rE))&&r.parentNode.removeChild(r),!rO.test(e)&&(r=n.querySelector(rT))&&r.parentNode.removeChild(r),n.querySelectorAll(rk);case rE:case rT:if(i=(n=rI(e)).querySelectorAll(t),rO.test(e)&&rR.test(e))return i[0].parentNode.childNodes;return i;default:if(B)return B(e);return(r=rI(e,rT).querySelector(rT)).childNodes}},H=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"];for(var rN=ry.Comment,rL=ry.Element,rF=ry.ProcessingInstruction,rz=ry.Text,r$={},rU=0,rB=H.length;rU<rB;rU++)r$[(V=H[rU]).toLowerCase()]=V;W=function e(t,n,r){n=n||null;for(var i=[],o=0,a=t.length;o<a;o++){var s,l,u,c=t[o];switch(c.nodeType){case 1:(u=new rL(l=r$[s=(s=c.nodeName).toLowerCase()]||s,function(e){for(var t,n={},r=0,i=e.length;r<i;r++)n[(t=e[r]).name]=t.value;return n}(c.attributes))).children=e("template"===l?c.content.childNodes:c.childNodes,u);break;case 3:u=new rz(c.nodeValue);break;case 8:u=new rN(c.nodeValue);break;default:continue}var d=i[o-1]||null;d&&(d.next=u),u.parent=n,u.prev=d,u.next=null,i.push(u)}return r&&((u=new rF(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=i[0]||null,u.parent=n,i.unshift(u),i[1]&&(i[1].prev=i[0])),i};var rW=/<(![a-zA-Z\s]+)>/,rH=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(rW);return n&&n[1]&&(t=n[1]),W(rS(e),null,t)},rV={},rq={};function rY(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rG(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}Object.defineProperty(rq,"__esModule",{value:!0});var rK={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){rK[e]=new rG(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),2!==o.length);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw r}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return rY(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rY(e,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],r=t[1];rK[n]=new rG(n,1,!1,r,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){rK[e]=new rG(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){rK[e]=new rG(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"].forEach(function(e){rK[e]=new rG(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){rK[e]=new rG(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){rK[e]=new rG(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){rK[e]=new rG(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){rK[e]=new rG(e,5,!1,e.toLowerCase(),null,!1,!1)});var rQ=/[\-\:]([a-z])/g,rX=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(rQ,rX);rK[t]=new rG(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(rQ,rX);rK[t]=new rG(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(rQ,rX);rK[t]=new rG(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){rK[e]=new rG(e,1,!1,e.toLowerCase(),null,!1,!1)}),rK.xlinkHref=new rG("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){rK[e]=new rG(e,1,!1,e.toLowerCase(),null,!0,!0)}),q={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1};var rJ=RegExp.prototype.test.bind(RegExp("^(data|aria)-[: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]*$")),rZ=Object.keys(q).reduce(function(e,t){var n=q[t];return 0===n?e[t]=t:1===n?e[t.toLowerCase()]=t:e[t]=n,e},{});rq.BOOLEAN=3,rq.BOOLEANISH_STRING=2,rq.NUMERIC=5,rq.OVERLOADED_BOOLEAN=4,rq.POSITIVE_NUMERIC=6,rq.RESERVED=0,rq.STRING=1,rq.getPropertyInfo=function(e){return rK.hasOwnProperty(e)?rK[e]:null},rq.isCustomAttribute=rJ,rq.possibleStandardNames=rZ;var r0={},ec=es("79wpy"),r1={},r2=r1&&r1.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};r1.__esModule=!0;var r3=r2(es("iU1nQ"));Y=void 0;var r4=/^--[a-zA-Z0-9-]+$/,r6=/-([a-z])/g,r5=/^[^-]+$/,r8=/^-(webkit|moz|ms|o|khtml)-/,r9=/^-(ms)-/,r7=function(e,t){return t.toUpperCase()},ie=function(e,t){return"".concat(t,"-")};Y=function(e,t){var n;return(void 0===t&&(t={}),!(n=e)||r5.test(n)||r4.test(n))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(r9,ie):e.replace(r8,ie)).replace(r6,r7))},r1.default=function(e,t){var n={};return e&&"string"==typeof e&&(0,r3.default)(e,function(e,r){e&&r&&(n[Y(e,t)]=r)}),n};var it=r1.default,ir={reactCompat:!0},ii=ec.version.split(".")[0]>=16,io=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);r0={PRESERVE_CUSTOM_ATTRIBUTES:ii,invertObject:function(e,t){if(!e||"object"!=typeof e)throw TypeError("First argument must be an object");var n,r,i="function"==typeof t,o={},a={};for(n in e){if(r=e[n],i&&(o=t(n,r))&&2===o.length){a[o[0]]=o[1];continue}"string"==typeof r&&(a[r]=n)}return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"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}},setStyleProp:function(e,t){if(null!=e)try{t.style=it(e,ir)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!io.has(e.name)},elementsWithNoTextChildren:io};var ia=["checked","value"],is=["input","select","textarea"],il={reset:!0,submit:!0};function iu(e){return rq.possibleStandardNames[e]}rV=function(e,t){var n,r,i,o,a,s={},l=(e=e||{}).type&&il[e.type];for(n in e){if(i=e[n],rq.isCustomAttribute(n)){s[n]=i;continue}if(o=iu(r=n.toLowerCase())){switch(a=rq.getPropertyInfo(o),-1===ia.indexOf(o)||-1===is.indexOf(t)||l||(o=iu("default"+r)),s[o]=i,a&&a.type){case rq.BOOLEAN:s[o]=!0;break;case rq.OVERLOADED_BOOLEAN:""===i&&(s[o]=!0)}continue}r0.PRESERVE_CUSTOM_ATTRIBUTES&&(s[n]=i)}return r0.setStyleProp(e.style,s),s};var ic={},ec=es("79wpy"),id=r0.setStyleProp,ip=r0.canTextBeChildOfNode;ic=function e(t,n){for(var r,i,o,a,s,l=(n=n||{}).library||ec,u=l.cloneElement,c=l.createElement,d=l.isValidElement,f=[],p="function"==typeof n.replace,h=n.trim,m=0,g=t.length;m<g;m++){if(r=t[m],p&&d(o=n.replace(r))){g>1&&(o=u(o,{key:o.key||m})),f.push(o);continue}if("text"===r.type){if((i=!r.data.trim().length)&&r.parent&&!ip(r.parent)||h&&i)continue;f.push(r.data);continue}switch(a=r.attribs,r0.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===r.type&&r0.isCustomComponent(r.name,r.attribs)?id(a.style,a):a&&(a=rV(a,r.name)),s=null,r.type){case"script":case"style":r.children[0]&&(a.dangerouslySetInnerHTML={__html:r.children[0].data});break;case"tag":"textarea"===r.name&&r.children[0]?a.defaultValue=r.children[0].data:r.children&&r.children.length&&(s=e(r.children,n));break;default:continue}g>1&&(a.key=m),f.push(c(r.name,a,s))}return 1===f.length?f[0]:f},rH="function"==typeof rH.default?rH.default:rH;var ih={lowerCaseAttributeNames:!1};function im(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return""===e?[]:ic(rH(e,(t=t||{}).htmlparser2||ih),t)}im.domToReact=ic,im.htmlToDOM=rH,im.attributesToProps=rV,im.Comment=ry.Comment,im.Element=ry.Element,im.ProcessingInstruction=ry.ProcessingInstruction,im.Text=ry.Text,rg=im,im.default=im,ei(rg).domToReact,ei(rg).htmlToDOM,ei(rg).attributesToProps,ei(rg).Comment,ei(rg).Element,ei(rg).ProcessingInstruction,ei(rg).Text;var ig=ei(rg),ec=es("79wpy");function iy(e){return e&&e.Math==Math?e:void 0}let iv="object"==typeof globalThis&&iy(globalThis)||"object"==typeof window&&iy(window)||"object"==typeof self&&iy(self)||"object"==typeof er&&iy(er)||function(){return this}()||{};function ib(e,t,n){let r=n||iv,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}let iw=Object.prototype.toString;function ix(e){switch(iw.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return ij(e,Error)}}function i_(e,t){return iw.call(e)===`[object ${t}]`}function iS(e){return i_(e,"ErrorEvent")}function ik(e){return i_(e,"DOMError")}function iE(e){return i_(e,"String")}function iT(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function iC(e){return null===e||iT(e)||"object"!=typeof e&&"function"!=typeof e}function iR(e){return i_(e,"Object")}function iO(e){return"undefined"!=typeof Event&&ij(e,Event)}function iI(e){return!!(e&&e.then&&"function"==typeof e.then)}function iA(e){return"number"==typeof e&&e!=e}function ij(e,t){try{return e instanceof t}catch(e){return!1}}function iP(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}let iM="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,iD=["debug","info","warn","error","log","assert","trace"],iN={};function iL(e){if(!("console"in iv))return e();let t=iv.console,n={},r=Object.keys(iN);r.forEach(e=>{let r=iN[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}let iF=function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return iM?iD.forEach(n=>{t[n]=(...t)=>{e&&iL(()=>{iv.console[n](`Sentry Logger [${n}]:`,...t)})}}):iD.forEach(e=>{t[e]=()=>void 0}),t}();function iz(){return Date.now()/1e3}let i$=function(){let{performance:e}=iv;if(!e||!e.now)return iz;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}(),iU=(()=>{let{performance:e}=iv;if(!e||!e.now)return;let t=e.now(),n=Date.now(),r=e.timeOrigin?Math.abs(e.timeOrigin+t-n):36e5,i=e.timing&&e.timing.navigationStart,o="number"==typeof i?Math.abs(i+t-n):36e5;return r<36e5||o<36e5?r<=o?e.timeOrigin:i:n})();function iB(e,t={}){if(!e)return"<unknown>";try{let n,r=e,i=[],o=0,a=0,s=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&o++<5&&(n=function(e,t){let n,r,i,o,a;let s=[];if(!e||!e.tagName)return"";if(iv.HTMLElement&&e instanceof HTMLElement&&e.dataset&&e.dataset.sentryComponent)return e.dataset.sentryComponent;s.push(e.tagName.toLowerCase());let l=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(l&&l.length)l.forEach(e=>{s.push(`[${e[0]}="${e[1]}"]`)});else if(e.id&&s.push(`#${e.id}`),(n=e.className)&&iE(n))for(a=0,r=n.split(/\s+/);a<r.length;a++)s.push(`.${r[a]}`);let u=["aria-label","type","name","title","alt"];for(a=0;a<u.length;a++)i=u[a],(o=e.getAttribute(i))&&s.push(`[${i}="${o}"]`);return s.join("")}(r,s),"html"!==n&&(!(o>1)||!(a+3*i.length+n.length>=l)));)i.push(n),a+=n.length,r=r.parentNode;return i.reverse().join(" > ")}catch(e){return"<unknown>"}}function iW(e){if(!iv.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}function iH(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function iV(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let r=e[t];try{iP(r)?n.push("[VueViewModel]"):n.push(String(r))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function iq(e,t=[],n=!1){return t.some(t=>(function(e,t,n=!1){return!!iE(e)&&(i_(t,"RegExp")?t.test(e):!!iE(t)&&(n?e===t:e.includes(t)))})(e,t,n))}function iY(e,t,n){if(!(t in e))return;let r=e[t],i=n(r);"function"==typeof i&&iK(i,r),e[t]=i}function iG(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){iM&&iF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function iK(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,iG(e,"__sentry_original__",t)}catch(e){}}function iQ(e){return e.__sentry_original__}function iX(e){if(ix(e))return{message:e.message,name:e.name,stack:e.stack,...iZ(e)};if(!iO(e))return e;{let t={type:e.type,target:iJ(e.target),currentTarget:iJ(e.currentTarget),...iZ(e)};return"undefined"!=typeof CustomEvent&&ij(e,CustomEvent)&&(t.detail=e.detail),t}}function iJ(e){try{return"undefined"!=typeof Element&&ij(e,Element)?iB(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function iZ(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function i0(e){return function e(t,n){if(function(e){if(!iR(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(t)){let r=n.get(t);if(void 0!==r)return r;let i={};for(let r of(n.set(t,i),Object.keys(t)))void 0!==t[r]&&(i[r]=e(t[r],n));return i}if(Array.isArray(t)){let r=n.get(t);if(void 0!==r)return r;let i=[];return n.set(t,i),t.forEach(t=>{i.push(e(t,n))}),i}return t}(e,new Map)}function i1(){let e=iv.crypto||iv.msCrypto,t=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function i2(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function i3(e){let{message:t,event_id:n}=e;if(t)return t;let r=i2(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function i4(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function i6(e,t){let n=i2(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r&&r.data,...t.data};n.mechanism.data=e}}function i5(e){if(e&&e.__sentry_captured__)return!0;try{iG(e,"__sentry_captured__",!0)}catch(e){}return!1}function i8(e){return Array.isArray(e)?e:[e]}let i9="production",i7="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function oe(e){return new on(t=>{t(e)})}function ot(e){return new on((t,n)=>{n(e)})}(I=G||(G={}))[I.PENDING=0]="PENDING",I[I.RESOLVED=1]="RESOLVED",I[I.REJECTED=2]="REJECTED";class on{constructor(e){on.prototype.__init.call(this),on.prototype.__init2.call(this),on.prototype.__init3.call(this),on.prototype.__init4.call(this),this._state=G.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new on((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new on((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{if(i){n(r);return}t(r)})})}__init(){this._resolve=e=>{this._setResult(G.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(G.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===G.PENDING){if(iI(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===G.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===G.RESOLVED&&e[1](this._value),this._state===G.REJECTED&&e[2](this._value),e[0]=!0)})}}}function or(){return ib("globalEventProcessors",()=>[])}function oi(e){or().push(e)}function oo(e,t,n,r=0){return new on((i,o)=>{let a=e[r];if(null===t||"function"!=typeof a)i(t);else{let s=a({...t},n);i7&&a.id&&null===s&&iF.log(`Event processor "${a.id}" dropped event`),iI(s)?s.then(t=>oo(e,t,n,r+1).then(i)).then(null,o):oo(e,s,n,r+1).then(i).then(null,o)}})}function oa(e){let t=i$(),n={sid:i1(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>i0({sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return e&&os(n,e),n}function os(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||i$(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:i1()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ol(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),os(e,n)}function ou(e){return e.transaction}let oc="baggage",od="sentry-",of=/^sentry-/;function op(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,n],r)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,o=0===r?i:`${e},${i}`;return o.length>8192?(iM&&iF.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):o},"")}(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${od}${t}`]=n),e),{}))}function oh(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(e[t]=n,e),{})}let om=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function og(e=i1(),t=i1().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function oy(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:o,status:a,tags:s,origin:l}=ox(e);return i0({data:r,op:i,parent_span_id:o,span_id:t,status:a,tags:s,trace_id:n,origin:l})}function ov(e){let{traceId:t,spanId:n}=e.spanContext();return og(t,n,o_(e))}function ob(e){return"number"==typeof e?ow(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?ow(e.getTime()):i$()}function ow(e){return e>9999999999?e/1e3:e}function ox(e){return"function"==typeof e.getSpanJSON?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function o_(e){let{traceFlags:t}=e.spanContext();return!!(1&t)}function oS(e,t,n){let r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:o}=n&&n.getUser()||{},a=i0({environment:r.environment||i9,release:r.release,user_segment:o,public_key:i,trace_id:e});return t.emit&&t.emit("createDsc",a),a}function ok(e){let t=oX();if(!t)return{};let n=oS(ox(e).trace_id||"",t,oJ()),r=ou(e);if(!r)return n;let i=r&&r._frozenDynamicSamplingContext;if(i)return i;let{sampleRate:o,source:a}=r.metadata;null!=o&&(n.sample_rate=`${o}`);let s=ox(r);return a&&"url"!==a&&(n.transaction=s.description),n.sampled=String(o_(r)),t.emit&&t.emit("createDsc",n),n}function oE(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;(function(e,t){let{extra:n,tags:r,user:i,contexts:o,level:a,transactionName:s}=t,l=i0(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});let u=i0(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let c=i0(i);c&&Object.keys(c).length&&(e.user={...c,...e.user});let d=i0(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),a&&(e.level=a),s&&(e.transaction=s)})(e,t),r&&function(e,t){e.contexts={trace:oy(t),...e.contexts};let n=ou(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:ok(t),...e.sdkProcessingMetadata};let r=ox(n).description;r&&(e.tags={transaction:r,...e.tags})}}(e,r),e.fingerprint=e.fingerprint?i8(e.fingerprint):[],n&&(e.fingerprint=e.fingerprint.concat(n)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint,function(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...o}}function oT(e,t){let{extra:n,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:u,eventProcessors:c,attachments:d,propagationContext:f,transactionName:p,span:h}=t;oC(e,"extra",n),oC(e,"tags",r),oC(e,"user",i),oC(e,"contexts",o),oC(e,"sdkProcessingMetadata",s),a&&(e.level=a),p&&(e.transactionName=p),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),c.length&&(e.eventProcessors=[...e.eventProcessors,...c]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function oC(e,t,n){if(n&&Object.keys(n).length)for(let r in e[t]={...e[t]},n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}class oR{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=oO()}static clone(e){return e?e.clone():new oR}clone(){let e=new oR;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&os(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e;if(t instanceof oR){let e=t.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else iR(t)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext));return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=oO(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:iz(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:i,_user:o,_level:a,_fingerprint:s,_eventProcessors:l,_propagationContext:u,_sdkProcessingMetadata:c,_transactionName:d,_span:f}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:i,user:o,level:a,fingerprint:s||[],eventProcessors:l,propagationContext:u,sdkProcessingMetadata:c,transactionName:d,span:f}}applyToEvent(e,t={},n=[]){return oE(e,this.getScopeData()),oo([...n,...or(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t&&t.event_id?t.event_id:i1();if(!this._client)return iF.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n&&n.event_id?n.event_id:i1();if(!this._client)return iF.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:i1();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):iF.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function oO(){return{traceId:i1(),spanId:i1().substring(16)}}let oI="7.103.0",oA=parseFloat(oI);class oj{constructor(e,t,n,r=oA){let i,o;this._version=r,t?i=t:(i=new oR).setClient(e),n?o=n:(o=new oR).setClient(e),this._stack=[{scope:i}],e&&this.bindClient(e),this._isolationScope=o}isOlderThan(e){return this._version<e}bindClient(e){let t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){let e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){let t;let n=this.pushScope();try{t=e(n)}catch(e){throw this.popScope(),e}return iI(t)?t.then(e=>(this.popScope(),e),e=>{throw this.popScope(),e}):(this.popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){let n=this._lastEventId=t&&t.event_id?t.event_id:i1(),r=Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:r,...t,event_id:n}),n}captureMessage(e,t,n){let r=this._lastEventId=n&&n.event_id?n.event_id:i1(),i=Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r}),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:i1();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){let{scope:n,client:r}=this.getStackTop();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:o=100}=r.getOptions&&r.getOptions()||{};if(o<=0)return;let a={timestamp:iz(),...e},s=i?iL(()=>i(a,t)):a;null!==s&&(r.emit&&r.emit("beforeAddBreadcrumb",s,t),n.addBreadcrumb(s,o))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){let{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){let t=oM(this);try{e(this)}finally{oM(t)}}getIntegration(e){let t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return i7&&iF.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){let n=this._callExtensionMethod("startTransaction",e,t);return i7&&!n&&(this.getClient()?iF.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); `):iF.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){let e=this.getStackTop().scope,t=e.getSession();t&&ol(t),this._sendSessionUpdate(),e.setSession()}startSession(e){let{scope:t,client:n}=this.getStackTop(),{release:r,environment:i=i9}=n&&n.getOptions()||{},{userAgent:o}=iv.navigator||{},a=oa({release:r,environment:i,user:t.getUser(),...o&&{userAgent:o},...e}),s=t.getSession&&t.getSession();return s&&"ok"===s.status&&os(s,{status:"exited"}),this.endSession(),t.setSession(a),a}shouldSendDefaultPii(){let e=this.getClient(),t=e&&e.getOptions();return!!(t&&t.sendDefaultPii)}_sendSessionUpdate(){let{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){let n=oP().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);i7&&iF.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function oP(){return iv.__SENTRY__=iv.__SENTRY__||{extensions:{},hub:void 0},iv}function oM(e){let t=oP(),n=oL(t);return oF(t,e),n}function oD(){let e=oP();if(e.__SENTRY__&&e.__SENTRY__.acs){let t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return function(e=oP()){return(!(e&&e.__SENTRY__&&e.__SENTRY__.hub)||oL(e).isOlderThan(oA))&&oF(e,new oj),oL(e)}(e)}function oN(){return oD().getIsolationScope()}function oL(e){return ib("hub",()=>new oj,e)}function oF(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}let oz=/\(error: (.*)\)/,o$=/captureMessage|captureException/;function oU(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0)=>{let r=[],i=e.split("\n");for(let e=n;e<i.length;e++){let n=i[e];if(n.length>1024)continue;let o=oz.test(n)?n.replace(oz,"$1"):n;if(!o.match(/\S*Error: /)){for(let e of t){let t=e(o);if(t){r.push(t);break}}if(r.length>=50)break}}return function(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),o$.test(t[t.length-1].function||"")&&(t.pop(),o$.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"}))}(r)}}let oB="<anonymous>";function oW(e){try{if(!e||"function"!=typeof e)return oB;return e.name||oB}catch(e){return oB}}function oH(e,t=100,n=1/0){try{return function e(t,n,r=1/0,i=1/0,o=function(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){let[a,s]=o;if(null==n||["number","boolean","string"].includes(typeof n)&&!iA(n))return n;let l=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==er&&t===er)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(iP(t))return"[VueViewModel]";if(iR(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t)return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${oW(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let n=function(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(n))return`[HTMLElement: ${n}]`;return`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}(t,n);if(!l.startsWith("[object "))return l;if(n.__sentry_skip_normalization__)return n;let u="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:r;if(0===u)return l.replace("object ","");if(a(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,u-1,i,o)}catch(e){}let c=Array.isArray(n)?[]:{},d=0,f=iX(n);for(let t in f){if(!Object.prototype.hasOwnProperty.call(f,t))continue;if(d>=i){c[t]="[MaxProperties ~]";break}let n=f[t];c[t]=e(t,n,u-1,i,o),d++}return s(n),c}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function oV(t,n,r,i,o,a){let{normalizeDepth:s=3,normalizeMaxBreadth:l=1e3}=t,u={...n,event_id:n.event_id||r.event_id||i1(),timestamp:n.timestamp||iz()},c=r.integrations||t.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:i9),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=iH(e.message,o));let a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=iH(a.value,o));let s=e.request;s&&s.url&&(s.url=iH(s.url,o))})(u,t),c.length>0&&(u.sdk=u.sdk||{},u.sdk.integrations=[...u.sdk.integrations||[],...c]),void 0===n.type&&function(e,t){let n;let r=iv._sentryDebugIds;if(!r)return;let i=oq.get(t);i?n=i:(n=new Map,oq.set(t,n));let o=Object.keys(r).reduce((e,i)=>{let o;let a=n.get(i);a?o=a:(o=t(i),n.set(i,o));for(let t=o.length-1;t>=0;t--){let n=o[t];if(n.filename){e[n.filename]=r[i];break}}return e},{});try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&(e.debug_id=o[e.filename])})})}catch(e){}}(u,t.stackParser);let d=function(e,t){if(!t)return e;let n=e?e.clone():new oR;return n.update(t),n}(i,r.captureContext);r.mechanism&&i6(u,r.mechanism);let f=o&&o.getEventProcessors?o.getEventProcessors():[],p=(e||(e=new oR),e).getScopeData();a&&oT(p,a.getScopeData()),d&&oT(p,d.getScopeData());let h=[...r.attachments||[],...p.attachments];return h.length&&(r.attachments=h),oE(u,p),oo([...f,...or(),...p.eventProcessors],u,r).then(e=>(e&&function(e){let t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.keys(t).forEach(e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})})}(e),"number"==typeof s&&s>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:oH(e.data,t,n)}}))},...e.user&&{user:oH(e.user,t,n)},...e.contexts&&{contexts:oH(e.contexts,t,n)},...e.extra&&{extra:oH(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=oH(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>{let r=ox(e).data;return r&&(e.data=oH(r,t,n)),e})),r}(e,s,l):e)}let oq=new WeakMap,oY=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function oG(e,t){return oD().captureException(e,function(e){if(e)return e instanceof oR||"function"==typeof e||Object.keys(e).some(e=>oY.includes(e))?{captureContext:e}:e}(t))}function oK(e,t){return oD().captureEvent(e,t)}function oQ(e,t){oD().addBreadcrumb(e,t)}function oX(){return oD().getClient()}function oJ(){return oD().getScope()}function oZ(e){let t=oX(),n=oN(),r=oJ(),{release:i,environment:o=i9}=t&&t.getOptions()||{},{userAgent:a}=iv.navigator||{},s=oa({release:i,environment:o,user:r.getUser()||n.getUser(),...a&&{userAgent:a},...e}),l=n.getSession();return l&&"ok"===l.status&&os(l,{status:"exited"}),o0(),n.setSession(s),r.setSession(s),s}function o0(){let e=oN(),t=oJ(),n=t.getSession()||e.getSession();n&&ol(n),o1(),e.setSession(),t.setSession()}function o1(){let e=oN(),t=oJ(),n=oX(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function o2(e=!1){if(e){o0();return}o1()}function o3(e,t){return(o3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function o4(e){return(o4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o6(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(o6=function(){return!!e})()}function o5(e){var t="function"==typeof Map?new Map:void 0;return(o5=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(o6())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&o3(i,n.prototype),i}(e,arguments,o4(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o3(n,e)})(e)}var o8={1:"Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\n\n",2:"Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\n\n",3:"Passed an incorrect argument to a color function, please pass a string representation of a color.\n\n",4:"Couldn't generate valid rgb string from %s, it returned %s.\n\n",5:"Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.\n\n",6:"Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).\n\n",7:"Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).\n\n",8:"Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.\n\n",9:"Please provide a number of steps to the modularScale helper.\n\n",10:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",11:'Invalid value passed as base to modularScale, expected number or em string but got "%s"\n\n',12:'Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.\n\n',13:'Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.\n\n',14:'Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',15:'Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',16:"You must provide a template to this method.\n\n",17:"You passed an unsupported selector state to this method.\n\n",18:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",19:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",20:"expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:"fontFace expects a name of a font-family.\n\n",24:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",25:"fontFace expects localFonts to be an array.\n\n",26:"fontFace expects fileFormats to be an array.\n\n",27:"radialGradient requries at least 2 color-stops to properly render.\n\n",28:"Please supply a filename to retinaImage() as the first argument.\n\n",29:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation\n\n",32:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')\n\n",33:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation\n\n",34:"borderRadius expects a radius value as a string or number as the second argument.\n\n",35:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',36:"Property must be a string value.\n\n",37:"Syntax Error at %s.\n\n",38:"Formula contains a function that needs parentheses at %s.\n\n",39:"Formula is missing closing parenthesis at %s.\n\n",40:"Formula has too many closing parentheses at %s.\n\n",41:"All values in a formula must have the same unit or be unitless.\n\n",42:"Please provide a number of steps to the modularScale helper.\n\n",43:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",44:"Invalid value passed as base to modularScale, expected number or em/rem string but got %s.\n\n",45:"Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.\n\n",46:"Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.\n\n",47:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",48:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",49:"Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",50:"Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.\n\n",51:"Expects the first argument object to have the properties prop, fromSize, and toSize.\n\n",52:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",53:"fontFace expects localFonts to be an array.\n\n",54:"fontFace expects fileFormats to be an array.\n\n",55:"fontFace expects a name of a font-family.\n\n",56:"linearGradient requries at least 2 color-stops to properly render.\n\n",57:"radialGradient requries at least 2 color-stops to properly render.\n\n",58:"Please supply a filename to retinaImage() as the first argument.\n\n",59:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:"Property must be a string value.\n\n",62:"borderRadius expects a radius value as a string or number as the second argument.\n\n",63:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',64:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.\n\n",65:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').\n\n",66:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.\n\n",67:"You must provide a template to this method.\n\n",68:"You passed an unsupported selector state to this method.\n\n",69:'Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.\n\n',70:'Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.\n\n',71:'Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.\n\n',72:'Passed invalid base value %s to %s(), please pass a value like "12px" or 12.\n\n',73:"Please provide a valid CSS variable.\n\n",74:"CSS variable not found and no default was provided.\n\n",75:"important requires a valid style object, got a %s instead.\n\n",76:"fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n",77:'remToPx expects a value in "rem" but you provided it in "%s".\n\n',78:'base must be set in "px" or "%" but you set it in "%s".\n'};function o9(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0],o=[];for(e=1;e<n.length;e+=1)o.push(n[e]);return o.forEach(function(e){i=i.replace(/%[a-z]/,e)}),i}var o7=function(e){function t(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,o9.apply(void 0,[o8[t]].concat(r)))||this)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o3(t,e),t}(o5(Error));function ae(e,t){return e.substr(-t.length)===t}var at=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function an(e){return"string"!=typeof e?e:e.match(at)?parseFloat(e):e}var ar=function(e){return function(t,n){void 0===n&&(n="16px");var r=t,i=n;if("string"==typeof t){if(!ae(t,"px"))throw new o7(69,e,t);r=an(t)}if("string"==typeof n){if(!ae(n,"px"))throw new o7(70,e,n);i=an(n)}if("string"==typeof r)throw new o7(71,t,e);if("string"==typeof i)throw new o7(72,n,e);return""+r/i+e}};function ai(e){return Math.round(255*e)}function ao(e,t,n){return ai(e)+","+ai(t)+","+ai(n)}function aa(e,t,n,r){if(void 0===r&&(r=ao),0===t)return r(n,n,n);var i=(e%360+360)%360/60,o=(1-Math.abs(2*n-1))*t,a=o*(1-Math.abs(i%2-1)),s=0,l=0,u=0;i>=0&&i<1?(s=o,l=a):i>=1&&i<2?(s=a,l=o):i>=2&&i<3?(l=o,u=a):i>=3&&i<4?(l=a,u=o):i>=4&&i<5?(s=a,u=o):i>=5&&i<6&&(s=o,u=a);var c=n-o/2;return r(s+c,l+c,u+c)}ar("em"),ar("rem");var as={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},al=/^#[a-fA-F0-9]{6}$/,au=/^#[a-fA-F0-9]{8}$/,ac=/^#[a-fA-F0-9]{3}$/,ad=/^#[a-fA-F0-9]{4}$/,af=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ap=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,ah=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,am=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function ag(e){if("string"!=typeof e)throw new o7(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return as[t]?"#"+as[t]:e}(e);if(t.match(al))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(au)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(ac))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(ad)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var i=af.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var o=ap.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var a=ah.exec(t);if(a){var s="rgb("+aa(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=af.exec(s);if(!l)throw new o7(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var u=am.exec(t.substring(0,50));if(u){var c="rgb("+aa(parseInt(""+u[1],10),parseInt(""+u[2],10)/100,parseInt(""+u[3],10)/100)+")",d=af.exec(c);if(!d)throw new o7(4,t,c);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+u[4])>1?parseFloat(""+u[4])/100:parseFloat(""+u[4])}}throw new o7(5)}function ay(e){return function(e){var t,n=e.red/255,r=e.green/255,i=e.blue/255,o=Math.max(n,r,i),a=Math.min(n,r,i),s=(o+a)/2;if(o===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l=o-a,u=s>.5?l/(2-o-a):l/(o+a);switch(o){case n:t=(r-i)/l+(r<i?6:0);break;case r:t=(i-n)/l+2;break;default:t=(n-r)/l+4}return(t*=60,void 0!==e.alpha)?{hue:t,saturation:u,lightness:s,alpha:e.alpha}:{hue:t,saturation:u,lightness:s}}(ag(e))}var av=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function ab(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function aw(e){return ab(Math.round(255*e))}function ax(e,t,n){return av("#"+aw(e)+aw(t)+aw(n))}function a_(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return av("#"+ab(e)+ab(t)+ab(n));if("object"==typeof e&&void 0===t&&void 0===n)return av("#"+ab(e.red)+ab(e.green)+ab(e.blue));throw new o7(6)}function aS(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var i=ag(e);return"rgba("+i.red+","+i.green+","+i.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?a_(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?a_(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new o7(7)}function ak(e){if("object"!=typeof e)throw new o7(8);if("number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha)return aS(e);if("number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha))return a_(e);if("number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha)return function(e,t,n,r){if("object"==typeof e)return e.alpha>=1?aa(e.hue,e.saturation,e.lightness,ax):"rgba("+aa(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new o7(2)}(e);if("number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha))return function(e,t,n){if("object"==typeof e)return aa(e.hue,e.saturation,e.lightness,ax);throw new o7(1)}(e);throw new o7(8)}function aE(e){return function e(t,n,r){return function(){var i=r.concat(Array.prototype.slice.call(arguments));return i.length>=n?t.apply(this,i):e(t,n,i)}}(e,e.length,[])}function aT(e,t,n){return Math.max(e,Math.min(t,n))}aE(function(e,t){if("transparent"===t)return t;var n=ay(t);return ak(tZ({},n,{hue:n.hue+parseFloat(e)}))});var aC=aE(function(e,t){if("transparent"===t)return t;var n=ay(t);return ak(tZ({},n,{lightness:aT(0,1,n.lightness-parseFloat(e))}))});aE(function(e,t){if("transparent"===t)return t;var n=ay(t);return ak(tZ({},n,{saturation:aT(0,1,n.saturation-parseFloat(e))}))});var aR=aE(function(e,t){if("transparent"===t)return t;var n=ay(t);return ak(tZ({},n,{lightness:aT(0,1,n.lightness+parseFloat(e))}))}),aO=aE(function(e,t,n){if("transparent"===t)return n;if("transparent"===n)return t;if(0===e)return n;var r=ag(t),i=tZ({},r,{alpha:"number"==typeof r.alpha?r.alpha:1}),o=ag(n),a=tZ({},o,{alpha:"number"==typeof o.alpha?o.alpha:1}),s=i.alpha-a.alpha,l=2*parseFloat(e)-1,u=((l*s==-1?l:l+s)/(1+l*s)+1)/2,c=1-u;return aS({red:Math.floor(i.red*u+a.red*c),green:Math.floor(i.green*u+a.green*c),blue:Math.floor(i.blue*u+a.blue*c),alpha:i.alpha*parseFloat(e)+a.alpha*(1-parseFloat(e))})});aE(function(e,t){if("transparent"===t)return t;var n=ag(t),r="number"==typeof n.alpha?n.alpha:1;return aS(tZ({},n,{alpha:aT(0,1,(100*r+100*parseFloat(e))/100)}))}),aE(function(e,t){if("transparent"===t)return t;var n=ay(t);return ak(tZ({},n,{saturation:aT(0,1,n.saturation+parseFloat(e))}))}),aE(function(e,t){return"transparent"===t?t:ak(tZ({},ay(t),{hue:parseFloat(e)}))}),aE(function(e,t){return"transparent"===t?t:ak(tZ({},ay(t),{lightness:parseFloat(e)}))}),aE(function(e,t){return"transparent"===t?t:ak(tZ({},ay(t),{saturation:parseFloat(e)}))}),aE(function(e,t){return"transparent"===t?t:aO(parseFloat(e),"rgb(0, 0, 0)",t)}),aE(function(e,t){return"transparent"===t?t:aO(parseFloat(e),"rgb(255, 255, 255)",t)}),aE(function(e,t){if("transparent"===t)return t;var n=ag(t),r="number"==typeof n.alpha?n.alpha:1;return aS(tZ({},n,{alpha:aT(0,1,+(100*r-100*parseFloat(e)).toFixed(2)/100)}))});var eh=es("4Up6t");let aI=["w","y","42q-widget-dev.vercel.app","42q-widget.vercel.app","localhost","widget.42q.local","widget.42q-dev.framewurk.io"],aA=()=>{let e=new URLSearchParams(window.location.search).get("debug_42qwidget");return"false"!==e&&(aI.includes(window.location.hostname)||"true"===e)},aj="messages",aP=function(){return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))},aM=e=>e.widgetState.isOpen,aD=(e,t)=>!0===e.widgetState.loadedFrames[t],aN=(e,t)=>e.widgetState.frameSizes[t],aL=e=>e.widgetState.isFeaturesOpen,aF=(e,t,n,r,i,o,a,s,l)=>{let u=document.createElement("iframe");u.style="display: none;",aA()&&console.log("TESTING",e,t,r);let c=new URL(r);return u.src=`${c.protocol}//${c.host}/iframe-component.html?mode=${encodeURIComponent(e)}&channelName=${encodeURIComponent(t)}&chatType=${encodeURIComponent(n)}&chatMode=${encodeURIComponent(a)}&debug_42qwidget=${l?"true":"false"}`,o?o.appendChild(u):document.body.appendChild(u),u.id=`iframe_${e}_${i}`,u},az={chatType:"overlay",chatInlineHeight:500,chatInlineHeaderXL:!0,background:"#212B36",highlight:"#00AB55",chatAlignment:"right",chatTriggerIconClose:"",chatTriggerIconOpen:"",chatOuterSpacing:20,logo:"",buttonText:"Chat with a human",FQtitle:"Featured Questions",showQuestions:!0,inverseThreshold:45,maxLinkLightness:35,maxBackgroundLightness:95,headerWithButton:!0,chatMode:"search",silos:[],welcomeText:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque lobortis ante vitae tincidunt gravida. Suspendisse vel lectus eu urna pulvinar viverra sed tristique magna.`,welcomeTextSilos:`So I can help you most effectively, are you interested in a specific service?`,binaryMessageText:"Did that answer your question?",contactLink:"https://widgetTest.42q.ai/contact/",featuredQuestions:["Lorem ipsum dolor sit?","Lorem ipsum dolor sit amet, consectetur adipiscing elit vestibulum commodo?","Lorem ipsum dolor sit amet?"]},a$={name:"THEME_42Q_TEST",systemMessageBg:"#f5f5f5",systemMessageText:"#292929",font:"'Public Sans', sans-serif",inputBorder:"#e3e3e3",inputText:"#28353d",inputPlaceholder:"#767676",focus:"2px solid #807973",boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.2)",windowBg:"#fff",windowInlineBg:"#f9f9f9",badgeBg:"#f1f1f1",badgeText:"#7c868c",badgeHoverText:"#565d62",dotsColor:"#767676",btnDisabledBg:"#c8c8c8",regularTheme:{btnText:"#fff",userMessageText:"#fff"},inverseTheme:{btnText:"#000",userMessageText:"#000"}};function aU(e,t,n){let r=t*Math.min(n/=100,1-n)/100,i=t=>{let i=(t+e/30)%12;return Math.round(255*(n-r*Math.max(Math.min(i-3,9-i,1),-1))).toString(16).padStart(2,"0")};return`#${i(0)}${i(8)}${i(4)}`}let aB=(e,t=!1)=>{aA()&&console.log("Analysing colour:",e);var n,r,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e),o=parseInt(i[1],16),a=parseInt(i[2],16),s=parseInt(i[3],16),l="",u=Math.max(o/=255,a/=255,s/=255),c=Math.min(o,a,s),d=(u+c)/2;if(u==c)n=r=0;else{var f=u-c;switch(r=d>.5?f/(2-u-c):f/(u+c),u){case o:n=(a-s)/f+(a<s?6:0);break;case a:n=(s-o)/f+2;break;case s:n=(o-a)/f+4}n/=6}return l=(n=Math.round(360*n))+","+(r=Math.round(100*r))+"%,"+(d=Math.round(100*d))+"%",[[n,r,d],l=t?l:"hsl("+l+")"]},aW=(e,t)=>{let n={...e,...t},[[r,i,o],a]=aB(t.highlight);aA()&&console.log("Lightness:",o),n=o>t.inverseThreshold?{...n,...n.inverseTheme}:{...n,...n.regularTheme},aB(t.highlight)[0][2]>30?n.btnHoverBg=aC(.1,n.highlight):n.btnHoverBg=aR(.1,n.highlight),aB(t.background)[0][2]>t.inverseThreshold?n.headerText="#212B36":n.headerText="#fff";let s=Math.min(o,t.maxLinkLightness);n.linkColour=aU(r,i,s);let l=Math.min(o,t.maxBackgroundLightness);return n.userMsgBgColour=aU(r,i,l),n},aH=(e,t)=>{let n=e.split(";").map(e=>e.trim()).filter(e=>""!==e),r=t.split(";").map(e=>e.trim()).filter(e=>""!==e);return n.sort(),r.sort(),(0,eh.zip)(n,r).every(([e,t])=>e==t)};class aV{constructor(e,t){this.targetNode=e,this.classChangedCallback=t,this.observer=null,this.init()}init(){this.observer=new MutationObserver(this.mutationCallback),this.observe()}observe(){this.observer.observe(this.targetNode,{attributes:!0})}disconnect(){this.observer.disconnect()}mutationCallback=e=>{for(let t of e)"attributes"===t.type&&"class"===t.attributeName&&this.classChangedCallback(this.targetNode)}}let aq=e=>{let t=!1,n=!1;return()=>{t!=(t=aM(e.getState()))&&window.parent.postMessage({channelName:channelName,name:"isOpen",data:t},"*"),n!=(n=aL(e.getState()))&&window.parent.postMessage({channelName:channelName,name:"isFeaturesOpen",data:n},"*")}},aY=e=>t=>{e.dispatch(n8(t)),window.parent.postMessage({channelName:channelName,name:"frameLoaded",data:t},"*")},aG=window.matchMedia("(max-width: 490px)"),aK=(e,t,n,r)=>{let i=null,o=null,a=null;return()=>{let s=e=>`border: 0px !important; overflow: hidden !important; color-scheme: none !important; background: none !important; z-index: ${e} !important; transition: opacity 0.3s ease 0s;`;r&&console.log("Pos and vis triggered");let l=aG.matches?20:t.chatOuterSpacing;(()=>{let i=e.trigger;if(!i)return;let o="right"===t.chatAlignment?`right: ${l}px`:`left: ${l}px`,a=`bottom: ${l-10}px`,u=aD(n.getState(),"trigger");u?i.removeAttribute("tabindex"):i.setAttribute("tabindex","-1");let c=`${s(2147482995)}; position: fixed !important; ${o} !important; ${a} !important; width: 50px !important; height: 60px !important; ${u?"":"opacity: 0 !important; pointer-events: none !important"};`;aH(i.getAttribute("style"),c)||(r&&console.log("Applying trigger style"),i.style=c)})(),(()=>{let o=e.messages;if(!o)return;aD(n.getState(),"messages")&&aM(n.getState())?o.removeAttribute("tabindex"):o.setAttribute("tabindex","-1");let a=`${s(2147482997)}; ${"overlay"===t.chatType||aM(n.getState())?"position: fixed !important;":""}`,l=document.querySelector(`div.${o.id}`);l?.getAttribute("class")?i||(o.style=a,o.setAttribute("class",l.getAttribute("class")),i=new aV(l,e=>{r&&console.log("Messages class changed");let t=e.getAttribute("class");t!==o.getAttribute("class")&&(r&&console.log("Applying messages style"),o.setAttribute("class",t)),o.style=a})):o.style=a+";opacity: 0;"})(),(()=>{let t=e.fqs;if(!t)return;let i=aD(n.getState(),"fqs")&&aL(n.getState());i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1");let a=()=>{let e=aN(n.getState(),"fqs");return r&&console.log("Frame height",e.height,Math.max(10,e.height)),`${s(2147482997)}; position: fixed !important; height: ${Math.max(20,e.height)}px !important;`},l=document.querySelector(`div.${t.id}`),u=l?.getAttribute("class");r&&console.log("FQ class",u),u?(i?t.style=a():t.style=a()+";opacity: 0;",o||(t.setAttribute("class",l.getAttribute("class")),o=new aV(l,e=>{r&&console.log("FQs class changed"),t.setAttribute("class",e.getAttribute("class"))}))):t.style=a()+";opacity: 0;"})(),(()=>{let t=e.imt;if(!t)return;aD(n.getState(),"imt")?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1");let i=()=>{let e=aN(n.getState(),"imt");return r&&console.log("Frame height",e.height,Math.max(10,e.height)),`${s(2147482997)}; // position: fixed !important; width: 100%; height: ${Math.max(150,e.height)}px !important;`},o=document.querySelector(`div.${t.id}`);o?.getAttribute("class")?(t.style=i(),a||(t.setAttribute("class",o.getAttribute("class")),a=new aV(o,e=>{r&&console.log("IMT class changed"),t.setAttribute("class",e.getAttribute("class"))}))):t.style=i()+";opacity: 0;"})()}};ig("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vel nisl nulla. Fusce semper, turpis et convallis vehicula, diam augue tincidunt libero, at efficitur justo ex sit amet quam.</p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vel nisl nulla. Fusce semper, turpis et convallis vehicula, diam augue tincidunt libero, at efficitur justo ex sit amet quam.</p>"),{...az};let aQ="https://kb.42q.ai/help/widget/what-is-the-difference-between-previewing-the-widget-in-demo-mode-and-live-mode",aX={search:(e,t)=>new Promise((e,t)=>{setTimeout(()=>{e({data:{type:"search_results",results:[{chunk_id:69,content_id:69,content_title:"You are in Demo Mode",content_url:aQ,chunk_text:"",similarity:.69},{chunk_id:69,content_id:69,content_title:"It allows you to preview the Widget settings without needing an active Subscription and positive Credit Balance",content_url:aQ,chunk_text:"",similarity:.69},{chunk_id:69,content_id:69,content_title:"Find out more about the difference between Demo Mode and Live Mode",content_url:aQ,chunk_text:"",similarity:.69}]}})},700)}),answers:(e,t)=>new Promise((t,n)=>{let r="This is a sample answer because you are in Demo Mode, which allows you to preview the Widget settings without needing an active Subscription and positive Credit Balance.";setTimeout(()=>{t({data:{app_id:e,type:"completion_answer",answer:{answer:r,qids:["69"],relevant:!0},answer_html:`<p>${r}</p>`,content:{title:"What is the difference between previewing the Widget in Demo Mode and Live Mode?",url:aQ}}})},4e3)})};function aJ(e,t){return function(){return e.apply(t,arguments)}}let{toString:aZ}=Object.prototype,{getPrototypeOf:a0}=Object,a1=(w=Object.create(null),e=>{let t=aZ.call(e);return w[t]||(w[t]=t.slice(8,-1).toLowerCase())}),a2=e=>(e=e.toLowerCase(),t=>a1(t)===e),a3=e=>t=>typeof t===e,{isArray:a4}=Array,a6=a3("undefined"),a5=a2("ArrayBuffer"),a8=a3("string"),a9=a3("function"),a7=a3("number"),se=e=>null!==e&&"object"==typeof e,st=e=>{if("object"!==a1(e))return!1;let t=a0(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sn=a2("Date"),sr=a2("File"),si=a2("Blob"),so=a2("FileList"),sa=a2("URLSearchParams");function ss(e,t,{allOwnKeys:n=!1}={}){let r,i;if(null!=e){if("object"!=typeof e&&(e=[e]),a4(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{let i;let o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;for(r=0;r<a;r++)i=o[r],t.call(null,e[i],i,e)}}}function sl(e,t){let n;t=t.toLowerCase();let r=Object.keys(e),i=r.length;for(;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}let su="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:er,sc=e=>!a6(e)&&e!==su,sd=(x="undefined"!=typeof Uint8Array&&a0(Uint8Array),e=>x&&e instanceof x),sf=a2("HTMLFormElement"),sp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),sh=a2("RegExp"),sm=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};ss(n,(n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)}),Object.defineProperties(e,r)},sg="abcdefghijklmnopqrstuvwxyz",sy="0123456789",sv={DIGIT:sy,ALPHA:sg,ALPHA_DIGIT:sg+sg.toUpperCase()+sy},sb=a2("AsyncFunction");var sw={isArray:a4,isArrayBuffer:a5,isBuffer:function(e){return null!==e&&!a6(e)&&null!==e.constructor&&!a6(e.constructor)&&a9(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||a9(e.append)&&("formdata"===(t=a1(e))||"object"===t&&a9(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&a5(e.buffer)},isString:a8,isNumber:a7,isBoolean:e=>!0===e||!1===e,isObject:se,isPlainObject:st,isUndefined:a6,isDate:sn,isFile:sr,isBlob:si,isRegExp:sh,isFunction:a9,isStream:e=>se(e)&&a9(e.pipe),isURLSearchParams:sa,isTypedArray:sd,isFileList:so,forEach:ss,merge:function e(){let{caseless:t}=sc(this)&&this||{},n={},r=(r,i)=>{let o=t&&sl(n,i)||i;st(n[o])&&st(r)?n[o]=e(n[o],r):st(r)?n[o]=e({},r):a4(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&ss(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(ss(t,(t,r)=>{n&&a9(t)?e[r]=aJ(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a;let s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=!1!==n&&a0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype)return t},kindOf:a1,kindOfTest:a2,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return -1!==r&&r===n},toArray:e=>{if(!e)return null;if(a4(e))return e;let t=e.length;if(!a7(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{let n;let r=(e&&e[Symbol.iterator]).call(e);for(;(n=r.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n;let r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:sf,hasOwnProperty:sp,hasOwnProp:sp,reduceDescriptors:sm,freezeMethods:e=>{sm(e,(t,n)=>{if(a9(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(a9(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(e=>{e.forEach(e=>{n[e]=!0})})(a4(e)?e:String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>Number.isFinite(e=+e)?e:t,findKey:sl,global:su,isContextDefined:sc,ALPHABET:sv,generateString:(e=16,t=sv.ALPHA_DIGIT)=>{let n="",{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&a9(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(se(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;let i=a4(e)?[]:{};return ss(e,(e,t)=>{let o=n(e,r+1);a6(o)||(i[t]=o)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:sb,isThenable:e=>e&&(se(e)||a9(e))&&a9(e.then)&&a9(e.catch)};function sx(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}sw.inherits(sx,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:sw.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let s_=sx.prototype,sS={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{sS[e]={value:e}}),Object.defineProperties(sx,sS),Object.defineProperty(s_,"isAxiosError",{value:!0}),sx.from=(e,t,n,r,i,o)=>{let a=Object.create(s_);return sw.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),sx.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a},K=function(e){var t,n,r=function(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}(e),i=r[0],o=r[1],a=new sT((i+o)*3/4-o),s=0,l=o>0?i-4:i;for(n=0;n<l;n+=4)t=sE[e.charCodeAt(n)]<<18|sE[e.charCodeAt(n+1)]<<12|sE[e.charCodeAt(n+2)]<<6|sE[e.charCodeAt(n+3)],a[s++]=t>>16&255,a[s++]=t>>8&255,a[s++]=255&t;return 2===o&&(t=sE[e.charCodeAt(n)]<<2|sE[e.charCodeAt(n+1)]>>4,a[s++]=255&t),1===o&&(t=sE[e.charCodeAt(n)]<<10|sE[e.charCodeAt(n+1)]<<4|sE[e.charCodeAt(n+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t),a},Q=function(e){for(var t,n=e.length,r=n%3,i=[],o=0,a=n-r;o<a;o+=16383)i.push(function(e,t,n){for(var r,i=[],o=t;o<n;o+=3)i.push(sk[(r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]))>>18&63]+sk[r>>12&63]+sk[r>>6&63]+sk[63&r]);return i.join("")}(e,o,o+16383>a?a:o+16383));return 1===r?i.push(sk[(t=e[n-1])>>2]+sk[t<<4&63]+"=="):2===r&&i.push(sk[(t=(e[n-2]<<8)+e[n-1])>>10]+sk[t>>4&63]+sk[t<<2&63]+"="),i.join("")};for(var sk=[],sE=[],sT="undefined"!=typeof Uint8Array?Uint8Array:Array,sC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sR=0,sO=sC.length;sR<sO;++sR)sk[sR]=sC[sR],sE[sC.charCodeAt(sR)]=sR;sE["-".charCodeAt(0)]=62,sE["_".charCodeAt(0)]=63,X=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=u}return(p?-1:1)*a*Math.pow(2,o-r)},J=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,f=23===i?5960464477539062e-23:0,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+p]=255&a,p+=h,a/=256,u-=8);e[n+p-h]|=128*m};var sI="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function sA(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,sj.prototype),t}function sj(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return sD(e)}return sP(e,t,n)}function sP(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!sj.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|sz(e,t),r=sA(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(s0(e,Uint8Array)){var t=new Uint8Array(e);return sL(t.buffer,t.byteOffset,t.byteLength)}return sN(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(s0(e,ArrayBuffer)||e&&s0(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(s0(e,SharedArrayBuffer)||e&&s0(e.buffer,SharedArrayBuffer)))return sL(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return sj.from(r,t,n);var i=function(e){if(sj.isBuffer(e)){var t,n=0|sF(e.length),r=sA(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?sA(0):sN(e):"Buffer"===e.type&&Array.isArray(e.data)?sN(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return sj.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function sM(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function sD(e){return sM(e),sA(e<0?0:0|sF(e))}function sN(e){for(var t=e.length<0?0:0|sF(e.length),n=sA(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function sL(e,t,n){var r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),sj.prototype),r}function sF(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function sz(e,t){if(sj.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||s0(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return sX(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return sJ(e).length;default:if(i)return r?-1:sX(e).length;t=(""+t).toLowerCase(),i=!0}}function s$(e,t,n){var r,i,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=s1[e[o]];return i}(this,t,n);case"utf8":case"utf-8":return sH(this,t,n);case"ascii":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":return r=t,i=n,0===r&&i===this.length?Q(this):Q(this.slice(r,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}(this,t,n);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function sU(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function sB(e,t,n,r,i){var o;if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=sj.from(t,r)),sj.isBuffer(t))return 0===t.length?-1:sW(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):sW(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function sW(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,f=0;f<l;f++)if(u(e,o+f)!==u(t,f)){d=!1;break}if(d)return o}return -1}function sH(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function sV(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function sq(e,t,n,r,i,o){if(!sj.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function sY(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function sG(e,t,n,r,i){return t=+t,n>>>=0,i||sY(e,t,n,4,34028234663852886e22,-34028234663852886e22),J(e,t,n,r,23,4),n+4}function sK(e,t,n,r,i){return t=+t,n>>>=0,i||sY(e,t,n,8,17976931348623157e292,-17976931348623157e292),J(e,t,n,r,52,8),n+8}sj.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),sj.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(sj.prototype,"parent",{enumerable:!0,get:function(){if(sj.isBuffer(this))return this.buffer}}),Object.defineProperty(sj.prototype,"offset",{enumerable:!0,get:function(){if(sj.isBuffer(this))return this.byteOffset}}),sj.poolSize=8192,sj.from=function(e,t,n){return sP(e,t,n)},Object.setPrototypeOf(sj.prototype,Uint8Array.prototype),Object.setPrototypeOf(sj,Uint8Array),sj.alloc=function(e,t,n){return(sM(e),e<=0)?sA(e):void 0!==t?"string"==typeof n?sA(e).fill(t,n):sA(e).fill(t):sA(e)},sj.allocUnsafe=function(e){return sD(e)},sj.allocUnsafeSlow=function(e){return sD(e)},sj.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==sj.prototype},sj.compare=function(e,t){if(s0(e,Uint8Array)&&(e=sj.from(e,e.offset,e.byteLength)),s0(t,Uint8Array)&&(t=sj.from(t,t.offset,t.byteLength)),!sj.isBuffer(e)||!sj.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},sj.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},sj.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return sj.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,r=sj.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(s0(o,Uint8Array))i+o.length>r.length?sj.from(o).copy(r,i):Uint8Array.prototype.set.call(r,o,i);else if(sj.isBuffer(o))o.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return r},sj.byteLength=sz,sj.prototype._isBuffer=!0,sj.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)sU(this,t,t+1);return this},sj.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)sU(this,t,t+3),sU(this,t+1,t+2);return this},sj.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)sU(this,t,t+7),sU(this,t+1,t+6),sU(this,t+2,t+5),sU(this,t+3,t+4);return this},sj.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?sH(this,0,e):s$.apply(this,arguments)},sj.prototype.toLocaleString=sj.prototype.toString,sj.prototype.equals=function(e){if(!sj.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===sj.compare(this,e)},sj.prototype.inspect=function(){var e="";return e=this.toString("hex",0,50).replace(/(.{2})/g,"$1 ").trim(),this.length>50&&(e+=" ... "),"<Buffer "+e+">"},sI&&(sj.prototype[sI]=sj.prototype.inspect),sj.prototype.compare=function(e,t,n,r,i){if(s0(e,Uint8Array)&&(e=sj.from(e,e.offset,e.byteLength)),!sj.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),c=0;c<s;++c)if(l[c]!==u[c]){o=l[c],a=u[c];break}return o<a?-1:a<o?1:0},sj.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},sj.prototype.indexOf=function(e,t,n){return sB(this,e,t,n,!0)},sj.prototype.lastIndexOf=function(e,t,n){return sB(this,e,t,n,!1)},sj.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,d,f=this.length-t;if((void 0===n||n>f)&&(n=f),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var p=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(s!=s)break;e[n+a]=s}return a}(this,e,t,n);case"utf8":case"utf-8":return i=t,o=n,sZ(sX(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,s=n,sZ(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(e),this,a,s);case"base64":return l=t,u=n,sZ(sJ(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=n,sZ(function(e,t){for(var n,r,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,d);default:if(p)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),p=!0}},sj.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},sj.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,sj.prototype),r},sj.prototype.readUintLE=sj.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||sV(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},sj.prototype.readUintBE=sj.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||sV(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},sj.prototype.readUint8=sj.prototype.readUInt8=function(e,t){return e>>>=0,t||sV(e,1,this.length),this[e]},sj.prototype.readUint16LE=sj.prototype.readUInt16LE=function(e,t){return e>>>=0,t||sV(e,2,this.length),this[e]|this[e+1]<<8},sj.prototype.readUint16BE=sj.prototype.readUInt16BE=function(e,t){return e>>>=0,t||sV(e,2,this.length),this[e]<<8|this[e+1]},sj.prototype.readUint32LE=sj.prototype.readUInt32LE=function(e,t){return e>>>=0,t||sV(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},sj.prototype.readUint32BE=sj.prototype.readUInt32BE=function(e,t){return e>>>=0,t||sV(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},sj.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||sV(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},sj.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||sV(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},sj.prototype.readInt8=function(e,t){return(e>>>=0,t||sV(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},sj.prototype.readInt16LE=function(e,t){e>>>=0,t||sV(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},sj.prototype.readInt16BE=function(e,t){e>>>=0,t||sV(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},sj.prototype.readInt32LE=function(e,t){return e>>>=0,t||sV(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},sj.prototype.readInt32BE=function(e,t){return e>>>=0,t||sV(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},sj.prototype.readFloatLE=function(e,t){return e>>>=0,t||sV(e,4,this.length),X(this,e,!0,23,4)},sj.prototype.readFloatBE=function(e,t){return e>>>=0,t||sV(e,4,this.length),X(this,e,!1,23,4)},sj.prototype.readDoubleLE=function(e,t){return e>>>=0,t||sV(e,8,this.length),X(this,e,!0,52,8)},sj.prototype.readDoubleBE=function(e,t){return e>>>=0,t||sV(e,8,this.length),X(this,e,!1,52,8)},sj.prototype.writeUintLE=sj.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;sq(this,e,t,n,i,0)}var o=1,a=0;for(this[t]=255&e;++a<n&&(o*=256);)this[t+a]=e/o&255;return t+n},sj.prototype.writeUintBE=sj.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;sq(this,e,t,n,i,0)}var o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},sj.prototype.writeUint8=sj.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||sq(this,e,t,1,255,0),this[t]=255&e,t+1},sj.prototype.writeUint16LE=sj.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||sq(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},sj.prototype.writeUint16BE=sj.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||sq(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},sj.prototype.writeUint32LE=sj.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||sq(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},sj.prototype.writeUint32BE=sj.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||sq(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},sj.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);sq(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},sj.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);sq(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},sj.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||sq(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},sj.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||sq(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},sj.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||sq(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},sj.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||sq(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},sj.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||sq(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},sj.prototype.writeFloatLE=function(e,t,n){return sG(this,e,t,!0,n)},sj.prototype.writeFloatBE=function(e,t,n){return sG(this,e,t,!1,n)},sj.prototype.writeDoubleLE=function(e,t,n){return sK(this,e,t,!0,n)},sj.prototype.writeDoubleBE=function(e,t,n){return sK(this,e,t,!1,n)},sj.prototype.copy=function(e,t,n,r){if(!sj.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},sj.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!sj.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=sj.isBuffer(e)?e:sj.from(e,r),s=a.length;if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var sQ=/[^+/0-9A-Za-z-_]/g;function sX(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function sJ(e){return K(function(e){if((e=(e=e.split("=")[0]).trim().replace(sQ,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function sZ(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function s0(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var s1=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}();function s2(e){return sw.isPlainObject(e)||sw.isArray(e)}function s3(e){return sw.endsWith(e,"[]")?e.slice(0,-2):e}function s4(e,t,n){return e?e.concat(t).map(function(e,t){return e=s3(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let s6=sw.toFlatObject(sw,{},null,function(e){return/^is[A-Z]/.test(e)});var s5=function(e,t,n){if(!sw.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let r=(n=sw.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!sw.isUndefined(t[e])})).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&sw.isSpecCompliantForm(t);if(!sw.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(sw.isDate(e))return e.toISOString();if(!s&&sw.isBlob(e))throw new sx("Blob is not supported. Use a Buffer instead.");return sw.isArrayBuffer(e)||sw.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):sj.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"==typeof e){if(sw.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else{var u;if(sw.isArray(e)&&(u=e,sw.isArray(u)&&!u.some(s2))||(sw.isFileList(e)||sw.endsWith(n,"[]"))&&(s=sw.toArray(e)))return n=s3(n),s.forEach(function(e,r){sw.isUndefined(e)||null===e||t.append(!0===a?s4([n],r,o):null===a?n:n+"[]",l(e))}),!1}}return!!s2(e)||(t.append(s4(i,n,o),l(e)),!1)}let c=[],d=Object.assign(s6,{defaultVisitor:u,convertValue:l,isVisitable:s2});if(!sw.isObject(e))throw TypeError("data must be an object");return!function e(n,r){if(!sw.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),sw.forEach(n,function(n,o){!0===(!(sw.isUndefined(n)||null===n)&&i.call(t,n,sw.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])}),c.pop()}}(e),t};function s8(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function s9(e,t){this._pairs=[],e&&s5(e,this,t)}let s7=s9.prototype;function le(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lt(e,t,n){let r;if(!t)return e;let i=n&&n.encode||le,o=n&&n.serialize;if(r=o?o(t,n):sw.isURLSearchParams(t)?t.toString():new s9(t,n).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}s7.append=function(e,t){this._pairs.push([e,t])},s7.toString=function(e){let t=e?function(t){return e.call(this,t,s8)}:s8;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var ln=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){sw.forEach(this.handlers,function(t){null!==t&&e(t)})}},lr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},li="undefined"!=typeof URLSearchParams?URLSearchParams:s9,lo="undefined"!=typeof FormData?FormData:null,la="undefined"!=typeof Blob?Blob:null,ls={};k(ls,"hasBrowserEnv",()=>ll),k(ls,"hasStandardBrowserEnv",()=>lu),k(ls,"hasStandardBrowserWebWorkerEnv",()=>lc);let ll="undefined"!=typeof window&&"undefined"!=typeof document,lu=(_="undefined"!=typeof navigator&&navigator.product,ll&&0>["ReactNative","NativeScript","NS"].indexOf(_)),lc="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ld={...ls,isBrowser:!0,classes:{URLSearchParams:li,FormData:lo,Blob:la},protocols:["http","https","file","blob","url","data"]},lf=function(e){if(sw.isFormData(e)&&sw.isFunction(e.entries)){let t={};return sw.forEachEntry(e,(e,n)=>{!function e(t,n,r,i){let o=t[i++];if("__proto__"===o)return!0;let a=Number.isFinite(+o),s=i>=t.length;return(o=!o&&sw.isArray(r)?r.length:o,s)?sw.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n:(r[o]&&sw.isObject(r[o])||(r[o]=[]),e(t,n,r[o],i)&&sw.isArray(r[o])&&(r[o]=function(e){let t,n;let r={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r[n=i[t]]=e[n];return r}(r[o]))),!a}(sw.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null};let lp={transitional:lr,adapter:["xhr","http"],transformRequest:[function(e,t){let n;let r=t.getContentType()||"",i=r.indexOf("application/json")>-1,o=sw.isObject(e);if(o&&sw.isHTMLForm(e)&&(e=new FormData(e)),sw.isFormData(e))return i?JSON.stringify(lf(e)):e;if(sw.isArrayBuffer(e)||sw.isBuffer(e)||sw.isStream(e)||sw.isFile(e)||sw.isBlob(e))return e;if(sw.isArrayBufferView(e))return e.buffer;if(sw.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1){var a,s;return(a=e,s=this.formSerializer,s5(a,new ld.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ld.isNode&&sw.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},s))).toString()}if((n=sw.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return s5(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,n){if(sw.isString(e))try{return(0,JSON.parse)(e),sw.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||lp.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&sw.isString(e)&&(n&&!this.responseType||r)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!n&&r){if("SyntaxError"===e.name)throw sx.from(e,sx.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ld.classes.FormData,Blob:ld.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};sw.forEach(["delete","get","head","post","put","patch"],e=>{lp.headers[e]={}});let lh=sw.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var lm=e=>{let t,n,r;let i={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&lh[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)}),i};let lg=Symbol("internals");function ly(e){return e&&String(e).trim().toLowerCase()}function lv(e){return!1===e||null==e?e:sw.isArray(e)?e.map(lv):String(e)}let lb=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function lw(e,t,n,r,i){if(sw.isFunction(r))return r.call(this,t,n);if(i&&(t=n),sw.isString(t)){if(sw.isString(r))return -1!==t.indexOf(r);if(sw.isRegExp(r))return r.test(t)}}class lx{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=ly(t);if(!i)throw Error("header name must be a non-empty string");let o=sw.findKey(r,i);o&&void 0!==r[o]&&!0!==n&&(void 0!==n||!1===r[o])||(r[o||t]=lv(e))}let o=(e,t)=>sw.forEach(e,(e,n)=>i(e,n,t));return sw.isPlainObject(e)||e instanceof this.constructor?o(e,t):sw.isString(e)&&(e=e.trim())&&!lb(e)?o(lm(e),t):null!=e&&i(t,e,n),this}get(e,t){if(e=ly(e)){let n=sw.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t;let n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)n[t[1]]=t[2];return n}(e);if(sw.isFunction(t))return t.call(this,e,n);if(sw.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ly(e)){let n=sw.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||lw(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=ly(e)){let i=sw.findKey(n,e);i&&(!t||lw(n,n[i],i,t))&&(delete n[i],r=!0)}}return sw.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||lw(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return sw.forEach(this,(r,i)=>{let o=sw.findKey(n,i);if(o){t[o]=lv(r),delete t[i];return}let a=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(i).trim();a!==i&&delete t[i],t[a]=lv(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return sw.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&sw.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[lg]=this[lg]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=ly(e);t[r]||(!function(e,t){let n=sw.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return sw.isArray(e)?e.forEach(r):r(e),this}}function l_(e,t){let n=this||lp,r=t||n,i=lx.from(r.headers),o=r.data;return sw.forEach(e,function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function lS(e){return!!(e&&e.__CANCEL__)}function lk(e,t,n){sx.call(this,null==e?"canceled":e,sx.ERR_CANCELED,t,n),this.name="CanceledError"}lx.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),sw.reduceDescriptors(lx.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),sw.freezeMethods(lx),sw.inherits(lk,sx,{__CANCEL__:!0});var lE=ld.hasStandardBrowserEnv?{write(e,t,n,r,i,o){let a=[e+"="+encodeURIComponent(t)];sw.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),sw.isString(r)&&a.push("path="+r),sw.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function lT(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}var lC=ld.hasStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){let r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){let n=sw.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},lR=function(e,t){let n;let r=Array(e=e||10),i=Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=i[a];n||(n=l),r[o]=s,i[o]=l;let c=a,d=0;for(;c!==o;)d+=r[c++],c%=e;if((o=(o+1)%e)===a&&(a=(a+1)%e),l-n<t)return;let f=u&&l-u;return f?Math.round(1e3*d/f):void 0}};function lO(e,t){let n=0,r=lR(50,250);return i=>{let o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s);n=o;let u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}let lI={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let r,i,o=e.data,a=lx.from(e.headers).normalize(),{responseType:s,withXSRFToken:l}=e;function u(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}if(sw.isFormData(o)){if(ld.hasStandardBrowserEnv||ld.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if(!1!==(i=a.getContentType())){let[e,...t]=i?i.split(";").map(e=>e.trim()).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}}let c=new XMLHttpRequest;if(e.auth){let t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(t+":"+n))}let d=lT(e.baseURL,e.url);function f(){if(!c)return;let r=lx.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new sx("Request failed with status code "+n.status,[sx.ERR_BAD_REQUEST,sx.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}(function(e){t(e),u()},function(e){n(e),u()},{data:s&&"text"!==s&&"json"!==s?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:e,request:c}),c=null}if(c.open(e.method.toUpperCase(),lt(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(f)},c.onabort=function(){c&&(n(new sx("Request aborted",sx.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new sx("Network Error",sx.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||lr;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new sx(t,r.clarifyTimeoutError?sx.ETIMEDOUT:sx.ECONNABORTED,e,c)),c=null},ld.hasStandardBrowserEnv&&(l&&sw.isFunction(l)&&(l=l(e)),l||!1!==l&&lC(d))){let t=e.xsrfHeaderName&&e.xsrfCookieName&&lE.read(e.xsrfCookieName);t&&a.set(e.xsrfHeaderName,t)}void 0===o&&a.setContentType(null),"setRequestHeader"in c&&sw.forEach(a.toJSON(),function(e,t){c.setRequestHeader(t,e)}),sw.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),s&&"json"!==s&&(c.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&c.addEventListener("progress",lO(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",lO(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=t=>{c&&(n(!t||t.type?new lk(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));let p=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(d);if(p&&-1===ld.protocols.indexOf(p)){n(new sx("Unsupported protocol "+p+":",sx.ERR_BAD_REQUEST,e));return}c.send(o||null)})}};sw.forEach(lI,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let lA=e=>`- ${e}`,lj=e=>sw.isFunction(e)||null===e||!1===e;var lP=e=>{let t,n;let{length:r}=e=sw.isArray(e)?e:[e],i={};for(let o=0;o<r;o++){let r;if(n=t=e[o],!lj(t)&&void 0===(n=lI[(r=String(t)).toLowerCase()]))throw new sx(`Unknown adapter '${r}'`);if(n)break;i[r||"#"+o]=n}if(!n){let e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new sx("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(lA).join("\n"):" "+lA(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function lM(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lk(null,e)}function lD(e){return lM(e),e.headers=lx.from(e.headers),e.data=l_.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),lP(e.adapter||lp.adapter)(e).then(function(t){return lM(e),t.data=l_.call(e,e.transformResponse,t),t.headers=lx.from(t.headers),t},function(t){return!lS(t)&&(lM(e),t&&t.response&&(t.response.data=l_.call(e,e.transformResponse,t.response),t.response.headers=lx.from(t.response.headers))),Promise.reject(t)})}let lN=e=>e instanceof lx?e.toJSON():e;function lL(e,t){t=t||{};let n={};function r(e,t,n){return sw.isPlainObject(e)&&sw.isPlainObject(t)?sw.merge.call({caseless:n},e,t):sw.isPlainObject(t)?sw.merge({},t):sw.isArray(t)?t.slice():t}function i(e,t,n){return sw.isUndefined(t)?sw.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!sw.isUndefined(t))return r(void 0,t)}function a(e,t){return sw.isUndefined(t)?sw.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}let l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(lN(e),lN(t),!0)};return sw.forEach(Object.keys(Object.assign({},e,t)),function(r){let o=l[r]||i,a=o(e[r],t[r],r);sw.isUndefined(a)&&o!==s||(n[r]=a)}),n}let lF="1.6.7",lz={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{lz[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let l$={};lz.transitional=function(e,t,n){function r(e,t){return"[Axios v"+lF+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new sx(r(i," has been removed"+(t?" in "+t:"")),sx.ERR_DEPRECATED);return t&&!l$[i]&&(l$[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var lU={assertOptions:function(e,t,n){if("object"!=typeof e)throw new sx("options must be an object",sx.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let o=r[i],a=t[o];if(a){let t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new sx("option "+o+" must be "+n,sx.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new sx("Unknown option "+o,sx.ERR_BAD_OPTION)}},validators:lz};let lB=lU.validators;class lW{constructor(e){this.defaults=e,this.interceptors={request:new ln,response:new ln}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}throw e}}_request(e,t){let n,r;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:o,headers:a}=t=lL(this.defaults,t);void 0!==i&&lU.assertOptions(i,{silentJSONParsing:lB.transitional(lB.boolean),forcedJSONParsing:lB.transitional(lB.boolean),clarifyTimeoutError:lB.transitional(lB.boolean)},!1),null!=o&&(sw.isFunction(o)?t.paramsSerializer={serialize:o}:lU.assertOptions(o,{encode:lB.function,serialize:lB.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&sw.merge(a.common,a[t.method]);a&&sw.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=lx.concat(s,a);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[lD.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,c),r=e.length,n=Promise.resolve(t);d<r;)n=n.then(e[d++],e[d++]);return n}r=l.length;let f=t;for(d=0;d<r;){let e=l[d++],t=l[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{n=lD.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,r=c.length;d<r;)n=n.then(c[d++],c[d++]);return n}getUri(e){return lt(lT((e=lL(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}sw.forEach(["delete","get","head","options"],function(e){lW.prototype[e]=function(t,n){return this.request(lL(n||{},{method:e,url:t,data:(n||{}).data}))}}),sw.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(lL(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}lW.prototype[e]=t(),lW.prototype[e+"Form"]=t(!0)});class lH{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;let r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new lk(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new lH(function(t){e=t}),cancel:e}}}let lV={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(lV).forEach(([e,t])=>{lV[t]=e});let lq=function e(t){let n=new lW(t),r=aJ(lW.prototype.request,n);return sw.extend(r,lW.prototype,n,{allOwnKeys:!0}),sw.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(lL(t,n))},r}(lp);lq.Axios=lW,lq.CanceledError=lk,lq.CancelToken=lH,lq.isCancel=lS,lq.VERSION=lF,lq.toFormData=s5,lq.AxiosError=sx,lq.Cancel=lq.CanceledError,lq.all=function(e){return Promise.all(e)},lq.spread=function(e){return function(t){return e.apply(null,t)}},lq.isAxiosError=function(e){return sw.isObject(e)&&!0===e.isAxiosError},lq.mergeConfig=lL,lq.AxiosHeaders=lx,lq.formToJSON=e=>lf(sw.isHTMLForm(e)?new FormData(e):e),lq.getAdapter=lP,lq.HttpStatusCode=lV,lq.default=lq;let{Axios:lY,AxiosError:lG,CanceledError:lK,isCancel:lQ,CancelToken:lX,VERSION:lJ,all:lZ,Cancel:l0,isAxiosError:l1,spread:l2,toFormData:l3,AxiosHeaders:l4,HttpStatusCode:l6,formToJSON:l5,getAdapter:l8,mergeConfig:l9}=lq,l7=nG({name:"loginState",initialState:{csrftoken:"",loading:!0,user:{id:null,email:null,first_name:null,last_name:null,email_verified:!1},sessionActive:!1},reducers:{storeCSRFToken:(e,t)=>{e.csrftoken=t.payload},storeUser:(e,t)=>{let n={id:t.payload.id,email:t.payload.email,first_name:t.payload.first_name,last_name:t.payload.last_name,email_verified:t.payload.email_verified};if(!t.payload.id)throw Error("Missing user ID");e.user=n,e.sessionActive=!0,e.loading=!1},setSessionAsInactive:(e,t)=>{e.sessionActive=!1,e.loading=!1},setLoginStateAsLoading:(e,t)=>{e.loading=!0}}}),{storeCSRFToken:ue,storeUser:ut,setSessionAsInactive:un,setLoginStateAsLoading:ur}=l7.actions;l7.reducer,lq.defaults.xsrfHeaderName="X-CSRFToken",lq.defaults.xsrfCookieName="csrftoken",lq.defaults.headers.get["Content-Type"]="application/json",lq.defaults.headers.post["Content-Type"]="application/json";let ui=void 0!==window.OVERRIDE_BACKEND_API_URL?window.OVERRIDE_BACKEND_API_URL:"https://api.42q.ai/api/v1/",uo=lq.create({baseURL:ui,headers:{Accept:"application/json"},withCredentials:!0}),ua=e=>{aA()&&console.log("Axios initialised, API URL:",ui)};es("4Up6t");var us={search:function(e,t,n,r){return uo.get(`anon/widget/${e}/search/?input=${encodeURIComponent(t)}&silo=${n?encodeURIComponent(n):0}`)},answers:function(e,t,n,r){return new Promise((i,o)=>{uo.post(`anon/widget/${e}/answers/?input=${encodeURIComponent(t)}&silo=${n?encodeURIComponent(n):0}`,{}).then(t=>{if(r&&console.log("Job response:",t),"SUBMITTED"!=t.data.status){"moderation_flagged"===t.data.type?i({...t,data:t.data}):"search_results"===t.data.type?i({...t,data:t.data}):o("Invalid response, job not submitted");return}let n=`anon/widget/${e}/answers/jobcheck/?jobid=`+t.data.job_id,a=0,s=()=>{uo.get(n).then(e=>{r&&console.log("Check response:",e.data),"SUCCESS"==e.data.status?i({...e,data:e.data.res}):"ERROR"==e.data.status?o(e):(a+=1)<60?setTimeout(s,3e3):o("TIMEOUT, giving up checking")}).catch(e=>{o(e)})};s()}).catch(e=>{o(e)})})},settings:function(e,t){return new Promise((n,r)=>{uo.get(`anon/widget/${e}/settings/`).then(r=>{t&&console.log("Config received:",r.data);let i=r.data.deployment,o={appId:e,chatInlineHeaderXL:!0,inverseThreshold:45,maxLinkLightness:35,maxBackgroundLightness:95,binaryMessageText:"Did that answer your question?",chatInlineHeight:i.sizing_widget_window_height,background:i.background_colour,highlight:i.highlight_colour,chatAlignment:i.positioning_widget_alignment,chatTriggerIconClose:i.trigger_closed_path_url,chatTriggerIconOpen:i.trigger_open_path_url,chatOuterSpacing:i.spacing_widget_padding,logo:i.logo_path_url,buttonText:i.handover_button_label,FQtitle:i.featured_content_label,showQuestions:i.featured_content_enabled&&i.featured_content.length>0,headerWithButton:i.handover_button_action,chatMode:i.project_subtype,silos:i.content_siloing_enabled&&i.content_silos.length>0?i.content_silos.map(e=>[e.id,e.name]):[],welcomeText:i.messages_welcome_html,welcomeTextSilos:i.messages_content_silos_filter_html,welcomeTextSilosIntro:i.messages_content_silos_intro_html,noContentIdentifiedWithSilos:i.messages_no_content_identified_with_silos_html,noContentIdentifiedNoSilos:i.messages_no_content_identified_no_silos_html,positiveFeedbackWithSilos:i.messages_positive_feedback_with_silos_html,positiveFeedbackNoSilos:i.messages_positive_feedback_no_silos_html,negativeFeedbackWithSilos:i.messages_negative_feedback_with_silos_html,negativeFeedbackNoSilos:i.messages_negative_feedback_no_silos_html,noContentIdentifiedWithSilosNotSelected:i.messages_no_content_identified_with_silos_notselected_html,positiveFeedbackWithSilosNotSelected:i.messages_positive_feedback_with_silos_notselected_html,negativeFeedbackWithSilosNotSelected:i.messages_negative_feedback_with_silos_notselected_html,featuredQuestions:i.featured_content_enabled?i.featured_content:[],handoverButtonLinkHref:i.handover_button_linkhref,handoverButtonTarget:i.handover_button_target,askAQuestionLabel:i.inline_trigger_button_label,active:i.active,activeCreditSubscription:i.active_credit_subscription,visibilityWidgetWindow:i.visibility_widget_window,visibilityWidgetWindowHeader:i.visibility_widget_window_header,visibilityHandoverButton:i.visibility_handover_button};t&&console.log(o),n(o)}).catch(e=>{r(e)})})},widget_demo_available:function(e){return uo.get(`demo/widget/${e}/availability/`)}};let ul="silo_select",uu="ready",uc="processing",ud="init_normal",uf="reinit_silos",up="silo_response_a",uh="silo_response_b",um="user_input",ug="feedback_response",uy=e=>e.widgetState.queue,uv=(e,t,n,r,i,o)=>"search"===e?"demo"===r?aX.search(t,n):us.search(t,n,i,o):"full"===e?"demo"===r?aX.answers(t,n):us.answers(t,n,i,o):void 0,ub="Yes.";class uw{constructor(e,t,n,r,i,o,a,s){this.store=e,this.messages=r,this.setMessages=i,this.setIsProcessing=o,this.setAllowUserInput=a,this.theme=t,this.frameMode=n,this.debug=s,this.debug&&console.log(`MC for ${this.frameMode}`),this.curQueue=null,this.init(),this.state="noinit",this.selectedSilo=null,this.delayedTimer=null}init(){this.debug&&console.log("MC: Subscribe"),this.eventIdProcessed=0,this.unsubStore=this.store.subscribe(()=>this.handleStoreEvent()),this.curQueue=uy(this.store.getState())}handleStoreEvent(){this.debug&&console.log("MC: Store event");let e=this.curQueue;this.curQueue=uy(this.store.getState()),e!==this.curQueue&&this.curQueue.length>0?(this.debug&&console.log("MC: QUEUE changed and not empty, processing"),this.curQueue.forEach(e=>{this.debug&&console.log("MC: Processing",e),this.respondToEvent(e)}),this.curQueue.length>0&&(this.debug&&console.log("MC: QUEUE purge"),this.store.dispatch(rt()))):this.debug&&console.log("MC: QUEUE the same")}getSystemResponsePreset(){return 0===this.theme.silos.length?"":"group1"}unsubscribe(){this.debug&&console.log(`MC: Unsubscribe ${this.frameMode}`),this.unsubStore()}delayedFeedbackMessage(){this.delayedTimer=setTimeout(()=>{this.appendMessage({type:"BinaryResponseMessage"})},2500)}respondToUserInput(e,t=!1){this.setIsProcessing(!0),t?this.setMessages(t=>[{type:"UserResponseMessage",text:e}]):this.setMessages(t=>[...t,{type:"UserResponseMessage",text:e}]);let n=!0;uv(this.theme.chatMode,this.theme.appId,e,this.theme.previewChatMode,this.selectedSilo?this.selectedSilo.siloId:0,this.debug).then(e=>{if("search"===this.theme.chatMode)this.debug&&console.log(e.data),"search_results"===e.data.type?this.appendMessage({type:"SearchResultsMessage",articles:e.data.results}):("moderation_flagged"==e.data.type?this.appendMessage({type:"SystemResponseMessage",textHTML:"group1"===this.getSystemResponsePreset()?this.selectedSilo?this.theme.noContentIdentifiedWithSilos.replace("[selected-content-silo]",this.selectedSilo.siloText):this.theme.noContentIdentifiedWithSilosNotSelected:this.theme.noContentIdentifiedNoSilos}):this.appendMessage({type:"SystemResponseMessage",textHTML:"group1"===this.getSystemResponsePreset()?"I am sorry, something went wrong. Please try a different query <a class='link_flowreset' href='#'></a>.":"I am sorry, something went wrong. Please try a different query."}),n=!1);else if("full"===this.theme.chatMode){if("search_results"===e.data.type)this.appendMessage({type:"SearchResultsMessage",articles:e.data.results});else if(e.data?.type==="completion_answer"){if(this.debug&&console.log(e.data),this.debug&&console.log(e.data.answer),e.data.answer.error?(this.appendMessage({type:"SystemResponseMessage",textHTML:"group1"===this.getSystemResponsePreset()?this.selectedSilo?this.theme.noContentIdentifiedWithSilos.replace("[selected-content-silo]",this.selectedSilo.siloText):this.theme.noContentIdentifiedWithSilosNotSelected:this.theme.noContentIdentifiedNoSilos}),n=!1):this.appendMessage({type:"CompletionMessage",isFinished:!0,noArticlesFound:2,answer:ig(e.data.answer_html),sourceQuestion:{metadata:{article_path:e.data.content?.url},title:e.data.content?.title},agentsAvailable:!0}),this.debug){try{console.log(`%c $${e.data.debug_data.price} `,"font-weight: bold; font-size: 35px;color: red; text-shadow: 3px 3px 0 rgb(217,31,38) , 6px 6px 0 rgb(226,91,14) , 9px 9px 0 rgb(245,221,8)")}catch(e){}try{console.log(`%c Step1: Embedding, moderation, search ${e.data.debug_data.timing_data["step1-search"].toFixed(2)}s `,"font-weight: bold; font-size: 18px;color: blue;"),console.log(`%c Step2: Job scheduling delay ${e.data.debug_data.timing_data["step2-wait"].toFixed(2)}s `,"font-weight: bold; font-size: 18px;color: blue;"),console.log(`%c Step3: OpenAI completion ${e.data.debug_data.timing_data["step3-completion"].toFixed(2)}s `,"font-weight: bold; font-size: 18px;color: blue;")}catch(e){}}}else e.data?.type=="moderation_flagged"?this.appendMessage({type:"SystemResponseMessage",textHTML:"group1"===this.getSystemResponsePreset()?this.selectedSilo?this.theme.noContentIdentifiedWithSilos.replace("[selected-content-silo]",this.selectedSilo.siloText):this.theme.noContentIdentifiedWithSilosNotSelected:this.theme.noContentIdentifiedNoSilos}):this.appendMessage({type:"SystemResponseMessage",textHTML:"group1"===this.getSystemResponsePreset()?"I am sorry, something went wrong. Please try a different query <a class='link_flowreset' href='#'></a>.":"I am sorry, something went wrong. Please try a different query."}),n=!1;this.debug&&console.log(e)}n&&this.delayedFeedbackMessage()}).catch(e=>{console.log("Caught error",e),e.response?.status===402?this.appendMessage({type:"SystemResponseMessage",textHTML:"I am sorry, this chat widget has been disabled."}):this.appendMessage({type:"SystemResponseMessage",textHTML:"group1"===this.getSystemResponsePreset()?"I am sorry, something went wrong. Please try again or <a class='link_flowreset' href='#'></a>.":"I am sorry, something went wrong. Please try again."}),n=!1,oG(e)}).finally(()=>{this.setIsProcessing(!1),this.state=uu})}appendMessage(e){this.setMessages(t=>[...t,e])}addUserMessage(e){this.appendMessage({type:"UserResponseMessage",text:e})}respondToEvent(e){if(clearTimeout(this.delayedTimer),this.setAllowUserInput(!1),this.debug&&console.log(`MC: Responding to ${e.name}, silo:${this.selectedSilo}`),e.name===ud)this.selectedSilo=null,0===this.theme.silos.length?(this.state=uc,this.setMessages(e=>[{type:"WelcomeMessage",variant:"search"}]),this.state=uu,this.setAllowUserInput(!0)):(this.state=uc,this.setMessages(e=>[{type:"WelcomeMessage",variant:"group"}]),this.state=ul,this.setAllowUserInput(!1));else if(e.name===uf&&0!==this.theme.silos.length)this.state=uc,this.selectedSilo=null,this.appendMessage({type:"WelcomeMessage",variant:"group"}),this.state=ul,this.setAllowUserInput(!1);else if("init_fq"===e.name)this.selectedSilo=null,this.state=uc,this.respondToUserInput(e.text,!0),this.setAllowUserInput(!0);else if(e.name===up)this.state=uc,this.setAllowUserInput(!1),this.addUserMessage(!0===e.response?ub:"No."),!1===e.response?(this.appendMessage({type:"SystemResponseMessage",textHTML:"<p>Please enter your question below or <a class='link_flowreset' href='#'></a>.</p>",preset:this.getSystemResponsePreset()}),this.state=uu,this.setAllowUserInput(!0)):(this.appendMessage({type:"GroupSelectionMessage",groups:this.theme.silos}),this.state=ul);else if(e.name===uh)this.selectedSilo={siloId:e.siloId,siloText:e.siloText},this.addUserMessage(e.siloText),this.appendMessage({type:"SystemResponseMessage",textHTML:`<p>Please enter your question below about ${this.selectedSilo.siloText} below or <a class='link_flowreset' href='#'></a>.</p>`,preset:this.getSystemResponsePreset()}),this.state=uu,this.setAllowUserInput(!0);else if(e.name===um){if(this.state!==uu)throw Error(`MC: Invalid state - cannot accept user input when not ready. Current state is ${this.state}`);this.state=uc,this.respondToUserInput(e.text,!1),this.setAllowUserInput(!0)}else if(e.name===ug)this.addUserMessage(!0===e.response?ub:"No."),!1===e.response?this.appendMessage({type:"SystemResponseMessage",textHTML:"group1"===this.getSystemResponsePreset()?this.selectedSilo?this.theme.negativeFeedbackWithSilos.replace("[selected-content-silo]",this.selectedSilo.siloText):this.theme.negativeFeedbackWithSilosNotSelected:this.theme.negativeFeedbackNoSilos}):this.appendMessage({type:"SystemResponseMessage",textHTML:"group1"===this.getSystemResponsePreset()?this.selectedSilo?this.theme.positiveFeedbackWithSilos.replace("[selected-content-silo]",this.selectedSilo.siloText):this.theme.positiveFeedbackWithSilosNotSelected:this.theme.positiveFeedbackNoSilos}),this.setAllowUserInput(!0);else throw Error(`MC: Invalid event ${e.name}`)}}let ux=t$.ul` background-color: ${e=>e.theme.windowBg}; padding: 1.5px 10px 1.5px 20px; margin: -1px 0 0; border-radius: 0 0 4px 4px; li { font-family: ${e=>e.theme.font}; margin: 8px 0; list-style-type: none; font-size: 14px; line-height: 1.29; color: ${e=>e.theme.systemMessageText}; display: flex; justify-content: space-between; align-items: center; button { margin-left: 10px; align-self: flex-start; } } `;function u_(e){let{questions:t}=e;return t6(),(0,eu.jsx)(ux,{questions:t,children:t.questions.map(function(e,t){return(0,eu.jsxs)("li",{children:[e.title," ",(0,eu.jsx)(nn,{text:"Send",size:"big",href:e.content_url,component:nn,sendBtn:!0,onClick:()=>{window.open(e.content_url,"_blank").focus()}})]},e.id)})})}let uS=t$.div` position: relative; top: -1px; padding: 0 20px; background-color: ${e=>e.theme.background}; color: ${e=>e.theme.headerText}; display: flex; align-items: center; justify-content: space-between; min-height: 51px; box-sizing: border-box; border-top-left-radius: 4px; border-top-right-radius: 4px; p { font-family: ${e=>e.theme.font}; margin: 0; font-size: 16px; font-weight: bold; line-height: 1.13; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 205px; } `,uk=t$.button` width: 16px; height: 16px; margin-left: 20px; margin-right: -2px; padding: 0; border: 0; background-color: transparent; cursor: pointer; svg { width: 14px; position: relative; top: -5px; g { fill: ${e=>e.theme.headerText}; } } &:focus { outline: none; } &:focus-visible { outline: ${e=>e.theme.focus}; } `;function uE(e){let{title:t}=e,n=t6();return(0,eu.jsxs)(uS,{title:t,children:[(0,eu.jsx)("p",{children:t}),(0,eu.jsx)(uk,{"aria-label":"Close",onClick:()=>n(n5(!1)),children:(0,eu.jsx)(t8,{})})]})}let uT=t$.div` z-index: 9999; width: calc(100% - 40px); max-width: 400px; border-radius: 4px; position: fixed; -webkit-box-shadow: ${e=>e.theme.boxShadow}; box-shadow: ${e=>e.theme.boxShadow}; bottom: ${e=>`${e.theme.chatOuterSpacing+50+20}px`}; /* outerSpacing + trigger height + space between */ right: 0; margin: 0 ${e=>`${e.theme.chatOuterSpacing}px`}; opacity: ${e=>e.isFeaturesOpen?"1":"0"}; transition-delay: 0.3s !important; visibility: ${e=>e.isFeaturesOpen?"visible":"hidden"}; @media (max-width: 490px) { margin: 0 20px; bottom: ${e=>"90px"}; /* outerSpacingCapped + trigger height + space between */ max-width: calc(100% - 40px); } ${e=>"left"===e.theme.chatAlignment&&` @media (min-width: 491px) { left: 0; } `}; `,uC=t$.div` margin-top: 20px; color: ${e=>e.theme.systemMessageText}; font-size: 14px; line-height: 1.29; p:first-of-type { margin: 0 0 8px; } & > div { &:not(:last-of-type) { margin-bottom: 8px; } } `;function uR(e){let{questions:t,modal:n,isFeaturesOpen:r,isRelevant:i,isProcessing:o}=e;return t6(),(0,eu.jsx)(eu.Fragment,{children:n?(0,eu.jsxs)(uT,{isFeaturesOpen:r,children:[(0,eu.jsx)(uE,{title:t.title}),(0,eu.jsx)(u_,{questions:t})]}):(0,eu.jsxs)(uC,{children:[(0,eu.jsx)("p",{children:(0,eu.jsx)("b",{children:t.title})}),t.questions.map(function(e,t){return(0,eu.jsx)("div",{children:(0,eu.jsx)("a",{href:e.content_url,target:"_blank",children:e.title})},e.id)})]})})}let uO=t$(ru)``,uI=t$.div` padding: 19px 0 8px; button:first-of-type { margin-right: 10px; } `,uA=t$.div` margin-top: 19px; `;function uj(e){let{variant:t,isRelevant:n,hideIntro:r,questions:i,showQuestions:o,inlineTriggerHandler:a,isProcessing:s}=e,l=t6(),u=(0,ec.useContext)(tL),c=(0,ec.useMemo)(()=>{var e=new Date().getHours();return e<12?"morning":e<18?"afternoon":"evening"},[]);return(0,eu.jsxs)(uO,{children:[(0,eu.jsx)(rc,{}),(0,eu.jsxs)("div",{className:"chat-bubble",children:[("search"===t||"chat"===t)&&(0,eu.jsxs)(eu.Fragment,{children:[ig(u.welcomeText,{replace(e){if(e.attribs&&"dynamic_salute"===e.attribs.class)return(0,eu.jsxs)(eu.Fragment,{children:["Good ",c,"!"]})}}),a&&(0,eu.jsx)(uA,{children:(0,eu.jsx)(nn,{onClick:a,text:u.askAQuestionLabel})}),i&&o?(0,eu.jsx)(uR,{questions:i,showQuestions:o,isRelevant:n,isProcessing:s}):""]}),"group"===t&&(0,eu.jsxs)(eu.Fragment,{children:[ig(u.welcomeText,{replace(e){if(e.attribs&&"dynamic_salute"===e.attribs.class)return(0,eu.jsxs)(eu.Fragment,{children:["Good ",c,"!"]})}}),ig(u.welcomeTextSilos),(0,eu.jsxs)(uI,{children:[(0,eu.jsx)(nn,{text:"Yes",disabled:!n,onClick:()=>l(re({name:up,response:!0}))}),(0,eu.jsx)(nn,{text:"No",disabled:!n,onClick:()=>l(re({name:up,response:!1}))})]})]})]})]})}let uP=t$(rl)``;function uM(e){let{text:t}=e;return(0,eu.jsx)(uP,{children:(0,eu.jsx)("div",{className:"chat-bubble",children:t})})}var ec=es("79wpy");let uD=t$.div` width: 100%; min-height: 124px; display: flex; flex-grow: 1; align-items: center; justify-content: center; margin: ${e=>e.inner?"":"10px 0"}; `,uN=t$.div` position: relative; top: ${e=>e.inner?"-4px":"4px"}; display: inline-block; border-radius: 50%; -webkit-animation: o-loading-spinner 1s infinite linear; animation: o-loading-spinner 1s infinite linear; border-style: solid; border-color: rgba(51, 48, 46, 0.25); border-top-color: #33302e; width: 20px; height: 20px; border-width: 3px; `;function uL(e){let{inner:t}=e;return(0,eu.jsx)(uD,{inner:t,children:(0,eu.jsx)(uN,{inner:t})})}var ec=es("79wpy");let uF=(e,t)=>{for(let n in t)e[n]=t[n];return e},uz="alpha",u$="asciinumeric",uU="alphanumeric",uB="domain";function uW(e,t,n){for(let r in t.numeric&&(t[u$]=!0,t[uU]=!0),t.ascii&&(t[u$]=!0,t[uz]=!0),t[u$]&&(t[uU]=!0),t[uz]&&(t[uU]=!0),t[uU]&&(t[uB]=!0),t.emoji&&(t[uB]=!0),t){let t=(r in n||(n[r]=[]),n[r]);0>t.indexOf(e)&&t.push(e)}}function uH(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}uH.groups={},uH.prototype={accepts(){return!!this.t},go(e){let t=this.j[e];if(t)return t;for(let t=0;t<this.jr.length;t++){let n=this.jr[t][0],r=this.jr[t][1];if(r&&n.test(e))return r}return this.jd},has(e,t){return void 0===t&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let i=0;i<e.length;i++)this.tt(e[i],t,n,r)},tr(e,t,n,r){let i;return r=r||uH.groups,t&&t.j?i=t:(i=new uH(t),n&&r&&uW(t,n,r)),this.jr.push([e,i]),i},ts(e,t,n,r){let i=this,o=e.length;if(!o)return i;for(let t=0;t<o-1;t++)i=i.tt(e[t]);return i.tt(e[o-1],t,n,r)},tt(e,t,n,r){if(r=r||uH.groups,t&&t.j)return this.j[e]=t,t;let i,o=this.go(e);return o?(uF((i=new uH).j,o.j),i.jr.push.apply(i.jr,o.jr),i.jd=o.jd,i.t=o.t):i=new uH,t&&(r&&(i.t&&"string"==typeof i.t?uW(t,uF(function(e,t){let n={};for(let r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}(i.t,r),n),r):n&&uW(t,n,r)),i.t=t),this.j[e]=i,i}};let uV={defaultProtocol:"http"};function uq(e,t){this.t="token",this.v=e,this.tk=t}function uY(e,t){class n extends uq{constructor(t,n){super(t,n),this.t=e}}for(let e in t)n.prototype[e]=t[e];return n.t=e,n}uq.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){let t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=uV.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){let t=this.toHref(e.get("defaultProtocol")),n=e.get("formatHref",t,this),r=e.get("tagName",t,this),i=this.toFormattedString(e),o={},a=e.get("className",t,this),s=e.get("target",t,this),l=e.get("rel",t,this),u=e.getObj("attributes",t,this),c=e.getObj("events",t,this);return o.href=n,a&&(o.class=a),s&&(o.target=s),l&&(o.rel=l),u&&uF(o,u),{tagName:r,attributes:o,content:i,eventListeners:c}}},uY("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),uY("text"),uY("nl"),uY("url",{isLink:!0,toHref(e){return void 0===e&&(e=uV.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){let e=this.tk;return e.length>=2&&"LOCALHOST"!==e[0].t&&"COLON"===e[1].t}}),"undefined"!=typeof console&&console&&console.warn||(()=>{});let uG=t$(ru)(({isFinished:e})=>` // font-weight: ${e?"400":"600"}; // color: ${e?"black":"grey"}; `),uK=t$.div` border-left: 2px solid ${e=>e.theme.systemMessageText}; padding-left: 18px; margin-bottom: ${e=>e.hasSource?"17px":"0px"}; p { // border: 1px solid red; margin-block-end: 0.5em; } `,uQ=t$.div` span { display: inline-block; margin-right: 6px; font-weight: bold; } `;function uX(e){let{isFinished:t,noArticlesFound:n,answer:r,sourceQuestion:i}=e;(0,ec.useContext)(tL);let o=i&&i.metadata&&i.metadata.article_path;return(0,eu.jsxs)(uG,{isFinished:t,children:[(0,eu.jsx)(rc,{}),(0,eu.jsx)("div",{className:"chat-bubble",children:t?(0,eu.jsx)(eu.Fragment,{children:i?(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)("p",{children:"Here is the best answer I can find based on your question:"}),(0,eu.jsx)(uK,{hasSource:o,children:r}),o&&(0,eu.jsxs)(uQ,{children:[(0,eu.jsx)("span",{children:"Source:"}),(0,eu.jsx)("a",{target:"_blank",href:o?`${i.metadata?.article_path}`:"#",children:i?.title})]})]}):(0,eu.jsxs)(eu.Fragment,{children:["Sorry I couldn't find find an answer to your question. You can try rephrasing it or"," ",(0,eu.jsx)("a",{href:"{themeContext.contactLink}",target:"_blank",children:"contact us"}),"."]})}):(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)("p",{children:"I'm analysing our knowledge base to see if there is an answer to your question…"}),(0,eu.jsx)(uL,{inner:!0})]})})]})}var ec=es("79wpy");let uJ=t$(ru)``,uZ=t$.div` margin-top: 19px; button:first-of-type { margin-right: 10px; } `;function u0(e){let{isRelevant:t}=e,n=t6(),r=(0,ec.useContext)(tL);return(0,eu.jsxs)(uJ,{children:[(0,eu.jsx)(rc,{}),(0,eu.jsxs)("div",{className:"chat-bubble",children:[(0,eu.jsx)("p",{children:r.binaryMessageText}),(0,eu.jsxs)(uZ,{children:[(0,eu.jsx)(nn,{text:"Yes",disabled:!t,onClick:()=>n(re({name:ug,response:!0}))}),(0,eu.jsx)(nn,{text:"No",disabled:!t,onClick:()=>n(re({name:ug,response:!1}))})]})]})]})}var ec=es("79wpy");let u1=t$(ru)``;function u2(e){let{text:t,textHTML:n,textHTMLNoAgents:r,textElements:i,preset:o,isRelevant:a,agentsAvailable:s}=e,l=t6(),u=(0,ec.useMemo)(()=>(0,eu.jsxs)(eu.Fragment,{children:[!n&&(0,eu.jsx)(eu.Fragment,{children:t}),n&&(0,eu.jsx)(eu.Fragment,{children:ig(n,{replace:e=>e.attribs&&"link_flowreset"===e.attribs.class?(0,eu.jsx)("a",{disabled:!a,style:{pointerEvents:a?"":"none",opacity:a?"":"0.6"},onClick:()=>{a&&l(re({name:uf}))},children:"start again"}):e.attribs&&"https://www.42q.ai/show-42q-chat"===e.attribs.href?(0,eu.jsx)("a",{onClick:e=>{e.preventDefault(),window.parent.postMessage({channelName:channelName,name:"open42QChat",mode:mode},"*")},children:e.children[0].data}):void 0})})]}),[n]);return(0,eu.jsxs)(u1,{children:[(0,eu.jsx)(rc,{}),(0,eu.jsx)("div",{className:"chat-bubble",children:(0,eu.jsx)(eu.Fragment,{children:u})})]})}var ec=es("79wpy");let u3=t$(ru)` p { margin: 0 0 5px; } `,u4=t$.div` margin: 10px 0; &:first-of-type { margin-top: 19px; } &:last-of-type { margin-bottom: 8px; } `;function u6(e){let{groups:t,isRelevant:n}=e,r=t6(),i=(0,ec.useContext)(tL);return(0,eu.jsxs)(u3,{children:[(0,eu.jsx)(rc,{}),(0,eu.jsxs)("div",{className:"chat-bubble",children:[ig(i.welcomeTextSilosIntro,{replace(e){if(e.attribs&&"link_flowreset"===e.attribs.class)return(0,eu.jsx)("a",{disabled:!n,style:{pointerEvents:n?"":"none",opacity:n?"":"0.6"},onClick:()=>{n&&r(re({name:uf}))},children:"start again"})}}),t.map(([e,t])=>(0,eu.jsx)(u4,{children:(0,eu.jsx)(nn,{text:t,disabled:!n,onClick:()=>r(re({name:uh,siloId:e,siloText:t}))})},t))]})]})}let u5=t$.div` align-items: center; display: flex; justify-content: center; width: 100%; & > div { background-color: ${e=>e.theme.dotsColor}; display: inline-block; ${e=>"small"===e.size?` animation: dotSmall cubic-bezier(0.25, 0.1, 0.25, 1) 1.5s infinite; height: 4px; width: 4px; border-radius: 1px; `:` animation: dotLarge cubic-bezier(0.25, 0.1, 0.25, 1) 1.5s infinite; height: 20px; width: 20px; border-radius: 4px; `} } & > div:nth-of-type(2) { animation-delay: 0.2s; ${e=>"small"===e.size?` margin: 0 5px; `:` margin: 0 10px; `} } & > div:nth-of-type(3) { animation-delay: 0.3s; } @keyframes dotSmall { 30% { transform: translateY(0); } 50% { transform: translateY(-5px); } 60% { transform: translateY(2px); } 70% { transform: translateY(0); } 80% { transform: translateY(2px); } 90% { transform: translateY(0); } } @keyframes dotLarge { 30% { transform: translateY(0); } 50% { transform: translateY(-10px); } 60% { transform: translateY(5px); } 70% { transform: translateY(0); } 80% { transform: translateY(5px); } 90% { transform: translateY(0); } } `;function u8(e){let{size:t}=e;return(0,eu.jsxs)(u5,{size:t,children:[(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{})]})}let u9=t$(rs)``;function u7(e){return(0,eu.jsxs)(u9,{children:[(0,eu.jsx)(rc,{}),(0,eu.jsx)(u8,{size:"small"})]})}let ce=t$.div` margin-top: auto; width: 100%; background-color: ${e=>e.theme.badgeBg}; margin-top: 10px; text-align: center; height: 30px; display: flex; align-items: center; justify-content: center; a { cusrsor: pointer; text-decoration: none; text-align: center; font-family: ${e=>e.theme.font}; font-size: 12px; color: ${e=>e.theme.badgeText}; display: inline-flex; align-items: center; justify-content: center; transition: color 0.3s; &:hover, &:focus { color: ${e=>e.theme.badgeHoverText}; svg { fill: ${e=>e.theme.badgeHoverText}; } } &:focus { outline: none; } &:focus-visible { outline: ${e=>e.theme.focus}; } } svg { width: 32px; height: 14px; margin-right: 9px; fill: ${e=>e.theme.badgeText}; transition: fill 0.3s; } `;function ct(){return(0,eu.jsx)(ce,{children:(0,eu.jsxs)("a",{href:"https://www.42q.ai/",target:"_blank",children:[(0,eu.jsx)(nr,{}),"Powered by 42 Questions"]})})}let cn=t$.div` width: 100%; height: 100%; box-sizing: border-box; overflow-x: hidden; overflow-y: auto; scroll-behavior: smooth; overscroll-behavior: none; `,cr=t$.div` box-sizing: border-box; display: flex; flex-direction: column; max-width: 620px; margin: 0 auto; /* - badge height and margin */ min-height: calc(100% - 40px); align-items: flex-start; padding: 10px 20px 0 20px; `;function ci(e){let{messages:t,interimSpinner:n,questions:r,showQuestions:i,isProcessing:o}=e,a=(0,ec.useRef)(null),s=(0,ec.useRef)(null);return(0,ec.useEffect)(()=>{s.current.scrollTop=s.current.scrollHeight},[t.length,t.at(-1)]),(0,eu.jsxs)(cn,{ref:s,children:[(0,eu.jsxs)(cr,{ref:a,children:[t.map((e,n)=>{if("TestMessage"==e.type)return(0,eu.jsx)(rf,{children:e.text},n);if("SearchResultsMessage"==e.type)return(0,eu.jsx)(rm,{articles:e.articles,flagged:e.flagged},n);if("WelcomeMessage"==e.type)return(0,eu.jsx)(uj,{variant:e.variant,isRelevant:n==t.length-1,hideIntro:e.hideIntro,showQuestions:i,questions:r,isProcessing:o},n);if("UserResponseMessage"==e.type)return(0,eu.jsx)(uM,{text:e.text},n);if("CompletionMessage"==e.type)return(0,eu.jsx)(uX,{isFinished:e.isFinished,noArticlesFound:e.noArticlesFound,answer:e.answer,sourceQuestion:e.sourceQuestion},n);if("BinaryResponseMessage"==e.type)return(0,eu.jsx)(u0,{isRelevant:n==t.length-1},n);if("GroupSelectionMessage"==e.type)return(0,eu.jsx)(u6,{isRelevant:n==t.length-1,groups:e.groups},n);else if("SystemResponseMessage"==e.type)return(0,eu.jsx)(u2,{text:e.text,textHTML:e.textHTML,textHTMLNoAgents:e.textHTMLNoAgents,textElements:e.textElements,preset:e.preset,isRelevant:n==t.length-1},n);else throw Error("Invalid type "+e.type)}),n&&(0,eu.jsx)(u7,{})]}),(0,eu.jsx)(ct,{})]})}var ec=(es("79wpy"),es("79wpy")),co=e=>"checkbox"===e.type,ca=e=>e instanceof Date,cs=e=>null==e;let cl=e=>"object"==typeof e;var cu=e=>!cs(e)&&!Array.isArray(e)&&cl(e)&&!ca(e),cc=e=>cu(e)&&e.target?co(e.target)?e.target.checked:e.target.value:e,cd=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,cf=(e,t)=>e.has(cd(t)),cp=e=>{let t=e.constructor&&e.constructor.prototype;return cu(t)&&t.hasOwnProperty("isPrototypeOf")},ch="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function cm(e){let t;let n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(ch&&(e instanceof Blob||e instanceof FileList))&&(n||cu(e))))return e;else if(t=n?[]:{},n||cp(e))for(let n in e)e.hasOwnProperty(n)&&(t[n]=cm(e[n]));else t=e;return t}var cg=e=>Array.isArray(e)?e.filter(Boolean):[],cy=e=>void 0===e,cv=(e,t,n)=>{if(!t||!cu(e))return n;let r=cg(t.split(/[,[\].]+?/)).reduce((e,t)=>cs(e)?e:e[t],e);return cy(r)||r===e?cy(e[t])?n:e[t]:r},cb=e=>"boolean"==typeof e;let cw={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},cx={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},c_={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},cS=ei(ec).createContext(null),ck=()=>ei(ec).useContext(cS),cE=e=>{let{children:t,...n}=e;return ei(ec).createElement(cS.Provider,{value:n},t)};var cT=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let o in e)Object.defineProperty(i,o,{get:()=>(t._proxyFormState[o]!==cx.all&&(t._proxyFormState[o]=!r||cx.all),n&&(n[o]=!0),e[o])});return i},cC=e=>cu(e)&&!Object.keys(e).length,cR=(e,t,n,r)=>{n(e);let{name:i,...o}=e;return cC(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!r||cx.all))},cO=e=>Array.isArray(e)?e:[e],cI=(e,t,n)=>!e||!t||e===t||cO(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e)));function cA(e){let t=ei(ec).useRef(e);t.current=e,ei(ec).useEffect(()=>{let n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}var cj=e=>"string"==typeof e,cP=(e,t,n,r,i)=>cj(e)?(r&&t.watch.add(e),cv(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),cv(n,e))):(r&&(t.watchAll=!0),n),cM=e=>/^\w*$/.test(e),cD=e=>cg(e.replace(/["|']|\]/g,"").split(/\.|\[/)),cN=(e,t,n)=>{let r=-1,i=cM(t)?[t]:cD(t),o=i.length,a=o-1;for(;++r<o;){let t=i[r],o=n;if(r!==a){let n=e[t];o=cu(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}e[t]=o,e=e[t]}return e};let cL=e=>e.render(function(e){let t=ck(),{name:n,disabled:r,control:i=t.control,shouldUnregister:o}=e,a=cf(i._names.array,n),s=function(e){let t=ck(),{control:n=t.control,name:r,defaultValue:i,disabled:o,exact:a}=e||{},s=ei(ec).useRef(r);s.current=r,cA({disabled:o,subject:n._subjects.values,next:e=>{cI(s.current,e.name,a)&&u(cm(cP(s.current,n._names,e.values||n._formValues,!1,i)))}});let[l,u]=ei(ec).useState(n._getWatch(r,i));return ei(ec).useEffect(()=>n._removeUnmounted()),l}({control:i,name:n,defaultValue:cv(i._formValues,n,cv(i._defaultValues,n,e.defaultValue)),exact:!0}),l=function(e){let t=ck(),{control:n=t.control,disabled:r,name:i,exact:o}=e||{},[a,s]=ei(ec).useState(n._formState),l=ei(ec).useRef(!0),u=ei(ec).useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=ei(ec).useRef(i);return c.current=i,cA({disabled:r,next:e=>l.current&&cI(c.current,e.name,o)&&cR(e,u.current,n._updateFormState)&&s({...n._formState,...e}),subject:n._subjects.state}),ei(ec).useEffect(()=>(l.current=!0,u.current.isValid&&n._updateValid(!0),()=>{l.current=!1}),[n]),cT(a,n,u.current,!1)}({control:i,name:n}),u=ei(ec).useRef(i.register(n,{...e.rules,value:s,...cb(e.disabled)?{disabled:e.disabled}:{}}));return ei(ec).useEffect(()=>{let e=i._options.shouldUnregister||o,t=(e,t)=>{let n=cv(i._fields,e);n&&(n._f.mount=t)};if(t(n,!0),e){let e=cm(cv(i._options.defaultValues,n));cN(i._defaultValues,n,e),cy(cv(i._formValues,n))&&cN(i._formValues,n,e)}return()=>{(a?e&&!i._state.action:e)?i.unregister(n):t(n,!1)}},[n,i,a,o]),ei(ec).useEffect(()=>{cv(i._fields,n)&&i._updateDisabledField({disabled:r,fields:i._fields,name:n,value:cv(i._fields,n)._f.value})},[r,n,i]),{field:{name:n,value:s,...cb(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:ei(ec).useCallback(e=>u.current.onChange({target:{value:cc(e),name:n},type:cw.CHANGE}),[n]),onBlur:ei(ec).useCallback(()=>u.current.onBlur({target:{value:cv(i._formValues,n),name:n},type:cw.BLUR}),[n,i]),ref:e=>{let t=cv(i._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!cv(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!cv(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!cv(l.touchedFields,n)},error:{enumerable:!0,get:()=>cv(l.errors,n)}})}}(e));var cF=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},cz=e=>({isOnSubmit:!e||e===cx.onSubmit,isOnBlur:e===cx.onBlur,isOnChange:e===cx.onChange,isOnAll:e===cx.all,isOnTouch:e===cx.onTouched}),c$=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let cU=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=cv(e,i);if(n){let{_f:e,...o}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r||e.ref&&t(e.ref,e.name)&&!r)break;cU(o,t)}else cu(o)&&cU(o,t)}}};var cB=(e,t,n)=>{let r=cg(cv(e,n));return cN(r,"root",t[n]),cN(e,n,r),e},cW=e=>"file"===e.type,cH=e=>"function"==typeof e,cV=e=>{if(!ch)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},cq=e=>cj(e),cY=e=>"radio"===e.type,cG=e=>e instanceof RegExp;let cK={value:!1,isValid:!1},cQ={value:!0,isValid:!0};var cX=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!cy(e[0].attributes.value)?cy(e[0].value)||""===e[0].value?cQ:{value:e[0].value,isValid:!0}:cQ:cK}return cK};let cJ={isValid:!1,value:null};var cZ=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,cJ):cJ;function c0(e,t,n="validate"){if(cq(e)||Array.isArray(e)&&e.every(cq)||cb(e)&&!e)return{type:n,message:cq(e)?e:"",ref:t}}var c1=e=>cu(e)&&!cG(e)?e:{value:e,message:""},c2=async(e,t,n,r,i)=>{let{ref:o,refs:a,required:s,maxLength:l,minLength:u,min:c,max:d,pattern:f,validate:p,name:h,valueAsNumber:m,mount:g,disabled:y}=e._f,v=cv(t,h);if(!g||y)return{};let b=a?a[0]:o,w=e=>{r&&b.reportValidity&&(b.setCustomValidity(cb(e)?"":e||""),b.reportValidity())},x={},_=cY(o),S=co(o),k=(m||cW(o))&&cy(o.value)&&cy(v)||cV(o)&&""===o.value||""===v||Array.isArray(v)&&!v.length,E=cF.bind(null,h,n,x),T=(e,t,n,r=c_.maxLength,i=c_.minLength)=>{let a=e?t:n;x[h]={type:e?r:i,message:a,ref:o,...E(e?r:i,a)}};if(i?!Array.isArray(v)||!v.length:s&&(!(_||S)&&(k||cs(v))||cb(v)&&!v||S&&!cX(a).isValid||_&&!cZ(a).isValid)){let{value:e,message:t}=cq(s)?{value:!!s,message:s}:c1(s);if(e&&(x[h]={type:c_.required,message:t,ref:b,...E(c_.required,t)},!n))return w(t),x}if(!k&&(!cs(c)||!cs(d))){let e,t;let r=c1(d),i=c1(c);if(cs(v)||isNaN(v)){let n=o.valueAsDate||new Date(v),a=e=>new Date(new Date().toDateString()+" "+e),s="time"==o.type,l="week"==o.type;cj(r.value)&&v&&(e=s?a(v)>a(r.value):l?v>r.value:n>new Date(r.value)),cj(i.value)&&v&&(t=s?a(v)<a(i.value):l?v<i.value:n<new Date(i.value))}else{let n=o.valueAsNumber||(v?+v:v);cs(r.value)||(e=n>r.value),cs(i.value)||(t=n<i.value)}if((e||t)&&(T(!!e,r.message,i.message,c_.max,c_.min),!n))return w(x[h].message),x}if((l||u)&&!k&&(cj(v)||i&&Array.isArray(v))){let e=c1(l),t=c1(u),r=!cs(e.value)&&v.length>+e.value,i=!cs(t.value)&&v.length<+t.value;if((r||i)&&(T(r,e.message,t.message),!n))return w(x[h].message),x}if(f&&!k&&cj(v)){let{value:e,message:t}=c1(f);if(cG(e)&&!v.match(e)&&(x[h]={type:c_.pattern,message:t,ref:o,...E(c_.pattern,t)},!n))return w(t),x}if(p){if(cH(p)){let e=c0(await p(v,t),b);if(e&&(x[h]={...e,...E(c_.validate,e.message)},!n))return w(e.message),x}else if(cu(p)){let e={};for(let r in p){if(!cC(e)&&!n)break;let i=c0(await p[r](v,t),b,r);i&&(e={...i,...E(r,i.message)},w(i.message),n&&(x[h]=e))}if(!cC(e)&&(x[h]={ref:b,...e},!n))return x}}return w(!0),x};function c3(e,t){let n=Array.isArray(t)?t:cM(t)?[t]:cD(t),r=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=cy(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,o=n[i];return r&&delete r[o],0!==i&&(cu(r)&&cC(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!cy(e[t]))return!1;return!0}(r))&&c3(e,n.slice(0,-1)),e}var c4=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},c6=e=>cs(e)||!cl(e);function c5(e,t){if(c6(e)||c6(t))return e===t;if(ca(e)&&ca(t))return e.getTime()===t.getTime();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n){let n=e[i];if(!r.includes(i))return!1;if("ref"!==i){let e=t[i];if(ca(n)&&ca(e)||cu(n)&&cu(e)||Array.isArray(n)&&Array.isArray(e)?!c5(n,e):n!==e)return!1}}return!0}var c8=e=>"select-multiple"===e.type,c9=e=>cY(e)||co(e),c7=e=>cV(e)&&e.isConnected,de=e=>{for(let t in e)if(cH(e[t]))return!0;return!1};function dt(e,t={}){let n=Array.isArray(e);if(cu(e)||n)for(let n in e)Array.isArray(e[n])||cu(e[n])&&!de(e[n])?(t[n]=Array.isArray(e[n])?[]:{},dt(e[n],t[n])):cs(e[n])||(t[n]=!0);return t}var dn=(e,t)=>(function e(t,n,r){let i=Array.isArray(t);if(cu(t)||i)for(let i in t)Array.isArray(t[i])||cu(t[i])&&!de(t[i])?cy(n)||c6(r[i])?r[i]=Array.isArray(t[i])?dt(t[i],[]):{...dt(t[i])}:e(t[i],cs(n)?{}:n[i],r[i]):r[i]=!c5(t[i],n[i]);return r})(e,t,dt(t)),dr=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>cy(e)?e:t?""===e?NaN:e?+e:e:n&&cj(e)?new Date(e):r?r(e):e;function di(e){let t=e.ref;if(e.refs?!e.refs.every(e=>e.disabled):!t.disabled)return cW(t)?t.files:cY(t)?cZ(e.refs).value:c8(t)?[...t.selectedOptions].map(({value:e})=>e):co(t)?cX(e.refs).value:dr(cy(t.value)?e.ref.value:t.value,e)}var da=(e,t,n,r)=>{let i={};for(let n of e){let e=cv(t,n);e&&cN(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},ds=e=>cy(e)?e:cG(e)?e.source:cu(e)?cG(e.value)?e.value.source:e.value:e,dl=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function du(e,t,n){let r=cv(e,n);if(r||cM(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),o=cv(t,r),a=cv(e,r);if(o&&!Array.isArray(o)&&n!==r)break;if(a&&a.type)return{name:r,error:a};i.pop()}return{name:n}}var dc=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?!r.isOnChange:!i.isOnChange)||e),dd=(e,t)=>!cg(cv(e,t)).length&&c3(e,t);let df={mode:cx.onSubmit,reValidateMode:cx.onChange,shouldFocusError:!0};var dp={};function dh(e){this._maxSize=e,this.clear()}dh.prototype.clear=function(){this._size=0,this._values=Object.create(null)},dh.prototype.get=function(e){return this._values[e]},dh.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),!(e in this._values)&&this._size++,this._values[e]=t};var dm=/[^.^\]^[]+|(?=\[\]|\.\.)/g,dg=/^\d+$/,dy=/^\d/,dv=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,db=/^\s*(['"]?)(.*?)(\1)\s*$/,dw=new dh(512),dx=new dh(512),d_=new dh(512);function dS(e){return dw.get(e)||dw.set(e,dk(e).map(function(e){return e.replace(db,"$2")}))}function dk(e){return e.match(dm)||[""]}function dE(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}dp={Cache:dh,split:dk,normalizePath:dS,setter:function(e){var t=dS(e);return dx.get(e)||dx.set(e,function(e,n){for(var r=0,i=t.length,o=e;r<i-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;o=o[t[r++]]}o[t[r]]=n})},getter:function(e,t){var n=dS(e);return d_.get(e)||d_.set(e,function(e){for(var r=0,i=n.length;r<i;){if(null==e&&t)return;e=e[n[r++]]}return e})},join:function(e){return e.reduce(function(e,t){return e+(dE(t)||dg.test(t)?"["+t+"]":(e?".":"")+t)},"")},forEach:function(e,t,n){!function(e,t,n){var r,i,o,a,s,l=e.length;for(o=0;o<l;o++){(i=e[o])&&(!dE(r=i)&&(r.match(dy)&&!r.match(dg)||dv.test(r))&&(i='"'+i+'"'),a=!(s=dE(i))&&/^\d+$/.test(i),t.call(n,i,s,a,o,e))}}(Array.isArray(e)?e:dk(e),t,n)}};var dT={};let dC=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,dR=e=>e.match(dC)||[],dO=e=>e[0].toUpperCase()+e.slice(1),dI=(e,t)=>dR(e).join(t).toLowerCase(),dA=e=>dR(e).reduce((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`,"");dT={words:dR,upperFirst:dO,camelCase:dA,pascalCase:e=>dO(dA(e)),snakeCase:e=>dI(e,"_"),kebabCase:e=>dI(e,"-"),sentenceCase:e=>dO(dI(e," ")),titleCase:e=>dR(e).map(dO).join(" ")};var dj={};function dP(e,t){var n=e.length,r=Array(n),i={},o=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach(function(e){if(!s.has(e[0])||!s.has(e[1]))throw Error("Unknown node. There is an unknown node in the supplied edges.")});o--;)i[o]||function e(t,o,l){if(l.has(t)){var u;try{u=", node was:"+JSON.stringify(t)}catch(e){u=""}throw Error("Cyclic dependency"+u)}if(!s.has(t))throw Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!i[o]){i[o]=!0;var c=a.get(t)||new Set;if(o=(c=Array.from(c)).length){l.add(t);do{var d=c[--o];e(d,s.get(d),l)}while(o)l.delete(t)}r[--n]=t}}(e[o],o,new Set);return r}(dj=function(e){return dP(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)}).array=dP;let dM=Object.prototype.toString,dD=Error.prototype.toString,dN=RegExp.prototype.toString,dL="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",dF=/^Symbol\((.*)\)(.*)$/;function dz(e,t=!1){if(null==e||!0===e||!1===e)return""+e;let n=typeof e;if("number"===n)return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e;if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return dL.call(e).replace(dF,"Symbol($1)");let r=dM.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+dD.call(e)+"]":"RegExp"===r?dN.call(e):null}function d$(e,t){let n=dz(e,t);return null!==n?n:JSON.stringify(e,function(e,n){let r=dz(this[e],t);return null!==r?r:n},2)}function dU(e){return null==e?[]:[].concat(e)}let dB=/\$\{\s*(\w+)\s*\}/g;t=Symbol.toStringTag;class dW extends Error{static formatError(e,t){let n=t.label||t.path||"this";return(n!==t.path&&(t=Object.assign({},t,{path:n})),"string"==typeof e)?e.replace(dB,(e,n)=>d$(t[n])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,n,r,i,o){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this[t]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=i,this.errors=[],this.inner=[],dU(e).forEach(e=>{if(dW.isError(e)){this.errors.push(...e.errors);let t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],!o&&Error.captureStackTrace&&Error.captureStackTrace(this,dW)}}let dH={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{let i=null!=r&&r!==n?` (cast from the value \`${d$(r,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${d$(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${d$(n,!0)}\``+i}},dV={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},dq={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},dY={noUnknown:"${path} field has unspecified keys: ${unknown}"};Object.assign(Object.create(null),{mixed:dH,string:dV,number:{min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},date:dq,object:dY,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:{isValue:"${path} field must be ${value}"},tuple:{notType:e=>{let{path:t,value:n,spec:r}=e,i=r.types.length;if(Array.isArray(n)){if(n.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${n.length} for value: \`${d$(n,!0)}\``;if(n.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${n.length} for value: \`${d$(n,!0)}\``}return dW.formatError(dH.notType,e)}}});let dG=e=>e&&e.__isYupSchema__;class dK{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:i}=t,o="function"==typeof n?n:(...e)=>e.every(e=>e===n);return new dK(e,(e,t)=>{var n;let a=o(...e)?r:i;return null!=(n=null==a?void 0:a(t))?n:t})}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map(e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!dG(r))throw TypeError("conditions must return a schema object");return r.resolve(t)}}let dQ={context:"$",value:"."};class dX{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw TypeError("ref must be a non-empty string");this.isContext=this.key[0]===dQ.context,this.isValue=this.key[0]===dQ.value,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?dQ.context:this.isValue?dQ.value:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,dp.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}dX.prototype.__isYupRef=!0;let dJ=e=>null==e;function dZ(e){function t({value:t,path:n="",options:r,originalValue:i,schema:o},a,s){let l;let{name:u,test:c,params:d,message:f,skipAbsent:p}=e,{parent:h,context:m,abortEarly:g=o.spec.abortEarly,disableStackTrace:y=o.spec.disableStackTrace}=r;function v(e){return dX.isRef(e)?e.getValue(t,h,m):e}function b(e={}){var r;let a=Object.assign({value:t,originalValue:i,label:o.spec.label,path:e.path||n,spec:o.spec},d,e.params);for(let e of Object.keys(a))a[e]=v(a[e]);let s=new dW(dW.formatError(e.message||f,a),t,a.path,e.type||u,null!=(r=e.disableStackTrace)?r:y);return s.params=a,s}let w=g?a:s,x={path:n,parent:h,type:u,from:r.from,createError:b,resolve:v,options:r,originalValue:i,schema:o},_=e=>{dW.isError(e)?w(e):e?s(null):w(b())},S=e=>{dW.isError(e)?w(e):a(e)};if(p&&dJ(t))return _(!0);try{var k;if(l=c.call(x,t,x),"function"==typeof(null==(k=l)?void 0:k.then)){if(r.sync)throw Error(`Validation test of type: "${x.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(l).then(_,S)}}catch(e){S(e);return}_(l)}return t.OPTIONS=e,t}class d0 extends Set{describe(){let e=[];for(let t of this.values())e.push(dX.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(let n of this.values())t.push(e(n));return t}clone(){return new d0(this.values())}merge(e,t){let n=this.clone();return e.forEach(e=>n.add(e)),t.forEach(e=>n.delete(e)),n}}function d1(e,t=new Map){let n;if(dG(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=d1(e[r],t)}else if(e instanceof Map)for(let[r,i]of(n=new Map,t.set(e,n),e.entries()))n.set(r,d1(i,t));else if(e instanceof Set)for(let r of(n=new Set,t.set(e,n),e))n.add(d1(r,t));else if(e instanceof Object)for(let[r,i]of(n={},t.set(e,n),Object.entries(e)))n[r]=d1(i,t);else throw Error(`Unable to clone ${e}`);return n}class d2{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new d0,this._blacklist=new d0,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(dH.notType)}),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation(e=>{e.nonNullable()})}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;let t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=d1(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=e.clone(),n=Object.assign({},this.spec,t.spec);return t.spec=n,t.internalTests=Object.assign({},this.internalTests,t.internalTests),t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.tests=this.tests,t.exclusiveTests=this.exclusiveTests,t.withMutation(t=>{e.tests.forEach(e=>{t.test(e.OPTIONS)})}),t.transforms=[...this.transforms,...t.transforms],t}isType(e){return null==e?!!this.spec.nullable&&null===e||!!this.spec.optional&&void 0===e:this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((t,n)=>n.resolve(t,e),t)).resolve(e)}return t}resolveOptions(e){var t,n,r,i;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(i=e.disableStackTrace)?i:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,i=n._cast(e,t);if(!1!==t.assert&&!n.isType(i)){if(r&&dJ(i))return i;let o=d$(e),a=d$(i);throw TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". attempted value: ${o} `+(a!==o?`result of cast: ${a}`:""))}return i}_cast(e,t){let n=void 0===e?e:this.transforms.reduce((t,n)=>n.call(this,t,e,this),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,r){let{path:i,originalValue:o=e,strict:a=this.spec.strict}=t,s=e;a||(s=this._cast(s,Object.assign({assert:!1},t)));let l=[];for(let e of Object.values(this.internalTests))e&&l.push(e);this.runTests({path:i,value:s,originalValue:o,options:t,tests:l},n,e=>{if(e.length)return r(e,s);this.runTests({path:i,value:s,originalValue:o,options:t,tests:this.tests},n,r)})}runTests(e,t,n){let r=!1,{tests:i,value:o,originalValue:a,path:s,options:l}=e,u=e=>{r||(r=!0,t(e,o))},c=e=>{r||(r=!0,n(e,o))},d=i.length,f=[];if(!d)return c([]);let p={value:o,originalValue:a,path:s,options:l,schema:this};for(let e=0;e<i.length;e++)(0,i[e])(p,u,function(e){e&&(Array.isArray(e)?f.push(...e):f.push(e)),--d<=0&&c(f)})}asNestedTest({key:e,index:t,parent:n,parentPath:r,originalParent:i,options:o}){let a=null!=e?e:t;if(null==a)throw TypeError("Must include `key` or `index` for nested validations");let s="number"==typeof a,l=n[a],u=Object.assign({},o,{strict:!0,parent:n,value:l,originalValue:i[a],key:void 0,[s?"index":"key"]:a,path:s||a.includes(".")?`${r||""}[${l?a:`"${a}"`}]`:(r?`${r}.`:"")+e});return(e,t,n)=>this.resolve(u)._validate(l,u,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),i=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise((n,o)=>r._validate(e,t,(e,t)=>{dW.isError(e)&&(e.value=t),o(e)},(e,t)=>{e.length?o(new dW(e,t,void 0,void 0,i)):n(t)}))}validateSync(e,t){var n;let r;let i=this.resolve(Object.assign({},t,{value:e})),o=null!=(n=null==t?void 0:t.disableStackTrace)?n:i.spec.disableStackTrace;return i._validate(e,Object.assign({},t,{sync:!0}),(e,t)=>{throw dW.isError(e)&&(e.value=t),e},(t,n)=>{if(t.length)throw new dW(t,e,void 0,void 0,o);r=n}),r}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(dW.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(dW.isError(e))return!1;throw e}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):d1(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){return 0==arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){let n=this.clone({nullable:e});return n.internalTests.nullable=dZ({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){let n=this.clone({optional:e});return n.internalTests.optionality=dZ({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=dH.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=dH.notNull){return this.nullability(!1,e)}required(e=dH.required){return this.clone().withMutation(t=>t.nonNullable(e).defined(e))}notRequired(){return this.clone().withMutation(e=>e.nullable().optional())}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(void 0===(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]}).message&&(t.message=dH.default),"function"!=typeof t.test)throw TypeError("`test` is a required parameters");let n=this.clone(),r=dZ(t),i=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter(e=>e.OPTIONS.name!==t.name||!i&&e.OPTIONS.test!==r.OPTIONS.test),n.tests.push(r),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),r=dU(e).map(e=>new dX(e));return r.forEach(e=>{e.isSibling&&n.deps.push(e.key)}),n.conditions.push("function"==typeof t?new dK(r,t):dK.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=dZ({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=dH.oneOf){let n=this.clone();return e.forEach(e=>{n._whitelist.add(e),n._blacklist.delete(e)}),n.internalTests.whiteList=dZ({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=dH.notOneOf){let n=this.clone();return e.forEach(e=>{n._blacklist.add(e),n._whitelist.delete(e)}),n.internalTests.blacklist=dZ({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){let t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:i,nullable:o}=t.spec;return{meta:r,label:n,optional:i,nullable:o,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map(e=>({name:e.OPTIONS.name,params:e.OPTIONS.params})).filter((e,t,n)=>n.findIndex(t=>t.name===e.name)===t)}}}for(let e of(d2.prototype.__isYupSchema__=!0,["validate","validateSync"]))d2.prototype[`${e}At`]=function(t,n,r={}){let{parent:i,parentPath:o,schema:a}=function(e,t,n,r=n){let i,o,a;return t?((0,dp.forEach)(t,(s,l,u)=>{let c=l?s.slice(1,s.length-1):s,d="tuple"===(e=e.resolve({context:r,parent:i,value:n})).type,f=u?parseInt(c,10):0;if(e.innerType||d){if(d&&!u)throw Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&f>=n.length)throw Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[f],e=d?e.spec.types[f]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);i=n,n=n&&n[c],e=e.fields[c]}o=c,a=l?"["+s+"]":"."+s}),{schema:e,parent:i,parentPath:o}):{parent:i,parentPath:t,schema:e}}(this,t,n,r.context);return a[e](i&&i[o],Object.assign({},r,{parent:i,path:t}))};for(let e of["equals","is"])d2.prototype[e]=d2.prototype.oneOf;for(let e of["not","nope"])d2.prototype[e]=d2.prototype.notOneOf;let d3=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,d4=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,d6=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,d5=e=>dJ(e)||e===e.trim(),d8=({}).toString();function d9(){return new d7}class d7 extends d2{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation(()=>{this.transform((e,t,n)=>{if(!n.spec.coerce||n.isType(e)||Array.isArray(e))return e;let r=null!=e&&e.toString?e.toString():e;return r===d8?e:r})})}required(e){return super.required(e).withMutation(t=>t.test({message:e||dH.required,name:"required",skipAbsent:!0,test:e=>!!e.length}))}notRequired(){return super.notRequired().withMutation(e=>(e.tests=e.tests.filter(e=>"required"!==e.OPTIONS.name),e))}length(e,t=dV.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=dV.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=dV.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,i=!1;return t&&("object"==typeof t?{excludeEmptyString:i=!1,message:n,name:r}=t:n=t),this.test({name:r||"matches",message:n||dV.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&i||-1!==t.search(e)})}email(e=dV.email){return this.matches(d3,{name:"email",message:e,excludeEmptyString:!0})}url(e=dV.url){return this.matches(d4,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=dV.uuid){return this.matches(d6,{name:"uuid",message:e,excludeEmptyString:!1})}ensure(){return this.default("").transform(e=>null===e?"":e)}trim(e=dV.trim){return this.transform(e=>null!=e?e.trim():e).test({message:e,name:"trim",test:d5})}lowercase(e=dV.lowercase){return this.transform(e=>dJ(e)?e:e.toLowerCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>dJ(e)||e===e.toLowerCase()})}uppercase(e=dV.uppercase){return this.transform(e=>dJ(e)?e:e.toUpperCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>dJ(e)||e===e.toUpperCase()})}}d9.prototype=d7.prototype;let fe=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function ft(e,t=0){return Number(e)||t}let fr=new Date(""),fi=e=>"[object Date]"===Object.prototype.toString.call(e);function fo(){return new fa}class fa extends d2{constructor(){super({type:"date",check:e=>fi(e)&&!isNaN(e.getTime())}),this.withMutation(()=>{this.transform((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:isNaN(e=function(e){let t=fe.exec(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;let n={year:ft(t[1]),month:ft(t[2],1)-1,day:ft(t[3],1),hour:ft(t[4]),minute:ft(t[5]),second:ft(t[6]),millisecond:t[7]?ft(t[7].substring(0,3)):0,z:t[8]||void 0,plusMinus:t[9]||void 0,hourOffset:ft(t[10]),minuteOffset:ft(t[11])};if(void 0===n.z&&void 0===n.plusMinus)return new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond).valueOf();let r=0;return"Z"!==n.z&&void 0!==n.plusMinus&&(r=60*n.hourOffset+n.minuteOffset,"+"===n.plusMinus&&(r=0-r)),Date.UTC(n.year,n.month,n.day,n.hour,n.minute+r,n.second,n.millisecond)}(e))?fa.INVALID_DATE:new Date(e))})}prepareParam(e,t){let n;if(dX.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e,t=dq.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=dq.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function fs(e,t){let n=1/0;return e.some((e,r)=>{var i;if(null!=(i=t.path)&&i.includes(e))return n=r,!0}),n}function fl(e){return(t,n)=>fs(e,t)-fs(e,n)}fa.INVALID_DATE=fr,fo.prototype=fa.prototype,fo.INVALID_DATE=fr;let fu=(e,t,n)=>{if("string"!=typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(e){}return n.isType(r)?r:e},fc=(e,t)=>{let n=[...(0,dp.normalizePath)(t)];if(1===n.length)return n[0]in e;let r=n.pop(),i=(0,dp.getter)((0,dp.join)(n),!0)(e);return!!(i&&r in i)},fd=e=>"[object Object]"===Object.prototype.toString.call(e),ff=fl([]);function fp(e){return new fh(e)}class fh extends d2{constructor(e){super({type:"object",check:e=>fd(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=ff,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{e&&this.shape(e)})}_cast(e,t={}){var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let i=this.fields,o=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(r).filter(e=>!this._nodes.includes(e))),s={},l=Object.assign({},t,{parent:s,__validating:t.__validating||!1}),u=!1;for(let e of a){let n=i[e],a=e in r;if(n){let i;let o=r[e];l.path=(t.path?`${t.path}.`:"")+e;let a=(n=n.resolve({value:o,context:t.context,parent:s}))instanceof d2?n.spec:void 0,c=null==a?void 0:a.strict;if(null!=a&&a.strip){u=u||e in r;continue}void 0!==(i=t.__validating&&c?r[e]:n.cast(r[e],l))&&(s[e]=i)}else a&&!o&&(s[e]=r[e]);(a!==e in s||s[e]!==r[e])&&(u=!0)}return u?s:r}_validate(e,t={},n,r){let{from:i=[],originalValue:o=e,recursive:a=this.spec.recursive}=t;t.from=[{schema:this,value:o},...i],t.__validating=!0,t.originalValue=o,super._validate(e,t,n,(e,i)=>{if(!a||!fd(i)){r(e,i);return}o=o||i;let s=[];for(let e of this._nodes){let n=this.fields[e];!n||dX.isRef(n)||s.push(n.asNestedTest({options:t,key:e,parent:i,parentPath:t.path,originalParent:o}))}this.runTests({tests:s,value:i,originalValue:o,options:t},n,t=>{r(t.sort(this._sortErrors).concat(e),i)})})}clone(e){let t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[e,t]of Object.entries(this.fields)){let r=n[e];n[e]=void 0===r?t:r}return t.withMutation(t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges]))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};return this._nodes.forEach(n=>{var r;let i=this.fields[n],o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[n]})),t[n]=i&&"getDefault"in i?i.getDefault(o):void 0}),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],r=new Set,i=new Set(t.map(([e,t])=>`${e}-${t}`));function o(e,t){let o=(0,dp.split)(e)[0];r.add(o),i.has(`${t}-${o}`)||n.push([t,o])}for(let t of Object.keys(e)){let n=e[t];r.add(t),dX.isRef(n)&&n.isSibling?o(n.path,t):dG(n)&&"deps"in n&&n.deps.forEach(e=>o(e,t))}return ei(dj).array(Array.from(r),n).reverse()}(e,t),n._sortErrors=fl(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation(n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)})}partial(){let e={};for(let[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return function e(t){if("fields"in t){let n={};for(let[r,i]of Object.entries(t.fields))n[r]=e(i);return t.setFields(n)}if("array"===t.type){let n=t.optional();return n.innerType&&(n.innerType=e(n.innerType)),n}return"tuple"===t.type?t.optional().clone({types:t.spec.types.map(e)}):"optional"in t?t.optional():t}(this)}pick(e){let t={};for(let n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter(([t,n])=>e.includes(t)&&e.includes(n)))}omit(e){let t=[];for(let n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=(0,dp.getter)(e,!0);return this.transform(i=>{if(!i)return i;let o=i;return fc(i,e)&&(o=Object.assign({},i),n||delete o[e],o[t]=r(i)),o})}json(){return this.transform(fu)}noUnknown(e=!0,t=dY.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){let n;if(null==t)return!0;let r=(n=Object.keys(this.schema.fields),Object.keys(t).filter(e=>-1===n.indexOf(e)));return!e||0===r.length||this.createError({params:{unknown:r.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=dY.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>{if(!t)return t;let n={};for(let r of Object.keys(t))n[e(r)]=t[r];return n})}camelCase(){return this.transformKeys(dT.camelCase)}snakeCase(){return this.transformKeys(dT.snakeCase)}constantCase(){return this.transformKeys(e=>(0,dT.snakeCase)(e).toUpperCase())}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);for(let[i,o]of(n.fields={},Object.entries(t.fields))){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[i]})),n.fields[i]=o.describe(t)}return n}}fp.prototype=fh.prototype;var fm=function(e,t,n){if(e&&"reportValidity"in e){var r=cv(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},fg=function(e,t){var n=function(n){var r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?fm(r.ref,n,e):r.refs&&r.refs.forEach(function(t){return fm(t,n,e)})};for(var r in t.fields)n(r)},fy=function(e,t){t.shouldUseNativeValidation&&fg(e,t);var n={};for(var r in e){var i=cv(t.fields,r);cN(n,r,Object.assign(e[r],{ref:i&&i.ref}))}return n},fv={},fb=es("4lLWL");function fw({children:e,onSubmit:t,methods:n}){return(0,eu.jsx)(cE,{...n,children:(0,eu.jsx)("form",{onSubmit:t,children:e})})}fv=es("7PRXG")(fb.isElement,!0),fw.propTypes={children:ei(fv).node,methods:ei(fv).object,onSubmit:ei(fv).func};var fx=new Map;function f_(e){var t=fx.get(e);t&&t.destroy()}function fS(e){var t=fx.get(e);t&&t.update()}var fk=null;"undefined"==typeof window?((fk=function(e){return e}).destroy=function(e){return e},fk.update=function(e){return e}):((fk=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!fx.has(e)){var t,n=null,r=window.getComputedStyle(e),i=(t=e.value,function(){a({testForHeightReduction:""===t||!e.value.startsWith(t),restoreTextAlign:null}),t=e.value}),o=(function(t){e.removeEventListener("autosize:destroy",o),e.removeEventListener("autosize:update",s),e.removeEventListener("input",i),window.removeEventListener("resize",s),Object.keys(t).forEach(function(n){return e.style[n]=t[n]}),fx.delete(e)}).bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",o),e.addEventListener("autosize:update",s),e.addEventListener("input",i),window.addEventListener("resize",s),e.style.overflowX="hidden",e.style.wordWrap="break-word",fx.set(e,{destroy:o,update:s}),s()}function a(t){var i,o,s=t.restoreTextAlign,l=void 0===s?null:s,u=t.testForHeightReduction,c=r.overflowY;if(0!==e.scrollHeight&&("vertical"===r.resize?e.style.resize="none":"both"===r.resize&&(e.style.resize="horizontal"),(void 0===u||u)&&(i=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return function(){return t.forEach(function(e){var t=e[0],n=e[1];t.style.scrollBehavior="auto",t.scrollTop=n,t.style.scrollBehavior=null})}}(e),e.style.height=""),o="content-box"===r.boxSizing?e.scrollHeight-(parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)):e.scrollHeight+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),"none"!==r.maxHeight&&o>parseFloat(r.maxHeight)?("hidden"===r.overflowY&&(e.style.overflow="scroll"),o=parseFloat(r.maxHeight)):"hidden"!==r.overflowY&&(e.style.overflow="hidden"),e.style.height=o+"px",l&&(e.style.textAlign=l),i&&i(),n!==o&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),n=o),c!==r.overflow&&!l)){var d=r.textAlign;"hidden"===r.overflow&&(e.style.textAlign="start"===d?"end":"start"),a({restoreTextAlign:d,testForHeightReduction:!0})}}function s(){a({testForHeightReduction:!0,restoreTextAlign:null})}}(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],f_),e},fk.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],fS),e});var fE=fk;let fT=t$.div` border-top: 1px solid ${e=>e.theme.inputBorder}; box-sizing: border-box; pointer-events: ${e=>e.isProcessing?"none":""}; form { max-width: 1180px; width: 100%; margin: 0 auto; } textarea { border: none; overflow-y: auto; overflow-x: hidden !important; outline: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; resize: none; margin: 22px 20px 22px 0; max-height: 201px; width: calc(100% - 20px); font-family: ${e=>e.theme.font}; box-sizing: border-box; padding: 0; background-color: ${e=>e.theme.windowBg}; color: ${e=>e.theme.inputText}; font-size: 16px; line-height: 1.29; &::placeholder { color: ${e=>e.theme.inputPlaceholder}; } ${""} } `,fC=t$.div` display: flex; justify-contet: space-between; padding: 0 20px; position: relative; & > button { align-self: flex-start; margin-top: 16px; } `;function fR(e){var t,n;let{handleClick:r,isProcessing:i,debug:o}=e,a=(0,ec.useRef)(null),s=fp().shape({question:d9().required("Please enter a question")}),l={question:""},u=function(e={}){let t=ei(ec).useRef(),n=ei(ec).useRef(),[r,i]=ei(ec).useState({isDirty:!1,isValidating:!1,isLoading:cH(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:cH(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={},t){let n,r={...df,...e},i={submitCount:0,isDirty:!1,isLoading:cH(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:r.errors||{},disabled:r.disabled||!1},o={},a=(cu(r.values)||cu(r.defaultValues))&&cm(r.values||r.defaultValues)||{},s=r.shouldUnregister?{}:cm(a),l={action:!1,mount:!1,watch:!1},u={mount:new Set,unMount:new Set,array:new Set,watch:new Set},c=0,d={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:c4(),array:c4(),state:c4()},p=cz(r.mode),h=cz(r.reValidateMode),m=r.criteriaMode===cx.all,g=e=>t=>{clearTimeout(c),c=setTimeout(e,t)},y=async e=>{if(d.isValid||e){let e=r.resolver?cC((await S()).errors):await E(o,!0);e!==i.isValid&&f.state.next({isValid:e})}},v=e=>d.isValidating&&f.state.next({isValidating:e}),b=(e,t)=>{cN(i.errors,e,t),f.state.next({errors:i.errors})},w=(e,t,n,r)=>{let i=cv(o,e);if(i){let o=cv(s,e,cy(n)?cv(a,e):n);cy(o)||r&&r.defaultChecked||t?cN(s,e,t?o:di(i._f)):R(e,o),l.mount&&y()}},x=(e,t,n,r,s)=>{let l=!1,u=!1,c={name:e},p=!!(cv(o,e)&&cv(o,e)._f.disabled);if(!n||r){d.isDirty&&(u=i.isDirty,i.isDirty=c.isDirty=T(),l=u!==c.isDirty);let n=p||c5(cv(a,e),t);u=!!(!p&&cv(i.dirtyFields,e)),n||p?c3(i.dirtyFields,e):cN(i.dirtyFields,e,!0),c.dirtyFields=i.dirtyFields,l=l||d.dirtyFields&&!n!==u}if(n){let t=cv(i.touchedFields,e);t||(cN(i.touchedFields,e,n),c.touchedFields=i.touchedFields,l=l||d.touchedFields&&t!==n)}return l&&s&&f.state.next(c),l?c:{}},_=(t,r,o,a)=>{let s=cv(i.errors,t),l=d.isValid&&cb(r)&&i.isValid!==r;if(e.delayError&&o?(n=g(()=>b(t,o)))(e.delayError):(clearTimeout(c),n=null,o?cN(i.errors,t,o):c3(i.errors,t)),(o?!c5(s,o):s)||!cC(a)||l){let e={...a,...l&&cb(r)?{isValid:r}:{},errors:i.errors,name:t};i={...i,...e},f.state.next(e)}v(!1)},S=async e=>r.resolver(s,r.context,da(e||u.mount,o,r.criteriaMode,r.shouldUseNativeValidation)),k=async e=>{let{errors:t}=await S(e);if(e)for(let n of e){let e=cv(t,n);e?cN(i.errors,n,e):c3(i.errors,n)}else i.errors=t;return t},E=async(e,t,n={valid:!0})=>{for(let o in e){let a=e[o];if(a){let{_f:e,...o}=a;if(e){let o=u.array.has(e.name),l=await c2(a,s,m,r.shouldUseNativeValidation&&!t,o);if(l[e.name]&&(n.valid=!1,t))break;t||(cv(l,e.name)?o?cB(i.errors,l,e.name):cN(i.errors,e.name,l[e.name]):c3(i.errors,e.name))}o&&await E(o,t,n)}}return n.valid},T=(e,t)=>(e&&t&&cN(s,e,t),!c5(M(),a)),C=(e,t,n)=>cP(e,u,{...l.mount?s:cy(t)?a:cj(e)?{[e]:t}:t},n,t),R=(e,t,n={})=>{let r=cv(o,e),i=t;if(r){let n=r._f;n&&(n.disabled||cN(s,e,dr(t,n)),i=cV(n.ref)&&cs(t)?"":t,c8(n.ref)?[...n.ref.options].forEach(e=>e.selected=i.includes(e.value)):n.refs?co(n.ref)?n.refs.length>1?n.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):n.refs[0]&&(n.refs[0].checked=!!i):n.refs.forEach(e=>e.checked=e.value===i):cW(n.ref)?n.ref.value="":(n.ref.value=i,n.ref.type||f.values.next({name:e,values:{...s}})))}(n.shouldDirty||n.shouldTouch)&&x(e,i,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&P(e)},O=(e,t,n)=>{for(let r in t){let i=t[r],a=`${e}.${r}`,s=cv(o,a);!u.array.has(e)&&c6(i)&&(!s||s._f)||ca(i)?R(a,i,n):O(a,i,n)}},I=(e,n,r={})=>{let c=cv(o,e),p=u.array.has(e),h=cm(n);cN(s,e,h),p?(f.array.next({name:e,values:{...s}}),(d.isDirty||d.dirtyFields)&&r.shouldDirty&&f.state.next({name:e,dirtyFields:dn(a,s),isDirty:T(e,h)})):!c||c._f||cs(h)?R(e,h,r):O(e,h,r),c$(e,u)&&f.state.next({...i}),f.values.next({name:e,values:{...s}}),l.mount||t()},A=async e=>{let t=e.target,a=t.name,l=!0,c=cv(o,a),g=e=>{l=Number.isNaN(e)||e===cv(s,a,e)};if(c){let b,w;let k=t.type?di(c._f):cc(e),T=e.type===cw.BLUR||e.type===cw.FOCUS_OUT,C=!dl(c._f)&&!r.resolver&&!cv(i.errors,a)&&!c._f.deps||dc(T,cv(i.touchedFields,a),i.isSubmitted,h,p),R=c$(a,u,T);cN(s,a,k),T?(c._f.onBlur&&c._f.onBlur(e),n&&n(0)):c._f.onChange&&c._f.onChange(e);let O=x(a,k,T,!1),I=!cC(O)||R;if(T||f.values.next({name:a,type:e.type,values:{...s}}),C)return d.isValid&&y(),I&&f.state.next({name:a,...R?{}:O});if(!T&&R&&f.state.next({...i}),v(!0),r.resolver){let{errors:e}=await S([a]);if(g(k),l){let t=du(i.errors,o,a),n=du(e,o,t.name||a);b=n.error,a=n.name,w=cC(e)}}else b=(await c2(c,s,m,r.shouldUseNativeValidation))[a],g(k),l&&(b?w=!1:d.isValid&&(w=await E(o,!0)));l&&(c._f.deps&&P(c._f.deps),_(a,w,b,O))}},j=(e,t)=>{if(cv(i.errors,t)&&e.focus)return e.focus(),1},P=async(e,t={})=>{let n,a;let s=cO(e);if(v(!0),r.resolver){let t=await k(cy(e)?e:s);n=cC(t),a=e?!s.some(e=>cv(t,e)):n}else e?((a=(await Promise.all(s.map(async e=>{let t=cv(o,e);return await E(t&&t._f?{[e]:t}:t)}))).every(Boolean))||i.isValid)&&y():a=n=await E(o);return f.state.next({...!cj(e)||d.isValid&&n!==i.isValid?{}:{name:e},...r.resolver||!e?{isValid:n}:{},errors:i.errors,isValidating:!1}),t.shouldFocus&&!a&&cU(o,j,e?s:u.mount),a},M=e=>{let t={...a,...l.mount?s:{}};return cy(e)?t:cj(e)?cv(t,e):e.map(e=>cv(t,e))},D=(e,t)=>({invalid:!!cv((t||i).errors,e),isDirty:!!cv((t||i).dirtyFields,e),isTouched:!!cv((t||i).touchedFields,e),error:cv((t||i).errors,e)}),N=(e,t,n)=>{let r=(cv(o,e,{_f:{}})._f||{}).ref;cN(i.errors,e,{...t,ref:r}),f.state.next({name:e,errors:i.errors,isValid:!1}),n&&n.shouldFocus&&r&&r.focus&&r.focus()},L=(e,t={})=>{for(let n of e?cO(e):u.mount)u.mount.delete(n),u.array.delete(n),t.keepValue||(c3(o,n),c3(s,n)),t.keepError||c3(i.errors,n),t.keepDirty||c3(i.dirtyFields,n),t.keepTouched||c3(i.touchedFields,n),r.shouldUnregister||t.keepDefaultValue||c3(a,n);f.values.next({values:{...s}}),f.state.next({...i,...t.keepDirty?{isDirty:T()}:{}}),t.keepIsValid||y()},F=({disabled:e,name:t,field:n,fields:r,value:i})=>{if(cb(e)){let o=e?void 0:cy(i)?di(n?n._f:cv(r,t)._f):i;cN(s,t,o),x(t,o,!1,!1,!0)}},z=(e,t={})=>{let n=cv(o,e),i=cb(t.disabled);return cN(o,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),u.mount.add(e),n?F({field:n,disabled:t.disabled,name:e,value:t.value}):w(e,!0,t.value),{...i?{disabled:t.disabled}:{},...r.progressive?{required:!!t.required,min:ds(t.min),max:ds(t.max),minLength:ds(t.minLength),maxLength:ds(t.maxLength),pattern:ds(t.pattern)}:{},name:e,onChange:A,onBlur:A,ref:i=>{if(i){z(e,t),n=cv(o,e);let r=cy(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,s=c9(r),l=n._f.refs||[];(s?l.find(e=>e===r):r===n._f.ref)||(cN(o,e,{_f:{...n._f,...s?{refs:[...l.filter(c7),r,...Array.isArray(cv(a,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),w(e,!1,void 0,r))}else(n=cv(o,e,{}))._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(cf(u.array,e)&&l.action)&&u.unMount.add(e)}}},$=()=>r.shouldFocusError&&cU(o,j,u.mount),U=(e,t)=>async n=>{let a;n&&(n.preventDefault&&n.preventDefault(),n.persist&&n.persist());let l=cm(s);if(f.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await S();i.errors=e,l=t}else await E(o);if(c3(i.errors,"root"),cC(i.errors)){f.state.next({errors:{}});try{await e(l,n)}catch(e){a=e}}else t&&await t({...i.errors},n),$(),setTimeout($);if(f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:cC(i.errors)&&!a,submitCount:i.submitCount+1,errors:i.errors}),a)throw a},B=(n,r={})=>{let c=n?cm(n):a,p=cm(c),h=n&&!cC(n)?p:a;if(r.keepDefaultValues||(a=c),!r.keepValues){if(r.keepDirtyValues)for(let e of u.mount)cv(i.dirtyFields,e)?cN(h,e,cv(s,e)):I(e,cv(h,e));else{if(ch&&cy(n))for(let e of u.mount){let t=cv(o,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(cV(e)){let t=e.closest("form");if(t){t.reset();break}}}}o={}}s=e.shouldUnregister?r.keepDefaultValues?cm(a):{}:cm(h),f.array.next({values:{...h}}),f.values.next({values:{...h}})}u={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},l.mount||t(),l.mount=!d.isValid||!!r.keepIsValid||!!r.keepDirtyValues,l.watch=!!e.shouldUnregister,f.state.next({submitCount:r.keepSubmitCount?i.submitCount:0,isDirty:r.keepDirty?i.isDirty:!!(r.keepDefaultValues&&!c5(n,a)),isSubmitted:!!r.keepIsSubmitted&&i.isSubmitted,dirtyFields:r.keepDirtyValues?r.keepDefaultValues&&s?dn(a,s):i.dirtyFields:r.keepDefaultValues&&n?dn(a,n):{},touchedFields:r.keepTouched?i.touchedFields:{},errors:r.keepErrors?i.errors:{},isSubmitSuccessful:!!r.keepIsSubmitSuccessful&&i.isSubmitSuccessful,isSubmitting:!1})},W=(e,t)=>B(cH(e)?e(s):e,t);return{control:{register:z,unregister:L,getFieldState:D,handleSubmit:U,setError:N,_executeSchema:S,_getWatch:C,_getDirty:T,_updateValid:y,_removeUnmounted:()=>{for(let e of u.unMount){let t=cv(o,e);t&&(t._f.refs?t._f.refs.every(e=>!c7(e)):!c7(t._f.ref))&&L(e)}u.unMount=new Set},_updateFieldArray:(e,t=[],n,r,u=!0,c=!0)=>{if(r&&n){if(l.action=!0,c&&Array.isArray(cv(o,e))){let t=n(cv(o,e),r.argA,r.argB);u&&cN(o,e,t)}if(c&&Array.isArray(cv(i.errors,e))){let t=n(cv(i.errors,e),r.argA,r.argB);u&&cN(i.errors,e,t),dd(i.errors,e)}if(d.touchedFields&&c&&Array.isArray(cv(i.touchedFields,e))){let t=n(cv(i.touchedFields,e),r.argA,r.argB);u&&cN(i.touchedFields,e,t)}d.dirtyFields&&(i.dirtyFields=dn(a,s)),f.state.next({name:e,isDirty:T(e,t),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else cN(s,e,t)},_updateDisabledField:F,_getFieldArray:t=>cg(cv(l.mount?s:a,t,e.shouldUnregister?cv(a,t,[]):[])),_reset:B,_resetDefaultValues:()=>cH(r.defaultValues)&&r.defaultValues().then(e=>{W(e,r.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:e=>{i={...i,...e}},_disableForm:e=>{cb(e)&&(f.state.next({disabled:e}),cU(o,(t,n)=>{let r=e,i=cv(o,n);i&&cb(i._f.disabled)&&(r||(r=i._f.disabled)),t.disabled=r},0,!1))},_subjects:f,_proxyFormState:d,_setErrors:e=>{i.errors=e,f.state.next({errors:i.errors,isValid:!1})},get _fields(){return o},get _formValues(){return s},get _state(){return l},set _state(value){l=value},get _defaultValues(){return a},get _names(){return u},set _names(value){u=value},get _formState(){return i},set _formState(value){i=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:P,register:z,handleSubmit:U,watch:(e,t)=>cH(e)?f.values.subscribe({next:n=>e(C(void 0,t),n)}):C(e,t,!0),setValue:I,getValues:M,reset:W,resetField:(e,t={})=>{cv(o,e)&&(cy(t.defaultValue)?I(e,cm(cv(a,e))):(I(e,t.defaultValue),cN(a,e,cm(t.defaultValue))),t.keepTouched||c3(i.touchedFields,e),t.keepDirty||(c3(i.dirtyFields,e),i.isDirty=t.defaultValue?T(e,cm(cv(a,e))):T()),!t.keepError&&(c3(i.errors,e),d.isValid&&y()),f.state.next({...i}))},clearErrors:e=>{e&&cO(e).forEach(e=>c3(i.errors,e)),f.state.next({errors:e?i.errors:{}})},unregister:L,setError:N,setFocus:(e,t={})=>{let n=cv(o,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:D}}(e,()=>i(e=>({...e}))),formState:r});let o=t.current.control;return o._options=e,cA({subject:o._subjects.state,next:e=>{cR(e,o._proxyFormState,o._updateFormState,!0)&&i({...o._formState})}}),ei(ec).useEffect(()=>o._disableForm(e.disabled),[o,e.disabled]),ei(ec).useEffect(()=>{if(o._proxyFormState.isDirty){let e=o._getDirty();e!==r.isDirty&&o._subjects.state.next({isDirty:e})}},[o,r.isDirty]),ei(ec).useEffect(()=>{e.values&&!c5(e.values,n.current)?(o._reset(e.values,o._options.resetOptions),n.current=e.values,i(e=>({...e}))):o._resetDefaultValues()},[e.values,o]),ei(ec).useEffect(()=>{e.errors&&o._setErrors(e.errors)},[e.errors,o]),ei(ec).useEffect(()=>{o._state.mount||(o._updateValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()}),ei(ec).useEffect(()=>{e.shouldUnregister&&o._subjects.values.next({values:o._getWatch()})},[e.shouldUnregister,o]),t.current.formState=cT(r,o),t.current}({resolver:(void 0===t&&(t={}),void 0===n&&(n={}),function(e,r,i){try{return Promise.resolve(function(o,a){try{var l=(t.context&&console.warn("You should not used the yup options context. Please, use the 'useForm' context object instead"),Promise.resolve(s["sync"===n.mode?"validateSync":"validate"](e,Object.assign({abortEarly:!1},t,{context:r}))).then(function(t){return i.shouldUseNativeValidation&&fg({},i),{values:n.rawValues?e:t,errors:{}}}))}catch(e){return a(e)}return l&&l.then?l.then(void 0,a):l}(0,function(e){var t;if(!e.inner)throw e;return{values:{},errors:fy((t=!i.shouldUseNativeValidation&&"all"===i.criteriaMode,(e.inner||[]).reduce(function(e,n){if(e[n.path]||(e[n.path]={message:n.message,type:n.type}),t){var r=e[n.path].types,i=r&&r[n.type];e[n.path]=cF(n.path,t,e,n.type,i?[].concat(i,n.message):n.message)}return e},{})),i)}}))}catch(e){return Promise.reject(e)}}),defaultValues:l}),{control:c,reset:d,getValues:f,handleSubmit:p,formState:{errors:h,isSubmitting:m}}=u,g=e=>{o&&console.log(e),a.current?.blur(),d(),fE.destroy(a.current),r(e.question)};(0,ec.useEffect)(()=>{fE(a.current)});let y=e=>{if("Enter"===e.key){let t=f().question;/\S/.test(t)?u.handleSubmit(g)():e.preventDefault()}};return(0,eu.jsx)(fT,{isProcessing:i,children:(0,eu.jsx)(fw,{methods:u,onSubmit:p(g),children:(0,eu.jsx)(fC,{children:(0,eu.jsx)(cL,{name:"question",control:c,defaultValue:l.question,render:({field:{onChange:e,value:t}})=>(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsx)("textarea",{onKeyDown:e=>y(e),rows:"1",type:"text",ref:a,name:"question",value:t,placeholder:"Enter your question",onChange:e,disabled:i}),(0,eu.jsx)("div",{className:"focus-mask"}),(0,eu.jsx)(nn,{disabled:i||h.question||0===t.length,text:"Send",size:"big",sendBtn:!0,onClick:p(g)})]})})})})})}var ec=es("79wpy");let fO=t$.div` background: ${e=>e.theme.windowBg}; ${e=>"inline"===e.theme.chatType&&` @media (min-width: 491px) { display: none; background: red; } `} .chat-header-close { display: none; } `,fI=t$.div` padding: 17px 20px 10px 20px; font-family: ${e=>e.theme.font}; font-size: 14px; line-height: 1.29; color: ${e=>e.theme.systemMessageText}; .chat-bot-icon { display: none; } .chat-bubble { width: 100%; padding: 0; background: transparent; } `;function fA(e){let{isOpen:t,handleClick:n,questions:r,showQuestions:i}=e,o=(0,ec.useContext)(tL);return(0,eu.jsxs)(fO,{isOpen:t,children:[o.visibilityWidgetWindowHeader&&(0,eu.jsx)(ra,{withButton:o.buttonText&&o.handoverButtonLinkHref&&o.visibilityHandoverButton}),(0,eu.jsx)(fI,{children:(0,eu.jsx)(uj,{variant:"search",questions:r,showQuestions:i,inlineTriggerHandler:n})}),(0,eu.jsx)(ct,{})]})}let fj="#FFFFFF",fP="#9f9f9f",fM="#00ab55",fD=t$.a` color: ${fM}; &:hover, &:focus { text-decoration: none; } `,fN=t$.div` opacity: 0.4; background-color: #f1f1f1; overflow: hidden; `,fL=t$.div` background-color: #c8c8c8; padding: 22px 0; .placeholder-heading { width: 160px; height: 15px; background-color: #e3e3e3; } `,fF=t$.div` max-width: 1140px; margin: 0 auto; padding: 0 20px; `,fz=t$.div` width: 100%; margin: 43px 0; &.no-mt { margin-top: 0; } div { background: #e3e3e3; width: 100%; height: 15px; margin: 10px 0; &:last-of-type { width: 90%; } } `,f$=t$.div` background-color: #c8c8c8; height: 60px; `;function fU({...e}){return(0,eu.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 24 24",className:"icon-info",...e,children:(0,eu.jsx)("path",{fill:"#637381",d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2m1 14a1 1 0 0 1-2 0v-5a1 1 0 0 1 2 0Zm-1-7a1 1 0 1 1 1-1a1 1 0 0 1-1 1"})})}function fB({...e}){return(0,eu.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 24 24",className:"icon-close",...e,children:(0,eu.jsx)("path",{fill:"#637381",d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"})})}function fW({...e}){return(0,eu.jsx)("svg",{height:"100",viewBox:"0 0 50 100",width:"50",xmlns:"http://www.w3.org/2000/svg",children:(0,eu.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,eu.jsxs)("g",{fill:"#c8c8c8",transform:"translate(0 42)",children:[(0,eu.jsx)("path",{d:"m50 50v7.2322159h-10z",transform:"matrix(1 0 0 -1 0 107.2322)"}),(0,eu.jsx)("path",{d:"m4 0h42c2.209139-0 4 1.790861 4 4v46h-46c-2.209139 0-4-1.790861-4-4v-42c-0-2.209139 1.790861-4 4-4z"})]}),(0,eu.jsxs)("g",{fill:"#fff",children:[(0,eu.jsx)("rect",{height:"1",rx:".5",width:"6.666667",x:"17",y:"67"}),(0,eu.jsx)("rect",{height:"1",rx:".5",width:"6.666667",x:"27",y:"67"})]}),(0,eu.jsxs)("g",{fill:"#c8c8c8",fillRule:"nonzero",children:[(0,eu.jsx)("path",{d:"m0 5.784v-.712l2.724-3.792h-2.472v-1.28h4.712v.68l-2.78 3.808h2.732v1.296z",transform:"translate(24.36 26.216)"}),(0,eu.jsx)("path",{d:"m0 8.676v-1.068l4.086-5.688h-3.708v-1.92h7.068v1.02l-4.17 5.712h4.098v1.944z",transform:"translate(14.54 14.324)"}),(0,eu.jsx)("path",{d:"m0 11.568v-1.424l5.448-7.584h-4.944v-2.56h9.424v1.36l-5.56 7.616h5.464v2.592z",transform:"translate(24.72 .432)"})]})]})})}let fH=t$.div` background-color: ${fj}; height: 100%; display: flex; justify-content: center; align-items: center; position: relative; box-sizing: border-box; svg { position: relative; top: -17px; } footer { position: absolute; padding-bottom: 36px; bottom: 0; right: 0; left: 0; text-align: center; font-family: Roboto; font-size: 12px; line-height: 1.83; @media (max-width: 600px) { padding-bottom: 25px; } } `;function fV(){return(0,eu.jsxs)(fH,{children:[(0,eu.jsx)(fW,{}),(0,eu.jsx)("footer",{children:(0,eu.jsx)(fD,{href:"#",children:"Why am I seeing this?"})})]})}let fq=t$.div` background: white; width: 100%; height: 100%; display: flex; flex-direction: column; `;function fY(e){let{inTheme:t,gVariant:n,frameMode:r,theme:i,children:o,debug:a}=e,s=t6(),l=t4(),u=tJ(e=>e.widgetState),c=tJ(e=>e.widgetState.isOpen),d=(0,ec.useRef)(null),[f,p]=(0,ec.useState)(!1),[h,m]=(0,ec.useState)(!1),[g,y]=(0,ec.useState)(null),[v,b]=(0,ec.useState)({width:null,height:null});r===aj&&(0,ec.useEffect)(()=>{let e=function(e){let t=e.data;t.channelName===u.channelName&&"command-open"===t.name&&s(n6(!0))};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),"master"!==r&&(0,ec.useEffect)(()=>{let e=function(e){let t=e.data;t.channelName===u.channelName&&"window_size"===t.name&&b({width:t.data.width,height:t.data.height})};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),("fqs"===r||"imt"===r)&&(0,ec.useEffect)(()=>{let e=(0,eh.throttle)(e=>{if(0===e.length)return;let t=e[0].contentRect.height;a&&console.log(`Resized ${r}`,t),window.parent.postMessage({channelName:u.channelName,name:"frameSize",data:{name:r,width:0,height:t}},"*")},100);if(!d.current)return;let t=new ResizeObserver(e);return t.observe(d.current),()=>t.disconnect()},[]);let[w,x]=(0,ec.useState)([]),[_,S]=(0,ec.useState)(!1);return(0,ec.useEffect)(()=>{r===aj&&"overlay"===i.chatType&&i.visibilityWidgetWindow&&!i.showQuestions&&v.width>490&&!_&&(S(!0),s(n6(!0)))},[i,v,S,s]),(0,ec.useEffect)(()=>{if(r!==aj)return()=>{};{let e=new uw(l,i,r,w,x,p,m,a);return y(e),s(re({name:ud})),()=>{e.unsubscribe()}}},[r,p,x]),(0,eu.jsxs)(tF,{theme:i,children:["trigger"===r&&(0,eu.jsx)(t7,{onClick:()=>s(n6(!u.isOpen)),isOpen:c,inFrame:!0}),"messages"===r&&(0,eu.jsx)(fq,{children:"inline"!==i.chatType||"live"!==i.previewChatMode||i.active&&i.activeCreditSubscription?(0,eu.jsxs)(eu.Fragment,{children:[("overlay"===i.chatType||i.visibilityWidgetWindowHeader||v.width>100&&v.width<=490)&&(0,eu.jsx)(ra,{withButton:i.buttonText&&i.handoverButtonLinkHref&&i.visibilityHandoverButton,windowSize:v}),(0,eu.jsx)(ci,{messages:w,agentsAvailable:!0,interimSpinner:f,questions:{questions:i.featuredQuestions},showQuestions:i.showQuestions&&"inline"===i.chatType,isProcessing:f||!h}),(0,eu.jsx)(fR,{handleClick:e=>{s(re({name:um,text:e}))},isProcessing:f||!h,debug:a})]}):(0,eu.jsx)(eu.Fragment,{children:(0,eu.jsx)(fV,{})})}),"imt"===r&&"inline"===i.chatType&&(0,eu.jsx)("div",{ref:d,children:(0,eu.jsx)(fA,{isOpen:c,handleClick:e=>{a&&console.log("Button was clicked"),s(n6(!0))},questions:{questions:i.featuredQuestions},showQuestions:i.showQuestions})}),"fqs"===r&&"overlay"===i.chatType&&(0,eu.jsxs)("div",{ref:d,children:[(0,eu.jsx)(uE,{title:i.FQtitle}),(0,eu.jsx)(u_,{questions:{questions:i.featuredQuestions}})]}),"master"===r&&(0,eu.jsx)(eu.Fragment,{children:o})]})}t$.div` left: 20px; bottom: 90px; z-index: 9999; width: 300px; position: fixed; `,t$.div` left: 20px; bottom: 115px; z-index: 9999; width: 300px; position: fixed; `;var ec=es("79wpy");es("4Up6t");var ec=es("79wpy");let fG=t$.div` position: fixed; z-index: 999; width: 100%; `,fK=(0,ec.forwardRef)(({children:e},t)=>(0,eu.jsx)(fG,{ref:t,children:e})),fQ=t$.div` background-color: ${fj}; color: ${"#212b36"}; font-family: Public Sans; font-size: 14px; font-weight: 1.71; border-bottom: 1px solid ${fP}; padding: 18px; display: flex; justify-content: center; `,fX=t$.button` cursor: pointer; flex-shrink: 0; margin: 0 10px; width: 33px; height: 20px; overflow: hidden; color: transparent; border: 0; border-radius: 10px; background-color: ${fM}; position: relative; &:after { content: ""; display: block; position: absolute; width: 14px; height: 14px; border-radius: 50%; background-color: ${fj}; top: 3px; left: 3px; } &.inline:after { transform: translateX(12px); } `;function fJ(){let e=new URLSearchParams(window.location.search).get("chatType");return(0,eu.jsxs)(fQ,{children:[(0,eu.jsx)("span",{children:"Overlaid Widget"}),(0,eu.jsx)(fX,{className:e,onClick:function(e){e.preventDefault();let t=new URLSearchParams(window.location.search);[...t.keys()].includes("chatType")||t.append("chatType","overlay"),[...t.keys()].includes("mode")||t.append("mode","demo");let n=new URLSearchParams([...t.entries()].map(([e,t])=>"chatType"===e?[e,"overlay"===t?"inline":"overlay"]:[e,t]));window.location.href=window.location.href.split("?")[0]+"?"+n.toString()},children:"toggle widget"}),(0,eu.jsx)("span",{children:"Inline Widget"})]})}let fZ=t$.div` background-color: ${fj}; border-bottom: 1px solid ${fP}; padding: 22px 20px; display: flex; justify-contenr: center; `,f0=t$.div` color: ${"#637381"}; font-family: Public Sans; font-size: 12px; line-height: 1.5; display: inline-flex; flex-flow: row nowrap; margin: 0 auto; position: relative; padding-right: ${e=>e&&"43px"}; .icon-info { margin-right: 4px; flex-shrink: 0; } `,f1=t$.button` cursor: pointer; padding: 0; border: 0; position: absolute; right: 0; top: -5px; width: 25px; height: 25px; background-color: transparent; `;function f2(e){let{mode:t,setOpen:n}=e;function r(e){e.preventDefault();let t=new URLSearchParams(window.location.search);[...t.keys()].includes("chatType")||t.append("chatType","overlay"),[...t.keys()].includes("mode")||t.append("mode","demo");let n=new URLSearchParams([...t.entries()].map(([e,t])=>"mode"===e?[e,"live"===t?"demo":"live"]:[e,t]));window.location.href=window.location.href.split("?")[0]+"?"+n.toString()}return(0,eu.jsx)(fZ,{children:(0,eu.jsxs)(f0,{children:[(0,eu.jsx)(fU,{width:"16px",height:"16px"}),"demo"===t&&(0,eu.jsxs)("span",{children:["Demo Mode enables the Widget settings to be previewed without needing an active Subscription and positive Credit Balance."," ",(0,eu.jsx)(fD,{href:"#",onClick:e=>r(e,"live"),children:"Change to Live Mode"})," ","to preview the Widget as if installed."," ",(0,eu.jsx)(fD,{href:"#",children:"Learn more"})]}),"live"===t&&(0,eu.jsxs)("span",{children:["Live Mode enables the Widget to be previewed as if installed. An active Subscription and positive Credit Balance are required to preview the Widget without restrictions."," ",(0,eu.jsx)(fD,{href:"#",onClick:r,children:"Change to Demo Mode"})," ","to just preview the Widget settings."," ",(0,eu.jsx)(fD,{href:"#",children:"Learn more"})]}),n&&(0,eu.jsx)(f1,{ariaLabel:"Close",onClick:n,children:(0,eu.jsx)(fB,{width:"25px",height:"25px"})})]})})}es("79wpy"),es("4Up6t"),"localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/);let f3={},f4={};function f6(e,t){f3[e]=f3[e]||[],f3[e].push(t)}function f5(e,t){f4[e]||(t(),f4[e]=!0)}function f8(e,t){let n=e&&f3[e];if(n)for(let r of n)try{r(t)}catch(t){iM&&iF.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${oW(r)} Error:`,t)}}let f9=null;function f7(e){let t="error";f6(t,e),f5(t,pe)}function pe(){f9=iv.onerror,iv.onerror=function(e,t,n,r,i){return f8("error",{column:r,error:i,line:n,msg:e,url:t}),!!f9&&!f9.__SENTRY_LOADER__&&f9.apply(this,arguments)},iv.onerror.__SENTRY_INSTRUMENTED__=!0}let pt=null;function pn(e){let t="unhandledrejection";f6(t,e),f5(t,pr)}function pr(){pt=iv.onunhandledrejection,iv.onunhandledrejection=function(e){return f8("unhandledrejection",e),!pt||!!pt.__SENTRY_LOADER__||pt.apply(this,arguments)},iv.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function pi(e){return(e||oD()).getScope().getTransaction()}let po=!1;function pa(){let e=pi();if(e){let t="internal_error";i7&&iF.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}function ps(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=oX(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function pl(e){if(!ps())return;let t=function(e){if(e.startTime){let t={...e};return t.startTimestamp=ob(e.startTime),delete t.startTime,t}return e}(e),n=oD(),r=e.scope?e.scope.getSpan():pu();if(e.onlyIfParent&&!r)return;let i=(e.scope||oJ()).clone();return function(e,{parentSpan:t,spanContext:n,forceTransaction:r,scope:i}){var o;let a;if(!ps())return;let s=oN();if(t&&!r)a=t.startChild(n);else if(t){let r=ok(t),{traceId:i,spanId:o}=t.spanContext(),s=o_(t);a=e.startTransaction({traceId:i,parentSpanId:o,parentSampled:s,...n,metadata:{dynamicSamplingContext:r,...n.metadata}})}else{let{traceId:t,dsc:r,parentSpanId:o,sampled:l}={...s.getPropagationContext(),...i.getPropagationContext()};a=e.startTransaction({traceId:t,parentSpanId:o,parentSampled:l,...n,metadata:{dynamicSamplingContext:r,...n.metadata}})}return i.setSpan(a),(o=a)&&(iG(o,pd,s),iG(o,pc,i)),a}(n,{parentSpan:r,spanContext:t,forceTransaction:e.forceTransaction,scope:i})}function pu(){return oJ().getSpan()}pa.tag="sentry_tracingErrorCallback";let pc="_sentryScope",pd="_sentryIsolationScope";function pf(e){let t=n?n.get(e):void 0;if(!t)return;let r={};for(let[,[e,n]]of t)r[e]||(r[e]=[]),r[e].push(i0(n));return r}let pp="sentry.source",ph="sentry.sample_rate",pm="sentry.op",pg="sentry.origin";function py(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);let n=function(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(t);"unknown_error"!==n&&e.setStatus(n)}(A=Z||(Z={})).Ok="ok",A.DeadlineExceeded="deadline_exceeded",A.Unauthenticated="unauthenticated",A.PermissionDenied="permission_denied",A.NotFound="not_found",A.ResourceExhausted="resource_exhausted",A.InvalidArgument="invalid_argument",A.Unimplemented="unimplemented",A.Unavailable="unavailable",A.InternalError="internal_error",A.UnknownError="unknown_error",A.Cancelled="cancelled",A.AlreadyExists="already_exists",A.FailedPrecondition="failed_precondition",A.Aborted="aborted",A.OutOfRange="out_of_range",A.DataLoss="data_loss";class pv{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class pb{constructor(e={}){this._traceId=e.traceId||i1(),this._spanId=e.spanId||i1().substring(16),this._startTime=e.startTimestamp||i$(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[pg]:e.origin||"manual",[pm]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp)}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[pm]}set op(e){this.setAttribute(pm,e)}get origin(){return this._attributes[pg]}set origin(e){this.setAttribute(pg,e)}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?1:0}}startChild(e){let t=new pb({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t);let n=ou(this);if(t.transaction=n,i7&&n){let r=e&&e.op||"< unknown op >",i=ox(t).description||"< unknown name >",o=n.spanContext().spanId,a=`[Tracing] Starting '${r}' span on transaction '${i}' (${o}).`;iF.log(a),this._logMessage=a}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach(t=>this.setAttribute(t,e[t]))}setStatus(e){return this._status=e,this}setHttpStatus(e){return py(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return"ok"===this._status}finish(e){return this.end(e)}end(e){if(this._endTime)return;let t=ou(this);if(i7&&t&&t.spanContext().spanId!==this._spanId){let e=this._logMessage;e&&iF.log(e.replace("Starting","Finishing"))}this._endTime=ob(e)}toTraceparent(){return ov(this)}toContext(){return i0({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return oy(this)}getSpanJSON(){return i0({data:this._getData(),description:this._name,op:this._attributes[pm],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[pg],_metrics_summary:pf(this)})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){let{data:e,_attributes:t}=this,n=Object.keys(e).length>0,r=Object.keys(t).length>0;if(n||r)return n&&r?{...e,...t}:n?e:t}}class pw extends pb{constructor(e,t){super(e),this._measurements={},this._contexts={},this._hub=t||oD(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;let n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[pp]&&{source:this._attributes[pp]},...this._attributes[ph]&&{sampleRate:this._attributes[ph]}}}set metadata(e){this._metadata=e}setName(e,t="custom"){this._name=e,this.setAttribute(pp,t)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new pv(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=""){this._measurements[e]={value:t,unit:n}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){let t=ob(e),n=this._finishTransaction(t);if(n)return this._hub.captureEvent(n)}toContext(){return i0({...super.toContext(),name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return ok(this)}setHub(e){this._hub=e}_finishTransaction(e){if(void 0!==this._endTime)return;this._name||(i7&&iF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>"),super.end(e);let t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this._sampled){i7&&iF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","transaction");return}let n=this.spanRecorder?this.spanRecorder.spans.filter(e=>e!==this&&ox(e).timestamp):[];if(this._trimEnd&&n.length>0){let e=n.map(e=>ox(e).timestamp).filter(Boolean);this._endTime=e.reduce((e,t)=>e>t?e:t)}let{scope:r,isolationScope:i}={scope:this[pc],isolationScope:this[pd]},{metadata:o}=this,{source:a}=o,s={contexts:{...this._contexts,trace:oy(this)},spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...o,capturedSpanScope:r,capturedSpanIsolationScope:i,...i0({dynamicSamplingContext:ok(this)})},_metrics_summary:pf(this),...a&&{transaction_info:{source:a}}};return Object.keys(this._measurements).length>0&&(i7&&iF.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),s.measurements=this._measurements),i7&&iF.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),s}}let px={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3};class p_ extends pv{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){if(e.spanContext().spanId!==this.transactionSpanId){let t=e.end;e.end=(...n)=>(this._popActivity(e.spanContext().spanId),t.apply(e,n)),void 0===ox(e).timestamp&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class pS extends pw{constructor(e,t,n=px.idleTimeout,r=px.finalTimeout,i=px.heartbeatInterval,o=!1,a=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=i,this._onScope=o,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason="externalFinish",this._autoFinishAllowed=!a,o&&(i7&&iF.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),t.getScope().setSpan(this)),a||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason="finalTimeout",this.end())},this._finalTimeout)}end(e){let t=ob(e);if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setAttribute("finishReason",this._finishReason),this.spanRecorder){for(let e of(i7&&iF.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op),this._beforeFinishCallbacks))e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;!ox(e).timestamp&&(e.setStatus("cancelled"),e.end(t),i7&&iF.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));let{start_timestamp:n,timestamp:r}=ox(e),i=n&&n<t,o=(this._finalTimeout+this._idleTimeout)/1e3,a=r&&n&&r-n<o;if(i7){let t=JSON.stringify(e,void 0,2);i?a||iF.log("[Tracing] discarding Span since it finished after Transaction final timeout",t):iF.log("[Tracing] discarding Span since it happened after Transaction was finished",t)}return i&&a}),i7&&iF.log("[Tracing] flushing IdleTransaction")}else i7&&iF.log("[Tracing] No active IdleTransaction");if(this._onScope){let e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.end(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){this.spanRecorder||(this.spanRecorder=new p_(e=>{this._finished||this._pushActivity(e)},e=>{this._finished||this._popActivity(e)},this.spanContext().spanId,e),i7&&iF.log("Starting heartbeat"),this._pingHeartbeat()),this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason="cancelled",this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(i7&&iF.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason="idleTimeout",this.end(e))},this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),i7&&iF.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,i7&&iF.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(i7&&iF.log(`[Tracing] popActivity ${e}`),delete this.activities[e],i7&&iF.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){let e=i$();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason="cancelled",this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;let e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(i7&&iF.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason="heartbeatFailed",this.end()):this._pingHeartbeat()}_pingHeartbeat(){i7&&iF.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function pk(e,t,n){var r;let i;return ps(t)?void 0!==e.sampled?e.setAttribute(ph,Number(e.sampled)):("function"==typeof t.tracesSampler?(i=t.tracesSampler(n),e.setAttribute(ph,Number(i))):void 0!==n.parentSampled?i=n.parentSampled:void 0!==t.tracesSampleRate?(i=t.tracesSampleRate,e.setAttribute(ph,Number(i))):(i=1,e.setAttribute(ph,i)),iA(r=i)||!("number"==typeof r||"boolean"==typeof r)?(i7&&iF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),1):(r<0||r>1)&&(i7&&iF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${r}.`),1))?(i7&&iF.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1):i?(e.sampled=Math.random()<i,e.sampled)?i7&&iF.log(`[Tracing] starting ${e.op} transaction - ${ox(e).description}`):i7&&iF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`):(i7&&iF.log(`[Tracing] Discarding transaction because ${"function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1):e.sampled=!1,e}function pE(){let e=this.getScope().getSpan();return e?{"sentry-trace":ov(e)}:{}}function pT(e,t){let n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",o=e.instrumenter||"sentry";i!==o&&(i7&&iF.error(`A transaction was started with instrumenter=\`${o}\`, but the SDK is configured with the \`${i}\` instrumenter. The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let a=new pw(e,this);return(a=pk(a,r,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t})).isRecording()&&a.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",a),a}function pC(e,t,n,r,i,o,a,s=!1){let l=e.getClient(),u=l&&l.getOptions()||{},c=new pS(t,e,n,r,a,i,s);return(c=pk(c,u,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...o})).isRecording()&&c.initSpanRecorder(u._experiments&&u._experiments.maxSpans),l&&l.emit&&l.emit("startTransaction",c),c}function pR(e){let t="history";f6(t,e),f5(t,pO)}function pO(){if(!function(){let e=iv.chrome,t=e&&e.app&&e.app.runtime,n="history"in iv&&!!iv.history.pushState&&!!iv.history.replaceState;return!t&&n}())return;let e=iv.onpopstate;function t(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=r,t=String(n);r=t,f8("history",{from:e,to:t})}return e.apply(this,t)}}iv.onpopstate=function(...t){let n=iv.location.href,i=r;if(r=n,f8("history",{from:i,to:n}),e)try{return e.apply(this,t)}catch(e){}},iY(iv.history,"pushState",t),iY(iv.history,"replaceState",t)}let pI="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function pA(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}let pj=(e,t,n)=>{let r,i;return o=>{t.value>=0&&(o||n)&&((i=t.value-(r||0))||void 0===r)&&(r=t.value,t.delta=i,e(t))}},pP=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,pM=()=>{let e=iv.performance.timing,t=iv.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(let t in e)"navigationStart"!==t&&"toJSON"!==t&&(n[t]=Math.max(e[t]-e.navigationStart,0));return n},pD=()=>iv.__WEB_VITALS_POLYFILL__?iv.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||pM()):iv.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],pN=()=>{let e=pD();return e&&e.activationStart||0},pL=(e,t)=>{let n=pD(),r="navigate";return n&&(r=iv.document.prerendering||pN()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:pP(),navigationType:r}},pF=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{t(e.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},pz=(e,t)=>{let n=r=>{("pagehide"===r.type||"hidden"===iv.document.visibilityState)&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},p$=e=>{let t;let n=pL("CLS",0),r=0,i=[],o=e=>{e.forEach(e=>{if(!e.hadRecentInput){let o=i[0],a=i[i.length-1];r&&0!==i.length&&e.startTime-a.startTime<1e3&&e.startTime-o.startTime<5e3?(r+=e.value,i.push(e)):(r=e.value,i=[e]),r>n.value&&(n.value=r,n.entries=i,t&&t())}})},a=pF("layout-shift",o);if(a){t=pj(e,n);let r=()=>{o(a.takeRecords()),t(!0)};return pz(r),r}},pU=-1,pB=()=>"hidden"!==iv.document.visibilityState||iv.document.prerendering?1/0:0,pW=()=>{pz(({timeStamp:e})=>{pU=e},!0)},pH=()=>(pU<0&&(pU=pB(),pW()),{get firstHiddenTime(){return pU}}),pV=e=>{let t;let n=pH(),r=pL("FID"),i=e=>{e.startTime<n.firstHiddenTime&&(r.value=e.processingStart-e.startTime,r.entries.push(e),t(!0))},o=e=>{e.forEach(i)},a=pF("first-input",o);t=pj(e,r),a&&pz(()=>{o(a.takeRecords()),a.disconnect()},!0)},pq={},pY=e=>{let t;let n=pH(),r=pL("LCP"),i=e=>{let i=e[e.length-1];if(i){let e=Math.max(i.startTime-pN(),0);e<n.firstHiddenTime&&(r.value=e,r.entries=[i],t())}},o=pF("largest-contentful-paint",i);if(o){t=pj(e,r);let n=()=>{pq[r.id]||(i(o.takeRecords()),o.disconnect(),pq[r.id]=!0,t(!0))};return["keydown","click"].forEach(e=>{addEventListener(e,n,{once:!0,capture:!0})}),pz(n,!0),n}},pG={},pK={};function pQ(e,t=!1){return p2("lcp",e,p1,a,t)}function pX(e,t){return p3(e,t),pK[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),pF(e,t=>{pJ(e,{entries:t})},t)}(e),pK[e]=!0),p4(e,t)}function pJ(e,t){let n=pG[e];if(n&&n.length)for(let r of n)try{r(t)}catch(t){pI&&iF.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${oW(r)} Error:`,t)}}function pZ(){return p$(e=>{pJ("cls",{metric:e}),i=e})}function p0(){return pV(e=>{pJ("fid",{metric:e}),o=e})}function p1(){return pY(e=>{pJ("lcp",{metric:e}),a=e})}function p2(e,t,n,r,i=!1){let o;return p3(e,t),pK[e]||(o=n(),pK[e]=!0),r&&t({metric:r}),p4(e,t,i?o:void 0)}function p3(e,t){pG[e]=pG[e]||[],pG[e].push(t)}function p4(e,t,n){return()=>{n&&n();let r=pG[e];if(!r)return;let i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function p6(e){return"number"==typeof e&&isFinite(e)}function p5(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}function p8(e){return e/1e3}function p9(){return iv&&iv.addEventListener&&iv.performance}let p7=0,he={};function ht(e,t,n,r,i,o){let a=o?t[o]:t[`${n}End`],s=t[`${n}Start`];s&&a&&p5(e,{op:"browser",origin:"auto.browser.browser.metrics",description:i||n,startTimestamp:r+p8(s),endTimestamp:r+p8(a)})}function hn(e,t,n,r){let i=t[n];null!=i&&i<2147483647&&(e[r]=i)}function hr(){if(!("fetch"in iv))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function hi(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function ho(e){let t="fetch";f6(t,e),f5(t,ha)}function ha(){(function(){if("string"==typeof EdgeRuntime)return!0;if(!hr())return!1;if(hi(iv.fetch))return!0;let e=!1,t=iv.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=hi(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){iM&&iF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e})()&&iY(iv,"fetch",function(e){return function(...t){let{method:n,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:hl(t),method:hs(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:hl(t),method:hs(t,"method")?String(t.method).toUpperCase():"GET"}}(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return f8("fetch",{...i}),e.apply(iv,t).then(e=>(f8("fetch",{...i,endTimestamp:Date.now(),response:e}),e),e=>{throw f8("fetch",{...i,endTimestamp:Date.now(),error:e}),e})}})}function hs(e,t){return!!e&&"object"==typeof e&&!!e[t]}function hl(e){return"string"==typeof e?e:e?hs(e,"url")?e.url:e.toString?e.toString():"":""}let hu="__sentry_xhr_v3__";function hc(e){f6("xhr",e),f5("xhr",hd)}function hd(){if(!iv.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;iY(e,"open",function(e){return function(...t){let n=Date.now(),r=iE(t[0])?t[0].toUpperCase():void 0,i=function(e){if(iE(e))return e;try{return e.toString()}catch(e){}}(t[1]);if(!r||!i)return e.apply(this,t);this[hu]={method:r,url:i,request_headers:{}},"POST"===r&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let o=()=>{let e=this[hu];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}f8("xhr",{args:[r,i],endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?iY(this,"onreadystatechange",function(e){return function(...t){return o(),e.apply(this,t)}}):this.addEventListener("readystatechange",o),iY(this,"setRequestHeader",function(e){return function(...t){let[n,r]=t,i=this[hu];return i&&iE(n)&&iE(r)&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}}),e.apply(this,t)}}),iY(e,"send",function(e){return function(...t){let n=this[hu];return n&&(void 0!==t[0]&&(n.body=t[0]),f8("xhr",{args:[n.method,n.url],startTimestamp:Date.now(),xhr:this})),e.apply(this,t)}})}let hf=["localhost",/^\/(?!\/)/],hp={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:hf,tracePropagationTargets:hf};function hh(e){let{url:t}=ox(e).data||{};if(!t||"string"!=typeof t)return;let n=pX("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(t)&&((function(e){let{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(let i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol),r=[];return(r.push(["network.protocol.version",n],["network.protocol.name",t]),iU)?[...r,["http.request.redirect_start",hm(e.redirectStart)],["http.request.fetch_start",hm(e.fetchStart)],["http.request.domain_lookup_start",hm(e.domainLookupStart)],["http.request.domain_lookup_end",hm(e.domainLookupEnd)],["http.request.connect_start",hm(e.connectStart)],["http.request.secure_connection_start",hm(e.secureConnectionStart)],["http.request.connection_end",hm(e.connectEnd)],["http.request.request_start",hm(e.requestStart)],["http.request.response_start",hm(e.responseStart)],["http.request.response_end",hm(e.responseEnd)]]:r})(r).forEach(t=>e.setAttribute(...t)),setTimeout(n))})})}function hm(e=0){return((iU||performance.timeOrigin)+e)/1e3}let hg={...px,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,_experiments:{},...hp};function hy(e){var t;let n=(t=`meta[name=${e}]`,iv.document&&iv.document.querySelector?iv.document.querySelector(t):null);return n?n.getAttribute("content"):void 0}let hv=[];function hb(e,t){for(let n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function hw(e,t,n){if(n[t.name]){i7&&iF.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===hv.indexOf(t.name)&&(t.setupOnce(oi,oD),hv.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),e.on&&"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if(e.addEventProcessor&&"function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}i7&&iF.log(`Integration installed: ${t.name}`)}function hx(e,t){return Object.assign(function(...e){return t(...e)},{id:e})}let h_="FunctionToString",hS=new WeakMap,hk=()=>({name:h_,setupOnce(){u=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=iQ(this),n=hS.has(oX())&&void 0!==t?t:this;return u.apply(n,e)}}catch(e){}},setup(e){hS.set(e,!0)}});hx(h_,hk);let hE=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function hT(e,t=!1){let{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function hC(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}let hR=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],hO=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],hI="InboundFilters",hA=(e={})=>({name:hI,setupOnce(){},processEvent:(t,n,r)=>{var i,o;return((i=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:hR],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:hO],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,r.getOptions())).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(t)?(i7&&iF.warn(`Event dropped due to being internal Sentry Error. Event: ${i3(t)}`),0):(o=i.ignoreErrors,!t.type&&o&&o.length&&(function(e){let t;let n=[];e.message&&n.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(n.push(t.value),t.type&&n.push(`${t.type}: ${t.value}`)),i7&&0===n.length&&iF.error(`Could not extract message for event ${i3(e)}`),n})(t).some(e=>iq(e,o)))?(i7&&iF.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${i3(t)}`),0):!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let n=e.transaction;return!!n&&iq(n,t)}(t,i.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let n=hj(e);return!!n&&iq(n,t)}(t,i.denyUrls)?function(e,t){if(!t||!t.length)return!0;let n=hj(e);return!n||iq(n,t)}(t,i.allowUrls)||(i7&&iF.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${i3(t)}. Url: ${hj(t)}`),0):(i7&&iF.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${i3(t)}. Url: ${hj(t)}`),0):(i7&&iF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${i3(t)}`),0))?t:null}});function hj(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return i7&&iF.error(`Cannot extract url for event ${i3(e)}`),null}}function hP(e,t=[]){return[e,t]}function hM(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function hD(e,t){return(t||new TextEncoder).encode(e)}hx(hI,hA);let hN={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function hL(e){if(!e||!e.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function hF(e,t,n,r){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:hT(r)},...i&&{trace:i0({...i})}}}class hz extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}let h$="Not capturing exception because it's already been captured.";class hU{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){let t="string"==typeof e?function(e){let t=hE.exec(e);if(!t){iL(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i="",o,a="",s]=t.slice(1),l="",u=s,c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return hC({host:o,pass:i,path:l,projectId:u,port:a,protocol:n,publicKey:r})}(e):hC(e);if(t&&function(e){if(!iM)return!0;let{port:t,projectId:n,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(iF.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"===r||"https"===r?!(t&&isNaN(parseInt(t,10)))||(iF.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(iF.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(iF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}(e.dsn):i7&&iF.warn("No DSN provided, client will not send events."),this._dsn){let t=function(e,t={}){var n;let r="string"==typeof t?t:t.tunnel,i="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return r||`${function(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/?${Object.keys(n={sentry_key:e.publicKey,sentry_version:"7",...i&&{sentry_client:`${i.name}/${i.version}`}}).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`).join("&")}`}(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if(i5(e)){i7&&iF.log(h$);return}let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then(e=>this._captureEvent(e,t,n)).then(e=>{r=e})),r}captureMessage(e,t,n,r){let i=n&&n.event_id,o=iT(e)?e:String(e),a=iC(e)?this.eventFromMessage(o,t,n):this.eventFromException(e,n);return this._process(a.then(e=>this._captureEvent(e,n,r)).then(e=>{i=e})),i}captureEvent(e,t,n){if(t&&t.originalException&&i5(t.originalException)){i7&&iF.log(h$);return}let r=t&&t.event_id,i=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,t,i||n).then(e=>{r=e})),r}captureSession(e){"string"!=typeof e.release?i7&&iF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),os(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):oe(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return i7&&iF.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){let t=this._integrations[e.name];hw(this,e,this._integrations),t||hb(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){var i;let o=hL(n),a=e.type&&"replay_event"!==e.type?e.type:"event";(i=n&&n.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let s=hF(e,o,r,t);return delete e.sdkProcessingMetadata,hP(s,[[{type:a},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=function(e,t){let[n,r]=e;return[n,[...r,t]]}(n,function(e,t){let n="string"==typeof e.data?hD(e.data,t):e.data;return[i0({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));let r=this._sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=function(e,t,n,r){let i=hL(n);return hP({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:hT(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){let n=`${e}:${t}`;i7&&iF.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}captureAggregateMetrics(e){i7&&iF.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);let t=function(e,t,n,r){let i={sent_at:new Date().toISOString()};return n&&n.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),r&&t&&(i.dsn=hT(t)),hP(i,[function(e){let t=function(e){let t="";for(let n of e){let e=Object.entries(n.tags),r=e.length>0?`|#${e.map(([e,t])=>`${e}:${t}`).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${r}|T${n.timestamp} `}return t}(e);return[{type:"statsd",length:t.length},t]}(e)])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach(e=>e(...t))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let n={};return t.forEach(t=>{t&&hw(e,t,n)}),n}(this,e),hb(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let n=!1,r=!1,i=t.exception&&t.exception.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&n)&&(os(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new on(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=oN()){let i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o.length>0&&(t.integrations=o),this.emit("preprocessEvent",e,t),oV(i,e,t,n,this,r).then(e=>{if(null===e)return e;let t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){let{traceId:r,spanId:i,parentSpanId:o,dsc:a}=t;e.contexts={trace:{trace_id:r,span_id:i,parent_span_id:o},...e.contexts};let s=a||oS(r,this,n);e.sdkProcessingMetadata={dynamicSamplingContext:s,...e.sdkProcessingMetadata}}return e})}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{i7&&("log"===e.logLevel?iF.log(e.message):iF.warn(e))})}_processEvent(e,t,n){let r=this.getOptions(),{sampleRate:i}=r,o=hW(e),a=hB(e),s=e.type||"error",l=`before send for type \`${s}\``;if(a&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),ot(new hz(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let u="replay_event"===s?"replay":s,c=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,c).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,e),new hz("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?n:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if(iI(e))return e.then(e=>{if(!iR(e)&&null!==e)throw new hz(n);return e},e=>{throw new hz(`${t} rejected with ${e}`)});if(!iR(e)&&null!==e)throw new hz(n);return e}(function(e,t,n){let{beforeSend:r,beforeSendTransaction:i}=e;return hB(t)&&r?r(t,n):hW(t)&&i?i(t,n):t}(r,n,t),l)}).then(r=>{if(null===r)throw this.recordDroppedEvent("before_send",u,e),new hz(`${l} returned \`null\`, will not send event.`,"log");let i=n&&n.getSession();!o&&i&&this._updateSessionFromEvent(i,r);let a=r.transaction_info;return o&&a&&r.transaction!==e.transaction&&(r.transaction_info={...a,source:"custom"}),this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof hz)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new hz(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,e=>{i7&&iF.error("Error while sending event:",e)});i7&&iF.error("Transport disabled")}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.keys(e).map(t=>{let[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}})}}function hB(e){return void 0===e.type}function hW(e){return"transaction"===e.type}var hH=es("bD5RL");let hV="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function hq(e,t){let n=hG(e,t),r={type:t&&t.name,value:function(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function hY(e,t){return{exception:{values:[hq(e,t)]}}}function hG(e,t){let n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(hK.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(e){}return[]}let hK=/Minified React error #\d+;/i;function hQ(e,t,n,r,i){let o;if(iS(t)&&t.error)return hY(e,t.error);if(ik(t)||i_(t,"DOMException")){if("stack"in t)o=hY(e,t);else{let i=t.name||(ik(t)?"DOMError":"DOMException"),a=t.message?`${i}: ${t.message}`:i;i4(o=hX(e,a,n,r),a)}return"code"in t&&(o.tags={...o.tags,"DOMException.code":`${t.code}`}),o}return ix(t)?hY(e,t):(iR(t)||iO(t)?i6(o=function(e,t,n,r){let i=oX(),o=i&&i.getOptions().normalizeDepth,a={exception:{values:[{type:iO(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=function(e,t=40){let n=Object.keys(iX(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return iH(n[0],t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(", ");if(!(r.length>t)){if(e===n.length)return r;return iH(r,t)}}return""}(e),r=t?"promise rejection":"exception";if(iS(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if(iO(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:{__serialized__:function e(t,n=3,r=102400){let i=oH(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i}(t,o)}};if(n){let t=hG(e,n);t.length&&(a.exception.values[0].stacktrace={frames:t})}return a}(e,t,n,i),{synthetic:!0}):(i4(o=hX(e,t,n,r),`${t}`,void 0),i6(o,{synthetic:!0})),o)}function hX(e,t,n,r){let i={};if(r&&n){let r=hG(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if(iT(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}let hJ=0;function hZ(e,t={},n){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)return t;if(iQ(e))return e}catch(t){return e}let r=function(){let r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);let i=r.map(e=>hZ(e,t));return e.apply(this,i)}catch(e){throw hJ++,setTimeout(()=>{hJ--}),!function(...e){let t=oD();if(2===e.length){let[n,r]=e;return n?t.withScope(()=>(t.getStackTop().scope=n,r(n))):t.withScope(r)}t.withScope(e[0])}(n=>{n.addEventProcessor(e=>(t.mechanism&&(i4(e,void 0,void 0),i6(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),oG(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}iK(r,e),iG(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}class h0 extends hU{constructor(e){!function(e,t,n=[t],r="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:oI})),version:oI}),e._metadata=i}(e,"browser",["browser"],iv.SENTRY_SDK_SOURCE||(0,hH.getSDKSource)()),super(e),e.sendClientReports&&iv.document&&iv.document.addEventListener("visibilitychange",()=>{"hidden"===iv.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return function(e,t,n,r){let i=hQ(e,t,n&&n.syntheticException||void 0,r);return i6(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),oe(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){let o=hX(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),oe(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){hV&&iF.warn("SDK not enabled, will not capture user feedback.");return}let t=function(e,{metadata:t,tunnel:n,dsn:r}){return hP({event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:hT(r)}},[[{type:"user_report"},e]])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){var e;let t=this._clearOutcomes();if(0===t.length){hV&&iF.log("No outcomes to send");return}if(!this._dsn){hV&&iF.log("No dsn provided, will not send outcomes");return}hV&&iF.log("Sending outcomes:",t);let n=hP((e=this._options.tunnel&&hT(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:iz(),discarded_events:t}]]);this._sendEnvelope(n)}}function h1(e){f6("dom",e),f5("dom",h2)}function h2(){if(!iv.document)return;let e=f8.bind(null,"dom"),t=h3(e,!0);iv.document.addEventListener("click",t,!1),iv.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=iv[t]&&iv[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(iY(n,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){let r=h3(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch(e){}return t.call(this,n,r,i)}}),iY(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function h3(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=function(e){try{return e.target}catch(e){return null}}(n);if("keypress"===n.type&&(!r||!r.tagName||"INPUT"!==r.tagName&&"TEXTAREA"!==r.tagName&&!r.isContentEditable))return;iG(n,"_sentryCaptured",!0),r&&!r._sentryId&&iG(r,"_sentryId",i1());let i="keypress"===n.type?"input":n.type;!function(e){if(e.type!==d)return!1;try{if(!e.target||e.target._sentryId!==f)return!1}catch(e){}return!0}(n)&&(e({event:n,name:i,global:t}),d=n.type,f=r?r._sentryId:void 0),clearTimeout(c),c=iv.setTimeout(()=>{f=void 0,d=void 0},1e3)}}function h4(){"console"in iv&&iD.forEach(function(e){e in iv.console&&iY(iv.console,e,function(t){return iN[e]=t,function(...t){f8("console",{args:t,level:e});let n=iN[e];n&&n.apply(iv.console,t)}})})}let h6=["fatal","error","warning","log","info","debug"],h5="Breadcrumbs",h8=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:h5,setupOnce(){},setup(e){var n;t.console&&function(e){let t="console";f6(t,e),f5(t,h4)}(function(t){var n;if(oX()!==e)return;let r={category:"console",data:{arguments:t.args,logger:"console"},level:"warn"===(n=t.level)?"warning":h6.includes(n)?n:"log",message:iV(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message=`Assertion failed: ${iV(t.args.slice(1)," ")||"console.assert"}`,r.data.arguments=t.args.slice(1)}oQ(r,{input:t.args,level:t.level})}),t.dom&&h1((n=t.dom,function(t){let r,i;if(oX()!==e)return;let o="object"==typeof n?n.serializeAttribute:void 0,a="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;a&&a>1024&&(hV&&iF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof o&&(o=[o]);try{let e=t.event,n=e&&e.target?e.target:e;r=iB(n,{keyAttrs:o,maxStringLength:a}),i=iW(n)}catch(e){r="<unknown>"}if(0===r.length)return;let s={category:`ui.${t.name}`,message:r};i&&(s.data={"ui.component_name":i}),oQ(s,{event:t.event,name:t.name,global:t.global})})),t.xhr&&hc(function(t){if(oX()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[hu];if(!n||!r||!i)return;let{method:o,url:a,status_code:s,body:l}=i;oQ({category:"xhr",data:{method:o,url:a,status_code:s},type:"http"},{xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r})}),t.fetch&&ho(function(t){if(oX()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method)){if(t.error)oQ({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r});else{let e=t.response;oQ({category:"fetch",data:{...t.fetchData,status_code:e&&e.status},type:"http"},{input:t.args,response:e,startTimestamp:n,endTimestamp:r})}}}),t.history&&pR(function(t){if(oX()!==e)return;let n=t.from,r=t.to,i=pA(iv.location.href),o=n?pA(n):void 0,a=pA(r);o&&o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),oQ({category:"navigation",data:{from:n,to:r}})}),t.sentry&&e.on&&e.on("beforeSendEvent",function(t){oX()===e&&oQ({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:i3(t)},{event:t})})}}};hx(h5,h8);let h9="Dedupe",h7=()=>{let e;return{name:h9,setupOnce(){},processEvent(t){if(t.type)return t;try{var n;if((n=e)&&(function(e,t){let n=e.message,r=t.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&mt(e,t)&&me(e,t))}(t,n)||function(e,t){let n=mn(t),r=mn(e);return!!(n&&r&&n.type===r.type&&n.value===r.value&&mt(e,t)&&me(e,t))}(t,n)))return hV&&iF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function me(e,t){let n=mr(e),r=mr(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function mt(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function mn(e){return e.exception&&e.exception.values&&e.exception.values[0]}function mr(e){let t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){}}hx(h9,h7);let mi="GlobalHandlers",mo=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:mi,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(f7(t=>{let{stackParser:n,attachStacktrace:r}=ml();if(oX()!==e||hJ>0)return;let{msg:i,url:o,line:a,column:s,error:l}=t,u=void 0===l&&iE(i)?function(e,t,n,r){let i=iS(e)?e.message:e,o="Error",a=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return a&&(o=a[1],i=a[2]),ma({exception:{values:[{type:o,value:i}]}},t,n,r)}(i,o,a,s):ma(hQ(n,l||i,void 0,r,!1),o,a,s);u.level="error",oK(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}),ms("onerror")),t.onunhandledrejection&&(pn(t=>{let{stackParser:n,attachStacktrace:r}=ml();if(oX()!==e||hJ>0)return;let i=function(e){if(iC(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),o=iC(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:hQ(n,i,void 0,r,!0);o.level="error",oK(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}),ms("onunhandledrejection"))}}};function ma(e,t,n,r){let i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,d=iE(t)&&t.length>0?t:function(){try{return iv.document.location.href}catch(e){return""}}();return 0===l.length&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:c}),e}function ms(e){hV&&iF.log(`Global Handler attached: ${e}`)}function ml(){let e=oX();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}hx(mi,mo);let mu="HttpContext",mc=()=>({name:mu,setupOnce(){},preprocessEvent(e){if(!iv.navigator&&!iv.location&&!iv.document)return;let t=e.request&&e.request.url||iv.location&&iv.location.href,{referrer:n}=iv.document||{},{userAgent:r}=iv.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};e.request=o}});function md(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,is_exception_group:!0,exception_id:t}}function mf(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}hx(mu,mc);let mp="LinkedErrors",mh=(e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:mp,setupOnce(){},preprocessEvent(e,r,i){let o=i.getOptions();!function(e,t,n=250,r,i,o,a){if(!o.exception||!o.exception.values||!a||!ij(a.originalException,Error))return;let s=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;s&&(o.exception.values=(function e(t,n,r,i,o,a,s,l){if(a.length>=r+1)return a;let u=[...a];if(ij(i[o],Error)){md(s,l);let a=t(n,i[o]),c=u.length;mf(a,o,c,l),u=e(t,n,r,i[o],o,[a,...u],a,c)}return Array.isArray(i.errors)&&i.errors.forEach((i,a)=>{if(ij(i,Error)){md(s,l);let c=t(n,i),d=u.length;mf(c,`errors[${a}]`,d,l),u=e(t,n,r,i,o,[c,...u],c,d)}}),u})(e,t,i,a.originalException,r,o.exception.values,s,0).map(e=>(e.value&&(e.value=iH(e.value,n)),e)))}(hq,o.stackParser,o.maxValueLength,n,t,e,r)}}};hx(mp,mh);let mm=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],mg="TryCatch",my=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:mg,setupOnce(){t.setTimeout&&iY(iv,"setTimeout",mv),t.setInterval&&iY(iv,"setInterval",mv),t.requestAnimationFrame&&iY(iv,"requestAnimationFrame",mb),t.XMLHttpRequest&&"XMLHttpRequest"in iv&&iY(XMLHttpRequest.prototype,"send",mw);let e=t.eventTarget;e&&(Array.isArray(e)?e:mm).forEach(mx)}}};function mv(e){return function(...t){let n=t[0];return t[0]=hZ(n,{mechanism:{data:{function:oW(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function mb(e){return function(t){return e.apply(this,[hZ(t,{mechanism:{data:{function:"requestAnimationFrame",handler:oW(e)},handled:!1,type:"instrument"}})])}}function mw(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&iY(n,e,function(t){let n={mechanism:{data:{function:e,handler:oW(t)},handled:!1,type:"instrument"}},r=iQ(t);return r&&(n.mechanism.data.handler=oW(r)),hZ(t,n)})}),e.apply(this,t)}}function mx(e){let t=iv[e]&&iv[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(iY(t,"addEventListener",function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=hZ(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:oW(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,hZ(r,{mechanism:{data:{function:"addEventListener",handler:oW(r),target:e},handled:!1,type:"instrument"}}),i])}}),iY(t,"removeEventListener",function(e){return function(t,n,r){try{let i=n&&n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,n,r)}}))}function m_(e,t,n,r){let i={filename:e,function:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}hx(mg,my);let mS=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,mk=/\((\S*)(?::(\d+))(?::(\d+))\)/,mE=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,mT=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,mC=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,mR=oU(...[[30,e=>{let t=mS.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){let e=mk.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}let[e,n]=mO(t[1]||"?",t[2]);return m_(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{let t=mE.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=mT.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=mO(n,e),m_(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,e=>{let t=mC.exec(e);return t?m_(t[2],t[1]||"?",+t[3],t[4]?+t[4]:void 0):void 0}]]),mO=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};function mI(e,t,n=Date.now()){return(e[t]||e.all||0)>n}function mA(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},o=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,n]=e.split(":",2),o=parseInt(t,10),a=(isNaN(o)?60:o)*1e3;if(n)for(let e of n.split(";"))i[e]=r+a;else i.all=r+a}else a?i.all=r+function(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(a,r):429===t&&(i.all=r+6e4);return i}function mj(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return ot(new hz("Not adding Promise because buffer limit was reached."));let i=r();return -1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new on((n,r)=>{let i=t.length;if(!i)return n(!0);let o=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{oe(e).then(()=>{--i||(clearTimeout(o),n(!0))},r)})})}}}(e.bufferSize||30)){let r={};function i(i){let o=[];if(hM(i,(t,n)=>{let i=hN[n];if(mI(r,i)){let r=mP(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(t)}),0===o.length)return oe();let a=hP(i[0],o),s=t=>{hM(a,(n,r)=>{let i=mP(n,r);e.recordDroppedEvent(t,hN[r],i)})};return n.add(()=>t({body:function(e,t){let[n,r]=e,i=JSON.stringify(n);function o(e){"string"==typeof i?i="string"==typeof e?i+e:[hD(i,t),e]:i.push("string"==typeof e?hD(e,t):e)}for(let e of r){let[t,n]=e;if(o(` ${JSON.stringify(t)} `),"string"==typeof n||n instanceof Uint8Array)o(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(oH(n))}o(e)}}return"string"==typeof i?i:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(i)}(a,e.textEncoder)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&i7&&iF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=mA(r,e),e),e=>{throw s("network_error"),e})).then(e=>e,e=>{if(e instanceof hz)return i7&&iF.error("Skipped sending event because buffer is full."),s("queue_overflow"),oe();throw e})}return i.__sentry__baseTransport__=!0,{send:i,flush:e=>n.drain(e)}}function mP(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function mM(e,t=function(){if(S)return S;if(hi(iv.fetch))return S=iv.fetch.bind(iv);let e=iv.document,t=iv.fetch;if(e&&"function"==typeof e.createElement)try{let n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);let r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){hV&&iF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return S=t.bind(iv)}()){let n=0,r=0;return mj(e,function(i){let o=i.body.length;n+=o,r++;let a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,a).then(e=>(n-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return S=void 0,n-=o,r--,ot(e)}})}function mD(e){return mj(e,function(t){return new on((n,r)=>{let i=new XMLHttpRequest;for(let t in i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&i.setRequestHeader(t,e.headers[t]);i.send(t.body)})})}let mN=[hA(),hk(),my(),h8(),mo(),mh(),h7(),mc()];function mL(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):("call"===i||"optionalCall"===i)&&(n=o((...e)=>n.call(t,...e)),t=void 0)}return n}var mF=es("9e1Uw");function mz(){return"undefined"!=typeof window&&(!(0,mF.isNodeEnv)()||void 0!==iv.process&&"renderer"===iv.process.type)}function m$(e){return"/"===e[e.length-1]?e.slice(0,-1):e}let mU="sentryReplaySession",mB="Unable to send Replay";function mW(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):("call"===i||"optionalCall"===i)&&(n=o((...e)=>n.call(t,...e)),t=void 0)}return n}function mH(e){let t=mW([e,"optionalAccess",e=>e.host]);return mW([t,"optionalAccess",e=>e.shadowRoot])===e}function mV(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function mq(e){try{var t;let n=e.rules||e.cssRules;return n?((t=Array.from(n,mY).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}}function mY(e){let t;if("styleSheet"in e)try{t=mq(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e&&e.selectorText.includes(":"))return e.cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2");return t||e.cssText}(j=ee||(ee={}))[j.Document=0]="Document",j[j.DocumentType=1]="DocumentType",j[j.Element=2]="Element",j[j.Text=3]="Text",j[j.CDATA=4]="CDATA",j[j.Comment=5]="Comment";class mG{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){var t;return e?(()=>-1,null!=(t=mW([this,"access",e=>e.getMeta,"call",t=>t(e),"optionalAccess",e=>e.id]))?t:-1):-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function mK({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function mQ({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||"";return e?(r&&(i=r(i,t)),"*".repeat(i.length)):i}function mX(e){return e.toLowerCase()}function mJ(e){return e.toUpperCase()}let mZ="__rrweb_original__";function m0(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?mX(t):null}function m1(e,t,n){return"INPUT"===t&&("radio"===n||"checkbox"===n)?e.getAttribute("value")||"":e.value}let m2=1,m3=RegExp("[^a-z0-9-_:]");function m4(){return m2++}let m6=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,m5=/^(?:[a-z+]+:)?\/\//i,m8=/^www\..*/i,m9=/^(data:)([^,]*),(.*)/i;function m7(e,t){return(e||"").replace(m6,(e,n,r,i,o,a)=>{let s=r||o||a,l=n||i||"";if(!s)return e;if(m5.test(s)||m8.test(s)||m9.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+s}${l})`;let u=t.split("/"),c=s.split("/");for(let e of(u.pop(),c))"."!==e&&(".."===e?u.pop():u.push(e));return`url(${l}${u.join("/")}${l})`})}let ge=/^[^ \t\n\r\u000c]+/,gt=/^[, \t\n\r\u000c]+/;function gn(e,t){if(!t||""===t.trim())return t;let n=e.createElement("a");return n.href=t,n.href}function gr(){let e=document.createElement("a");return e.href="",e.href}function gi(e,t,n,r,i,o){return r?"src"!==n&&("href"!==n||"use"===t&&"#"===r[0])&&("xlink:href"!==n||"#"===r[0])&&("background"!==n||"table"!==t&&"td"!==t&&"th"!==t)?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;let i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}let i=[];for(;r(gt),!(n>=t.length);){let o=r(ge);if(","===o.slice(-1))o=gn(e,o.substring(0,o.length-1)),i.push(o);else{let r="";o=gn(e,o);let a=!1;for(;;){let e=t.charAt(n);if(""===e){i.push((o+r).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){n+=1,i.push((o+r).trim());break}"("===e&&(a=!0)}r+=e,n+=1}}}return i.join(", ")}(e,r):"style"===n?m7(r,gr()):"object"===t&&"data"===n?gn(e,r):"function"==typeof o?o(n,r,i):r:gn(e,r):r}function go(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function ga(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:ga(e.parentNode,t,n,r+1)}function gs(e,t){return n=>{if(null===n)return!1;try{if(e){if("string"==typeof e){if(n.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}(n,e))return!0}if(t&&n.matches(t))return!0;return!1}catch(e){return!1}}}function gl(e,t,n,r,i,o){try{let a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("INPUT"===a.tagName){let e=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,l=-1;if(o){if((l=ga(a,gs(r,i)))<0)return!0;s=ga(a,gs(t,n),l>=0?l:1/0)}else{if((s=ga(a,gs(t,n)))<0)return!1;l=ga(a,gs(r,i),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!o}catch(e){}return!!o}function gu(e){return null==e?"":e.toLowerCase()}function gc(e,t){let n;let{doc:r,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:m=!1,inlineStylesheet:g=!0,maskInputOptions:y={},maskAttributeFn:v,maskTextFn:b,maskInputFn:w,slimDOMOptions:x,dataURLOptions:_={},inlineImages:S=!1,recordCanvas:k=!1,onSerialize:E,onIframeLoad:T,iframeLoadTimeout:C=5e3,onStylesheetLoad:R,stylesheetLoadTimeout:O=5e3,keepIframeSrcFn:I=()=>!1,newlyAddedElement:A=!1}=t,{preserveWhiteSpace:j=!0}=t,P=function(e,t){let{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskAttributeFn:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:m,maskInputOptions:g={},maskTextFn:y,maskInputFn:v,dataURLOptions:b={},inlineImages:w,recordCanvas:x,keepIframeSrcFn:_,newlyAddedElement:S=!1}=t,k=function(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:ee.Document,childNodes:[],compatMode:e.compatMode};return{type:ee.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:ee.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:k};case e.ELEMENT_NODE:return function(e,t){let n;let{doc:r,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:s,maskInputOptions:l={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:d={},inlineImages:f,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:y=!1,rootId:v,maskAllText:b,maskTextClass:w,unmaskTextClass:x,maskTextSelector:_,unmaskTextSelector:S}=t,k=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}(e,i,o,a),E=function(e){if(e instanceof HTMLFormElement)return"form";let t=mX(e.tagName);return m3.test(t)?"div":t}(e),T={},C=e.attributes.length;for(let t=0;t<C;t++){let n=e.attributes[t];n.name&&!go(E,n.name,n.value)&&(T[n.name]=gi(r,E,mX(n.name),n.value,e,u))}if("link"===E&&s){let t=Array.from(r.styleSheets).find(t=>t.href===e.href),n=null;t&&(n=mq(t)),n&&(delete T.rel,delete T.href,T._cssText=m7(n,t.href))}if("style"===E&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=mq(e.sheet);t&&(T._cssText=m7(t,gr()))}if("input"===E||"textarea"===E||"select"===E||"option"===E){let t=m0(e),n=m1(e,mJ(E),t),r=e.checked;if("submit"!==t&&"button"!==t&&n){let r=gl(e,w,_,x,S,mK({type:t,tagName:mJ(E),maskInputOptions:l}));T.value=mQ({isMasked:r,element:e,value:n,maskInputFn:c})}r&&(T.checked=r)}if("option"===E&&(e.selected&&!l.select?T.selected=!0:delete T.selected),"canvas"===E&&m){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){let i=t.getImageData;if(new Uint32Array((mZ in i?i[mZ]:i).call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>0!==e))return!1}return!0}(e)&&(T.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){let t=e.toDataURL(d.type,d.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(d.type,d.quality)&&(T.rr_dataURL=t)}}if("img"===E&&f){p||(h=(p=r.createElement("canvas")).getContext("2d"));let t=e.crossOrigin;e.crossOrigin="anonymous";let n=()=>{e.removeEventListener("load",n);try{p.width=e.naturalWidth,p.height=e.naturalHeight,h.drawImage(e,0,0),T.rr_dataURL=p.toDataURL(d.type,d.quality)}catch(t){console.warn(`Cannot inline img src=${e.currentSrc}! Error: ${t}`)}t?T.crossOrigin=t:e.removeAttribute("crossorigin")};e.complete&&0!==e.naturalWidth?n():e.addEventListener("load",n)}if(("audio"===E||"video"===E)&&(T.rr_mediaState=e.paused?"paused":"played",T.rr_mediaCurrentTime=e.currentTime),!y&&(e.scrollLeft&&(T.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(T.rr_scrollTop=e.scrollTop)),k){let{width:t,height:n}=e.getBoundingClientRect();T={class:T.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==E||g(T.src)||(e.contentDocument||(T.rr_src=T.src),delete T.src);try{customElements.get(E)&&(n=!0)}catch(e){}return{type:ee.Element,tagName:E,attributes:T,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:k,rootId:v,isCustom:n}}(e,{doc:n,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:m,maskAttributeFn:l,maskInputOptions:g,maskInputFn:v,dataURLOptions:b,inlineImages:w,recordCanvas:x,keepIframeSrcFn:_,newlyAddedElement:S,rootId:k,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f});case e.TEXT_NODE:return function(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:o,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:l,maskInputFn:u,rootId:c}=t,d=e.parentNode&&e.parentNode.tagName,f=e.textContent,p="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(p&&f){try{e.nextSibling||e.previousSibling||mW([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(f=mq(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}f=m7(f,gr())}h&&(f="SCRIPT_PLACEHOLDER");let g=gl(e,r,o,i,a,n);return p||h||m||!f||!g||(f=s?s(f):f.replace(/[\S]/g,"*")),m&&f&&(l.textarea||g)&&(f=u?u(f,e.parentNode):f.replace(/[\S]/g,"*")),"OPTION"===d&&f&&(f=mQ({isMasked:gl(e,r,o,i,a,mK({type:null,tagName:d,maskInputOptions:l})),element:e,value:f,maskInputFn:u})),{type:ee.Text,textContent:f||"",isStyle:p,rootId:c}}(e,{maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:y,maskInputOptions:g,maskInputFn:v,rootId:k});case e.CDATA_SECTION_NODE:return{type:ee.CDATA,textContent:"",rootId:k};case e.COMMENT_NODE:return{type:ee.Comment,textContent:e.textContent||"",rootId:k};default:return!1}}(e,{doc:r,mirror:i,blockClass:o,blockSelector:a,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:w,dataURLOptions:_,inlineImages:S,recordCanvas:k,keepIframeSrcFn:I,newlyAddedElement:A});if(!P)return console.warn(e,"not serialized"),null;n=i.hasNode(e)?i.getId(e):!function(e,t){if(t.comment&&e.type===ee.Comment)return!0;if(e.type===ee.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js"))||t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(gu(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===gu(e.attributes.name)||"icon"===gu(e.attributes.rel)||"apple-touch-icon"===gu(e.attributes.rel)||"shortcut icon"===gu(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&gu(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(gu(e.attributes.property).match(/^(og|twitter|fb):/)||gu(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===gu(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===gu(e.attributes.name)||"googlebot"===gu(e.attributes.name)||"bingbot"===gu(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===gu(e.attributes.name)||"generator"===gu(e.attributes.name)||"framework"===gu(e.attributes.name)||"publisher"===gu(e.attributes.name)||"progid"===gu(e.attributes.name)||gu(e.attributes.property).match(/^article:/)||gu(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===gu(e.attributes.name)||"yandex-verification"===gu(e.attributes.name)||"csrf-token"===gu(e.attributes.name)||"p:domain_verify"===gu(e.attributes.name)||"verify-v1"===gu(e.attributes.name)||"verification"===gu(e.attributes.name)||"shopify-checkout-api-token"===gu(e.attributes.name)))return!0}}return!1}(P,x)&&(j||P.type!==ee.Text||P.isStyle||P.textContent.replace(/^\s+|\s+$/gm,"").length)?m4():-2;let M=Object.assign(P,{id:n});if(i.add(e,M),-2===n)return null;E&&E(e);let D=!m;if(M.type===ee.Element){D=D&&!M.needBlock,delete M.needBlock;let t=e.shadowRoot;t&&mV(t)&&(M.isShadowHost=!0)}if((M.type===ee.Document||M.type===ee.Element)&&D){x.headWhitespace&&M.type===ee.Element&&"head"===M.tagName&&(j=!1);let t={doc:r,mirror:i,blockClass:o,blockSelector:a,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:m,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:w,slimDOMOptions:x,dataURLOptions:_,inlineImages:S,recordCanvas:k,preserveWhiteSpace:j,onSerialize:E,onIframeLoad:T,iframeLoadTimeout:C,onStylesheetLoad:R,stylesheetLoadTimeout:O,keepIframeSrcFn:I};for(let n of Array.from(e.childNodes)){let e=gc(n,t);e&&M.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let n of Array.from(e.shadowRoot.childNodes)){let r=gc(n,t);r&&(mV(e.shadowRoot)&&(r.isShadow=!0),M.childNodes.push(r))}}return e.parentNode&&mH(e.parentNode)&&mV(e.parentNode)&&(M.isShadow=!0),M.type===ee.Element&&"iframe"===M.tagName&&function(e,t,n){let r;let i=e.contentWindow;if(!i)return;let o=!1;try{r=i.document.readyState}catch(e){return}if("complete"!==r){let r=setTimeout(()=>{o||(t(),o=!0)},n);e.addEventListener("load",()=>{clearTimeout(r),o=!0,t()});return}let a="about:blank";if(i.location.href!==a||e.src===a||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=e.contentDocument;if(t&&T){let n=gc(t,{doc:t,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:w,slimDOMOptions:x,dataURLOptions:_,inlineImages:S,recordCanvas:k,preserveWhiteSpace:j,onSerialize:E,onIframeLoad:T,iframeLoadTimeout:C,onStylesheetLoad:R,stylesheetLoadTimeout:O,keepIframeSrcFn:I});n&&T(e,n)}},C),M.type===ee.Element&&"link"===M.tagName&&"stylesheet"===M.attributes.rel&&function(e,t,n){let r,i=!1;try{r=e.sheet}catch(e){return}if(r)return;let o=setTimeout(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{clearTimeout(o),i=!0,t()})}(e,()=>{if(R){let t=gc(e,{doc:r,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:v,maskTextFn:b,maskInputFn:w,slimDOMOptions:x,dataURLOptions:_,inlineImages:S,recordCanvas:k,preserveWhiteSpace:j,onSerialize:E,onIframeLoad:T,iframeLoadTimeout:C,onStylesheetLoad:R,stylesheetLoadTimeout:O,keepIframeSrcFn:I});t&&R(e,t)}},O),M}function gd(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):("call"===i||"optionalCall"===i)&&(n=o((...e)=>n.call(t,...e)),t=void 0)}return n}function gf(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let gp="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",gh={map:{},getId:()=>(console.error(gp),-1),getNode:()=>(console.error(gp),null),removeNodeFromMap(){console.error(gp)},has:()=>(console.error(gp),!1),reset(){console.error(gp)}};function gm(e,t,n={}){let r=null,i=0;return function(...o){let a=Date.now();i||!1!==n.leading||(i=a);let s=t-(a-i),l=this;s<=0||s>t?(r&&(clearTimeout(r),r=null),i=a,e.apply(l,o)):r||!1===n.trailing||(r=setTimeout(()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(l,o)},s))}}function gg(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch(e){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(gh=new Proxy(gh,{get:(e,t,n)=>("map"===t&&console.error(gp),Reflect.get(e,t,n))}));let gy=Date.now;function gv(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:gd([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||gd([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||gd([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:gd([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||gd([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||gd([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function gb(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function gw(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function gx(e,t,n,r,i){if(!e)return!1;let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!o)return!1;let a=gs(t,n);if(!i){let e=r&&o.matches(r);return a(o)&&!e}let s=ga(o,a),l=-1;return!(s<0)&&(r&&(l=ga(o,gs(null,r))),s>-1&&l<0||s<l)}function g_(e,t){return -2===t.getId(e)}function gS(e){return!!e.changedTouches}function gk(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function gE(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function gT(e){return!!gd([e,"optionalAccess",e=>e.shadowRoot])}/[1-9][0-9]{12}/.test(Date.now().toString())||(gy=()=>new Date().getTime());class gC{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){var t;return t=this.styleIDMap.get(e),null!=t?t:-1}has(e){return this.styleIDMap.has(e)}add(e,t){let n;return this.has(e)?this.getId(e):(n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function gR(e){let t=null;return gd([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function gO(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let n=function(e){let t,n=e;for(;t=gR(n);)n=t;return n}(e);return t.contains(n)}(e))}var gI=((P=gI||{})[P.DomContentLoaded=0]="DomContentLoaded",P[P.Load=1]="Load",P[P.FullSnapshot=2]="FullSnapshot",P[P.IncrementalSnapshot=3]="IncrementalSnapshot",P[P.Meta=4]="Meta",P[P.Custom=5]="Custom",P[P.Plugin=6]="Plugin",P),gA=((M=gA||{})[M.Mutation=0]="Mutation",M[M.MouseMove=1]="MouseMove",M[M.MouseInteraction=2]="MouseInteraction",M[M.Scroll=3]="Scroll",M[M.ViewportResize=4]="ViewportResize",M[M.Input=5]="Input",M[M.TouchMove=6]="TouchMove",M[M.MediaInteraction=7]="MediaInteraction",M[M.StyleSheetRule=8]="StyleSheetRule",M[M.CanvasMutation=9]="CanvasMutation",M[M.Font=10]="Font",M[M.Log=11]="Log",M[M.Drag=12]="Drag",M[M.StyleDeclaration=13]="StyleDeclaration",M[M.Selection=14]="Selection",M[M.AdoptedStyleSheet=15]="AdoptedStyleSheet",M[M.CustomElement=16]="CustomElement",M),gj=((D=gj||{})[D.MouseUp=0]="MouseUp",D[D.MouseDown=1]="MouseDown",D[D.Click=2]="Click",D[D.ContextMenu=3]="ContextMenu",D[D.DblClick=4]="DblClick",D[D.Focus=5]="Focus",D[D.Blur=6]="Blur",D[D.TouchStart=7]="TouchStart",D[D.TouchMove_Departed=8]="TouchMove_Departed",D[D.TouchEnd=9]="TouchEnd",D[D.TouchCancel=10]="TouchCancel",D),gP=((N=gP||{})[N.Mouse=0]="Mouse",N[N.Pen=1]="Pen",N[N.Touch=2]="Touch",N);class gM{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=function(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):("call"===i||"optionalCall"===i)&&(n=o((...e)=>n.call(t,...e)),t=void 0)}return n}([t,"optionalAccess",e=>e.next])||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){let n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let gD=(e,t)=>`${e}@${t}`;class gN{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,n=new gM,r=e=>{let t=e,n=-2;for(;-2===n;)n=(t=t&&t.nextSibling)&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!gO(i))return;let o=mH(i.parentNode)?this.mirror.getId(gR(i)):this.mirror.getId(i.parentNode),a=r(i);if(-1===o||-1===a)return n.addNode(i);let s=gc(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{gk(e,this.mirror)&&this.iframeManager.addIframe(e),gE(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),gT(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});s&&(e.push({parentId:o,nextId:a,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!gF(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&i(e);for(let e of this.addedSet)gz(this.droppedSet,e)||gF(this.removes,e,this.mirror)?gz(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let o=null;for(;n.length;){let e=null;if(o){let t=this.mirror.getId(o.value.parentNode),n=r(o.value);-1!==t&&-1!==n&&(e=o)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{let t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}o=e.previous,n.removeNode(e.value),i(e.value)}let a={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(a.texts.length||a.attributes.length||a.removes.length||a.adds.length)&&(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=e=>{let t;if(!g_(e.target,this.mirror)){try{t=document.implementation.createHTMLDocument()}catch(e){t=this.doc}switch(e.type){case"characterData":{let t=e.target.textContent;gx(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:gl(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let n=e.target,r=e.attributeName,i=e.target.getAttribute(r);if("value"===r){let t=m0(n),r=n.tagName;i=m1(n,r,t);let o=mK({maskInputOptions:this.maskInputOptions,tagName:r,type:t});i=mQ({isMasked:gl(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:n,value:i,maskInputFn:this.maskInputFn})}if(gx(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||i===e.oldValue)return;let o=this.attributes.find(t=>t.node===e.target);if("IFRAME"===n.tagName&&"src"===r&&!this.keepIframeSrcFn(i)){if(n.contentDocument)return;r="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o)),"type"===r&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!go(n.tagName,r)&&(o.attributes[r]=gi(this.doc,mX(n.tagName),mX(r),i,n,this.maskAttributeFn),"style"===r)){let r=t.createElement("span");for(let t of(e.oldValue&&r.setAttribute("style",e.oldValue),Array.from(n.style))){let e=n.style.getPropertyValue(t),i=n.style.getPropertyPriority(t);e!==r.style.getPropertyValue(t)||i!==r.style.getPropertyPriority(t)?""===i?o.styleDiff[t]=e:o.styleDiff[t]=[e,i]:o._unchangedStyles[t]=[e,i]}for(let e of Array.from(r.style))""===n.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(gx(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let n=this.mirror.getId(t),r=mH(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);gx(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||g_(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(gL(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||function e(t,n){if(mH(t))return!1;let r=n.getId(t);return!n.has(r)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||e(t.parentNode,n))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[gD(n,r)]?gL(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!(mH(e.target)&&mV(e.target))||void 0})),this.mapRemoves.push(t))})}}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(g_(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[gD(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!gx(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes.forEach(e=>this.genAdds(e)),gT(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function gL(e,t){e.delete(t),t.childNodes.forEach(t=>gL(e,t))}function gF(e,t,n){return 0!==e.length&&function e(t,n,r){let{parentNode:i}=n;if(!i)return!1;let o=r.getId(i);return!!t.some(e=>e.id===o)||e(t,i,r)}(e,t,n)}function gz(e,t){return 0!==e.size&&function e(t,n){let{parentNode:r}=n;return!!r&&(!!t.has(r)||e(t,r))}(e,t)}let g$=e=>g?(...t)=>{try{return e(...t)}catch(e){if(g&&!0===g(e))return()=>{};throw e}}:e;function gU(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):("call"===i||"optionalCall"===i)&&(n=o((...e)=>n.call(t,...e)),t=void 0)}return n}let gB=[];function gW(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function gH(e,t){let n=new gN;gB.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,i=gU([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);i&&window[i]&&(r=window[i]);let o=new r(g$(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function gV({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){return gf("scroll",g$(gm(g$(a=>{let s=gW(a);if(!s||gx(s,r,i,o,!0))return;let l=n.getId(s);if(s===t&&t.defaultView){let n=gv(t.defaultView);e({id:l,x:n.left,y:n.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),t)}let gq=["INPUT","TEXTAREA","SELECT"],gY=new WeakMap;function gG(e){var t;return t=[],gJ("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||gJ("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||gJ("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||gJ("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule?t.unshift(Array.from(e.parentRule.cssRules).indexOf(e)):e.parentStyleSheet&&t.unshift(Array.from(e.parentStyleSheet.cssRules).indexOf(e)),t}function gK(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function gQ({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);let i="#document"===n.nodeName?gU([n,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):gU([n,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),o=gU([i,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(gU([i,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&o?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return gU([o,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){let n=gU([o,"access",e=>e.set,"optionalAccess",e=>e.call,"call",t=>t(this,e)]);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),g$(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})})):()=>{}}function gX(e,t={}){let n=e.doc.defaultView;if(!n)return()=>{};let r=gH(e,e.doc),i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){let i;if(!1===t.mousemove)return()=>{};let o="number"==typeof t.mousemove?t.mousemove:50,a="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,s=[],l=gm(g$(t=>{let n=Date.now()-i;e(s.map(e=>(e.timeOffset-=n,e)),t),s=[],i=null}),a),u=g$(gm(g$(e=>{let t=gW(e),{clientX:n,clientY:o}=gS(e)?e.changedTouches[0]:e;i||(i=gy()),s.push({x:n,y:o,id:r.getId(t),timeOffset:gy()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?gA.Drag:e instanceof MouseEvent?gA.MouseMove:gA.TouchMove)}),o,{trailing:!1})),c=[gf("mousemove",u,n),gf("touchmove",u,n),gf("drag",u,n)];return g$(()=>{c.forEach(e=>e())})}(e),o=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){if(!1===a.mouseInteraction)return()=>{};let s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[],u=null,c=t=>a=>{let s=gW(a);if(gx(s,r,i,o,!0))return;let l=null,c=t;if("pointerType"in a){switch(a.pointerType){case"mouse":l=gP.Mouse;break;case"touch":l=gP.Touch;break;case"pen":l=gP.Pen}l===gP.Touch?gj[t]===gj.MouseDown?c="TouchStart":gj[t]===gj.MouseUp&&(c="TouchEnd"):gP.Pen}else gS(a)&&(l=gP.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===gP.Touch||c.startsWith("Mouse")&&l===gP.Mouse)&&(l=null)):gj[t]===gj.Click&&(l=u,u=null);let d=gS(a)?a.changedTouches[0]:a;if(!d)return;let f=n.getId(s),{clientX:p,clientY:h}=d;g$(e)({type:gj[c],id:f,x:p,y:h,...null!==l&&{pointerType:l}})};return Object.keys(gj).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(e=>{let n=mX(e),r=c(e);if(window.PointerEvent)switch(gj[e]){case gj.MouseDown:case gj.MouseUp:n=n.replace("mouse","pointer");break;case gj.TouchStart:case gj.TouchEnd:return}l.push(gf(n,r,t))}),g$(()=>{l.forEach(e=>e())})}(e),a=gV(e),s=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return gf("resize",g$(gm(g$(()=>{let t=gb(),i=gw();(n!==t||r!==i)&&(e({width:Number(i),height:Number(t)}),n=t,r=i)}),200)),t)}(e,{win:n}),l=function({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:a,ignoreSelector:s,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let n=gW(e),c=e.isTrusted,g=n&&mJ(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||0>gq.indexOf(g)||gx(n,r,i,o,!0))return;let v=n;if(v.classList.contains(a)||s&&v.matches(s))return;let b=m0(n),w=m1(v,g,b),x=!1,_=mK({maskInputOptions:l,tagName:g,type:b}),S=gl(n,f,h,p,m,_);("radio"===b||"checkbox"===b)&&(x=n.checked),w=mQ({isMasked:S,element:n,value:w,maskInputFn:u}),y(n,d?{text:w,isChecked:x,userTriggered:c}:{text:w,isChecked:x});let k=n.name;"radio"===b&&k&&x&&t.querySelectorAll(`input[type="radio"][name="${k}"]`).forEach(e=>{if(e!==n){let t=mQ({isMasked:S,element:e,value:m1(e,g,b),maskInputFn:u});y(e,d?{text:t,isChecked:!x,userTriggered:!1}:{text:t,isChecked:!x})}})}function y(t,r){let i=gY.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){gY.set(t,r);let i=n.getId(t);g$(e)({...r,id:i})}}let v=("last"===c.input?["change"]:["input","change"]).map(e=>gf(e,g$(g),t)),b=t.defaultView;if(!b)return()=>{v.forEach(e=>e())};let w=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),x=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return w&&w.set&&v.push(...x.map(e=>(function e(t,n,r,i,o=window){let a=o.Object.getOwnPropertyDescriptor(t,n);return o.Object.defineProperty(t,n,i?r:{set(e){setTimeout(()=>{r.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>e(t,n,a||{},!0)})(e[0],e[1],{set(){g$(g)({target:this,isTrusted:!1})}},!1,b))),g$(()=>{v.forEach(e=>e())})}(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:o,doc:a}){let s=g$(a=>gm(g$(o=>{let s=gW(o);if(!s||gx(s,t,n,r,!0))return;let{currentTime:l,volume:u,muted:c,playbackRate:d}=s;e({type:a,id:i.getId(s),currentTime:l,volume:u,muted:c,playbackRate:d})}),o.media||500)),l=[gf("play",s(0),a),gf("pause",s(1),a),gf("seeked",s(2),a),gf("volumechange",s(3),a),gf("ratechange",s(4),a)];return g$(()=>{l.forEach(e=>e())})}(e),c=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){let i,o;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:g$((r,i,o)=>{let[a,s]=o,{id:l,styleId:u}=gK(i,t,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:a,index:s}]}),r.apply(i,o)})});let s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:g$((r,i,o)=>{let[a]=o,{id:s,styleId:l}=gK(i,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:a}]}),r.apply(i,o)})}),r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:g$((r,i,o)=>{let[a]=o,{id:s,styleId:l}=gK(i,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:a}),r.apply(i,o)})})),r.CSSStyleSheet.prototype.replaceSync&&(o=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:g$((r,i,o)=>{let[a]=o,{id:s,styleId:l}=gK(i,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:a}),r.apply(i,o)})}));let l={};gZ("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(gZ("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),gZ("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),gZ("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));let u={};return Object.entries(l).forEach(([r,i])=>{u[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(u[r].insertRule,{apply:g$((r,i,o)=>{let[a,s]=o,{id:l,styleId:u}=gK(i.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:a,index:[...gG(i),s||0]}]}),r.apply(i,o)})}),i.prototype.deleteRule=new Proxy(u[r].deleteRule,{apply:g$((r,i,o)=>{let[a]=o,{id:s,styleId:l}=gK(i.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...gG(i),a]}]}),r.apply(i,o)})})}),g$(()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=s,i&&(r.CSSStyleSheet.prototype.replace=i),o&&(r.CSSStyleSheet.prototype.replaceSync=o),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=u[e].insertRule,t.prototype.deleteRule=u[e].deleteRule})})}(e,{win:n}),d=gQ(e,e.doc),f=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){let o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:g$((i,a,s)=>{let[l,u,c]=s;if(n.has(l))return o.apply(a,[l,u,c]);let{id:d,styleId:f}=gK(gU([a,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(d&&-1!==d||f&&-1!==f)&&e({id:d,styleId:f,set:{property:l,value:u,priority:c},index:gG(a.parentRule)}),i.apply(a,s)})});let a=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:g$((i,o,s)=>{let[l]=s;if(n.has(l))return a.apply(o,[l]);let{id:u,styleId:c}=gK(gU([o,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,r.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,remove:{property:l},index:gG(o.parentRule)}),i.apply(o,s)})}),g$(()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=a})}(e,{win:n}),p=e.collectFonts?function({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=>{};let r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){let r=new o(e,t,n);return i.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let a=gg(t.fonts,"add",function(t){return function(n){return setTimeout(g$(()=>{let t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=o}),r.push(a),g$(()=>{r.forEach(e=>e())})}(e):()=>{},h=function(e){let{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,selectionCb:a}=e,s=!0,l=g$(()=>{let e=t.getSelection();if(!e||s&&gU([e,"optionalAccess",e=>e.isCollapsed]))return;s=e.isCollapsed||!1;let l=[],u=e.rangeCount||0;for(let t=0;t<u;t++){let{startContainer:a,startOffset:s,endContainer:u,endOffset:c}=e.getRangeAt(t);gx(a,r,i,o,!0)||gx(u,r,i,o,!0)||l.push({start:n.getId(a),startOffset:s,end:n.getId(u),endOffset:c})}a({ranges:l})});return l(),gf("selectionchange",l)}(e),m=function({doc:e,customElementCb:t}){let n=e.defaultView;return n&&n.customElements?gg(n.customElements,"define",function(e){return function(n,r,i){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,r,i])}}):()=>{}}(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,n,t.options));return g$(()=>{gB.forEach(e=>e.reset()),r.disconnect(),i(),o(),a(),s(),l(),u(),c(),d(),f(),p(),h(),m(),g.forEach(e=>e())})}function gJ(e){return void 0!==window[e]}function gZ(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class g0{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){let i=n||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e),a=i.get(t);return a||(a=this.generateIdFn(),i.set(t,a),o.set(a,t)),a}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:r.get(t)||-1}getRemoteIds(e,t){let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}function g1(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=o(n)):("call"===i||"optionalCall"===i)&&(n=o((...e)=>n.call(t,...e)),t=void 0)}return n}class g2{constructor(){this.crossOriginIframeMirror=new g0(m4),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class g3{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new g0(m4),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new g0(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),g1([this,"access",e=>e.loadListener,"optionalCall",t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let n=this.transformCrossOriginEvent(t,e.data.event);n&&this.wrappedEmit(n,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case gI.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:gI.IncrementalSnapshot,data:{source:gA.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case gI.Meta:case gI.Load:case gI.DomContentLoaded:break;case gI.Plugin:return t;case gI.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case gI.IncrementalSnapshot:switch(t.data.source){case gA.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case gA.Drag:case gA.TouchMove:case gA.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case gA.ViewportResize:return!1;case gA.MediaInteraction:case gA.MouseInteraction:case gA.Scroll:case gA.CanvasMutation:case gA.Input:return this.replaceIds(t.data,e,["id"]),t;case gA.StyleSheetRule:case gA.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case gA.Font:return t;case gA.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case gA.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),g1([t,"access",e=>e.data,"access",e=>e.styles,"optionalAccess",e=>e.forEach,"call",t=>t(t=>{this.replaceStyleIds(t,e,["styleId"])})]),t}}return!1}replace(e,t,n,r){for(let i of r)(Array.isArray(t[i])||"number"==typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(n,t[i]):t[i]=e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===ee.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class g4{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class g6{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!mV(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e);let n=gH({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(gV({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(gQ({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(gg(e.prototype,"attachShadow",function(e){return function(r){let i=e.call(this,r);return this.shadowRoot&&gO(this)&&n.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class g5{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class g8{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new gC,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let n={id:t,styleIds:[]},r=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:mY(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class g9{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){!function(...e){(function(){if(m)return m;let e=window.document,t=window.requestAnimationFrame;if(e&&"function"==typeof e.createElement)try{let n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);let r=n.contentWindow;r&&r.requestAnimationFrame&&(t=r.requestAnimationFrame),e.head.removeChild(n)}catch(e){}return m=t.bind(window)})()(...e)}(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(e,t){let n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}function g7(e){return e.timestamp=gy(),e}let ye=new mG;function yt(e={}){let t;let{emit:n,checkoutEveryNms:r,checkoutEveryNth:i,blockClass:o="rr-block",blockSelector:a=null,unblockSelector:s=null,ignoreClass:l="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:d="rr-mask",unmaskTextClass:f=null,maskTextSelector:p=null,unmaskTextSelector:h=null,inlineStylesheet:m=!0,maskAllInputs:v,maskInputOptions:b,slimDOMOptions:w,maskAttributeFn:x,maskInputFn:_,maskTextFn:S,packFn:k,sampling:E={},dataURLOptions:T={},mousemoveWait:C,recordCanvas:R=!1,recordCrossOriginIframes:O=!1,recordAfter:I="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:A=!1,collectFonts:j=!1,inlineImages:P=!1,plugins:M,keepIframeSrcFn:D=()=>!1,ignoreCSSAttributes:N=new Set([]),errorHandler:L,onMutation:F,getCanvasManager:z}=e;g=L;let $=!O||window.parent===window,U=!1;if(!$)try{window.parent.document&&(U=!1)}catch(e){U=!0}if($&&!n)throw Error("emit function is required");void 0!==C&&void 0===E.mousemove&&(E.mousemove=C),ye.reset();let B=!0===v?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==b?b:{},W=!0===w||"all"===w?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===w,headMetaDescKeywords:"all"===w}:w||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode)return!1})}();let H=0,V=e=>{for(let t of M||[])t.eventProcessor&&(e=t.eventProcessor(e));return k&&!U&&(e=k(e)),e},q=(e,o)=>{if(mL([gB,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])&&e.type!==gI.FullSnapshot&&!(e.type===gI.IncrementalSnapshot&&e.data.source===gA.Mutation)&&gB.forEach(e=>e.unfreeze()),$)mL([n,"optionalCall",t=>t(V(e),o)]);else if(U){let t={type:"rrweb",event:V(e),origin:window.location.origin,isCheckout:o};window.parent.postMessage(t,"*")}if(e.type===gI.FullSnapshot)t=e,H=0;else if(e.type===gI.IncrementalSnapshot){if(e.data.source===gA.Mutation&&e.data.isAttachIframe)return;H++;let n=i&&H>=i,o=r&&e.timestamp-t.timestamp>r;(n||o)&&et(!0)}},Y=e=>{q(g7({type:gI.IncrementalSnapshot,data:{source:gA.Mutation,...e}}))},G=e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.Scroll,...e}})),K=e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.CanvasMutation,...e}})),Q=new g8({mutationCb:Y,adoptedStyleSheetCb:e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.AdoptedStyleSheet,...e}}))}),X="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new g2:new g3({mirror:ye,mutationCb:Y,stylesheetManager:Q,recordCrossOriginIframes:O,wrappedEmit:q});for(let e of M||[])e.getMirror&&e.getMirror({nodeMirror:ye,crossOriginIframeMirror:X.crossOriginIframeMirror,crossOriginIframeStyleMirror:X.crossOriginIframeStyleMirror});let J=new g9,Z=function(e,t){try{return e?e(t):new g5}catch(e){return console.warn("Unable to initialize CanvasManager"),new g5}}(z,{mirror:ye,win:window,mutationCb:e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.CanvasMutation,...e}})),recordCanvas:R,blockClass:o,blockSelector:a,unblockSelector:s,sampling:E.canvas,dataURLOptions:T,errorHandler:L}),ee="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new g4:new g6({mutationCb:Y,scrollCb:G,bypassOptions:{onMutation:F,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,inlineStylesheet:m,maskInputOptions:B,dataURLOptions:T,maskAttributeFn:x,maskTextFn:S,maskInputFn:_,recordCanvas:R,inlineImages:P,sampling:E,slimDOMOptions:W,iframeManager:X,stylesheetManager:Q,canvasManager:Z,keepIframeSrcFn:D,processedNodeManager:J},mirror:ye}),et=(e=!1)=>{q(g7({type:gI.Meta,data:{href:window.location.href,width:gw(),height:gb()}}),e),Q.reset(),ee.init(),gB.forEach(e=>e.lock());let t=function(e,t){let{mirror:n=new mG,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:o=null,maskAllText:a=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:u=null,unmaskTextSelector:c=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:w,onSerialize:x,onIframeLoad:_,iframeLoadTimeout:S,onStylesheetLoad:k,stylesheetLoadTimeout:E,keepIframeSrcFn:T=()=>!1}=t||{};return gc(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:s,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===v,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===v?{}:v,dataURLOptions:b,inlineImages:f,recordCanvas:p,preserveWhiteSpace:w,onSerialize:x,onIframeLoad:_,iframeLoadTimeout:S,onStylesheetLoad:k,stylesheetLoadTimeout:E,keepIframeSrcFn:T,newlyAddedElement:!1})}(document,{mirror:ye,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,inlineStylesheet:m,maskAllInputs:B,maskAttributeFn:x,maskInputFn:_,maskTextFn:S,slimDOM:W,dataURLOptions:T,recordCanvas:R,inlineImages:P,onSerialize:e=>{gk(e,ye)&&X.addIframe(e),gE(e,ye)&&Q.trackLinkElement(e),gT(e)&&ee.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{X.attachIframe(e,t),ee.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Q.attachLinkElement(e,t)},keepIframeSrcFn:D});if(!t)return console.warn("Failed to snapshot the document");q(g7({type:gI.FullSnapshot,data:{node:t,initialOffset:gv(window)}})),gB.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Q.adoptStyleSheets(document.adoptedStyleSheets,ye.getId(document))};y=et;try{let e=[],t=e=>g$(gX)({onMutation:F,mutationCb:Y,mousemoveCb:(e,t)=>q(g7({type:gI.IncrementalSnapshot,data:{source:t,positions:e}})),mouseInteractionCb:e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.MouseInteraction,...e}})),scrollCb:G,viewportResizeCb:e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.ViewportResize,...e}})),inputCb:e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.Input,...e}})),mediaInteractionCb:e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.MediaInteraction,...e}})),styleSheetRuleCb:e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.StyleSheetRule,...e}})),styleDeclarationCb:e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.StyleDeclaration,...e}})),canvasMutationCb:K,fontCb:e=>q(g7({type:gI.IncrementalSnapshot,data:{source:gA.Font,...e}})),selectionCb:e=>{q(g7({type:gI.IncrementalSnapshot,data:{source:gA.Selection,...e}}))},customElementCb:e=>{q(g7({type:gI.IncrementalSnapshot,data:{source:gA.CustomElement,...e}}))},blockClass:o,ignoreClass:l,ignoreSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,maskInputOptions:B,inlineStylesheet:m,sampling:E,recordCanvas:R,inlineImages:P,userTriggeredOnInput:A,collectFonts:j,doc:e,maskAttributeFn:x,maskInputFn:_,maskTextFn:S,keepIframeSrcFn:D,blockSelector:a,unblockSelector:s,slimDOMOptions:W,dataURLOptions:T,mirror:ye,iframeManager:X,stylesheetManager:Q,shadowDomManager:ee,processedNodeManager:J,canvasManager:Z,ignoreCSSAttributes:N,plugins:mL([M,"optionalAccess",e=>e.filter,"call",e=>e(e=>e.observer),"optionalAccess",e=>e.map,"call",e=>e(e=>({observer:e.observer,options:e.options,callback:t=>q(g7({type:gI.Plugin,data:{plugin:e.name,payload:t}}))}))])||[]},{});X.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{et(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(gf("DOMContentLoaded",()=>{q(g7({type:gI.DomContentLoaded,data:{}})),"DOMContentLoaded"===I&&n()})),e.push(gf("load",()=>{q(g7({type:gI.Load,data:{}})),"load"===I&&n()},window))),()=>{e.forEach(e=>e()),J.destroy(),y=void 0,g=void 0}}catch(e){console.warn(e)}}function yn(e){return e>9999999999?e:1e3*e}function yr(e){return e>9999999999?e/1e3:e}function yi(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:gI.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:oH(t,10,1e3)}}),"console"===t.category)))}function yo(e){return e.closest("button,a")||e}function ya(e){let t=ys(e);return t&&t instanceof Element?yo(t):t}function ys(e){return"object"==typeof e&&e&&"target"in e?e.target:e}yt.mirror=ye,yt.takeFullSnapshot=function(e){if(!y)throw Error("please take full snapshot after start recording");y(e)};class yl{constructor(e,t,n=yi){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){var e;let t=(e=()=>{this._lastMutation=yc()},v||(v=[],iY(iv,"open",function(e){return function(...t){if(v)try{v.forEach(e=>e())}catch(e){}return e.apply(iv,t)}})),v.push(e),()=>{let t=v?v.indexOf(e):-1;t>-1&&v.splice(t,1)});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){var n;if(n=this._ignoreSelector,!yu.includes(t.tagName)||"INPUT"===t.tagName&&!["submit","button"].includes(t.getAttribute("type")||"")||"A"===t.tagName&&(t.hasAttribute("download")||t.hasAttribute("target")&&"_self"!==t.getAttribute("target"))||n&&t.matches(n)||!(e.data&&"number"==typeof e.data.nodeId&&e.timestamp))return;let r={timestamp:yr(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===r.node&&1>Math.abs(e.timestamp-r.timestamp))||(this._clicks.push(r),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=yr(e)}registerScroll(e=Date.now()){this._lastScroll=yr(e)}registerClick(e){let t=yo(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=yc();for(let n of(this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}),e)){let e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:i,clickBreadcrumb:o}=e;if(!n&&!r){let n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",a={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.slowClickDetected",data:{...o.data,url:iv.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:i||1}};this._addBreadcrumbEvent(t,a);return}if(i>1){let e={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.multiClick",data:{...o.data,url:iv.location.href,route:t.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(()=>this._checkClicks(),1e3)}}let yu=["A","BUTTON","INPUT"];function yc(){return Date.now()/1e3}function yd(e){return{timestamp:Date.now()/1e3,type:"default",...e}}(L=et||(et={}))[L.Document=0]="Document",L[L.DocumentType=1]="DocumentType",L[L.Element=2]="Element",L[L.Text=3]="Text",L[L.CDATA=4]="CDATA",L[L.Comment=5]="Comment";let yf=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]),yp=e=>t=>{if(!e.isEnabled())return;let n=function(e){let{target:t,message:n}=function(e){let t;let n="click"===e.name,r=null;try{r=n?ya(e.event):ys(e.event),t=iB(r,{maxStringLength:200})||"<unknown>"}catch(e){t="<unknown>"}return{target:r,message:t}}(e);return yd({category:`ui.${e.name}`,...yh(t,n)})}(t);if(!n)return;let r="click"===t.name,i=r?t.event:void 0;r&&e.clickDetector&&i&&i.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&function(e,t,n){e.handleClick(t,n)}(e.clickDetector,n,ya(t.event)),yi(e,n)};function yh(e,t){let n=yt.mirror.getId(e),r=n&&yt.mirror.getNode(n),i=r&&yt.mirror.getMeta(r),o=i&&i.type===et.Element?i:null;return{message:t,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map(e=>e.type===et.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let t={};for(let n in e)if(yf.has(n)){let r=n;("data-testid"===n||"data-test-id"===n)&&(r="testId"),t[r]=e[n]}return t}(o.attributes)}}:{}}}let ym={resource:function(e){let{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:a,encodedBodySize:s,responseStatus:l,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:yy(o),end:yy(i),name:r,data:{size:u,statusCode:l,decodedBodySize:a,encodedBodySize:s}}},paint:function(e){let{duration:t,entryType:n,name:r,startTime:i}=e,o=yy(i);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){let{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:h,type:m}=e;return 0===i?null:{type:`${t}.${m}`,start:yy(p),end:yy(o),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:a,duration:i,domInteractive:u,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:c,loadEventEnd:d,domComplete:o,redirectCount:f}}}};function yg(e){return ym[e.entryType]?ym[e.entryType](e):null}function yy(e){return((iU||iv.performance.timeOrigin)+e)/1e3}let yv="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function yb(e,t){yv&&(iF.info(e),t&&yx(e))}function yw(e,t){yv&&(iF.info(e),t&&setTimeout(()=>{yx(e)},0))}function yx(e){oQ({category:"console",data:{logger:"replay"},level:"info",message:e},{level:"info"})}class y_ extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class yS{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new y_;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?yn(e):null}}class yk{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){yb("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,i)=>{let o=({data:t})=>{if(t.method===e&&t.id===n){if(this._worker.removeEventListener("message",o),!t.success){yv&&iF.error("[Replay]",t.response),i(Error("Error in compression worker"));return}r(t.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class yE{constructor(e){this._worker=new yk(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=yn(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let n=JSON.stringify(e);return(this._totalSize+=n.length,this._totalSize>2e7)?Promise.reject(new y_):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{yv&&iF.warn('[Replay] Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class yT{constructor(e){this._fallback=new yS,this._compression=new yE(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){yb("[Replay] Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t}=this._fallback,n=[];for(let t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(n)}catch(e){yv&&iF.warn("[Replay] Failed to add events when switching buffers.",e)}}}function yC(){try{return"sessionStorage"in iv&&!!iv.sessionStorage}catch(e){return!1}}function yR(e){return void 0!==e&&Math.random()<e}function yO(e){let t=Date.now(),n=e.id||i1(),r=e.started||t,i=e.lastActivity||t;return{id:n,started:r,lastActivity:i,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function yI(e){if(yC())try{iv.sessionStorage.setItem(mU,JSON.stringify(e))}catch(e){}}function yA({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){let i=yO({sampled:yR(e)?"session":!!t&&"buffer",previousSessionId:r});return n&&yI(i),i}function yj(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function yP(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return yj(e.started,t,r)||yj(e.lastActivity,n,r)}function yM(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!yP(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function yD({traceInternals:e,sessionIdleExpire:t,maxReplayDuration:n,previousSessionId:r},i){let o=i.stickySession&&function(e){if(!yC())return null;try{let t=iv.sessionStorage.getItem(mU);if(!t)return null;let n=JSON.parse(t);return yw("[Replay] Loading existing session",e),yO(n)}catch(e){return null}}(e);return o?yM(o,{sessionIdleExpire:t,maxReplayDuration:n})?(yw("[Replay] Session in sessionStorage is expired, creating new one..."),yA(i,{previousSessionId:o.id})):o:(yw("[Replay] Creating new session",e),yA(i,{previousSessionId:r}))}function yN(e,t,n){return!!yF(e,t)&&(yL(e,t,n),!0)}async function yL(e,t,n){if(!e.eventBuffer)return null;try{n&&"buffer"===e.recordingMode&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);let r=e.getOptions(),i=function(e,t){try{if("function"==typeof t&&e.type===gI.Custom)return t(e)}catch(e){return yv&&iF.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",e),null}return e}(t,r.beforeAddRecordingEvent);if(!i)return;return await e.eventBuffer.addEvent(i)}catch(r){let t=r&&r instanceof y_?"addEventSizeExceeded":"addEvent";yv&&iF.error(r),await e.stop({reason:t});let n=oX();n&&n.recordDroppedEvent("internal_sdk_error","replay")}}function yF(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=yn(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(yb(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),!1))}function yz(e){return"transaction"===e.type}function y$(e){return"feedback"===e.type}function yU(e){let t=function(){let e=oX();if(!e)return!1;let t=e.getTransport();return!!t&&(t.send.__sentry__baseTransport__||!1)}();return(n,r)=>{if(!e.isEnabled()||n.type&&!yz(n))return;let i=r&&r.statusCode;if(!t||i&&!(i<200)&&!(i>=300)){if(yz(n)){!function(e,t){let n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,n);return}!function(e,t){let n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&setTimeout(()=>{e.sendBufferedReplayOrFlush()})}(e,n)}}}function yB(e,t){return t.map(({type:t,start:n,end:r,name:i,data:o})=>{let a=e.throttledAddEvent({type:gI.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:o}}});return"string"==typeof a?Promise.resolve(null):a})}function yW(e,t){var n;e.isEnabled()&&null!==t&&(n=t.name,(!yv||!e.getOptions()._experiments.traceInternals)&&function(e,t){let n=t&&void 0!==t.getClient?t.getClient():t,r=n&&n.getDsn(),i=n&&n.getOptions().tunnel;return!!r&&e.includes(r.host)||!!i&&m$(e)===m$(i)}(n,oX())||e.addUpdate(()=>(yB(e,[t]),!0)))}function yH(e,t){if(e)try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let n=yJ(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function yV(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function yq(e){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[yJ(e)];if(!e)return[void 0]}catch(t){return yv&&iF.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return yv&&iF.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function yY(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function yG(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:i,method:o,statusCode:a,request:s,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:i0({method:o,statusCode:a,request:s,response:l})}}function yK(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function yQ(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:i,warnings:o}=function(e){if(!e||"string"!=typeof e)return{body:e};let t=e.length>15e4,n=function(e){let t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){let t=e.slice(0,15e4);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}\u{2026}`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}(n);return r.body=i,o&&o.length>0&&(r._meta={warnings:o}),r}function yX(e,t){return Object.keys(e).reduce((n,r)=>{let i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=e[r]),n},{})}function yJ(e){return new URLSearchParams(e).toString()}function yZ(e,t=iv.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(iv.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function y0(e,t,n){try{let r=await y1(e,t,n),i=yG("resource.fetch",r);yW(n.replay,i)}catch(e){yv&&iF.error("[Replay] Failed to capture fetch breadcrumb",e)}}async function y1(e,t,n){var r,i;let o=Date.now(),{startTimestamp:a=o,endTimestamp:s=o}=t,{url:l,method:u,status_code:c=0,request_body_size:d,response_body_size:f}=e.data,p=(r=n.networkDetailAllowUrls,iq(yZ(l),r)&&(i=n.networkDetailDenyUrls,!iq(yZ(l),i)));return{startTimestamp:a,endTimestamp:s,url:l,method:u,statusCode:c,request:p?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){let i=n?1===n.length&&"string"!=typeof n[0]?y5(n[0],t):2===n.length?y5(n[1],t):{}:{};if(!e)return yQ(i,r,void 0);let[o,a]=yq(y4(n)),s=yQ(i,r,o);return a?yY(s,a):s}(n,t.input,d):yK(d),response:await y2(p,n,t.response,f)}}async function y2(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},i,o){if(!e&&void 0!==o)return yK(o);let a=i?y6(i.headers,r):{};if(!i||!t&&void 0!==o)return yQ(a,o,void 0);let[s,l]=await y3(i),u=function(e,{networkCaptureBodies:t,textEncoder:n,responseBodySize:r,captureDetails:i,headers:o}){try{let a=e&&e.length&&void 0===r?yH(e,n):r;if(!i)return yK(a);if(t)return yQ(o,a,e);return yQ(o,a,void 0)}catch(e){return yv&&iF.warn("[Replay] Failed to serialize response body",e),yQ(o,r,void 0)}}(s,{networkCaptureBodies:t,textEncoder:n,responseBodySize:o,captureDetails:e,headers:a});return l?yY(u,l):u}async function y3(e){let t=function(e){try{return e.clone()}catch(e){yv&&iF.warn("[Replay] Failed to clone response body",e)}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await new Promise((e,n)=>{let r=setTimeout(()=>n(Error("Timeout while trying to read response body")),500);y8(t).then(t=>e(t),e=>n(e)).finally(()=>clearTimeout(r))})]}catch(e){return yv&&iF.warn("[Replay] Failed to get text body from response",e),[void 0,"BODY_PARSE_ERROR"]}}function y4(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function y6(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function y5(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?y6(n,t):Array.isArray(n)?{}:yX(n,t):{}}async function y8(e){return await e.text()}async function y9(e,t,n){try{let r=function(e,t,n){var r,i;let o=Date.now(),{startTimestamp:a=o,endTimestamp:s=o,input:l,xhr:u}=t,{url:c,method:d,status_code:f=0,request_body_size:p,response_body_size:h}=e.data;if(!c)return null;if(!u||(r=n.networkDetailAllowUrls,!iq(yZ(c),r))||(i=n.networkDetailDenyUrls,iq(yZ(c),i))){let e=yK(p);return{startTimestamp:a,endTimestamp:s,url:c,method:d,statusCode:f,request:e,response:yK(h)}}let m=u[hu],g=m?yX(m.request_headers,n.networkRequestHeaders):{},y=yX(function(e){let t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return e[n.toLowerCase()]=r,e},{}):{}}(u),n.networkResponseHeaders),[v,b]=n.networkCaptureBodies?yq(l):[void 0],[w,x]=n.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return yv&&iF.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return yv&&iF.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){t.push(e)}return yv&&iF.warn("[Replay] Failed to get xhr response body",...t),[void 0]}(u):[void 0],_=yQ(g,p,v),S=yQ(y,h,w);return{startTimestamp:a,endTimestamp:s,url:c,method:d,statusCode:f,request:b?yY(_,b):_,response:x?yY(S,x):S}}(e,t,n),i=yG("resource.xhr",r);yW(n.replay,i)}catch(e){yv&&iF.error("[Replay] Failed to capture xhr breadcrumb",e)}}let y7=null,ve=e=>t=>{if(!e.isEnabled())return;let n=function(e){let t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return y7!==t&&t?(y7=t,!t.category||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))?null:"console"===t.category?function(e){let t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return yd(e);let n=!1,r=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(n=!0,`${e.slice(0,5e3)}\u{2026}`):e;if("object"==typeof e)try{let t=oH(e,7);if(JSON.stringify(t).length>5e3)return n=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}\u{2026}`;return t}catch(e){}return e});return yd({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(t):yd(t):null}(t);n&&yi(e,n)};async function vt(e){try{return Promise.all(yB(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}(iv.performance.memory)]))}catch(e){return[]}}async function vn({client:e,scope:t,replayId:n,event:r}){let i={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit&&e.emit("preprocessEvent",r,i);let o=await oV(e.getOptions(),r,i,t,e,oN());if(!o)return null;o.platform=o.platform||"javascript";let a=e.getSdkMetadata&&e.getSdkMetadata(),{name:s,version:l}=a&&a.sdk||{};return o.sdk={...o.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0"},o}async function vr({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:o}){var a;let s;let l=function({recordingData:e,headers:t}){let n;let r=`${JSON.stringify(t)} `;if("string"==typeof e)n=`${r}${e}`;else{let t=new TextEncoder().encode(r);(n=new Uint8Array(t.length+e.length)).set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:u,errorIds:c,traceIds:d,initialTimestamp:f}=r,p=oX(),h=oJ(),m=p&&p.getTransport(),g=p&&p.getDsn();if(!p||!m||!g||!o.sampled)return;let y={type:"replay_event",replay_start_timestamp:f/1e3,timestamp:i/1e3,error_ids:c,trace_ids:d,urls:u,replay_id:t,segment_id:n,replay_type:o.sampled},v=await vn({scope:h,client:p,replayId:t,event:y});if(!v){p.recordDroppedEvent("event_processor","replay",y),yb("An event processor returned `null`, will not send event.");return}delete v.sdkProcessingMetadata;let b=(a=p.getOptions().tunnel,hP(hF(v,hL(v),a,g),[[{type:"replay_event"},v],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{s=await m.send(b)}catch(t){let e=Error(mB);try{e.cause=t}catch(e){}throw e}if(!s)return s;if("number"==typeof s.statusCode&&(s.statusCode<200||s.statusCode>=300))throw new vi(s.statusCode);let w=mA({},s);if(mI(w,"replay"))throw new vo(w);return s}class vi extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class vo extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function va(e,t={count:0,interval:5e3}){let{recordingData:n,options:r}=e;if(n.length)try{return await vr(e),!0}catch(n){var i,o;if(n instanceof vi||n instanceof vo)throw n;if(i="Replays",o={_retryCount:t.count},oD().setContext(i,o),yv&&r._experiments&&r._experiments.captureExceptions&&oG(n),t.count>=3){let e=Error(`${mB} - max retries exceeded`);try{e.cause=n}catch(e){}throw e}return t.interval*=++t.count,new Promise((n,r)=>{setTimeout(async()=>{try{await va(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}let vs="__THROTTLED";class vl{constructor({options:e,recordingOptions:t}){vl.prototype.__init.call(this),vl.prototype.__init2.call(this),vl.prototype.__init3.call(this),vl.prototype.__init4.call(this),vl.prototype.__init5.call(this),vl.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,i,o;let a=n&&n.maxWait?Math.max(n.maxWait,t):0;function s(){return l(),r=e()}function l(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function u(){return i&&clearTimeout(i),i=setTimeout(s,t),a&&void 0===o&&(o=setTimeout(s,a)),r}return u.cancel=l,u.flush=function(){return void 0!==i||void 0!==o?s():r},u}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,t,n){let r=new Map,i=e=>{let t=e-5;r.forEach((e,n)=>{n<t&&r.delete(n)})},o=()=>[...r.values()].reduce((e,t)=>e+t,0),a=!1;return(...t)=>{let n=Math.floor(Date.now()/1e3);if(i(n),o()>=300){let e=a;return a=!0,e?"__SKIPPED":vs}a=!1;let s=r.get(n)||0;return r.set(n,s+1),e(...t)}}((e,t)=>yF(this,e)?yL(this,e,t):Promise.resolve(null),0,0);let{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;i&&(this.clickDetector=new yl(this,i))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:n}=this._options;if(!(t<=0)||!(n<=0)){if(this._initializeSessionForSampling(e),!this.session){this._handleException(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",yw(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode)throw Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw Error("Replay buffering is in progress, call `flush()` to save the replay");yw("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);let e=yD({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw Error("Replay recording is already in progress");yw("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);let e=yD({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let t;let n=this._canvas;this._stopRecording=yt({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:(e=this,t=!1,(n,r)=>{if(!e.checkAndHandleExpiredSession()){yv&&iF.warn("[Replay] Received replay event after session expired.");return}let i=r||!t;t=!0,e.clickDetector&&function(e,t){try{if(3!==t.type)return;let{source:n}=t.data;if(n===gA.Mutation&&e.registerMutation(t.timestamp),n===gA.Scroll&&e.registerScroll(t.timestamp),t.data.source===gA.MouseInteraction){let{type:n,id:r}=t.data,i=yt.mirror.getNode(r);i instanceof HTMLElement&&n===gj.Click&&e.registerClick(i)}}catch(e){}}(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!yN(e,n,i))return!0;if(!i)return!1;if(i&&e.session&&0===e.session.segmentId&&yN(e,function(e){let t=e.getOptions();return{type:gI.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){let t=e.eventBuffer.getEarliestTimestamp();t&&(yb(`[Replay] Updating session start time to earliest event in buffer to ${new Date(t)}`,e.getOptions()._experiments.traceInternals),e.session.started=t,e.getOptions().stickySession&&yI(e.session))}return"session"===e.recordingMode&&e.flush(),!0})}),onMutation:this._onMutationHandler,...n?{recordCanvas:n.recordCanvas,getCanvasManager:n.getCanvasManager,sampling:n.sampling,dataURLOptions:n.dataURLOptions}:{}})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{yb(`[Replay] Stopping Replay${t?` triggered by ${t}`:""}`,this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,function(){if(yC())try{iv.sessionStorage.removeItem(mU)}catch(e){}}(),this.session=void 0}catch(e){this._handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),yb("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),yb("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();yb("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();let n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&yj(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${iv.location.pathname}${iv.location.hash}${iv.location.search}`,t=`${iv.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let n=this._throttledAddEvent(e,t);if(n===vs){let e=yd({category:"replay.throttled"});this.addUpdate(()=>!yN(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastTransaction||oJ().getTransaction(),t=(e&&ox(e).data||{})[pp];if(e&&t&&["route","custom"].includes(t))return ox(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=function(e){try{let t=e||("undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":function(){let e=new Blob(['var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(e)}());if(!t)return;yb(`[Replay] Using compression worker${e?` from ${e}`:""}`);let n=new Worker(t);return new yT(n)}catch(e){yb("[Replay] Failed to create compression worker")}}(t);if(e)return e}return yb("[Replay] Using simple buffer"),new yS}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){yv&&iF.error("[Replay]",e),yv&&this._options._experiments&&this._options._experiments.captureExceptions&&oG(e)}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,n=yD({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;let e=this.session;return!yM(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{iv.document.addEventListener("visibilitychange",this._handleVisibilityChange),iv.addEventListener("blur",this._handleWindowBlur),iv.addEventListener("focus",this._handleWindowFocus),iv.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e){let t=oJ(),n=oX();t.addScopeListener(ve(e)),h1(yp(e)),pR(t=>{if(!e.isEnabled())return;let n=function(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(yB(e,[n]),!1)))}),function(e){let t=oX();try{let n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:s}=e.getOptions(),l={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:s};t&&t.on?t.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,n){if(t.data)try{var r,i;"xhr"===t.category&&(r=n)&&r.xhr&&(function(e,t,n){let{xhr:r,input:i}=t;if(!r)return;let o=yH(i,n.textEncoder),a=r.getResponseHeader("content-length")?yV(r.getResponseHeader("content-length")):function(e,t,n){try{let r="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return yH(r,n)}catch(e){return}}(r.response,r.responseType,n.textEncoder);void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(t,n,e),y9(t,n,e)),"fetch"===t.category&&(i=n)&&i.response&&(function(e,t,n){let{input:r,response:i}=t,o=yH(r?y4(r):void 0,n.textEncoder),a=i?yV(i.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(t,n,e),y0(t,n,e))}catch(e){yv&&iF.warn("Error when enriching network breadcrumb")}})(l,e,t)):(ho(t=>{e.isEnabled()&&yW(e,function(e){let{startTimestamp:t,endTimestamp:n,fetchData:r,response:i}=e;if(!n)return null;let{method:o,url:a}=r;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:a,data:{method:o,statusCode:i?i.status:void 0}}}(t))}),hc(t=>{e.isEnabled()&&yW(e,function(e){let{startTimestamp:t,endTimestamp:n,xhr:r}=e,i=r[hu];if(!t||!n||!i)return null;let{method:o,url:a,status_code:s}=i;return void 0===a?null:{type:"resource.xhr",name:a,start:t/1e3,end:n/1e3,data:{method:o,statusCode:s}}}(t))}))}catch(e){}}(e);let r=function(e,t=!1){let n=t?yU(e):void 0;return Object.assign((t,r)=>e.isEnabled()?"replay_event"===t.type?(delete t.breadcrumbs,t):(!t.type||yz(t)||y$(t))&&e.checkAndHandleExpiredSession()?y$(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:gI.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t):!t.type&&t.exception&&t.exception.values&&t.exception.values.length&&r.originalException&&r.originalException.__rrweb__&&!e.getOptions()._experiments.captureExceptions?(yv&&iF.log("[Replay] Ignoring error from rrweb internals",t),null):(("buffer"===e.recordingMode&&t.message!==mB&&t.exception&&!t.type&&yR(e.getOptions().errorSampleRate)||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&n(t,{statusCode:200}),t):t:t,{id:"Replay"})}(e,!(n&&n.on));n&&n.addEventProcessor?n.addEventProcessor(r):function(e){let t=oX();t&&t.addEventProcessor&&t.addEventProcessor(e)}(r),n&&n.on&&(n.on("beforeSendEvent",t=>{e.isEnabled()&&!t.type&&function(e,t){let n=t.exception&&t.exception.values&&t.exception.values[0].value;"string"==typeof n&&(n.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&yi(e,yd({category:"replay.hydrate-error"}))}(e,t)}),n.on("afterSendEvent",yU(e)),n.on("createDsc",t=>{let n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),n.on("startTransaction",t=>{e.lastTransaction=t}),n.on("finishTransaction",t=>{e.lastTransaction=t}),n.on("beforeSendFeedback",(t,n)=>{let r=e.getSessionId();n&&n.includeReplay&&e.isEnabled()&&r&&(e.flush(),t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=r))}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}let r=[];return["navigation","paint","resource"].forEach(e=>{r.push(pX(e,n))}),r.push(pQ(({metric:t})=>{e.replayPerformanceEntries.push(function(e){let t=e.entries,n=t[t.length-1],r=n?n.element:void 0,i=e.value,o=yy(i);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:o,end:o,data:{value:i,size:i,nodeId:r?yt.mirror.getId(r):void 0}}}(t))})),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{iv.document.removeEventListener("visibilitychange",this._handleVisibilityChange),iv.removeEventListener("blur",this._handleWindowBlur),iv.removeEventListener("focus",this._handleWindowFocus),iv.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===iv.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{let e=yd({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{let e=yd({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=function(e){var t;let{metaKey:n,shiftKey:r,ctrlKey:i,altKey:o,key:a,target:s}=e;if(!s||"INPUT"===(t=s).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!a)return null;let l=n||i||o,u=1===a.length;if(!l&&u)return null;let c=iB(s,{maxStringLength:200})||"<unknown>",d=yh(s,c);return yd({category:"ui.keyDown",message:c,data:{...d.data,metaKey:n,shiftKey:r,ctrlKey:i,altKey:o,key:a}})}(t);n&&yi(e,n)}(this,e)}}_doChangeToBackgroundTasks(e){this.session&&(yP(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush()))}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){yb("[Replay] Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:gI.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(yg).filter(Boolean).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(yB(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||e.segmentId)return;let n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){yv&&iF.error("[Replay] No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await vt(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw Error("Session is too long, not sending replay");let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let i=await this.eventBuffer.finish();await va({replayId:e,recordingData:i,segmentId:r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:t})}catch(t){this._handleException(t),this.stop({reason:"sendReplay"});let e=oX();e&&e.recordDroppedEvent("send_error","replay")}}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){yv&&iF.error("[Replay] Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();let r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i){yb(`[Replay] Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),r&&this._debouncedFlush();return}let o=this.eventBuffer;if(o&&0===this.session.segmentId&&!o.hasCheckout&&yb("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=void 0;return}try{await this._flushLock}catch(e){yv&&iF.error(e)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&yI(this.session)}__init6(){this._onMutationHandler=e=>{let t=e.length,n=this._options.mutationLimit,r=this._options.mutationBreadcrumbLimit,i=n&&t>n;if(t>r||i){let e=yd({category:"replay.mutations",data:{count:t,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function vu(e,t,n,r){let i=[...e,..."string"==typeof r?r.split(","):[],...t];return void 0!==n&&("string"==typeof n&&i.push(`.${n}`),iL(()=>{console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")})),i.join(",")}let vc='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',vd=["content-length","content-type","accept"],vf=!1;class vp{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:s={},sessionSampleRate:l,errorSampleRate:u,maskAllText:c=!0,maskAllInputs:d=!0,blockAllMedia:f=!0,mutationBreadcrumbLimit:p=750,mutationLimit:h=1e4,slowClickTimeout:m=7e3,slowClickIgnoreSelectors:g=[],networkDetailAllowUrls:y=[],networkDetailDenyUrls:v=[],networkCaptureBodies:b=!0,networkRequestHeaders:w=[],networkResponseHeaders:x=[],mask:_=[],maskAttributes:S=["title","placeholder"],unmask:k=[],block:E=[],unblock:T=[],ignore:C=[],maskFn:R,beforeAddRecordingEvent:O,beforeErrorSampling:I,blockClass:A,blockSelector:j,maskInputOptions:P,maskTextClass:M,maskTextSelector:D,ignoreClass:N}={}){this.name=vp.id;let L=function({mask:e,unmask:t,block:n,unblock:r,ignore:i,blockClass:o,blockSelector:a,maskTextClass:s,maskTextSelector:l,ignoreClass:u}){let c={maskTextSelector:vu(e,[".sentry-mask","[data-sentry-mask]"],s,l),unmaskTextSelector:vu(t,[".sentry-unmask","[data-sentry-unmask]"]),blockSelector:vu(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],o,a),unblockSelector:vu(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:vu(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],u)};return o instanceof RegExp&&(c.blockClass=o),s instanceof RegExp&&(c.maskTextClass=s),c}({mask:_,unmask:k,block:E,unblock:T,ignore:C,blockClass:A,blockSelector:j,maskTextClass:M,maskTextSelector:D,ignoreClass:N});if(this._recordingOptions={maskAllInputs:d,maskAllText:c,maskInputOptions:{...P||{},password:!0},maskTextFn:R,maskInputFn:R,maskAttributeFn:(e,t,n)=>(function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:o}){return!r||i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?o:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o})({maskAttributes:S,maskAllText:c,privacyOptions:L,key:e,value:t,el:n}),...L,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,36e5),stickySession:i,sessionSampleRate:l,errorSampleRate:u,useCompression:o,workerUrl:a,blockAllMedia:f,maskAllInputs:d,maskAllText:c,mutationBreadcrumbLimit:p,mutationLimit:h,slowClickTimeout:m,slowClickIgnoreSelectors:g,networkDetailAllowUrls:y,networkDetailDenyUrls:v,networkCaptureBodies:b,networkRequestHeaders:vh(w),networkResponseHeaders:vh(x),beforeAddRecordingEvent:O,beforeErrorSampling:I,_experiments:s},"number"==typeof l&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration. This option is deprecated and will be removed soon. Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.: Sentry.init({ replaysSessionSampleRate: ${l} })`),this._initialOptions.sessionSampleRate=l),"number"==typeof u&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration. This option is deprecated and will be removed soon. Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.: Sentry.init({ replaysOnErrorSampleRate: ${u} })`),this._initialOptions.errorSampleRate=u),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${vc}`:vc),this._isInitialized&&mz())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return vf}set _isInitialized(e){vf=e}setupOnce(){mz()&&(this._setup(),setTimeout(()=>this._initialize()))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){let e=function(e){let t=oX(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...i0(e)};return n?(null==e.sessionSampleRate&&null==e.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&iL(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),"number"==typeof n.replaysSessionSampleRate&&(r.sessionSampleRate=n.replaysSessionSampleRate),"number"==typeof n.replaysOnErrorSampleRate&&(r.errorSampleRate=n.replaysOnErrorSampleRate)):iL(()=>{console.warn("SDK client is not available.")}),r}(this._initialOptions);this._replay=new vl({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{let e=oX().getIntegrationByName("ReplayCanvas");if(!e)return;this._replay._canvas=e.getOptions()}catch(e){}}}function vh(e){return[...vd,...e.map(e=>e.toLowerCase())]}vp.__initStatic();var vm={};Object.defineProperty(vm,"__esModule",{value:!0}),vm.initMessageListener=vm.initStateWithPrevTab=vm.withReduxStateSync=vm.createReduxStateSync=vm.createStateSyncMiddleware=vm.WINDOW_STATE_SYNC_ID=vm.INIT_MESSAGE_LISTENER=vm.RECEIVE_INIT_STATE=vm.SEND_INIT_STATE=vm.GET_INIT_STATE=void 0,vm.generateUuidForAction=vQ,vm.isActionAllowed=vX,vm.isActionSynced=function(e){return!!e.$isSync},vm.MessageListener=vJ;var eM=es("aGGVD");function vg(e){return e||(e=0),new Promise(function(t){return setTimeout(t,e)})}function vy(){return Math.random().toString(36).substring(2)}var vv=0,vb=0;function vw(){var e=new Date().getTime();return e===vv?1e3*e+ ++vb:(vv=e,vb=0,1e3*e)}var vx="[object process]"===Object.prototype.toString.call(void 0!==eM?eM:0),v_=function(){function e(e){this.ttl=e,this.set=new Set,this.timeMap=new Map}return e.prototype.has=function(e){return this.set.has(e)},e.prototype.add=function(e){var t=this;this.timeMap.set(e,vS()),this.set.add(e),setTimeout(function(){(function(e){for(var t=vS()-e.ttl,n=e.set[Symbol.iterator]();;){var r=n.next().value;if(!r||!(e.timeMap.get(r)<t))return;e.timeMap.delete(r),e.set.delete(r)}})(t)},0)},e.prototype.clear=function(){this.set.clear(),this.timeMap.clear()},e}();function vS(){return new Date().getTime()}function vk(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var vE="messages";function vT(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function vC(e){var t,n,r,i;return e.closed||!e.messagesCallback?Promise.resolve():(t=e.db,n=e.lastCursorId,r=t.transaction(vE).objectStore(vE),i=[],new Promise(function(e){(function(){try{var e=IDBKeyRange.bound(n+1,1/0);return r.openCursor(e)}catch(e){return r.openCursor()}})().onsuccess=function(t){var r=t.target.result;r?r.value.id<n+1?r.continue(n+1):(i.push(r.value),r.continue()):e(i)}})).then(function(t){return t.filter(function(e){return!!e}).map(function(t){return t.id>e.lastCursorId&&(e.lastCursorId=t.id),t}).filter(function(t){return!(t.uuid===e.uuid||e.eMIs.has(t.id))&&!(t.data.time<e.messagesCallbackTime)}).sort(function(e,t){return e.time-t.time}).forEach(function(t){e.messagesCallback&&(e.eMIs.add(t.id),e.messagesCallback(t.data))}),Promise.resolve()})}function vR(){var e;if("undefined"==typeof window)return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch(e){}return e}function vO(e){return"pubkey.broadcastChannel-"+e}function vI(){if(vx)return!1;var e=vR();if(!e)return!1;try{var t="__broadcastchannel_check";e.setItem(t,"works"),e.removeItem(t)}catch(e){return!1}return!0}var vA=new Set,vj={create:function(e){var t={name:e,messagesCallback:null};return vA.add(t),t},close:function(e){vA.delete(e)},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){return new Promise(function(n){return setTimeout(function(){Array.from(vA).filter(function(t){return t.name===e.name}).filter(function(t){return t!==e}).filter(function(e){return!!e.messagesCallback}).forEach(function(e){return e.messagesCallback(t)}),n()},5)})},canBeUsed:function(){return!0},type:"simulate",averageResponseTime:function(){return 5},microSeconds:vw},vP=[{create:function(e){var t={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(e){t.messagesCallback&&t.messagesCallback(e.data)},t},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){try{return e.bc.postMessage(t,!1),Promise.resolve()}catch(e){return Promise.reject(e)}},canBeUsed:function(){if(vx&&"undefined"==typeof window||"function"!=typeof BroadcastChannel)return!1;if(BroadcastChannel._pubkey)throw Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0},type:"native",averageResponseTime:function(){return 150},microSeconds:vw},{create:function(e,t){var n;return t=vk(t),((n=vT().open("pubkey.broadcast-channel-0-"+e,1)).onupgradeneeded=function(e){e.target.result.createObjectStore(vE,{keyPath:"id",autoIncrement:!0})},new Promise(function(e,t){n.onerror=function(e){return t(e)},n.onsuccess=function(){e(n.result)}})).then(function(n){var r={closed:!1,lastCursorId:0,channelName:e,options:t,uuid:vy(),eMIs:new v_(2*t.idb.ttl),writeBlockPromise:Promise.resolve(),messagesCallback:null,readQueuePromises:[],db:n};return n.onclose=function(){r.closed=!0,t.idb.onclose&&t.idb.onclose()},function e(t){t.closed||vC(t).then(function(){return vg(t.options.idb.fallbackInterval)}).then(function(){return e(t)})}(r),r})},close:function(e){e.closed=!0,e.db.close()},onMessage:function(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t,vC(e)},postMessage:function(e,t){return e.writeBlockPromise=e.writeBlockPromise.then(function(){var n,r,i;return n=e.db,r={uuid:e.uuid,time:new Date().getTime(),data:t},i=n.transaction([vE],"readwrite"),new Promise(function(e,t){i.oncomplete=function(){return e()},i.onerror=function(e){return t(e)},i.objectStore(vE).add(r)})}).then(function(){var t,n,r,i,o;0===Math.floor(11*Math.random()+0)&&(t=e.db,n=e.options.idb.ttl,(r=new Date().getTime()-n,i=t.transaction(vE).objectStore(vE),o=[],new Promise(function(e){i.openCursor().onsuccess=function(t){var n=t.target.result;if(n){var i=n.value;if(i.time<r)o.push(i),n.continue();else{e(o);return}}else e(o)}})).then(function(e){return Promise.all(e.map(function(e){var n,r;return n=e.id,r=t.transaction([vE],"readwrite").objectStore(vE).delete(n),new Promise(function(e){r.onsuccess=function(){return e()}})}))}))}),e.writeBlockPromise},canBeUsed:function(){return!vx&&!!vT()},type:"idb",averageResponseTime:function(e){return 2*e.idb.fallbackInterval},microSeconds:vw},{create:function(e,t){if(t=vk(t),!vI())throw Error("BroadcastChannel: localstorage cannot be used");var n,r,i,o=vy(),a=new v_(t.localstorage.removeTimeout),s={channelName:e,uuid:o,eMIs:a};return s.listener=(n=function(e){!(!s.messagesCallback||e.uuid===o||!e.token||a.has(e.token))&&(e.data.time&&e.data.time<s.messagesCallbackTime||(a.add(e.token),s.messagesCallback(e.data)))},r=vO(e),i=function(e){e.key===r&&n(JSON.parse(e.newValue))},window.addEventListener("storage",i),i),s},close:function(e){var t;t=e.listener,window.removeEventListener("storage",t)},onMessage:function(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t},postMessage:function(e,t){return new Promise(function(n){vg().then(function(){var r=vO(e.channelName),i=JSON.stringify({token:vy(),time:new Date().getTime(),data:t,uuid:e.uuid});vR().setItem(r,i);var o=document.createEvent("Event");o.initEvent("storage",!0,!0),o.key=r,o.newValue=i,window.dispatchEvent(o),n()})})},canBeUsed:vI,type:"localstorage",averageResponseTime:function(){var e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")?240:120},microSeconds:vw}];if(vx){var vM=es("c92AQ");"function"==typeof vM.canBeUsed&&vP.push(vM)}var vD=function(e,t){var n,r;this.name=e,en&&(t=en),this.options=vk(t),this.method=function(e){var t=[].concat(e.methods,vP).filter(Boolean);if(e.type){if("simulate"===e.type)return vj;var n=t.find(function(t){return t.type===e.type});if(n)return n;throw Error("method-type "+e.type+" not found")}e.webWorkerSupport||vx||(t=t.filter(function(e){return"idb"!==e.type}));var r=t.find(function(e){return e.canBeUsed()});if(r)return r;throw Error("No useable methode found:"+JSON.stringify(vP.map(function(e){return e.type})))}(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,n=this,((r=n.method.create(n.name,n.options))&&"function"==typeof r.then?0:1)?n._state=r:(n._prepP=r,r.then(function(e){n._state=e}))};function vN(e,t,n){var r={time:e.method.microSeconds(),type:t,data:n};return(e._prepP?e._prepP:Promise.resolve()).then(function(){var t=e.method.postMessage(e._state,r);return e._uMP.add(t),t.catch().then(function(){return e._uMP.delete(t)}),t})}function vL(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function vF(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&vL(e)){var t=function(t){e._addEL[t.type].forEach(function(e){t.time>=e.time&&e.fn(t.data)})},n=e.method.microSeconds();e._prepP?e._prepP.then(function(){e._iL=!0,e.method.onMessage(e._state,t,n)}):(e._iL=!0,e.method.onMessage(e._state,t,n))}}(e)}function vz(e,t,n){e._addEL[t]=e._addEL[t].filter(function(e){return e!==n}),function(e){if(e._iL&&!vL(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}vD._pubkey=!0,vD.prototype={postMessage:function(e){if(this.closed)throw Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed");return vN(this,"message",e)},postInternal:function(e){return vN(this,"internal",e)},set onmessage(fn){var v$={time:this.method.microSeconds(),fn:fn};vz(this,"message",this._onML),fn&&"function"==typeof fn?(this._onML=v$,vF(this,"message",v$)):this._onML=null},addEventListener:function(e,t){vF(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){var n=this._addEL[e].find(function(e){return e.fn===t});vz(this,e,n)},close:function(){var e=this;if(!this.closed){this.closed=!0;var t=this._prepP?this._prepP:Promise.resolve();return this._onML=null,this._addEL.message=[],t.then(function(){return Promise.all(Array.from(e._uMP))}).then(function(){return Promise.all(e._befC.map(function(e){return e()}))}).then(function(){return e.method.close(e._state)})}},get type(){return this.method.type},get isClosed(){return this.closed}};var vU=0,vB=vm.GET_INIT_STATE="&_GET_INIT_STATE",vW=vm.SEND_INIT_STATE="&_SEND_INIT_STATE",vH=vm.RECEIVE_INIT_STATE="&_RECEIVE_INIT_STATE",vV=vm.INIT_MESSAGE_LISTENER="&_INIT_MESSAGE_LISTENER",vq={channel:"redux_state_sync",predicate:null,blacklist:[],whitelist:[],broadcastChannelOption:void 0,prepareState:function(e){return e},receiveState:function(e,t){return t}};function vY(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function vG(){return""+vY()+vY()+"-"+vY()+"-"+vY()+"-"+vY()+"-"+vY()+vY()+vY()}var vK=vm.WINDOW_STATE_SYNC_ID=vG();function vQ(e){return e.$uuid=vG(),e.$wuid=vK,e}function vX(e){var t=e.predicate,n=e.blacklist,r=e.whitelist,i=function(){return!0};return t&&"function"==typeof t?i=t:Array.isArray(n)?i=function(e){return 0>n.indexOf(e.type)}:Array.isArray(r)&&(i=function(e){return r.indexOf(e.type)>=0}),i}function vJ(e){var t=e.channel,n=e.dispatch,r=e.allowed,i=!1,o={};this.handleOnMessage=function(e){e.$wuid!==vK&&e.type!==vH&&e.$uuid&&e.$uuid!==vU&&(e.type!==vB||o[e.$wuid]?e.type!==vW||o[e.$wuid]?r(e)&&(vU=e.$uuid,n(Object.assign(e,{$isSync:!0}))):i||(i=!0,n({type:vH,payload:e.payload})):(o[e.$wuid]=!0,n({type:vW})))},this.messageChannel=t,this.messageChannel.onmessage=this.handleOnMessage}vm.createStateSyncMiddleware=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vq,t=vX(e),n=new vD(e.channel,e.broadcastChannelOption),r=e.prepareState||vq.prepareState,i=null;return function(e){var o=e.getState,a=e.dispatch;return function(e){return function(s){if(i||(i=new vJ({channel:n,dispatch:a,allowed:t})),s&&!s.$uuid){var l=vQ(s);vU=l.$uuid;try{if(s.type===vW)return o()&&(l.payload=r(o()),n.postMessage(l)),e(s);(t(l)||s.type===vB)&&n.postMessage(l)}catch(e){console.error("Your browser doesn't support cross tab communication")}}return e(Object.assign(s,{$isSync:void 0!==s.$isSync&&s.$isSync}))}}}};var vZ=vm.createReduxStateSync=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vq.receiveState;return function(n,r){var i=n;return r.type===vH&&(i=t(n,r.payload)),e(i,r)}};vm.withReduxStateSync=vZ,vm.initStateWithPrevTab=function(e){(0,e.dispatch)({type:vB})},vm.initMessageListener=function(e){(0,e.dispatch)({type:vV})};let v0=nh({widgetState:rn});var v1=(e,t)=>{let n={channel:e};t&&console.log(`Setting up store with channel ${e}`);let r=function(e){var t,n=function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=e.immutableCheck,i=void 0===r||r,o=e.serializableCheck,a=void 0===o||o,s=e.actionCreatorCheck,l=void 0===s||s,u=new nN;if(n&&(nH(n)?u.push(nv):u.push(nv.withExtraArgument(n.extraArgument))),i){var c,d,f,p,h,m,g,y={};nH(i)||(y=i),u.unshift((void 0===(c=y)&&(c={}),d=c.isImmutable,f=c.ignoredPaths,h=void 0===(p=c.warnAfter)?32:p,m=c.ignore,f=f||m,g=nU.bind(null,void 0===d?n$:d,f),function(e){var t,n=e.getState,r=n(),i=g(r);return function(e){return function(o){var a=nD(h,"ImmutableStateInvariantMiddleware");a.measureTime(function(){r=n(),t=i.detectMutations(),i=g(r),nz(!t.wasMutated,"A state mutation was detected between dispatches, in the path '"+(t.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var s=e(o);return a.measureTime(function(){var e,a,s,l;r=n(),t=i.detectMutations(),i=g(r),t.wasMutated&&nz(!t.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(t.path||"")+". Take a look at the reducer(s) handling the action "+JSON.stringify(o,(e=void 0,s=[],l=[],a=void 0,a=function(e,t){return s[0]===t?"[Circular ~]":"[Circular ~."+l.slice(0,s.indexOf(t)).join(".")+"]"},function(t,n){if(s.length>0){var r=s.indexOf(this);~r?s.splice(r+1):s.push(this),~r?l.splice(r,1/0,t):l.push(t),~s.indexOf(n)&&(n=a.call(this,t,n))}else s.push(n);return null==e?n:e.call(this,t,n)}),void 0)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),a.warnIfExceeded(),s}}}))}if(a){var v,b,w,x,_,S,k,E,T,C,R,O,I,A,j,P,M,D,N={};nH(a)||(N=a),u.push((void 0===(v=N)&&(v={}),w=void 0===(b=v.isSerializable)?nB:b,x=v.getEntries,S=void 0===(_=v.ignoredActions)?[]:_,E=void 0===(k=v.ignoredActionPaths)?["meta.arg","meta.baseQueryMeta"]:k,C=void 0===(T=v.ignoredPaths)?[]:T,O=void 0===(R=v.warnAfter)?32:R,A=void 0!==(I=v.ignoreState)&&I,P=void 0!==(j=v.ignoreActions)&&j,D=!(void 0!==(M=v.disableCache)&&M)&&WeakSet?new WeakSet:void 0,function(e){return function(t){return function(n){var r=t(n),i=nD(O,"SerializableStateInvariantMiddleware");return P||S.length&&-1!==S.indexOf(n.type)||i.measureTime(function(){var e=nW(n,"",w,x,E,D);e&&console.error("A non-serializable value was detected in an action, in the path: `"+e.keyPath+"`. Value:",e.value,"\nTake a look at the logic that dispatched this action: ",n,"\n(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)","\n(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)")}),A||(i.measureTime(function(){var t=nW(e.getState(),"",w,x,C,D);t&&console.error("A non-serializable value was detected in the state, in the path: `"+t.keyPath+"`. Value:",t.value,"\nTake a look at the reducer(s) handling this action type: "+n.type+".\n(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)")}),i.warnIfExceeded()),r}}}))}if(l){var L,F,z,$={};nH(l)||($=l),u.unshift((void 0===(L=$)&&(L={}),z=void 0===(F=L.isActionCreator)?nM:F,function(){return function(e){return function(t){if(z(t)){var n,r,i;console.warn((i=(r=(n=t.type)?(""+n).split("/"):[])[r.length-1]||"actionCreator",'Detected an action creator with type "'+(n||"unknown")+"\" being dispatched. \nMake sure you're calling the action creator before dispatching, i.e. `dispatch("+i+"())` instead of `dispatch("+i+")`. This is necessary even if the action has no payload."))}return e(t)}}}))}return u}(e)},r=e||{},i=r.reducer,o=void 0===i?void 0:i,a=r.middleware,s=void 0===a?n():a,l=r.devTools,u=void 0===l||l,c=r.preloadedState,d=r.enhancers,f=void 0===d?void 0:d;if("function"==typeof o)t=o;else if(nj(o))t=nh(o);else throw Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var p=s;if("function"==typeof p&&!Array.isArray(p=p(n)))throw Error("when using a middleware builder function, an array of middleware must be returned");if(p.some(function(e){return"function"!=typeof e}))throw Error("each middleware provided to configureStore must be a function");var h=ng.apply(void 0,p),m=nm;u&&(m=nA(nO({trace:!0},"object"==typeof u&&u)));var g=new nL(h),y=g;return Array.isArray(f)?y=nx([h],f):"function"==typeof f&&(y=f(g)),function e(t,n,r){if("function"==typeof n&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if("function"==typeof n&&void 0===r&&(r=n,n=void 0),void 0!==r){if("function"!=typeof r)throw Error("Expected the enhancer to be a function. Instead, received: '"+nf(r)+"'");return r(e)(t,n)}if("function"!=typeof t)throw Error("Expected the root reducer to be a function. Instead, received: '"+nf(t)+"'");var i,o=t,a=n,s=[],l=s,u=!1;function c(){l===s&&(l=s.slice())}function d(){if(u)throw Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function f(e){if("function"!=typeof e)throw Error("Expected the listener to be a function. Instead, received: '"+nf(e)+"'");if(u)throw Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var t=!0;return c(),l.push(e),function(){if(t){if(u)throw Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");t=!1,c();var n=l.indexOf(e);l.splice(n,1),s=null}}}function p(e){if(!nd(e))throw Error("Actions must be plain objects. Instead, the actual type was: '"+nf(e)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(void 0===e.type)throw Error('Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(u)throw Error("Reducers may not dispatch actions.");try{u=!0,a=o(a,e)}finally{u=!1}for(var t=s=l,n=0;n<t.length;n++)(0,t[n])();return e}return p({type:nc.INIT}),(i={dispatch:p,subscribe:f,getState:d,replaceReducer:function(e){if("function"!=typeof e)throw Error("Expected the nextReducer to be a function. Instead, received: '"+nf(e));o=e,p({type:nc.REPLACE})}})[nl]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error("Expected the observer to be an object. Instead, received: '"+nf(e)+"'");function t(){e.next&&e.next(d())}return t(),{unsubscribe:f(t)}}})[nl]=function(){return this},e},i}(t,void 0===c?void 0:c,m.apply(void 0,y))}({preloadedState:{widgetState:{...n2,channelName:e}},reducer:(0,vm.withReduxStateSync)(v0),middleware:e=>e().concat((0,vm.createStateSyncMiddleware)(n))});return(0,vm.initStateWithPrevTab)(r),r},ec=es("79wpy"),eh=es("4Up6t"),ec=es("79wpy");let v2=t$.div` position: fixed; bottom: 0; top: 0; width: 100%; z-index: 9999; -webkit-box-shadow: ${e=>e.theme.boxShadow}; box-shadow: ${e=>e.theme.boxShadow}; box-sizing: border-box; min-height: 308px; display: flex; flex-direction: column; background-color: ${e=>e.theme.windowBg}; transition: 0.1s opacity ease; opacity: ${e=>e.isOpen?"1":"0"}; visibility: ${e=>e.isOpen?"visible":"hidden"}; /* INLINE STYLES */ ${e=>"inline"===e.theme.chatType&&` @media (max-width: 490px) { left: 0px; height: 100%; } @media (min-width: 491px) { position: static; height: ${e.theme.chatInlineHeight}px; opacity: 1; visibility: visible; } ${!e.isOpen&&` @media (max-width: 490px) { height: 0; min-height: 0 }`} `} /* OVERLAY STYLES */ ${e=>"overlay"===e.theme.chatType&&` @media (max-width: 490px) { height: 100%; left: 0; } @media (min-width: 491px) { width: 400px; border-radius: 4px; width: 400px; height: 654px; max-height: calc(100vh - 160px); top: auto; bottom: ${e.theme.chatOuterSpacing+70}px; right: ${e.theme.chatOuterSpacing}px; ${"left"===e.theme.chatAlignment&&` left: ${e.theme.chatOuterSpacing}px; `}; } `}; `;t$.div` left: 20px; bottom: 20px; z-index: 9999; width: 300px; position: fixed; `;let v3=t$.div` display: none; `;function v4({frames:e,theme:t}){let n=tJ(e=>e.widgetState),r=tJ(e=>e.widgetState.isOpen),i=tJ(e=>e.widgetState.isFeaturesOpen);return(0,eu.jsxs)("div",{children:[(0,eu.jsxs)(v3,{children:[(0,eu.jsx)("h3",{style:{marginTop:"0px"},children:"Debug info"}),(0,eu.jsx)("h4",{children:"UI State (pushed from iframes):"}),(0,eu.jsxs)("ul",{children:[(0,eu.jsxs)("li",{children:["isOpen: ",r?"open":"closed"]}),(0,eu.jsxs)("li",{children:["isFeaturesOpen: ",i?"open":"closed"]})]}),(0,eu.jsx)("h4",{children:"Frames loaded:"}),(0,eu.jsx)("ul",{children:n3.map(e=>(0,eu.jsxs)("li",{children:[e,": ",n.loadedFrames[e]?"loaded":"pending"]},e))})]}),(0,eu.jsxs)(v3,{children:[(0,eu.jsx)(v2,{className:e.messages?.id,isOpen:r,chatType:t.chatType}),"overlay"===t.chatType&&(0,eu.jsx)(uT,{modal:!0,isFeaturesOpen:i,className:e.fqs?.id,children:"FQ window parent"}),"inline"===t.chatType&&(0,eu.jsx)(fO,{modal:!0,isFeaturesOpen:i,className:e.imt?.id,children:"Chat trigger inline parent"})]})]})}t$.div` position: fixed; left: 10px; bottom: 10px; border: 1px solid black; padding: 10px; padding-bottom: 0px; background-color: rgba(255, 255, 255, 0.2); `;var ec=(es("79wpy"),es("79wpy"));let v6=/^[a-z0-9]+(-[a-z0-9]+)*$/,v5=(e,t,n,r="")=>{let i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),o={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!v8(o)?null:o}let o=i[0],a=o.split("-");if(a.length>1){let e={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!v8(e)?null:e}if(n&&""===r){let e={provider:r,prefix:"",name:o};return t&&!v8(e,n)?null:e}return null},v8=(e,t)=>!!e&&!!((""===e.provider||e.provider.match(v6))&&(t&&""===e.prefix||e.prefix.match(v6))&&e.name.match(v6)),v9=Object.freeze({left:0,top:0,width:16,height:16}),v7=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),be=Object.freeze({...v9,...v7}),bt=Object.freeze({...be,body:"",hidden:!1});function bn(e,t){let n=function(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}(e,t);for(let r in bt)r in v7?r in e&&!(r in n)&&(n[r]=v7[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function br(e,t){let n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=function(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);return Object.keys(n).concat(Object.keys(r)).forEach(function e(t){if(n[t])return i[t]=[];if(!(t in i)){i[t]=null;let n=r[t]&&r[t].parent,o=n&&e(n);o&&(i[t]=[n].concat(o))}return i[t]}),i}(e);for(let i in r){let o=r[i];o&&(t(i,function(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),o={};function a(e){o=bn(r[e]||i[e],o)}return a(t),n.forEach(a),bn(e,o)}(e,i,o)),n.push(i))}return n}let bi={provider:"",aliases:{},not_found:{},...v9};function bo(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ba(e){if("object"!=typeof e||null===e||"string"!=typeof e.prefix||!e.icons||"object"!=typeof e.icons||!bo(e,bi))return null;let t=e.icons;for(let e in t){let n=t[e];if(!e.match(v6)||"string"!=typeof n.body||!bo(n,bt))return null}let n=e.aliases||Object.create(null);for(let e in n){let r=n[e],i=r.parent;if(!e.match(v6)||"string"!=typeof i||!t[i]&&!n[i]||!bo(r,bt))return null}return e}let bs=Object.create(null);function bl(e,t){let n=bs[e]||(bs[e]=Object.create(null));return n[t]||(n[t]={provider:e,prefix:t,icons:Object.create(null),missing:new Set})}function bu(e,t){return ba(t)?br(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}let bc=!1;function bd(e){return"boolean"==typeof e&&(bc=e),bc}let bf=Object.freeze({width:null,height:null}),bp=Object.freeze({...bf,...v7}),bh=/(-?[0-9.]*[0-9]+[0-9.]*)/g,bm=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function bg(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;let r=e.split(bh);if(null===r||!r.length)return e;let i=[],o=r.shift(),a=bm.test(o);for(;;){if(a){let e=parseFloat(o);isNaN(e)?i.push(o):i.push(Math.ceil(e*t*n)/n)}else i.push(o);if(void 0===(o=r.shift()))return i.join("");a=!a}}let by=e=>"unset"===e||"undefined"===e||"none"===e,bv=/\sid="(\S+)"/g,bb="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16),bw=0,bx=Object.create(null);function b_(e){return bx[e]||bx[""]}function bS(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(!((t=e.resources)instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}let bk=Object.create(null),bE=["https://api.simplesvg.com","https://api.unisvg.com"],bT=[];for(;bE.length>0;)1===bE.length?bT.push(bE.shift()):Math.random()>.5?bT.push(bE.shift()):bT.push(bE.pop());bk[""]=bS({resources:["https://api.iconify.design"].concat(bT)});let bC=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(e){}})();function bR(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}let bO=0;var bI={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function bA(e){let t={...bI,...e},n=[];function r(){n=n.filter(e=>"pending"===e().status)}return{query:function(e,i,o){let a=function(e,t,n,r){let i,o;let a=e.resources.length,s=e.random?Math.floor(Math.random()*a):e.index;if(e.random){let t=e.resources.slice(0);for(i=[];t.length>1;){let e=Math.floor(Math.random()*t.length);i.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}i=i.concat(t)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));let l=Date.now(),u="pending",c=0,d=null,f=[],p=[];function h(){d&&(clearTimeout(d),d=null)}function m(){"pending"===u&&(u="aborted"),h(),f.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),f=[]}function g(e,t){t&&(p=[]),"function"==typeof e&&p.push(e)}function y(){u="failed",p.forEach(e=>{e(void 0,o)})}function v(){f.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),f=[]}return"function"==typeof r&&p.push(r),setTimeout(function r(){if("pending"!==u)return;h();let a=i.shift();if(void 0===a){if(f.length){d=setTimeout(()=>{h(),"pending"===u&&(v(),y())},e.timeout);return}y();return}let s={status:"pending",resource:a,callback:(t,n)=>{!function(t,n,a){let s="success"!==n;switch(f=f.filter(e=>e!==t),u){case"pending":break;case"failed":if(s||!e.dataAfterTimeout)return;break;default:return}if("abort"===n){o=a,y();return}if(s){o=a,f.length||(i.length?r():y());return}if(h(),v(),!e.random){let n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}u="completed",p.forEach(e=>{e(a)})}(s,t,n)}};f.push(s),c++,d=setTimeout(r,e.rotate),n(a,t,s.callback)}),function(){return{startTime:l,payload:t,status:u,queriesSent:c,queriesPending:f.length,subscribe:g,abort:m}}}(t,e,i,(e,t)=>{r(),o&&o(e,t)});return n.push(a),a},find:function(e){return n.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}let bj=Object.create(null),bP="iconify2",bM="iconify",bD=bM+"-count",bN=bM+"-version";function bL(e,t){try{return e.getItem(t)}catch(e){}}function bF(e,t,n){try{return e.setItem(t,n),!0}catch(e){}}function bz(e,t){try{e.removeItem(t)}catch(e){}}function b$(e,t){return bF(e,bD,t.toString())}function bU(e){return parseInt(bL(e,bD))||0}let bB={local:!0,session:!0},bW={local:new Set,session:new Set},bH=!1,bV="undefined"==typeof window?{}:window;function bq(e){let t=e+"Storage";try{if(bV&&bV[t]&&"number"==typeof bV[t].length)return bV[t]}catch(e){}bB[e]=!1}function bY(e,t){let n=bq(e);if(!n)return;let r=bL(n,bN);if(r!==bP){if(r){let e=bU(n);for(let t=0;t<e;t++)bz(n,bM+t.toString())}bF(n,bN,bP),b$(n,0);return}let i=Math.floor(Date.now()/36e5)-168,o=e=>{let r=bM+e.toString(),o=bL(n,r);if("string"==typeof o){try{let n=JSON.parse(o);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>i&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&t(n,e))return!0}catch(e){}bz(n,r)}},a=bU(n);for(let t=a-1;t>=0;t--)o(t)||(t===a-1?b$(n,--a):bW[e].add(t))}function bG(){if(!bH)for(let e in bH=!0,bB)bY(e,e=>{let t=e.data,n=bl(e.provider,t.prefix);if(!bu(n,t).length)return!1;let r=t.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,r):r,!0})}function bK(){}let bQ=(e,t)=>{let n,r;let i=function(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name));let r={provider:"",prefix:"",name:""};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,o=e.prefix,a=e.name,s=n[i]||(n[i]=Object.create(null)),l=s[o]||(s[o]=bl(i,o));(a in l.icons?t.loaded:""===o||l.missing.has(a)?t.missing:t.pending).push({provider:i,prefix:o,name:a})}),t}(function(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i="string"==typeof e?v5(e,t,n):e;i&&r.push(i)}),r}(e,!0,bd()));if(!i.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(i.loaded,i.missing,i.pending,bK)}),()=>{e=!1}}let o=Object.create(null),a=[];return i.pending.forEach(e=>{let{provider:t,prefix:i}=e;if(i===r&&t===n)return;n=t,r=i,a.push(bl(t,i));let s=o[t]||(o[t]=Object.create(null));s[i]||(s[i]=[])}),i.pending.forEach(e=>{let{provider:t,prefix:n,name:r}=e,i=bl(t,n),a=i.pendingIcons||(i.pendingIcons=new Set);a.has(r)||(a.add(r),o[t][n].push(r))}),a.forEach(e=>{let{provider:t,prefix:n}=e;if(o[t][n].length){var r;r=o[t][n],e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(r).sort():e.iconsToLoad=r,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{let t;e.iconsQueueFlag=!1;let{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad,i&&(t=b_(n))&&t.prepare(n,r,i).forEach(t=>{!function(e,t,n){let r,i;if("string"==typeof e){let t=b_(e);if(!t)return n(void 0,424);i=t.send;let o=function(e){if(!bj[e]){let t=bk[e];if(!t)return;let n=bA(t);bj[e]={config:t,redundancy:n}}return bj[e]}(e);o&&(r=o.redundancy)}else{let t=bS(e);if(t){r=bA(t);let n=b_(e.resources?e.resources[0]:"");n&&(i=n.send)}}r&&i?r.query(t,i,n)().abort:n(void 0,424)}(n,t,n=>{if("object"!=typeof n)t.icons.forEach(t=>{e.missing.add(t)});else try{let t=bu(e,n);if(!t.length)return;let r=e.pendingIcons;r&&t.forEach(e=>{r.delete(e)}),function(e,t){function n(n){let r,i;if(!bB[n]||!(r=bq(n)))return;let o=bW[n];if(o.size)o.delete(i=Array.from(o).shift());else if(i=bU(r),!b$(r,i+1))return;let a={cached:Math.floor(Date.now()/36e5),provider:e.provider,data:t};return bF(r,bM+i.toString(),JSON.stringify(a))}bH||bG(),(!t.lastModified||function(e,t){let n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(let n in bB)bY(n,n=>{let r=n.data;return n.provider!==e.provider||r.prefix!==e.prefix||r.lastModified===t});return!0}(e,t.lastModified))&&Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}(e,n)}catch(e){console.error(e)}e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let o=t.icons,a=o.pending.length;o.pending=o.pending.filter(t=>{if(t.prefix!==i)return!0;let a=t.name;if(e.icons[a])o.loaded.push({provider:r,prefix:i,name:a});else{if(!e.missing.has(a))return n=!0,!0;o.missing.push({provider:r,prefix:i,name:a})}return!1}),o.pending.length!==a&&(n||bR([e],t.id),t.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),t.abort))})}))}))})})}))}}),t?function(e,t,n){let r=bO++,i=bR.bind(null,n,r);if(!t.pending.length)return i;let o={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(o)}),i}(t,i,a):bK},bX=/[\s,]+/,bJ={...bp,inline:!1},bZ={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},b0={display:"inline-block"},b1={backgroundColor:"currentColor"},b2={backgroundColor:"transparent"},b3={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},b4={WebkitMask:b1,mask:b1,background:b2};for(let e in b4){let t=b4[e];for(let n in b3)t[e+n]=b3[n]}let b6={...bJ,inline:!0};function b5(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}let b8=(e,t,n,r)=>{let i=n?b6:bJ,o=function(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in bf?(null===r||r&&("string"===i||"number"===i))&&(n[e]=r):i===typeof n[e]&&(n[e]="rotate"===e?r%4:r)}return n}(i,t),a=t.mode||"svg",s={},l=t.style||{},u={..."svg"===a?bZ:{},ref:r};for(let e in t){let n=t[e];if(void 0!==n)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":o[e]=!0===n||"true"===n||1===n;break;case"flip":"string"==typeof n&&function(e,t){t.split(bX).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}(o,n);break;case"color":s.color=n;break;case"rotate":"string"==typeof n?o[e]=function(e,t=0){let n=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===n){let t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t)%1==0?r(i):0}}return t}(n):"number"==typeof n&&(o[e]=n);break;case"ariaHidden":case"aria-hidden":!0!==n&&"true"!==n&&delete u["aria-hidden"];break;default:void 0===i[e]&&(u[e]=n)}}let c=function(e,t){let n,r;let i={...be,...e},o={...bp,...t},a={left:i.left,top:i.top,width:i.width,height:i.height},s=i.body;[i,o].forEach(e=>{let t;let n=[],r=e.hFlip,i=e.vFlip,o=e.rotate;switch(r?i?o+=2:(n.push("translate("+(a.width+a.left).toString()+" "+(0-a.top).toString()+")"),n.push("scale(-1 1)"),a.top=a.left=0):i&&(n.push("translate("+(0-a.left).toString()+" "+(a.height+a.top).toString()+")"),n.push("scale(1 -1)"),a.top=a.left=0),o<0&&(o-=4*Math.floor(o/4)),o%=4){case 1:n.unshift("rotate(90 "+(t=a.height/2+a.top).toString()+" "+t.toString()+")");break;case 2:n.unshift("rotate(180 "+(a.width/2+a.left).toString()+" "+(a.height/2+a.top).toString()+")");break;case 3:n.unshift("rotate(-90 "+(t=a.width/2+a.left).toString()+" "+t.toString()+")")}o%2==1&&(a.left!==a.top&&(t=a.left,a.left=a.top,a.top=t),a.width!==a.height&&(t=a.width,a.width=a.height,a.height=t)),n.length&&(s='<g transform="'+n.join(" ")+'">'+s+"</g>")});let l=o.width,u=o.height,c=a.width,d=a.height;null===l?n=bg(r=null===u?"1em":"auto"===u?d:u,c/d):(n="auto"===l?c:l,r=null===u?bg(n,d/c):"auto"===u?d:u);let f={},p=(e,t)=>{by(t)||(f[e]=t.toString())};return p("width",n),p("height",r),f.viewBox=a.left.toString()+" "+a.top.toString()+" "+c.toString()+" "+d.toString(),{attributes:f,body:s}}(e,o),d=c.attributes;if(o.inline&&(s.verticalAlign="-0.125em"),"svg"===a){var f;u.style={...s,...l},Object.assign(u,d);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),u.dangerouslySetInnerHTML={__html:(f=function(e,t=bb){let n;let r=[];for(;n=bv.exec(e);)r.push(n[1]);if(!r.length)return e;let i="suffix"+(16777216*Math.random()|Date.now()).toString(16);return r.forEach(n=>{let r="function"==typeof t?t(n):t+(bw++).toString(),o=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(RegExp('([#;"])('+o+')([")]|\\.[a-z])',"g"),"$1"+r+i+"$3")}),e=e.replace(RegExp(i,"g"),"")}(c.body,n?()=>n+"ID"+e++:"iconifyReact"),void 0===b&&function(){try{b=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch(e){b=null}}(),b?b.createHTML(f):f)},ei(ec).createElement("svg",u)}let{body:p,width:h,height:m}=e,g="mask"===a||"bg"!==a&&-1!==p.indexOf("currentColor"),y=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(p,{...d,width:h+"",height:m+""});return u.style={...s,"--svg":'url("data:image/svg+xml,'+y.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")+'")',width:b5(d.width),height:b5(d.height),...b0,...g?b1:b2,...l},ei(ec).createElement("span",u)};if(bd(!0),F={prepare:(e,t,n)=>{let r=[],i=function(e,t){let n;let r=bk[e];if(!r)return 0;if(r.maxURL){let e=0;r.resources.forEach(t=>{e=Math.max(e,t.length)}),n=r.maxURL-e-r.path.length-(t+".json?icons=").length}else n=0;return n}(e,t),o="icons",a={type:o,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,l)=>{(s+=n.length+1)>=i&&l>0&&(r.push(a),a={type:o,provider:e,prefix:t,icons:[]},s=n.length),a.icons.push(n)}),r.push(a),r},send:(e,t,n)=>{if(!bC){n("abort",424);return}let r=function(e){if("string"==typeof e){let t=bk[e];if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":r+=t.prefix+".json?"+new URLSearchParams({icons:t.icons.join(",")}).toString();break;case"custom":{let e=t.uri;r+="/"===e.slice(0,1)?e.slice(1):e;break}default:n("abort",400);return}let i=503;bC(e+r).then(e=>{let t=e.status;if(200!==t){setTimeout(()=>{n(404===t?"abort":"next",t)});return}return i=501,e.json()}).then(e=>{if("object"!=typeof e||null===e){setTimeout(()=>{404===e?n("abort",e):n("next",i)});return}setTimeout(()=>{n("success",e)})}).catch(()=>{n("next",i)})}},bx[""]=F,"undefined"!=typeof document&&"undefined"!=typeof window){bG();let e=window;if(void 0!==e.IconifyPreload){let t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!function(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),bc&&!t&&!e.prefix){let t=!1;return ba(e)&&(e.prefix="",br(e,(e,n)=>{n&&function(e,t){let n=v5(e,!0,bc);return!!n&&function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch(e){}return!1}(bl(n.provider,n.prefix),n.name,t)}(e,n)&&(t=!0)})),t}let n=e.prefix;return!!v8({provider:t,prefix:n,name:"a"})&&!!bu(bl(t,n),e)}(e))&&console.error(n)}catch(e){console.error(n)}})}if(void 0!==e.IconifyProviders){let t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){let n="IconifyProviders["+e+"] is invalid.";try{let r=t[e];if("object"!=typeof r||!r||void 0===r.resources)continue;!function(e,t){let n=bS(t);return null!==n&&(bk[e]=n,!0)}(e,r)&&console.error(n)}catch(e){console.error(n)}}}}class b9 extends ei(ec).Component{constructor(e){super(e),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(e){this.state.icon!==e&&this.setState({icon:e})}_checkIcon(e){let t;let n=this.state,r=this.props.icon;if("object"==typeof r&&null!==r&&"string"==typeof r.body){this._icon="",this._abortLoading(),(e||null===n.icon)&&this._setData({data:r});return}if("string"!=typeof r||null===(t=v5(r,!1,!0))){this._abortLoading(),this._setData(null);return}let i=function(e){let t="string"==typeof e?v5(e,!0,bc):e;if(t){let e=bl(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}(t);if(!i){this._loading&&this._loading.name===r||(this._abortLoading(),this._icon="",this._setData(null),null!==i&&(this._loading={name:r,abort:bQ([t],this._checkIcon.bind(this,!1))}));return}if(this._icon!==r||null===n.icon){this._abortLoading(),this._icon=r;let e=["iconify"];""!==t.prefix&&e.push("iconify--"+t.prefix),""!==t.provider&&e.push("iconify--"+t.provider),this._setData({data:i,classes:e}),this.props.onLoad&&this.props.onLoad(r)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(e){e.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){let e=this.props,t=this.state.icon;if(null===t)return e.children?e.children:ei(ec).createElement("span",{});let n=e;return t.classes&&(n={...e,className:("string"==typeof e.className?e.className+" ":"")+t.classes.join(" ")}),b8({...be,...t.data},n,e._inline,e._ref)}}let b7=ei(ec).forwardRef(function(e,t){let n={...e,_ref:t,_inline:!1};return ei(ec).createElement(b9,n)});ei(ec).forwardRef(function(e,t){let n={...e,_ref:t,_inline:!0};return ei(ec).createElement(b9,n)});let we=t$.div` position: fixed; left: 0px; top: 0px; z-index: 2147482998; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.3); `,wt=t$.div` overscroll-behavior: contain; left: 0px; top: calc(100vh / 2 - 600px / 2); z-index: 2147482999; width: 100%; position: fixed; background-color: white; height: 600px; max-height: calc(100vh - 60px); max-height: calc(100svh - 60px); @media (min-width: 1200px) { max-width: 1200px; left: calc(100% / 2 - 1200px / 2); } box-sizing: border-box; @media (min-width: 491px) and (max-height: 660px) { top: 5px; max-height: calc(100vh - 20px); } @media (max-width: 490px) { top: 0px; height: 100vh; max-height: 100dvh; height: 100dvh; } padding-top: 38px; background-color: #2a2a2a; `,wn=t$.div` position: absolute; right: -6px; top: 4px; width: 40px; height: 40px; // background-color: blue; z-index: 9999; cursor: pointer; `,wr=t$.div` overflow: hidden; height: 100%; iframe { margin-top: -50px; height: calc(100% + 50px); width: 100%; border: 0; } // border: 1px solid red; `;function wi(e){let[t,n]=(0,ec.useState)(!1),r=(0,ec.useCallback)(e=>{n(!0)},[]);return(0,ec.useEffect)(()=>(document.addEventListener("show-42q-chat",r),()=>{document.removeEventListener("show-42q-chat",r)}),[r]),(0,eu.jsx)(eu.Fragment,{children:t&&(0,eu.jsx)(we,{onClick:e=>{e.preventDefault()},children:(0,eu.jsxs)(wt,{children:[(0,eu.jsx)(wr,{children:(0,eu.jsx)("iframe",{src:"https://go.crisp.chat/chat/embed/?website_id=4eac88ef-4a83-4875-8139-ad89345a7647"})}),(0,eu.jsx)(wn,{tabindex:1,onClick:()=>n(!1),children:(0,eu.jsx)(b7,{icon:"material-symbols:close",width:30,style:{color:"white"}})})]})})})}let wo=new Date().toISOString().split("T")[0],wa=aP(),ws=(e,t,n,r)=>{let i=`42q__mock_app_id_${wo}_${n.appId}${aP()}`;if(e&&console.log("Chat status",n.active,n.activeCreditSubscription),!("demo"===r||n.active&&n.activeCreditSubscription)&&"overlay"===n.chatType){console.log("Chat not active, not showing");return}n.previewChatMode=r;let o=v1(i+"__parent");ua(o),e&&console.log("Talking on channel",i),e&&console.log("Current script",t);let a=document.querySelector("div.widget_42q");if(a&&(a.innerHTML=""),a&&(a.style="font-size: 0 !important;"),!a&"inline"===n.chatType)throw console.log("42q error: Incorrect setup. Please make sure a div with class widget_42q is present when using the inline version of the chat widget."),Error("Missing div with a class widget_42q");let s=aW(a$,n),l=t.src;e&&console.log("Widget script source:",l),window.addEventListener("message",function(t){let r=t.data;if(r.channelName===i){if(e&&console.log("Message received from the child: ",r),"isOpen"===r.name)o.dispatch(n6(r.data));else if("isFeaturesOpen"===r.name)o.dispatch(n5(r.data));else if("frameLoaded"===r.name)o.dispatch(n8(r.data)),c();else if("frameSize"===r.name)o.dispatch(n7(r.data));else if("open42QChat"===r.name)document.dispatchEvent(new Event("show-42q-chat"));else if("settingsRequest"===r.name){let t=u[r.mode];e&&console.log("Sending message to the child...",r.mode,t.contentWindow),t.contentWindow.postMessage({name:"settings",channelName:i,data:n},"*")}else throw Error(`Invalid payload ${r.name}`)}});let u={messages:aF("messages",i,n.chatType,l,wa,"inline"===n.chatType?a:null,r,e)};"overlay"===n.chatType?(u.trigger=aF("trigger",i,n.chatType,l,wa,null,r,e),!0===n.showQuestions&&(u.fqs=aF("fqs",i,n.chatType,l,wa,a,r,e))):u.imt=aF("imt",i,n.chatType,l,wa,a,r,e),document.addEventListener("42qchat-command-open",()=>{for(let[e,t]of Object.entries(u))t.contentWindow.postMessage({name:"command-open",channelName:i,data:{}},"*")});let c=(0,eh.throttle)(()=>{let e={width:window.innerWidth,height:window.innerHeight};for(let[t,n]of Object.entries(u))n.contentWindow.postMessage({name:"window_size",channelName:i,data:e},"*")},150),d=(0,eh.throttle)(aK(u,s,o,e),150),f=(0,eh.debounce)(d,200);new ResizeObserver((0,eh.throttle)(t=>{0!==t.length&&(c(),e&&console.log("Window width",window.innerWidth),window.requestAnimationFrame(f))},100)).observe(document.body),c(),o.subscribe(d),d();let p=document.createElement("div");document.body.appendChild(p),ei(ed).createRoot(p).render((0,eu.jsx)(ei(ec).StrictMode,{children:(0,eu.jsxs)(t2,{store:o,children:[(0,eu.jsx)(wi,{}),(0,eu.jsx)(fY,{frameMode:"master",theme:s,children:(0,eu.jsx)(v4,{frames:u,theme:s})})]})}))};!function(e={}){var t;void 0===e.defaultIntegrations&&(e.defaultIntegrations=[...mN]),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),iv.SENTRY_RELEASE&&iv.SENTRY_RELEASE.id&&(e.release=iv.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0),function(e,t){!0===t.debug&&(i7?iF.enable():iL(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),oJ().update(t.initialScope);let n=new e(t);(function(e){let t=oD().getStackTop();t.client=e,t.scope.setClient(e)})(n),n.init?n.init():n.setupIntegrations&&n.setupIntegrations()}(h0,{...e,stackParser:Array.isArray(t=e.stackParser||mR)?oU(...t):t,integrations:function(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r=function(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.keys(t).map(e=>t[e])}(Array.isArray(n)?[...t,...n]:"function"==typeof n?i8(n(t)):t),i=function(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return -1}(r,e=>"Debug"===e.name);if(-1!==i){let[e]=r.splice(i,1);r.push(e)}return r}(e),transport:e.transport||(hr()?mM:mD)}),e.autoSessionTracking&&function(){if(void 0===iv.document){hV&&iF.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}oZ({ignoreDuration:!0}),o2(),pR(({from:e,to:t})=>{void 0!==e&&e!==t&&(oZ({ignoreDuration:!0}),o2())})}()}({dsn:"https://d111a72ff9dbf43ece84ba8523041726@o26269.ingest.sentry.io/4506825329541120",integrations:[((e={})=>{let t=!!pI&&!!(e.tracePropagationTargets||e.tracingOrigins);!function(){let e=oP();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=pT),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=pE),po||(po=!0,f7(pa),pn(pa)))}(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);let n={...hg,...e},r=function(){let e=p9();if(e&&iU){e.mark&&iv.performance.mark("sentry-tracing-init");let t=p2("fid",({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let n=p8(iU),r=p8(t.startTime);pI&&iF.log("[Measurements] Adding FID"),he.fid={value:e.value,unit:"millisecond"},he["mark.fid"]={value:n+r,unit:"second"}},p0,o),n=function(e,t=!1){return p2("cls",e,pZ,i,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(pI&&iF.log("[Measurements] Adding CLS"),he.cls={value:e.value,unit:""},l=t)},!0),r=pQ(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(pI&&iF.log("[Measurements] Adding LCP"),he.lcp={value:e.value,unit:"millisecond"},s=t)},!0);return()=>{t(),n(),r()}}return()=>void 0}();n.enableLongTask&&pX("longtask",({entries:e})=>{for(let t of e){let e=pi();if(!e)return;let n=p8(iU+t.startTime),r=p8(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r})}}),n._experiments.enableInteractions&&pX("event",({entries:e})=>{for(let t of e){let e=pi();if(!e)return;if("click"===t.name){let n=p8(iU+t.startTime),r=p8(t.duration),i={description:iB(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r},o=iW(t.target);o&&(i.attributes={"ui.component_name":o}),e.startChild(i)}}});let a={name:void 0,source:void 0};function u(e){let t;let i=oD(),{beforeStartSpan:o,idleTimeout:u,finalTimeout:c,heartbeatInterval:d}=n,f="pageload"===e.op;if(f){let{traceId:n,dsc:r,parentSpanId:i,sampled:o}=function(e,t){let n=function(e){let t;if(!e)return;let n=e.match(om);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}(e),r=function(e){if(!iE(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((e,t)=>{let n=oh(t);for(let t of Object.keys(n))e[t]=n[t];return e},{});else{if(!e)return;t=oh(e)}let n=Object.entries(t).reduce((e,[t,n])=>(t.match(of)&&(e[t.slice(od.length)]=n),e),{});return Object.keys(n).length>0?n:void 0}(t),{traceId:i,parentSpanId:o,parentSampled:a}=n||{};return n?{traceId:i||i1(),parentSpanId:o||i1().substring(16),spanId:i1().substring(16),sampled:a,dsc:r||{}}:{traceId:i||i1(),spanId:i1().substring(16)}}(f?hy("sentry-trace"):"",f?hy("baggage"):void 0);t={traceId:n,parentSpanId:i,parentSampled:o,...e,metadata:{...e.metadata,dynamicSamplingContext:r},trimEnd:!0}}else t={trimEnd:!0,...e};let p=o?o(t):t;p.metadata=p.name!==t.name?{...p.metadata,source:"custom"}:p.metadata,a.name=p.name,a.source=function(e){let t=e.attributes&&e.attributes[pp],n=e.data&&e.data[pp],r=e.metadata&&e.metadata.source;return t||n||r}(p),!1===p.sampled&&pI&&iF.log(`[Tracing] Will not send ${p.op} transaction because of beforeNavigate.`),pI&&iF.log(`[Tracing] Starting ${p.op} transaction on scope`);let{location:h}=iv,m=pC(i,p,u,c,!0,{location:h},d,f);return f&&iv.document&&(iv.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(iv.document.readyState)&&m.sendAutoFinishSignal()}),["interactive","complete"].includes(iv.document.readyState)&&m.sendAutoFinishSignal()),m.registerBeforeFinishCallback(e=>{r(),function(e){let t,n;let r=p9();if(!r||!iv.performance.getEntries||!iU)return;pI&&iF.log("[Tracing] Adding & adjusting spans using Performance API");let i=p8(iU),o=r.getEntries(),{op:a,start_timestamp:u}=ox(e);if(o.slice(p7).forEach(r=>{let o=p8(r.startTime),a=p8(r.duration);if("navigation"!==e.op||!u||!(i+o<u))switch(r.entryType){case"navigation":["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(t=>{ht(e,r,t,i)}),ht(e,r,"secureConnection",i,"TLS/SSL","connectEnd"),ht(e,r,"fetch",i,"cache","domainLookupStart"),ht(e,r,"domainLookup",i,"DNS"),r.responseEnd&&(p5(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:i+p8(r.requestStart),endTimestamp:i+p8(r.responseEnd)}),p5(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:i+p8(r.responseStart),endTimestamp:i+p8(r.responseEnd)})),t=i+p8(r.responseStart),n=i+p8(r.requestStart);break;case"mark":case"paint":case"measure":{(function(e,t,n,r,i){let o=i+n;p5(e,{description:t.name,endTimestamp:o+r,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o})})(e,r,o,a,i);let t=pH(),n=r.startTime<t.firstHiddenTime;"first-paint"===r.name&&n&&(pI&&iF.log("[Measurements] Adding FP"),he.fp={value:r.startTime,unit:"millisecond"}),"first-contentful-paint"===r.name&&n&&(pI&&iF.log("[Measurements] Adding FCP"),he.fcp={value:r.startTime,unit:"millisecond"});break}case"resource":(function(e,t,n,r,i,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let a=pA(n),s={};hn(s,t,"transferSize","http.response_transfer_size"),hn(s,t,"encodedBodySize","http.response_content_length"),hn(s,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(s["resource.render_blocking_status"]=t.renderBlockingStatus),a.protocol&&(s["url.scheme"]=a.protocol.split(":").pop()),a.host&&(s["server.address"]=a.host),s["url.same_origin"]=n.includes(iv.location.origin);let l=o+r;p5(e,{description:n.replace(iv.location.origin,""),endTimestamp:l+i,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:l,data:s})})(e,r,r.name,o,a,i)}}),p7=Math.max(o.length-1,0),function(e){let t=iv.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),p6(n.rtt)&&(he["connection.rtt"]={value:n.rtt,unit:"millisecond"})),p6(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),p6(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===a){var c,d,f;c=he,d=t,f=n,"number"==typeof d&&u&&(pI&&iF.log("[Measurements] Adding TTFB"),c.ttfb={value:1e3*Math.max(d-u,0),unit:"millisecond"},"number"==typeof f&&f<=d&&(c["ttfb.requestTime"]={value:(d-f)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(e=>{if(!he[e]||!u||i>=u)return;let t=he[e].value,n=Math.abs((i+p8(t)-u)*1e3),r=n-t;pI&&iF.log(`[Measurements] Normalized ${e} from ${t} to ${n} (${r})`),he[e].value=n});let r=he["mark.fid"];r&&he.fid&&(p5(e,{description:"first input delay",endTimestamp:r.value+p8(he.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:r.value}),delete he["mark.fid"]),"fcp"in he||delete he.cls,Object.keys(he).forEach(e=>{!function(e,t,n){let r=pi();r&&r.setMeasurement(e,t,n)}(e,he[e].value,he[e].unit)}),s&&(pI&&iF.log("[Measurements] Adding LCP Data"),s.element&&e.setTag("lcp.element",iB(s.element)),s.id&&e.setTag("lcp.id",s.id),s.url&&e.setTag("lcp.url",s.url.trim().slice(0,200)),e.setTag("lcp.size",s.size)),l&&l.sources&&(pI&&iF.log("[Measurements] Adding CLS Data"),l.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,iB(t.node))))}s=void 0,l=void 0,he={}}(e)}),m}return{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){let r;let i=e.getOptions(),{markBackgroundSpan:o,traceFetch:s,traceXHR:l,shouldCreateSpanForRequest:c,enableHTTPTimings:d,_experiments:f}=n,p=i&&i.tracePropagationTargets,h=p||n.tracePropagationTargets;pI&&t&&p&&iF.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let m=iv.location&&iv.location.href;e.on&&(e.on("startNavigationSpan",e=>{r&&(pI&&iF.log(`[Tracing] Finishing current transaction with op: ${ox(r).op}`),r.end()),r=u({op:"navigation",...e})}),e.on("startPageLoadSpan",e=>{r&&(pI&&iF.log(`[Tracing] Finishing current transaction with op: ${ox(r).op}`),r.end()),r=u({op:"pageload",...e})})),n.instrumentPageLoad&&e.emit&&iv.location&&function(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);let n=pu();n&&ox(n).op}(e,{name:iv.location.pathname,startTimestamp:iU?iU/1e3:void 0,origin:"auto.pageload.browser",attributes:{[pp]:"url"}}),n.instrumentNavigation&&e.emit&&iv.location&&pR(({to:t,from:n})=>{if(void 0===n&&m&&-1!==m.indexOf(t)){m=void 0;return}n!==t&&(m=void 0,function(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);let n=pu();n&&ox(n).op}(e,{name:iv.location.pathname,origin:"auto.navigation.browser",attributes:{[pp]:"url"}}))}),o&&(iv&&iv.document?iv.document.addEventListener("visibilitychange",()=>{let e=pi();if(iv.document.hidden&&e){let t="cancelled",{op:n,status:r}=ox(e);pI&&iF.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}}):pI&&iF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),f.enableInteractions&&function(e,t){let n;let r=()=>{let{idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=e,a="ui.action.click",s=pi();if(s&&s.op&&["navigation","pageload"].includes(s.op)){pI&&iF.warn(`[Tracing] Did not create ${a} transaction because a pageload or navigation transaction is in progress.`);return}if(n&&(n.setFinishReason("interactionInterrupted"),n.end(),n=void 0),!t.name){pI&&iF.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}let{location:l}=iv,u={name:t.name,op:a,trimEnd:!0,data:{[pp]:t.source||"url"}};n=pC(oD(),u,r,i,!0,{location:l},o)};["click"].forEach(e=>{addEventListener(e,r,{once:!1,capture:!0})})}(n,a),function(e){let{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:o,enableHTTPTimings:a}={traceFetch:hp.traceFetch,traceXHR:hp.traceXHR,...e},s="function"==typeof o?o:e=>!0,l=e=>iq(e,r||i||hf),u={};t&&ho(e=>{let t=function(e,t,n,r,i="auto.http.browser"){if(!ps()||!e.fetchData)return;let o=t(e.fetchData.url);if(e.endTimestamp&&o){let t=e.fetchData.__span;if(!t)return;let n=r[t];if(n){if(e.response){py(n,e.response.status);let t=e.response&&e.response.headers&&e.response.headers.get("content-length");if(t){let e=parseInt(t);e>0&&n.setAttribute("http.response_content_length",e)}}else e.error&&n.setStatus("internal_error");n.end(),delete r[t]}return}let a=oJ(),s=oX(),{method:l,url:u}=e.fetchData,c=o?pl({name:`${l} ${u}`,onlyIfParent:!0,attributes:{url:u,type:"fetch","http.method":l,[pg]:i},op:"http.client"}):void 0;if(c&&(e.fetchData.__span=c.spanContext().spanId,r[c.spanContext().spanId]=c),n(e.fetchData.url)&&s){let t=e.args[0];e.args[1]=e.args[1]||{};let n=e.args[1];n.headers=function(e,t,n,r,i){let o=i||n.getSpan(),{traceId:a,spanId:s,sampled:l,dsc:u}={...oN().getPropagationContext(),...n.getPropagationContext()},c=o?ov(o):og(a,s,l),d=op(u||(o?ok(o):oS(a,t,n))),f=r.headers||("undefined"!=typeof Request&&ij(e,Request)?e.headers:void 0);if(!f)return{"sentry-trace":c,baggage:d};if("undefined"!=typeof Headers&&ij(f,Headers)){let e=new Headers(f);return e.append("sentry-trace",c),d&&e.append(oc,d),e}if(Array.isArray(f)){let e=[...f,["sentry-trace",c]];return d&&e.push([oc,d]),e}{let e="baggage"in f?f.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),d&&t.push(d),{...f,"sentry-trace":c,baggage:t.length>0?t.join(","):void 0}}}(t,s,a,n,c)}return c}(e,s,l,u);a&&t&&hh(t)}),n&&hc(e=>{let t=function(e,t,n,r){let i=e.xhr,o=i&&i[hu];if(!ps()||!i||i.__sentry_own_request__||!o)return;let a=t(o.url);if(e.endTimestamp&&a){let e=i.__sentry_xhr_span_id__;if(!e)return;let t=r[e];t&&void 0!==o.status_code&&(py(t,o.status_code),t.end(),delete r[e]);return}let s=oJ(),l=oN(),u=a?pl({name:`${o.method} ${o.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":o.method,url:o.url,[pg]:"auto.http.browser"},op:"http.client"}):void 0;u&&(i.__sentry_xhr_span_id__=u.spanContext().spanId,r[i.__sentry_xhr_span_id__]=u);let c=oX();if(i.setRequestHeader&&n(o.url)&&c){let{traceId:e,spanId:t,sampled:n,dsc:r}={...l.getPropagationContext(),...s.getPropagationContext()};(function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(oc,n)}catch(e){}})(i,u?ov(u):og(e,t,n),op(r||(u?ok(u):oS(e,c,s))))}return u}(e,s,l,u);a&&t&&hh(t)})}({traceFetch:s,traceXHR:l,tracePropagationTargets:h,shouldCreateSpanForRequest:c,enableHTTPTimings:d})},options:n}})(),new vp({maskAllText:!1,blockAllMedia:!1})],tracesSampleRate:0,replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1});let wl=aA(),wu=window.location!==window.parent.location,wc=document.querySelector('meta[name="42q-iframed"]')?.content==="true",wd=new URLSearchParams(window.location.search),wf=["w","y","42q-widget-dev.vercel.app","42q-widget.vercel.app","widget.42q.ai","localhost","widget.42q.local","widget.42q-dev.framewurk.io"],wp=e=>new Promise((t,n)=>{let r=new Image;r.src=e,r.onload=()=>t(r),r.onerror=n}),wh=async e=>{try{await Promise.all(e.map(e=>{if(e)return wp(e)})),wl&&console.log("All images have been preloaded")}catch(e){console.error("An error occurred while preloading images",e)}};if(document.currentScript&&document.currentScript.src&&!wc){let e=document.currentScript,t=window.fourtyTwoWidgetSettings?.appId,n=window.fourtyTwoWidgetSettings?.chatType,r="demo"===wd.get("mode")&&wf.includes(window.location.hostname)?"demo":"live";if(us.settings(t,wl).then(t=>{wl&&console.log("Loaded settings",t),ws(wl,e,{...t,chatType:n},r)}).catch(e=>{console.log(`ERROR WHEN FETCHING SETTINGS FOR ${t}`,e)}),!t)throw Error("fourtyTwoWidgetSettings appId not found")}else if(wc&&wu){wl&&console.log("Framed load");let e=document.querySelector('meta[name="42q-channel"]').content;wl&&console.log("Talking on channel",e);let t=v1(e,wl);ua(t);let n=ei(ed).createRoot(document.getElementById("root")),r=document.querySelector('meta[name="42q-mode"]').content,i=!1;window.addEventListener("message",function(o){let a=o.data;if(a.channelName===e){if(wl&&console.log("Message received from the parent: ",a),"settings"===a.name){if(i)return;i=!0,wl&&console.log("Setting up settings...",a);let o=()=>{let i=aW(a$,s);wl&&console.log(`Child ${r} theme`,i);let o=aY(t);if(n3.includes(r))n.render((0,eu.jsx)(ei(ec).StrictMode,{children:(0,eu.jsx)(t2,{store:t,children:(0,eu.jsx)(fY,{frameMode:r,theme:i,debug:wl})})})),o(r);else throw Error(`ERROR - invalid mode ${r}`);if(r===aj){t.subscribe(aq(t));let n=setInterval(()=>{window.parent.postMessage({channelName:e,name:"isOpen",data:aM(t.getState())},"*"),window.parent.postMessage({channelName:e,name:"isFeaturesOpen",data:aL(t.getState())},"*")},1e3);setTimeout(()=>{clearInterval(n)},3e3)}},s=a.data,l=[s.chatTriggerIconClose,s.chatTriggerIconOpen,s.logo],u=!1,c=()=>{u||(u=!0,o())};wh(l).finally(()=>setTimeout(c,500)),setTimeout(c,4e3)}else if("window_size"===a.name);else if("command-open"===a.name);else throw Error(`Invalid payload ${a.name}`)}}),window.parent.postMessage({channelName:e,name:"settingsRequest",mode:r},"*")}else throw Error("Invalid load mode");if(wf.includes(window.location.hostname)){let e=document.getElementById("42q_demo_el"),t=document.getElementById("42q_demo_el_after"),n="live"===wd.get("mode")?"live":"demo",r="inline"===wd.get("chatType")?"inline":"overlay";e&&t&&(ei(ed).createRoot(e).render((0,eu.jsx)(ei(ec).StrictMode,{children:(0,eu.jsx)(function(e){let{mode:t,chatType:n,appId:r}=e,[i,o]=(0,ec.useState)(!0),a=(0,ec.useRef)(null),[s,l]=(0,ec.useState)(!1);return(0,ec.useEffect)(()=>{let e=()=>{let e=a.current.offsetHeight;document.querySelector(".shifted-content").style.paddingTop=`${e}px`};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[i]),(0,ec.useEffect)(()=>{s&&(alert("Permission denied.\nYou need to be logged in and have access to the relevant Project to access the Widget demo page."),window.location.href="https://www.42q.ai")},[s]),(0,ec.useEffect)(()=>{if(!r)return;let e=null,t=()=>{console.log("Checking access..."),us.widget_demo_available(r).catch(e=>{console.log("ERROR",e),s||l(!0)}).finally(()=>{e=setTimeout(t,6e4)})};return t(),()=>{clearTimeout(e)}},[r]),(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsxs)(fK,{ref:a,children:[(0,eu.jsx)(fJ,{}),i&&(0,eu.jsx)(f2,{mode:t,setOpen:()=>{o(!1)}})]}),(0,eu.jsxs)(fN,{className:"shifted-content",children:[(0,eu.jsx)(fL,{children:(0,eu.jsx)(fF,{children:(0,eu.jsx)("div",{className:"placeholder-heading"})})}),(0,eu.jsx)(fF,{children:(0,eu.jsxs)(fz,{children:[(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{})]})})]})]})},{mode:n,chatType:r,appId:appId})})),ei(ed).createRoot(t).render((0,eu.jsx)(ei(ec).StrictMode,{children:(0,eu.jsx)(function(e){let{mode:t,chatType:n}=e;return(0,eu.jsxs)(fN,{children:[(0,eu.jsxs)(fF,{children:[(0,eu.jsxs)(fz,{className:"inline"!=n&&"no-mt",children:[(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{})]}),(0,eu.jsxs)(fz,{children:[(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{})]}),(0,eu.jsxs)(fz,{children:[(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{})]}),(0,eu.jsxs)(fz,{children:[(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{})]}),(0,eu.jsxs)(fz,{children:[(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{})]}),(0,eu.jsxs)(fz,{children:[(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{}),(0,eu.jsx)("div",{})]})]}),(0,eu.jsx)(f$,{})]})},{mode:n,chatType:r})})))}"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(e=>{e.unregister()}).catch(e=>{console.error(e.message)}),z&&z instanceof Function&&es("lQVtG").then(({getCLS:e,getFID:t,getFCP:n,getLCP:r,getTTFB:i})=>{e(z),t(z),n(z),r(z),i(z)})})(); //# sourceMappingURL=index.js.map