@botfabrik/engine-webclient 4.66.4 → 4.66.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{index-xHktWe2S.js → index-Ctkdmtsn.js} +28 -28
- package/dist/client/assets/index-Ctkdmtsn.js.map +1 -0
- package/dist/client/index.html +1 -1
- package/dist/extractLocale.d.ts +2 -1
- package/dist/extractLocale.js +3 -3
- package/package.json +4 -4
- package/dist/client/assets/index-xHktWe2S.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var s0=Object.defineProperty;var a0=(e,t,n)=>t in e?s0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>a0(e,typeof t!="symbol"?t+"":t,n);function l0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var q=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ou(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var
|
|
1
|
+
var s0=Object.defineProperty;var a0=(e,t,n)=>t in e?s0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>a0(e,typeof t!="symbol"?t+"":t,n);function l0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var q=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ou(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gp={exports:{}},ws={},yp={exports:{}},L={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var s0=Object.defineProperty;var a0=(e,t,n)=>t in e?s0(e,t,{enumerable:!0,config
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Li=Symbol.for("react.element"),u0=Symbol.for("react.portal"),c0=Symbol.for("react.fragment"),f0=Symbol.for("react.strict_mode"),d0=Symbol.for("react.profiler"),h0=Symbol.for("react.provider"),p0=Symbol.for("react.context"),m0=Symbol.for("react.forward_ref"),g0=Symbol.for("react.suspense"),y0=Symbol.for("react.memo"),v0=Symbol.for("react.lazy"),
|
|
9
|
+
*/var Li=Symbol.for("react.element"),u0=Symbol.for("react.portal"),c0=Symbol.for("react.fragment"),f0=Symbol.for("react.strict_mode"),d0=Symbol.for("react.profiler"),h0=Symbol.for("react.provider"),p0=Symbol.for("react.context"),m0=Symbol.for("react.forward_ref"),g0=Symbol.for("react.suspense"),y0=Symbol.for("react.memo"),v0=Symbol.for("react.lazy"),Nf=Symbol.iterator;function _0(e){return e===null||typeof e!="object"?null:(e=Nf&&e[Nf]||e["@@iterator"],typeof e=="function"?e:null)}var vp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_p=Object.assign,Ep={};function Dr(e,t,n){this.props=e,this.context=t,this.refs=Ep,this.updater=n||vp}Dr.prototype.isReactComponent={};Dr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Dr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Sp(){}Sp.prototype=Dr.prototype;function Ru(e,t,n){this.props=e,this.context=t,this.refs=Ep,this.updater=n||vp}var Nu=Ru.prototype=new Sp;Nu.constructor=Ru;_p(Nu,Dr.prototype);Nu.isPureReactComponent=!0;var Af=Array.isArray,wp=Object.prototype.hasOwnProperty,Au={current:null},bp={key:!0,ref:!0,__self:!0,__source:!0};function xp(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)wp.call(t,r)&&!bp.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Li,type:e,key:o,ref:s,props:i,_owner:Au.current}}function E0(e,t){return{$$typeof:Li,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Pu(e){return typeof e=="object"&&e!==null&&e.$$typeof===Li}function S0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Pf=/\/+/g;function ca(e,t){return typeof e=="object"&&e!==null&&e.key!=null?S0(""+e.key):t.toString(36)}function bo(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Li:case u0:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+ca(s,0):r,Af(i)?(n="",e!=null&&(n=e.replace(Pf,"$&/")+"/"),bo(i,t,n,"",function(u){return u})):i!=null&&(Pu(i)&&(i=E0(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Pf,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Af(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+ca(o,a);s+=bo(o,t,n,l,i)}else if(l=_0(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+ca(o,a++),s+=bo(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Xi(e,t,n){if(e==null)return e;var r=[],i=0;return bo(e,r,"","",function(o){return t.call(n,o,i++)}),r}function w0(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ie={current:null},xo={transition:null},b0={ReactCurrentDispatcher:Ie,ReactCurrentBatchConfig:xo,ReactCurrentOwner:Au};function Tp(){throw Error("act(...) is not supported in production builds of React.")}L.Children={map:Xi,forEach:function(e,t,n){Xi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Xi(e,function(){t++}),t},toArray:function(e){return Xi(e,function(t){return t})||[]},only:function(e){if(!Pu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};L.Component=Dr;L.Fragment=c0;L.Profiler=d0;L.PureComponent=Ru;L.StrictMode=f0;L.Suspense=g0;L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=b0;L.act=Tp;L.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=_p({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=Au.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)wp.call(t,l)&&!bp.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Li,type:e.type,key:i,ref:o,props:r,_owner:s}};L.createContext=function(e){return e={$$typeof:p0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:h0,_context:e},e.Consumer=e};L.createElement=xp;L.createFactory=function(e){var t=xp.bind(null,e);return t.type=e,t};L.createRef=function(){return{current:null}};L.forwardRef=function(e){return{$$typeof:m0,render:e}};L.isValidElement=Pu;L.lazy=function(e){return{$$typeof:v0,_payload:{_status:-1,_result:e},_init:w0}};L.memo=function(e,t){return{$$typeof:y0,type:e,compare:t===void 0?null:t}};L.startTransition=function(e){var t=xo.transition;xo.transition={};try{e()}finally{xo.transition=t}};L.unstable_act=Tp;L.useCallback=function(e,t){return Ie.current.useCallback(e,t)};L.useContext=function(e){return Ie.current.useContext(e)};L.useDebugValue=function(){};L.useDeferredValue=function(e){return Ie.current.useDeferredValue(e)};L.useEffect=function(e,t){return Ie.current.useEffect(e,t)};L.useId=function(){return Ie.current.useId()};L.useImperativeHandle=function(e,t,n){return Ie.current.useImperativeHandle(e,t,n)};L.useInsertionEffect=function(e,t){return Ie.current.useInsertionEffect(e,t)};L.useLayoutEffect=function(e,t){return Ie.current.useLayoutEffect(e,t)};L.useMemo=function(e,t){return Ie.current.useMemo(e,t)};L.useReducer=function(e,t,n){return Ie.current.useReducer(e,t,n)};L.useRef=function(e){return Ie.current.useRef(e)};L.useState=function(e){return Ie.current.useState(e)};L.useSyncExternalStore=function(e,t,n){return Ie.current.useSyncExternalStore(e,t,n)};L.useTransition=function(){return Ie.current.useTransition()};L.version="18.3.1";yp.exports=L;var N=yp.exports;const vt=Ou(N),If=l0({__proto__:null,default:vt},[N]);/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.production.min.js
|
|
12
12
|
*
|
|
@@ -14,7 +14,7 @@ var s0=Object.defineProperty;var a0=(e,t,n)=>t in e?s0(e,t,{enumerable:!0,config
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var x0=N,T0=Symbol.for("react.element"),C0=Symbol.for("react.fragment"),k0=Object.prototype.hasOwnProperty,O0=x0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,R0={key:!0,ref:!0,__self:!0,__source:!0};function
|
|
17
|
+
*/var x0=N,T0=Symbol.for("react.element"),C0=Symbol.for("react.fragment"),k0=Object.prototype.hasOwnProperty,O0=x0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,R0={key:!0,ref:!0,__self:!0,__source:!0};function Cp(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)k0.call(t,r)&&!R0.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:T0,type:e,key:o,ref:s,props:i,_owner:O0.current}}ws.Fragment=C0;ws.jsx=Cp;ws.jsxs=Cp;gp.exports=ws;var _=gp.exports,kp={exports:{}},Qe={},Op={exports:{}},Rp={};/**
|
|
18
18
|
* @license React
|
|
19
19
|
* scheduler.production.min.js
|
|
20
20
|
*
|
|
@@ -22,7 +22,7 @@ var s0=Object.defineProperty;var a0=(e,t,n)=>t in e?s0(e,t,{enumerable:!0,config
|
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/(function(e){function t(k,D){var F=k.length;k.push(D);e:for(;0<F;){var Y=F-1>>>1,ae=k[Y];if(0<i(ae,D))k[Y]=D,k[F]=ae,F=Y;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var D=k[0],F=k.pop();if(F!==D){k[0]=F;e:for(var Y=0,ae=k.length,Tt=ae>>>1;Y<Tt;){var Ct=2*(Y+1)-1,On=k[Ct],ct=Ct+1,Rn=k[ct];if(0>i(On,F))ct<ae&&0>i(Rn,On)?(k[Y]=Rn,k[ct]=F,Y=ct):(k[Y]=On,k[Ct]=F,Y=Ct);else if(ct<ae&&0>i(Rn,F))k[Y]=Rn,k[ct]=F,Y=ct;else break e}}return D}function i(k,D){var F=k.sortIndex-D.sortIndex;return F!==0?F:k.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,g=null,y=3,f=!1,v=!1,p=!1,S=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(k){for(var D=n(u);D!==null;){if(D.callback===null)r(u);else if(D.startTime<=k)r(u),D.sortIndex=D.expirationTime,t(l,D);else break;D=n(u)}}function E(k){if(p=!1,m(k),!v)if(n(l)!==null)v=!0,Zn(w);else{var D=n(u);D!==null&&kn(E,D.startTime-k)}}function w(k,D){v=!1,p&&(p=!1,h(T),T=-1),f=!0;var F=y;try{for(m(D),g=n(l);g!==null&&(!(g.expirationTime>D)||k&&!se());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,y=g.priorityLevel;var ae=Y(g.expirationTime<=D);D=e.unstable_now(),typeof ae=="function"?g.callback=ae:g===n(l)&&r(l),m(D)}else r(l);g=n(l)}if(g!==null)var Tt=!0;else{var Ct=n(u);Ct!==null&&kn(E,Ct.startTime-D),Tt=!1}return Tt}finally{g=null,y=F,f=!1}}var b=!1,x=null,T=-1,M=5,P=-1;function se(){return!(e.unstable_now()-P<M)}function ve(){if(x!==null){var k=e.unstable_now();P=k;var D=!0;try{D=x(!0,k)}finally{D?ut():(b=!1,x=null)}}else b=!1}var ut;if(typeof d=="function")ut=function(){d(ve)};else if(typeof MessageChannel<"u"){var Wi=new MessageChannel,xt=Wi.port2;Wi.port1.onmessage=ve,ut=function(){xt.postMessage(null)}}else ut=function(){S(ve,0)};function Zn(k){x=k,b||(b=!0,ut())}function kn(k,D){T=S(function(){k(e.unstable_now())},D)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){v||f||(v=!0,Zn(w))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(y){case 1:case 2:case 3:var D=3;break;default:D=y}var F=y;y=D;try{return k()}finally{y=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,D){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var F=y;y=k;try{return D()}finally{y=F}},e.unstable_scheduleCallback=function(k,D,F){var Y=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?Y+F:Y):F=Y,k){case 1:var ae=-1;break;case 2:ae=250;break;case 5:ae=1073741823;break;case 4:ae=1e4;break;default:ae=5e3}return ae=F+ae,k={id:c++,callback:D,priorityLevel:k,startTime:F,expirationTime:ae,sortIndex:-1},F>Y?(k.sortIndex=F,t(u,k),n(l)===null&&k===n(u)&&(p?(h(T),T=-1):p=!0,kn(E,F-Y))):(k.sortIndex=ae,t(l,k),v||f||(v=!0,Zn(w))),k},e.unstable_shouldYield=se,e.unstable_wrapCallback=function(k){var D=y;return function(){var F=y;y=D;try{return k.apply(this,arguments)}finally{y=F}}}})(
|
|
25
|
+
*/(function(e){function t(k,D){var F=k.length;k.push(D);e:for(;0<F;){var Y=F-1>>>1,ae=k[Y];if(0<i(ae,D))k[Y]=D,k[F]=ae,F=Y;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var D=k[0],F=k.pop();if(F!==D){k[0]=F;e:for(var Y=0,ae=k.length,Tt=ae>>>1;Y<Tt;){var Ct=2*(Y+1)-1,On=k[Ct],ct=Ct+1,Rn=k[ct];if(0>i(On,F))ct<ae&&0>i(Rn,On)?(k[Y]=Rn,k[ct]=F,Y=ct):(k[Y]=On,k[Ct]=F,Y=Ct);else if(ct<ae&&0>i(Rn,F))k[Y]=Rn,k[ct]=F,Y=ct;else break e}}return D}function i(k,D){var F=k.sortIndex-D.sortIndex;return F!==0?F:k.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,g=null,y=3,f=!1,v=!1,p=!1,S=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(k){for(var D=n(u);D!==null;){if(D.callback===null)r(u);else if(D.startTime<=k)r(u),D.sortIndex=D.expirationTime,t(l,D);else break;D=n(u)}}function E(k){if(p=!1,m(k),!v)if(n(l)!==null)v=!0,Zn(w);else{var D=n(u);D!==null&&kn(E,D.startTime-k)}}function w(k,D){v=!1,p&&(p=!1,h(T),T=-1),f=!0;var F=y;try{for(m(D),g=n(l);g!==null&&(!(g.expirationTime>D)||k&&!se());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,y=g.priorityLevel;var ae=Y(g.expirationTime<=D);D=e.unstable_now(),typeof ae=="function"?g.callback=ae:g===n(l)&&r(l),m(D)}else r(l);g=n(l)}if(g!==null)var Tt=!0;else{var Ct=n(u);Ct!==null&&kn(E,Ct.startTime-D),Tt=!1}return Tt}finally{g=null,y=F,f=!1}}var b=!1,x=null,T=-1,M=5,P=-1;function se(){return!(e.unstable_now()-P<M)}function ve(){if(x!==null){var k=e.unstable_now();P=k;var D=!0;try{D=x(!0,k)}finally{D?ut():(b=!1,x=null)}}else b=!1}var ut;if(typeof d=="function")ut=function(){d(ve)};else if(typeof MessageChannel<"u"){var Wi=new MessageChannel,xt=Wi.port2;Wi.port1.onmessage=ve,ut=function(){xt.postMessage(null)}}else ut=function(){S(ve,0)};function Zn(k){x=k,b||(b=!0,ut())}function kn(k,D){T=S(function(){k(e.unstable_now())},D)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){v||f||(v=!0,Zn(w))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(y){case 1:case 2:case 3:var D=3;break;default:D=y}var F=y;y=D;try{return k()}finally{y=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,D){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var F=y;y=k;try{return D()}finally{y=F}},e.unstable_scheduleCallback=function(k,D,F){var Y=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?Y+F:Y):F=Y,k){case 1:var ae=-1;break;case 2:ae=250;break;case 5:ae=1073741823;break;case 4:ae=1e4;break;default:ae=5e3}return ae=F+ae,k={id:c++,callback:D,priorityLevel:k,startTime:F,expirationTime:ae,sortIndex:-1},F>Y?(k.sortIndex=F,t(u,k),n(l)===null&&k===n(u)&&(p?(h(T),T=-1):p=!0,kn(E,F-Y))):(k.sortIndex=ae,t(l,k),v||f||(v=!0,Zn(w))),k},e.unstable_shouldYield=se,e.unstable_wrapCallback=function(k){var D=y;return function(){var F=y;y=D;try{return k.apply(this,arguments)}finally{y=F}}}})(Rp);Op.exports=Rp;var N0=Op.exports;/**
|
|
26
26
|
* @license React
|
|
27
27
|
* react-dom.production.min.js
|
|
28
28
|
*
|
|
@@ -30,14 +30,14 @@ var s0=Object.defineProperty;var a0=(e,t,n)=>t in e?s0(e,t,{enumerable:!0,config
|
|
|
30
30
|
*
|
|
31
31
|
* This source code is licensed under the MIT license found in the
|
|
32
32
|
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var A0=N,We=N0;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var
|
|
33
|
+
*/var A0=N,We=N0;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Np=new Set,gi={};function Xn(e,t){wr(e,t),wr(e+"Capture",t)}function wr(e,t){for(gi[e]=t,e=0;e<t.length;e++)Np.add(t[e])}var Wt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rl=Object.prototype.hasOwnProperty,P0=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Df={},Mf={};function I0(e){return rl.call(Mf,e)?!0:rl.call(Df,e)?!1:P0.test(e)?Mf[e]=!0:(Df[e]=!0,!1)}function D0(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function M0(e,t,n,r){if(t===null||typeof t>"u"||D0(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function De(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var xe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){xe[e]=new De(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];xe[t]=new De(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){xe[e]=new De(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){xe[e]=new De(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){xe[e]=new De(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){xe[e]=new De(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){xe[e]=new De(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){xe[e]=new De(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){xe[e]=new De(e,5,!1,e.toLowerCase(),null,!1,!1)});var Iu=/[\-:]([a-z])/g;function Du(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Iu,Du);xe[t]=new De(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Iu,Du);xe[t]=new De(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(Iu,Du);xe[t]=new De(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){xe[e]=new De(e,1,!1,e.toLowerCase(),null,!1,!1)});xe.xlinkHref=new De("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){xe[e]=new De(e,1,!1,e.toLowerCase(),null,!0,!0)});function Mu(e,t,n,r){var i=xe.hasOwnProperty(t)?xe[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(M0(t,n,i,r)&&(n=null),r||i===null?I0(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Zt=A0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Qi=Symbol.for("react.element"),ir=Symbol.for("react.portal"),or=Symbol.for("react.fragment"),Fu=Symbol.for("react.strict_mode"),il=Symbol.for("react.profiler"),Ap=Symbol.for("react.provider"),Pp=Symbol.for("react.context"),Bu=Symbol.for("react.forward_ref"),ol=Symbol.for("react.suspense"),sl=Symbol.for("react.suspense_list"),Lu=Symbol.for("react.memo"),nn=Symbol.for("react.lazy"),Ip=Symbol.for("react.offscreen"),Ff=Symbol.iterator;function jr(e){return e===null||typeof e!="object"?null:(e=Ff&&e[Ff]||e["@@iterator"],typeof e=="function"?e:null)}var oe=Object.assign,fa;function ei(e){if(fa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);fa=t&&t[1]||""}return`
|
|
34
34
|
`+fa+e}var da=!1;function ha(e,t){if(!e||da)return"";da=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
|
|
35
35
|
`),o=r.stack.split(`
|
|
36
36
|
`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
|
|
37
|
-
`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{da=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ei(e):""}function F0(e){switch(e.tag){case 5:return ei(e.type);case 16:return ei("Lazy");case 13:return ei("Suspense");case 19:return ei("SuspenseList");case 0:case 2:case 15:return e=ha(e.type,!1),e;case 11:return e=ha(e.type.render,!1),e;case 1:return e=ha(e.type,!0),e;default:return""}}function al(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case or:return"Fragment";case ir:return"Portal";case il:return"Profiler";case Fu:return"StrictMode";case ol:return"Suspense";case sl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ap:return(e.displayName||"Context")+".Consumer";case Np:return(e._context.displayName||"Context")+".Provider";case Bu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lu:return t=e.displayName||null,t!==null?t:al(e.type)||"Memo";case nn:t=e._payload,e=e._init;try{return al(e(t))}catch{}}return null}function B0(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return al(t);case 8:return t===Fu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function _n(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ip(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function L0(e){var t=Ip(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ki(e){e._valueTracker||(e._valueTracker=L0(e))}function Dp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ip(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $o(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ll(e,t){var n=t.checked;return oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ff(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=_n(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Mp(e,t){t=t.checked,t!=null&&Mu(e,"checked",t,!1)}function ul(e,t){Mp(e,t);var n=_n(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?cl(e,t.type,n):t.hasOwnProperty("defaultValue")&&cl(e,t.type,_n(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Bf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function cl(e,t,n){(t!=="number"||$o(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ti=Array.isArray;function gr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+_n(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function fl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(C(91));return oe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Lf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(C(92));if(ti(n)){if(1<n.length)throw Error(C(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:_n(n)}}function Fp(e,t){var n=_n(t.value),r=_n(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function jf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Bp(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function dl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Bp(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Yi,Lp=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Yi=Yi||document.createElement("div"),Yi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Yi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ai={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},j0=["Webkit","ms","Moz","O"];Object.keys(ai).forEach(function(e){j0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ai[t]=ai[e]})});function jp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ai.hasOwnProperty(e)&&ai[e]?(""+t).trim():t+"px"}function zp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=jp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var z0=oe({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 hl(e,t){if(t){if(z0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function pl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ml=null;function ju(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gl=null,yr=null,vr=null;function zf(e){if(e=Ui(e)){if(typeof gl!="function")throw Error(C(280));var t=e.stateNode;t&&(t=ks(t),gl(e.stateNode,e.type,t))}}function Up(e){yr?vr?vr.push(e):vr=[e]:yr=e}function $p(){if(yr){var e=yr,t=vr;if(vr=yr=null,zf(e),t)for(e=0;e<t.length;e++)zf(t[e])}}function Hp(e,t){return e(t)}function Gp(){}var pa=!1;function Vp(e,t,n){if(pa)return e(t,n);pa=!0;try{return Hp(e,t,n)}finally{pa=!1,(yr!==null||vr!==null)&&(Gp(),$p())}}function vi(e,t){var n=e.stateNode;if(n===null)return null;var r=ks(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(C(231,t,typeof n));return n}var yl=!1;if(Wt)try{var zr={};Object.defineProperty(zr,"passive",{get:function(){yl=!0}}),window.addEventListener("test",zr,zr),window.removeEventListener("test",zr,zr)}catch{yl=!1}function U0(e,t,n,r,i,o,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var li=!1,Ho=null,Go=!1,vl=null,$0={onError:function(e){li=!0,Ho=e}};function H0(e,t,n,r,i,o,s,a,l){li=!1,Ho=null,U0.apply($0,arguments)}function G0(e,t,n,r,i,o,s,a,l){if(H0.apply(this,arguments),li){if(li){var u=Ho;li=!1,Ho=null}else throw Error(C(198));Go||(Go=!0,vl=u)}}function Qn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Wp(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Uf(e){if(Qn(e)!==e)throw Error(C(188))}function V0(e){var t=e.alternate;if(!t){if(t=Qn(e),t===null)throw Error(C(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Uf(i),e;if(o===r)return Uf(i),t;o=o.sibling}throw Error(C(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(C(189))}}if(n.alternate!==r)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?e:t}function qp(e){return e=V0(e),e!==null?Xp(e):null}function Xp(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Xp(e);if(t!==null)return t;e=e.sibling}return null}var Qp=We.unstable_scheduleCallback,$f=We.unstable_cancelCallback,W0=We.unstable_shouldYield,q0=We.unstable_requestPaint,ue=We.unstable_now,X0=We.unstable_getCurrentPriorityLevel,zu=We.unstable_ImmediatePriority,Kp=We.unstable_UserBlockingPriority,Vo=We.unstable_NormalPriority,Q0=We.unstable_LowPriority,Yp=We.unstable_IdlePriority,bs=null,Dt=null;function K0(e){if(Dt&&typeof Dt.onCommitFiberRoot=="function")try{Dt.onCommitFiberRoot(bs,e,void 0,(e.current.flags&128)===128)}catch{}}var _t=Math.clz32?Math.clz32:J0,Y0=Math.log,Z0=Math.LN2;function J0(e){return e>>>=0,e===0?32:31-(Y0(e)/Z0|0)|0}var Zi=64,Ji=4194304;function ni(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Wo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=ni(a):(o&=s,o!==0&&(r=ni(o)))}else s=n&~i,s!==0?r=ni(s):o!==0&&(r=ni(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-_t(t),i=1<<n,r|=e[n],t&=~i;return r}function e_(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:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function t_(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-_t(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=e_(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function _l(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Zp(){var e=Zi;return Zi<<=1,!(Zi&4194240)&&(Zi=64),e}function ma(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ji(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_t(t),e[t]=n}function n_(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-_t(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Uu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var X=0;function Jp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var em,$u,tm,nm,rm,El=!1,eo=[],cn=null,fn=null,dn=null,_i=new Map,Ei=new Map,on=[],r_="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Hf(e,t){switch(e){case"focusin":case"focusout":cn=null;break;case"dragenter":case"dragleave":fn=null;break;case"mouseover":case"mouseout":dn=null;break;case"pointerover":case"pointerout":_i.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ei.delete(t.pointerId)}}function Ur(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Ui(t),t!==null&&$u(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function i_(e,t,n,r,i){switch(t){case"focusin":return cn=Ur(cn,e,t,n,r,i),!0;case"dragenter":return fn=Ur(fn,e,t,n,r,i),!0;case"mouseover":return dn=Ur(dn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return _i.set(o,Ur(_i.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ei.set(o,Ur(Ei.get(o)||null,e,t,n,r,i)),!0}return!1}function im(e){var t=Fn(e.target);if(t!==null){var n=Qn(t);if(n!==null){if(t=n.tag,t===13){if(t=Wp(n),t!==null){e.blockedOn=t,rm(e.priority,function(){tm(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function To(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Sl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ml=r,n.target.dispatchEvent(r),ml=null}else return t=Ui(n),t!==null&&$u(t),e.blockedOn=n,!1;t.shift()}return!0}function Gf(e,t,n){To(e)&&n.delete(t)}function o_(){El=!1,cn!==null&&To(cn)&&(cn=null),fn!==null&&To(fn)&&(fn=null),dn!==null&&To(dn)&&(dn=null),_i.forEach(Gf),Ei.forEach(Gf)}function $r(e,t){e.blockedOn===t&&(e.blockedOn=null,El||(El=!0,We.unstable_scheduleCallback(We.unstable_NormalPriority,o_)))}function Si(e){function t(i){return $r(i,e)}if(0<eo.length){$r(eo[0],e);for(var n=1;n<eo.length;n++){var r=eo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(cn!==null&&$r(cn,e),fn!==null&&$r(fn,e),dn!==null&&$r(dn,e),_i.forEach(t),Ei.forEach(t),n=0;n<on.length;n++)r=on[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<on.length&&(n=on[0],n.blockedOn===null);)im(n),n.blockedOn===null&&on.shift()}var _r=Zt.ReactCurrentBatchConfig,qo=!0;function s_(e,t,n,r){var i=X,o=_r.transition;_r.transition=null;try{X=1,Hu(e,t,n,r)}finally{X=i,_r.transition=o}}function a_(e,t,n,r){var i=X,o=_r.transition;_r.transition=null;try{X=4,Hu(e,t,n,r)}finally{X=i,_r.transition=o}}function Hu(e,t,n,r){if(qo){var i=Sl(e,t,n,r);if(i===null)Ta(e,t,r,Xo,n),Hf(e,r);else if(i_(i,e,t,n,r))r.stopPropagation();else if(Hf(e,r),t&4&&-1<r_.indexOf(e)){for(;i!==null;){var o=Ui(i);if(o!==null&&em(o),o=Sl(e,t,n,r),o===null&&Ta(e,t,r,Xo,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Ta(e,t,r,null,n)}}var Xo=null;function Sl(e,t,n,r){if(Xo=null,e=ju(r),e=Fn(e),e!==null)if(t=Qn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Wp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xo=e,null}function om(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(X0()){case zu:return 1;case Kp:return 4;case Vo:case Q0:return 16;case Yp:return 536870912;default:return 16}default:return 16}}var ln=null,Gu=null,Co=null;function sm(){if(Co)return Co;var e,t=Gu,n=t.length,r,i="value"in ln?ln.value:ln.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Co=i.slice(e,1<r?1-r:void 0)}function ko(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function to(){return!0}function Vf(){return!1}function Ke(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?to:Vf,this.isPropagationStopped=Vf,this}return oe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=to)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=to)},persist:function(){},isPersistent:to}),t}var Mr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vu=Ke(Mr),zi=oe({},Mr,{view:0,detail:0}),l_=Ke(zi),ga,ya,Hr,xs=oe({},zi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Hr&&(Hr&&e.type==="mousemove"?(ga=e.screenX-Hr.screenX,ya=e.screenY-Hr.screenY):ya=ga=0,Hr=e),ga)},movementY:function(e){return"movementY"in e?e.movementY:ya}}),Wf=Ke(xs),u_=oe({},xs,{dataTransfer:0}),c_=Ke(u_),f_=oe({},zi,{relatedTarget:0}),va=Ke(f_),d_=oe({},Mr,{animationName:0,elapsedTime:0,pseudoElement:0}),h_=Ke(d_),p_=oe({},Mr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),m_=Ke(p_),g_=oe({},Mr,{data:0}),qf=Ke(g_),y_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},v_={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"},__={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function E_(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=__[e])?!!t[e]:!1}function Wu(){return E_}var S_=oe({},zi,{key:function(e){if(e.key){var t=y_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ko(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?v_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wu,charCode:function(e){return e.type==="keypress"?ko(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ko(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),w_=Ke(S_),b_=oe({},xs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xf=Ke(b_),x_=oe({},zi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wu}),T_=Ke(x_),C_=oe({},Mr,{propertyName:0,elapsedTime:0,pseudoElement:0}),k_=Ke(C_),O_=oe({},xs,{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}),R_=Ke(O_),N_=[9,13,27,32],qu=Wt&&"CompositionEvent"in window,ui=null;Wt&&"documentMode"in document&&(ui=document.documentMode);var A_=Wt&&"TextEvent"in window&&!ui,am=Wt&&(!qu||ui&&8<ui&&11>=ui),Qf=" ",Kf=!1;function lm(e,t){switch(e){case"keyup":return N_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function um(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var sr=!1;function P_(e,t){switch(e){case"compositionend":return um(t);case"keypress":return t.which!==32?null:(Kf=!0,Qf);case"textInput":return e=t.data,e===Qf&&Kf?null:e;default:return null}}function I_(e,t){if(sr)return e==="compositionend"||!qu&&lm(e,t)?(e=sm(),Co=Gu=ln=null,sr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return am&&t.locale!=="ko"?null:t.data;default:return null}}var D_={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Yf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!D_[e.type]:t==="textarea"}function cm(e,t,n,r){Up(r),t=Qo(t,"onChange"),0<t.length&&(n=new Vu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ci=null,wi=null;function M_(e){Sm(e,0)}function Ts(e){var t=ur(e);if(Dp(t))return e}function F_(e,t){if(e==="change")return t}var fm=!1;if(Wt){var _a;if(Wt){var Ea="oninput"in document;if(!Ea){var Zf=document.createElement("div");Zf.setAttribute("oninput","return;"),Ea=typeof Zf.oninput=="function"}_a=Ea}else _a=!1;fm=_a&&(!document.documentMode||9<document.documentMode)}function Jf(){ci&&(ci.detachEvent("onpropertychange",dm),wi=ci=null)}function dm(e){if(e.propertyName==="value"&&Ts(wi)){var t=[];cm(t,wi,e,ju(e)),Vp(M_,t)}}function B_(e,t,n){e==="focusin"?(Jf(),ci=t,wi=n,ci.attachEvent("onpropertychange",dm)):e==="focusout"&&Jf()}function L_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ts(wi)}function j_(e,t){if(e==="click")return Ts(t)}function z_(e,t){if(e==="input"||e==="change")return Ts(t)}function U_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var St=typeof Object.is=="function"?Object.is:U_;function bi(e,t){if(St(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!rl.call(t,i)||!St(e[i],t[i]))return!1}return!0}function ed(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function td(e,t){var n=ed(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ed(n)}}function hm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?hm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function pm(){for(var e=window,t=$o();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$o(e.document)}return t}function Xu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function $_(e){var t=pm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&hm(n.ownerDocument.documentElement,n)){if(r!==null&&Xu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=td(n,o);var s=td(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var H_=Wt&&"documentMode"in document&&11>=document.documentMode,ar=null,wl=null,fi=null,bl=!1;function nd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bl||ar==null||ar!==$o(r)||(r=ar,"selectionStart"in r&&Xu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),fi&&bi(fi,r)||(fi=r,r=Qo(wl,"onSelect"),0<r.length&&(t=new Vu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ar)))}function no(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var lr={animationend:no("Animation","AnimationEnd"),animationiteration:no("Animation","AnimationIteration"),animationstart:no("Animation","AnimationStart"),transitionend:no("Transition","TransitionEnd")},Sa={},mm={};Wt&&(mm=document.createElement("div").style,"AnimationEvent"in window||(delete lr.animationend.animation,delete lr.animationiteration.animation,delete lr.animationstart.animation),"TransitionEvent"in window||delete lr.transitionend.transition);function Cs(e){if(Sa[e])return Sa[e];if(!lr[e])return e;var t=lr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in mm)return Sa[e]=t[n];return e}var gm=Cs("animationend"),ym=Cs("animationiteration"),vm=Cs("animationstart"),_m=Cs("transitionend"),Em=new Map,rd="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function wn(e,t){Em.set(e,t),Xn(t,[e])}for(var wa=0;wa<rd.length;wa++){var ba=rd[wa],G_=ba.toLowerCase(),V_=ba[0].toUpperCase()+ba.slice(1);wn(G_,"on"+V_)}wn(gm,"onAnimationEnd");wn(ym,"onAnimationIteration");wn(vm,"onAnimationStart");wn("dblclick","onDoubleClick");wn("focusin","onFocus");wn("focusout","onBlur");wn(_m,"onTransitionEnd");wr("onMouseEnter",["mouseout","mouseover"]);wr("onMouseLeave",["mouseout","mouseover"]);wr("onPointerEnter",["pointerout","pointerover"]);wr("onPointerLeave",["pointerout","pointerover"]);Xn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Xn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Xn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Xn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Xn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Xn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ri="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),W_=new Set("cancel close invalid load scroll toggle".split(" ").concat(ri));function id(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,G0(r,t,void 0,e),e.currentTarget=null}function Sm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;id(i,a,u),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;id(i,a,u),o=l}}}if(Go)throw e=vl,Go=!1,vl=null,e}function Z(e,t){var n=t[Ol];n===void 0&&(n=t[Ol]=new Set);var r=e+"__bubble";n.has(r)||(wm(t,e,2,!1),n.add(r))}function xa(e,t,n){var r=0;t&&(r|=4),wm(n,e,r,t)}var ro="_reactListening"+Math.random().toString(36).slice(2);function xi(e){if(!e[ro]){e[ro]=!0,Rp.forEach(function(n){n!=="selectionchange"&&(W_.has(n)||xa(n,!1,e),xa(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ro]||(t[ro]=!0,xa("selectionchange",!1,t))}}function wm(e,t,n,r){switch(om(t)){case 1:var i=s_;break;case 4:i=a_;break;default:i=Hu}n=i.bind(null,t,n,e),i=void 0,!yl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ta(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=Fn(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}Vp(function(){var u=o,c=ju(n),g=[];e:{var y=Em.get(e);if(y!==void 0){var f=Vu,v=e;switch(e){case"keypress":if(ko(n)===0)break e;case"keydown":case"keyup":f=w_;break;case"focusin":v="focus",f=va;break;case"focusout":v="blur",f=va;break;case"beforeblur":case"afterblur":f=va;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=Wf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=c_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=T_;break;case gm:case ym:case vm:f=h_;break;case _m:f=k_;break;case"scroll":f=l_;break;case"wheel":f=R_;break;case"copy":case"cut":case"paste":f=m_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=Xf}var p=(t&4)!==0,S=!p&&e==="scroll",h=p?y!==null?y+"Capture":null:y;p=[];for(var d=u,m;d!==null;){m=d;var E=m.stateNode;if(m.tag===5&&E!==null&&(m=E,h!==null&&(E=vi(d,h),E!=null&&p.push(Ti(d,E,m)))),S)break;d=d.return}0<p.length&&(y=new f(y,v,null,n,c),g.push({event:y,listeners:p}))}}if(!(t&7)){e:{if(y=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",y&&n!==ml&&(v=n.relatedTarget||n.fromElement)&&(Fn(v)||v[qt]))break e;if((f||y)&&(y=c.window===c?c:(y=c.ownerDocument)?y.defaultView||y.parentWindow:window,f?(v=n.relatedTarget||n.toElement,f=u,v=v?Fn(v):null,v!==null&&(S=Qn(v),v!==S||v.tag!==5&&v.tag!==6)&&(v=null)):(f=null,v=u),f!==v)){if(p=Wf,E="onMouseLeave",h="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(p=Xf,E="onPointerLeave",h="onPointerEnter",d="pointer"),S=f==null?y:ur(f),m=v==null?y:ur(v),y=new p(E,d+"leave",f,n,c),y.target=S,y.relatedTarget=m,E=null,Fn(c)===u&&(p=new p(h,d+"enter",v,n,c),p.target=m,p.relatedTarget=S,E=p),S=E,f&&v)t:{for(p=f,h=v,d=0,m=p;m;m=Jn(m))d++;for(m=0,E=h;E;E=Jn(E))m++;for(;0<d-m;)p=Jn(p),d--;for(;0<m-d;)h=Jn(h),m--;for(;d--;){if(p===h||h!==null&&p===h.alternate)break t;p=Jn(p),h=Jn(h)}p=null}else p=null;f!==null&&od(g,y,f,p,!1),v!==null&&S!==null&&od(g,S,v,p,!0)}}e:{if(y=u?ur(u):window,f=y.nodeName&&y.nodeName.toLowerCase(),f==="select"||f==="input"&&y.type==="file")var w=F_;else if(Yf(y))if(fm)w=z_;else{w=L_;var b=B_}else(f=y.nodeName)&&f.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(w=j_);if(w&&(w=w(e,u))){cm(g,w,n,c);break e}b&&b(e,y,u),e==="focusout"&&(b=y._wrapperState)&&b.controlled&&y.type==="number"&&cl(y,"number",y.value)}switch(b=u?ur(u):window,e){case"focusin":(Yf(b)||b.contentEditable==="true")&&(ar=b,wl=u,fi=null);break;case"focusout":fi=wl=ar=null;break;case"mousedown":bl=!0;break;case"contextmenu":case"mouseup":case"dragend":bl=!1,nd(g,n,c);break;case"selectionchange":if(H_)break;case"keydown":case"keyup":nd(g,n,c)}var x;if(qu)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else sr?lm(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(am&&n.locale!=="ko"&&(sr||T!=="onCompositionStart"?T==="onCompositionEnd"&&sr&&(x=sm()):(ln=c,Gu="value"in ln?ln.value:ln.textContent,sr=!0)),b=Qo(u,T),0<b.length&&(T=new qf(T,e,null,n,c),g.push({event:T,listeners:b}),x?T.data=x:(x=um(n),x!==null&&(T.data=x)))),(x=A_?P_(e,n):I_(e,n))&&(u=Qo(u,"onBeforeInput"),0<u.length&&(c=new qf("onBeforeInput","beforeinput",null,n,c),g.push({event:c,listeners:u}),c.data=x))}Sm(g,t)})}function Ti(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qo(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=vi(e,n),o!=null&&r.unshift(Ti(e,o,i)),o=vi(e,t),o!=null&&r.push(Ti(e,o,i))),e=e.return}return r}function Jn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function od(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=vi(n,o),l!=null&&s.unshift(Ti(n,l,a))):i||(l=vi(n,o),l!=null&&s.push(Ti(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var q_=/\r\n?/g,X_=/\u0000|\uFFFD/g;function sd(e){return(typeof e=="string"?e:""+e).replace(q_,`
|
|
38
|
-
`).replace(X_,"")}function io(e,t,n){if(t=sd(t),sd(e)!==t&&n)throw Error(C(425))}function Ko(){}var xl=null,Tl=null;function Cl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var kl=typeof setTimeout=="function"?setTimeout:void 0,Q_=typeof clearTimeout=="function"?clearTimeout:void 0,ad=typeof Promise=="function"?Promise:void 0,K_=typeof queueMicrotask=="function"?queueMicrotask:typeof ad<"u"?function(e){return ad.resolve(null).then(e).catch(Y_)}:kl;function Y_(e){setTimeout(function(){throw e})}function Ca(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Si(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Si(t)}function hn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function ld(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Fr=Math.random().toString(36).slice(2),Pt="__reactFiber$"+Fr,Ci="__reactProps$"+Fr,qt="__reactContainer$"+Fr,Ol="__reactEvents$"+Fr,Z_="__reactListeners$"+Fr,J_="__reactHandles$"+Fr;function Fn(e){var t=e[Pt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[qt]||n[Pt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ld(e);e!==null;){if(n=e[Pt])return n;e=ld(e)}return t}e=n,n=e.parentNode}return null}function Ui(e){return e=e[Pt]||e[qt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ur(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(C(33))}function ks(e){return e[Ci]||null}var Rl=[],cr=-1;function bn(e){return{current:e}}function ee(e){0>cr||(e.current=Rl[cr],Rl[cr]=null,cr--)}function K(e,t){cr++,Rl[cr]=e.current,e.current=t}var En={},Re=bn(En),je=bn(!1),Un=En;function br(e,t){var n=e.type.contextTypes;if(!n)return En;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ze(e){return e=e.childContextTypes,e!=null}function Yo(){ee(je),ee(Re)}function ud(e,t,n){if(Re.current!==En)throw Error(C(168));K(Re,t),K(je,n)}function bm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(C(108,B0(e)||"Unknown",i));return oe({},n,r)}function Zo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||En,Un=Re.current,K(Re,e),K(je,je.current),!0}function cd(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=bm(e,t,Un),r.__reactInternalMemoizedMergedChildContext=e,ee(je),ee(Re),K(Re,e)):ee(je),K(je,n)}var Ut=null,Os=!1,ka=!1;function xm(e){Ut===null?Ut=[e]:Ut.push(e)}function e1(e){Os=!0,xm(e)}function xn(){if(!ka&&Ut!==null){ka=!0;var e=0,t=X;try{var n=Ut;for(X=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ut=null,Os=!1}catch(i){throw Ut!==null&&(Ut=Ut.slice(e+1)),Qp(zu,xn),i}finally{X=t,ka=!1}}return null}var fr=[],dr=0,Jo=null,es=0,Je=[],et=0,$n=null,Ht=1,Gt="";function Pn(e,t){fr[dr++]=es,fr[dr++]=Jo,Jo=e,es=t}function Tm(e,t,n){Je[et++]=Ht,Je[et++]=Gt,Je[et++]=$n,$n=e;var r=Ht;e=Gt;var i=32-_t(r)-1;r&=~(1<<i),n+=1;var o=32-_t(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Ht=1<<32-_t(t)+i|n<<i|r,Gt=o+e}else Ht=1<<o|n<<i|r,Gt=e}function Qu(e){e.return!==null&&(Pn(e,1),Tm(e,1,0))}function Ku(e){for(;e===Jo;)Jo=fr[--dr],fr[dr]=null,es=fr[--dr],fr[dr]=null;for(;e===$n;)$n=Je[--et],Je[et]=null,Gt=Je[--et],Je[et]=null,Ht=Je[--et],Je[et]=null}var Ve=null,Ge=null,ne=!1,gt=null;function Cm(e,t){var n=nt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function fd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ve=e,Ge=hn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ve=e,Ge=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=$n!==null?{id:Ht,overflow:Gt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=nt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ve=e,Ge=null,!0):!1;default:return!1}}function Nl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Al(e){if(ne){var t=Ge;if(t){var n=t;if(!fd(e,t)){if(Nl(e))throw Error(C(418));t=hn(n.nextSibling);var r=Ve;t&&fd(e,t)?Cm(r,n):(e.flags=e.flags&-4097|2,ne=!1,Ve=e)}}else{if(Nl(e))throw Error(C(418));e.flags=e.flags&-4097|2,ne=!1,Ve=e}}}function dd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ve=e}function oo(e){if(e!==Ve)return!1;if(!ne)return dd(e),ne=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Cl(e.type,e.memoizedProps)),t&&(t=Ge)){if(Nl(e))throw km(),Error(C(418));for(;t;)Cm(e,t),t=hn(t.nextSibling)}if(dd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(C(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ge=hn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ge=null}}else Ge=Ve?hn(e.stateNode.nextSibling):null;return!0}function km(){for(var e=Ge;e;)e=hn(e.nextSibling)}function xr(){Ge=Ve=null,ne=!1}function Yu(e){gt===null?gt=[e]:gt.push(e)}var t1=Zt.ReactCurrentBatchConfig;function Gr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(C(309));var r=n.stateNode}if(!r)throw Error(C(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(C(284));if(!n._owner)throw Error(C(290,e))}return e}function so(e,t){throw e=Object.prototype.toString.call(t),Error(C(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function hd(e){var t=e._init;return t(e._payload)}function Om(e){function t(h,d){if(e){var m=h.deletions;m===null?(h.deletions=[d],h.flags|=16):m.push(d)}}function n(h,d){if(!e)return null;for(;d!==null;)t(h,d),d=d.sibling;return null}function r(h,d){for(h=new Map;d!==null;)d.key!==null?h.set(d.key,d):h.set(d.index,d),d=d.sibling;return h}function i(h,d){return h=yn(h,d),h.index=0,h.sibling=null,h}function o(h,d,m){return h.index=m,e?(m=h.alternate,m!==null?(m=m.index,m<d?(h.flags|=2,d):m):(h.flags|=2,d)):(h.flags|=1048576,d)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function a(h,d,m,E){return d===null||d.tag!==6?(d=Da(m,h.mode,E),d.return=h,d):(d=i(d,m),d.return=h,d)}function l(h,d,m,E){var w=m.type;return w===or?c(h,d,m.props.children,E,m.key):d!==null&&(d.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===nn&&hd(w)===d.type)?(E=i(d,m.props),E.ref=Gr(h,d,m),E.return=h,E):(E=Do(m.type,m.key,m.props,null,h.mode,E),E.ref=Gr(h,d,m),E.return=h,E)}function u(h,d,m,E){return d===null||d.tag!==4||d.stateNode.containerInfo!==m.containerInfo||d.stateNode.implementation!==m.implementation?(d=Ma(m,h.mode,E),d.return=h,d):(d=i(d,m.children||[]),d.return=h,d)}function c(h,d,m,E,w){return d===null||d.tag!==7?(d=zn(m,h.mode,E,w),d.return=h,d):(d=i(d,m),d.return=h,d)}function g(h,d,m){if(typeof d=="string"&&d!==""||typeof d=="number")return d=Da(""+d,h.mode,m),d.return=h,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Qi:return m=Do(d.type,d.key,d.props,null,h.mode,m),m.ref=Gr(h,null,d),m.return=h,m;case ir:return d=Ma(d,h.mode,m),d.return=h,d;case nn:var E=d._init;return g(h,E(d._payload),m)}if(ti(d)||jr(d))return d=zn(d,h.mode,m,null),d.return=h,d;so(h,d)}return null}function y(h,d,m,E){var w=d!==null?d.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return w!==null?null:a(h,d,""+m,E);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Qi:return m.key===w?l(h,d,m,E):null;case ir:return m.key===w?u(h,d,m,E):null;case nn:return w=m._init,y(h,d,w(m._payload),E)}if(ti(m)||jr(m))return w!==null?null:c(h,d,m,E,null);so(h,m)}return null}function f(h,d,m,E,w){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(m)||null,a(d,h,""+E,w);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Qi:return h=h.get(E.key===null?m:E.key)||null,l(d,h,E,w);case ir:return h=h.get(E.key===null?m:E.key)||null,u(d,h,E,w);case nn:var b=E._init;return f(h,d,m,b(E._payload),w)}if(ti(E)||jr(E))return h=h.get(m)||null,c(d,h,E,w,null);so(d,E)}return null}function v(h,d,m,E){for(var w=null,b=null,x=d,T=d=0,M=null;x!==null&&T<m.length;T++){x.index>T?(M=x,x=null):M=x.sibling;var P=y(h,x,m[T],E);if(P===null){x===null&&(x=M);break}e&&x&&P.alternate===null&&t(h,x),d=o(P,d,T),b===null?w=P:b.sibling=P,b=P,x=M}if(T===m.length)return n(h,x),ne&&Pn(h,T),w;if(x===null){for(;T<m.length;T++)x=g(h,m[T],E),x!==null&&(d=o(x,d,T),b===null?w=x:b.sibling=x,b=x);return ne&&Pn(h,T),w}for(x=r(h,x);T<m.length;T++)M=f(x,h,T,m[T],E),M!==null&&(e&&M.alternate!==null&&x.delete(M.key===null?T:M.key),d=o(M,d,T),b===null?w=M:b.sibling=M,b=M);return e&&x.forEach(function(se){return t(h,se)}),ne&&Pn(h,T),w}function p(h,d,m,E){var w=jr(m);if(typeof w!="function")throw Error(C(150));if(m=w.call(m),m==null)throw Error(C(151));for(var b=w=null,x=d,T=d=0,M=null,P=m.next();x!==null&&!P.done;T++,P=m.next()){x.index>T?(M=x,x=null):M=x.sibling;var se=y(h,x,P.value,E);if(se===null){x===null&&(x=M);break}e&&x&&se.alternate===null&&t(h,x),d=o(se,d,T),b===null?w=se:b.sibling=se,b=se,x=M}if(P.done)return n(h,x),ne&&Pn(h,T),w;if(x===null){for(;!P.done;T++,P=m.next())P=g(h,P.value,E),P!==null&&(d=o(P,d,T),b===null?w=P:b.sibling=P,b=P);return ne&&Pn(h,T),w}for(x=r(h,x);!P.done;T++,P=m.next())P=f(x,h,T,P.value,E),P!==null&&(e&&P.alternate!==null&&x.delete(P.key===null?T:P.key),d=o(P,d,T),b===null?w=P:b.sibling=P,b=P);return e&&x.forEach(function(ve){return t(h,ve)}),ne&&Pn(h,T),w}function S(h,d,m,E){if(typeof m=="object"&&m!==null&&m.type===or&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Qi:e:{for(var w=m.key,b=d;b!==null;){if(b.key===w){if(w=m.type,w===or){if(b.tag===7){n(h,b.sibling),d=i(b,m.props.children),d.return=h,h=d;break e}}else if(b.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===nn&&hd(w)===b.type){n(h,b.sibling),d=i(b,m.props),d.ref=Gr(h,b,m),d.return=h,h=d;break e}n(h,b);break}else t(h,b);b=b.sibling}m.type===or?(d=zn(m.props.children,h.mode,E,m.key),d.return=h,h=d):(E=Do(m.type,m.key,m.props,null,h.mode,E),E.ref=Gr(h,d,m),E.return=h,h=E)}return s(h);case ir:e:{for(b=m.key;d!==null;){if(d.key===b)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(h,d.sibling),d=i(d,m.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=Ma(m,h.mode,E),d.return=h,h=d}return s(h);case nn:return b=m._init,S(h,d,b(m._payload),E)}if(ti(m))return v(h,d,m,E);if(jr(m))return p(h,d,m,E);so(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(h,d.sibling),d=i(d,m),d.return=h,h=d):(n(h,d),d=Da(m,h.mode,E),d.return=h,h=d),s(h)):n(h,d)}return S}var Tr=Om(!0),Rm=Om(!1),ts=bn(null),ns=null,hr=null,Zu=null;function Ju(){Zu=hr=ns=null}function ec(e){var t=ts.current;ee(ts),e._currentValue=t}function Pl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Er(e,t){ns=e,Zu=hr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Le=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if(Zu!==e)if(e={context:e,memoizedValue:t,next:null},hr===null){if(ns===null)throw Error(C(308));hr=e,ns.dependencies={lanes:0,firstContext:e}}else hr=hr.next=e;return t}var Bn=null;function tc(e){Bn===null?Bn=[e]:Bn.push(e)}function Nm(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,tc(t)):(n.next=i.next,i.next=n),t.interleaved=n,Xt(e,r)}function Xt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var rn=!1;function nc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Am(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function pn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,W&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Xt(e,n)}return i=r.interleaved,i===null?(t.next=t,tc(r)):(t.next=i.next,i.next=t),r.interleaved=t,Xt(e,n)}function Oo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Uu(e,n)}}function pd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function rs(e,t,n,r){var i=e.updateQueue;rn=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(o!==null){var g=i.baseState;s=0,c=u=l=null,a=o;do{var y=a.lane,f=a.eventTime;if((r&y)===y){c!==null&&(c=c.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,p=a;switch(y=t,f=n,p.tag){case 1:if(v=p.payload,typeof v=="function"){g=v.call(f,g,y);break e}g=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=p.payload,y=typeof v=="function"?v.call(f,g,y):v,y==null)break e;g=oe({},g,y);break e;case 2:rn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,y=i.effects,y===null?i.effects=[a]:y.push(a))}else f={eventTime:f,lane:y,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=f,l=g):c=c.next=f,s|=y;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;y=a,a=y.next,y.next=null,i.lastBaseUpdate=y,i.shared.pending=null}}while(!0);if(c===null&&(l=g),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Gn|=s,e.lanes=s,e.memoizedState=g}}function md(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(C(191,i));i.call(r)}}}var $i={},Mt=bn($i),ki=bn($i),Oi=bn($i);function Ln(e){if(e===$i)throw Error(C(174));return e}function rc(e,t){switch(K(Oi,t),K(ki,e),K(Mt,$i),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:dl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=dl(t,e)}ee(Mt),K(Mt,t)}function Cr(){ee(Mt),ee(ki),ee(Oi)}function Pm(e){Ln(Oi.current);var t=Ln(Mt.current),n=dl(t,e.type);t!==n&&(K(ki,e),K(Mt,n))}function ic(e){ki.current===e&&(ee(Mt),ee(ki))}var re=bn(0);function is(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Oa=[];function oc(){for(var e=0;e<Oa.length;e++)Oa[e]._workInProgressVersionPrimary=null;Oa.length=0}var Ro=Zt.ReactCurrentDispatcher,Ra=Zt.ReactCurrentBatchConfig,Hn=0,ie=null,he=null,me=null,os=!1,di=!1,Ri=0,n1=0;function Te(){throw Error(C(321))}function sc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!St(e[n],t[n]))return!1;return!0}function ac(e,t,n,r,i,o){if(Hn=o,ie=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ro.current=e===null||e.memoizedState===null?s1:a1,e=n(r,i),di){o=0;do{if(di=!1,Ri=0,25<=o)throw Error(C(301));o+=1,me=he=null,t.updateQueue=null,Ro.current=l1,e=n(r,i)}while(di)}if(Ro.current=ss,t=he!==null&&he.next!==null,Hn=0,me=he=ie=null,os=!1,t)throw Error(C(300));return e}function lc(){var e=Ri!==0;return Ri=0,e}function Ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return me===null?ie.memoizedState=me=e:me=me.next=e,me}function ot(){if(he===null){var e=ie.alternate;e=e!==null?e.memoizedState:null}else e=he.next;var t=me===null?ie.memoizedState:me.next;if(t!==null)me=t,he=e;else{if(e===null)throw Error(C(310));he=e,e={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},me===null?ie.memoizedState=me=e:me=me.next=e}return me}function Ni(e,t){return typeof t=="function"?t(e):t}function Na(e){var t=ot(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=he,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,u=o;do{var c=u.lane;if((Hn&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var g={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=g,s=r):l=l.next=g,ie.lanes|=c,Gn|=c}u=u.next}while(u!==null&&u!==o);l===null?s=r:l.next=a,St(r,t.memoizedState)||(Le=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,ie.lanes|=o,Gn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Aa(e){var t=ot(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);St(o,t.memoizedState)||(Le=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Im(){}function Dm(e,t){var n=ie,r=ot(),i=t(),o=!St(r.memoizedState,i);if(o&&(r.memoizedState=i,Le=!0),r=r.queue,uc(Bm.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||me!==null&&me.memoizedState.tag&1){if(n.flags|=2048,Ai(9,Fm.bind(null,n,r,i,t),void 0,null),ge===null)throw Error(C(349));Hn&30||Mm(n,t,i)}return i}function Mm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ie.updateQueue,t===null?(t={lastEffect:null,stores:null},ie.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Fm(e,t,n,r){t.value=n,t.getSnapshot=r,Lm(t)&&jm(e)}function Bm(e,t,n){return n(function(){Lm(t)&&jm(e)})}function Lm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!St(e,n)}catch{return!0}}function jm(e){var t=Xt(e,1);t!==null&&Et(t,e,1,-1)}function gd(e){var t=Ot();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:e},t.queue=e,e=e.dispatch=o1.bind(null,ie,e),[t.memoizedState,e]}function Ai(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ie.updateQueue,t===null?(t={lastEffect:null,stores:null},ie.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function zm(){return ot().memoizedState}function No(e,t,n,r){var i=Ot();ie.flags|=e,i.memoizedState=Ai(1|t,n,void 0,r===void 0?null:r)}function Rs(e,t,n,r){var i=ot();r=r===void 0?null:r;var o=void 0;if(he!==null){var s=he.memoizedState;if(o=s.destroy,r!==null&&sc(r,s.deps)){i.memoizedState=Ai(t,n,o,r);return}}ie.flags|=e,i.memoizedState=Ai(1|t,n,o,r)}function yd(e,t){return No(8390656,8,e,t)}function uc(e,t){return Rs(2048,8,e,t)}function Um(e,t){return Rs(4,2,e,t)}function $m(e,t){return Rs(4,4,e,t)}function Hm(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Gm(e,t,n){return n=n!=null?n.concat([e]):null,Rs(4,4,Hm.bind(null,t,e),n)}function cc(){}function Vm(e,t){var n=ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&sc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Wm(e,t){var n=ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&sc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function qm(e,t,n){return Hn&21?(St(n,t)||(n=Zp(),ie.lanes|=n,Gn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Le=!0),e.memoizedState=n)}function r1(e,t){var n=X;X=n!==0&&4>n?n:4,e(!0);var r=Ra.transition;Ra.transition={};try{e(!1),t()}finally{X=n,Ra.transition=r}}function Xm(){return ot().memoizedState}function i1(e,t,n){var r=gn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qm(e))Km(t,n);else if(n=Nm(e,t,n,r),n!==null){var i=Pe();Et(n,e,r,i),Ym(n,t,r)}}function o1(e,t,n){var r=gn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qm(e))Km(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,St(a,s)){var l=t.interleaved;l===null?(i.next=i,tc(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Nm(e,t,i,r),n!==null&&(i=Pe(),Et(n,e,r,i),Ym(n,t,r))}}function Qm(e){var t=e.alternate;return e===ie||t!==null&&t===ie}function Km(e,t){di=os=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ym(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Uu(e,n)}}var ss={readContext:it,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useInsertionEffect:Te,useLayoutEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useMutableSource:Te,useSyncExternalStore:Te,useId:Te,unstable_isNewReconciler:!1},s1={readContext:it,useCallback:function(e,t){return Ot().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:yd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,No(4194308,4,Hm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return No(4194308,4,e,t)},useInsertionEffect:function(e,t){return No(4,2,e,t)},useMemo:function(e,t){var n=Ot();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ot();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=i1.bind(null,ie,e),[r.memoizedState,e]},useRef:function(e){var t=Ot();return e={current:e},t.memoizedState=e},useState:gd,useDebugValue:cc,useDeferredValue:function(e){return Ot().memoizedState=e},useTransition:function(){var e=gd(!1),t=e[0];return e=r1.bind(null,e[1]),Ot().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ie,i=Ot();if(ne){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),ge===null)throw Error(C(349));Hn&30||Mm(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,yd(Bm.bind(null,r,o,e),[e]),r.flags|=2048,Ai(9,Fm.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ot(),t=ge.identifierPrefix;if(ne){var n=Gt,r=Ht;n=(r&~(1<<32-_t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ri++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=n1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},a1={readContext:it,useCallback:Vm,useContext:it,useEffect:uc,useImperativeHandle:Gm,useInsertionEffect:Um,useLayoutEffect:$m,useMemo:Wm,useReducer:Na,useRef:zm,useState:function(){return Na(Ni)},useDebugValue:cc,useDeferredValue:function(e){var t=ot();return qm(t,he.memoizedState,e)},useTransition:function(){var e=Na(Ni)[0],t=ot().memoizedState;return[e,t]},useMutableSource:Im,useSyncExternalStore:Dm,useId:Xm,unstable_isNewReconciler:!1},l1={readContext:it,useCallback:Vm,useContext:it,useEffect:uc,useImperativeHandle:Gm,useInsertionEffect:Um,useLayoutEffect:$m,useMemo:Wm,useReducer:Aa,useRef:zm,useState:function(){return Aa(Ni)},useDebugValue:cc,useDeferredValue:function(e){var t=ot();return he===null?t.memoizedState=e:qm(t,he.memoizedState,e)},useTransition:function(){var e=Aa(Ni)[0],t=ot().memoizedState;return[e,t]},useMutableSource:Im,useSyncExternalStore:Dm,useId:Xm,unstable_isNewReconciler:!1};function ht(e,t){if(e&&e.defaultProps){t=oe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Il(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:oe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ns={isMounted:function(e){return(e=e._reactInternals)?Qn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Pe(),i=gn(e),o=Vt(r,i);o.payload=t,n!=null&&(o.callback=n),t=pn(e,o,i),t!==null&&(Et(t,e,i,r),Oo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Pe(),i=gn(e),o=Vt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=pn(e,o,i),t!==null&&(Et(t,e,i,r),Oo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Pe(),r=gn(e),i=Vt(n,r);i.tag=2,t!=null&&(i.callback=t),t=pn(e,i,r),t!==null&&(Et(t,e,r,n),Oo(t,e,r))}};function vd(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!bi(n,r)||!bi(i,o):!0}function Zm(e,t,n){var r=!1,i=En,o=t.contextType;return typeof o=="object"&&o!==null?o=it(o):(i=ze(t)?Un:Re.current,r=t.contextTypes,o=(r=r!=null)?br(e,i):En),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ns,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function _d(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ns.enqueueReplaceState(t,t.state,null)}function Dl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},nc(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=it(o):(o=ze(t)?Un:Re.current,i.context=br(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Il(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Ns.enqueueReplaceState(i,i.state,null),rs(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function kr(e,t){try{var n="",r=t;do n+=F0(r),r=r.return;while(r);var i=n}catch(o){i=`
|
|
37
|
+
`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{da=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ei(e):""}function F0(e){switch(e.tag){case 5:return ei(e.type);case 16:return ei("Lazy");case 13:return ei("Suspense");case 19:return ei("SuspenseList");case 0:case 2:case 15:return e=ha(e.type,!1),e;case 11:return e=ha(e.type.render,!1),e;case 1:return e=ha(e.type,!0),e;default:return""}}function al(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case or:return"Fragment";case ir:return"Portal";case il:return"Profiler";case Fu:return"StrictMode";case ol:return"Suspense";case sl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Pp:return(e.displayName||"Context")+".Consumer";case Ap:return(e._context.displayName||"Context")+".Provider";case Bu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lu:return t=e.displayName||null,t!==null?t:al(e.type)||"Memo";case nn:t=e._payload,e=e._init;try{return al(e(t))}catch{}}return null}function B0(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return al(t);case 8:return t===Fu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function _n(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Dp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function L0(e){var t=Dp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ki(e){e._valueTracker||(e._valueTracker=L0(e))}function Mp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Dp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $o(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ll(e,t){var n=t.checked;return oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Bf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=_n(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Fp(e,t){t=t.checked,t!=null&&Mu(e,"checked",t,!1)}function ul(e,t){Fp(e,t);var n=_n(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?cl(e,t.type,n):t.hasOwnProperty("defaultValue")&&cl(e,t.type,_n(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Lf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function cl(e,t,n){(t!=="number"||$o(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ti=Array.isArray;function gr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+_n(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function fl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(C(91));return oe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function jf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(C(92));if(ti(n)){if(1<n.length)throw Error(C(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:_n(n)}}function Bp(e,t){var n=_n(t.value),r=_n(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function zf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Lp(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function dl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Lp(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Yi,jp=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Yi=Yi||document.createElement("div"),Yi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Yi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ai={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},j0=["Webkit","ms","Moz","O"];Object.keys(ai).forEach(function(e){j0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ai[t]=ai[e]})});function zp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ai.hasOwnProperty(e)&&ai[e]?(""+t).trim():t+"px"}function Up(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=zp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var z0=oe({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 hl(e,t){if(t){if(z0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function pl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ml=null;function ju(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gl=null,yr=null,vr=null;function Uf(e){if(e=Ui(e)){if(typeof gl!="function")throw Error(C(280));var t=e.stateNode;t&&(t=ks(t),gl(e.stateNode,e.type,t))}}function $p(e){yr?vr?vr.push(e):vr=[e]:yr=e}function Hp(){if(yr){var e=yr,t=vr;if(vr=yr=null,Uf(e),t)for(e=0;e<t.length;e++)Uf(t[e])}}function Gp(e,t){return e(t)}function Vp(){}var pa=!1;function Wp(e,t,n){if(pa)return e(t,n);pa=!0;try{return Gp(e,t,n)}finally{pa=!1,(yr!==null||vr!==null)&&(Vp(),Hp())}}function vi(e,t){var n=e.stateNode;if(n===null)return null;var r=ks(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(C(231,t,typeof n));return n}var yl=!1;if(Wt)try{var zr={};Object.defineProperty(zr,"passive",{get:function(){yl=!0}}),window.addEventListener("test",zr,zr),window.removeEventListener("test",zr,zr)}catch{yl=!1}function U0(e,t,n,r,i,o,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var li=!1,Ho=null,Go=!1,vl=null,$0={onError:function(e){li=!0,Ho=e}};function H0(e,t,n,r,i,o,s,a,l){li=!1,Ho=null,U0.apply($0,arguments)}function G0(e,t,n,r,i,o,s,a,l){if(H0.apply(this,arguments),li){if(li){var u=Ho;li=!1,Ho=null}else throw Error(C(198));Go||(Go=!0,vl=u)}}function Qn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function qp(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function $f(e){if(Qn(e)!==e)throw Error(C(188))}function V0(e){var t=e.alternate;if(!t){if(t=Qn(e),t===null)throw Error(C(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return $f(i),e;if(o===r)return $f(i),t;o=o.sibling}throw Error(C(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(C(189))}}if(n.alternate!==r)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?e:t}function Xp(e){return e=V0(e),e!==null?Qp(e):null}function Qp(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Qp(e);if(t!==null)return t;e=e.sibling}return null}var Kp=We.unstable_scheduleCallback,Hf=We.unstable_cancelCallback,W0=We.unstable_shouldYield,q0=We.unstable_requestPaint,ue=We.unstable_now,X0=We.unstable_getCurrentPriorityLevel,zu=We.unstable_ImmediatePriority,Yp=We.unstable_UserBlockingPriority,Vo=We.unstable_NormalPriority,Q0=We.unstable_LowPriority,Zp=We.unstable_IdlePriority,bs=null,Dt=null;function K0(e){if(Dt&&typeof Dt.onCommitFiberRoot=="function")try{Dt.onCommitFiberRoot(bs,e,void 0,(e.current.flags&128)===128)}catch{}}var _t=Math.clz32?Math.clz32:J0,Y0=Math.log,Z0=Math.LN2;function J0(e){return e>>>=0,e===0?32:31-(Y0(e)/Z0|0)|0}var Zi=64,Ji=4194304;function ni(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Wo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=ni(a):(o&=s,o!==0&&(r=ni(o)))}else s=n&~i,s!==0?r=ni(s):o!==0&&(r=ni(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-_t(t),i=1<<n,r|=e[n],t&=~i;return r}function e_(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:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function t_(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-_t(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=e_(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function _l(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Jp(){var e=Zi;return Zi<<=1,!(Zi&4194240)&&(Zi=64),e}function ma(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ji(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_t(t),e[t]=n}function n_(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-_t(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Uu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var X=0;function em(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var tm,$u,nm,rm,im,El=!1,eo=[],cn=null,fn=null,dn=null,_i=new Map,Ei=new Map,on=[],r_="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Gf(e,t){switch(e){case"focusin":case"focusout":cn=null;break;case"dragenter":case"dragleave":fn=null;break;case"mouseover":case"mouseout":dn=null;break;case"pointerover":case"pointerout":_i.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ei.delete(t.pointerId)}}function Ur(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Ui(t),t!==null&&$u(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function i_(e,t,n,r,i){switch(t){case"focusin":return cn=Ur(cn,e,t,n,r,i),!0;case"dragenter":return fn=Ur(fn,e,t,n,r,i),!0;case"mouseover":return dn=Ur(dn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return _i.set(o,Ur(_i.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ei.set(o,Ur(Ei.get(o)||null,e,t,n,r,i)),!0}return!1}function om(e){var t=Fn(e.target);if(t!==null){var n=Qn(t);if(n!==null){if(t=n.tag,t===13){if(t=qp(n),t!==null){e.blockedOn=t,im(e.priority,function(){nm(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function To(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Sl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ml=r,n.target.dispatchEvent(r),ml=null}else return t=Ui(n),t!==null&&$u(t),e.blockedOn=n,!1;t.shift()}return!0}function Vf(e,t,n){To(e)&&n.delete(t)}function o_(){El=!1,cn!==null&&To(cn)&&(cn=null),fn!==null&&To(fn)&&(fn=null),dn!==null&&To(dn)&&(dn=null),_i.forEach(Vf),Ei.forEach(Vf)}function $r(e,t){e.blockedOn===t&&(e.blockedOn=null,El||(El=!0,We.unstable_scheduleCallback(We.unstable_NormalPriority,o_)))}function Si(e){function t(i){return $r(i,e)}if(0<eo.length){$r(eo[0],e);for(var n=1;n<eo.length;n++){var r=eo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(cn!==null&&$r(cn,e),fn!==null&&$r(fn,e),dn!==null&&$r(dn,e),_i.forEach(t),Ei.forEach(t),n=0;n<on.length;n++)r=on[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<on.length&&(n=on[0],n.blockedOn===null);)om(n),n.blockedOn===null&&on.shift()}var _r=Zt.ReactCurrentBatchConfig,qo=!0;function s_(e,t,n,r){var i=X,o=_r.transition;_r.transition=null;try{X=1,Hu(e,t,n,r)}finally{X=i,_r.transition=o}}function a_(e,t,n,r){var i=X,o=_r.transition;_r.transition=null;try{X=4,Hu(e,t,n,r)}finally{X=i,_r.transition=o}}function Hu(e,t,n,r){if(qo){var i=Sl(e,t,n,r);if(i===null)Ta(e,t,r,Xo,n),Gf(e,r);else if(i_(i,e,t,n,r))r.stopPropagation();else if(Gf(e,r),t&4&&-1<r_.indexOf(e)){for(;i!==null;){var o=Ui(i);if(o!==null&&tm(o),o=Sl(e,t,n,r),o===null&&Ta(e,t,r,Xo,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Ta(e,t,r,null,n)}}var Xo=null;function Sl(e,t,n,r){if(Xo=null,e=ju(r),e=Fn(e),e!==null)if(t=Qn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=qp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xo=e,null}function sm(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(X0()){case zu:return 1;case Yp:return 4;case Vo:case Q0:return 16;case Zp:return 536870912;default:return 16}default:return 16}}var ln=null,Gu=null,Co=null;function am(){if(Co)return Co;var e,t=Gu,n=t.length,r,i="value"in ln?ln.value:ln.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Co=i.slice(e,1<r?1-r:void 0)}function ko(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function to(){return!0}function Wf(){return!1}function Ke(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?to:Wf,this.isPropagationStopped=Wf,this}return oe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=to)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=to)},persist:function(){},isPersistent:to}),t}var Mr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vu=Ke(Mr),zi=oe({},Mr,{view:0,detail:0}),l_=Ke(zi),ga,ya,Hr,xs=oe({},zi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Hr&&(Hr&&e.type==="mousemove"?(ga=e.screenX-Hr.screenX,ya=e.screenY-Hr.screenY):ya=ga=0,Hr=e),ga)},movementY:function(e){return"movementY"in e?e.movementY:ya}}),qf=Ke(xs),u_=oe({},xs,{dataTransfer:0}),c_=Ke(u_),f_=oe({},zi,{relatedTarget:0}),va=Ke(f_),d_=oe({},Mr,{animationName:0,elapsedTime:0,pseudoElement:0}),h_=Ke(d_),p_=oe({},Mr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),m_=Ke(p_),g_=oe({},Mr,{data:0}),Xf=Ke(g_),y_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},v_={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"},__={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function E_(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=__[e])?!!t[e]:!1}function Wu(){return E_}var S_=oe({},zi,{key:function(e){if(e.key){var t=y_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ko(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?v_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wu,charCode:function(e){return e.type==="keypress"?ko(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ko(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),w_=Ke(S_),b_=oe({},xs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qf=Ke(b_),x_=oe({},zi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wu}),T_=Ke(x_),C_=oe({},Mr,{propertyName:0,elapsedTime:0,pseudoElement:0}),k_=Ke(C_),O_=oe({},xs,{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}),R_=Ke(O_),N_=[9,13,27,32],qu=Wt&&"CompositionEvent"in window,ui=null;Wt&&"documentMode"in document&&(ui=document.documentMode);var A_=Wt&&"TextEvent"in window&&!ui,lm=Wt&&(!qu||ui&&8<ui&&11>=ui),Kf=" ",Yf=!1;function um(e,t){switch(e){case"keyup":return N_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var sr=!1;function P_(e,t){switch(e){case"compositionend":return cm(t);case"keypress":return t.which!==32?null:(Yf=!0,Kf);case"textInput":return e=t.data,e===Kf&&Yf?null:e;default:return null}}function I_(e,t){if(sr)return e==="compositionend"||!qu&&um(e,t)?(e=am(),Co=Gu=ln=null,sr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return lm&&t.locale!=="ko"?null:t.data;default:return null}}var D_={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 Zf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!D_[e.type]:t==="textarea"}function fm(e,t,n,r){$p(r),t=Qo(t,"onChange"),0<t.length&&(n=new Vu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ci=null,wi=null;function M_(e){wm(e,0)}function Ts(e){var t=ur(e);if(Mp(t))return e}function F_(e,t){if(e==="change")return t}var dm=!1;if(Wt){var _a;if(Wt){var Ea="oninput"in document;if(!Ea){var Jf=document.createElement("div");Jf.setAttribute("oninput","return;"),Ea=typeof Jf.oninput=="function"}_a=Ea}else _a=!1;dm=_a&&(!document.documentMode||9<document.documentMode)}function ed(){ci&&(ci.detachEvent("onpropertychange",hm),wi=ci=null)}function hm(e){if(e.propertyName==="value"&&Ts(wi)){var t=[];fm(t,wi,e,ju(e)),Wp(M_,t)}}function B_(e,t,n){e==="focusin"?(ed(),ci=t,wi=n,ci.attachEvent("onpropertychange",hm)):e==="focusout"&&ed()}function L_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ts(wi)}function j_(e,t){if(e==="click")return Ts(t)}function z_(e,t){if(e==="input"||e==="change")return Ts(t)}function U_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var St=typeof Object.is=="function"?Object.is:U_;function bi(e,t){if(St(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!rl.call(t,i)||!St(e[i],t[i]))return!1}return!0}function td(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nd(e,t){var n=td(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=td(n)}}function pm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function mm(){for(var e=window,t=$o();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$o(e.document)}return t}function Xu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function $_(e){var t=mm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pm(n.ownerDocument.documentElement,n)){if(r!==null&&Xu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=nd(n,o);var s=nd(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var H_=Wt&&"documentMode"in document&&11>=document.documentMode,ar=null,wl=null,fi=null,bl=!1;function rd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bl||ar==null||ar!==$o(r)||(r=ar,"selectionStart"in r&&Xu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),fi&&bi(fi,r)||(fi=r,r=Qo(wl,"onSelect"),0<r.length&&(t=new Vu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ar)))}function no(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var lr={animationend:no("Animation","AnimationEnd"),animationiteration:no("Animation","AnimationIteration"),animationstart:no("Animation","AnimationStart"),transitionend:no("Transition","TransitionEnd")},Sa={},gm={};Wt&&(gm=document.createElement("div").style,"AnimationEvent"in window||(delete lr.animationend.animation,delete lr.animationiteration.animation,delete lr.animationstart.animation),"TransitionEvent"in window||delete lr.transitionend.transition);function Cs(e){if(Sa[e])return Sa[e];if(!lr[e])return e;var t=lr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in gm)return Sa[e]=t[n];return e}var ym=Cs("animationend"),vm=Cs("animationiteration"),_m=Cs("animationstart"),Em=Cs("transitionend"),Sm=new Map,id="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function wn(e,t){Sm.set(e,t),Xn(t,[e])}for(var wa=0;wa<id.length;wa++){var ba=id[wa],G_=ba.toLowerCase(),V_=ba[0].toUpperCase()+ba.slice(1);wn(G_,"on"+V_)}wn(ym,"onAnimationEnd");wn(vm,"onAnimationIteration");wn(_m,"onAnimationStart");wn("dblclick","onDoubleClick");wn("focusin","onFocus");wn("focusout","onBlur");wn(Em,"onTransitionEnd");wr("onMouseEnter",["mouseout","mouseover"]);wr("onMouseLeave",["mouseout","mouseover"]);wr("onPointerEnter",["pointerout","pointerover"]);wr("onPointerLeave",["pointerout","pointerover"]);Xn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Xn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Xn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Xn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Xn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Xn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ri="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),W_=new Set("cancel close invalid load scroll toggle".split(" ").concat(ri));function od(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,G0(r,t,void 0,e),e.currentTarget=null}function wm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;od(i,a,u),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;od(i,a,u),o=l}}}if(Go)throw e=vl,Go=!1,vl=null,e}function Z(e,t){var n=t[Ol];n===void 0&&(n=t[Ol]=new Set);var r=e+"__bubble";n.has(r)||(bm(t,e,2,!1),n.add(r))}function xa(e,t,n){var r=0;t&&(r|=4),bm(n,e,r,t)}var ro="_reactListening"+Math.random().toString(36).slice(2);function xi(e){if(!e[ro]){e[ro]=!0,Np.forEach(function(n){n!=="selectionchange"&&(W_.has(n)||xa(n,!1,e),xa(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ro]||(t[ro]=!0,xa("selectionchange",!1,t))}}function bm(e,t,n,r){switch(sm(t)){case 1:var i=s_;break;case 4:i=a_;break;default:i=Hu}n=i.bind(null,t,n,e),i=void 0,!yl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ta(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=Fn(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}Wp(function(){var u=o,c=ju(n),g=[];e:{var y=Sm.get(e);if(y!==void 0){var f=Vu,v=e;switch(e){case"keypress":if(ko(n)===0)break e;case"keydown":case"keyup":f=w_;break;case"focusin":v="focus",f=va;break;case"focusout":v="blur",f=va;break;case"beforeblur":case"afterblur":f=va;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=qf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=c_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=T_;break;case ym:case vm:case _m:f=h_;break;case Em:f=k_;break;case"scroll":f=l_;break;case"wheel":f=R_;break;case"copy":case"cut":case"paste":f=m_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=Qf}var p=(t&4)!==0,S=!p&&e==="scroll",h=p?y!==null?y+"Capture":null:y;p=[];for(var d=u,m;d!==null;){m=d;var E=m.stateNode;if(m.tag===5&&E!==null&&(m=E,h!==null&&(E=vi(d,h),E!=null&&p.push(Ti(d,E,m)))),S)break;d=d.return}0<p.length&&(y=new f(y,v,null,n,c),g.push({event:y,listeners:p}))}}if(!(t&7)){e:{if(y=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",y&&n!==ml&&(v=n.relatedTarget||n.fromElement)&&(Fn(v)||v[qt]))break e;if((f||y)&&(y=c.window===c?c:(y=c.ownerDocument)?y.defaultView||y.parentWindow:window,f?(v=n.relatedTarget||n.toElement,f=u,v=v?Fn(v):null,v!==null&&(S=Qn(v),v!==S||v.tag!==5&&v.tag!==6)&&(v=null)):(f=null,v=u),f!==v)){if(p=qf,E="onMouseLeave",h="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(p=Qf,E="onPointerLeave",h="onPointerEnter",d="pointer"),S=f==null?y:ur(f),m=v==null?y:ur(v),y=new p(E,d+"leave",f,n,c),y.target=S,y.relatedTarget=m,E=null,Fn(c)===u&&(p=new p(h,d+"enter",v,n,c),p.target=m,p.relatedTarget=S,E=p),S=E,f&&v)t:{for(p=f,h=v,d=0,m=p;m;m=Jn(m))d++;for(m=0,E=h;E;E=Jn(E))m++;for(;0<d-m;)p=Jn(p),d--;for(;0<m-d;)h=Jn(h),m--;for(;d--;){if(p===h||h!==null&&p===h.alternate)break t;p=Jn(p),h=Jn(h)}p=null}else p=null;f!==null&&sd(g,y,f,p,!1),v!==null&&S!==null&&sd(g,S,v,p,!0)}}e:{if(y=u?ur(u):window,f=y.nodeName&&y.nodeName.toLowerCase(),f==="select"||f==="input"&&y.type==="file")var w=F_;else if(Zf(y))if(dm)w=z_;else{w=L_;var b=B_}else(f=y.nodeName)&&f.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(w=j_);if(w&&(w=w(e,u))){fm(g,w,n,c);break e}b&&b(e,y,u),e==="focusout"&&(b=y._wrapperState)&&b.controlled&&y.type==="number"&&cl(y,"number",y.value)}switch(b=u?ur(u):window,e){case"focusin":(Zf(b)||b.contentEditable==="true")&&(ar=b,wl=u,fi=null);break;case"focusout":fi=wl=ar=null;break;case"mousedown":bl=!0;break;case"contextmenu":case"mouseup":case"dragend":bl=!1,rd(g,n,c);break;case"selectionchange":if(H_)break;case"keydown":case"keyup":rd(g,n,c)}var x;if(qu)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else sr?um(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(lm&&n.locale!=="ko"&&(sr||T!=="onCompositionStart"?T==="onCompositionEnd"&&sr&&(x=am()):(ln=c,Gu="value"in ln?ln.value:ln.textContent,sr=!0)),b=Qo(u,T),0<b.length&&(T=new Xf(T,e,null,n,c),g.push({event:T,listeners:b}),x?T.data=x:(x=cm(n),x!==null&&(T.data=x)))),(x=A_?P_(e,n):I_(e,n))&&(u=Qo(u,"onBeforeInput"),0<u.length&&(c=new Xf("onBeforeInput","beforeinput",null,n,c),g.push({event:c,listeners:u}),c.data=x))}wm(g,t)})}function Ti(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qo(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=vi(e,n),o!=null&&r.unshift(Ti(e,o,i)),o=vi(e,t),o!=null&&r.push(Ti(e,o,i))),e=e.return}return r}function Jn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function sd(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=vi(n,o),l!=null&&s.unshift(Ti(n,l,a))):i||(l=vi(n,o),l!=null&&s.push(Ti(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var q_=/\r\n?/g,X_=/\u0000|\uFFFD/g;function ad(e){return(typeof e=="string"?e:""+e).replace(q_,`
|
|
38
|
+
`).replace(X_,"")}function io(e,t,n){if(t=ad(t),ad(e)!==t&&n)throw Error(C(425))}function Ko(){}var xl=null,Tl=null;function Cl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var kl=typeof setTimeout=="function"?setTimeout:void 0,Q_=typeof clearTimeout=="function"?clearTimeout:void 0,ld=typeof Promise=="function"?Promise:void 0,K_=typeof queueMicrotask=="function"?queueMicrotask:typeof ld<"u"?function(e){return ld.resolve(null).then(e).catch(Y_)}:kl;function Y_(e){setTimeout(function(){throw e})}function Ca(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Si(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Si(t)}function hn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function ud(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Fr=Math.random().toString(36).slice(2),Pt="__reactFiber$"+Fr,Ci="__reactProps$"+Fr,qt="__reactContainer$"+Fr,Ol="__reactEvents$"+Fr,Z_="__reactListeners$"+Fr,J_="__reactHandles$"+Fr;function Fn(e){var t=e[Pt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[qt]||n[Pt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ud(e);e!==null;){if(n=e[Pt])return n;e=ud(e)}return t}e=n,n=e.parentNode}return null}function Ui(e){return e=e[Pt]||e[qt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ur(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(C(33))}function ks(e){return e[Ci]||null}var Rl=[],cr=-1;function bn(e){return{current:e}}function ee(e){0>cr||(e.current=Rl[cr],Rl[cr]=null,cr--)}function K(e,t){cr++,Rl[cr]=e.current,e.current=t}var En={},Re=bn(En),je=bn(!1),Un=En;function br(e,t){var n=e.type.contextTypes;if(!n)return En;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ze(e){return e=e.childContextTypes,e!=null}function Yo(){ee(je),ee(Re)}function cd(e,t,n){if(Re.current!==En)throw Error(C(168));K(Re,t),K(je,n)}function xm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(C(108,B0(e)||"Unknown",i));return oe({},n,r)}function Zo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||En,Un=Re.current,K(Re,e),K(je,je.current),!0}function fd(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=xm(e,t,Un),r.__reactInternalMemoizedMergedChildContext=e,ee(je),ee(Re),K(Re,e)):ee(je),K(je,n)}var Ut=null,Os=!1,ka=!1;function Tm(e){Ut===null?Ut=[e]:Ut.push(e)}function e1(e){Os=!0,Tm(e)}function xn(){if(!ka&&Ut!==null){ka=!0;var e=0,t=X;try{var n=Ut;for(X=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ut=null,Os=!1}catch(i){throw Ut!==null&&(Ut=Ut.slice(e+1)),Kp(zu,xn),i}finally{X=t,ka=!1}}return null}var fr=[],dr=0,Jo=null,es=0,Je=[],et=0,$n=null,Ht=1,Gt="";function Pn(e,t){fr[dr++]=es,fr[dr++]=Jo,Jo=e,es=t}function Cm(e,t,n){Je[et++]=Ht,Je[et++]=Gt,Je[et++]=$n,$n=e;var r=Ht;e=Gt;var i=32-_t(r)-1;r&=~(1<<i),n+=1;var o=32-_t(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Ht=1<<32-_t(t)+i|n<<i|r,Gt=o+e}else Ht=1<<o|n<<i|r,Gt=e}function Qu(e){e.return!==null&&(Pn(e,1),Cm(e,1,0))}function Ku(e){for(;e===Jo;)Jo=fr[--dr],fr[dr]=null,es=fr[--dr],fr[dr]=null;for(;e===$n;)$n=Je[--et],Je[et]=null,Gt=Je[--et],Je[et]=null,Ht=Je[--et],Je[et]=null}var Ve=null,Ge=null,ne=!1,gt=null;function km(e,t){var n=nt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function dd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ve=e,Ge=hn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ve=e,Ge=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=$n!==null?{id:Ht,overflow:Gt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=nt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ve=e,Ge=null,!0):!1;default:return!1}}function Nl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Al(e){if(ne){var t=Ge;if(t){var n=t;if(!dd(e,t)){if(Nl(e))throw Error(C(418));t=hn(n.nextSibling);var r=Ve;t&&dd(e,t)?km(r,n):(e.flags=e.flags&-4097|2,ne=!1,Ve=e)}}else{if(Nl(e))throw Error(C(418));e.flags=e.flags&-4097|2,ne=!1,Ve=e}}}function hd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ve=e}function oo(e){if(e!==Ve)return!1;if(!ne)return hd(e),ne=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Cl(e.type,e.memoizedProps)),t&&(t=Ge)){if(Nl(e))throw Om(),Error(C(418));for(;t;)km(e,t),t=hn(t.nextSibling)}if(hd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(C(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ge=hn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ge=null}}else Ge=Ve?hn(e.stateNode.nextSibling):null;return!0}function Om(){for(var e=Ge;e;)e=hn(e.nextSibling)}function xr(){Ge=Ve=null,ne=!1}function Yu(e){gt===null?gt=[e]:gt.push(e)}var t1=Zt.ReactCurrentBatchConfig;function Gr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(C(309));var r=n.stateNode}if(!r)throw Error(C(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(C(284));if(!n._owner)throw Error(C(290,e))}return e}function so(e,t){throw e=Object.prototype.toString.call(t),Error(C(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function pd(e){var t=e._init;return t(e._payload)}function Rm(e){function t(h,d){if(e){var m=h.deletions;m===null?(h.deletions=[d],h.flags|=16):m.push(d)}}function n(h,d){if(!e)return null;for(;d!==null;)t(h,d),d=d.sibling;return null}function r(h,d){for(h=new Map;d!==null;)d.key!==null?h.set(d.key,d):h.set(d.index,d),d=d.sibling;return h}function i(h,d){return h=yn(h,d),h.index=0,h.sibling=null,h}function o(h,d,m){return h.index=m,e?(m=h.alternate,m!==null?(m=m.index,m<d?(h.flags|=2,d):m):(h.flags|=2,d)):(h.flags|=1048576,d)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function a(h,d,m,E){return d===null||d.tag!==6?(d=Da(m,h.mode,E),d.return=h,d):(d=i(d,m),d.return=h,d)}function l(h,d,m,E){var w=m.type;return w===or?c(h,d,m.props.children,E,m.key):d!==null&&(d.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===nn&&pd(w)===d.type)?(E=i(d,m.props),E.ref=Gr(h,d,m),E.return=h,E):(E=Do(m.type,m.key,m.props,null,h.mode,E),E.ref=Gr(h,d,m),E.return=h,E)}function u(h,d,m,E){return d===null||d.tag!==4||d.stateNode.containerInfo!==m.containerInfo||d.stateNode.implementation!==m.implementation?(d=Ma(m,h.mode,E),d.return=h,d):(d=i(d,m.children||[]),d.return=h,d)}function c(h,d,m,E,w){return d===null||d.tag!==7?(d=zn(m,h.mode,E,w),d.return=h,d):(d=i(d,m),d.return=h,d)}function g(h,d,m){if(typeof d=="string"&&d!==""||typeof d=="number")return d=Da(""+d,h.mode,m),d.return=h,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Qi:return m=Do(d.type,d.key,d.props,null,h.mode,m),m.ref=Gr(h,null,d),m.return=h,m;case ir:return d=Ma(d,h.mode,m),d.return=h,d;case nn:var E=d._init;return g(h,E(d._payload),m)}if(ti(d)||jr(d))return d=zn(d,h.mode,m,null),d.return=h,d;so(h,d)}return null}function y(h,d,m,E){var w=d!==null?d.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return w!==null?null:a(h,d,""+m,E);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Qi:return m.key===w?l(h,d,m,E):null;case ir:return m.key===w?u(h,d,m,E):null;case nn:return w=m._init,y(h,d,w(m._payload),E)}if(ti(m)||jr(m))return w!==null?null:c(h,d,m,E,null);so(h,m)}return null}function f(h,d,m,E,w){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(m)||null,a(d,h,""+E,w);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Qi:return h=h.get(E.key===null?m:E.key)||null,l(d,h,E,w);case ir:return h=h.get(E.key===null?m:E.key)||null,u(d,h,E,w);case nn:var b=E._init;return f(h,d,m,b(E._payload),w)}if(ti(E)||jr(E))return h=h.get(m)||null,c(d,h,E,w,null);so(d,E)}return null}function v(h,d,m,E){for(var w=null,b=null,x=d,T=d=0,M=null;x!==null&&T<m.length;T++){x.index>T?(M=x,x=null):M=x.sibling;var P=y(h,x,m[T],E);if(P===null){x===null&&(x=M);break}e&&x&&P.alternate===null&&t(h,x),d=o(P,d,T),b===null?w=P:b.sibling=P,b=P,x=M}if(T===m.length)return n(h,x),ne&&Pn(h,T),w;if(x===null){for(;T<m.length;T++)x=g(h,m[T],E),x!==null&&(d=o(x,d,T),b===null?w=x:b.sibling=x,b=x);return ne&&Pn(h,T),w}for(x=r(h,x);T<m.length;T++)M=f(x,h,T,m[T],E),M!==null&&(e&&M.alternate!==null&&x.delete(M.key===null?T:M.key),d=o(M,d,T),b===null?w=M:b.sibling=M,b=M);return e&&x.forEach(function(se){return t(h,se)}),ne&&Pn(h,T),w}function p(h,d,m,E){var w=jr(m);if(typeof w!="function")throw Error(C(150));if(m=w.call(m),m==null)throw Error(C(151));for(var b=w=null,x=d,T=d=0,M=null,P=m.next();x!==null&&!P.done;T++,P=m.next()){x.index>T?(M=x,x=null):M=x.sibling;var se=y(h,x,P.value,E);if(se===null){x===null&&(x=M);break}e&&x&&se.alternate===null&&t(h,x),d=o(se,d,T),b===null?w=se:b.sibling=se,b=se,x=M}if(P.done)return n(h,x),ne&&Pn(h,T),w;if(x===null){for(;!P.done;T++,P=m.next())P=g(h,P.value,E),P!==null&&(d=o(P,d,T),b===null?w=P:b.sibling=P,b=P);return ne&&Pn(h,T),w}for(x=r(h,x);!P.done;T++,P=m.next())P=f(x,h,T,P.value,E),P!==null&&(e&&P.alternate!==null&&x.delete(P.key===null?T:P.key),d=o(P,d,T),b===null?w=P:b.sibling=P,b=P);return e&&x.forEach(function(ve){return t(h,ve)}),ne&&Pn(h,T),w}function S(h,d,m,E){if(typeof m=="object"&&m!==null&&m.type===or&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Qi:e:{for(var w=m.key,b=d;b!==null;){if(b.key===w){if(w=m.type,w===or){if(b.tag===7){n(h,b.sibling),d=i(b,m.props.children),d.return=h,h=d;break e}}else if(b.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===nn&&pd(w)===b.type){n(h,b.sibling),d=i(b,m.props),d.ref=Gr(h,b,m),d.return=h,h=d;break e}n(h,b);break}else t(h,b);b=b.sibling}m.type===or?(d=zn(m.props.children,h.mode,E,m.key),d.return=h,h=d):(E=Do(m.type,m.key,m.props,null,h.mode,E),E.ref=Gr(h,d,m),E.return=h,h=E)}return s(h);case ir:e:{for(b=m.key;d!==null;){if(d.key===b)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(h,d.sibling),d=i(d,m.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=Ma(m,h.mode,E),d.return=h,h=d}return s(h);case nn:return b=m._init,S(h,d,b(m._payload),E)}if(ti(m))return v(h,d,m,E);if(jr(m))return p(h,d,m,E);so(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(h,d.sibling),d=i(d,m),d.return=h,h=d):(n(h,d),d=Da(m,h.mode,E),d.return=h,h=d),s(h)):n(h,d)}return S}var Tr=Rm(!0),Nm=Rm(!1),ts=bn(null),ns=null,hr=null,Zu=null;function Ju(){Zu=hr=ns=null}function ec(e){var t=ts.current;ee(ts),e._currentValue=t}function Pl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Er(e,t){ns=e,Zu=hr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Le=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if(Zu!==e)if(e={context:e,memoizedValue:t,next:null},hr===null){if(ns===null)throw Error(C(308));hr=e,ns.dependencies={lanes:0,firstContext:e}}else hr=hr.next=e;return t}var Bn=null;function tc(e){Bn===null?Bn=[e]:Bn.push(e)}function Am(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,tc(t)):(n.next=i.next,i.next=n),t.interleaved=n,Xt(e,r)}function Xt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var rn=!1;function nc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function pn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,W&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Xt(e,n)}return i=r.interleaved,i===null?(t.next=t,tc(r)):(t.next=i.next,i.next=t),r.interleaved=t,Xt(e,n)}function Oo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Uu(e,n)}}function md(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function rs(e,t,n,r){var i=e.updateQueue;rn=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(o!==null){var g=i.baseState;s=0,c=u=l=null,a=o;do{var y=a.lane,f=a.eventTime;if((r&y)===y){c!==null&&(c=c.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,p=a;switch(y=t,f=n,p.tag){case 1:if(v=p.payload,typeof v=="function"){g=v.call(f,g,y);break e}g=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=p.payload,y=typeof v=="function"?v.call(f,g,y):v,y==null)break e;g=oe({},g,y);break e;case 2:rn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,y=i.effects,y===null?i.effects=[a]:y.push(a))}else f={eventTime:f,lane:y,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=f,l=g):c=c.next=f,s|=y;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;y=a,a=y.next,y.next=null,i.lastBaseUpdate=y,i.shared.pending=null}}while(!0);if(c===null&&(l=g),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Gn|=s,e.lanes=s,e.memoizedState=g}}function gd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(C(191,i));i.call(r)}}}var $i={},Mt=bn($i),ki=bn($i),Oi=bn($i);function Ln(e){if(e===$i)throw Error(C(174));return e}function rc(e,t){switch(K(Oi,t),K(ki,e),K(Mt,$i),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:dl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=dl(t,e)}ee(Mt),K(Mt,t)}function Cr(){ee(Mt),ee(ki),ee(Oi)}function Im(e){Ln(Oi.current);var t=Ln(Mt.current),n=dl(t,e.type);t!==n&&(K(ki,e),K(Mt,n))}function ic(e){ki.current===e&&(ee(Mt),ee(ki))}var re=bn(0);function is(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Oa=[];function oc(){for(var e=0;e<Oa.length;e++)Oa[e]._workInProgressVersionPrimary=null;Oa.length=0}var Ro=Zt.ReactCurrentDispatcher,Ra=Zt.ReactCurrentBatchConfig,Hn=0,ie=null,he=null,me=null,os=!1,di=!1,Ri=0,n1=0;function Te(){throw Error(C(321))}function sc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!St(e[n],t[n]))return!1;return!0}function ac(e,t,n,r,i,o){if(Hn=o,ie=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ro.current=e===null||e.memoizedState===null?s1:a1,e=n(r,i),di){o=0;do{if(di=!1,Ri=0,25<=o)throw Error(C(301));o+=1,me=he=null,t.updateQueue=null,Ro.current=l1,e=n(r,i)}while(di)}if(Ro.current=ss,t=he!==null&&he.next!==null,Hn=0,me=he=ie=null,os=!1,t)throw Error(C(300));return e}function lc(){var e=Ri!==0;return Ri=0,e}function Ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return me===null?ie.memoizedState=me=e:me=me.next=e,me}function ot(){if(he===null){var e=ie.alternate;e=e!==null?e.memoizedState:null}else e=he.next;var t=me===null?ie.memoizedState:me.next;if(t!==null)me=t,he=e;else{if(e===null)throw Error(C(310));he=e,e={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},me===null?ie.memoizedState=me=e:me=me.next=e}return me}function Ni(e,t){return typeof t=="function"?t(e):t}function Na(e){var t=ot(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=he,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,u=o;do{var c=u.lane;if((Hn&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var g={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=g,s=r):l=l.next=g,ie.lanes|=c,Gn|=c}u=u.next}while(u!==null&&u!==o);l===null?s=r:l.next=a,St(r,t.memoizedState)||(Le=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,ie.lanes|=o,Gn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Aa(e){var t=ot(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);St(o,t.memoizedState)||(Le=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Dm(){}function Mm(e,t){var n=ie,r=ot(),i=t(),o=!St(r.memoizedState,i);if(o&&(r.memoizedState=i,Le=!0),r=r.queue,uc(Lm.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||me!==null&&me.memoizedState.tag&1){if(n.flags|=2048,Ai(9,Bm.bind(null,n,r,i,t),void 0,null),ge===null)throw Error(C(349));Hn&30||Fm(n,t,i)}return i}function Fm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ie.updateQueue,t===null?(t={lastEffect:null,stores:null},ie.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Bm(e,t,n,r){t.value=n,t.getSnapshot=r,jm(t)&&zm(e)}function Lm(e,t,n){return n(function(){jm(t)&&zm(e)})}function jm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!St(e,n)}catch{return!0}}function zm(e){var t=Xt(e,1);t!==null&&Et(t,e,1,-1)}function yd(e){var t=Ot();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:e},t.queue=e,e=e.dispatch=o1.bind(null,ie,e),[t.memoizedState,e]}function Ai(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ie.updateQueue,t===null?(t={lastEffect:null,stores:null},ie.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Um(){return ot().memoizedState}function No(e,t,n,r){var i=Ot();ie.flags|=e,i.memoizedState=Ai(1|t,n,void 0,r===void 0?null:r)}function Rs(e,t,n,r){var i=ot();r=r===void 0?null:r;var o=void 0;if(he!==null){var s=he.memoizedState;if(o=s.destroy,r!==null&&sc(r,s.deps)){i.memoizedState=Ai(t,n,o,r);return}}ie.flags|=e,i.memoizedState=Ai(1|t,n,o,r)}function vd(e,t){return No(8390656,8,e,t)}function uc(e,t){return Rs(2048,8,e,t)}function $m(e,t){return Rs(4,2,e,t)}function Hm(e,t){return Rs(4,4,e,t)}function Gm(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Vm(e,t,n){return n=n!=null?n.concat([e]):null,Rs(4,4,Gm.bind(null,t,e),n)}function cc(){}function Wm(e,t){var n=ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&sc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function qm(e,t){var n=ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&sc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xm(e,t,n){return Hn&21?(St(n,t)||(n=Jp(),ie.lanes|=n,Gn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Le=!0),e.memoizedState=n)}function r1(e,t){var n=X;X=n!==0&&4>n?n:4,e(!0);var r=Ra.transition;Ra.transition={};try{e(!1),t()}finally{X=n,Ra.transition=r}}function Qm(){return ot().memoizedState}function i1(e,t,n){var r=gn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Km(e))Ym(t,n);else if(n=Am(e,t,n,r),n!==null){var i=Pe();Et(n,e,r,i),Zm(n,t,r)}}function o1(e,t,n){var r=gn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Km(e))Ym(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,St(a,s)){var l=t.interleaved;l===null?(i.next=i,tc(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Am(e,t,i,r),n!==null&&(i=Pe(),Et(n,e,r,i),Zm(n,t,r))}}function Km(e){var t=e.alternate;return e===ie||t!==null&&t===ie}function Ym(e,t){di=os=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Uu(e,n)}}var ss={readContext:it,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useInsertionEffect:Te,useLayoutEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useMutableSource:Te,useSyncExternalStore:Te,useId:Te,unstable_isNewReconciler:!1},s1={readContext:it,useCallback:function(e,t){return Ot().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:vd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,No(4194308,4,Gm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return No(4194308,4,e,t)},useInsertionEffect:function(e,t){return No(4,2,e,t)},useMemo:function(e,t){var n=Ot();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ot();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=i1.bind(null,ie,e),[r.memoizedState,e]},useRef:function(e){var t=Ot();return e={current:e},t.memoizedState=e},useState:yd,useDebugValue:cc,useDeferredValue:function(e){return Ot().memoizedState=e},useTransition:function(){var e=yd(!1),t=e[0];return e=r1.bind(null,e[1]),Ot().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ie,i=Ot();if(ne){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),ge===null)throw Error(C(349));Hn&30||Fm(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,vd(Lm.bind(null,r,o,e),[e]),r.flags|=2048,Ai(9,Bm.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ot(),t=ge.identifierPrefix;if(ne){var n=Gt,r=Ht;n=(r&~(1<<32-_t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ri++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=n1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},a1={readContext:it,useCallback:Wm,useContext:it,useEffect:uc,useImperativeHandle:Vm,useInsertionEffect:$m,useLayoutEffect:Hm,useMemo:qm,useReducer:Na,useRef:Um,useState:function(){return Na(Ni)},useDebugValue:cc,useDeferredValue:function(e){var t=ot();return Xm(t,he.memoizedState,e)},useTransition:function(){var e=Na(Ni)[0],t=ot().memoizedState;return[e,t]},useMutableSource:Dm,useSyncExternalStore:Mm,useId:Qm,unstable_isNewReconciler:!1},l1={readContext:it,useCallback:Wm,useContext:it,useEffect:uc,useImperativeHandle:Vm,useInsertionEffect:$m,useLayoutEffect:Hm,useMemo:qm,useReducer:Aa,useRef:Um,useState:function(){return Aa(Ni)},useDebugValue:cc,useDeferredValue:function(e){var t=ot();return he===null?t.memoizedState=e:Xm(t,he.memoizedState,e)},useTransition:function(){var e=Aa(Ni)[0],t=ot().memoizedState;return[e,t]},useMutableSource:Dm,useSyncExternalStore:Mm,useId:Qm,unstable_isNewReconciler:!1};function ht(e,t){if(e&&e.defaultProps){t=oe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Il(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:oe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ns={isMounted:function(e){return(e=e._reactInternals)?Qn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Pe(),i=gn(e),o=Vt(r,i);o.payload=t,n!=null&&(o.callback=n),t=pn(e,o,i),t!==null&&(Et(t,e,i,r),Oo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Pe(),i=gn(e),o=Vt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=pn(e,o,i),t!==null&&(Et(t,e,i,r),Oo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Pe(),r=gn(e),i=Vt(n,r);i.tag=2,t!=null&&(i.callback=t),t=pn(e,i,r),t!==null&&(Et(t,e,r,n),Oo(t,e,r))}};function _d(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!bi(n,r)||!bi(i,o):!0}function Jm(e,t,n){var r=!1,i=En,o=t.contextType;return typeof o=="object"&&o!==null?o=it(o):(i=ze(t)?Un:Re.current,r=t.contextTypes,o=(r=r!=null)?br(e,i):En),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ns,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ed(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ns.enqueueReplaceState(t,t.state,null)}function Dl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},nc(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=it(o):(o=ze(t)?Un:Re.current,i.context=br(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Il(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Ns.enqueueReplaceState(i,i.state,null),rs(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function kr(e,t){try{var n="",r=t;do n+=F0(r),r=r.return;while(r);var i=n}catch(o){i=`
|
|
39
39
|
Error generating stack: `+o.message+`
|
|
40
|
-
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Pa(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ml(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var u1=typeof WeakMap=="function"?WeakMap:Map;function Jm(e,t,n){n=Vt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ls||(ls=!0,Vl=r),Ml(e,t)},n}function eg(e,t,n){n=Vt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ml(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Ml(e,t),typeof r!="function"&&(mn===null?mn=new Set([this]):mn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Ed(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new u1;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=b1.bind(null,e,t,n),t.then(e,e))}function Sd(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function wd(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Vt(-1,1),t.tag=2,pn(n,t,1))),n.lanes|=1),e)}var c1=Zt.ReactCurrentOwner,Le=!1;function Ae(e,t,n,r){t.child=e===null?Rm(t,null,n,r):Tr(t,e.child,n,r)}function bd(e,t,n,r,i){n=n.render;var o=t.ref;return Er(t,i),r=ac(e,t,n,r,o,i),n=lc(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qt(e,t,i)):(ne&&n&&Qu(t),t.flags|=1,Ae(e,t,r,i),t.child)}function xd(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!vc(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,tg(e,t,o,r,i)):(e=Do(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:bi,n(s,r)&&e.ref===t.ref)return Qt(e,t,i)}return t.flags|=1,e=yn(o,r),e.ref=t.ref,e.return=t,t.child=e}function tg(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(bi(o,r)&&e.ref===t.ref)if(Le=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Le=!0);else return t.lanes=e.lanes,Qt(e,t,i)}return Fl(e,t,n,r,i)}function ng(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},K(mr,He),He|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,K(mr,He),He|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,K(mr,He),He|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,K(mr,He),He|=r;return Ae(e,t,i,n),t.child}function rg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Fl(e,t,n,r,i){var o=ze(n)?Un:Re.current;return o=br(t,o),Er(t,i),n=ac(e,t,n,r,o,i),r=lc(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qt(e,t,i)):(ne&&r&&Qu(t),t.flags|=1,Ae(e,t,n,i),t.child)}function Td(e,t,n,r,i){if(ze(n)){var o=!0;Zo(t)}else o=!1;if(Er(t,i),t.stateNode===null)Ao(e,t),Zm(t,n,r),Dl(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=it(u):(u=ze(n)?Un:Re.current,u=br(t,u));var c=n.getDerivedStateFromProps,g=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";g||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&_d(t,s,r,u),rn=!1;var y=t.memoizedState;s.state=y,rs(t,r,s,i),l=t.memoizedState,a!==r||y!==l||je.current||rn?(typeof c=="function"&&(Il(t,n,c,r),l=t.memoizedState),(a=rn||vd(t,n,a,r,y,l,u))?(g||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Am(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:ht(t.type,a),s.props=u,g=t.pendingProps,y=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=it(l):(l=ze(n)?Un:Re.current,l=br(t,l));var f=n.getDerivedStateFromProps;(c=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==g||y!==l)&&_d(t,s,r,l),rn=!1,y=t.memoizedState,s.state=y,rs(t,r,s,i);var v=t.memoizedState;a!==g||y!==v||je.current||rn?(typeof f=="function"&&(Il(t,n,f,r),v=t.memoizedState),(u=rn||vd(t,n,u,r,y,v,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),s.props=r,s.state=v,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),r=!1)}return Bl(e,t,n,r,o,i)}function Bl(e,t,n,r,i,o){rg(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&cd(t,n,!1),Qt(e,t,o);r=t.stateNode,c1.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Tr(t,e.child,null,o),t.child=Tr(t,null,a,o)):Ae(e,t,a,o),t.memoizedState=r.state,i&&cd(t,n,!0),t.child}function ig(e){var t=e.stateNode;t.pendingContext?ud(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ud(e,t.context,!1),rc(e,t.containerInfo)}function Cd(e,t,n,r,i){return xr(),Yu(i),t.flags|=256,Ae(e,t,n,r),t.child}var Ll={dehydrated:null,treeContext:null,retryLane:0};function jl(e){return{baseLanes:e,cachePool:null,transitions:null}}function og(e,t,n){var r=t.pendingProps,i=re.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),K(re,i&1),e===null)return Al(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Is(s,r,0,null),e=zn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=jl(n),t.memoizedState=Ll,e):fc(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return f1(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=yn(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=yn(a,o):(o=zn(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?jl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Ll,r}return o=e.child,e=o.sibling,r=yn(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function fc(e,t){return t=Is({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ao(e,t,n,r){return r!==null&&Yu(r),Tr(t,e.child,null,n),e=fc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function f1(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Pa(Error(C(422))),ao(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Is({mode:"visible",children:r.children},i,0,null),o=zn(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Tr(t,e.child,null,s),t.child.memoizedState=jl(s),t.memoizedState=Ll,o);if(!(t.mode&1))return ao(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(C(419)),r=Pa(o,r,void 0),ao(e,t,s,r)}if(a=(s&e.childLanes)!==0,Le||a){if(r=ge,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Xt(e,i),Et(r,e,i,-1))}return yc(),r=Pa(Error(C(421))),ao(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=x1.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Ge=hn(i.nextSibling),Ve=t,ne=!0,gt=null,e!==null&&(Je[et++]=Ht,Je[et++]=Gt,Je[et++]=$n,Ht=e.id,Gt=e.overflow,$n=t),t=fc(t,r.children),t.flags|=4096,t)}function kd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Pl(e.return,t,n)}function Ia(e,t,n,r,i){var o=e.memoizedState;o===null?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 sg(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ae(e,t,r.children,n),r=re.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&kd(e,n,t);else if(e.tag===19)kd(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(K(re,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&is(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ia(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&is(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ia(t,!0,n,null,o);break;case"together":Ia(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ao(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Qt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(C(153));if(t.child!==null){for(e=t.child,n=yn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=yn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function d1(e,t,n){switch(t.tag){case 3:ig(t),xr();break;case 5:Pm(t);break;case 1:ze(t.type)&&Zo(t);break;case 4:rc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;K(ts,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(K(re,re.current&1),t.flags|=128,null):n&t.child.childLanes?og(e,t,n):(K(re,re.current&1),e=Qt(e,t,n),e!==null?e.sibling:null);K(re,re.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return sg(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),K(re,re.current),r)break;return null;case 22:case 23:return t.lanes=0,ng(e,t,n)}return Qt(e,t,n)}var ag,zl,lg,ug;ag=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};zl=function(){};lg=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ln(Mt.current);var o=null;switch(n){case"input":i=ll(e,i),r=ll(e,r),o=[];break;case"select":i=oe({},i,{value:void 0}),r=oe({},r,{value:void 0}),o=[];break;case"textarea":i=fl(e,i),r=fl(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ko)}hl(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(gi.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(gi.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Z("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};ug=function(e,t,n,r){n!==r&&(t.flags|=4)};function Vr(e,t){if(!ne)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ce(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function h1(e,t,n){var r=t.pendingProps;switch(Ku(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ce(t),null;case 1:return ze(t.type)&&Yo(),Ce(t),null;case 3:return r=t.stateNode,Cr(),ee(je),ee(Re),oc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(oo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,gt!==null&&(Xl(gt),gt=null))),zl(e,t),Ce(t),null;case 5:ic(t);var i=Ln(Oi.current);if(n=t.type,e!==null&&t.stateNode!=null)lg(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(C(166));return Ce(t),null}if(e=Ln(Mt.current),oo(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Pt]=t,r[Ci]=o,e=(t.mode&1)!==0,n){case"dialog":Z("cancel",r),Z("close",r);break;case"iframe":case"object":case"embed":Z("load",r);break;case"video":case"audio":for(i=0;i<ri.length;i++)Z(ri[i],r);break;case"source":Z("error",r);break;case"img":case"image":case"link":Z("error",r),Z("load",r);break;case"details":Z("toggle",r);break;case"input":Ff(r,o),Z("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Z("invalid",r);break;case"textarea":Lf(r,o),Z("invalid",r)}hl(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&io(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&io(r.textContent,a,e),i=["children",""+a]):gi.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&Z("scroll",r)}switch(n){case"input":Ki(r),Bf(r,o,!0);break;case"textarea":Ki(r),jf(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Ko)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Bp(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Pt]=t,e[Ci]=r,ag(e,t,!1,!1),t.stateNode=e;e:{switch(s=pl(n,r),n){case"dialog":Z("cancel",e),Z("close",e),i=r;break;case"iframe":case"object":case"embed":Z("load",e),i=r;break;case"video":case"audio":for(i=0;i<ri.length;i++)Z(ri[i],e);i=r;break;case"source":Z("error",e),i=r;break;case"img":case"image":case"link":Z("error",e),Z("load",e),i=r;break;case"details":Z("toggle",e),i=r;break;case"input":Ff(e,r),i=ll(e,r),Z("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=oe({},r,{value:void 0}),Z("invalid",e);break;case"textarea":Lf(e,r),i=fl(e,r),Z("invalid",e);break;default:i=r}hl(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?zp(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Lp(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&yi(e,l):typeof l=="number"&&yi(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(gi.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Z("scroll",e):l!=null&&Mu(e,o,l,s))}switch(n){case"input":Ki(e),Bf(e,r,!1);break;case"textarea":Ki(e),jf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+_n(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?gr(e,!!r.multiple,o,!1):r.defaultValue!=null&&gr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ko)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ce(t),null;case 6:if(e&&t.stateNode!=null)ug(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(C(166));if(n=Ln(Oi.current),Ln(Mt.current),oo(t)){if(r=t.stateNode,n=t.memoizedProps,r[Pt]=t,(o=r.nodeValue!==n)&&(e=Ve,e!==null))switch(e.tag){case 3:io(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&io(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Pt]=t,t.stateNode=r}return Ce(t),null;case 13:if(ee(re),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ne&&Ge!==null&&t.mode&1&&!(t.flags&128))km(),xr(),t.flags|=98560,o=!1;else if(o=oo(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(C(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(C(317));o[Pt]=t}else xr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ce(t),o=!1}else gt!==null&&(Xl(gt),gt=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||re.current&1?pe===0&&(pe=3):yc())),t.updateQueue!==null&&(t.flags|=4),Ce(t),null);case 4:return Cr(),zl(e,t),e===null&&xi(t.stateNode.containerInfo),Ce(t),null;case 10:return ec(t.type._context),Ce(t),null;case 17:return ze(t.type)&&Yo(),Ce(t),null;case 19:if(ee(re),o=t.memoizedState,o===null)return Ce(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)Vr(o,!1);else{if(pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=is(e),s!==null){for(t.flags|=128,Vr(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return K(re,re.current&1|2),t.child}e=e.sibling}o.tail!==null&&ue()>Or&&(t.flags|=128,r=!0,Vr(o,!1),t.lanes=4194304)}else{if(!r)if(e=is(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Vr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ne)return Ce(t),null}else 2*ue()-o.renderingStartTime>Or&&n!==1073741824&&(t.flags|=128,r=!0,Vr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ue(),t.sibling=null,n=re.current,K(re,r?n&1|2:n&1),t):(Ce(t),null);case 22:case 23:return gc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(Ce(t),t.subtreeFlags&6&&(t.flags|=8192)):Ce(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function p1(e,t){switch(Ku(t),t.tag){case 1:return ze(t.type)&&Yo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Cr(),ee(je),ee(Re),oc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ic(t),null;case 13:if(ee(re),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));xr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ee(re),null;case 4:return Cr(),null;case 10:return ec(t.type._context),null;case 22:case 23:return gc(),null;case 24:return null;default:return null}}var lo=!1,Oe=!1,m1=typeof WeakSet=="function"?WeakSet:Set,O=null;function pr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){le(e,t,r)}else n.current=null}function Ul(e,t,n){try{n()}catch(r){le(e,t,r)}}var Od=!1;function g1(e,t){if(xl=qo,e=pm(),Xu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,g=e,y=null;t:for(;;){for(var f;g!==n||i!==0&&g.nodeType!==3||(a=s+i),g!==o||r!==0&&g.nodeType!==3||(l=s+r),g.nodeType===3&&(s+=g.nodeValue.length),(f=g.firstChild)!==null;)y=g,g=f;for(;;){if(g===e)break t;if(y===n&&++u===i&&(a=s),y===o&&++c===r&&(l=s),(f=g.nextSibling)!==null)break;g=y,y=g.parentNode}g=f}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Tl={focusedElem:e,selectionRange:n},qo=!1,O=t;O!==null;)if(t=O,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,O=e;else for(;O!==null;){t=O;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var p=v.memoizedProps,S=v.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?p:ht(t.type,p),S);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(E){le(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,O=e;break}O=t.return}return v=Od,Od=!1,v}function hi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Ul(t,n,o)}i=i.next}while(i!==r)}}function As(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function $l(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function cg(e){var t=e.alternate;t!==null&&(e.alternate=null,cg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Pt],delete t[Ci],delete t[Ol],delete t[Z_],delete t[J_])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function fg(e){return e.tag===5||e.tag===3||e.tag===4}function Rd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ko));else if(r!==4&&(e=e.child,e!==null))for(Hl(e,t,n),e=e.sibling;e!==null;)Hl(e,t,n),e=e.sibling}function Gl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Gl(e,t,n),e=e.sibling;e!==null;)Gl(e,t,n),e=e.sibling}var Ee=null,pt=!1;function Jt(e,t,n){for(n=n.child;n!==null;)dg(e,t,n),n=n.sibling}function dg(e,t,n){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(bs,n)}catch{}switch(n.tag){case 5:Oe||pr(n,t);case 6:var r=Ee,i=pt;Ee=null,Jt(e,t,n),Ee=r,pt=i,Ee!==null&&(pt?(e=Ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ee.removeChild(n.stateNode));break;case 18:Ee!==null&&(pt?(e=Ee,n=n.stateNode,e.nodeType===8?Ca(e.parentNode,n):e.nodeType===1&&Ca(e,n),Si(e)):Ca(Ee,n.stateNode));break;case 4:r=Ee,i=pt,Ee=n.stateNode.containerInfo,pt=!0,Jt(e,t,n),Ee=r,pt=i;break;case 0:case 11:case 14:case 15:if(!Oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Ul(n,t,s),i=i.next}while(i!==r)}Jt(e,t,n);break;case 1:if(!Oe&&(pr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){le(n,t,a)}Jt(e,t,n);break;case 21:Jt(e,t,n);break;case 22:n.mode&1?(Oe=(r=Oe)||n.memoizedState!==null,Jt(e,t,n),Oe=r):Jt(e,t,n);break;default:Jt(e,t,n)}}function Nd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new m1),t.forEach(function(r){var i=T1.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function ft(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Ee=a.stateNode,pt=!1;break e;case 3:Ee=a.stateNode.containerInfo,pt=!0;break e;case 4:Ee=a.stateNode.containerInfo,pt=!0;break e}a=a.return}if(Ee===null)throw Error(C(160));dg(o,s,i),Ee=null,pt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){le(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)hg(t,e),t=t.sibling}function hg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ft(t,e),kt(e),r&4){try{hi(3,e,e.return),As(3,e)}catch(p){le(e,e.return,p)}try{hi(5,e,e.return)}catch(p){le(e,e.return,p)}}break;case 1:ft(t,e),kt(e),r&512&&n!==null&&pr(n,n.return);break;case 5:if(ft(t,e),kt(e),r&512&&n!==null&&pr(n,n.return),e.flags&32){var i=e.stateNode;try{yi(i,"")}catch(p){le(e,e.return,p)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Mp(i,o),pl(a,s);var u=pl(a,o);for(s=0;s<l.length;s+=2){var c=l[s],g=l[s+1];c==="style"?zp(i,g):c==="dangerouslySetInnerHTML"?Lp(i,g):c==="children"?yi(i,g):Mu(i,c,g,u)}switch(a){case"input":ul(i,o);break;case"textarea":Fp(i,o);break;case"select":var y=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var f=o.value;f!=null?gr(i,!!o.multiple,f,!1):y!==!!o.multiple&&(o.defaultValue!=null?gr(i,!!o.multiple,o.defaultValue,!0):gr(i,!!o.multiple,o.multiple?[]:"",!1))}i[Ci]=o}catch(p){le(e,e.return,p)}}break;case 6:if(ft(t,e),kt(e),r&4){if(e.stateNode===null)throw Error(C(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(p){le(e,e.return,p)}}break;case 3:if(ft(t,e),kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Si(t.containerInfo)}catch(p){le(e,e.return,p)}break;case 4:ft(t,e),kt(e);break;case 13:ft(t,e),kt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(pc=ue())),r&4&&Nd(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Oe=(u=Oe)||c,ft(t,e),Oe=u):ft(t,e),kt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(O=e,c=e.child;c!==null;){for(g=O=c;O!==null;){switch(y=O,f=y.child,y.tag){case 0:case 11:case 14:case 15:hi(4,y,y.return);break;case 1:pr(y,y.return);var v=y.stateNode;if(typeof v.componentWillUnmount=="function"){r=y,n=y.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(p){le(r,n,p)}}break;case 5:pr(y,y.return);break;case 22:if(y.memoizedState!==null){Pd(g);continue}}f!==null?(f.return=y,O=f):Pd(g)}c=c.sibling}e:for(c=null,g=e;;){if(g.tag===5){if(c===null){c=g;try{i=g.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=g.stateNode,l=g.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=jp("display",s))}catch(p){le(e,e.return,p)}}}else if(g.tag===6){if(c===null)try{g.stateNode.nodeValue=u?"":g.memoizedProps}catch(p){le(e,e.return,p)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===e)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;g.sibling===null;){if(g.return===null||g.return===e)break e;c===g&&(c=null),g=g.return}c===g&&(c=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:ft(t,e),kt(e),r&4&&Nd(e);break;case 21:break;default:ft(t,e),kt(e)}}function kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(fg(n)){var r=n;break e}n=n.return}throw Error(C(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(yi(i,""),r.flags&=-33);var o=Rd(e);Gl(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Rd(e);Hl(e,a,s);break;default:throw Error(C(161))}}catch(l){le(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function y1(e,t,n){O=e,pg(e)}function pg(e,t,n){for(var r=(e.mode&1)!==0;O!==null;){var i=O,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||lo;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Oe;a=lo;var u=Oe;if(lo=s,(Oe=l)&&!u)for(O=i;O!==null;)s=O,l=s.child,s.tag===22&&s.memoizedState!==null?Id(i):l!==null?(l.return=s,O=l):Id(i);for(;o!==null;)O=o,pg(o),o=o.sibling;O=i,lo=a,Oe=u}Ad(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,O=o):Ad(e)}}function Ad(e){for(;O!==null;){var t=O;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Oe||As(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Oe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ht(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&md(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}md(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var g=c.dehydrated;g!==null&&Si(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}Oe||t.flags&512&&$l(t)}catch(y){le(t,t.return,y)}}if(t===e){O=null;break}if(n=t.sibling,n!==null){n.return=t.return,O=n;break}O=t.return}}function Pd(e){for(;O!==null;){var t=O;if(t===e){O=null;break}var n=t.sibling;if(n!==null){n.return=t.return,O=n;break}O=t.return}}function Id(e){for(;O!==null;){var t=O;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{As(4,t)}catch(l){le(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){le(t,i,l)}}var o=t.return;try{$l(t)}catch(l){le(t,o,l)}break;case 5:var s=t.return;try{$l(t)}catch(l){le(t,s,l)}}}catch(l){le(t,t.return,l)}if(t===e){O=null;break}var a=t.sibling;if(a!==null){a.return=t.return,O=a;break}O=t.return}}var v1=Math.ceil,as=Zt.ReactCurrentDispatcher,dc=Zt.ReactCurrentOwner,rt=Zt.ReactCurrentBatchConfig,W=0,ge=null,fe=null,be=0,He=0,mr=bn(0),pe=0,Pi=null,Gn=0,Ps=0,hc=0,pi=null,Fe=null,pc=0,Or=1/0,zt=null,ls=!1,Vl=null,mn=null,uo=!1,un=null,us=0,mi=0,Wl=null,Po=-1,Io=0;function Pe(){return W&6?ue():Po!==-1?Po:Po=ue()}function gn(e){return e.mode&1?W&2&&be!==0?be&-be:t1.transition!==null?(Io===0&&(Io=Zp()),Io):(e=X,e!==0||(e=window.event,e=e===void 0?16:om(e.type)),e):1}function Et(e,t,n,r){if(50<mi)throw mi=0,Wl=null,Error(C(185));ji(e,n,r),(!(W&2)||e!==ge)&&(e===ge&&(!(W&2)&&(Ps|=n),pe===4&&sn(e,be)),Ue(e,r),n===1&&W===0&&!(t.mode&1)&&(Or=ue()+500,Os&&xn()))}function Ue(e,t){var n=e.callbackNode;t_(e,t);var r=Wo(e,e===ge?be:0);if(r===0)n!==null&&$f(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&$f(n),t===1)e.tag===0?e1(Dd.bind(null,e)):xm(Dd.bind(null,e)),K_(function(){!(W&6)&&xn()}),n=null;else{switch(Jp(r)){case 1:n=zu;break;case 4:n=Kp;break;case 16:n=Vo;break;case 536870912:n=Yp;break;default:n=Vo}n=wg(n,mg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function mg(e,t){if(Po=-1,Io=0,W&6)throw Error(C(327));var n=e.callbackNode;if(Sr()&&e.callbackNode!==n)return null;var r=Wo(e,e===ge?be:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=cs(e,r);else{t=r;var i=W;W|=2;var o=yg();(ge!==e||be!==t)&&(zt=null,Or=ue()+500,jn(e,t));do try{S1();break}catch(a){gg(e,a)}while(!0);Ju(),as.current=o,W=i,fe!==null?t=0:(ge=null,be=0,t=pe)}if(t!==0){if(t===2&&(i=_l(e),i!==0&&(r=i,t=ql(e,i))),t===1)throw n=Pi,jn(e,0),sn(e,r),Ue(e,ue()),n;if(t===6)sn(e,r);else{if(i=e.current.alternate,!(r&30)&&!_1(i)&&(t=cs(e,r),t===2&&(o=_l(e),o!==0&&(r=o,t=ql(e,o))),t===1))throw n=Pi,jn(e,0),sn(e,r),Ue(e,ue()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(C(345));case 2:In(e,Fe,zt);break;case 3:if(sn(e,r),(r&130023424)===r&&(t=pc+500-ue(),10<t)){if(Wo(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Pe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=kl(In.bind(null,e,Fe,zt),t);break}In(e,Fe,zt);break;case 4:if(sn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-_t(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*v1(r/1960))-r,10<r){e.timeoutHandle=kl(In.bind(null,e,Fe,zt),r);break}In(e,Fe,zt);break;case 5:In(e,Fe,zt);break;default:throw Error(C(329))}}}return Ue(e,ue()),e.callbackNode===n?mg.bind(null,e):null}function ql(e,t){var n=pi;return e.current.memoizedState.isDehydrated&&(jn(e,t).flags|=256),e=cs(e,t),e!==2&&(t=Fe,Fe=n,t!==null&&Xl(t)),e}function Xl(e){Fe===null?Fe=e:Fe.push.apply(Fe,e)}function _1(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!St(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function sn(e,t){for(t&=~hc,t&=~Ps,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-_t(t),r=1<<n;e[n]=-1,t&=~r}}function Dd(e){if(W&6)throw Error(C(327));Sr();var t=Wo(e,0);if(!(t&1))return Ue(e,ue()),null;var n=cs(e,t);if(e.tag!==0&&n===2){var r=_l(e);r!==0&&(t=r,n=ql(e,r))}if(n===1)throw n=Pi,jn(e,0),sn(e,t),Ue(e,ue()),n;if(n===6)throw Error(C(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,In(e,Fe,zt),Ue(e,ue()),null}function mc(e,t){var n=W;W|=1;try{return e(t)}finally{W=n,W===0&&(Or=ue()+500,Os&&xn())}}function Vn(e){un!==null&&un.tag===0&&!(W&6)&&Sr();var t=W;W|=1;var n=rt.transition,r=X;try{if(rt.transition=null,X=1,e)return e()}finally{X=r,rt.transition=n,W=t,!(W&6)&&xn()}}function gc(){He=mr.current,ee(mr)}function jn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Q_(n)),fe!==null)for(n=fe.return;n!==null;){var r=n;switch(Ku(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Yo();break;case 3:Cr(),ee(je),ee(Re),oc();break;case 5:ic(r);break;case 4:Cr();break;case 13:ee(re);break;case 19:ee(re);break;case 10:ec(r.type._context);break;case 22:case 23:gc()}n=n.return}if(ge=e,fe=e=yn(e.current,null),be=He=t,pe=0,Pi=null,hc=Ps=Gn=0,Fe=pi=null,Bn!==null){for(t=0;t<Bn.length;t++)if(n=Bn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}Bn=null}return e}function gg(e,t){do{var n=fe;try{if(Ju(),Ro.current=ss,os){for(var r=ie.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}os=!1}if(Hn=0,me=he=ie=null,di=!1,Ri=0,dc.current=null,n===null||n.return===null){pe=1,Pi=t,fe=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=be,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,g=c.tag;if(!(c.mode&1)&&(g===0||g===11||g===15)){var y=c.alternate;y?(c.updateQueue=y.updateQueue,c.memoizedState=y.memoizedState,c.lanes=y.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=Sd(s);if(f!==null){f.flags&=-257,wd(f,s,a,o,t),f.mode&1&&Ed(o,u,t),t=f,l=u;var v=t.updateQueue;if(v===null){var p=new Set;p.add(l),t.updateQueue=p}else v.add(l);break e}else{if(!(t&1)){Ed(o,u,t),yc();break e}l=Error(C(426))}}else if(ne&&a.mode&1){var S=Sd(s);if(S!==null){!(S.flags&65536)&&(S.flags|=256),wd(S,s,a,o,t),Yu(kr(l,a));break e}}o=l=kr(l,a),pe!==4&&(pe=2),pi===null?pi=[o]:pi.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=Jm(o,l,t);pd(o,h);break e;case 1:a=l;var d=o.type,m=o.stateNode;if(!(o.flags&128)&&(typeof d.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(mn===null||!mn.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t;var E=eg(o,a,t);pd(o,E);break e}}o=o.return}while(o!==null)}_g(n)}catch(w){t=w,fe===n&&n!==null&&(fe=n=n.return);continue}break}while(!0)}function yg(){var e=as.current;return as.current=ss,e===null?ss:e}function yc(){(pe===0||pe===3||pe===2)&&(pe=4),ge===null||!(Gn&268435455)&&!(Ps&268435455)||sn(ge,be)}function cs(e,t){var n=W;W|=2;var r=yg();(ge!==e||be!==t)&&(zt=null,jn(e,t));do try{E1();break}catch(i){gg(e,i)}while(!0);if(Ju(),W=n,as.current=r,fe!==null)throw Error(C(261));return ge=null,be=0,pe}function E1(){for(;fe!==null;)vg(fe)}function S1(){for(;fe!==null&&!W0();)vg(fe)}function vg(e){var t=Sg(e.alternate,e,He);e.memoizedProps=e.pendingProps,t===null?_g(e):fe=t,dc.current=null}function _g(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=p1(n,t),n!==null){n.flags&=32767,fe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{pe=6,fe=null;return}}else if(n=h1(n,t,He),n!==null){fe=n;return}if(t=t.sibling,t!==null){fe=t;return}fe=t=e}while(t!==null);pe===0&&(pe=5)}function In(e,t,n){var r=X,i=rt.transition;try{rt.transition=null,X=1,w1(e,t,n,r)}finally{rt.transition=i,X=r}return null}function w1(e,t,n,r){do Sr();while(un!==null);if(W&6)throw Error(C(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(C(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(n_(e,o),e===ge&&(fe=ge=null,be=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||uo||(uo=!0,wg(Vo,function(){return Sr(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=rt.transition,rt.transition=null;var s=X;X=1;var a=W;W|=4,dc.current=null,g1(e,n),hg(n,e),$_(Tl),qo=!!xl,Tl=xl=null,e.current=n,y1(n),q0(),W=a,X=s,rt.transition=o}else e.current=n;if(uo&&(uo=!1,un=e,us=i),o=e.pendingLanes,o===0&&(mn=null),K0(n.stateNode),Ue(e,ue()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(ls)throw ls=!1,e=Vl,Vl=null,e;return us&1&&e.tag!==0&&Sr(),o=e.pendingLanes,o&1?e===Wl?mi++:(mi=0,Wl=e):mi=0,xn(),null}function Sr(){if(un!==null){var e=Jp(us),t=rt.transition,n=X;try{if(rt.transition=null,X=16>e?16:e,un===null)var r=!1;else{if(e=un,un=null,us=0,W&6)throw Error(C(331));var i=W;for(W|=4,O=e.current;O!==null;){var o=O,s=o.child;if(O.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(O=u;O!==null;){var c=O;switch(c.tag){case 0:case 11:case 15:hi(8,c,o)}var g=c.child;if(g!==null)g.return=c,O=g;else for(;O!==null;){c=O;var y=c.sibling,f=c.return;if(cg(c),c===u){O=null;break}if(y!==null){y.return=f,O=y;break}O=f}}}var v=o.alternate;if(v!==null){var p=v.child;if(p!==null){v.child=null;do{var S=p.sibling;p.sibling=null,p=S}while(p!==null)}}O=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,O=s;else e:for(;O!==null;){if(o=O,o.flags&2048)switch(o.tag){case 0:case 11:case 15:hi(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,O=h;break e}O=o.return}}var d=e.current;for(O=d;O!==null;){s=O;var m=s.child;if(s.subtreeFlags&2064&&m!==null)m.return=s,O=m;else e:for(s=d;O!==null;){if(a=O,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:As(9,a)}}catch(w){le(a,a.return,w)}if(a===s){O=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,O=E;break e}O=a.return}}if(W=i,xn(),Dt&&typeof Dt.onPostCommitFiberRoot=="function")try{Dt.onPostCommitFiberRoot(bs,e)}catch{}r=!0}return r}finally{X=n,rt.transition=t}}return!1}function Md(e,t,n){t=kr(n,t),t=Jm(e,t,1),e=pn(e,t,1),t=Pe(),e!==null&&(ji(e,1,t),Ue(e,t))}function le(e,t,n){if(e.tag===3)Md(e,e,n);else for(;t!==null;){if(t.tag===3){Md(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(mn===null||!mn.has(r))){e=kr(n,e),e=eg(t,e,1),t=pn(t,e,1),e=Pe(),t!==null&&(ji(t,1,e),Ue(t,e));break}}t=t.return}}function b1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Pe(),e.pingedLanes|=e.suspendedLanes&n,ge===e&&(be&n)===n&&(pe===4||pe===3&&(be&130023424)===be&&500>ue()-pc?jn(e,0):hc|=n),Ue(e,t)}function Eg(e,t){t===0&&(e.mode&1?(t=Ji,Ji<<=1,!(Ji&130023424)&&(Ji=4194304)):t=1);var n=Pe();e=Xt(e,t),e!==null&&(ji(e,t,n),Ue(e,n))}function x1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Eg(e,n)}function T1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),Eg(e,n)}var Sg;Sg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||je.current)Le=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Le=!1,d1(e,t,n);Le=!!(e.flags&131072)}else Le=!1,ne&&t.flags&1048576&&Tm(t,es,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ao(e,t),e=t.pendingProps;var i=br(t,Re.current);Er(t,n),i=ac(null,t,r,e,i,n);var o=lc();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(o=!0,Zo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,nc(t),i.updater=Ns,t.stateNode=i,i._reactInternals=t,Dl(t,r,e,n),t=Bl(null,t,r,!0,o,n)):(t.tag=0,ne&&o&&Qu(t),Ae(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ao(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=k1(r),e=ht(r,e),i){case 0:t=Fl(null,t,r,e,n);break e;case 1:t=Td(null,t,r,e,n);break e;case 11:t=bd(null,t,r,e,n);break e;case 14:t=xd(null,t,r,ht(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),Fl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),Td(e,t,r,i,n);case 3:e:{if(ig(t),e===null)throw Error(C(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Am(e,t),rs(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=kr(Error(C(423)),t),t=Cd(e,t,r,n,i);break e}else if(r!==i){i=kr(Error(C(424)),t),t=Cd(e,t,r,n,i);break e}else for(Ge=hn(t.stateNode.containerInfo.firstChild),Ve=t,ne=!0,gt=null,n=Rm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(xr(),r===i){t=Qt(e,t,n);break e}Ae(e,t,r,n)}t=t.child}return t;case 5:return Pm(t),e===null&&Al(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Cl(r,i)?s=null:o!==null&&Cl(r,o)&&(t.flags|=32),rg(e,t),Ae(e,t,s,n),t.child;case 6:return e===null&&Al(t),null;case 13:return og(e,t,n);case 4:return rc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Tr(t,null,r,n):Ae(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),bd(e,t,r,i,n);case 7:return Ae(e,t,t.pendingProps,n),t.child;case 8:return Ae(e,t,t.pendingProps.children,n),t.child;case 12:return Ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,K(ts,r._currentValue),r._currentValue=s,o!==null)if(St(o.value,s)){if(o.children===i.children&&!je.current){t=Qt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Vt(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Pl(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(C(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Pl(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Ae(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Er(t,n),i=it(i),r=r(i),t.flags|=1,Ae(e,t,r,n),t.child;case 14:return r=t.type,i=ht(r,t.pendingProps),i=ht(r.type,i),xd(e,t,r,i,n);case 15:return tg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),Ao(e,t),t.tag=1,ze(r)?(e=!0,Zo(t)):e=!1,Er(t,n),Zm(t,r,i),Dl(t,r,i,n),Bl(null,t,r,!0,e,n);case 19:return sg(e,t,n);case 22:return ng(e,t,n)}throw Error(C(156,t.tag))};function wg(e,t){return Qp(e,t)}function C1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nt(e,t,n,r){return new C1(e,t,n,r)}function vc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function k1(e){if(typeof e=="function")return vc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Bu)return 11;if(e===Lu)return 14}return 2}function yn(e,t){var n=e.alternate;return n===null?(n=nt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Do(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")vc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case or:return zn(n.children,i,o,t);case Fu:s=8,i|=8;break;case il:return e=nt(12,n,t,i|2),e.elementType=il,e.lanes=o,e;case ol:return e=nt(13,n,t,i),e.elementType=ol,e.lanes=o,e;case sl:return e=nt(19,n,t,i),e.elementType=sl,e.lanes=o,e;case Pp:return Is(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Np:s=10;break e;case Ap:s=9;break e;case Bu:s=11;break e;case Lu:s=14;break e;case nn:s=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=nt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function zn(e,t,n,r){return e=nt(7,e,r,t),e.lanes=n,e}function Is(e,t,n,r){return e=nt(22,e,r,t),e.elementType=Pp,e.lanes=n,e.stateNode={isHidden:!1},e}function Da(e,t,n){return e=nt(6,e,null,t),e.lanes=n,e}function Ma(e,t,n){return t=nt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function O1(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ma(0),this.expirationTimes=ma(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ma(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function _c(e,t,n,r,i,o,s,a,l){return e=new O1(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=nt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},nc(o),e}function R1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ir,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function bg(e){if(!e)return En;e=e._reactInternals;e:{if(Qn(e)!==e||e.tag!==1)throw Error(C(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(C(171))}if(e.tag===1){var n=e.type;if(ze(n))return bm(e,n,t)}return t}function xg(e,t,n,r,i,o,s,a,l){return e=_c(n,r,!0,e,i,o,s,a,l),e.context=bg(null),n=e.current,r=Pe(),i=gn(n),o=Vt(r,i),o.callback=t??null,pn(n,o,i),e.current.lanes=i,ji(e,i,r),Ue(e,r),e}function Ds(e,t,n,r){var i=t.current,o=Pe(),s=gn(i);return n=bg(n),t.context===null?t.context=n:t.pendingContext=n,t=Vt(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=pn(i,t,s),e!==null&&(Et(e,i,s,o),Oo(e,i,s)),s}function fs(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Fd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ec(e,t){Fd(e,t),(e=e.alternate)&&Fd(e,t)}function N1(){return null}var Tg=typeof reportError=="function"?reportError:function(e){console.error(e)};function Sc(e){this._internalRoot=e}Ms.prototype.render=Sc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(C(409));Ds(e,t,null,null)};Ms.prototype.unmount=Sc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Vn(function(){Ds(null,e,null,null)}),t[qt]=null}};function Ms(e){this._internalRoot=e}Ms.prototype.unstable_scheduleHydration=function(e){if(e){var t=nm();e={blockedOn:null,target:e,priority:t};for(var n=0;n<on.length&&t!==0&&t<on[n].priority;n++);on.splice(n,0,e),n===0&&im(e)}};function wc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Fs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Bd(){}function A1(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=fs(s);o.call(u)}}var s=xg(t,r,e,0,null,!1,!1,"",Bd);return e._reactRootContainer=s,e[qt]=s.current,xi(e.nodeType===8?e.parentNode:e),Vn(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=fs(l);a.call(u)}}var l=_c(e,0,!1,null,null,!1,!1,"",Bd);return e._reactRootContainer=l,e[qt]=l.current,xi(e.nodeType===8?e.parentNode:e),Vn(function(){Ds(t,l,n,r)}),l}function Bs(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=fs(s);a.call(l)}}Ds(t,s,e,i)}else s=A1(n,t,e,i,r);return fs(s)}em=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ni(t.pendingLanes);n!==0&&(Uu(t,n|1),Ue(t,ue()),!(W&6)&&(Or=ue()+500,xn()))}break;case 13:Vn(function(){var r=Xt(e,1);if(r!==null){var i=Pe();Et(r,e,1,i)}}),Ec(e,1)}};$u=function(e){if(e.tag===13){var t=Xt(e,134217728);if(t!==null){var n=Pe();Et(t,e,134217728,n)}Ec(e,134217728)}};tm=function(e){if(e.tag===13){var t=gn(e),n=Xt(e,t);if(n!==null){var r=Pe();Et(n,e,t,r)}Ec(e,t)}};nm=function(){return X};rm=function(e,t){var n=X;try{return X=e,t()}finally{X=n}};gl=function(e,t,n){switch(t){case"input":if(ul(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ks(r);if(!i)throw Error(C(90));Dp(r),ul(r,i)}}}break;case"textarea":Fp(e,n);break;case"select":t=n.value,t!=null&&gr(e,!!n.multiple,t,!1)}};Hp=mc;Gp=Vn;var P1={usingClientEntryPoint:!1,Events:[Ui,ur,ks,Up,$p,mc]},Wr={findFiberByHostInstance:Fn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},I1={bundleType:Wr.bundleType,version:Wr.version,rendererPackageName:Wr.rendererPackageName,rendererConfig:Wr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Zt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=qp(e),e===null?null:e.stateNode},findFiberByHostInstance:Wr.findFiberByHostInstance||N1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var co=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!co.isDisabled&&co.supportsFiber)try{bs=co.inject(I1),Dt=co}catch{}}Qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P1;Qe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wc(t))throw Error(C(200));return R1(e,t,null,n)};Qe.createRoot=function(e,t){if(!wc(e))throw Error(C(299));var n=!1,r="",i=Tg;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=_c(e,1,!1,null,null,n,!1,r,i),e[qt]=t.current,xi(e.nodeType===8?e.parentNode:e),new Sc(t)};Qe.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(C(188)):(e=Object.keys(e).join(","),Error(C(268,e)));return e=qp(t),e=e===null?null:e.stateNode,e};Qe.flushSync=function(e){return Vn(e)};Qe.hydrate=function(e,t,n){if(!Fs(t))throw Error(C(200));return Bs(null,e,t,!0,n)};Qe.hydrateRoot=function(e,t,n){if(!wc(e))throw Error(C(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Tg;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=xg(t,null,e,1,n??null,i,!1,o,s),e[qt]=t.current,xi(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Ms(t)};Qe.render=function(e,t,n){if(!Fs(t))throw Error(C(200));return Bs(null,e,t,!1,n)};Qe.unmountComponentAtNode=function(e){if(!Fs(e))throw Error(C(40));return e._reactRootContainer?(Vn(function(){Bs(null,null,e,!1,function(){e._reactRootContainer=null,e[qt]=null})}),!0):!1};Qe.unstable_batchedUpdates=mc;Qe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Fs(n))throw Error(C(200));if(e==null||e._reactInternals===void 0)throw Error(C(38));return Bs(e,t,n,!1,r)};Qe.version="18.3.1-next-f1338f8080-20240426";function Cg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Cg)}catch(e){console.error(e)}}Cg(),Cp.exports=Qe;var D1=Cp.exports,kg,Ld=D1;kg=Ld.createRoot,Ld.hydrateRoot;var Og={exports:{}},Rg={};/**
|
|
40
|
+
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Pa(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ml(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var u1=typeof WeakMap=="function"?WeakMap:Map;function eg(e,t,n){n=Vt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ls||(ls=!0,Vl=r),Ml(e,t)},n}function tg(e,t,n){n=Vt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ml(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Ml(e,t),typeof r!="function"&&(mn===null?mn=new Set([this]):mn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Sd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new u1;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=b1.bind(null,e,t,n),t.then(e,e))}function wd(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function bd(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Vt(-1,1),t.tag=2,pn(n,t,1))),n.lanes|=1),e)}var c1=Zt.ReactCurrentOwner,Le=!1;function Ae(e,t,n,r){t.child=e===null?Nm(t,null,n,r):Tr(t,e.child,n,r)}function xd(e,t,n,r,i){n=n.render;var o=t.ref;return Er(t,i),r=ac(e,t,n,r,o,i),n=lc(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qt(e,t,i)):(ne&&n&&Qu(t),t.flags|=1,Ae(e,t,r,i),t.child)}function Td(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!vc(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,ng(e,t,o,r,i)):(e=Do(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:bi,n(s,r)&&e.ref===t.ref)return Qt(e,t,i)}return t.flags|=1,e=yn(o,r),e.ref=t.ref,e.return=t,t.child=e}function ng(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(bi(o,r)&&e.ref===t.ref)if(Le=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Le=!0);else return t.lanes=e.lanes,Qt(e,t,i)}return Fl(e,t,n,r,i)}function rg(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},K(mr,He),He|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,K(mr,He),He|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,K(mr,He),He|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,K(mr,He),He|=r;return Ae(e,t,i,n),t.child}function ig(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Fl(e,t,n,r,i){var o=ze(n)?Un:Re.current;return o=br(t,o),Er(t,i),n=ac(e,t,n,r,o,i),r=lc(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Qt(e,t,i)):(ne&&r&&Qu(t),t.flags|=1,Ae(e,t,n,i),t.child)}function Cd(e,t,n,r,i){if(ze(n)){var o=!0;Zo(t)}else o=!1;if(Er(t,i),t.stateNode===null)Ao(e,t),Jm(t,n,r),Dl(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=it(u):(u=ze(n)?Un:Re.current,u=br(t,u));var c=n.getDerivedStateFromProps,g=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";g||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Ed(t,s,r,u),rn=!1;var y=t.memoizedState;s.state=y,rs(t,r,s,i),l=t.memoizedState,a!==r||y!==l||je.current||rn?(typeof c=="function"&&(Il(t,n,c,r),l=t.memoizedState),(a=rn||_d(t,n,a,r,y,l,u))?(g||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Pm(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:ht(t.type,a),s.props=u,g=t.pendingProps,y=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=it(l):(l=ze(n)?Un:Re.current,l=br(t,l));var f=n.getDerivedStateFromProps;(c=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==g||y!==l)&&Ed(t,s,r,l),rn=!1,y=t.memoizedState,s.state=y,rs(t,r,s,i);var v=t.memoizedState;a!==g||y!==v||je.current||rn?(typeof f=="function"&&(Il(t,n,f,r),v=t.memoizedState),(u=rn||_d(t,n,u,r,y,v,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),s.props=r,s.state=v,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),r=!1)}return Bl(e,t,n,r,o,i)}function Bl(e,t,n,r,i,o){ig(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&fd(t,n,!1),Qt(e,t,o);r=t.stateNode,c1.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Tr(t,e.child,null,o),t.child=Tr(t,null,a,o)):Ae(e,t,a,o),t.memoizedState=r.state,i&&fd(t,n,!0),t.child}function og(e){var t=e.stateNode;t.pendingContext?cd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&cd(e,t.context,!1),rc(e,t.containerInfo)}function kd(e,t,n,r,i){return xr(),Yu(i),t.flags|=256,Ae(e,t,n,r),t.child}var Ll={dehydrated:null,treeContext:null,retryLane:0};function jl(e){return{baseLanes:e,cachePool:null,transitions:null}}function sg(e,t,n){var r=t.pendingProps,i=re.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),K(re,i&1),e===null)return Al(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Is(s,r,0,null),e=zn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=jl(n),t.memoizedState=Ll,e):fc(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return f1(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=yn(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=yn(a,o):(o=zn(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?jl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Ll,r}return o=e.child,e=o.sibling,r=yn(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function fc(e,t){return t=Is({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ao(e,t,n,r){return r!==null&&Yu(r),Tr(t,e.child,null,n),e=fc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function f1(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Pa(Error(C(422))),ao(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Is({mode:"visible",children:r.children},i,0,null),o=zn(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Tr(t,e.child,null,s),t.child.memoizedState=jl(s),t.memoizedState=Ll,o);if(!(t.mode&1))return ao(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(C(419)),r=Pa(o,r,void 0),ao(e,t,s,r)}if(a=(s&e.childLanes)!==0,Le||a){if(r=ge,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Xt(e,i),Et(r,e,i,-1))}return yc(),r=Pa(Error(C(421))),ao(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=x1.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Ge=hn(i.nextSibling),Ve=t,ne=!0,gt=null,e!==null&&(Je[et++]=Ht,Je[et++]=Gt,Je[et++]=$n,Ht=e.id,Gt=e.overflow,$n=t),t=fc(t,r.children),t.flags|=4096,t)}function Od(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Pl(e.return,t,n)}function Ia(e,t,n,r,i){var o=e.memoizedState;o===null?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 ag(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ae(e,t,r.children,n),r=re.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Od(e,n,t);else if(e.tag===19)Od(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(K(re,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&is(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ia(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&is(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ia(t,!0,n,null,o);break;case"together":Ia(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ao(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Qt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(C(153));if(t.child!==null){for(e=t.child,n=yn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=yn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function d1(e,t,n){switch(t.tag){case 3:og(t),xr();break;case 5:Im(t);break;case 1:ze(t.type)&&Zo(t);break;case 4:rc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;K(ts,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(K(re,re.current&1),t.flags|=128,null):n&t.child.childLanes?sg(e,t,n):(K(re,re.current&1),e=Qt(e,t,n),e!==null?e.sibling:null);K(re,re.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ag(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),K(re,re.current),r)break;return null;case 22:case 23:return t.lanes=0,rg(e,t,n)}return Qt(e,t,n)}var lg,zl,ug,cg;lg=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};zl=function(){};ug=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ln(Mt.current);var o=null;switch(n){case"input":i=ll(e,i),r=ll(e,r),o=[];break;case"select":i=oe({},i,{value:void 0}),r=oe({},r,{value:void 0}),o=[];break;case"textarea":i=fl(e,i),r=fl(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ko)}hl(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(gi.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(gi.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Z("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};cg=function(e,t,n,r){n!==r&&(t.flags|=4)};function Vr(e,t){if(!ne)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ce(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function h1(e,t,n){var r=t.pendingProps;switch(Ku(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ce(t),null;case 1:return ze(t.type)&&Yo(),Ce(t),null;case 3:return r=t.stateNode,Cr(),ee(je),ee(Re),oc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(oo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,gt!==null&&(Xl(gt),gt=null))),zl(e,t),Ce(t),null;case 5:ic(t);var i=Ln(Oi.current);if(n=t.type,e!==null&&t.stateNode!=null)ug(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(C(166));return Ce(t),null}if(e=Ln(Mt.current),oo(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Pt]=t,r[Ci]=o,e=(t.mode&1)!==0,n){case"dialog":Z("cancel",r),Z("close",r);break;case"iframe":case"object":case"embed":Z("load",r);break;case"video":case"audio":for(i=0;i<ri.length;i++)Z(ri[i],r);break;case"source":Z("error",r);break;case"img":case"image":case"link":Z("error",r),Z("load",r);break;case"details":Z("toggle",r);break;case"input":Bf(r,o),Z("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Z("invalid",r);break;case"textarea":jf(r,o),Z("invalid",r)}hl(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&io(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&io(r.textContent,a,e),i=["children",""+a]):gi.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&Z("scroll",r)}switch(n){case"input":Ki(r),Lf(r,o,!0);break;case"textarea":Ki(r),zf(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Ko)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Lp(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Pt]=t,e[Ci]=r,lg(e,t,!1,!1),t.stateNode=e;e:{switch(s=pl(n,r),n){case"dialog":Z("cancel",e),Z("close",e),i=r;break;case"iframe":case"object":case"embed":Z("load",e),i=r;break;case"video":case"audio":for(i=0;i<ri.length;i++)Z(ri[i],e);i=r;break;case"source":Z("error",e),i=r;break;case"img":case"image":case"link":Z("error",e),Z("load",e),i=r;break;case"details":Z("toggle",e),i=r;break;case"input":Bf(e,r),i=ll(e,r),Z("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=oe({},r,{value:void 0}),Z("invalid",e);break;case"textarea":jf(e,r),i=fl(e,r),Z("invalid",e);break;default:i=r}hl(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Up(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&jp(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&yi(e,l):typeof l=="number"&&yi(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(gi.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Z("scroll",e):l!=null&&Mu(e,o,l,s))}switch(n){case"input":Ki(e),Lf(e,r,!1);break;case"textarea":Ki(e),zf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+_n(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?gr(e,!!r.multiple,o,!1):r.defaultValue!=null&&gr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ko)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ce(t),null;case 6:if(e&&t.stateNode!=null)cg(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(C(166));if(n=Ln(Oi.current),Ln(Mt.current),oo(t)){if(r=t.stateNode,n=t.memoizedProps,r[Pt]=t,(o=r.nodeValue!==n)&&(e=Ve,e!==null))switch(e.tag){case 3:io(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&io(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Pt]=t,t.stateNode=r}return Ce(t),null;case 13:if(ee(re),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ne&&Ge!==null&&t.mode&1&&!(t.flags&128))Om(),xr(),t.flags|=98560,o=!1;else if(o=oo(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(C(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(C(317));o[Pt]=t}else xr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ce(t),o=!1}else gt!==null&&(Xl(gt),gt=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||re.current&1?pe===0&&(pe=3):yc())),t.updateQueue!==null&&(t.flags|=4),Ce(t),null);case 4:return Cr(),zl(e,t),e===null&&xi(t.stateNode.containerInfo),Ce(t),null;case 10:return ec(t.type._context),Ce(t),null;case 17:return ze(t.type)&&Yo(),Ce(t),null;case 19:if(ee(re),o=t.memoizedState,o===null)return Ce(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)Vr(o,!1);else{if(pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=is(e),s!==null){for(t.flags|=128,Vr(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return K(re,re.current&1|2),t.child}e=e.sibling}o.tail!==null&&ue()>Or&&(t.flags|=128,r=!0,Vr(o,!1),t.lanes=4194304)}else{if(!r)if(e=is(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Vr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ne)return Ce(t),null}else 2*ue()-o.renderingStartTime>Or&&n!==1073741824&&(t.flags|=128,r=!0,Vr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ue(),t.sibling=null,n=re.current,K(re,r?n&1|2:n&1),t):(Ce(t),null);case 22:case 23:return gc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(Ce(t),t.subtreeFlags&6&&(t.flags|=8192)):Ce(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function p1(e,t){switch(Ku(t),t.tag){case 1:return ze(t.type)&&Yo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Cr(),ee(je),ee(Re),oc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ic(t),null;case 13:if(ee(re),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));xr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ee(re),null;case 4:return Cr(),null;case 10:return ec(t.type._context),null;case 22:case 23:return gc(),null;case 24:return null;default:return null}}var lo=!1,Oe=!1,m1=typeof WeakSet=="function"?WeakSet:Set,O=null;function pr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){le(e,t,r)}else n.current=null}function Ul(e,t,n){try{n()}catch(r){le(e,t,r)}}var Rd=!1;function g1(e,t){if(xl=qo,e=mm(),Xu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,g=e,y=null;t:for(;;){for(var f;g!==n||i!==0&&g.nodeType!==3||(a=s+i),g!==o||r!==0&&g.nodeType!==3||(l=s+r),g.nodeType===3&&(s+=g.nodeValue.length),(f=g.firstChild)!==null;)y=g,g=f;for(;;){if(g===e)break t;if(y===n&&++u===i&&(a=s),y===o&&++c===r&&(l=s),(f=g.nextSibling)!==null)break;g=y,y=g.parentNode}g=f}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Tl={focusedElem:e,selectionRange:n},qo=!1,O=t;O!==null;)if(t=O,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,O=e;else for(;O!==null;){t=O;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var p=v.memoizedProps,S=v.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?p:ht(t.type,p),S);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(E){le(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,O=e;break}O=t.return}return v=Rd,Rd=!1,v}function hi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Ul(t,n,o)}i=i.next}while(i!==r)}}function As(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function $l(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function fg(e){var t=e.alternate;t!==null&&(e.alternate=null,fg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Pt],delete t[Ci],delete t[Ol],delete t[Z_],delete t[J_])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function dg(e){return e.tag===5||e.tag===3||e.tag===4}function Nd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||dg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ko));else if(r!==4&&(e=e.child,e!==null))for(Hl(e,t,n),e=e.sibling;e!==null;)Hl(e,t,n),e=e.sibling}function Gl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Gl(e,t,n),e=e.sibling;e!==null;)Gl(e,t,n),e=e.sibling}var Ee=null,pt=!1;function Jt(e,t,n){for(n=n.child;n!==null;)hg(e,t,n),n=n.sibling}function hg(e,t,n){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(bs,n)}catch{}switch(n.tag){case 5:Oe||pr(n,t);case 6:var r=Ee,i=pt;Ee=null,Jt(e,t,n),Ee=r,pt=i,Ee!==null&&(pt?(e=Ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ee.removeChild(n.stateNode));break;case 18:Ee!==null&&(pt?(e=Ee,n=n.stateNode,e.nodeType===8?Ca(e.parentNode,n):e.nodeType===1&&Ca(e,n),Si(e)):Ca(Ee,n.stateNode));break;case 4:r=Ee,i=pt,Ee=n.stateNode.containerInfo,pt=!0,Jt(e,t,n),Ee=r,pt=i;break;case 0:case 11:case 14:case 15:if(!Oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Ul(n,t,s),i=i.next}while(i!==r)}Jt(e,t,n);break;case 1:if(!Oe&&(pr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){le(n,t,a)}Jt(e,t,n);break;case 21:Jt(e,t,n);break;case 22:n.mode&1?(Oe=(r=Oe)||n.memoizedState!==null,Jt(e,t,n),Oe=r):Jt(e,t,n);break;default:Jt(e,t,n)}}function Ad(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new m1),t.forEach(function(r){var i=T1.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function ft(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Ee=a.stateNode,pt=!1;break e;case 3:Ee=a.stateNode.containerInfo,pt=!0;break e;case 4:Ee=a.stateNode.containerInfo,pt=!0;break e}a=a.return}if(Ee===null)throw Error(C(160));hg(o,s,i),Ee=null,pt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){le(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)pg(t,e),t=t.sibling}function pg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ft(t,e),kt(e),r&4){try{hi(3,e,e.return),As(3,e)}catch(p){le(e,e.return,p)}try{hi(5,e,e.return)}catch(p){le(e,e.return,p)}}break;case 1:ft(t,e),kt(e),r&512&&n!==null&&pr(n,n.return);break;case 5:if(ft(t,e),kt(e),r&512&&n!==null&&pr(n,n.return),e.flags&32){var i=e.stateNode;try{yi(i,"")}catch(p){le(e,e.return,p)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Fp(i,o),pl(a,s);var u=pl(a,o);for(s=0;s<l.length;s+=2){var c=l[s],g=l[s+1];c==="style"?Up(i,g):c==="dangerouslySetInnerHTML"?jp(i,g):c==="children"?yi(i,g):Mu(i,c,g,u)}switch(a){case"input":ul(i,o);break;case"textarea":Bp(i,o);break;case"select":var y=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var f=o.value;f!=null?gr(i,!!o.multiple,f,!1):y!==!!o.multiple&&(o.defaultValue!=null?gr(i,!!o.multiple,o.defaultValue,!0):gr(i,!!o.multiple,o.multiple?[]:"",!1))}i[Ci]=o}catch(p){le(e,e.return,p)}}break;case 6:if(ft(t,e),kt(e),r&4){if(e.stateNode===null)throw Error(C(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(p){le(e,e.return,p)}}break;case 3:if(ft(t,e),kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Si(t.containerInfo)}catch(p){le(e,e.return,p)}break;case 4:ft(t,e),kt(e);break;case 13:ft(t,e),kt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(pc=ue())),r&4&&Ad(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Oe=(u=Oe)||c,ft(t,e),Oe=u):ft(t,e),kt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(O=e,c=e.child;c!==null;){for(g=O=c;O!==null;){switch(y=O,f=y.child,y.tag){case 0:case 11:case 14:case 15:hi(4,y,y.return);break;case 1:pr(y,y.return);var v=y.stateNode;if(typeof v.componentWillUnmount=="function"){r=y,n=y.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(p){le(r,n,p)}}break;case 5:pr(y,y.return);break;case 22:if(y.memoizedState!==null){Id(g);continue}}f!==null?(f.return=y,O=f):Id(g)}c=c.sibling}e:for(c=null,g=e;;){if(g.tag===5){if(c===null){c=g;try{i=g.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=g.stateNode,l=g.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=zp("display",s))}catch(p){le(e,e.return,p)}}}else if(g.tag===6){if(c===null)try{g.stateNode.nodeValue=u?"":g.memoizedProps}catch(p){le(e,e.return,p)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===e)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;g.sibling===null;){if(g.return===null||g.return===e)break e;c===g&&(c=null),g=g.return}c===g&&(c=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:ft(t,e),kt(e),r&4&&Ad(e);break;case 21:break;default:ft(t,e),kt(e)}}function kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(dg(n)){var r=n;break e}n=n.return}throw Error(C(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(yi(i,""),r.flags&=-33);var o=Nd(e);Gl(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Nd(e);Hl(e,a,s);break;default:throw Error(C(161))}}catch(l){le(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function y1(e,t,n){O=e,mg(e)}function mg(e,t,n){for(var r=(e.mode&1)!==0;O!==null;){var i=O,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||lo;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Oe;a=lo;var u=Oe;if(lo=s,(Oe=l)&&!u)for(O=i;O!==null;)s=O,l=s.child,s.tag===22&&s.memoizedState!==null?Dd(i):l!==null?(l.return=s,O=l):Dd(i);for(;o!==null;)O=o,mg(o),o=o.sibling;O=i,lo=a,Oe=u}Pd(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,O=o):Pd(e)}}function Pd(e){for(;O!==null;){var t=O;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Oe||As(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Oe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ht(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&gd(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}gd(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var g=c.dehydrated;g!==null&&Si(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}Oe||t.flags&512&&$l(t)}catch(y){le(t,t.return,y)}}if(t===e){O=null;break}if(n=t.sibling,n!==null){n.return=t.return,O=n;break}O=t.return}}function Id(e){for(;O!==null;){var t=O;if(t===e){O=null;break}var n=t.sibling;if(n!==null){n.return=t.return,O=n;break}O=t.return}}function Dd(e){for(;O!==null;){var t=O;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{As(4,t)}catch(l){le(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){le(t,i,l)}}var o=t.return;try{$l(t)}catch(l){le(t,o,l)}break;case 5:var s=t.return;try{$l(t)}catch(l){le(t,s,l)}}}catch(l){le(t,t.return,l)}if(t===e){O=null;break}var a=t.sibling;if(a!==null){a.return=t.return,O=a;break}O=t.return}}var v1=Math.ceil,as=Zt.ReactCurrentDispatcher,dc=Zt.ReactCurrentOwner,rt=Zt.ReactCurrentBatchConfig,W=0,ge=null,fe=null,be=0,He=0,mr=bn(0),pe=0,Pi=null,Gn=0,Ps=0,hc=0,pi=null,Fe=null,pc=0,Or=1/0,zt=null,ls=!1,Vl=null,mn=null,uo=!1,un=null,us=0,mi=0,Wl=null,Po=-1,Io=0;function Pe(){return W&6?ue():Po!==-1?Po:Po=ue()}function gn(e){return e.mode&1?W&2&&be!==0?be&-be:t1.transition!==null?(Io===0&&(Io=Jp()),Io):(e=X,e!==0||(e=window.event,e=e===void 0?16:sm(e.type)),e):1}function Et(e,t,n,r){if(50<mi)throw mi=0,Wl=null,Error(C(185));ji(e,n,r),(!(W&2)||e!==ge)&&(e===ge&&(!(W&2)&&(Ps|=n),pe===4&&sn(e,be)),Ue(e,r),n===1&&W===0&&!(t.mode&1)&&(Or=ue()+500,Os&&xn()))}function Ue(e,t){var n=e.callbackNode;t_(e,t);var r=Wo(e,e===ge?be:0);if(r===0)n!==null&&Hf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Hf(n),t===1)e.tag===0?e1(Md.bind(null,e)):Tm(Md.bind(null,e)),K_(function(){!(W&6)&&xn()}),n=null;else{switch(em(r)){case 1:n=zu;break;case 4:n=Yp;break;case 16:n=Vo;break;case 536870912:n=Zp;break;default:n=Vo}n=bg(n,gg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function gg(e,t){if(Po=-1,Io=0,W&6)throw Error(C(327));var n=e.callbackNode;if(Sr()&&e.callbackNode!==n)return null;var r=Wo(e,e===ge?be:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=cs(e,r);else{t=r;var i=W;W|=2;var o=vg();(ge!==e||be!==t)&&(zt=null,Or=ue()+500,jn(e,t));do try{S1();break}catch(a){yg(e,a)}while(!0);Ju(),as.current=o,W=i,fe!==null?t=0:(ge=null,be=0,t=pe)}if(t!==0){if(t===2&&(i=_l(e),i!==0&&(r=i,t=ql(e,i))),t===1)throw n=Pi,jn(e,0),sn(e,r),Ue(e,ue()),n;if(t===6)sn(e,r);else{if(i=e.current.alternate,!(r&30)&&!_1(i)&&(t=cs(e,r),t===2&&(o=_l(e),o!==0&&(r=o,t=ql(e,o))),t===1))throw n=Pi,jn(e,0),sn(e,r),Ue(e,ue()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(C(345));case 2:In(e,Fe,zt);break;case 3:if(sn(e,r),(r&130023424)===r&&(t=pc+500-ue(),10<t)){if(Wo(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Pe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=kl(In.bind(null,e,Fe,zt),t);break}In(e,Fe,zt);break;case 4:if(sn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-_t(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*v1(r/1960))-r,10<r){e.timeoutHandle=kl(In.bind(null,e,Fe,zt),r);break}In(e,Fe,zt);break;case 5:In(e,Fe,zt);break;default:throw Error(C(329))}}}return Ue(e,ue()),e.callbackNode===n?gg.bind(null,e):null}function ql(e,t){var n=pi;return e.current.memoizedState.isDehydrated&&(jn(e,t).flags|=256),e=cs(e,t),e!==2&&(t=Fe,Fe=n,t!==null&&Xl(t)),e}function Xl(e){Fe===null?Fe=e:Fe.push.apply(Fe,e)}function _1(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!St(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function sn(e,t){for(t&=~hc,t&=~Ps,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-_t(t),r=1<<n;e[n]=-1,t&=~r}}function Md(e){if(W&6)throw Error(C(327));Sr();var t=Wo(e,0);if(!(t&1))return Ue(e,ue()),null;var n=cs(e,t);if(e.tag!==0&&n===2){var r=_l(e);r!==0&&(t=r,n=ql(e,r))}if(n===1)throw n=Pi,jn(e,0),sn(e,t),Ue(e,ue()),n;if(n===6)throw Error(C(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,In(e,Fe,zt),Ue(e,ue()),null}function mc(e,t){var n=W;W|=1;try{return e(t)}finally{W=n,W===0&&(Or=ue()+500,Os&&xn())}}function Vn(e){un!==null&&un.tag===0&&!(W&6)&&Sr();var t=W;W|=1;var n=rt.transition,r=X;try{if(rt.transition=null,X=1,e)return e()}finally{X=r,rt.transition=n,W=t,!(W&6)&&xn()}}function gc(){He=mr.current,ee(mr)}function jn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Q_(n)),fe!==null)for(n=fe.return;n!==null;){var r=n;switch(Ku(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Yo();break;case 3:Cr(),ee(je),ee(Re),oc();break;case 5:ic(r);break;case 4:Cr();break;case 13:ee(re);break;case 19:ee(re);break;case 10:ec(r.type._context);break;case 22:case 23:gc()}n=n.return}if(ge=e,fe=e=yn(e.current,null),be=He=t,pe=0,Pi=null,hc=Ps=Gn=0,Fe=pi=null,Bn!==null){for(t=0;t<Bn.length;t++)if(n=Bn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}Bn=null}return e}function yg(e,t){do{var n=fe;try{if(Ju(),Ro.current=ss,os){for(var r=ie.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}os=!1}if(Hn=0,me=he=ie=null,di=!1,Ri=0,dc.current=null,n===null||n.return===null){pe=1,Pi=t,fe=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=be,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,g=c.tag;if(!(c.mode&1)&&(g===0||g===11||g===15)){var y=c.alternate;y?(c.updateQueue=y.updateQueue,c.memoizedState=y.memoizedState,c.lanes=y.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=wd(s);if(f!==null){f.flags&=-257,bd(f,s,a,o,t),f.mode&1&&Sd(o,u,t),t=f,l=u;var v=t.updateQueue;if(v===null){var p=new Set;p.add(l),t.updateQueue=p}else v.add(l);break e}else{if(!(t&1)){Sd(o,u,t),yc();break e}l=Error(C(426))}}else if(ne&&a.mode&1){var S=wd(s);if(S!==null){!(S.flags&65536)&&(S.flags|=256),bd(S,s,a,o,t),Yu(kr(l,a));break e}}o=l=kr(l,a),pe!==4&&(pe=2),pi===null?pi=[o]:pi.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=eg(o,l,t);md(o,h);break e;case 1:a=l;var d=o.type,m=o.stateNode;if(!(o.flags&128)&&(typeof d.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(mn===null||!mn.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t;var E=tg(o,a,t);md(o,E);break e}}o=o.return}while(o!==null)}Eg(n)}catch(w){t=w,fe===n&&n!==null&&(fe=n=n.return);continue}break}while(!0)}function vg(){var e=as.current;return as.current=ss,e===null?ss:e}function yc(){(pe===0||pe===3||pe===2)&&(pe=4),ge===null||!(Gn&268435455)&&!(Ps&268435455)||sn(ge,be)}function cs(e,t){var n=W;W|=2;var r=vg();(ge!==e||be!==t)&&(zt=null,jn(e,t));do try{E1();break}catch(i){yg(e,i)}while(!0);if(Ju(),W=n,as.current=r,fe!==null)throw Error(C(261));return ge=null,be=0,pe}function E1(){for(;fe!==null;)_g(fe)}function S1(){for(;fe!==null&&!W0();)_g(fe)}function _g(e){var t=wg(e.alternate,e,He);e.memoizedProps=e.pendingProps,t===null?Eg(e):fe=t,dc.current=null}function Eg(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=p1(n,t),n!==null){n.flags&=32767,fe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{pe=6,fe=null;return}}else if(n=h1(n,t,He),n!==null){fe=n;return}if(t=t.sibling,t!==null){fe=t;return}fe=t=e}while(t!==null);pe===0&&(pe=5)}function In(e,t,n){var r=X,i=rt.transition;try{rt.transition=null,X=1,w1(e,t,n,r)}finally{rt.transition=i,X=r}return null}function w1(e,t,n,r){do Sr();while(un!==null);if(W&6)throw Error(C(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(C(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(n_(e,o),e===ge&&(fe=ge=null,be=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||uo||(uo=!0,bg(Vo,function(){return Sr(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=rt.transition,rt.transition=null;var s=X;X=1;var a=W;W|=4,dc.current=null,g1(e,n),pg(n,e),$_(Tl),qo=!!xl,Tl=xl=null,e.current=n,y1(n),q0(),W=a,X=s,rt.transition=o}else e.current=n;if(uo&&(uo=!1,un=e,us=i),o=e.pendingLanes,o===0&&(mn=null),K0(n.stateNode),Ue(e,ue()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(ls)throw ls=!1,e=Vl,Vl=null,e;return us&1&&e.tag!==0&&Sr(),o=e.pendingLanes,o&1?e===Wl?mi++:(mi=0,Wl=e):mi=0,xn(),null}function Sr(){if(un!==null){var e=em(us),t=rt.transition,n=X;try{if(rt.transition=null,X=16>e?16:e,un===null)var r=!1;else{if(e=un,un=null,us=0,W&6)throw Error(C(331));var i=W;for(W|=4,O=e.current;O!==null;){var o=O,s=o.child;if(O.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(O=u;O!==null;){var c=O;switch(c.tag){case 0:case 11:case 15:hi(8,c,o)}var g=c.child;if(g!==null)g.return=c,O=g;else for(;O!==null;){c=O;var y=c.sibling,f=c.return;if(fg(c),c===u){O=null;break}if(y!==null){y.return=f,O=y;break}O=f}}}var v=o.alternate;if(v!==null){var p=v.child;if(p!==null){v.child=null;do{var S=p.sibling;p.sibling=null,p=S}while(p!==null)}}O=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,O=s;else e:for(;O!==null;){if(o=O,o.flags&2048)switch(o.tag){case 0:case 11:case 15:hi(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,O=h;break e}O=o.return}}var d=e.current;for(O=d;O!==null;){s=O;var m=s.child;if(s.subtreeFlags&2064&&m!==null)m.return=s,O=m;else e:for(s=d;O!==null;){if(a=O,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:As(9,a)}}catch(w){le(a,a.return,w)}if(a===s){O=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,O=E;break e}O=a.return}}if(W=i,xn(),Dt&&typeof Dt.onPostCommitFiberRoot=="function")try{Dt.onPostCommitFiberRoot(bs,e)}catch{}r=!0}return r}finally{X=n,rt.transition=t}}return!1}function Fd(e,t,n){t=kr(n,t),t=eg(e,t,1),e=pn(e,t,1),t=Pe(),e!==null&&(ji(e,1,t),Ue(e,t))}function le(e,t,n){if(e.tag===3)Fd(e,e,n);else for(;t!==null;){if(t.tag===3){Fd(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(mn===null||!mn.has(r))){e=kr(n,e),e=tg(t,e,1),t=pn(t,e,1),e=Pe(),t!==null&&(ji(t,1,e),Ue(t,e));break}}t=t.return}}function b1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Pe(),e.pingedLanes|=e.suspendedLanes&n,ge===e&&(be&n)===n&&(pe===4||pe===3&&(be&130023424)===be&&500>ue()-pc?jn(e,0):hc|=n),Ue(e,t)}function Sg(e,t){t===0&&(e.mode&1?(t=Ji,Ji<<=1,!(Ji&130023424)&&(Ji=4194304)):t=1);var n=Pe();e=Xt(e,t),e!==null&&(ji(e,t,n),Ue(e,n))}function x1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Sg(e,n)}function T1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),Sg(e,n)}var wg;wg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||je.current)Le=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Le=!1,d1(e,t,n);Le=!!(e.flags&131072)}else Le=!1,ne&&t.flags&1048576&&Cm(t,es,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ao(e,t),e=t.pendingProps;var i=br(t,Re.current);Er(t,n),i=ac(null,t,r,e,i,n);var o=lc();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(o=!0,Zo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,nc(t),i.updater=Ns,t.stateNode=i,i._reactInternals=t,Dl(t,r,e,n),t=Bl(null,t,r,!0,o,n)):(t.tag=0,ne&&o&&Qu(t),Ae(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ao(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=k1(r),e=ht(r,e),i){case 0:t=Fl(null,t,r,e,n);break e;case 1:t=Cd(null,t,r,e,n);break e;case 11:t=xd(null,t,r,e,n);break e;case 14:t=Td(null,t,r,ht(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),Fl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),Cd(e,t,r,i,n);case 3:e:{if(og(t),e===null)throw Error(C(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Pm(e,t),rs(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=kr(Error(C(423)),t),t=kd(e,t,r,n,i);break e}else if(r!==i){i=kr(Error(C(424)),t),t=kd(e,t,r,n,i);break e}else for(Ge=hn(t.stateNode.containerInfo.firstChild),Ve=t,ne=!0,gt=null,n=Nm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(xr(),r===i){t=Qt(e,t,n);break e}Ae(e,t,r,n)}t=t.child}return t;case 5:return Im(t),e===null&&Al(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Cl(r,i)?s=null:o!==null&&Cl(r,o)&&(t.flags|=32),ig(e,t),Ae(e,t,s,n),t.child;case 6:return e===null&&Al(t),null;case 13:return sg(e,t,n);case 4:return rc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Tr(t,null,r,n):Ae(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),xd(e,t,r,i,n);case 7:return Ae(e,t,t.pendingProps,n),t.child;case 8:return Ae(e,t,t.pendingProps.children,n),t.child;case 12:return Ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,K(ts,r._currentValue),r._currentValue=s,o!==null)if(St(o.value,s)){if(o.children===i.children&&!je.current){t=Qt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Vt(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Pl(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(C(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Pl(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Ae(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Er(t,n),i=it(i),r=r(i),t.flags|=1,Ae(e,t,r,n),t.child;case 14:return r=t.type,i=ht(r,t.pendingProps),i=ht(r.type,i),Td(e,t,r,i,n);case 15:return ng(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),Ao(e,t),t.tag=1,ze(r)?(e=!0,Zo(t)):e=!1,Er(t,n),Jm(t,r,i),Dl(t,r,i,n),Bl(null,t,r,!0,e,n);case 19:return ag(e,t,n);case 22:return rg(e,t,n)}throw Error(C(156,t.tag))};function bg(e,t){return Kp(e,t)}function C1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nt(e,t,n,r){return new C1(e,t,n,r)}function vc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function k1(e){if(typeof e=="function")return vc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Bu)return 11;if(e===Lu)return 14}return 2}function yn(e,t){var n=e.alternate;return n===null?(n=nt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Do(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")vc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case or:return zn(n.children,i,o,t);case Fu:s=8,i|=8;break;case il:return e=nt(12,n,t,i|2),e.elementType=il,e.lanes=o,e;case ol:return e=nt(13,n,t,i),e.elementType=ol,e.lanes=o,e;case sl:return e=nt(19,n,t,i),e.elementType=sl,e.lanes=o,e;case Ip:return Is(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ap:s=10;break e;case Pp:s=9;break e;case Bu:s=11;break e;case Lu:s=14;break e;case nn:s=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=nt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function zn(e,t,n,r){return e=nt(7,e,r,t),e.lanes=n,e}function Is(e,t,n,r){return e=nt(22,e,r,t),e.elementType=Ip,e.lanes=n,e.stateNode={isHidden:!1},e}function Da(e,t,n){return e=nt(6,e,null,t),e.lanes=n,e}function Ma(e,t,n){return t=nt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function O1(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ma(0),this.expirationTimes=ma(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ma(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function _c(e,t,n,r,i,o,s,a,l){return e=new O1(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=nt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},nc(o),e}function R1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ir,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function xg(e){if(!e)return En;e=e._reactInternals;e:{if(Qn(e)!==e||e.tag!==1)throw Error(C(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(C(171))}if(e.tag===1){var n=e.type;if(ze(n))return xm(e,n,t)}return t}function Tg(e,t,n,r,i,o,s,a,l){return e=_c(n,r,!0,e,i,o,s,a,l),e.context=xg(null),n=e.current,r=Pe(),i=gn(n),o=Vt(r,i),o.callback=t??null,pn(n,o,i),e.current.lanes=i,ji(e,i,r),Ue(e,r),e}function Ds(e,t,n,r){var i=t.current,o=Pe(),s=gn(i);return n=xg(n),t.context===null?t.context=n:t.pendingContext=n,t=Vt(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=pn(i,t,s),e!==null&&(Et(e,i,s,o),Oo(e,i,s)),s}function fs(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Bd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ec(e,t){Bd(e,t),(e=e.alternate)&&Bd(e,t)}function N1(){return null}var Cg=typeof reportError=="function"?reportError:function(e){console.error(e)};function Sc(e){this._internalRoot=e}Ms.prototype.render=Sc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(C(409));Ds(e,t,null,null)};Ms.prototype.unmount=Sc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Vn(function(){Ds(null,e,null,null)}),t[qt]=null}};function Ms(e){this._internalRoot=e}Ms.prototype.unstable_scheduleHydration=function(e){if(e){var t=rm();e={blockedOn:null,target:e,priority:t};for(var n=0;n<on.length&&t!==0&&t<on[n].priority;n++);on.splice(n,0,e),n===0&&om(e)}};function wc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Fs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ld(){}function A1(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=fs(s);o.call(u)}}var s=Tg(t,r,e,0,null,!1,!1,"",Ld);return e._reactRootContainer=s,e[qt]=s.current,xi(e.nodeType===8?e.parentNode:e),Vn(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=fs(l);a.call(u)}}var l=_c(e,0,!1,null,null,!1,!1,"",Ld);return e._reactRootContainer=l,e[qt]=l.current,xi(e.nodeType===8?e.parentNode:e),Vn(function(){Ds(t,l,n,r)}),l}function Bs(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=fs(s);a.call(l)}}Ds(t,s,e,i)}else s=A1(n,t,e,i,r);return fs(s)}tm=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ni(t.pendingLanes);n!==0&&(Uu(t,n|1),Ue(t,ue()),!(W&6)&&(Or=ue()+500,xn()))}break;case 13:Vn(function(){var r=Xt(e,1);if(r!==null){var i=Pe();Et(r,e,1,i)}}),Ec(e,1)}};$u=function(e){if(e.tag===13){var t=Xt(e,134217728);if(t!==null){var n=Pe();Et(t,e,134217728,n)}Ec(e,134217728)}};nm=function(e){if(e.tag===13){var t=gn(e),n=Xt(e,t);if(n!==null){var r=Pe();Et(n,e,t,r)}Ec(e,t)}};rm=function(){return X};im=function(e,t){var n=X;try{return X=e,t()}finally{X=n}};gl=function(e,t,n){switch(t){case"input":if(ul(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ks(r);if(!i)throw Error(C(90));Mp(r),ul(r,i)}}}break;case"textarea":Bp(e,n);break;case"select":t=n.value,t!=null&&gr(e,!!n.multiple,t,!1)}};Gp=mc;Vp=Vn;var P1={usingClientEntryPoint:!1,Events:[Ui,ur,ks,$p,Hp,mc]},Wr={findFiberByHostInstance:Fn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},I1={bundleType:Wr.bundleType,version:Wr.version,rendererPackageName:Wr.rendererPackageName,rendererConfig:Wr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Zt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Xp(e),e===null?null:e.stateNode},findFiberByHostInstance:Wr.findFiberByHostInstance||N1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var co=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!co.isDisabled&&co.supportsFiber)try{bs=co.inject(I1),Dt=co}catch{}}Qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P1;Qe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wc(t))throw Error(C(200));return R1(e,t,null,n)};Qe.createRoot=function(e,t){if(!wc(e))throw Error(C(299));var n=!1,r="",i=Cg;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=_c(e,1,!1,null,null,n,!1,r,i),e[qt]=t.current,xi(e.nodeType===8?e.parentNode:e),new Sc(t)};Qe.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(C(188)):(e=Object.keys(e).join(","),Error(C(268,e)));return e=Xp(t),e=e===null?null:e.stateNode,e};Qe.flushSync=function(e){return Vn(e)};Qe.hydrate=function(e,t,n){if(!Fs(t))throw Error(C(200));return Bs(null,e,t,!0,n)};Qe.hydrateRoot=function(e,t,n){if(!wc(e))throw Error(C(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Cg;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Tg(t,null,e,1,n??null,i,!1,o,s),e[qt]=t.current,xi(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Ms(t)};Qe.render=function(e,t,n){if(!Fs(t))throw Error(C(200));return Bs(null,e,t,!1,n)};Qe.unmountComponentAtNode=function(e){if(!Fs(e))throw Error(C(40));return e._reactRootContainer?(Vn(function(){Bs(null,null,e,!1,function(){e._reactRootContainer=null,e[qt]=null})}),!0):!1};Qe.unstable_batchedUpdates=mc;Qe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Fs(n))throw Error(C(200));if(e==null||e._reactInternals===void 0)throw Error(C(38));return Bs(e,t,n,!1,r)};Qe.version="18.3.1-next-f1338f8080-20240426";function kg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(kg)}catch(e){console.error(e)}}kg(),kp.exports=Qe;var D1=kp.exports,Og,jd=D1;Og=jd.createRoot,jd.hydrateRoot;var Rg={exports:{}},Ng={};/**
|
|
41
41
|
* @license React
|
|
42
42
|
* use-sync-external-store-with-selector.production.min.js
|
|
43
43
|
*
|
|
@@ -45,57 +45,57 @@ Error generating stack: `+o.message+`
|
|
|
45
45
|
*
|
|
46
46
|
* This source code is licensed under the MIT license found in the
|
|
47
47
|
* LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/var Hi=N;function M1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var F1=typeof Object.is=="function"?Object.is:M1,B1=Hi.useSyncExternalStore,L1=Hi.useRef,j1=Hi.useEffect,z1=Hi.useMemo,U1=Hi.useDebugValue;
|
|
48
|
+
*/var Hi=N;function M1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var F1=typeof Object.is=="function"?Object.is:M1,B1=Hi.useSyncExternalStore,L1=Hi.useRef,j1=Hi.useEffect,z1=Hi.useMemo,U1=Hi.useDebugValue;Ng.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=L1(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=z1(function(){function l(f){if(!u){if(u=!0,c=f,f=r(f),i!==void 0&&s.hasValue){var v=s.value;if(i(v,f))return g=v}return g=f}if(v=g,F1(c,f))return v;var p=r(f);return i!==void 0&&i(v,p)?v:(c=f,g=p)}var u=!1,c,g,y=n===void 0?null:n;return[function(){return l(t())},y===null?void 0:function(){return l(y())}]},[t,n,r,i]);var a=B1(e,o[0],o[1]);return j1(function(){s.hasValue=!0,s.value=a},[a]),U1(a),a};Rg.exports=Ng;var $1=Rg.exports,H="default"in If?vt:If,zd=Symbol.for("react-redux-context"),Ud=typeof globalThis<"u"?globalThis:{};function H1(){if(!H.createContext)return{};const e=Ud[zd]??(Ud[zd]=new Map);let t=e.get(H.createContext);return t||(t=H.createContext(null),e.set(H.createContext,t)),t}var Kt=H1(),Ag=()=>{throw new Error("uSES not initialized!")};function bc(e=Kt){return function(){return H.useContext(e)}}var Pg=bc(),Ig=Ag,G1=e=>{Ig=e},V1=(e,t)=>e===t;function W1(e=Kt){const t=e===Kt?Pg:bc(e),n=(r,i={})=>{const{equalityFn:o=V1,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:l,getServerState:u,stabilityCheck:c,identityFunctionCheck:g}=t();H.useRef(!0);const y=H.useCallback({[r.name](v){return r(v)}}[r.name],[r,c,s.stabilityCheck]),f=Ig(l.addNestedSub,a.getState,u||a.getState,y,o);return H.useDebugValue(f),f};return Object.assign(n,{withTypes:()=>n}),n}var q1=W1(),X1=Symbol.for("react.element"),Q1=Symbol.for("react.portal"),K1=Symbol.for("react.fragment"),Y1=Symbol.for("react.strict_mode"),Z1=Symbol.for("react.profiler"),J1=Symbol.for("react.provider"),eE=Symbol.for("react.context"),tE=Symbol.for("react.server_context"),Dg=Symbol.for("react.forward_ref"),nE=Symbol.for("react.suspense"),rE=Symbol.for("react.suspense_list"),xc=Symbol.for("react.memo"),iE=Symbol.for("react.lazy"),oE=Dg,sE=xc;function aE(e){if(typeof e=="object"&&e!==null){const t=e.$$typeof;switch(t){case X1:{const n=e.type;switch(n){case K1:case Z1:case Y1:case nE:case rE:return n;default:{const r=n&&n.$$typeof;switch(r){case tE:case eE:case Dg:case iE:case xc:case J1:return r;default:return t}}}}case Q1:return t}}}function lE(e){return aE(e)===xc}function uE(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:o,areStatePropsEqual:s}){let a=!1,l,u,c,g,y;function f(d,m){return l=d,u=m,c=e(l,u),g=t(r,u),y=n(c,g,u),a=!0,y}function v(){return c=e(l,u),t.dependsOnOwnProps&&(g=t(r,u)),y=n(c,g,u),y}function p(){return e.dependsOnOwnProps&&(c=e(l,u)),t.dependsOnOwnProps&&(g=t(r,u)),y=n(c,g,u),y}function S(){const d=e(l,u),m=!s(d,c);return c=d,m&&(y=n(c,g,u)),y}function h(d,m){const E=!o(m,u),w=!i(d,l,m,u);return l=d,u=m,E&&w?v():E?p():w?S():y}return function(m,E){return a?h(m,E):f(m,E)}}function cE(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...i}){const o=t(e,i),s=n(e,i),a=r(e,i);return uE(o,s,a,e,i)}function fE(e,t){const n={};for(const r in e){const i=e[r];typeof i=="function"&&(n[r]=(...o)=>t(i(...o)))}return n}function Ql(e){return function(n){const r=e(n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function $d(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function Mg(e,t){return function(r,{displayName:i}){const o=function(a,l){return o.dependsOnOwnProps?o.mapToProps(a,l):o.mapToProps(a,void 0)};return o.dependsOnOwnProps=!0,o.mapToProps=function(a,l){o.mapToProps=e,o.dependsOnOwnProps=$d(e);let u=o(a,l);return typeof u=="function"&&(o.mapToProps=u,o.dependsOnOwnProps=$d(u),u=o(a,l)),u},o}}function Tc(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function dE(e){return e&&typeof e=="object"?Ql(t=>fE(e,t)):e?typeof e=="function"?Mg(e):Tc(e,"mapDispatchToProps"):Ql(t=>({dispatch:t}))}function hE(e){return e?typeof e=="function"?Mg(e):Tc(e,"mapStateToProps"):Ql(()=>({}))}function pE(e,t,n){return{...n,...e,...t}}function mE(e){return function(n,{displayName:r,areMergedPropsEqual:i}){let o=!1,s;return function(l,u,c){const g=e(l,u,c);return o?i(g,s)||(s=g):(o=!0,s=g),s}}}function gE(e){return e?typeof e=="function"?mE(e):Tc(e,"mergeProps"):()=>pE}function yE(e){e()}function vE(){let e=null,t=null;return{clear(){e=null,t=null},notify(){yE(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Hd={notify(){},get:()=>[]};function Fg(e,t){let n,r=Hd,i=0,o=!1;function s(p){c();const S=r.subscribe(p);let h=!1;return()=>{h||(h=!0,S(),g())}}function a(){r.notify()}function l(){v.onStateChange&&v.onStateChange()}function u(){return o}function c(){i++,n||(n=t?t.addNestedSub(l):e.subscribe(l),r=vE())}function g(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Hd)}function y(){o||(o=!0,c())}function f(){o&&(o=!1,g())}const v={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:l,isSubscribed:u,trySubscribe:y,tryUnsubscribe:f,getListeners:()=>r};return v}var _E=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",EE=typeof navigator<"u"&&navigator.product==="ReactNative",ds=_E||EE?H.useLayoutEffect:H.useEffect;function Gd(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Fa(e,t){if(Gd(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!Gd(e[n[i]],t[n[i]]))return!1;return!0}var SE={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},wE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},bE={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Bg={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},xE={[oE]:bE,[sE]:Bg};function Vd(e){return lE(e)?Bg:xE[e.$$typeof]||SE}var TE=Object.defineProperty,CE=Object.getOwnPropertyNames,Wd=Object.getOwnPropertySymbols,kE=Object.getOwnPropertyDescriptor,OE=Object.getPrototypeOf,qd=Object.prototype;function Kl(e,t){if(typeof t!="string"){if(qd){const o=OE(t);o&&o!==qd&&Kl(e,o)}let n=CE(t);Wd&&(n=n.concat(Wd(t)));const r=Vd(e),i=Vd(t);for(let o=0;o<n.length;++o){const s=n[o];if(!wE[s]&&!(i&&i[s])&&!(r&&r[s])){const a=kE(t,s);try{TE(e,s,a)}catch{}}}}return e}var Lg=Ag,RE=e=>{Lg=e},NE=[null,null];function AE(e,t,n){ds(()=>e(...t),n)}function PE(e,t,n,r,i,o){e.current=r,n.current=!1,i.current&&(i.current=null,o())}function IE(e,t,n,r,i,o,s,a,l,u,c){if(!e)return()=>{};let g=!1,y=null;const f=()=>{if(g||!a.current)return;const p=t.getState();let S,h;try{S=r(p,i.current)}catch(d){h=d,y=d}h||(y=null),S===o.current?s.current||u():(o.current=S,l.current=S,s.current=!0,c())};return n.onStateChange=f,n.trySubscribe(),f(),()=>{if(g=!0,n.tryUnsubscribe(),n.onStateChange=null,y)throw y}}function DE(e,t){return e===t}function ME(e,t,n,{pure:r,areStatesEqual:i=DE,areOwnPropsEqual:o=Fa,areStatePropsEqual:s=Fa,areMergedPropsEqual:a=Fa,forwardRef:l=!1,context:u=Kt}={}){const c=u,g=hE(e),y=dE(t),f=gE(n),v=!!e;return S=>{const h=S.displayName||S.name||"Component",d=`Connect(${h})`,m={shouldHandleStateChanges:v,displayName:d,wrappedComponentName:h,WrappedComponent:S,initMapStateToProps:g,initMapDispatchToProps:y,initMergeProps:f,areStatesEqual:i,areStatePropsEqual:s,areOwnPropsEqual:o,areMergedPropsEqual:a};function E(x){const[T,M,P]=H.useMemo(()=>{const{reactReduxForwardedRef:Ze,...Lr}=x;return[x.context,Ze,Lr]},[x]),se=H.useMemo(()=>{let Ze=c;return T!=null&&T.Consumer,Ze},[T,c]),ve=H.useContext(se),ut=!!x.store&&!!x.store.getState&&!!x.store.dispatch,Wi=!!ve&&!!ve.store,xt=ut?x.store:ve.store,Zn=Wi?ve.getServerState:xt.getState,kn=H.useMemo(()=>cE(xt.dispatch,m),[xt]),[k,D]=H.useMemo(()=>{if(!v)return NE;const Ze=Fg(xt,ut?void 0:ve.subscription),Lr=Ze.notifyNestedSubs.bind(Ze);return[Ze,Lr]},[xt,ut,ve]),F=H.useMemo(()=>ut?ve:{...ve,subscription:k},[ut,ve,k]),Y=H.useRef(void 0),ae=H.useRef(P),Tt=H.useRef(void 0),Ct=H.useRef(!1),On=H.useRef(!1),ct=H.useRef(void 0);ds(()=>(On.current=!0,()=>{On.current=!1}),[]);const Rn=H.useMemo(()=>()=>Tt.current&&P===ae.current?Tt.current:kn(xt.getState(),P),[xt,P]),o0=H.useMemo(()=>Lr=>k?IE(v,xt,k,kn,ae,Y,Ct,On,Tt,D,Lr):()=>{},[k]);AE(PE,[ae,Y,Ct,P,Tt,D]);let qi;try{qi=Lg(o0,Rn,Zn?()=>kn(Zn(),P):Rn)}catch(Ze){throw ct.current&&(Ze.message+=`
|
|
49
49
|
The error may be correlated with this previous error:
|
|
50
50
|
${ct.current.stack}
|
|
51
51
|
|
|
52
|
-
`),Ze}ds(()=>{ct.current=void 0,Tt.current=void 0,Y.current=qi});const ua=H.useMemo(()=>H.createElement(S,{...qi,ref:M}),[M,S,qi]);return H.useMemo(()=>v?H.createElement(se.Provider,{value:F},ua):ua,[se,ua,F])}const b=H.memo(E);if(b.WrappedComponent=S,b.displayName=E.displayName=d,l){const T=H.forwardRef(function(P,se){return H.createElement(b,{...P,reactReduxForwardedRef:se})});return T.displayName=d,T.WrappedComponent=S,Kl(T,S)}return Kl(b,S)}}var FE=ME;function BE({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=H.useMemo(()=>{const u=
|
|
52
|
+
`),Ze}ds(()=>{ct.current=void 0,Tt.current=void 0,Y.current=qi});const ua=H.useMemo(()=>H.createElement(S,{...qi,ref:M}),[M,S,qi]);return H.useMemo(()=>v?H.createElement(se.Provider,{value:F},ua):ua,[se,ua,F])}const b=H.memo(E);if(b.WrappedComponent=S,b.displayName=E.displayName=d,l){const T=H.forwardRef(function(P,se){return H.createElement(b,{...P,reactReduxForwardedRef:se})});return T.displayName=d,T.WrappedComponent=S,Kl(T,S)}return Kl(b,S)}}var FE=ME;function BE({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=H.useMemo(()=>{const u=Fg(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,r,i,o]),a=H.useMemo(()=>e.getState(),[e]);ds(()=>{const{subscription:u}=s;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),a!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[s,a]);const l=t||Kt;return H.createElement(l.Provider,{value:s},n)}var LE=BE;function jg(e=Kt){const t=e===Kt?Pg:bc(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var jE=jg();function zE(e=Kt){const t=e===Kt?jE:jg(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var UE=zE();G1($1.useSyncExternalStoreWithSelector);RE(N.useSyncExternalStore);var Yl=function(e,t){return Yl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Yl(e,t)};function at(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Yl(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var A=function(){return A=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},A.apply(this,arguments)};function Ls(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function At(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var zg={exports:{}},Q={};/** @license React v16.13.1
|
|
53
53
|
* react-is.production.min.js
|
|
54
54
|
*
|
|
55
55
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
56
56
|
*
|
|
57
57
|
* This source code is licensed under the MIT license found in the
|
|
58
58
|
* LICENSE file in the root directory of this source tree.
|
|
59
|
-
*/var ye=typeof Symbol=="function"&&Symbol.for,Cc=ye?Symbol.for("react.element"):60103,kc=ye?Symbol.for("react.portal"):60106,js=ye?Symbol.for("react.fragment"):60107,zs=ye?Symbol.for("react.strict_mode"):60108,Us=ye?Symbol.for("react.profiler"):60114,$s=ye?Symbol.for("react.provider"):60109,Hs=ye?Symbol.for("react.context"):60110,Oc=ye?Symbol.for("react.async_mode"):60111,Gs=ye?Symbol.for("react.concurrent_mode"):60111,Vs=ye?Symbol.for("react.forward_ref"):60112,Ws=ye?Symbol.for("react.suspense"):60113,$E=ye?Symbol.for("react.suspense_list"):60120,qs=ye?Symbol.for("react.memo"):60115,Xs=ye?Symbol.for("react.lazy"):60116,HE=ye?Symbol.for("react.block"):60121,GE=ye?Symbol.for("react.fundamental"):60117,VE=ye?Symbol.for("react.responder"):60118,WE=ye?Symbol.for("react.scope"):60119;function Ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Cc:switch(e=e.type,e){case Oc:case Gs:case js:case Us:case zs:case Ws:return e;default:switch(e=e&&e.$$typeof,e){case Hs:case Vs:case Xs:case qs:case $s:return e;default:return t}}case kc:return t}}}function zg(e){return Ye(e)===Gs}Q.AsyncMode=Oc;Q.ConcurrentMode=Gs;Q.ContextConsumer=Hs;Q.ContextProvider=$s;Q.Element=Cc;Q.ForwardRef=Vs;Q.Fragment=js;Q.Lazy=Xs;Q.Memo=qs;Q.Portal=kc;Q.Profiler=Us;Q.StrictMode=zs;Q.Suspense=Ws;Q.isAsyncMode=function(e){return zg(e)||Ye(e)===Oc};Q.isConcurrentMode=zg;Q.isContextConsumer=function(e){return Ye(e)===Hs};Q.isContextProvider=function(e){return Ye(e)===$s};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Cc};Q.isForwardRef=function(e){return Ye(e)===Vs};Q.isFragment=function(e){return Ye(e)===js};Q.isLazy=function(e){return Ye(e)===Xs};Q.isMemo=function(e){return Ye(e)===qs};Q.isPortal=function(e){return Ye(e)===kc};Q.isProfiler=function(e){return Ye(e)===Us};Q.isStrictMode=function(e){return Ye(e)===zs};Q.isSuspense=function(e){return Ye(e)===Ws};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===js||e===Gs||e===Us||e===zs||e===Ws||e===$E||typeof e=="object"&&e!==null&&(e.$$typeof===Xs||e.$$typeof===qs||e.$$typeof===$s||e.$$typeof===Hs||e.$$typeof===Vs||e.$$typeof===GE||e.$$typeof===VE||e.$$typeof===WE||e.$$typeof===HE)};Q.typeOf=Ye;jg.exports=Q;var qE=jg.exports,Ug=qE,XE={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},QE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$g={};$g[Ug.ForwardRef]=XE;$g[Ug.Memo]=QE;function Hg(e,t,n){if(n===void 0&&(n=Error),!e)throw new n(t)}var j;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(j||(j={}));var J;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(J||(J={}));var Rr;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Rr||(Rr={}));function qd(e){return e.type===J.literal}function KE(e){return e.type===J.argument}function Gg(e){return e.type===J.number}function Vg(e){return e.type===J.date}function Wg(e){return e.type===J.time}function qg(e){return e.type===J.select}function Xg(e){return e.type===J.plural}function YE(e){return e.type===J.pound}function Qg(e){return e.type===J.tag}function Kg(e){return!!(e&&typeof e=="object"&&e.type===Rr.number)}function Zl(e){return!!(e&&typeof e=="object"&&e.type===Rr.dateTime)}var Yg=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ZE=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function JE(e){var t={};return e.replace(ZE,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var eS=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function tS(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(eS).filter(function(y){return y.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],l=s.slice(1),u=0,c=l;u<c.length;u++){var g=c[u];if(g.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:l})}return n}function nS(e){return e.replace(/^(.*?)-/,"")}var Xd=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Zg=/^(@+)?(\+|#+)?[rs]?$/g,rS=/(\*)(0+)|(#+)(0+)|(0+)/g,Jg=/^(0+)$/;function Qd(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Zg,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function ey(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function iS(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Jg.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Kd(e){var t={},n=ey(e);return n||t}function oS(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=nS(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=A(A(A({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return A(A({},l),Kd(u))},{}));continue;case"engineering":t=A(A(A({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return A(A({},l),Kd(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(rS,function(l,u,c,g,y,f){if(u)t.minimumIntegerDigits=c.length;else{if(g&&y)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Jg.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Xd.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Xd,function(l,u,c,g,y,f){return c==="*"?t.minimumFractionDigits=u.length:g&&g[0]==="#"?t.maximumFractionDigits=g.length:y&&f?(t.minimumFractionDigits=y.length,t.maximumFractionDigits=y.length+f.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=A(A({},t),Qd(o)));continue}if(Zg.test(i.stem)){t=A(A({},t),Qd(i.stem));continue}var s=ey(i.stem);s&&(t=A(A({},t),s));var a=iS(i.stem);a&&(t=A(A({},t),a))}return t}var fo={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function sS(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(o&1),a=o<2?1:3+(o>>1),l="a",u=aS(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)n+=l;for(;s-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function aS(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=fo[r||""]||fo[n||""]||fo["".concat(n,"-001")]||fo["001"];return i[0]}var Ba,lS=new RegExp("^".concat(Yg.source,"*")),uS=new RegExp("".concat(Yg.source,"*$"));function $(e,t){return{start:e,end:t}}var cS=!!String.prototype.startsWith&&"_a".startsWith("a",1),fS=!!String.fromCodePoint,dS=!!Object.fromEntries,hS=!!String.prototype.codePointAt,pS=!!String.prototype.trimStart,mS=!!String.prototype.trimEnd,gS=!!Number.isSafeInteger,yS=gS?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Jl=!0;try{var vS=ny("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Jl=((Ba=vS.exec("a"))===null||Ba===void 0?void 0:Ba[0])==="a"}catch{Jl=!1}var Yd=cS?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},eu=fS?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Zd=dS?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],s=o[0],a=o[1];n[s]=a}return n},ty=hS?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},_S=pS?function(t){return t.trimStart()}:function(t){return t.replace(lS,"")},ES=mS?function(t){return t.trimEnd()}:function(t){return t.replace(uS,"")};function ny(e,t){return new RegExp(e,t)}var tu;if(Jl){var Jd=ny("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");tu=function(t,n){var r;Jd.lastIndex=n;var i=Jd.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else tu=function(t,n){for(var r=[];;){var i=ty(t,n);if(i===void 0||ry(i)||xS(i))break;r.push(i),n+=i>=65536?2:1}return eu.apply(void 0,r)};var SS=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:J.pound,location:$(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(j.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&nu(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(i,"/>"),location:$(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!nu(this.char()))return this.error(j.INVALID_TAG,$(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(j.UNMATCHED_CLOSING_TAG,$(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:i,children:s,location:$(r,this.clonePosition())},err:null}:this.error(j.INVALID_TAG,$(a,this.clonePosition())))}else return this.error(j.UNCLOSED_TAG,$(r,this.clonePosition()))}else return this.error(j.INVALID_TAG,$(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&bS(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=$(r,this.clonePosition());return{val:{type:J.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!wS(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return eu.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),eu(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(j.EMPTY_ARGUMENT,$(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(j.MALFORMED_ARGUMENT,$(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:i,location:$(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(j.MALFORMED_ARGUMENT,$(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=tu(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=$(t,o);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(j.EXPECT_ARGUMENT_TYPE,$(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),g=this.parseSimpleArgStyleIfPossible();if(g.err)return g;var y=ES(g.val);if(y.length===0)return this.error(j.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));var f=$(c,this.clonePosition());u={style:y,styleLocation:f}}var v=this.tryParseArgumentClose(i);if(v.err)return v;var p=$(i,this.clonePosition());if(u&&Yd(u==null?void 0:u.style,"::",0)){var S=_S(u.style.slice(2));if(a==="number"){var g=this.parseNumberSkeletonFromString(S,u.styleLocation);return g.err?g:{val:{type:J.number,value:r,location:p,style:g.val},err:null}}else{if(S.length===0)return this.error(j.EXPECT_DATE_TIME_SKELETON,p);var h=S;this.locale&&(h=sS(S,this.locale));var y={type:Rr.dateTime,pattern:h,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?JE(h):{}},d=a==="date"?J.date:J.time;return{val:{type:d,value:r,location:p,style:y},err:null}}}return{val:{type:a==="number"?J.number:a==="date"?J.date:J.time,value:r,location:p,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(j.EXPECT_SELECT_ARGUMENT_OPTIONS,$(m,A({},m)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),w=0;if(a!=="select"&&E.value==="offset"){if(!this.bumpIf(":"))return this.error(j.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();var g=this.tryParseDecimalInteger(j.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,j.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(g.err)return g;this.bumpSpace(),E=this.parseIdentifierIfPossible(),w=g.val}var b=this.tryParsePluralOrSelectOptions(t,a,n,E);if(b.err)return b;var v=this.tryParseArgumentClose(i);if(v.err)return v;var x=$(i,this.clonePosition());return a==="select"?{val:{type:J.select,value:r,options:Zd(b.val),location:x},err:null}:{val:{type:J.plural,value:r,options:Zd(b.val),offset:w,pluralType:a==="plural"?"cardinal":"ordinal",location:x},err:null}}default:return this.error(j.INVALID_ARGUMENT_TYPE,$(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,$(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(j.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=tS(t)}catch{return this.error(j.INVALID_NUMBER_SKELETON,n)}return{val:{type:Rr.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?oS(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,s=!1,a=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var g=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var y=this.tryParseDecimalInteger(j.EXPECT_PLURAL_ARGUMENT_SELECTOR,j.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err)return y;c=$(g,this.clonePosition()),u=this.message.slice(g.offset,this.offset())}else break}if(l.has(u))return this.error(n==="select"?j.DUPLICATE_SELECT_ARGUMENT_SELECTOR:j.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?j.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:j.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,n,r);if(v.err)return v;var p=this.tryParseArgumentClose(f);if(p.err)return p;a.push([u,{value:v.val,location:$(f,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return a.length===0?this.error(n==="select"?j.EXPECT_SELECT_ARGUMENT_SELECTOR:j.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(j.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var l=$(i,this.clonePosition());return o?(s*=r,yS(s)?{val:s,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=ty(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Yd(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ry(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function nu(e){return e>=97&&e<=122||e>=65&&e<=90}function wS(e){return nu(e)||e===47}function bS(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function ry(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function xS(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function ru(e){e.forEach(function(t){if(delete t.location,qg(t)||Xg(t))for(var n in t.options)delete t.options[n].location,ru(t.options[n].value);else Gg(t)&&Kg(t.style)||(Vg(t)||Wg(t))&&Zl(t.style)?delete t.style.location:Qg(t)&&ru(t.children)})}function TS(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new SS(e,t).parse();if(n.err){var r=SyntaxError(j[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||ru(n.val),n.val}function Rt(e,t){var n=t&&t.cache?t.cache:AS,r=t&&t.serializer?t.serializer:NS,i=t&&t.strategy?t.strategy:kS;return i(e,{cache:n,serializer:r})}function CS(e){return e==null||typeof e=="number"||typeof e=="boolean"}function iy(e,t,n,r){var i=CS(r)?r:n(r),o=t.get(i);return typeof o>"u"&&(o=e.call(this,r),t.set(i,o)),o}function oy(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,r),t.set(i,o)),o}function Rc(e,t,n,r,i){return n.bind(t,e,r,i)}function kS(e,t){var n=e.length===1?iy:oy;return Rc(e,this,n,t.cache.create(),t.serializer)}function OS(e,t){return Rc(e,this,oy,t.cache.create(),t.serializer)}function RS(e,t){return Rc(e,this,iy,t.cache.create(),t.serializer)}var NS=function(){return JSON.stringify(arguments)};function Nc(){this.cache=Object.create(null)}Nc.prototype.get=function(e){return this.cache[e]};Nc.prototype.set=function(e,t){this.cache[e]=t};var AS={create:function(){return new Nc}},Nt={variadic:OS,monadic:RS},Bt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Bt||(Bt={}));var Tn=function(e){at(t,e);function t(n,r,i){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),eh=function(e){at(t,e);function t(n,r,i,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Bt.INVALID_VALUE,o)||this}return t}(Tn),PS=function(e){at(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Bt.INVALID_VALUE,i)||this}return t}(Tn),IS=function(e){at(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Bt.MISSING_VALUE,r)||this}return t}(Tn),Ne;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Ne||(Ne={}));function DS(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==Ne.literal||n.type!==Ne.literal?t.push(n):r.value+=n.value,t},[])}function sy(e){return typeof e=="function"}function Mo(e,t,n,r,i,o,s){if(e.length===1&&qd(e[0]))return[{type:Ne.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(qd(c)){a.push({type:Ne.literal,value:c.value});continue}if(YE(c)){typeof o=="number"&&a.push({type:Ne.literal,value:n.getNumberFormat(t).format(o)});continue}var g=c.value;if(!(i&&g in i))throw new IS(g,s);var y=i[g];if(KE(c)){(!y||typeof y=="string"||typeof y=="number")&&(y=typeof y=="string"||typeof y=="number"?String(y):""),a.push({type:typeof y=="string"?Ne.literal:Ne.object,value:y});continue}if(Vg(c)){var f=typeof c.style=="string"?r.date[c.style]:Zl(c.style)?c.style.parsedOptions:void 0;a.push({type:Ne.literal,value:n.getDateTimeFormat(t,f).format(y)});continue}if(Wg(c)){var f=typeof c.style=="string"?r.time[c.style]:Zl(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:Ne.literal,value:n.getDateTimeFormat(t,f).format(y)});continue}if(Gg(c)){var f=typeof c.style=="string"?r.number[c.style]:Kg(c.style)?c.style.parsedOptions:void 0;f&&f.scale&&(y=y*(f.scale||1)),a.push({type:Ne.literal,value:n.getNumberFormat(t,f).format(y)});continue}if(Qg(c)){var v=c.children,p=c.value,S=i[p];if(!sy(S))throw new PS(p,"function",s);var h=Mo(v,t,n,r,i,o),d=S(h.map(function(w){return w.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(w){return{type:typeof w=="string"?Ne.literal:Ne.object,value:w}}))}if(qg(c)){var m=c.options[y]||c.options.other;if(!m)throw new eh(c.value,y,Object.keys(c.options),s);a.push.apply(a,Mo(m.value,t,n,r,i));continue}if(Xg(c)){var m=c.options["=".concat(y)];if(!m){if(!Intl.PluralRules)throw new Tn(`Intl.PluralRules is not available in this environment.
|
|
59
|
+
*/var ye=typeof Symbol=="function"&&Symbol.for,Cc=ye?Symbol.for("react.element"):60103,kc=ye?Symbol.for("react.portal"):60106,js=ye?Symbol.for("react.fragment"):60107,zs=ye?Symbol.for("react.strict_mode"):60108,Us=ye?Symbol.for("react.profiler"):60114,$s=ye?Symbol.for("react.provider"):60109,Hs=ye?Symbol.for("react.context"):60110,Oc=ye?Symbol.for("react.async_mode"):60111,Gs=ye?Symbol.for("react.concurrent_mode"):60111,Vs=ye?Symbol.for("react.forward_ref"):60112,Ws=ye?Symbol.for("react.suspense"):60113,$E=ye?Symbol.for("react.suspense_list"):60120,qs=ye?Symbol.for("react.memo"):60115,Xs=ye?Symbol.for("react.lazy"):60116,HE=ye?Symbol.for("react.block"):60121,GE=ye?Symbol.for("react.fundamental"):60117,VE=ye?Symbol.for("react.responder"):60118,WE=ye?Symbol.for("react.scope"):60119;function Ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Cc:switch(e=e.type,e){case Oc:case Gs:case js:case Us:case zs:case Ws:return e;default:switch(e=e&&e.$$typeof,e){case Hs:case Vs:case Xs:case qs:case $s:return e;default:return t}}case kc:return t}}}function Ug(e){return Ye(e)===Gs}Q.AsyncMode=Oc;Q.ConcurrentMode=Gs;Q.ContextConsumer=Hs;Q.ContextProvider=$s;Q.Element=Cc;Q.ForwardRef=Vs;Q.Fragment=js;Q.Lazy=Xs;Q.Memo=qs;Q.Portal=kc;Q.Profiler=Us;Q.StrictMode=zs;Q.Suspense=Ws;Q.isAsyncMode=function(e){return Ug(e)||Ye(e)===Oc};Q.isConcurrentMode=Ug;Q.isContextConsumer=function(e){return Ye(e)===Hs};Q.isContextProvider=function(e){return Ye(e)===$s};Q.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Cc};Q.isForwardRef=function(e){return Ye(e)===Vs};Q.isFragment=function(e){return Ye(e)===js};Q.isLazy=function(e){return Ye(e)===Xs};Q.isMemo=function(e){return Ye(e)===qs};Q.isPortal=function(e){return Ye(e)===kc};Q.isProfiler=function(e){return Ye(e)===Us};Q.isStrictMode=function(e){return Ye(e)===zs};Q.isSuspense=function(e){return Ye(e)===Ws};Q.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===js||e===Gs||e===Us||e===zs||e===Ws||e===$E||typeof e=="object"&&e!==null&&(e.$$typeof===Xs||e.$$typeof===qs||e.$$typeof===$s||e.$$typeof===Hs||e.$$typeof===Vs||e.$$typeof===GE||e.$$typeof===VE||e.$$typeof===WE||e.$$typeof===HE)};Q.typeOf=Ye;zg.exports=Q;var qE=zg.exports,$g=qE,XE={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},QE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Hg={};Hg[$g.ForwardRef]=XE;Hg[$g.Memo]=QE;function Gg(e,t,n){if(n===void 0&&(n=Error),!e)throw new n(t)}var j;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(j||(j={}));var J;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(J||(J={}));var Rr;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Rr||(Rr={}));function Xd(e){return e.type===J.literal}function KE(e){return e.type===J.argument}function Vg(e){return e.type===J.number}function Wg(e){return e.type===J.date}function qg(e){return e.type===J.time}function Xg(e){return e.type===J.select}function Qg(e){return e.type===J.plural}function YE(e){return e.type===J.pound}function Kg(e){return e.type===J.tag}function Yg(e){return!!(e&&typeof e=="object"&&e.type===Rr.number)}function Zl(e){return!!(e&&typeof e=="object"&&e.type===Rr.dateTime)}var Zg=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ZE=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function JE(e){var t={};return e.replace(ZE,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var eS=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function tS(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(eS).filter(function(y){return y.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],l=s.slice(1),u=0,c=l;u<c.length;u++){var g=c[u];if(g.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:l})}return n}function nS(e){return e.replace(/^(.*?)-/,"")}var Qd=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Jg=/^(@+)?(\+|#+)?[rs]?$/g,rS=/(\*)(0+)|(#+)(0+)|(0+)/g,ey=/^(0+)$/;function Kd(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Jg,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function ty(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function iS(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!ey.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Yd(e){var t={},n=ty(e);return n||t}function oS(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=nS(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=A(A(A({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return A(A({},l),Yd(u))},{}));continue;case"engineering":t=A(A(A({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return A(A({},l),Yd(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(rS,function(l,u,c,g,y,f){if(u)t.minimumIntegerDigits=c.length;else{if(g&&y)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ey.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Qd.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Qd,function(l,u,c,g,y,f){return c==="*"?t.minimumFractionDigits=u.length:g&&g[0]==="#"?t.maximumFractionDigits=g.length:y&&f?(t.minimumFractionDigits=y.length,t.maximumFractionDigits=y.length+f.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=A(A({},t),Kd(o)));continue}if(Jg.test(i.stem)){t=A(A({},t),Kd(i.stem));continue}var s=ty(i.stem);s&&(t=A(A({},t),s));var a=iS(i.stem);a&&(t=A(A({},t),a))}return t}var fo={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function sS(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(o&1),a=o<2?1:3+(o>>1),l="a",u=aS(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)n+=l;for(;s-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function aS(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=fo[r||""]||fo[n||""]||fo["".concat(n,"-001")]||fo["001"];return i[0]}var Ba,lS=new RegExp("^".concat(Zg.source,"*")),uS=new RegExp("".concat(Zg.source,"*$"));function $(e,t){return{start:e,end:t}}var cS=!!String.prototype.startsWith&&"_a".startsWith("a",1),fS=!!String.fromCodePoint,dS=!!Object.fromEntries,hS=!!String.prototype.codePointAt,pS=!!String.prototype.trimStart,mS=!!String.prototype.trimEnd,gS=!!Number.isSafeInteger,yS=gS?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Jl=!0;try{var vS=ry("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Jl=((Ba=vS.exec("a"))===null||Ba===void 0?void 0:Ba[0])==="a"}catch{Jl=!1}var Zd=cS?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},eu=fS?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Jd=dS?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],s=o[0],a=o[1];n[s]=a}return n},ny=hS?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},_S=pS?function(t){return t.trimStart()}:function(t){return t.replace(lS,"")},ES=mS?function(t){return t.trimEnd()}:function(t){return t.replace(uS,"")};function ry(e,t){return new RegExp(e,t)}var tu;if(Jl){var eh=ry("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");tu=function(t,n){var r;eh.lastIndex=n;var i=eh.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else tu=function(t,n){for(var r=[];;){var i=ny(t,n);if(i===void 0||iy(i)||xS(i))break;r.push(i),n+=i>=65536?2:1}return eu.apply(void 0,r)};var SS=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:J.pound,location:$(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(j.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&nu(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(i,"/>"),location:$(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!nu(this.char()))return this.error(j.INVALID_TAG,$(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(j.UNMATCHED_CLOSING_TAG,$(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:i,children:s,location:$(r,this.clonePosition())},err:null}:this.error(j.INVALID_TAG,$(a,this.clonePosition())))}else return this.error(j.UNCLOSED_TAG,$(r,this.clonePosition()))}else return this.error(j.INVALID_TAG,$(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&bS(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=$(r,this.clonePosition());return{val:{type:J.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!wS(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return eu.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),eu(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(j.EMPTY_ARGUMENT,$(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(j.MALFORMED_ARGUMENT,$(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:i,location:$(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,$(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(j.MALFORMED_ARGUMENT,$(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=tu(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=$(t,o);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(j.EXPECT_ARGUMENT_TYPE,$(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),g=this.parseSimpleArgStyleIfPossible();if(g.err)return g;var y=ES(g.val);if(y.length===0)return this.error(j.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));var f=$(c,this.clonePosition());u={style:y,styleLocation:f}}var v=this.tryParseArgumentClose(i);if(v.err)return v;var p=$(i,this.clonePosition());if(u&&Zd(u==null?void 0:u.style,"::",0)){var S=_S(u.style.slice(2));if(a==="number"){var g=this.parseNumberSkeletonFromString(S,u.styleLocation);return g.err?g:{val:{type:J.number,value:r,location:p,style:g.val},err:null}}else{if(S.length===0)return this.error(j.EXPECT_DATE_TIME_SKELETON,p);var h=S;this.locale&&(h=sS(S,this.locale));var y={type:Rr.dateTime,pattern:h,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?JE(h):{}},d=a==="date"?J.date:J.time;return{val:{type:d,value:r,location:p,style:y},err:null}}}return{val:{type:a==="number"?J.number:a==="date"?J.date:J.time,value:r,location:p,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(j.EXPECT_SELECT_ARGUMENT_OPTIONS,$(m,A({},m)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),w=0;if(a!=="select"&&E.value==="offset"){if(!this.bumpIf(":"))return this.error(j.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();var g=this.tryParseDecimalInteger(j.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,j.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(g.err)return g;this.bumpSpace(),E=this.parseIdentifierIfPossible(),w=g.val}var b=this.tryParsePluralOrSelectOptions(t,a,n,E);if(b.err)return b;var v=this.tryParseArgumentClose(i);if(v.err)return v;var x=$(i,this.clonePosition());return a==="select"?{val:{type:J.select,value:r,options:Jd(b.val),location:x},err:null}:{val:{type:J.plural,value:r,options:Jd(b.val),offset:w,pluralType:a==="plural"?"cardinal":"ordinal",location:x},err:null}}default:return this.error(j.INVALID_ARGUMENT_TYPE,$(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,$(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(j.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=tS(t)}catch{return this.error(j.INVALID_NUMBER_SKELETON,n)}return{val:{type:Rr.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?oS(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,s=!1,a=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var g=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var y=this.tryParseDecimalInteger(j.EXPECT_PLURAL_ARGUMENT_SELECTOR,j.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err)return y;c=$(g,this.clonePosition()),u=this.message.slice(g.offset,this.offset())}else break}if(l.has(u))return this.error(n==="select"?j.DUPLICATE_SELECT_ARGUMENT_SELECTOR:j.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?j.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:j.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,n,r);if(v.err)return v;var p=this.tryParseArgumentClose(f);if(p.err)return p;a.push([u,{value:v.val,location:$(f,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return a.length===0?this.error(n==="select"?j.EXPECT_SELECT_ARGUMENT_SELECTOR:j.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(j.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var l=$(i,this.clonePosition());return o?(s*=r,yS(s)?{val:s,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=ny(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Zd(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&iy(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function nu(e){return e>=97&&e<=122||e>=65&&e<=90}function wS(e){return nu(e)||e===47}function bS(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function iy(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function xS(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function ru(e){e.forEach(function(t){if(delete t.location,Xg(t)||Qg(t))for(var n in t.options)delete t.options[n].location,ru(t.options[n].value);else Vg(t)&&Yg(t.style)||(Wg(t)||qg(t))&&Zl(t.style)?delete t.style.location:Kg(t)&&ru(t.children)})}function TS(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new SS(e,t).parse();if(n.err){var r=SyntaxError(j[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||ru(n.val),n.val}function Rt(e,t){var n=t&&t.cache?t.cache:AS,r=t&&t.serializer?t.serializer:NS,i=t&&t.strategy?t.strategy:kS;return i(e,{cache:n,serializer:r})}function CS(e){return e==null||typeof e=="number"||typeof e=="boolean"}function oy(e,t,n,r){var i=CS(r)?r:n(r),o=t.get(i);return typeof o>"u"&&(o=e.call(this,r),t.set(i,o)),o}function sy(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,r),t.set(i,o)),o}function Rc(e,t,n,r,i){return n.bind(t,e,r,i)}function kS(e,t){var n=e.length===1?oy:sy;return Rc(e,this,n,t.cache.create(),t.serializer)}function OS(e,t){return Rc(e,this,sy,t.cache.create(),t.serializer)}function RS(e,t){return Rc(e,this,oy,t.cache.create(),t.serializer)}var NS=function(){return JSON.stringify(arguments)};function Nc(){this.cache=Object.create(null)}Nc.prototype.get=function(e){return this.cache[e]};Nc.prototype.set=function(e,t){this.cache[e]=t};var AS={create:function(){return new Nc}},Nt={variadic:OS,monadic:RS},Bt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Bt||(Bt={}));var Tn=function(e){at(t,e);function t(n,r,i){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),th=function(e){at(t,e);function t(n,r,i,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Bt.INVALID_VALUE,o)||this}return t}(Tn),PS=function(e){at(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Bt.INVALID_VALUE,i)||this}return t}(Tn),IS=function(e){at(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Bt.MISSING_VALUE,r)||this}return t}(Tn),Ne;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Ne||(Ne={}));function DS(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==Ne.literal||n.type!==Ne.literal?t.push(n):r.value+=n.value,t},[])}function ay(e){return typeof e=="function"}function Mo(e,t,n,r,i,o,s){if(e.length===1&&Xd(e[0]))return[{type:Ne.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Xd(c)){a.push({type:Ne.literal,value:c.value});continue}if(YE(c)){typeof o=="number"&&a.push({type:Ne.literal,value:n.getNumberFormat(t).format(o)});continue}var g=c.value;if(!(i&&g in i))throw new IS(g,s);var y=i[g];if(KE(c)){(!y||typeof y=="string"||typeof y=="number")&&(y=typeof y=="string"||typeof y=="number"?String(y):""),a.push({type:typeof y=="string"?Ne.literal:Ne.object,value:y});continue}if(Wg(c)){var f=typeof c.style=="string"?r.date[c.style]:Zl(c.style)?c.style.parsedOptions:void 0;a.push({type:Ne.literal,value:n.getDateTimeFormat(t,f).format(y)});continue}if(qg(c)){var f=typeof c.style=="string"?r.time[c.style]:Zl(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:Ne.literal,value:n.getDateTimeFormat(t,f).format(y)});continue}if(Vg(c)){var f=typeof c.style=="string"?r.number[c.style]:Yg(c.style)?c.style.parsedOptions:void 0;f&&f.scale&&(y=y*(f.scale||1)),a.push({type:Ne.literal,value:n.getNumberFormat(t,f).format(y)});continue}if(Kg(c)){var v=c.children,p=c.value,S=i[p];if(!ay(S))throw new PS(p,"function",s);var h=Mo(v,t,n,r,i,o),d=S(h.map(function(w){return w.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(w){return{type:typeof w=="string"?Ne.literal:Ne.object,value:w}}))}if(Xg(c)){var m=c.options[y]||c.options.other;if(!m)throw new th(c.value,y,Object.keys(c.options),s);a.push.apply(a,Mo(m.value,t,n,r,i));continue}if(Qg(c)){var m=c.options["=".concat(y)];if(!m){if(!Intl.PluralRules)throw new Tn(`Intl.PluralRules is not available in this environment.
|
|
60
60
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
61
|
-
`,Bt.MISSING_INTL_API,s);var E=n.getPluralRules(t,{type:c.pluralType}).select(y-(c.offset||0));m=c.options[E]||c.options.other}if(!m)throw new
|
|
61
|
+
`,Bt.MISSING_INTL_API,s);var E=n.getPluralRules(t,{type:c.pluralType}).select(y-(c.offset||0));m=c.options[E]||c.options.other}if(!m)throw new th(c.value,y,Object.keys(c.options),s);a.push.apply(a,Mo(m.value,t,n,r,i,y-(c.offset||0)));continue}}return DS(a)}function MS(e,t){return t?A(A(A({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=A(A({},e[r]),t[r]||{}),n},{})):e}function FS(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=MS(e[r],t[r]),n},A({},e)):e}function La(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function BS(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Rt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,At([void 0],n,!1)))},{cache:La(e.number),strategy:Nt.variadic}),getDateTimeFormat:Rt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,At([void 0],n,!1)))},{cache:La(e.dateTime),strategy:Nt.variadic}),getPluralRules:Rt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,At([void 0],n,!1)))},{cache:La(e.pluralRules),strategy:Nt.variadic})}}var ly=function(){function e(t,n,r,i){var o=this;if(n===void 0&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(g,y){return!g.length||y.type!==Ne.literal||typeof g[g.length-1]!="string"?g.push(y.value):g[g.length-1]+=y.value,g},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Mo(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=Ls(s,["formatters"]);this.ast=e.__parse(t,A(A({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=FS(e.formats,r),this.formatters=i&&i.formatters||BS(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=TS,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Wn;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(Wn||(Wn={}));var Gi=function(e){at(t,e);function t(n,r,i){var o=this,s=i?i instanceof Error?i:new Error(String(i)):void 0;return o=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,`
|
|
62
62
|
`).concat(s?`
|
|
63
63
|
`.concat(s.message,`
|
|
64
|
-
`).concat(s.stack):""))||this,o.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o,t),o}return t}(Error),LS=function(e){at(t,e);function t(n,r){return e.call(this,Wn.UNSUPPORTED_FORMATTER,n,r)||this}return t}(Gi),jS=function(e){at(t,e);function t(n,r){return e.call(this,Wn.INVALID_CONFIG,n,r)||this}return t}(Gi),
|
|
64
|
+
`).concat(s.stack):""))||this,o.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o,t),o}return t}(Error),LS=function(e){at(t,e);function t(n,r){return e.call(this,Wn.UNSUPPORTED_FORMATTER,n,r)||this}return t}(Gi),jS=function(e){at(t,e);function t(n,r){return e.call(this,Wn.INVALID_CONFIG,n,r)||this}return t}(Gi),nh=function(e){at(t,e);function t(n,r){return e.call(this,Wn.MISSING_DATA,n,r)||this}return t}(Gi),lt=function(e){at(t,e);function t(n,r,i){var o=e.call(this,Wn.FORMAT_ERROR,"".concat(n,`
|
|
65
65
|
Locale: `).concat(r,`
|
|
66
66
|
`),i)||this;return o.locale=r,o}return t}(Gi),ja=function(e){at(t,e);function t(n,r,i,o){var s=e.call(this,"".concat(n,`
|
|
67
67
|
MessageID: `).concat(i==null?void 0:i.id,`
|
|
68
68
|
Default Message: `).concat(i==null?void 0:i.defaultMessage,`
|
|
69
69
|
Description: `).concat(i==null?void 0:i.description,`
|
|
70
|
-
`),r,o)||this;return s.descriptor=i,s.locale=r,s}return t}(lt),zS=function(e){at(t,e);function t(n,r){var i=e.call(this,Wn.MISSING_TRANSLATION,'Missing message: "'.concat(n.id,'" for locale "').concat(r,'", using ').concat(n.defaultMessage?"default message (".concat(typeof n.defaultMessage=="string"?n.defaultMessage:n.defaultMessage.map(function(o){var s;return(s=o.value)!==null&&s!==void 0?s:JSON.stringify(o)}).join(),")"):"id"," as fallback."))||this;return i.descriptor=n,i}return t}(Gi);function Kn(e,t,n){return n===void 0&&(n={}),t.reduce(function(r,i){return i in e?r[i]=e[i]:i in n&&(r[i]=n[i]),r},{})}var US=function(e){},$S=function(e){},
|
|
70
|
+
`),r,o)||this;return s.descriptor=i,s.locale=r,s}return t}(lt),zS=function(e){at(t,e);function t(n,r){var i=e.call(this,Wn.MISSING_TRANSLATION,'Missing message: "'.concat(n.id,'" for locale "').concat(r,'", using ').concat(n.defaultMessage?"default message (".concat(typeof n.defaultMessage=="string"?n.defaultMessage:n.defaultMessage.map(function(o){var s;return(s=o.value)!==null&&s!==void 0?s:JSON.stringify(o)}).join(),")"):"id"," as fallback."))||this;return i.descriptor=n,i}return t}(Gi);function Kn(e,t,n){return n===void 0&&(n={}),t.reduce(function(r,i){return i in e?r[i]=e[i]:i in n&&(r[i]=n[i]),r},{})}var US=function(e){},$S=function(e){},uy={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:US,onWarn:$S};function cy(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Nn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function HS(e){e===void 0&&(e=cy());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,i=Rt(function(){for(var a,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((a=Intl.DateTimeFormat).bind.apply(a,At([void 0],l,!1)))},{cache:Nn(e.dateTime),strategy:Nt.variadic}),o=Rt(function(){for(var a,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((a=Intl.NumberFormat).bind.apply(a,At([void 0],l,!1)))},{cache:Nn(e.number),strategy:Nt.variadic}),s=Rt(function(){for(var a,l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return new((a=Intl.PluralRules).bind.apply(a,At([void 0],l,!1)))},{cache:Nn(e.pluralRules),strategy:Nt.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:Rt(function(a,l,u,c){return new ly(a,l,u,A({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:s}},c||{}))},{cache:Nn(e.message),strategy:Nt.variadic}),getRelativeTimeFormat:Rt(function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return new(t.bind.apply(t,At([void 0],a,!1)))},{cache:Nn(e.relativeTime),strategy:Nt.variadic}),getPluralRules:s,getListFormat:Rt(function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return new(n.bind.apply(n,At([void 0],a,!1)))},{cache:Nn(e.list),strategy:Nt.variadic}),getDisplayNames:Rt(function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return new(r.bind.apply(r,At([void 0],a,!1)))},{cache:Nn(e.displayNames),strategy:Nt.variadic})}}function Ac(e,t,n,r){var i=e&&e[t],o;if(i&&(o=i[n]),o)return o;r(new LS("No ".concat(t," format named: ").concat(n)))}function ho(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=A({timeZone:t},e[r]),n},{})}function rh(e,t){var n=Object.keys(A(A({},e),t));return n.reduce(function(r,i){return r[i]=A(A({},e[i]||{}),t[i]||{}),r},{})}function ih(e,t){if(!t)return e;var n=ly.formats;return A(A(A({},n),e),{date:rh(ho(n.date,t),ho(e.date||{},t)),time:rh(ho(n.time,t),ho(e.time||{},t))})}var iu=function(e,t,n,r,i){var o=e.locale,s=e.formats,a=e.messages,l=e.defaultLocale,u=e.defaultFormats,c=e.fallbackOnEmptyString,g=e.onError,y=e.timeZone,f=e.defaultRichTextElements;n===void 0&&(n={id:""});var v=n.id,p=n.defaultMessage;Gg(!!v,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var S=String(v),h=a&&Object.prototype.hasOwnProperty.call(a,S)&&a[S];if(Array.isArray(h)&&h.length===1&&h[0].type===J.literal)return h[0].value;if(!r&&h&&typeof h=="string"&&!f)return h.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=A(A({},f),r||{}),s=ih(s,y),u=ih(u,y),!h){if(c===!1&&h==="")return h;if((!p||o&&o.toLowerCase()!==l.toLowerCase())&&g(new zS(n,o)),p)try{var d=t.getMessageFormat(p,l,u,i);return d.format(r)}catch(m){return g(new ja('Error formatting default message for: "'.concat(S,'", rendering default message verbatim'),o,n,m)),typeof p=="string"?p:S}return S}try{var d=t.getMessageFormat(h,o,s,A({formatters:t},i||{}));return d.format(r)}catch(m){g(new ja('Error formatting message: "'.concat(S,'", using ').concat(p?"default message":"id"," as fallback."),o,n,m))}if(p)try{var d=t.getMessageFormat(p,l,u,i);return d.format(r)}catch(m){g(new ja('Error formatting the default message for: "'.concat(S,'", rendering message verbatim'),o,n,m))}return typeof h=="string"?h:typeof p=="string"?p:S},fy=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function Qs(e,t,n,r){var i=e.locale,o=e.formats,s=e.onError,a=e.timeZone;r===void 0&&(r={});var l=r.format,u=A(A({},a&&{timeZone:a}),l&&Ac(o,t,l,s)),c=Kn(r,fy,u);return t==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle&&(c=A(A({},c),{hour:"numeric",minute:"numeric"})),n(i,c)}function GS(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],s=o===void 0?{}:o,a=typeof i=="string"?new Date(i||0):i;try{return Qs(e,"date",t,s).format(a)}catch(l){e.onError(new lt("Error formatting date.",e.locale,l))}return String(a)}function VS(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],s=o===void 0?{}:o,a=typeof i=="string"?new Date(i||0):i;try{return Qs(e,"time",t,s).format(a)}catch(l){e.onError(new lt("Error formatting time.",e.locale,l))}return String(a)}function WS(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],s=n[2],a=s===void 0?{}:s,l=e.timeZone,u=e.locale,c=e.onError,g=Kn(a,fy,l?{timeZone:l}:{});try{return t(u,g).formatRange(i,o)}catch(y){c(new lt("Error formatting date time range.",e.locale,y))}return String(i)}function qS(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],s=o===void 0?{}:o,a=typeof i=="string"?new Date(i||0):i;try{return Qs(e,"date",t,s).formatToParts(a)}catch(l){e.onError(new lt("Error formatting date.",e.locale,l))}return[]}function XS(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],s=o===void 0?{}:o,a=typeof i=="string"?new Date(i||0):i;try{return Qs(e,"time",t,s).formatToParts(a)}catch(l){e.onError(new lt("Error formatting time.",e.locale,l))}return[]}var QS=["style","type","fallback","languageDisplay"];function KS(e,t,n,r){var i=e.locale,o=e.onError,s=Intl.DisplayNames;s||o(new Tn(`Intl.DisplayNames is not available in this environment.
|
|
71
71
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
72
|
-
`,Bt.MISSING_INTL_API));var a=Kn(r,QS);try{return t(i,a).of(n)}catch(l){o(new lt("Error formatting display name.",i,l))}}var YS=["type","style"],
|
|
72
|
+
`,Bt.MISSING_INTL_API));var a=Kn(r,QS);try{return t(i,a).of(n)}catch(l){o(new lt("Error formatting display name.",i,l))}}var YS=["type","style"],oh=Date.now();function ZS(e){return"".concat(oh,"_").concat(e,"_").concat(oh)}function JS(e,t,n,r){r===void 0&&(r={});var i=dy(e,t,n,r).reduce(function(o,s){var a=s.value;return typeof a!="string"?o.push(a):typeof o[o.length-1]=="string"?o[o.length-1]+=a:o.push(a),o},[]);return i.length===1?i[0]:i.length===0?"":i}function dy(e,t,n,r){var i=e.locale,o=e.onError;r===void 0&&(r={});var s=Intl.ListFormat;s||o(new Tn(`Intl.ListFormat is not available in this environment.
|
|
73
73
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
74
74
|
`,Bt.MISSING_INTL_API));var a=Kn(r,YS);try{var l={},u=n.map(function(c,g){if(typeof c=="object"){var y=ZS(g);return l[y]=c,y}return String(c)});return t(i,a).formatToParts(u).map(function(c){return c.type==="literal"?c:A(A({},c),{value:l[c.value]||c.value})})}catch(c){o(new lt("Error formatting list.",i,c))}return n}var ew=["type"];function tw(e,t,n,r){var i=e.locale,o=e.onError;r===void 0&&(r={}),Intl.PluralRules||o(new Tn(`Intl.PluralRules is not available in this environment.
|
|
75
75
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
76
76
|
`,Bt.MISSING_INTL_API));var s=Kn(r,ew);try{return t(i,s).select(n)}catch(a){o(new lt("Error formatting plural.",i,a))}return"other"}var nw=["numeric","style"];function rw(e,t,n){var r=e.locale,i=e.formats,o=e.onError;n===void 0&&(n={});var s=n.format,a=!!s&&Ac(i,"relative",s,o)||{},l=Kn(n,nw,a);return t(r,l)}function iw(e,t,n,r,i){i===void 0&&(i={}),r||(r="second");var o=Intl.RelativeTimeFormat;o||e.onError(new Tn(`Intl.RelativeTimeFormat is not available in this environment.
|
|
77
77
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
78
|
-
`,Bt.MISSING_INTL_API));try{return rw(e,t,i).format(n,r)}catch(s){e.onError(new lt("Error formatting relative time.",e.locale,s))}return String(n)}var ow=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function
|
|
78
|
+
`,Bt.MISSING_INTL_API));try{return rw(e,t,i).format(n,r)}catch(s){e.onError(new lt("Error formatting relative time.",e.locale,s))}return String(n)}var ow=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function hy(e,t,n){var r=e.locale,i=e.formats,o=e.onError;n===void 0&&(n={});var s=n.format,a=s&&Ac(i,"number",s,o)||{},l=Kn(n,ow,a);return t(r,l)}function sw(e,t,n,r){r===void 0&&(r={});try{return hy(e,t,r).format(n)}catch(i){e.onError(new lt("Error formatting number.",e.locale,i))}return String(n)}function aw(e,t,n,r){r===void 0&&(r={});try{return hy(e,t,r).formatToParts(n)}catch(i){e.onError(new lt("Error formatting number.",e.locale,i))}return[]}function lw(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function uw(e){e.onWarn&&e.defaultRichTextElements&&lw(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
79
79
|
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
80
|
-
For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function cw(e,t){var n=HS(t),r=A(A({},
|
|
80
|
+
For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function cw(e,t){var n=HS(t),r=A(A({},uy),e),i=r.locale,o=r.defaultLocale,s=r.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&s?s(new nh('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&s&&s(new nh('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(s&&s(new jS('"locale" was not configured, using "'.concat(o,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),uw(r),A(A({},r),{formatters:n,formatNumber:sw.bind(null,r,n.getNumberFormat),formatNumberToParts:aw.bind(null,r,n.getNumberFormat),formatRelativeTime:iw.bind(null,r,n.getRelativeTimeFormat),formatDate:GS.bind(null,r,n.getDateTimeFormat),formatDateToParts:qS.bind(null,r,n.getDateTimeFormat),formatTime:VS.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:WS.bind(null,r,n.getDateTimeFormat),formatTimeToParts:XS.bind(null,r,n.getDateTimeFormat),formatPlural:tw.bind(null,r,n.getPluralRules),formatMessage:iu.bind(null,r,n),$t:iu.bind(null,r,n),formatList:JS.bind(null,r,n.getListFormat),formatListToParts:dy.bind(null,r,n.getListFormat),formatDisplayName:KS.bind(null,r,n.getDisplayNames)})}function py(e){Gg(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var my=A(A({},uy),{textComponent:N.Fragment});function fw(e){return function(t){return e(N.Children.toArray(t))}}function dw(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o<i;o++){var s=n[o];if(e[s]!==t[s]||!Object.prototype.hasOwnProperty.call(t,s))return!1}return!0}var Pc=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=N.createContext(null)):N.createContext(null);Pc.Consumer;var hw=Pc.Provider,pw=hw,mw=Pc;function Ks(){var e=N.useContext(mw);return py(e),e}var ou;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(ou||(ou={}));var su;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(su||(su={}));function gy(e){var t=function(n){var r=Ks(),i=n.value,o=n.children,s=Ls(n,["value","children"]),a=typeof i=="string"?new Date(i||0):i,l=e==="formatDate"?r.formatDateToParts(a,s):r.formatTimeToParts(a,s);return o(l)};return t.displayName=su[e],t}function Vi(e){var t=function(n){var r=Ks(),i=n.value,o=n.children,s=Ls(n,["value","children"]),a=r[e](i,s);if(typeof o=="function")return o(a);var l=r.textComponent||N.Fragment;return N.createElement(l,null,a)};return t.displayName=ou[e],t}function yy(e){return e&&Object.keys(e).reduce(function(t,n){var r=e[n];return t[n]=ay(r)?fw(r):r,t},{})}var sh=function(e,t,n,r){for(var i=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];var s=yy(r),a=iu.apply(void 0,At([e,t,n,s],i,!1));return Array.isArray(a)?N.Children.toArray(a):a},ah=function(e,t){var n=e.defaultRichTextElements,r=Ls(e,["defaultRichTextElements"]),i=yy(n),o=cw(A(A(A({},my),r),{defaultRichTextElements:i}),t),s={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:i};return A(A({},o),{formatMessage:sh.bind(null,s,o.formatters),$t:sh.bind(null,s,o.formatters)})};function za(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var gw=function(e){at(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.cache=cy(),n.state={cache:n.cache,intl:ah(za(n.props),n.cache),prevConfig:za(n.props)},n}return t.getDerivedStateFromProps=function(n,r){var i=r.prevConfig,o=r.cache,s=za(n);return dw(i,s)?null:{intl:ah(s,o),prevConfig:s}},t.prototype.render=function(){return py(this.state.intl),N.createElement(pw,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=my,t}(N.PureComponent);Vi("formatDate");Vi("formatTime");Vi("formatNumber");Vi("formatList");Vi("formatDisplayName");gy("formatDate");gy("formatTime");const yw="_app_wkun7_5",vw={app:yw},vy=()=>_w(window.location.pathname),_w=e=>{const t=e.split("/"),n=e.endsWith("/");return t[t.length-(n?2:1)]},Ic=UE,Ii=q1;var _y={exports:{}};/*!
|
|
81
81
|
Copyright (c) 2018 Jed Watson.
|
|
82
82
|
Licensed under the MIT License (MIT), see
|
|
83
83
|
http://jedwatson.github.io/classnames
|
|
84
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",s=0;s<arguments.length;s++){var a=arguments[s];a&&(o=i(o,r(a)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return n.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var s="";for(var a in o)t.call(o,a)&&o[a]&&(s=i(s,a));return s}function i(o,s){return s?o?o+" "+s:o+s:o}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(vy);var Ew=vy.exports;const R=Ou(Ew),_y="%[a-f0-9]{2}",ah=new RegExp("("+_y+")|([^%]+?)","gi"),lh=new RegExp("("+_y+")+","gi");function au(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;const n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],au(n),au(r))}function Sw(e){try{return decodeURIComponent(e)}catch{let t=e.match(ah)||[];for(let n=1;n<t.length;n++)e=au(t,n).join(""),t=e.match(ah)||[];return e}}function ww(e){const t={"%FE%FF":"��","%FF%FE":"��"};let n=lh.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{const i=Sw(n[0]);i!==n[0]&&(t[n[0]]=i)}n=lh.exec(e)}t["%C2"]="�";const r=Object.keys(t);for(const i of r)e=e.replace(new RegExp(i,"g"),t[i]);return e}function bw(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return ww(e)}}function Ey(e,t){if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e===""||t==="")return[];const n=e.indexOf(t);return n===-1?[]:[e.slice(0,n),e.slice(n+t.length)]}function xw(e,t){const n={};if(Array.isArray(t))for(const r of t){const i=Object.getOwnPropertyDescriptor(e,r);i!=null&&i.enumerable&&Object.defineProperty(n,r,i)}else for(const r of Reflect.ownKeys(e)){const i=Object.getOwnPropertyDescriptor(e,r);if(i.enumerable){const o=e[r];t(r,o,e)&&Object.defineProperty(n,r,i)}}return n}const Tw=e=>e==null,Cw=e=>encodeURIComponent(e).replaceAll(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),lu=Symbol("encodeFragmentIdentifier");function kw(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,[ce(t,e),"[",i,"]"].join("")]:[...n,[ce(t,e),"[",ce(i,e),"]=",ce(r,e)].join("")]};case"bracket":return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,[ce(t,e),"[]"].join("")]:[...n,[ce(t,e),"[]=",ce(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,[ce(t,e),":list="].join("")]:[...n,[ce(t,e),":list=",ce(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t=e.arrayFormat==="bracket-separator"?"[]=":"=";return n=>(r,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?r:(i=i===null?"":i,r.length===0?[[ce(n,e),t,ce(i,e)].join("")]:[[r,ce(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,ce(t,e)]:[...n,[ce(t,e),"=",ce(r,e)].join("")]}}function Ow(e){let t;switch(e.arrayFormat){case"index":return(n,r,i)=>{if(t=/\[(\d*)]$/.exec(n),n=n.replace(/\[\d*]$/,""),!t){i[n]=r;return}i[n]===void 0&&(i[n]={}),i[n][t[1]]=r};case"bracket":return(n,r,i)=>{if(t=/(\[])$/.exec(n),n=n.replace(/\[]$/,""),!t){i[n]=r;return}if(i[n]===void 0){i[n]=[r];return}i[n]=[...i[n],r]};case"colon-list-separator":return(n,r,i)=>{if(t=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!t){i[n]=r;return}if(i[n]===void 0){i[n]=[r];return}i[n]=[...i[n],r]};case"comma":case"separator":return(n,r,i)=>{const o=typeof r=="string"&&r.includes(e.arrayFormatSeparator),s=typeof r=="string"&&!o&&$t(r,e).includes(e.arrayFormatSeparator);r=s?$t(r,e):r;const a=o||s?r.split(e.arrayFormatSeparator).map(l=>$t(l,e)):r===null?r:$t(r,e);i[n]=a};case"bracket-separator":return(n,r,i)=>{const o=/(\[])$/.test(n);if(n=n.replace(/\[]$/,""),!o){i[n]=r&&$t(r,e);return}const s=r===null?[]:r.split(e.arrayFormatSeparator).map(a=>$t(a,e));if(i[n]===void 0){i[n]=s;return}i[n]=[...i[n],...s]};default:return(n,r,i)=>{if(i[n]===void 0){i[n]=r;return}i[n]=[...[i[n]].flat(),r]}}}function Sy(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function ce(e,t){return t.encode?t.strict?Cw(e):encodeURIComponent(e):e}function $t(e,t){return t.decode?bw(e):e}function wy(e){return Array.isArray(e)?e.sort():typeof e=="object"?wy(Object.keys(e)).sort((t,n)=>Number(t)-Number(n)).map(t=>e[t]):e}function by(e){const t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function Rw(e){let t="";const n=e.indexOf("#");return n!==-1&&(t=e.slice(n)),t}function uh(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function Dc(e){e=by(e);const t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function Mc(e,t){t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t},Sy(t.arrayFormatSeparator);const n=Ow(t),r=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return r;for(const i of e.split("&")){if(i==="")continue;const o=t.decode?i.replaceAll("+"," "):i;let[s,a]=Ey(o,"=");s===void 0&&(s=o),a=a===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:$t(a,t),n($t(s,t),a,r)}for(const[i,o]of Object.entries(r))if(typeof o=="object"&&o!==null)for(const[s,a]of Object.entries(o))o[s]=uh(a,t);else r[i]=uh(o,t);return t.sort===!1?r:(t.sort===!0?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((i,o)=>{const s=r[o];return i[o]=s&&typeof s=="object"&&!Array.isArray(s)?wy(s):s,i},Object.create(null))}function xy(e,t){if(!e)return"";t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t},Sy(t.arrayFormatSeparator);const n=s=>t.skipNull&&Tw(e[s])||t.skipEmptyString&&e[s]==="",r=kw(t),i={};for(const[s,a]of Object.entries(e))n(s)||(i[s]=a);const o=Object.keys(i);return t.sort!==!1&&o.sort(t.sort),o.map(s=>{const a=e[s];return a===void 0?"":a===null?ce(s,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?ce(s,t)+"[]":a.reduce(r(s),[]).join("&"):ce(s,t)+"="+ce(a,t)}).filter(s=>s.length>0).join("&")}function Ty(e,t){var i;t={decode:!0,...t};let[n,r]=Ey(e,"#");return n===void 0&&(n=e),{url:((i=n==null?void 0:n.split("?"))==null?void 0:i[0])??"",query:Mc(Dc(e),t),...t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:$t(r,t)}:{}}}function Cy(e,t){t={encode:!0,strict:!0,[lu]:!0,...t};const n=by(e.url).split("?")[0]||"",r=Dc(e.url),i={...Mc(r,{sort:!1}),...e.query};let o=xy(i,t);o&&(o=`?${o}`);let s=Rw(e.url);if(typeof e.fragmentIdentifier=="string"){const a=new URL(n);a.hash=e.fragmentIdentifier,s=t[lu]?a.hash:`#${e.fragmentIdentifier}`}return`${n}${o}${s}`}function ky(e,t,n){n={parseFragmentIdentifier:!0,[lu]:!1,...n};const{url:r,query:i,fragmentIdentifier:o}=Ty(e,n);return Cy({url:r,query:xw(i,t),fragmentIdentifier:o},n)}function Nw(e,t,n){const r=Array.isArray(t)?i=>!t.includes(i):(i,o)=>!t(i,o);return ky(e,r,n)}const Oy=Object.freeze(Object.defineProperty({__proto__:null,exclude:Nw,extract:Dc,parse:Mc,parseUrl:Ty,pick:ky,stringify:xy,stringifyUrl:Cy},Symbol.toStringTag,{value:"Module"}));var U={},uu={},I={};Object.defineProperty(I,"__esModule",{value:!0});I.CONVERSATION_RATING_FROM_GUEST=I.PROBLEM_REPORT_FROM_GUEST=I.TRANSCRIPT_MAIL_REQUEST=I.INBOX_CONNECT_REQUEST=I.RESTART_CHAT_REQUEST=I.EVENT_TO_GUEST=I.NLU_REQUEST_EVENT=I.EXPERTS_DISCONNECTED=I.EXPERTS_DISCONNECT_REQUEST=I.EXPERTS_CONNECTED=I.EXPERTS_CONNECT_REQUEST=I.MESSAGE_TO_GUEST=I.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST=I.MESSAGE_FROM_GUEST=I.GUEST_FEEDBACK_RESPONSE=I.GUEST_DISCONNECTED=I.GUEST_CONNECTED=I.TYPING_OFF=I.TYPING_ON=void 0;I.TYPING_ON="core.typing.on";I.TYPING_OFF="core.typing.off";I.GUEST_CONNECTED="core.guest.connected";I.GUEST_DISCONNECTED="core.guest.disconnected";I.GUEST_FEEDBACK_RESPONSE="core.guest.feedback.response";I.MESSAGE_FROM_GUEST="core.message.from.guest";I.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST="core.message.without.analysis.from.guest";I.MESSAGE_TO_GUEST="core.message.to.guest";I.EXPERTS_CONNECT_REQUEST="core.experts.connect.request";I.EXPERTS_CONNECTED="core.experts.connected";I.EXPERTS_DISCONNECT_REQUEST="core.experts.disconnect.request";I.EXPERTS_DISCONNECTED="core.experts.disconnected";I.NLU_REQUEST_EVENT="core.nlu.request.event";I.EVENT_TO_GUEST="core.event.to.guest";I.RESTART_CHAT_REQUEST="core.chat.restart.request";I.INBOX_CONNECT_REQUEST="core.inbox.connect.request";I.TRANSCRIPT_MAIL_REQUEST="core.transcript.mail.request";I.PROBLEM_REPORT_FROM_GUEST="core.problem.report.from.guest";I.CONVERSATION_RATING_FROM_GUEST="core.conversation.rating.from.guest";var Ry={};Object.defineProperty(Ry,"__esModule",{value:!0});var Fc={};Object.defineProperty(Fc,"__esModule",{value:!0});const Aw=I,Pw=(e,t)=>({type:Aw.GUEST_FEEDBACK_RESPONSE,payload:{satisfaction:e,intent:t}});Fc.default=Pw;var Bc={};Object.defineProperty(Bc,"__esModule",{value:!0});const Iw=I,Dw=e=>({type:Iw.GUEST_CONNECTED,payload:{sessionId:e}});Bc.default=Dw;var Lc={};Object.defineProperty(Lc,"__esModule",{value:!0});const Mw=I,Fw=e=>({type:Mw.GUEST_DISCONNECTED,payload:{sessionId:e}});Lc.default=Fw;var jc={},te={};Object.defineProperty(te,"__esModule",{value:!0});te.getStringRepresentationFromMessage=te.MessageTypeEnum=te.AudioMessage=te.FileMessage=te.ImageMessage=te.VideoMessage=te.MarkdownMessage=te.DetailMessage=te.TextMessage=te.Message=void 0;let Cn=class{constructor(t,n){V(this,"type");V(this,"sender");V(this,"quickReplies");this.type=t,this.sender=n,this.quickReplies=[]}addQuickReply(t,n){this.quickReplies.push({label:t,payload:n})}};te.Message=Cn;let Bw=class extends Cn{constructor(n,r){super(ke.TEXT,r);V(this,"text");this.text=n}};te.TextMessage=Bw;let Lw=class extends Cn{constructor(n,r){super(ke.DETAIL,r);V(this,"title");V(this,"subtitle");V(this,"text");V(this,"imageUrl");V(this,"itemUrl");V(this,"buttons");this.title=n,this.text="",this.subtitle="",this.imageUrl="",this.itemUrl="",this.buttons=[]}setImageUrl(n){this.imageUrl=n}setItemUrl(n){this.itemUrl=n}setSubtitle(n){this.subtitle=n}setText(n){this.text=n}addButton(n){this.buttons.push(n)}};te.DetailMessage=Lw;let jw=class extends Cn{constructor(n,r,i){super(ke.MARKDOWN,i);V(this,"markdown");V(this,"excerpt");V(this,"className");this.markdown=n,this.excerpt=r,this.className=""}setClassName(n){this.className=n}};te.MarkdownMessage=jw;class zw extends Cn{constructor(n,r){super(ke.VIDEO,r);V(this,"url");this.url=n}}te.VideoMessage=zw;class Uw extends Cn{constructor(n,r){super(ke.IMAGE,r);V(this,"url");this.url=n}}te.ImageMessage=Uw;class $w extends Cn{constructor(n,r){super(ke.FILE,r);V(this,"url");this.url=n}}te.FileMessage=$w;class Hw extends Cn{constructor(n,r){super(ke.AUDIO,r);V(this,"url");this.url=n}}te.AudioMessage=Hw;var ke;(function(e){e.TEXT="TEXT",e.DETAIL="DETAIL",e.MARKDOWN="MARKDOWN",e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.FILE="FILE",e.AUDIO="AUDIO"})(ke||(te.MessageTypeEnum=ke={}));const Gw=e=>{switch(e.type){case ke.TEXT:return e.text;case ke.DETAIL:const n=e;return`${n.title} // ${n.subtitle}`;case ke.MARKDOWN:return e.excerpt;case ke.VIDEO:return`Video Url: ${e.url}`;case ke.IMAGE:return`Image Url: ${e.url}`;case ke.FILE:return`File Url: ${e.url}`;case ke.AUDIO:return`Audio Url: ${e.url}`;default:throw new Error("Unknown message type "+e.type)}};te.getStringRepresentationFromMessage=Gw;var Be={};Object.defineProperty(Be,"__esModule",{value:!0});Be.UserType=Be.PersonUser=Be.GuestUser=Be.BotUser=Be.User=void 0;class Ys{constructor(t,n,r,i){V(this,"type");V(this,"id");V(this,"name");V(this,"avatar");this.type=t,this.id=n,this.name=r,this.avatar=i}}Be.User=Ys;class Vw extends Ys{constructor(){super(Di.BOT,null,"Chatbot","bot.svg")}}Be.BotUser=Vw;class Ww extends Ys{constructor(){super(Di.GUEST,null,"Guest","visitor.svg")}}Be.GuestUser=Ww;class qw extends Ys{constructor(t,n,r){super(Di.PERSON,t,n,r)}}Be.PersonUser=qw;var Di;(function(e){e.GUEST="GUEST",e.BOT="BOT",e.PERSON="PERSON"})(Di||(Be.UserType=Di={}));Object.defineProperty(jc,"__esModule",{value:!0});const Xw=te,Qw=Be,Kw=I,Yw=e=>{const t=new Xw.TextMessage(e,new Qw.GuestUser);return{type:Kw.MESSAGE_FROM_GUEST,message:t}};jc.default=Yw;var zc={};Object.defineProperty(zc,"__esModule",{value:!0});const Zw=te,Jw=Be,eb=I,tb=(e,t={})=>{const n=new Zw.TextMessage(e,new Jw.GuestUser);return{type:eb.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST,message:n,payload:t}};zc.default=tb;var Uc={};Object.defineProperty(Uc,"__esModule",{value:!0});const nb=I,rb=(e,t)=>({type:nb.PROBLEM_REPORT_FROM_GUEST,payload:{actionId:e,problem:t}});Uc.default=rb;var $c={};Object.defineProperty($c,"__esModule",{value:!0});const ib=I,ob=e=>({type:ib.NLU_REQUEST_EVENT,event:e});$c.default=ob;var Hc={};Object.defineProperty(Hc,"__esModule",{value:!0});const sb=I,ab=()=>({type:sb.RESTART_CHAT_REQUEST});Hc.default=ab;var Gc={};Object.defineProperty(Gc,"__esModule",{value:!0});const lb=I,ub=e=>({type:lb.MESSAGE_TO_GUEST,message:e});Gc.default=ub;(function(e){var t=q&&q.__createBinding||(Object.create?function(p,S,h,d){d===void 0&&(d=h);var m=Object.getOwnPropertyDescriptor(S,h);(!m||("get"in m?!S.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return S[h]}}),Object.defineProperty(p,d,m)}:function(p,S,h,d){d===void 0&&(d=h),p[d]=S[h]}),n=q&&q.__setModuleDefault||(Object.create?function(p,S){Object.defineProperty(p,"default",{enumerable:!0,value:S})}:function(p,S){p.default=S}),r=q&&q.__importStar||function(p){if(p&&p.__esModule)return p;var S={};if(p!=null)for(var h in p)h!=="default"&&Object.prototype.hasOwnProperty.call(p,h)&&t(S,p,h);return n(S,p),S},i=q&&q.__exportStar||function(p,S){for(var h in p)h!=="default"&&!Object.prototype.hasOwnProperty.call(S,h)&&t(S,p,h)},o=q&&q.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.sendMessageToGuest=e.restartChatRequest=e.requestNLUEvent=e.reportProblemFromGuest=e.receiveTextMessageWithoutAnalysisFromGuest=e.receiveTextMessageFromGuest=e.guestDisconnected=e.guestConnected=e.feedbackFromGuestResponse=e.ActionTypes=void 0,e.ActionTypes=r(I),i(Ry,e);const s=o(Fc);e.feedbackFromGuestResponse=s.default;const a=o(Bc);e.guestConnected=a.default;const l=o(Lc);e.guestDisconnected=l.default;const u=o(jc);e.receiveTextMessageFromGuest=u.default;const c=o(zc);e.receiveTextMessageWithoutAnalysisFromGuest=c.default;const g=o(Uc);e.reportProblemFromGuest=g.default;const y=o($c);e.requestNLUEvent=y.default;const f=o(Hc);e.restartChatRequest=f.default;const v=o(Gc);e.sendMessageToGuest=v.default})(uu);var Nr={},Ny={};Object.defineProperty(Ny,"__esModule",{value:!0});var Zs={};Object.defineProperty(Zs,"__esModule",{value:!0});Zs.NullableKnowledgeBaseAdapter=void 0;class cb{async upsertApiKnowledgeBase(t){throw new Error("Method not implemented.")}async findApiKnowledgeBaseByName(t){throw new Error("Method not implemented.")}async deleteApiKnowledgeBaseByName(t){throw new Error("Method not implemented.")}async setIndexingStatus(t,n){throw new Error("Method not implemented.")}async upsertKnowledgeBaseEntry(t,n){throw new Error("Method not implemented.")}async retrieveKnowledgeBaseEntryConfig(t,n){throw new Error("Method not implemented.")}async deleteKnowledgeBaseEntriesIndexedBeforeDate(t,n){throw new Error("Method not implemented.")}async subscribeToReindex(t,n){throw new Error("Method not implemented.")}isContentTypeSupported(t){throw new Error("Method not implemented.")}}Zs.NullableKnowledgeBaseAdapter=cb;var fb=q&&q.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(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){r===void 0&&(r=n),e[r]=t[n]}),db=q&&q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),hb=q&&q.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&fb(t,e,n);return db(t,e),t};Object.defineProperty(Nr,"__esModule",{value:!0});Nr.NullableCmsAdapter=Nr.KnowledgeBase=void 0;Nr.KnowledgeBase=hb(Ny);const pb=Zs;Nr.NullableCmsAdapter={knowledgeBase:new pb.NullableKnowledgeBaseAdapter};var cu={},Ay={};Object.defineProperty(Ay,"__esModule",{value:!0});var It={};Object.defineProperty(It,"__esModule",{value:!0});It.ButtonTypeEnum=It.PostbackButton=It.UrlButton=It.Button=void 0;class Vc{constructor(t,n){V(this,"title");V(this,"type");this.title=t,this.type=n}}It.Button=Vc;class mb extends Vc{constructor(n,r){super(n,hs.WEB_URL);V(this,"url");this.url=r}}It.UrlButton=mb;class gb extends Vc{constructor(n,r){super(n,hs.POSTBACK);V(this,"payload");this.payload=r}}It.PostbackButton=gb;var hs;(function(e){e.WEB_URL="web_url",e.POSTBACK="postback"})(hs||(It.ButtonTypeEnum=hs={}));var Py={};Object.defineProperty(Py,"__esModule",{value:!0});var Js={};Object.defineProperty(Js,"__esModule",{value:!0});Js.SatisfactionEnum=void 0;var ch;(function(e){e.GOOD="GOOD",e.BAD="BAD"})(ch||(Js.SatisfactionEnum=ch={}));(function(e){var t=q&&q.__createBinding||(Object.create?function(r,i,o,s){s===void 0&&(s=o);var a=Object.getOwnPropertyDescriptor(i,o);(!a||("get"in a?!i.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(r,s,a)}:function(r,i,o,s){s===void 0&&(s=o),r[s]=i[o]}),n=q&&q.__exportStar||function(r,i){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,r,o)};Object.defineProperty(e,"__esModule",{value:!0}),n(Ay,e),n(It,e),n(Py,e),n(Js,e),n(te,e),n(Be,e)})(cu);(function(e){var t=q&&q.__createBinding||(Object.create?function(o,s,a,l){l===void 0&&(l=a);var u=Object.getOwnPropertyDescriptor(s,a);(!u||("get"in u?!s.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return s[a]}}),Object.defineProperty(o,l,u)}:function(o,s,a,l){l===void 0&&(l=a),o[l]=s[a]}),n=q&&q.__setModuleDefault||(Object.create?function(o,s){Object.defineProperty(o,"default",{enumerable:!0,value:s})}:function(o,s){o.default=s}),r=q&&q.__exportStar||function(o,s){for(var a in o)a!=="default"&&!Object.prototype.hasOwnProperty.call(s,a)&&t(s,o,a)},i=q&&q.__importStar||function(o){if(o&&o.__esModule)return o;var s={};if(o!=null)for(var a in o)a!=="default"&&Object.prototype.hasOwnProperty.call(o,a)&&t(s,o,a);return n(s,o),s};Object.defineProperty(e,"__esModule",{value:!0}),e.Model=e.CMS=e.Actions=void 0,r(uu,e),e.Actions=i(uu),e.CMS=i(Nr),r(cu,e),e.Model=i(cu)})(U);const Iy=e=>t=>(e.payload.type!==U.ActionTypes.MESSAGE_FROM_GUEST&&t(U.receiveTextMessageWithoutAnalysisFromGuest(e.label,e.payload)),t(e.payload)),Dy=e=>(t,n)=>{const{quickReplies:r}=n().chat,i=r.find(o=>e.toLocaleLowerCase().indexOf(o.label.toLocaleLowerCase())>-1);return t(i?Iy({...i,label:e}):U.receiveTextMessageFromGuest(e))},Wc="MESSAGE_TO_PARENT_PAGE",qc="RESTORE_PREVIOUS_CHAT_MESSAGES",Xc="AUDIO_MESSAGE_FROM_USER",Qc="ENABLE_SPEECH_SUPPORT",Kc="ENABLE_BOT_REPLIES_VOTING_SUPPORT",Yc="ENABLE_TRANSCRIPT_EXPORT",yb="EXPORT_TRANSCRIPT",Zc="RECEIVE_SPEECH_TRANSCRIPTION",Jc="SHOW_GENERAL_CONDITIONS",ef="ENABLE_CONVERSATION_RATING",vb="webclient.get.started",My="webclient.expand.window",Fy="webclient.transcript.pdf.download",_b=[Wc,qc,Xc,Qc,Kc,Yc,yb,Zc,Jc,ef],Eb=e=>({type:Xc,buffer:e}),Sb=()=>({type:Qc}),wb=()=>({type:Kc}),bb=e=>({type:Zc,transcription:e}),xb=e=>({type:Yc,methods:e}),Tb=e=>({type:U.ActionTypes.TRANSCRIPT_MAIL_REQUEST,payload:{parameters:{mailTo:e}}}),Cb=()=>({type:Jc}),kb=()=>({type:Fy}),Ob=({rating:e})=>({type:ef,payload:{rating:e}}),Rb=(e,t)=>({type:U.ActionTypes.CONVERSATION_RATING_FROM_GUEST,payload:{value:e,feedback:t}}),By=e=>U.requestNLUEvent(e),Nb=e=>({type:qc,messages:e}),Ab=e=>{switch(e.type){case U.ButtonTypeEnum.WEB_URL:return Ly(e.url);case U.ButtonTypeEnum.POSTBACK:return e.payload;default:throw new Error(`unknown button type ${e.type}`)}},Pb=e=>Ly(e),Ly=e=>({type:Wc,message:{type:"webclient.change.url",url:e}});/*! js-cookie v3.0.5 | MIT */function po(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Ib={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function fu(e,t){function n(i,o,s){if(!(typeof document>"u")){s=po({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in s)s[l]&&(a+="; "+l,s[l]!==!0&&(a+="="+s[l].split(";")[0]));return document.cookie=i+"="+e.write(o,i)+a}}function r(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var o=document.cookie?document.cookie.split("; "):[],s={},a=0;a<o.length;a++){var l=o[a].split("="),u=l.slice(1).join("=");try{var c=decodeURIComponent(l[0]);if(s[c]=e.read(u,c),i===c)break}catch{}}return i?s[i]:s}}return Object.create({set:n,get:r,remove:function(i,o){n(i,"",po({},o,{expires:-1}))},withAttributes:function(i){return fu(this.converter,po({},this.attributes,i))},withConverter:function(i){return fu(po({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Ua=fu(Ib,{path:"/"});const tf="CONNECT",nf="CONNECTING",rf="CONNECTED",of="DISCONNECTED",sf="RECONNECTED",af="RESTORE_SESSION_ID",lf="START",jy="RESTART",Db=[tf,nf,rf,of,sf,af],Mb=(e,t)=>({type:tf,clientName:e,querystrings:t}),Fb=e=>({type:af,sessionId:e}),Bb=()=>({type:nf}),Lb=()=>({type:rf}),jb=()=>({type:of}),zb=()=>({type:sf}),zy=(e,t,n)=>(r,i)=>{const o=i().connection;let s=o.sessionId;s===void 0&&(s=crypto.randomUUID());let a=o.userId;if(a===void 0){const l=Ua.get("bubble-chat-userId")||Ua.get("bf-webclient-userId");a=l||crypto.randomUUID(),Ua.set("bubble-chat-userId",a)}r({type:lf,payload:{sessionId:s,sessionIdToTerminate:n,userId:a,clientName:e,querystrings:Oy.parse(t)}})},uf=(e,t)=>(n,r)=>{const i=r().connection.sessionId;return n(Ub()),n(zy(e,t,i))},Ub=()=>({type:jy});var an=(e=>(e[e.CONNECTING=0]="CONNECTING",e[e.CONNECTED=1]="CONNECTED",e[e.RECONNECTED=2]="RECONNECTED",e[e.DISCONNECTED=3]="DISCONNECTED",e))(an||{}),Uy=(e=>(e.GUEST="GUEST",e.BOT="BOT",e.PERSON="PERSON",e))(Uy||{});const $b="_button_1e5of_54",Hb="_buttonDefault_1e5of_66",Gb="_buttonPrimary_1e5of_80",Vb="_accessabilityHidden_1e5of_132",we={button:$b,buttonDefault:Hb,buttonPrimary:Gb,accessabilityHidden:Vb},Wb="_chatwindow_phukm_1",qb="_chatcontent_phukm_13",Xb={chatwindow:Wb,chatcontent:qb},Qb="_messageContainer_1wdci_1",Kb="_messages_1wdci_10",fh={messageContainer:Qb,messages:Kb};function Mn(){return Mn=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},Mn.apply(this,arguments)}const Yb=["children","options"];var dh,hh;(function(e){e.blockQuote="0",e.breakLine="1",e.breakThematic="2",e.codeBlock="3",e.codeFenced="4",e.codeInline="5",e.footnote="6",e.footnoteReference="7",e.gfmTask="8",e.heading="9",e.headingSetext="10",e.htmlBlock="11",e.htmlComment="12",e.htmlSelfClosing="13",e.image="14",e.link="15",e.linkAngleBraceStyleDetector="16",e.linkBareUrlDetector="17",e.linkMailtoDetector="18",e.newlineCoalescer="19",e.orderedList="20",e.paragraph="21",e.ref="22",e.refImage="23",e.refLink="24",e.table="25",e.tableSeparator="26",e.text="27",e.textBolded="28",e.textEmphasized="29",e.textEscaped="30",e.textMarked="31",e.textStrikethroughed="32",e.unorderedList="33"})(dh||(dh={})),function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"}(hh||(hh={}));const ph=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),mh={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Zb=["style","script"],Jb=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,ex=/mailto:/i,tx=/\n{2,}$/,$y=/^(\s*>[\s\S]*?)(?=\n{2,})/,nx=/^ *> ?/gm,rx=/^ {2,}\n/,ix=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Hy=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Gy=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,ox=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,sx=/^(?:\n *)*\n/,ax=/\r\n?/g,lx=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,ux=/^\[\^([^\]]+)]/,cx=/\f/g,fx=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,dx=/^\s*?\[(x|\s)\]/,Vy=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Wy=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,qy=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,du=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,hx=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Xy=/^<!--[\s\S]*?(?:-->)/,px=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,hu=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,mx=/^\{.*\}$/,gx=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,yx=/^<([^ >]+@[^ >]+)>/,vx=/^<([^ >]+:\/[^ >]+)>/,_x=/-([a-z])?/gi,Qy=/^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,Ex=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,Sx=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,wx=/^\[([^\]]*)\] ?\[([^\]]*)\]/,bx=/(\[|\])/g,xx=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Tx=/\t/g,Cx=/(^ *\||\| *$)/g,kx=/^ *:-+: *$/,Ox=/^ *:-+ *$/,Rx=/^ *-+: *$/,ea="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",Nx=new RegExp(`^([*_])\\1${ea}\\1\\1(?!\\1)`),Ax=new RegExp(`^([*_])${ea}\\1(?!\\1|\\w)`),Px=new RegExp(`^==${ea}==`),Ix=new RegExp(`^~~${ea}~~`),Dx=/^\\([^0-9A-Za-z\s])/,Mx=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Fx=/^\n+/,Bx=/^([ \t]*)/,Lx=/\\([^\\])/g,gh=/ *\n+$/,jx=/(?:^|\n)( *)$/,cf="(?:\\d+\\.)",ff="(?:[*+-])";function Ky(e){return"( *)("+(e===1?cf:ff)+") +"}const Yy=Ky(1),Zy=Ky(2);function Jy(e){return new RegExp("^"+(e===1?Yy:Zy))}const zx=Jy(1),Ux=Jy(2);function ev(e){return new RegExp("^"+(e===1?Yy:Zy)+"[^\\n]*(?:\\n(?!\\1"+(e===1?cf:ff)+" )[^\\n]*)*(\\n|$)","gm")}const tv=ev(1),nv=ev(2);function rv(e){const t=e===1?cf:ff;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const iv=rv(1),ov=rv(2);function yh(e,t){const n=t===1,r=n?iv:ov,i=n?tv:nv,o=n?zx:Ux;return{match(s,a,l){const u=jx.exec(l);return u&&(a.list||!a.inline&&!a.simple)?r.exec(s=u[1]+s):null},order:1,parse(s,a,l){const u=n?+s[2]:void 0,c=s[0].replace(tx,`
|
|
84
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",s=0;s<arguments.length;s++){var a=arguments[s];a&&(o=i(o,r(a)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return n.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var s="";for(var a in o)t.call(o,a)&&o[a]&&(s=i(s,a));return s}function i(o,s){return s?o?o+" "+s:o+s:o}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(_y);var Ew=_y.exports;const R=Ou(Ew),Ey="%[a-f0-9]{2}",lh=new RegExp("("+Ey+")|([^%]+?)","gi"),uh=new RegExp("("+Ey+")+","gi");function au(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;const n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],au(n),au(r))}function Sw(e){try{return decodeURIComponent(e)}catch{let t=e.match(lh)||[];for(let n=1;n<t.length;n++)e=au(t,n).join(""),t=e.match(lh)||[];return e}}function ww(e){const t={"%FE%FF":"��","%FF%FE":"��"};let n=uh.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{const i=Sw(n[0]);i!==n[0]&&(t[n[0]]=i)}n=uh.exec(e)}t["%C2"]="�";const r=Object.keys(t);for(const i of r)e=e.replace(new RegExp(i,"g"),t[i]);return e}function bw(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return ww(e)}}function Sy(e,t){if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e===""||t==="")return[];const n=e.indexOf(t);return n===-1?[]:[e.slice(0,n),e.slice(n+t.length)]}function xw(e,t){const n={};if(Array.isArray(t))for(const r of t){const i=Object.getOwnPropertyDescriptor(e,r);i!=null&&i.enumerable&&Object.defineProperty(n,r,i)}else for(const r of Reflect.ownKeys(e)){const i=Object.getOwnPropertyDescriptor(e,r);if(i.enumerable){const o=e[r];t(r,o,e)&&Object.defineProperty(n,r,i)}}return n}const Tw=e=>e==null,Cw=e=>encodeURIComponent(e).replaceAll(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),lu=Symbol("encodeFragmentIdentifier");function kw(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,[ce(t,e),"[",i,"]"].join("")]:[...n,[ce(t,e),"[",ce(i,e),"]=",ce(r,e)].join("")]};case"bracket":return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,[ce(t,e),"[]"].join("")]:[...n,[ce(t,e),"[]=",ce(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,[ce(t,e),":list="].join("")]:[...n,[ce(t,e),":list=",ce(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t=e.arrayFormat==="bracket-separator"?"[]=":"=";return n=>(r,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?r:(i=i===null?"":i,r.length===0?[[ce(n,e),t,ce(i,e)].join("")]:[[r,ce(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,ce(t,e)]:[...n,[ce(t,e),"=",ce(r,e)].join("")]}}function Ow(e){let t;switch(e.arrayFormat){case"index":return(n,r,i)=>{if(t=/\[(\d*)]$/.exec(n),n=n.replace(/\[\d*]$/,""),!t){i[n]=r;return}i[n]===void 0&&(i[n]={}),i[n][t[1]]=r};case"bracket":return(n,r,i)=>{if(t=/(\[])$/.exec(n),n=n.replace(/\[]$/,""),!t){i[n]=r;return}if(i[n]===void 0){i[n]=[r];return}i[n]=[...i[n],r]};case"colon-list-separator":return(n,r,i)=>{if(t=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!t){i[n]=r;return}if(i[n]===void 0){i[n]=[r];return}i[n]=[...i[n],r]};case"comma":case"separator":return(n,r,i)=>{const o=typeof r=="string"&&r.includes(e.arrayFormatSeparator),s=typeof r=="string"&&!o&&$t(r,e).includes(e.arrayFormatSeparator);r=s?$t(r,e):r;const a=o||s?r.split(e.arrayFormatSeparator).map(l=>$t(l,e)):r===null?r:$t(r,e);i[n]=a};case"bracket-separator":return(n,r,i)=>{const o=/(\[])$/.test(n);if(n=n.replace(/\[]$/,""),!o){i[n]=r&&$t(r,e);return}const s=r===null?[]:r.split(e.arrayFormatSeparator).map(a=>$t(a,e));if(i[n]===void 0){i[n]=s;return}i[n]=[...i[n],...s]};default:return(n,r,i)=>{if(i[n]===void 0){i[n]=r;return}i[n]=[...[i[n]].flat(),r]}}}function wy(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function ce(e,t){return t.encode?t.strict?Cw(e):encodeURIComponent(e):e}function $t(e,t){return t.decode?bw(e):e}function by(e){return Array.isArray(e)?e.sort():typeof e=="object"?by(Object.keys(e)).sort((t,n)=>Number(t)-Number(n)).map(t=>e[t]):e}function xy(e){const t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function Rw(e){let t="";const n=e.indexOf("#");return n!==-1&&(t=e.slice(n)),t}function ch(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function Dc(e){e=xy(e);const t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function Mc(e,t){t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t},wy(t.arrayFormatSeparator);const n=Ow(t),r=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return r;for(const i of e.split("&")){if(i==="")continue;const o=t.decode?i.replaceAll("+"," "):i;let[s,a]=Sy(o,"=");s===void 0&&(s=o),a=a===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:$t(a,t),n($t(s,t),a,r)}for(const[i,o]of Object.entries(r))if(typeof o=="object"&&o!==null)for(const[s,a]of Object.entries(o))o[s]=ch(a,t);else r[i]=ch(o,t);return t.sort===!1?r:(t.sort===!0?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((i,o)=>{const s=r[o];return i[o]=s&&typeof s=="object"&&!Array.isArray(s)?by(s):s,i},Object.create(null))}function Ty(e,t){if(!e)return"";t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t},wy(t.arrayFormatSeparator);const n=s=>t.skipNull&&Tw(e[s])||t.skipEmptyString&&e[s]==="",r=kw(t),i={};for(const[s,a]of Object.entries(e))n(s)||(i[s]=a);const o=Object.keys(i);return t.sort!==!1&&o.sort(t.sort),o.map(s=>{const a=e[s];return a===void 0?"":a===null?ce(s,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?ce(s,t)+"[]":a.reduce(r(s),[]).join("&"):ce(s,t)+"="+ce(a,t)}).filter(s=>s.length>0).join("&")}function Cy(e,t){var i;t={decode:!0,...t};let[n,r]=Sy(e,"#");return n===void 0&&(n=e),{url:((i=n==null?void 0:n.split("?"))==null?void 0:i[0])??"",query:Mc(Dc(e),t),...t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:$t(r,t)}:{}}}function ky(e,t){t={encode:!0,strict:!0,[lu]:!0,...t};const n=xy(e.url).split("?")[0]||"",r=Dc(e.url),i={...Mc(r,{sort:!1}),...e.query};let o=Ty(i,t);o&&(o=`?${o}`);let s=Rw(e.url);if(typeof e.fragmentIdentifier=="string"){const a=new URL(n);a.hash=e.fragmentIdentifier,s=t[lu]?a.hash:`#${e.fragmentIdentifier}`}return`${n}${o}${s}`}function Oy(e,t,n){n={parseFragmentIdentifier:!0,[lu]:!1,...n};const{url:r,query:i,fragmentIdentifier:o}=Cy(e,n);return ky({url:r,query:xw(i,t),fragmentIdentifier:o},n)}function Nw(e,t,n){const r=Array.isArray(t)?i=>!t.includes(i):(i,o)=>!t(i,o);return Oy(e,r,n)}const Fc=Object.freeze(Object.defineProperty({__proto__:null,exclude:Nw,extract:Dc,parse:Mc,parseUrl:Cy,pick:Oy,stringify:Ty,stringifyUrl:ky},Symbol.toStringTag,{value:"Module"}));var U={},uu={},I={};Object.defineProperty(I,"__esModule",{value:!0});I.CONVERSATION_RATING_FROM_GUEST=I.PROBLEM_REPORT_FROM_GUEST=I.TRANSCRIPT_MAIL_REQUEST=I.INBOX_CONNECT_REQUEST=I.RESTART_CHAT_REQUEST=I.EVENT_TO_GUEST=I.NLU_REQUEST_EVENT=I.EXPERTS_DISCONNECTED=I.EXPERTS_DISCONNECT_REQUEST=I.EXPERTS_CONNECTED=I.EXPERTS_CONNECT_REQUEST=I.MESSAGE_TO_GUEST=I.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST=I.MESSAGE_FROM_GUEST=I.GUEST_FEEDBACK_RESPONSE=I.GUEST_DISCONNECTED=I.GUEST_CONNECTED=I.TYPING_OFF=I.TYPING_ON=void 0;I.TYPING_ON="core.typing.on";I.TYPING_OFF="core.typing.off";I.GUEST_CONNECTED="core.guest.connected";I.GUEST_DISCONNECTED="core.guest.disconnected";I.GUEST_FEEDBACK_RESPONSE="core.guest.feedback.response";I.MESSAGE_FROM_GUEST="core.message.from.guest";I.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST="core.message.without.analysis.from.guest";I.MESSAGE_TO_GUEST="core.message.to.guest";I.EXPERTS_CONNECT_REQUEST="core.experts.connect.request";I.EXPERTS_CONNECTED="core.experts.connected";I.EXPERTS_DISCONNECT_REQUEST="core.experts.disconnect.request";I.EXPERTS_DISCONNECTED="core.experts.disconnected";I.NLU_REQUEST_EVENT="core.nlu.request.event";I.EVENT_TO_GUEST="core.event.to.guest";I.RESTART_CHAT_REQUEST="core.chat.restart.request";I.INBOX_CONNECT_REQUEST="core.inbox.connect.request";I.TRANSCRIPT_MAIL_REQUEST="core.transcript.mail.request";I.PROBLEM_REPORT_FROM_GUEST="core.problem.report.from.guest";I.CONVERSATION_RATING_FROM_GUEST="core.conversation.rating.from.guest";var Ry={};Object.defineProperty(Ry,"__esModule",{value:!0});var Bc={};Object.defineProperty(Bc,"__esModule",{value:!0});const Aw=I,Pw=(e,t)=>({type:Aw.GUEST_FEEDBACK_RESPONSE,payload:{satisfaction:e,intent:t}});Bc.default=Pw;var Lc={};Object.defineProperty(Lc,"__esModule",{value:!0});const Iw=I,Dw=e=>({type:Iw.GUEST_CONNECTED,payload:{sessionId:e}});Lc.default=Dw;var jc={};Object.defineProperty(jc,"__esModule",{value:!0});const Mw=I,Fw=e=>({type:Mw.GUEST_DISCONNECTED,payload:{sessionId:e}});jc.default=Fw;var zc={},te={};Object.defineProperty(te,"__esModule",{value:!0});te.getStringRepresentationFromMessage=te.MessageTypeEnum=te.AudioMessage=te.FileMessage=te.ImageMessage=te.VideoMessage=te.MarkdownMessage=te.DetailMessage=te.TextMessage=te.Message=void 0;let Cn=class{constructor(t,n){V(this,"type");V(this,"sender");V(this,"quickReplies");this.type=t,this.sender=n,this.quickReplies=[]}addQuickReply(t,n){this.quickReplies.push({label:t,payload:n})}};te.Message=Cn;let Bw=class extends Cn{constructor(n,r){super(ke.TEXT,r);V(this,"text");this.text=n}};te.TextMessage=Bw;let Lw=class extends Cn{constructor(n,r){super(ke.DETAIL,r);V(this,"title");V(this,"subtitle");V(this,"text");V(this,"imageUrl");V(this,"itemUrl");V(this,"buttons");this.title=n,this.text="",this.subtitle="",this.imageUrl="",this.itemUrl="",this.buttons=[]}setImageUrl(n){this.imageUrl=n}setItemUrl(n){this.itemUrl=n}setSubtitle(n){this.subtitle=n}setText(n){this.text=n}addButton(n){this.buttons.push(n)}};te.DetailMessage=Lw;let jw=class extends Cn{constructor(n,r,i){super(ke.MARKDOWN,i);V(this,"markdown");V(this,"excerpt");V(this,"className");this.markdown=n,this.excerpt=r,this.className=""}setClassName(n){this.className=n}};te.MarkdownMessage=jw;class zw extends Cn{constructor(n,r){super(ke.VIDEO,r);V(this,"url");this.url=n}}te.VideoMessage=zw;class Uw extends Cn{constructor(n,r){super(ke.IMAGE,r);V(this,"url");this.url=n}}te.ImageMessage=Uw;class $w extends Cn{constructor(n,r){super(ke.FILE,r);V(this,"url");this.url=n}}te.FileMessage=$w;class Hw extends Cn{constructor(n,r){super(ke.AUDIO,r);V(this,"url");this.url=n}}te.AudioMessage=Hw;var ke;(function(e){e.TEXT="TEXT",e.DETAIL="DETAIL",e.MARKDOWN="MARKDOWN",e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.FILE="FILE",e.AUDIO="AUDIO"})(ke||(te.MessageTypeEnum=ke={}));const Gw=e=>{switch(e.type){case ke.TEXT:return e.text;case ke.DETAIL:const n=e;return`${n.title} // ${n.subtitle}`;case ke.MARKDOWN:return e.excerpt;case ke.VIDEO:return`Video Url: ${e.url}`;case ke.IMAGE:return`Image Url: ${e.url}`;case ke.FILE:return`File Url: ${e.url}`;case ke.AUDIO:return`Audio Url: ${e.url}`;default:throw new Error("Unknown message type "+e.type)}};te.getStringRepresentationFromMessage=Gw;var Be={};Object.defineProperty(Be,"__esModule",{value:!0});Be.UserType=Be.PersonUser=Be.GuestUser=Be.BotUser=Be.User=void 0;class Ys{constructor(t,n,r,i){V(this,"type");V(this,"id");V(this,"name");V(this,"avatar");this.type=t,this.id=n,this.name=r,this.avatar=i}}Be.User=Ys;class Vw extends Ys{constructor(){super(Di.BOT,null,"Chatbot","bot.svg")}}Be.BotUser=Vw;class Ww extends Ys{constructor(){super(Di.GUEST,null,"Guest","visitor.svg")}}Be.GuestUser=Ww;class qw extends Ys{constructor(t,n,r){super(Di.PERSON,t,n,r)}}Be.PersonUser=qw;var Di;(function(e){e.GUEST="GUEST",e.BOT="BOT",e.PERSON="PERSON"})(Di||(Be.UserType=Di={}));Object.defineProperty(zc,"__esModule",{value:!0});const Xw=te,Qw=Be,Kw=I,Yw=e=>{const t=new Xw.TextMessage(e,new Qw.GuestUser);return{type:Kw.MESSAGE_FROM_GUEST,message:t}};zc.default=Yw;var Uc={};Object.defineProperty(Uc,"__esModule",{value:!0});const Zw=te,Jw=Be,eb=I,tb=(e,t={})=>{const n=new Zw.TextMessage(e,new Jw.GuestUser);return{type:eb.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST,message:n,payload:t}};Uc.default=tb;var $c={};Object.defineProperty($c,"__esModule",{value:!0});const nb=I,rb=(e,t)=>({type:nb.PROBLEM_REPORT_FROM_GUEST,payload:{actionId:e,problem:t}});$c.default=rb;var Hc={};Object.defineProperty(Hc,"__esModule",{value:!0});const ib=I,ob=e=>({type:ib.NLU_REQUEST_EVENT,event:e});Hc.default=ob;var Gc={};Object.defineProperty(Gc,"__esModule",{value:!0});const sb=I,ab=()=>({type:sb.RESTART_CHAT_REQUEST});Gc.default=ab;var Vc={};Object.defineProperty(Vc,"__esModule",{value:!0});const lb=I,ub=e=>({type:lb.MESSAGE_TO_GUEST,message:e});Vc.default=ub;(function(e){var t=q&&q.__createBinding||(Object.create?function(p,S,h,d){d===void 0&&(d=h);var m=Object.getOwnPropertyDescriptor(S,h);(!m||("get"in m?!S.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return S[h]}}),Object.defineProperty(p,d,m)}:function(p,S,h,d){d===void 0&&(d=h),p[d]=S[h]}),n=q&&q.__setModuleDefault||(Object.create?function(p,S){Object.defineProperty(p,"default",{enumerable:!0,value:S})}:function(p,S){p.default=S}),r=q&&q.__importStar||function(p){if(p&&p.__esModule)return p;var S={};if(p!=null)for(var h in p)h!=="default"&&Object.prototype.hasOwnProperty.call(p,h)&&t(S,p,h);return n(S,p),S},i=q&&q.__exportStar||function(p,S){for(var h in p)h!=="default"&&!Object.prototype.hasOwnProperty.call(S,h)&&t(S,p,h)},o=q&&q.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.sendMessageToGuest=e.restartChatRequest=e.requestNLUEvent=e.reportProblemFromGuest=e.receiveTextMessageWithoutAnalysisFromGuest=e.receiveTextMessageFromGuest=e.guestDisconnected=e.guestConnected=e.feedbackFromGuestResponse=e.ActionTypes=void 0,e.ActionTypes=r(I),i(Ry,e);const s=o(Bc);e.feedbackFromGuestResponse=s.default;const a=o(Lc);e.guestConnected=a.default;const l=o(jc);e.guestDisconnected=l.default;const u=o(zc);e.receiveTextMessageFromGuest=u.default;const c=o(Uc);e.receiveTextMessageWithoutAnalysisFromGuest=c.default;const g=o($c);e.reportProblemFromGuest=g.default;const y=o(Hc);e.requestNLUEvent=y.default;const f=o(Gc);e.restartChatRequest=f.default;const v=o(Vc);e.sendMessageToGuest=v.default})(uu);var Nr={},Ny={};Object.defineProperty(Ny,"__esModule",{value:!0});var Zs={};Object.defineProperty(Zs,"__esModule",{value:!0});Zs.NullableKnowledgeBaseAdapter=void 0;class cb{async upsertApiKnowledgeBase(t){throw new Error("Method not implemented.")}async findApiKnowledgeBaseByName(t){throw new Error("Method not implemented.")}async deleteApiKnowledgeBaseByName(t){throw new Error("Method not implemented.")}async setIndexingStatus(t,n){throw new Error("Method not implemented.")}async upsertKnowledgeBaseEntry(t,n){throw new Error("Method not implemented.")}async retrieveKnowledgeBaseEntryConfig(t,n){throw new Error("Method not implemented.")}async deleteKnowledgeBaseEntriesIndexedBeforeDate(t,n){throw new Error("Method not implemented.")}async subscribeToReindex(t,n){throw new Error("Method not implemented.")}isContentTypeSupported(t){throw new Error("Method not implemented.")}}Zs.NullableKnowledgeBaseAdapter=cb;var fb=q&&q.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(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){r===void 0&&(r=n),e[r]=t[n]}),db=q&&q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),hb=q&&q.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&fb(t,e,n);return db(t,e),t};Object.defineProperty(Nr,"__esModule",{value:!0});Nr.NullableCmsAdapter=Nr.KnowledgeBase=void 0;Nr.KnowledgeBase=hb(Ny);const pb=Zs;Nr.NullableCmsAdapter={knowledgeBase:new pb.NullableKnowledgeBaseAdapter};var cu={},Ay={};Object.defineProperty(Ay,"__esModule",{value:!0});var It={};Object.defineProperty(It,"__esModule",{value:!0});It.ButtonTypeEnum=It.PostbackButton=It.UrlButton=It.Button=void 0;class Wc{constructor(t,n){V(this,"title");V(this,"type");this.title=t,this.type=n}}It.Button=Wc;class mb extends Wc{constructor(n,r){super(n,hs.WEB_URL);V(this,"url");this.url=r}}It.UrlButton=mb;class gb extends Wc{constructor(n,r){super(n,hs.POSTBACK);V(this,"payload");this.payload=r}}It.PostbackButton=gb;var hs;(function(e){e.WEB_URL="web_url",e.POSTBACK="postback"})(hs||(It.ButtonTypeEnum=hs={}));var Py={};Object.defineProperty(Py,"__esModule",{value:!0});var Js={};Object.defineProperty(Js,"__esModule",{value:!0});Js.SatisfactionEnum=void 0;var fh;(function(e){e.GOOD="GOOD",e.BAD="BAD"})(fh||(Js.SatisfactionEnum=fh={}));(function(e){var t=q&&q.__createBinding||(Object.create?function(r,i,o,s){s===void 0&&(s=o);var a=Object.getOwnPropertyDescriptor(i,o);(!a||("get"in a?!i.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(r,s,a)}:function(r,i,o,s){s===void 0&&(s=o),r[s]=i[o]}),n=q&&q.__exportStar||function(r,i){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&t(i,r,o)};Object.defineProperty(e,"__esModule",{value:!0}),n(Ay,e),n(It,e),n(Py,e),n(Js,e),n(te,e),n(Be,e)})(cu);(function(e){var t=q&&q.__createBinding||(Object.create?function(o,s,a,l){l===void 0&&(l=a);var u=Object.getOwnPropertyDescriptor(s,a);(!u||("get"in u?!s.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return s[a]}}),Object.defineProperty(o,l,u)}:function(o,s,a,l){l===void 0&&(l=a),o[l]=s[a]}),n=q&&q.__setModuleDefault||(Object.create?function(o,s){Object.defineProperty(o,"default",{enumerable:!0,value:s})}:function(o,s){o.default=s}),r=q&&q.__exportStar||function(o,s){for(var a in o)a!=="default"&&!Object.prototype.hasOwnProperty.call(s,a)&&t(s,o,a)},i=q&&q.__importStar||function(o){if(o&&o.__esModule)return o;var s={};if(o!=null)for(var a in o)a!=="default"&&Object.prototype.hasOwnProperty.call(o,a)&&t(s,o,a);return n(s,o),s};Object.defineProperty(e,"__esModule",{value:!0}),e.Model=e.CMS=e.Actions=void 0,r(uu,e),e.Actions=i(uu),e.CMS=i(Nr),r(cu,e),e.Model=i(cu)})(U);const Iy=e=>t=>(e.payload.type!==U.ActionTypes.MESSAGE_FROM_GUEST&&t(U.receiveTextMessageWithoutAnalysisFromGuest(e.label,e.payload)),t(e.payload)),Dy=e=>(t,n)=>{const{quickReplies:r}=n().chat,i=r.find(o=>e.toLocaleLowerCase().indexOf(o.label.toLocaleLowerCase())>-1);return t(i?Iy({...i,label:e}):U.receiveTextMessageFromGuest(e))},qc="MESSAGE_TO_PARENT_PAGE",Xc="RESTORE_PREVIOUS_CHAT_MESSAGES",Qc="AUDIO_MESSAGE_FROM_USER",Kc="ENABLE_SPEECH_SUPPORT",Yc="ENABLE_BOT_REPLIES_VOTING_SUPPORT",Zc="ENABLE_TRANSCRIPT_EXPORT",yb="EXPORT_TRANSCRIPT",Jc="RECEIVE_SPEECH_TRANSCRIPTION",ef="SHOW_GENERAL_CONDITIONS",tf="ENABLE_CONVERSATION_RATING",vb="webclient.get.started",My="webclient.expand.window",Fy="webclient.transcript.pdf.download",_b=[qc,Xc,Qc,Kc,Yc,Zc,yb,Jc,ef,tf],Eb=e=>({type:Qc,buffer:e}),Sb=()=>({type:Kc}),wb=()=>({type:Yc}),bb=e=>({type:Jc,transcription:e}),xb=e=>({type:Zc,methods:e}),Tb=e=>({type:U.ActionTypes.TRANSCRIPT_MAIL_REQUEST,payload:{parameters:{mailTo:e}}}),Cb=()=>({type:ef}),kb=()=>({type:Fy}),Ob=({rating:e})=>({type:tf,payload:{rating:e}}),Rb=(e,t)=>({type:U.ActionTypes.CONVERSATION_RATING_FROM_GUEST,payload:{value:e,feedback:t}}),By=e=>U.requestNLUEvent(e),Nb=e=>({type:Xc,messages:e}),Ab=e=>{switch(e.type){case U.ButtonTypeEnum.WEB_URL:return Ly(e.url);case U.ButtonTypeEnum.POSTBACK:return e.payload;default:throw new Error(`unknown button type ${e.type}`)}},Pb=e=>Ly(e),Ly=e=>({type:qc,message:{type:"webclient.change.url",url:e}});/*! js-cookie v3.0.5 | MIT */function po(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Ib={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function fu(e,t){function n(i,o,s){if(!(typeof document>"u")){s=po({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in s)s[l]&&(a+="; "+l,s[l]!==!0&&(a+="="+s[l].split(";")[0]));return document.cookie=i+"="+e.write(o,i)+a}}function r(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var o=document.cookie?document.cookie.split("; "):[],s={},a=0;a<o.length;a++){var l=o[a].split("="),u=l.slice(1).join("=");try{var c=decodeURIComponent(l[0]);if(s[c]=e.read(u,c),i===c)break}catch{}}return i?s[i]:s}}return Object.create({set:n,get:r,remove:function(i,o){n(i,"",po({},o,{expires:-1}))},withAttributes:function(i){return fu(this.converter,po({},this.attributes,i))},withConverter:function(i){return fu(po({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Ua=fu(Ib,{path:"/"});const nf="CONNECT",rf="CONNECTING",of="CONNECTED",sf="DISCONNECTED",af="RECONNECTED",lf="RESTORE_SESSION_ID",uf="START",jy="RESTART",Db=[nf,rf,of,sf,af,lf],Mb=(e,t)=>({type:nf,clientName:e,querystrings:t}),Fb=e=>({type:lf,sessionId:e}),Bb=()=>({type:rf}),Lb=()=>({type:of}),jb=()=>({type:sf}),zb=()=>({type:af}),zy=(e,t,n)=>(r,i)=>{const o=i().connection;let s=o.sessionId;s===void 0&&(s=crypto.randomUUID());let a=o.userId;if(a===void 0){const l=Ua.get("bubble-chat-userId")||Ua.get("bf-webclient-userId");a=l||crypto.randomUUID(),Ua.set("bubble-chat-userId",a)}r({type:uf,payload:{sessionId:s,sessionIdToTerminate:n,userId:a,clientName:e,querystrings:t}})},cf=(e,t)=>(n,r)=>{const i=r().connection.sessionId;return n(Ub()),n(zy(e,t,i))},Ub=()=>({type:jy});var an=(e=>(e[e.CONNECTING=0]="CONNECTING",e[e.CONNECTED=1]="CONNECTED",e[e.RECONNECTED=2]="RECONNECTED",e[e.DISCONNECTED=3]="DISCONNECTED",e))(an||{}),Uy=(e=>(e.GUEST="GUEST",e.BOT="BOT",e.PERSON="PERSON",e))(Uy||{});const $b="_button_1e5of_54",Hb="_buttonDefault_1e5of_66",Gb="_buttonPrimary_1e5of_80",Vb="_accessabilityHidden_1e5of_132",we={button:$b,buttonDefault:Hb,buttonPrimary:Gb,accessabilityHidden:Vb},Wb="_chatwindow_phukm_1",qb="_chatcontent_phukm_13",Xb={chatwindow:Wb,chatcontent:qb},Qb="_messageContainer_1wdci_1",Kb="_messages_1wdci_10",dh={messageContainer:Qb,messages:Kb};function Mn(){return Mn=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},Mn.apply(this,arguments)}const Yb=["children","options"];var hh,ph;(function(e){e.blockQuote="0",e.breakLine="1",e.breakThematic="2",e.codeBlock="3",e.codeFenced="4",e.codeInline="5",e.footnote="6",e.footnoteReference="7",e.gfmTask="8",e.heading="9",e.headingSetext="10",e.htmlBlock="11",e.htmlComment="12",e.htmlSelfClosing="13",e.image="14",e.link="15",e.linkAngleBraceStyleDetector="16",e.linkBareUrlDetector="17",e.linkMailtoDetector="18",e.newlineCoalescer="19",e.orderedList="20",e.paragraph="21",e.ref="22",e.refImage="23",e.refLink="24",e.table="25",e.tableSeparator="26",e.text="27",e.textBolded="28",e.textEmphasized="29",e.textEscaped="30",e.textMarked="31",e.textStrikethroughed="32",e.unorderedList="33"})(hh||(hh={})),function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"}(ph||(ph={}));const mh=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),gh={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Zb=["style","script"],Jb=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,ex=/mailto:/i,tx=/\n{2,}$/,$y=/^(\s*>[\s\S]*?)(?=\n{2,})/,nx=/^ *> ?/gm,rx=/^ {2,}\n/,ix=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Hy=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Gy=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,ox=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,sx=/^(?:\n *)*\n/,ax=/\r\n?/g,lx=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,ux=/^\[\^([^\]]+)]/,cx=/\f/g,fx=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,dx=/^\s*?\[(x|\s)\]/,Vy=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Wy=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,qy=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,du=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,hx=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Xy=/^<!--[\s\S]*?(?:-->)/,px=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,hu=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,mx=/^\{.*\}$/,gx=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,yx=/^<([^ >]+@[^ >]+)>/,vx=/^<([^ >]+:\/[^ >]+)>/,_x=/-([a-z])?/gi,Qy=/^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,Ex=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,Sx=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,wx=/^\[([^\]]*)\] ?\[([^\]]*)\]/,bx=/(\[|\])/g,xx=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Tx=/\t/g,Cx=/(^ *\||\| *$)/g,kx=/^ *:-+: *$/,Ox=/^ *:-+ *$/,Rx=/^ *-+: *$/,ea="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",Nx=new RegExp(`^([*_])\\1${ea}\\1\\1(?!\\1)`),Ax=new RegExp(`^([*_])${ea}\\1(?!\\1|\\w)`),Px=new RegExp(`^==${ea}==`),Ix=new RegExp(`^~~${ea}~~`),Dx=/^\\([^0-9A-Za-z\s])/,Mx=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Fx=/^\n+/,Bx=/^([ \t]*)/,Lx=/\\([^\\])/g,yh=/ *\n+$/,jx=/(?:^|\n)( *)$/,ff="(?:\\d+\\.)",df="(?:[*+-])";function Ky(e){return"( *)("+(e===1?ff:df)+") +"}const Yy=Ky(1),Zy=Ky(2);function Jy(e){return new RegExp("^"+(e===1?Yy:Zy))}const zx=Jy(1),Ux=Jy(2);function ev(e){return new RegExp("^"+(e===1?Yy:Zy)+"[^\\n]*(?:\\n(?!\\1"+(e===1?ff:df)+" )[^\\n]*)*(\\n|$)","gm")}const tv=ev(1),nv=ev(2);function rv(e){const t=e===1?ff:df;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const iv=rv(1),ov=rv(2);function vh(e,t){const n=t===1,r=n?iv:ov,i=n?tv:nv,o=n?zx:Ux;return{match(s,a,l){const u=jx.exec(l);return u&&(a.list||!a.inline&&!a.simple)?r.exec(s=u[1]+s):null},order:1,parse(s,a,l){const u=n?+s[2]:void 0,c=s[0].replace(tx,`
|
|
85
85
|
`).match(i);let g=!1;return{items:c.map(function(y,f){const v=o.exec(y)[0].length,p=new RegExp("^ {1,"+v+"}","gm"),S=y.replace(p,"").replace(o,""),h=f===c.length-1,d=S.indexOf(`
|
|
86
86
|
|
|
87
|
-
`)!==-1||h&&g;g=d;const m=l.inline,E=l.list;let w;l.list=!0,d?(l.inline=!1,w=S.replace(
|
|
87
|
+
`)!==-1||h&&g;g=d;const m=l.inline,E=l.list;let w;l.list=!0,d?(l.inline=!1,w=S.replace(yh,`
|
|
88
88
|
|
|
89
|
-
`)):(l.inline=!0,w=S.replace(
|
|
90
|
-
`).map(function(u){return
|
|
89
|
+
`)):(l.inline=!0,w=S.replace(yh,""));const b=a(w,l);return l.inline=m,l.list=E,b}),ordered:n,start:u}},render:(s,a,l)=>e(s.ordered?"ol":"ul",{key:l.key,start:s.type==="20"?s.start:void 0},s.items.map(function(u,c){return e("li",{key:c},a(u,l))}))}}const $x=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),Hx=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,sv=[$y,Hy,Gy,Vy,qy,Wy,Xy,Qy,tv,iv,nv,ov],Gx=[...sv,/^[^\n]+(?: \n|\n{2,})/,du,hu];function Vx(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function Wx(e){return Rx.test(e)?"right":kx.test(e)?"center":Ox.test(e)?"left":null}function _h(e,t,n,r){const i=n.inTable;n.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/).reduce((a,l)=>(l.trim()==="|"?a.push(r?{type:"26"}:{type:"27",text:l}):l!==""&&a.push.apply(a,t(l,n)),a),[]);n.inTable=i;let s=[[]];return o.forEach(function(a,l){a.type==="26"?l!==0&&l!==o.length-1&&s.push([]):(a.type!=="27"||o[l+1]!=null&&o[l+1].type!=="26"||(a.text=a.text.trimEnd()),s[s.length-1].push(a))}),s}function qx(e,t,n){n.inline=!0;const r=e[2]?e[2].replace(Cx,"").split("|").map(Wx):[],i=e[3]?function(s,a,l){return s.trim().split(`
|
|
90
|
+
`).map(function(u){return _h(u,a,l,!0)})}(e[3],t,n):[],o=_h(e[1],t,n,!!i.length);return n.inline=!1,i.length?{align:r,cells:i,header:o,type:"25"}:{children:o,type:"21"}}function Eh(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function en(e){return function(t,n){return n.inline?e.exec(t):null}}function tn(e){return function(t,n){return n.inline||n.simple?e.exec(t):null}}function jt(e){return function(t,n){return n.inline||n.simple?null:e.exec(t)}}function qr(e){return function(t){return e.exec(t)}}function Xx(e,t,n){if(t.inline||t.simple||n&&!n.endsWith(`
|
|
91
91
|
`))return null;let r="";e.split(`
|
|
92
92
|
`).every(o=>!sv.some(s=>s.test(o))&&(r+=o+`
|
|
93
|
-
`,o.trim()));const i=r.trimEnd();return i==""?null:[r,i]}function er(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function
|
|
93
|
+
`,o.trim()));const i=r.trimEnd();return i==""?null:[r,i]}function er(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function Sh(e){return e.replace(Lx,"$1")}function Fo(e,t,n){const r=n.inline||!1,i=n.simple||!1;n.inline=!0,n.simple=!0;const o=e(t,n);return n.inline=r,n.simple=i,o}function Qx(e,t,n){const r=n.inline||!1,i=n.simple||!1;n.inline=!1,n.simple=!0;const o=e(t,n);return n.inline=r,n.simple=i,o}function Kx(e,t,n){const r=n.inline||!1;n.inline=!1;const i=e(t,n);return n.inline=r,i}const $a=(e,t,n)=>({children:Fo(t,e[1],n)});function Ha(){return{}}function Ga(){return null}function Yx(...e){return e.filter(Boolean).join(" ")}function Va(e,t,n){let r=e;const i=t.split(".");for(;i.length&&(r=r[i[0]],r!==void 0);)i.shift();return r||n}function Zx(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||Vx,t.namedCodesToUnicode=t.namedCodesToUnicode?Mn({},gh,t.namedCodesToUnicode):gh;const n=t.createElement||N.createElement;function r(f,v,...p){const S=Va(t.overrides,`${f}.props`,{});return n(function(h,d){const m=Va(d,h);return m?typeof m=="function"||typeof m=="object"&&"render"in m?m:Va(d,`${h}.component`,h):h}(f,t.overrides),Mn({},v,S,{className:Yx(v==null?void 0:v.className,S.className)||void 0}),...p)}function i(f){f=f.replace(fx,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=xx.test(f)===!1);const p=c(u(v?f:`${f.trimEnd().replace(Fx,"")}
|
|
94
94
|
|
|
95
|
-
`,{inline:v}));for(;typeof p[p.length-1]=="string"&&!p[p.length-1].trim();)p.pop();if(t.wrapper===null)return p;const S=t.wrapper||(v?"span":"div");let h;if(p.length>1||t.forceWrapper)h=p;else{if(p.length===1)return h=p[0],typeof h=="string"?r("span",{key:"outer"},h):h;h=null}return N.createElement(S,{key:"outer"},h)}function o(f){const v=f.match(Jb);return v?v.reduce(function(p,S,h){const d=S.indexOf("=");if(d!==-1){const m=function(x){return x.indexOf("-")!==-1&&x.match(px)===null&&(x=x.replace(_x,function(T,M){return M.toUpperCase()})),x}(S.slice(0,d)).trim(),E=function(x){const T=x[0];return(T==='"'||T==="'")&&x.length>=2&&x[x.length-1]===T?x.slice(1,-1):x}(S.slice(d+1).trim()),w=
|
|
96
|
-
`},21:{match:Xx,order:3,parse:$a,render:(f,v,p)=>r("p",{key:p.key},v(f.children,p))},22:{match:en(Ex),order:0,parse:f=>(a[f[1]]={target:f[2],title:f[4]},{}),render:Ga},23:{match:tn(Sx),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,p)=>a[f.ref]?r("img",{key:p.key,alt:f.alt,src:er(a[f.ref].target),title:a[f.ref].title}):null},24:{match:en(wx),order:0,parse:(f,v,p)=>({children:v(f[1],p),fallbackChildren:v(f[0].replace(bx,"\\$1"),p),ref:f[2]}),render:(f,v,p)=>a[f.ref]?r("a",{key:p.key,href:er(a[f.ref].target),title:a[f.ref].title},v(f.children,p)):r("span",{key:p.key},v(f.fallbackChildren,p))},25:{match:jt(Qy),order:1,parse:qx,render(f,v,p){const S=f;return r("table",{key:p.key},r("thead",null,r("tr",null,S.header.map(function(h,d){return r("th",{key:d,style:
|
|
97
|
-
`).replace(cx,"").replace(Tx," ")}(S),h)}}(l),c=(g=function(f,v){return function(p,S,h){const d=f[p.type].render;return v?v(()=>d(p,S,h),p,S,h):d(p,S,h)}}(l,t.renderRule),function f(v,p={}){if(Array.isArray(v)){const S=p.key,h=[];let d=!1;for(let m=0;m<v.length;m++){p.key=m;const E=f(v[m],p),w=typeof E=="string";w&&d?h[h.length-1]+=E:E!==null&&h.push(E),d=w}return p.key=S,h}return g(v,f,p)});var g;const y=i(e);return s.length?r("div",null,y,r("footer",{key:"footer"},s.map(function(f){return r("div",{id:t.slugify(f.identifier),key:f.identifier},f.identifier,c(u(f.footnote,{inline:!0})))}))):y}const vn=e=>{let{children:t="",options:n}=e,r=function(i,o){if(i==null)return{};var s,a,l={},u=Object.keys(i);for(a=0;a<u.length;a++)o.indexOf(s=u[a])>=0||(l[s]=i[s]);return l}(e,Yb);return N.cloneElement(Zx(t,n),r)};var av={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Sh=vt.createContext&&vt.createContext(av),Jx=["attr","size","title"];function eT(e,t){if(e==null)return{};var n=tT(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tT(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ps(){return ps=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},ps.apply(this,arguments)}function wh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ms(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wh(Object(n),!0).forEach(function(r){nT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function nT(e,t,n){return t=rT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rT(e){var t=iT(e,"string");return typeof t=="symbol"?t:t+""}function iT(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function lv(e){return e&&e.map((t,n)=>vt.createElement(t.tag,ms({key:n},t.attr),lv(t.child)))}function uv(e){return t=>vt.createElement(oT,ps({attr:ms({},e.attr)},t),lv(e.child))}function oT(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=eT(e,Jx),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),vt.createElement("svg",ps({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:ms(ms({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&vt.createElement("title",null,o),e.children)};return Sh!==void 0?vt.createElement(Sh.Consumer,null,n=>t(n)):t(av)}function sT(e){return uv({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"},child:[]}]})(e)}function aT(e){return uv({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"},child:[]}]})(e)}const wt=()=>{const e=Ks();return n=>{const r=e.formatMessage({id:n});return r===n?void 0:r}},lT="_generalConditionsContainer_1ijeb_1",uT="_generalConditions_1ijeb_1",cT="_generalConditionsHeader_1ijeb_15",fT="_generalConditionsBody_1ijeb_25",dT="_generalConditionsAccept_1ijeb_33",Xr={generalConditionsContainer:lT,generalConditions:uT,generalConditionsHeader:cT,generalConditionsBody:fT,generalConditionsAccept:dT},hT="general-conditions.header",pT="general-conditions.body",bh="general-conditions.accept-conditions-note",mT=()=>{const e=wt(),[t,n]=N.useState(!1),r=()=>n(!t),i=a=>{a.key==="ArrowDown"||a.key==="ArrowRight"?n(!0):a.key==="ArrowUp"||a.key==="ArrowLeft"||a.key==="Escape"?n(!1):(a.key==="Enter"||a.key==="Space"||a.key===" ")&&r()},o=e(hT),s=e(bh);return _.jsxs("div",{className:R(Xr.generalConditionsContainer,"chat__generalConditions"),children:[!!(o!=null&&o.length)&&_.jsxs("div",{className:Xr.generalConditions,children:[_.jsxs("div",{role:"button",onClick:r,onKeyDown:i,tabIndex:0,className:R(Xr.generalConditionsHeader,"chat__generalConditions__header"),"aria-controls":"general-conditions-body","aria-expanded":t?"true":"false","aria-pressed":t?"true":"false",children:[_.jsx(vn,{children:o}),t?_.jsx(aT,{}):_.jsx(sT,{})]}),_.jsx("div",{className:R(Xr.generalConditionsBody,"chat__generalConditions__body"),id:"general-conditions-body",role:"region",tabIndex:-1,children:t&&_.jsx(vn,{children:e(pT)||""})})]}),!!(s!=null&&s.length)&&_.jsx("div",{className:R(Xr.generalConditionsAccept,"chat__generalConditions__accept"),tabIndex:0,children:_.jsx(vn,{children:e(bh)||""})})]})},gT="_message_1exlf_5",yT="_messageBot_1exlf_11",vT="_messageBotLast_1exlf_15",_T="_avatar_1exlf_15",ET="_messageBotFirst_1exlf_19",ST="_messageBotAnimated_1exlf_32",wT="_fadeInLeft_1exlf_1",bT="_messageGuest_1exlf_43",xT="_messageGuestFirst_1exlf_49",TT="_messageGuestLast_1exlf_55",CT="_botAvatar_1exlf_69",kT="_agentAvatar_1exlf_73",OT="_bubble_1exlf_77",RT="_bubbleContent_1exlf_83",NT="_bubbleLeft_1exlf_174",AT="_leftText_1exlf_183",PT="_bubbleRight_1exlf_190",IT="_rightText_1exlf_198",B={message:gT,messageBot:yT,messageBotLast:vT,avatar:_T,messageBotFirst:ET,messageBotAnimated:ST,fadeInLeft:wT,messageGuest:bT,messageGuestFirst:xT,messageGuestLast:TT,botAvatar:CT,agentAvatar:kT,bubble:OT,bubbleContent:RT,bubbleLeft:NT,leftText:AT,bubbleRight:PT,rightText:IT},DT="_problemReport_j3gru_1",MT="_problemReportIcon_j3gru_7",FT="_problemReportIconActive_j3gru_13",BT="_problemReportIconInactive_j3gru_21",Qr={problemReport:DT,problemReportIcon:MT,problemReportIconActive:FT,problemReportIconInactive:BT},LT=({reported:e,onReport:t})=>{const n=wt(),r=o=>()=>t(o),i=o=>s=>{s.key==="Enter"&&t(o)};return _.jsx("div",{className:Qr.problemReport,children:e?_.jsx("div",{role:"button",onClick:r(null),onKeyDown:i(null),tabIndex:0,className:R(Qr.problemReportIcon,"chat__problemReportIcon","chat_problemReportIcon",Qr.problemReportIconActive,"chat__problemReportIcon-active","chat_problemReportIcon-active"),children:_.jsx("img",{src:"problem-report-active.svg",title:n("problem-report.action.unmark"),alt:"Report"})}):_.jsx("div",{role:"button",onClick:r("unspecified"),onKeyDown:i("unspecified"),tabIndex:0,className:R(Qr.problemReportIcon,"chat_problemReportIcon",Qr.problemReportIconInactive,"chat_problemReportIcon-inactive"),children:_.jsx("img",{src:"problem-report-inactive.svg",title:n("problem-report.action.mark"),alt:"Report"})})})},cv=N.forwardRef(({message:e,problemReportingEnabled:t,isAnimated:n,isFirstMessageBySender:r,isLastMessageBySender:i,children:o,onProblemReport:s},a)=>{var c;const l=wt(),u=e.sender.type===U.UserType.BOT;return _.jsxs("li",{ref:a,className:R(B.message,B.messageBot,r&&B.messageBotFirst,i&&B.messageBotLast,"chat__bubbleContainer",n&&B.messageBotAnimated,n&&"chat__bubbleContainer--animated",u?"chat__botBubbleContainer":"chat__agentBubbleContainer",r&&"chat__bubbleContainer--first",i&&"chat__bubbleContainer--last"),children:[_.jsx("img",{className:R(B.avatar,u?B.botAvatar:B.agentAvatar,"chat__avatar",u?"chat__botAvatar":"chat__agentAvatar"),src:`${e.sender.avatar}`,alt:u?"Bot":"Agent",referrerPolicy:"no-referrer"}),_.jsx("div",{className:R(B.bubble,B.bubbleLeft,"chat__bubble",u?"chat__botBubble":"chat__agentBubble"),tabIndex:0,"aria-label":l(u?"bot-bubble.label":"agent-bubble.label"),children:_.jsx("div",{className:R(B.leftText),children:o})}),t&&s&&_.jsx(LT,{reported:!!((c=e.problemReport)!=null&&c.length),onReport:s})]})}),jT="_title_1mhh2_1",zT="_subtitle_1mhh2_6",UT="_buttons_1mhh2_11",$T="_button_1mhh2_11",HT="_imageContainer_1mhh2_33",GT="_image_1mhh2_33",VT="_video_container_1mhh2_44",WT="_video_1mhh2_44",qT="_only_1mhh2_54",Me={title:jT,subtitle:zT,buttons:UT,button:$T,imageContainer:HT,image:GT,video_container:VT,video:WT,only:qT},XT=({buttons:e,onButtonClick:t})=>_.jsx("div",{className:R(Me.buttons,"chat__bubbleButtons"),children:e.map((n,r)=>_.jsx("button",{className:R(Me.button,we.button,"chat__bubbleButton"),onClick:()=>t(n),children:n.title},r))});var fv={},df={},hf={};Object.defineProperty(hf,"__esModule",{value:!0});var QT=N,KT=YT(QT);function YT(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}hf.default=function(e,t,n){return KT.createElement("a",{href:e,key:n},t)};var pf={};Object.defineProperty(pf,"__esModule",{value:!0});pf.default=function(e){return e};var mf={},Wa,xh;function ZT(){return xh||(xh=1,Wa=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Wa}var qa,Th;function JT(){return Th||(Th=1,qa=/[\0-\x1F\x7F-\x9F]/),qa}var Xa,Ch;function e2(){return Ch||(Ch=1,Xa=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Xa}var Qa,kh;function t2(){return kh||(kh=1,Qa=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/),Qa}var Ka,Oh;function n2(){return Oh||(Oh=1,Ka=function(e){var t={};t.src_Any=ZT().source,t.src_Cc=JT().source,t.src_Z=e2().source,t.src_P=t2().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),Ka}function pu(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function ta(e){return Object.prototype.toString.call(e)}function r2(e){return ta(e)==="[object String]"}function i2(e){return ta(e)==="[object Object]"}function o2(e){return ta(e)==="[object RegExp]"}function Rh(e){return ta(e)==="[object Function]"}function s2(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var dv={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function a2(e){return Object.keys(e||{}).reduce(function(t,n){return t||dv.hasOwnProperty(n)},!1)}var l2={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},u2="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",c2="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function f2(e){e.__index__=-1,e.__text_cache__=""}function d2(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Nh(){return function(e,t){t.normalize(e)}}function gs(e){var t=e.re=n2()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(u2),n.push(t.src_xn),t.src_tlds=n.join("|");function r(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];e.__compiled__={};function o(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(e.__schemas__).forEach(function(a){var l=e.__schemas__[a];if(l!==null){var u={validate:null,link:null};if(e.__compiled__[a]=u,i2(l)){o2(l.validate)?u.validate=d2(l.validate):Rh(l.validate)?u.validate=l.validate:o(a,l),Rh(l.normalize)?u.normalize=l.normalize:l.normalize?o(a,l):u.normalize=Nh();return}if(r2(l)){i.push(a);return}o(a,l)}}),i.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:Nh()};var s=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(s2).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),f2(e)}function h2(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function Ah(e,t){var n=new h2(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function st(e,t){if(!(this instanceof st))return new st(e,t);t||a2(e)&&(t=e,e={}),this.__opts__=pu({},dv,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=pu({},l2,e),this.__compiled__={},this.__tlds__=c2,this.__tlds_replaced__=!1,this.re={},gs(this)}st.prototype.add=function(t,n){return this.__schemas__[t]=n,gs(this),this};st.prototype.set=function(t){return this.__opts__=pu(this.__opts__,t),this};st.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,r,i,o,s,a,l,u,c;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(o=this.testSchemaAt(t,n[2],l.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u<this.__index__)&&(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(s=r.index+r[1].length,(this.__index__<0||s<this.__index__)&&(this.__schema__="",this.__index__=s,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&(i=t.match(this.re.email_fuzzy))!==null&&(s=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||s<this.__index__||s===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=a))),this.__index__>=0};st.prototype.pretest=function(t){return this.re.pretest.test(t)};st.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};st.prototype.match=function(t){var n=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(Ah(this,n)),n=this.__last_index__);for(var i=n?t.slice(n):t;this.test(i);)r.push(Ah(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};st.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,o){return r!==o[i-1]}).reverse(),gs(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,gs(this),this)};st.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};st.prototype.onCompile=function(){};var p2=st;const m2=["aaa","aarp","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","vermögensberater","vermögensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","اتصالات","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"];Object.defineProperty(mf,"__esModule",{value:!0});var g2=p2,y2=hv(g2),v2=m2,_2=hv(v2);function hv(e){return e&&e.__esModule?e:{default:e}}var pv=new y2.default;pv.tlds(_2.default);mf.default=function(e){return pv.match(e)};var gf={};Object.defineProperty(gf,"__esModule",{value:!0});gf.default=function(e){return e};Object.defineProperty(df,"__esModule",{value:!0});var E2=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),S2=N,Kr=N2(S2),w2=hf,b2=na(w2),x2=pf,T2=na(x2),C2=mf,k2=na(C2),O2=gf,R2=na(O2);function na(e){return e&&e.__esModule?e:{default:e}}function N2(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function A2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P2(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function I2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var mv=function(e){I2(t,e);function t(){return A2(this,t),P2(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E2(t,[{key:"parseString",value:function(r){var i=this;if(r==="")return r;var o=this.props.matchDecorator(r);if(!o)return r;var s=[],a=0;return o.forEach(function(l,u){l.index>a&&s.push(r.substring(a,l.index));var c=i.props.hrefDecorator(l.url),g=i.props.textDecorator(l.text),y=i.props.componentDecorator(c,g,u);s.push(y),a=l.lastIndex}),r.length>a&&s.push(r.substring(a)),s.length===1?s[0]:s}},{key:"parse",value:function(r){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof r=="string"?this.parseString(r):Kr.isValidElement(r)&&r.type!=="a"&&r.type!=="button"?Kr.cloneElement(r,{key:o},this.parse(r.props.children)):Array.isArray(r)?r.map(function(s,a){return i.parse(s,a)}):r}},{key:"render",value:function(){return Kr.createElement(Kr.Fragment,null,this.parse(this.props.children))}}]),t}(Kr.Component);mv.defaultProps={componentDecorator:b2.default,hrefDecorator:T2.default,matchDecorator:k2.default,textDecorator:R2.default};df.default=mv;Object.defineProperty(fv,"__esModule",{value:!0});var D2=df,M2=F2(D2);function F2(e){return e&&e.__esModule?e:{default:e}}var B2=fv.default=M2.default;const L2="_text_1k7aq_1",j2={text:L2},gv=({text:e,onLinkClick:t})=>{const n=i=>o=>(o.preventDefault(),i&&t(i),!1),r=(i,o,s)=>_.jsx("a",{onClick:n(i),role:"button",children:o},s);return _.jsx("div",{children:e.split(`
|
|
98
|
-
`).map((i,o)=>_.jsxs("span",{className:j2.text,children:[_.jsx(B2,{componentDecorator:r,children:i}),_.jsx("br",{})]},o))})},z2=({subtitle:e,onLinkClick:t})=>e?_.jsx("div",{className:Me.subtitle,children:_.jsx(gv,{text:e,onLinkClick:t})}):null,Ph="newtab#",yv=({markdown:e,onLinkClick:t})=>{const n=i=>o=>(o.preventDefault(),i&&t(i),!1),r=({title:i,href:o,children:s})=>o.indexOf(Ph)===0?_.jsx("a",{href:o.slice(Ph.length),title:i,target:"_blank",rel:"noopener noreferrer",children:s}):_.jsx("a",{onClick:n(o),title:i,children:s});return _.jsx(vn,{options:{overrides:{a:r}},children:e})},U2=({text:e,onLinkClick:t})=>e?_.jsx("div",{children:_.jsx(yv,{markdown:e,onLinkClick:t})}):null,$2=({title:e})=>e?_.jsx("h1",{className:Me.title,children:e}):null,H2=({title:e,text:t,subtitle:n,buttons:r,onButtonClick:i,onLinkClick:o})=>(e==null?void 0:e.length)||(t==null?void 0:t.length)||(n==null?void 0:n.length)||(r==null?void 0:r.length)?_.jsxs("div",{className:R(B.bubbleContent),children:[_.jsx($2,{title:e}),_.jsx(U2,{text:t,onLinkClick:o}),_.jsx(z2,{subtitle:n,onLinkClick:o}),_.jsx(XT,{buttons:r,onButtonClick:i})]}):null,G2=({alt:e,imageUrl:t,itemUrl:n,hasBody:r})=>t?n?n.indexOf("youtube.com")>-1?_.jsx("div",{className:Me.video_container,children:_.jsx("iframe",{className:R(Me.video,{[Me.only]:!r}),title:"Youtube",width:"100%",src:n+"?rel=0",frameBorder:"0",allowFullScreen:!0})}):_.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",children:_.jsx("div",{className:Me.imageContainer,children:_.jsx("img",{className:R(Me.image,{[Me.only]:!r}),src:t,alt:e})})}):_.jsx("div",{className:Me.imageContainer,children:_.jsx("img",{className:R(Me.image,{[Me.only]:!r}),src:t,alt:e})}):null,V2=({title:e,text:t,subtitle:n,imageUrl:r,itemUrl:i,buttons:o,onButtonClick:s,onLinkClick:a})=>{const l=!!(e!=null&&e.length)||!!(t!=null&&t.length)||!!(n!=null&&n.length)||!!(o!=null&&o.length);return _.jsxs("div",{className:R(Me.detailMessage),children:[_.jsx(G2,{hasBody:l,imageUrl:r,itemUrl:i,alt:e||n}),l&&_.jsx(H2,{title:e,text:t,subtitle:n,buttons:o,onLinkClick:a,onButtonClick:s})]})},W2=N.forwardRef(({isFirstMessageBySender:e,isLastMessageBySender:t,children:n},r)=>{const i=wt();return _.jsx("li",{ref:r,className:R(B.message,B.messageGuest,e&&B.messageGuestFirst,t&&B.messageGuestLast,"chat__bubbleContainer","chat__guestBubbleContainer",e&&"chat__bubbleContainer--first",t&&"chat__bubbleContainer--last"),children:_.jsx("div",{className:R(B.bubble,B.bubbleRight,"chat__bubble","chat__guestBubble"),tabIndex:0,"aria-label":i("guest-bubble.label"),children:_.jsx("div",{className:R(B.rightText),children:n})})})}),q2=({markdown:e,className:t,onLinkClick:n})=>_.jsx("div",{className:R(B.bubbleContent,t),children:_.jsx(yv,{markdown:e,onLinkClick:n})}),X2=({text:e,onLinkClick:t})=>_.jsx("div",{className:B.bubbleContent,children:_.jsx(gv,{text:e,onLinkClick:t})}),Q2=N.forwardRef(({message:e,problemReportingEnabled:t,isFirstMessageBySender:n,isLastMessageBySender:r,onProblemReport:i,onButtonClick:o,onLinkClick:s},a)=>{const l=K2(e,o,s);switch(e.sender.type){case U.UserType.GUEST:return _.jsx(W2,{ref:a,isFirstMessageBySender:n,isLastMessageBySender:r,children:l});default:const u=c=>i(e._id,c);return _.jsx(cv,{ref:a,message:e,problemReportingEnabled:t,isAnimated:!1,isFirstMessageBySender:n,isLastMessageBySender:r,onProblemReport:u,children:l})}}),K2=(e,t,n)=>{switch(e.type){case U.MessageTypeEnum.TEXT:const r=e;return _.jsx(X2,{text:r.text,onLinkClick:n});case U.MessageTypeEnum.DETAIL:const i=e;return _.jsx(V2,{title:i.title,text:i.text,subtitle:i.subtitle,imageUrl:i.imageUrl,itemUrl:i.itemUrl,buttons:i.buttons,onButtonClick:t,onLinkClick:n});case U.MessageTypeEnum.MARKDOWN:const o=e;return _.jsx(q2,{markdown:o.markdown,className:o.className,onLinkClick:n})}},Y2=(e,t)=>e.message._id===t.message._id&&e.message.problemReport===t.message.problemReport&&e.problemReportingEnabled===t.problemReportingEnabled&&e.isFirstMessageBySender===t.isFirstMessageBySender&&e.isLastMessageBySender===t.isLastMessageBySender,Z2=vt.memo(Q2,Y2),J2="_ticontainer_wftg7_1",eC="_tiblock_wftg7_5",tC="_tidot_wftg7_12",nC="_mercuryTypingAnimation_wftg7_1",Yr={ticontainer:J2,tiblock:eC,tidot:tC,mercuryTypingAnimation:nC},rC=({isTyping:e=!1})=>_.jsx("div",{className:Yr.ticontainer,children:_.jsx("div",{className:Yr.tiblock,children:e?_.jsxs(_.Fragment,{children:[_.jsx("div",{className:R(Yr.tidot,"chat__typingIndicator")}),_.jsx("div",{className:R(Yr.tidot,"chat__typingIndicator")}),_.jsx("div",{className:R(Yr.tidot,"chat__typingIndicator")})]}):null})}),iC=Object.assign({_id:"typing-indicator"},new U.TextMessage("",new U.BotUser)),oC=({messages:e,isBotTyping:t,showGeneralConditions:n,problemReportingEnabled:r,onProblemReport:i,onButtonClick:o,onLinkClick:s})=>{const a=N.useRef(!0),l=N.useRef(null),u=N.useRef(null),c=N.useRef(null);N.useLayoutEffect(()=>{if(e.length&&l.current){if(u.current){const f=u.current.offsetTop;l.current.scrollTop=f}else if(c.current){const f=c.current.offsetTop;l.current.scrollTop=f}a.current&&(a.current=!1)}},[e,u.current,c.current,a]);let g;const y=e.length;return _.jsxs("div",{ref:l,className:R(fh.messageContainer,"chat__messageContainer"),style:{scrollBehavior:e.length&&a.current?"auto":"smooth"},id:"MessageContainer",role:"log","aria-live":"polite",children:[n&&_.jsx(mT,{}),_.jsxs("ul",{className:fh.messages,children:[e.map((f,v)=>{const p=sC(f,g),S=aC(f,v,e,t);g=f.sender.type;const h=v+1===y;return _.jsx(Z2,{ref:h?c:null,message:f,problemReportingEnabled:r,isFirstMessageBySender:p,isLastMessageBySender:S,onButtonClick:o,onLinkClick:s,onProblemReport:i},h&&!t?"last":f._id)}),t&&_.jsx(cv,{ref:u,message:iC,problemReportingEnabled:!1,isAnimated:!0,isFirstMessageBySender:g!==U.UserType.BOT,isLastMessageBySender:!0,children:_.jsx(rC,{isTyping:!0})},"last")]})]})},sC=(e,t)=>!t||t!==e.sender.type,aC=(e,t,n,r)=>{var a;const i=e.sender.type,o=n.length;return t+1===o?!(i===U.UserType.BOT&&r):i!==((a=n.at(t+1))==null?void 0:a.sender.type)},lC="_container_t5oqt_1",uC={container:lC},cC=({title:e,href:t,children:n})=>_.jsx("a",{href:t,title:e,target:"_blank",rel:"noopener noreferrer",children:n}),fC=()=>{const t=wt()("powered-by");return t&&t.length?_.jsx("div",{className:R(uC.container,"chat__poweredBy"),children:_.jsx(vn,{options:{overrides:{a:cC}},children:t})}):null},dC="_container_fgqz2_1",hC="_containerOpen_fgqz2_48",pC="_containerClose_fgqz2_52",mC="_formContainer_fgqz2_56",gC="_emailInput_fgqz2_61",yC="_description_fgqz2_90",vC="_actions_fgqz2_95",_C="_validationError_fgqz2_105",EC="_submitted_fgqz2_112",dt={container:dC,containerOpen:hC,"slide-in":"_slide-in_fgqz2_1",containerClose:pC,"slide-out":"_slide-out_fgqz2_1",formContainer:mC,emailInput:gC,description:yC,actions:vC,validationError:_C,submitted:EC},SC=({visible:e,methods:t,onEmailExport:n,onPdfExport:r,onClose:i})=>{const o=wt(),[s,a]=N.useState(void 0),[l,u]=N.useState(!1),[c,g]=N.useState(!1),[y,f]=N.useState(void 0),v=N.useRef(null);N.useEffect(()=>{var d;e?((d=v.current)==null||d.focus(),u(!1),g(!1),a(e)):s===!0&&a(!1)},[e,s]);const p=d=>{d.preventDefault(),y&&y.length>0&&(n(y),u(!0),setTimeout(i,3*1e3))},S=d=>{const m=d.target.value.trim(),E=/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(m);f(E?m:"")},h=()=>{g(!0),r(),setTimeout(i,3*1e3)};return _.jsxs("div",{className:R(dt.container,{[dt.containerOpen]:s===!0,[dt.containerClose]:s===!1}),children:[t.pdf&&_.jsxs(_.Fragment,{children:[_.jsx("h2",{children:o("export-transcript.pdf.title")}),_.jsx(vn,{className:dt.description,children:o("export-transcript.pdf.description")||""}),_.jsxs("div",{className:dt.actions,children:[_.jsx("button",{type:"button",className:R(we.button,we.buttonDefault),onClick:i,children:o("export-transcript.pdf.cancel")}),_.jsx("button",{className:R(we.button,we.buttonPrimary),onClick:h,disabled:c,children:o("export-transcript.pdf.download")})]})]}),t.email&&_.jsxs(_.Fragment,{children:[_.jsx("h2",{children:o("export-transcript.email.title")}),_.jsx(vn,{className:dt.description,children:o("export-transcript.email.description")||""}),_.jsxs("form",{onSubmit:p,className:dt.formContainer,children:[_.jsxs("div",{children:[_.jsx("input",{disabled:l,ref:v,type:"email",placeholder:o("export-transcript.email.placeholder"),className:dt.emailInput,onChange:S}),(y==null?void 0:y.length)===0?_.jsx("div",{className:dt.validationError,children:o("export-transcript.email.invalid")}):null]}),_.jsxs("div",{className:dt.actions,children:[_.jsx("button",{type:"button",className:R(we.button,we.buttonDefault),onClick:i,children:o("export-transcript.email.cancel")}),_.jsx("button",{type:"submit",disabled:l||y===void 0||y.length===0,className:R(we.button,we.buttonPrimary),children:o("export-transcript.email.send")})]})]}),l&&_.jsx("div",{className:dt.submitted,children:o("export-transcript.email.success")})]})]})},wC="_inputContainer_1px77_1",bC={inputContainer:wC},xC="_blockUserInput_rv0dg_1",TC={blockUserInput:xC,"append-animate":"_append-animate_rv0dg_1"},CC=({visible:e})=>{const t=wt();return e?_.jsx("div",{className:R(TC.blockUserInput,"chat__blockUserInput"),children:t("block-user-input.title")}):null},kC="_callToActionContainer_1t611_1",OC="_callToActionTitle_1t611_24",RC="_rateOverlay_1t611_31",NC="_body_1t611_61",AC="_rateOverlayOpen_1t611_92",PC="_rateOverlayClose_1t611_96",IC="_footer_1t611_100",DC="_actions_1t611_115",MC="_bubbles_1t611_127",FC="_rateFeedbackBotBubble_1t611_154",BC="_rateFeedbackGuestBubble_1t611_160",LC="_avatar_1t611_166",jC="_fadeInLeft_1t611_1",zC="_bubble_1t611_127",UC="_appear_1t611_1",$C="_botBubble_1t611_192",HC="_guestBubble_1t611_202",GC="_rateText_1t611_218",VC="_stars_1t611_223",WC="_starsSmall_1t611_236",qC="_starsLarge_1t611_240",XC="_star_1t611_223",QC="_starReadonly_1t611_257",KC="_starIcon_1t611_265",YC="_starsDescriptionContainer_1t611_283",ZC="_starsDescription_1t611_283",Se={callToActionContainer:kC,"append-animate":"_append-animate_1t611_1",callToActionTitle:OC,rateOverlay:RC,body:NC,rateOverlayOpen:AC,"slide-in":"_slide-in_1t611_1",rateOverlayClose:PC,"slide-out":"_slide-out_1t611_1",footer:IC,actions:DC,bubbles:MC,rateFeedbackBotBubble:FC,rateFeedbackGuestBubble:BC,avatar:LC,fadeInLeft:jC,bubble:zC,appear:UC,botBubble:$C,guestBubble:HC,rateText:GC,stars:VC,starsSmall:WC,starsLarge:qC,star:XC,starReadonly:QC,starIcon:KC,starsDescriptionContainer:YC,starsDescription:ZC},JC=({value:e,index:t,count:n,readonly:r,onHover:i,onClick:o})=>{const s=a=>{o&&a.key==="Enter"&&o()};return _.jsx("li",{className:R(Se.star,{[Se.starReadonly]:r},"chat__conversationRating__star"),children:_.jsx("div",{role:"radio","aria-checked":e>t?"true":"false","aria-posinset":t+1,"aria-setsize":n,tabIndex:0,onMouseOver:i,onKeyDown:s,onClick:o,children:_.jsx("span",{role:"img","aria-label":"Star",className:R(Se.starIcon),children:_.jsx("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:_.jsx("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"})})})})})},Ih=5,vv=({value:e,size:t,readonly:n=!1,onChange:r})=>{const[i,o]=N.useState(void 0),s=()=>{o(void 0)},a=u=>()=>{if(!n){const c=u+1;o(c)}},l=u=>()=>{r&&!n&&(r(u===0&&e===1?0:u+1),o(void 0))};return _.jsx("ul",{tabIndex:0,role:"radiogroup",className:R(Se.stars,{[Se.starsSmall]:t==="small",[Se.starsLarge]:t==="large"},"chat__conversationRating__stars",{chat__conversationRating__stars__small:t==="small",chat__conversationRating__stars__large:t==="large"}),onMouseOut:s,children:Array(Ih).fill(0).map((u,c)=>_.jsx(JC,{value:i===void 0?e:i,index:c,count:Ih,readonly:n,onHover:a(c),onClick:l(c)},c))})},ek=({visible:e,onRate:t})=>{const n=wt();return e?_.jsxs("div",{className:R(Se.callToActionContainer,"chat__conversationRating__callToAction"),children:[_.jsx("div",{className:R(Se.callToActionTitle,"chat__conversationRating__callToAction__title"),children:n("conversation-rating.call-to-action.title")}),_.jsx(vv,{value:0,size:"small",onChange:t})]}):null},Dh=({isFirstMessageBySender:e,isLastMessageBySender:t,children:n})=>_.jsxs("div",{className:R(B.message,B.messageBot,e&&B.messageBotFirst,t&&B.messageBotLast,"chat__bubbleContainer","chat__botBubbleContainer",e&&"chat__bubbleContainer--first",t&&"chat__bubbleContainer--last"),children:[_.jsx("img",{className:R(B.avatar,B.botAvatar),src:"bot.svg",alt:"Bot"}),_.jsx("div",{className:R(B.bubble,B.bubbleLeft,"chat__bubble","chat__botBubble"),children:_.jsx("div",{className:R(B.leftText,B.bubbleContent),children:n})})]}),tk=({children:e})=>_.jsx("div",{className:R(B.message,B.messageGuest,B.messageGuestFirst,B.messageGuestLast,"chat__bubbleContainer","chat__guestBubbleContainer","chat__bubbleContainer--first","chat__bubbleContainer--last"),children:_.jsx("div",{className:R(B.bubble,B.bubbleRight,"chat__bubble","chat__guestBubble"),children:_.jsx("div",{className:R(B.rightText,B.bubbleContent),children:e})})}),nk=({visible:e,rating:t,onRate:n,onClose:r})=>{const i=wt(),[o,s]=N.useState(t),[a,l]=N.useState(void 0),[u,c]=N.useState(void 0),[g,y]=N.useState({submitted:!1,feedback:""}),[f,v]=N.useState(!1),p=N.useRef(null);N.useEffect(()=>{e?(y({submitted:!1,feedback:""}),c(e)):u===!0&&c(!1)},[e,u]),N.useEffect(()=>{s(t)},[t]),N.useEffect(()=>{const h=i(`conversation-rating.overlay.bot-message.rate-feedback.value-${o}`);l(h!=null&&h.length?h:void 0)},[o,i]),N.useEffect(()=>{g.submitted?setTimeout(()=>v(!0),g.feedback.length?500:0):v(!1)},[g]);const S=h=>{var m,E;h.preventDefault();const d=((E=(m=p.current)==null?void 0:m.value)==null?void 0:E.trim())||"";n(o,d),y({submitted:!0,feedback:d})};return _.jsx("div",{className:R(Se.rateOverlay,"chat__conversationRating__overlay",{[Se.rateOverlayOpen]:u===!0,[Se.rateOverlayClose]:u===!1}),children:_.jsxs("form",{onSubmit:S,children:[_.jsxs("div",{className:R(Se.body,"chat__conversationRating__overlay__body"),children:[_.jsxs("div",{children:[_.jsx("h2",{children:i("conversation-rating.overlay.title")}),_.jsxs("div",{className:R(Se.starsDescriptionContainer),children:[_.jsx(vv,{value:o,size:"large",readonly:g.submitted,onChange:s}),_.jsxs("div",{className:R(Se.starsDescription),children:[_.jsx("div",{children:i("conversation-rating.overlay.star.very-bad")}),_.jsx("div",{children:i("conversation-rating.overlay.star.very-good")})]})]})]}),_.jsx("div",{className:R(Se.bubbles),children:e&&a&&_.jsxs(_.Fragment,{children:[_.jsx(Dh,{isFirstMessageBySender:!0,isLastMessageBySender:!f||!!g.feedback.length,children:_.jsx("div",{children:a})}),!!g.feedback.length&&_.jsx(tk,{children:g.feedback}),f&&_.jsx(Dh,{isFirstMessageBySender:!!g.feedback.length,isLastMessageBySender:!0,children:_.jsx("div",{children:i("conversation-rating.overlay.bot-message.submit-feedback")})})]})})]}),_.jsxs("div",{className:R(Se.footer,"chat__conversationRating__overlay__footer"),children:[!g.submitted&&_.jsx("input",{ref:p,placeholder:i("conversation-rating.overlay.guest-feedback.input-placeholder")}),_.jsx("div",{className:R(Se.actions,"chat__conversationRating__overlay__footer__actions"),children:g.submitted?_.jsx("button",{type:"button",className:R(we.button,we.buttonPrimary),onClick:r,children:i("conversation-rating.overlay.action.close")}):_.jsx("button",{type:"submit",className:R(we.button,we.buttonPrimary),children:i("conversation-rating.overlay.action.submit")})})]})]})})},rk=({conversationRating:{enabled:e,rating:t},numberOfMessagesFromGuest:n,showRatingOverlay:r,setShowRatingOverlay:i,onRate:o})=>{const[s,a]=N.useState(0),l=g=>{a(g),i(!0)},u=()=>i(!1),c=!t&&n>=1;return e?_.jsxs(_.Fragment,{children:[_.jsx(ek,{visible:c,onRate:l}),_.jsx(nk,{visible:r,rating:s,onRate:o,onClose:u})]}):null},ik="_inputWrapper_lbrof_5",ok="_messageInputWrapper_lbrof_14",sk="_messageInput_lbrof_14",ak="_buttons_lbrof_36",lk="_button_lbrof_36",tr={inputWrapper:ik,messageInputWrapper:ok,messageInput:sk,buttons:ak,button:lk},uk="_audioRecorder_12g22_5",ck="_recordButton_12g22_10",fk="_submitButton_12g22_37",dk="_cancelButton_12g22_64",hk="_recorderIcon_12g22_91",pk="_pulse_12g22_1",mk="_spinning_12g22_113",gk="_spin_12g22_113",An={audioRecorder:uk,recordButton:ck,submitButton:fk,cancelButton:dk,recorderIcon:hk,pulse:pk,spinning:mk,spin:gk},Mh=2048,ys=16e3;class yk extends vt.Component{constructor(n){super(n);V(this,"audioInput",null);V(this,"volume",null);V(this,"leftchannel",[]);V(this,"recorder",null);V(this,"recordingLength",0);V(this,"sampleRate",null);V(this,"mediaStream",null);this.state={recordingState:"none"},this.triggerAudioRecording=this.triggerAudioRecording.bind(this),this.triggerAudioRecordingSuccess=this.triggerAudioRecordingSuccess.bind(this),this.initRecording=this.initRecording.bind(this),this.processRecordingInput=this.processRecordingInput.bind(this),this.handleClickSubmitAudio=this.handleClickSubmitAudio.bind(this),this.handleClickStopAudio=this.handleClickStopAudio.bind(this)}triggerAudioRecording(){this.setState({recordingState:"connecting"}),navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(this.triggerAudioRecordingSuccess)}triggerAudioRecordingSuccess(n){this.mediaStream=n,this.leftchannel.length=0,this.recordingLength=0,this.initRecording(n)}initRecording(n){var r=window.AudioContext||window.webkitAudioContext,i=new r;this.sampleRate=i.sampleRate,this.volume=i.createGain(),this.audioInput=i.createMediaStreamSource(n),this.audioInput.connect(this.volume),this.recorder=i.createScriptProcessor(Mh,1,1),this.recorder.onaudioprocess=this.processRecordingInput,this.volume.connect(this.recorder),this.recorder.connect(i.destination)}processRecordingInput(n){if(this.state.recordingState==="connecting"&&this.setState({recordingState:"recording"}),this.state.recordingState!=="none"){const r=n.inputBuffer.getChannelData(0);this.leftchannel.push(new Float32Array(r)),this.recordingLength+=Mh}}handleClickSubmitAudio(){const n=_k(this.leftchannel,this.recordingLength),r=Ek(n,this.sampleRate||0),i=vk(r);this.props.onAudioRecorded(i),this.handleClickStopAudio()}handleClickStopAudio(){var n,r,i,o;this.setState({recordingState:"none"}),(n=this.audioInput)==null||n.disconnect(),(r=this.volume)==null||r.disconnect(),(i=this.recorder)==null||i.disconnect(),this.mediaStream&&((o=this.mediaStream)==null||o.getAudioTracks().forEach(s=>{s.stop()}))}render(){return _.jsxs("div",{className:An.audioRecorder,children:[this.state.recordingState==="none"&&_.jsx("button",{className:R(An.recordButton,"chat__button"),type:"submit","aria-label":this.props.translate("message-input.actions.start-audio-recording.label"),tabIndex:0,onClick:this.triggerAudioRecording,children:_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"}),_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]})}),this.state.recordingState==="connecting"&&_.jsxs("svg",{className:An.spinning,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]}),this.state.recordingState==="recording"&&_.jsxs("div",{className:An.audioRecorder,children:[_.jsx("button",{className:R(An.cancelButton),onClick:this.handleClickStopAudio,"aria-label":this.props.translate("message-input.actions.stop-audio-recording.label"),tabIndex:0,children:_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]})}),_.jsx("div",{className:An.recorderIcon}),_.jsx("button",{className:R(An.submitButton),type:"submit",onClick:this.handleClickSubmitAudio,"aria-label":this.props.translate("message-input.actions.submit-audio-recording.label"),tabIndex:0,autoFocus:!0,children:_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"}),_.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})]})})]})]})}}const vk=e=>{const t=new ArrayBuffer(44+e.length*2),n=new DataView(t);mo(n,0,"RIFF"),n.setUint32(4,44+e.length*2,!0),mo(n,8,"WAVE"),mo(n,12,"fmt "),n.setUint32(16,16,!0),n.setUint16(20,1,!0),n.setUint16(22,1,!0),n.setUint32(24,ys,!0),n.setUint32(28,ys*4,!0),n.setUint16(32,4,!0),n.setUint16(34,16,!0),mo(n,36,"data"),n.setUint32(40,e.length*2,!0);const r=e.length;let i=44;const o=1;for(var s=0;s<r;s++)n.setInt16(i,e[s]*(32767*o),!0),i+=2;return new Blob([n],{type:"audio/wav"})},mo=(e,t,n)=>{for(var r=0;r<n.length;r++)e.setUint8(t+r,n.charCodeAt(r))},_k=(e,t)=>{const n=new Float32Array(t);let r=0;const i=e.length;for(var o=0;o<i;o++){const s=e[o];n.set(s,r),r+=s.length}return n},Ek=(e,t)=>{if(ys===t)return e;const n=t/ys,r=Math.round(e.length/n),i=new Float32Array(r);let o=0,s=0;for(;o<i.length;){let l=Math.round((o+1)*n),u=0,c=0;for(var a=s;a<l&&a<e.length;a++)u+=e[a],c++;i[o]=u/c,o++,s=l}return i},Sk=({speechSupport:e,transcriptExportEnabled:t,disabled:n,onTextInput:r,onAudioRecorded:i,onOpenTranscriptExportModal:o})=>{const s=wt(),[a,l]=N.useState(!1),u=N.useRef(null),c=()=>{const v=u.current;v&&v.value.trim().length>=1&&r(v.value.trim())&&(v.value="",v.style.height="",l(!1),v.focus())},g=v=>{v.preventDefault(),c()},y=v=>{const p=v.target.value.trim();l(p.length>0),v.target.style.height="";const{scrollHeight:S}=v.target;v.target.style.height=`${S>150?150:S}px`},f=v=>{v.code==="Enter"&&!v.shiftKey&&(v.repeat||c(),v.preventDefault())};return _.jsxs("form",{className:R(tr.inputWrapper,"chat__textInput"),onSubmit:g,children:[_.jsx("div",{className:tr.messageInputWrapper,children:_.jsx("textarea",{id:"user_input",ref:u,className:tr.messageInput,tabIndex:0,placeholder:s("message-input-placeholder"),onChange:y,onKeyDown:f,"aria-label":s("message-input-label")})}),_.jsxs("div",{className:R(tr.buttons,"chat__buttons"),children:[!a&&t&&_.jsx("button",{type:"button",className:R(tr.button,"chat__button"),"aria-label":s("message-input.actions.export-transcript.label"),tabIndex:0,onClick:o,children:_.jsx("svg",{viewBox:"64 64 896 896",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:_.jsx("path",{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"})})}),a||!e||navigator.mediaDevices===void 0?_.jsx("button",{className:R(tr.button,"chat__button"),type:"submit","aria-label":s("message-input.actions.submit.label"),tabIndex:0,disabled:n,children:_.jsx("svg",{viewBox:"64 64 896 896",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:_.jsx("path",{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"})})}):e&&navigator.mediaDevices!==void 0&&_.jsx(yk,{translate:s,onAudioRecorded:i})]})]})},wk="_quickReplies_11l22_1",bk="_quickReply_11l22_9",Fh={quickReplies:wk,quickReply:bk},xk=({quickReplies:e,onQuickReplyClick:t})=>e.length?_.jsx("div",{className:R(Fh.quickReplies,"chat__quickReplies"),children:e.map(n=>_.jsx("button",{tabIndex:0,className:R(Fh.quickReply,we.button,"chat__button","chat__quickReply"),onClick:()=>t(n),children:n.label},n.label))}):null,Bh=5e3,Tk=1e3,Ck=({isBotTyping:e,quickReplies:t,speechSupport:n,transcriptExportEnabled:r,conversationRating:i,numberOfMessagesFromGuest:o,showRatingOverlay:s,setShowRatingOverlay:a,onTextInput:l,onRate:u,onQuickReplyClick:c,onAudioRecorded:g,onOpenTranscriptExportModal:y})=>{const[f,v]=N.useState(!1),p=N.useRef(),S=N.useRef(0);N.useEffect(()=>{if(f&&!e){const d=p.current?Date.now()-p.current:0;d>Bh?v(!1):setTimeout(()=>{v(!1)},Bh-d)}},[f,e]),N.useEffect(()=>{f&&(p.current=Date.now())},[f]);const h=d=>{const m=Date.now()-S.current<Tk;return e||m?(v(!0),!1):(l(d),S.current=Date.now(),!0)};return _.jsxs("div",{className:R(bC.inputContainer),children:[_.jsx(xk,{quickReplies:t,onQuickReplyClick:c}),_.jsx(CC,{visible:f}),!f&&_.jsx(rk,{conversationRating:i,numberOfMessagesFromGuest:o,onRate:u,showRatingOverlay:s,setShowRatingOverlay:a}),_.jsx(Sk,{onTextInput:h,onAudioRecorded:g,speechSupport:n,onOpenTranscriptExportModal:y,transcriptExportEnabled:r,disabled:f})]})},kk=({clientName:e,messages:t,quickReplies:n,isBotTyping:r,speechSupport:i,problemReportingEnabled:o,transcriptExportEnabled:s,conversationRating:a,showGeneralConditions:l,onMessageFromUser:u,onRate:c,onQuickReplyClick:g,onButtonClick:y,onLinkClick:f,onAudioRecorded:v,onTranscriptExport:p,onPdfExport:S,onProblemReport:h})=>{const d=Ic(),m=Ii(P=>P.connection.connectionState),[E,w]=N.useState(!1),[b,x]=N.useState(!1),T=s.email||s.pdf,M=t.filter(P=>P.sender.type===Uy.GUEST).length;return N.useEffect(()=>{m===an.CONNECTED&&d(zy(e,window.location.search,void 0))},[m,d]),_.jsxs("div",{children:[_.jsxs("div",{className:`${Xb.chatcontent} ${E||b?we.accessabilityHidden:""}`,children:[_.jsx(oC,{messages:t,isBotTyping:r,showGeneralConditions:l,problemReportingEnabled:o,onButtonClick:y,onLinkClick:f,onProblemReport:h}),_.jsx(Ck,{isBotTyping:r,quickReplies:r?[]:n,numberOfMessagesFromGuest:M,speechSupport:i,transcriptExportEnabled:T,conversationRating:E?{enabled:!1}:a,showRatingOverlay:b,setShowRatingOverlay:x,onRate:c,onQuickReplyClick:g,onTextInput:u,onAudioRecorded:v,onOpenTranscriptExportModal:()=>w(!E)}),_.jsx(fC,{})]}),T&&_.jsx(SC,{methods:s,visible:E,onEmailExport:p,onPdfExport:S,onClose:()=>w(!1)})]})},Ok=e=>{const{messages:t,quickReplies:n,isBotTyping:r,speechSupport:i,problemReportingEnabled:o,transcriptExportEnabled:s,conversationRating:a,showGeneralConditions:l}=e.chat;return{messages:t,quickReplies:n,isBotTyping:r,speechSupport:i,problemReportingEnabled:o,transcriptExportEnabled:s,conversationRating:a,showGeneralConditions:l}},Rk=e=>({onRestartChat:(t,n)=>e(uf(t,n)),onMessageFromUser:t=>e(Dy(t)),onRate:(t,n)=>e(Rb(t,n)),onAudioRecorded:t=>e(Eb(t)),onActionFromUser:t=>e(t),onQuickReplyClick:t=>e(Iy(t)),onNluEvent:t=>e(By(t)),onButtonClick:t=>e(Ab(t)),onLinkClick:t=>e(Pb(t)),onTranscriptExport:t=>e(Tb(t)),onPdfExport:()=>e(kb()),onProblemReport:(t,n)=>e(U.reportProblemFromGuest(t,n))}),Nk=FE(Ok,Rk)(kk),Ak="_chatwindow_phukm_1",Pk="_chatcontent_phukm_13",Ik={chatwindow:Ak,chatcontent:Pk};function _e(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Dk=typeof Symbol=="function"&&Symbol.observable||"@@observable",Lh=Dk,Ya=()=>Math.random().toString(36).substring(7).split("").join("."),Mk={INIT:`@@redux/INIT${Ya()}`,REPLACE:`@@redux/REPLACE${Ya()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ya()}`},vs=Mk;function yf(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function _v(e,t,n){if(typeof e!="function")throw new Error(_e(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(_e(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(_e(1));return n(_v)(e,t)}let r=e,i=t,o=new Map,s=o,a=0,l=!1;function u(){s===o&&(s=new Map,o.forEach((S,h)=>{s.set(h,S)}))}function c(){if(l)throw new Error(_e(3));return i}function g(S){if(typeof S!="function")throw new Error(_e(4));if(l)throw new Error(_e(5));let h=!0;u();const d=a++;return s.set(d,S),function(){if(h){if(l)throw new Error(_e(6));h=!1,u(),s.delete(d),o=null}}}function y(S){if(!yf(S))throw new Error(_e(7));if(typeof S.type>"u")throw new Error(_e(8));if(typeof S.type!="string")throw new Error(_e(17));if(l)throw new Error(_e(9));try{l=!0,i=r(i,S)}finally{l=!1}return(o=s).forEach(d=>{d()}),S}function f(S){if(typeof S!="function")throw new Error(_e(10));r=S,y({type:vs.REPLACE})}function v(){const S=g;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(_e(11));function d(){const E=h;E.next&&E.next(c())}return d(),{unsubscribe:S(d)}},[Lh](){return this}}}return y({type:vs.INIT}),{dispatch:y,subscribe:g,getState:c,replaceReducer:f,[Lh]:v}}function Fk(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:vs.INIT})>"u")throw new Error(_e(12));if(typeof n(void 0,{type:vs.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(_e(13))})}function Ev(e){const t=Object.keys(e),n={};for(let o=0;o<t.length;o++){const s=t[o];typeof e[s]=="function"&&(n[s]=e[s])}const r=Object.keys(n);let i;try{Fk(n)}catch(o){i=o}return function(s={},a){if(i)throw i;let l=!1;const u={};for(let c=0;c<r.length;c++){const g=r[c],y=n[g],f=s[g],v=y(f,a);if(typeof v>"u")throw a&&a.type,new Error(_e(14));u[g]=v,l=l||v!==f}return l=l||r.length!==Object.keys(s).length,l?u:s}}function _s(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Bk(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(_e(15))};const s={getState:i.getState,dispatch:(l,...u)=>o(l,...u)},a=e.map(l=>l(s));return o=_s(...a)(i.dispatch),{...i,dispatch:o}}}function Lk(e){return yf(e)&&"type"in e&&typeof e.type=="string"}var Sv=Symbol.for("immer-nothing"),jh=Symbol.for("immer-draftable"),qe=Symbol.for("immer-state");function yt(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ar=Object.getPrototypeOf;function Sn(e){return!!e&&!!e[qe]}function Yt(e){var t;return e?wv(e)||Array.isArray(e)||!!e[jh]||!!((t=e.constructor)!=null&&t[jh])||ia(e)||oa(e):!1}var jk=Object.prototype.constructor.toString();function wv(e){if(!e||typeof e!="object")return!1;const t=Ar(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===jk}function Mi(e,t){ra(e)===0?Object.entries(e).forEach(([n,r])=>{t(n,r,e)}):e.forEach((n,r)=>t(r,n,e))}function ra(e){const t=e[qe];return t?t.type_:Array.isArray(e)?1:ia(e)?2:oa(e)?3:0}function mu(e,t){return ra(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function bv(e,t,n){const r=ra(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function zk(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function ia(e){return e instanceof Map}function oa(e){return e instanceof Set}function Dn(e){return e.copy_||e.base_}function gu(e,t){if(ia(e))return new Map(e);if(oa(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&wv(e))return Ar(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[qe];let r=Reflect.ownKeys(n);for(let i=0;i<r.length;i++){const o=r[i],s=n[o];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(n[o]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[o]})}return Object.create(Ar(e),n)}function vf(e,t=!1){return sa(e)||Sn(e)||!Yt(e)||(ra(e)>1&&(e.set=e.add=e.clear=e.delete=Uk),Object.freeze(e),t&&Mi(e,(n,r)=>vf(r,!0))),e}function Uk(){yt(2)}function sa(e){return Object.isFrozen(e)}var $k={};function qn(e){const t=$k[e];return t||yt(0,e),t}var Fi;function xv(){return Fi}function Hk(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function zh(e,t){t&&(qn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function yu(e){vu(e),e.drafts_.forEach(Gk),e.drafts_=null}function vu(e){e===Fi&&(Fi=e.parent_)}function Uh(e){return Fi=Hk(Fi,e)}function Gk(e){const t=e[qe];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function $h(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[qe].modified_&&(yu(t),yt(4)),Yt(e)&&(e=Es(t,e),t.parent_||Ss(t,e)),t.patches_&&qn("Patches").generateReplacementPatches_(n[qe].base_,e,t.patches_,t.inversePatches_)):e=Es(t,n,[]),yu(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Sv?e:void 0}function Es(e,t,n){if(sa(t))return t;const r=t[qe];if(!r)return Mi(t,(i,o)=>Hh(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Ss(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let o=i,s=!1;r.type_===3&&(o=new Set(i),i.clear(),s=!0),Mi(o,(a,l)=>Hh(e,r,i,a,l,n,s)),Ss(e,i,!1),n&&e.patches_&&qn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Hh(e,t,n,r,i,o,s){if(Sn(i)){const a=o&&t&&t.type_!==3&&!mu(t.assigned_,r)?o.concat(r):void 0,l=Es(e,i,a);if(bv(n,r,l),Sn(l))e.canAutoFreeze_=!1;else return}else s&&n.add(i);if(Yt(i)&&!sa(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Es(e,i),(!t||!t.scope_.parent_)&&Ss(e,i)}}function Ss(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&vf(t,n)}function Vk(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:xv(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=_f;n&&(i=[r],o=Bi);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return r.draft_=a,r.revoke_=s,a}var _f={get(e,t){if(t===qe)return e;const n=Dn(e);if(!mu(n,t))return Wk(e,n,t);const r=n[t];return e.finalized_||!Yt(r)?r:r===Za(e.base_,t)?(Ja(e),e.copy_[t]=Eu(r,e)):r},has(e,t){return t in Dn(e)},ownKeys(e){return Reflect.ownKeys(Dn(e))},set(e,t,n){const r=Tv(Dn(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=Za(Dn(e),t),o=i==null?void 0:i[qe];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(zk(n,i)&&(n!==void 0||mu(e.base_,t)))return!0;Ja(e),_u(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Za(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Ja(e),_u(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Dn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){yt(11)},getPrototypeOf(e){return Ar(e.base_)},setPrototypeOf(){yt(12)}},Bi={};Mi(_f,(e,t)=>{Bi[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Bi.deleteProperty=function(e,t){return Bi.set.call(this,e,t,void 0)};Bi.set=function(e,t,n){return _f.set.call(this,e[0],t,n,e[0])};function Za(e,t){const n=e[qe];return(n?Dn(n):e)[t]}function Wk(e,t,n){var i;const r=Tv(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Tv(e,t){if(!(t in e))return;let n=Ar(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Ar(n)}}function _u(e){e.modified_||(e.modified_=!0,e.parent_&&_u(e.parent_))}function Ja(e){e.copy_||(e.copy_=gu(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var qk=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const s=this;return function(l=o,...u){return s.produce(l,c=>n.call(this,c,...u))}}typeof n!="function"&&yt(6),r!==void 0&&typeof r!="function"&&yt(7);let i;if(Yt(t)){const o=Uh(this),s=Eu(t,void 0);let a=!0;try{i=n(s),a=!1}finally{a?yu(o):vu(o)}return zh(o,r),$h(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Sv&&(i=void 0),this.autoFreeze_&&vf(i,!0),r){const o=[],s=[];qn("Patches").generateReplacementPatches_(t,i,o,s),r(o,s)}return i}else yt(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,l=>t(l,...a));let r,i;return[this.produce(t,n,(s,a)=>{r=s,i=a}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Yt(e)||yt(8),Sn(e)&&(e=Cv(e));const t=Uh(this),n=Eu(e,void 0);return n[qe].isManual_=!0,vu(t),n}finishDraft(e,t){const n=e&&e[qe];(!n||!n.isManual_)&&yt(9);const{scope_:r}=n;return zh(r,t),$h(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=qn("Patches").applyPatches_;return Sn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function Eu(e,t){const n=ia(e)?qn("MapSet").proxyMap_(e,t):oa(e)?qn("MapSet").proxySet_(e,t):Vk(e,t);return(t?t.scope_:xv()).drafts_.push(n),n}function Cv(e){return Sn(e)||yt(10,e),kv(e)}function kv(e){if(!Yt(e)||sa(e))return e;const t=e[qe];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=gu(e,t.scope_.immer_.useStrictShallowCopy_)}else n=gu(e,!0);return Mi(n,(r,i)=>{bv(n,r,kv(i))}),t&&(t.finalized_=!1),n}var Xe=new qk,Ov=Xe.produce;Xe.produceWithPatches.bind(Xe);Xe.setAutoFreeze.bind(Xe);Xe.setUseStrictShallowCopy.bind(Xe);Xe.applyPatches.bind(Xe);Xe.createDraft.bind(Xe);Xe.finishDraft.bind(Xe);function Xk(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Qk(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Kk(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var Gh=e=>Array.isArray(e)?e:[e];function Yk(e){const t=Array.isArray(e[0])?e[0]:e;return Kk(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Zk(e,t){const n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var Jk=class{constructor(e){this.value=e}deref(){return this.value}},eO=typeof WeakRef<"u"?WeakRef:Jk,tO=0,Vh=1;function go(){return{s:tO,v:void 0,o:null,p:null}}function Ef(e,t={}){let n=go();const{resultEqualityCheck:r}=t;let i,o=0;function s(){var g;let a=n;const{length:l}=arguments;for(let y=0,f=l;y<f;y++){const v=arguments[y];if(typeof v=="function"||typeof v=="object"&&v!==null){let p=a.o;p===null&&(a.o=p=new WeakMap);const S=p.get(v);S===void 0?(a=go(),p.set(v,a)):a=S}else{let p=a.p;p===null&&(a.p=p=new Map);const S=p.get(v);S===void 0?(a=go(),p.set(v,a)):a=S}}const u=a;let c;if(a.s===Vh)c=a.v;else if(c=e.apply(null,arguments),o++,r){const y=((g=i==null?void 0:i.deref)==null?void 0:g.call(i))??i;y!=null&&r(y,c)&&(c=y,o!==0&&o--),i=typeof c=="object"&&c!==null||typeof c=="function"?new eO(c):c}return u.s=Vh,u.v=c,c}return s.clearCache=()=>{n=go(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function Rv(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...i)=>{let o=0,s=0,a,l={},u=i.pop();typeof u=="object"&&(l=u,u=i.pop()),Xk(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const c={...n,...l},{memoize:g,memoizeOptions:y=[],argsMemoize:f=Ef,argsMemoizeOptions:v=[],devModeChecks:p={}}=c,S=Gh(y),h=Gh(v),d=Yk(i),m=g(function(){return o++,u.apply(null,arguments)},...S),E=f(function(){s++;const b=Zk(d,arguments);return a=m.apply(null,b),a},...h);return Object.assign(E,{resultFunc:u,memoizedResultFunc:m,dependencies:d,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:g,argsMemoize:f})};return Object.assign(r,{withTypes:()=>r}),r}var nO=Rv(Ef),rO=Object.assign((e,t=nO)=>{Qk(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),r=n.map(o=>e[o]);return t(r,(...o)=>o.reduce((s,a,l)=>(s[n[l]]=a,s),{}))},{withTypes:()=>rO});function Nv(e){return({dispatch:n,getState:r})=>i=>o=>typeof o=="function"?o(n,r,e):i(o)}var iO=Nv(),oO=Nv,sO=(...e)=>{const t=Rv(...e),n=Object.assign((...r)=>{const i=t(...r),o=(s,...a)=>i(Sn(s)?Cv(s):s,...a);return Object.assign(o,i),o},{withTypes:()=>n});return n};sO(Ef);var aO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_s:_s.apply(null,arguments)};function Pr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error($e(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Lk(r)&&r.type===e,n}var Av=class ii extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,ii.prototype)}static get[Symbol.species](){return ii}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new ii(...t[0].concat(this)):new ii(...t.concat(this))}};function Wh(e){return Yt(e)?Ov(e,()=>{}):e}function qh(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error($e(10));const r=n.insert(t,e);return e.set(t,r),r}function lO(e){return typeof e=="boolean"}var uO=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let s=new Av;return n&&(lO(n)?s.push(iO):s.push(oO(n.extraArgument))),s},cO="RTK_autoBatch",Pv=e=>t=>{setTimeout(t,e)},fO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Pv(10),dO=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,o=!1,s=!1;const a=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?fO:e.type==="callback"?e.queueNotification:Pv(e.timeout),u=()=>{s=!1,o&&(o=!1,a.forEach(c=>c()))};return Object.assign({},r,{subscribe(c){const g=()=>i&&c(),y=r.subscribe(g);return a.add(c),()=>{y(),a.delete(c)}},dispatch(c){var g;try{return i=!((g=c==null?void 0:c.meta)!=null&&g[cO]),o=!i,o&&(s||(s=!0,l(u))),r.dispatch(c)}finally{i=!0}}})},hO=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Av(e);return r&&i.push(dO(typeof r=="object"?r:void 0)),i},pO=!0;function mO(e){const t=uO(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(yf(n))a=Ev(n);else throw new Error($e(1));let l;typeof r=="function"?l=r(t):l=t();let u=_s;i&&(u=aO({trace:!pO,...typeof i=="object"&&i}));const c=Bk(...l),g=hO(c);let y=typeof s=="function"?s(g):g();const f=u(...y);return _v(a,o,f)}function Iv(e){const t={},n=[];let r;const i={addCase(o,s){const a=typeof o=="string"?o:o.type;if(!a)throw new Error($e(28));if(a in t)throw new Error($e(29));return t[a]=s,i},addMatcher(o,s){return n.push({matcher:o,reducer:s}),i},addDefaultCase(o){return r=o,i}};return e(i),[t,n,r]}function gO(e){return typeof e=="function"}function yO(e,t){let[n,r,i]=Iv(t),o;if(gO(e))o=()=>Wh(e());else{const a=Wh(e);o=()=>a}function s(a=o(),l){let u=[n[l.type],...r.filter(({matcher:c})=>c(l)).map(({reducer:c})=>c)];return u.filter(c=>!!c).length===0&&(u=[i]),u.reduce((c,g)=>{if(g)if(Sn(c)){const f=g(c,l);return f===void 0?c:f}else{if(Yt(c))return Ov(c,y=>g(y,l));{const y=g(c,l);if(y===void 0){if(c===null)return c;throw new Error($e(9))}return y}}return c},a)}return s.getInitialState=o,s}var vO="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",_O=(e=21)=>{let t="",n=e;for(;n--;)t+=vO[Math.random()*64|0];return t},EO=Symbol.for("rtk-slice-createasyncthunk");function SO(e,t){return`${e}/${t}`}function wO({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[EO];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error($e(11));typeof process<"u";const a=(typeof i.reducers=="function"?i.reducers(xO()):i.reducers)||{},l=Object.keys(a),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},c={addCase(m,E){const w=typeof m=="string"?m:m.type;if(!w)throw new Error($e(12));if(w in u.sliceCaseReducersByType)throw new Error($e(13));return u.sliceCaseReducersByType[w]=E,c},addMatcher(m,E){return u.sliceMatchers.push({matcher:m,reducer:E}),c},exposeAction(m,E){return u.actionCreators[m]=E,c},exposeCaseReducer(m,E){return u.sliceCaseReducersByName[m]=E,c}};l.forEach(m=>{const E=a[m],w={reducerName:m,type:SO(o,m),createNotation:typeof i.reducers=="function"};CO(E)?OO(w,E,c,t):TO(w,E,c)});function g(){const[m={},E=[],w=void 0]=typeof i.extraReducers=="function"?Iv(i.extraReducers):[i.extraReducers],b={...m,...u.sliceCaseReducersByType};return yO(i.initialState,x=>{for(let T in b)x.addCase(T,b[T]);for(let T of u.sliceMatchers)x.addMatcher(T.matcher,T.reducer);for(let T of E)x.addMatcher(T.matcher,T.reducer);w&&x.addDefaultCase(w)})}const y=m=>m,f=new Map;let v;function p(m,E){return v||(v=g()),v(m,E)}function S(){return v||(v=g()),v.getInitialState()}function h(m,E=!1){function w(x){let T=x[m];return typeof T>"u"&&E&&(T=S()),T}function b(x=y){const T=qh(f,E,{insert:()=>new WeakMap});return qh(T,x,{insert:()=>{const M={};for(const[P,se]of Object.entries(i.selectors??{}))M[P]=bO(se,x,S,E);return M}})}return{reducerPath:m,getSelectors:b,get selectors(){return b(w)},selectSlice:w}}const d={name:o,reducer:p,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:S,...h(s),injectInto(m,{reducerPath:E,...w}={}){const b=E??s;return m.inject({reducerPath:b,reducer:p},w),{...d,...h(b,!0)}}};return d}}function bO(e,t,n,r){function i(o,...s){let a=t(o);return typeof a>"u"&&r&&(a=n()),e(a,...s)}return i.unwrapped=e,i}var Dv=wO();function xO(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function TO({type:e,reducerName:t,createNotation:n},r,i){let o,s;if("reducer"in r){if(n&&!kO(r))throw new Error($e(17));o=r.reducer,s=r.prepare}else o=r;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?Pr(e,s):Pr(e))}function CO(e){return e._reducerDefinitionType==="asyncThunk"}function kO(e){return e._reducerDefinitionType==="reducerWithPrepare"}function OO({type:e,reducerName:t},n,r,i){if(!i)throw new Error($e(18));const{payloadCreator:o,fulfilled:s,pending:a,rejected:l,settled:u,options:c}=n,g=i(e,o,c);r.exposeAction(t,g),s&&r.addCase(g.fulfilled,s),a&&r.addCase(g.pending,a),l&&r.addCase(g.rejected,l),u&&r.addMatcher(g.settled,u),r.exposeCaseReducer(t,{fulfilled:s||yo,pending:a||yo,rejected:l||yo,settled:u||yo})}function yo(){}var RO=(e,t)=>{if(typeof e!="function")throw new Error($e(32))},Sf="listenerMiddleware",NO=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:o}=e;if(t)i=Pr(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw new Error($e(21));return RO(o),{predicate:i,type:t,effect:o}},AO=Object.assign(e=>{const{type:t,predicate:n,effect:r}=NO(e);return{id:_O(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error($e(22))}}},{withTypes:()=>AO}),PO=Object.assign(Pr(`${Sf}/add`),{withTypes:()=>PO});Pr(`${Sf}/removeAll`);var IO=Object.assign(Pr(`${Sf}/remove`),{withTypes:()=>IO});function $e(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const DO={useStartScreen:void 0},Mv=Dv({name:"start-screen",initialState:DO,reducers:{enableStartScreen(e){e.useStartScreen=!0},disableStartScreen(e){e.useStartScreen=!1},setStartScreenStatus(e,t){e.startScreenStatus=t.payload}}}),{enableStartScreen:MO,disableStartScreen:FO,setStartScreenStatus:BO}=Mv.actions,LO=Mv.reducer,jO="_container_7ypo3_1",zO="_startChatButton_7ypo3_14",Xh={container:jO,startChatButton:zO},UO="start-screen.body",$O="start-screen.start-chat",HO=()=>{const e=wt(),t=Ic(),n=()=>t(BO("HIDDEN")),r=e(UO),i=e($O);return _.jsxs("div",{className:R(Xh.container,"chat__startScreen"),children:[r&&_.jsx(vn,{options:{overrides:{a:GO}},children:r}),_.jsx("button",{className:R(we.button,we.buttonPrimary,Xh.startChatButton),onClick:n,children:i})]})},GO=({title:e,href:t,children:n})=>_.jsx("a",{href:t,title:e,target:"_blank",rel:"noopener noreferrer",children:n}),VO=()=>{const e=Ks();N.useEffect(()=>{window.document.documentElement.lang=e.locale},[e.locale])},nr={TRIGGER_ACTION:"TRIGGER_ACTION",TRIGGER_STORY:"TRIGGER_STORY",CHAT_MESSAGE_FROM_GUEST:"CHAT_MESSAGE_FROM_GUEST",ON_CHAT_WINDOW_OPEN:"ON_CHAT_WINDOW_OPEN",ON_CHAT_WINDOW_CLOSE:"ON_CHAT_WINDOW_CLOSE",RESTART_CHAT:"RESTART_CHAT"},WO=({clientName:e})=>{VO();const t=Ic(),n=Ii(s=>s.startScreen.useStartScreen),r=Ii(s=>s.startScreen.startScreenStatus),[i,o]=N.useState(void 0);return N.useEffect(()=>{const s=window.location.search,a=Oy.parse(s);a.cssClassName&&o(a.cssClassName);const l=u=>{switch(u.data.type){case nr.TRIGGER_ACTION:t(u.data.action);break;case nr.TRIGGER_STORY:t(By(u.data.story));break;case nr.ON_CHAT_WINDOW_OPEN:t({type:"webclient.chatwindow.opened"});break;case nr.ON_CHAT_WINDOW_CLOSE:t({type:"webclient.chatwindow.closed"});break;case nr.CHAT_MESSAGE_FROM_GUEST:t(Dy(u.data.text));break;case nr.RESTART_CHAT:t(uf(e,s));break}};return t(Mb(e,s)),window.addEventListener("message",u=>l(u),!1),()=>window.removeEventListener("message",l)},[e,t]),_.jsx("div",{className:R(Ik.chatwindow,"chat__chatwindow",i),children:n===void 0?null:!n||r==="HIDDEN"?_.jsx(Nk,{clientName:e}):_.jsx(HO,{})})},qO=()=>{const e=yy(),t=Ii(r=>r.intl.locale),n=Ii(r=>r.intl.messages);return _.jsx(gw,{locale:t,messages:n,children:_.jsx("div",{className:vw.app,children:_.jsx(WO,{clientName:e})})})};function XO(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var wf=XO,QO=typeof q=="object"&&q&&q.Object===Object&&q,KO=QO,YO=KO,ZO=typeof self=="object"&&self&&self.Object===Object&&self,JO=YO||ZO||Function("return this")(),Fv=JO,eR=Fv,tR=function(){return eR.Date.now()},nR=tR,rR=/\s/;function iR(e){for(var t=e.length;t--&&rR.test(e.charAt(t)););return t}var oR=iR,sR=oR,aR=/^\s+/;function lR(e){return e&&e.slice(0,sR(e)+1).replace(aR,"")}var uR=lR,cR=Fv,fR=cR.Symbol,Bv=fR,Qh=Bv,Lv=Object.prototype,dR=Lv.hasOwnProperty,hR=Lv.toString,Zr=Qh?Qh.toStringTag:void 0;function pR(e){var t=dR.call(e,Zr),n=e[Zr];try{e[Zr]=void 0;var r=!0}catch{}var i=hR.call(e);return r&&(t?e[Zr]=n:delete e[Zr]),i}var mR=pR,gR=Object.prototype,yR=gR.toString;function vR(e){return yR.call(e)}var _R=vR,Kh=Bv,ER=mR,SR=_R,wR="[object Null]",bR="[object Undefined]",Yh=Kh?Kh.toStringTag:void 0;function xR(e){return e==null?e===void 0?bR:wR:Yh&&Yh in Object(e)?ER(e):SR(e)}var TR=xR;function CR(e){return e!=null&&typeof e=="object"}var kR=CR,OR=TR,RR=kR,NR="[object Symbol]";function AR(e){return typeof e=="symbol"||RR(e)&&OR(e)==NR}var PR=AR,IR=uR,Zh=wf,DR=PR,Jh=NaN,MR=/^[-+]0x[0-9a-f]+$/i,FR=/^0b[01]+$/i,BR=/^0o[0-7]+$/i,LR=parseInt;function jR(e){if(typeof e=="number")return e;if(DR(e))return Jh;if(Zh(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Zh(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=IR(e);var n=FR.test(e);return n||BR.test(e)?LR(e.slice(2),n?2:8):MR.test(e)?Jh:+e}var zR=jR,UR=wf,el=nR,ep=zR,$R="Expected a function",HR=Math.max,GR=Math.min;function VR(e,t,n){var r,i,o,s,a,l,u=0,c=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError($R);t=ep(t)||0,UR(n)&&(c=!!n.leading,g="maxWait"in n,o=g?HR(ep(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function f(b){var x=r,T=i;return r=i=void 0,u=b,s=e.apply(T,x),s}function v(b){return u=b,a=setTimeout(h,t),c?f(b):s}function p(b){var x=b-l,T=b-u,M=t-x;return g?GR(M,o-T):M}function S(b){var x=b-l,T=b-u;return l===void 0||x>=t||x<0||g&&T>=o}function h(){var b=el();if(S(b))return d(b);a=setTimeout(h,p(b))}function d(b){return a=void 0,y&&r?f(b):(r=i=void 0,s)}function m(){a!==void 0&&clearTimeout(a),u=0,r=l=i=a=void 0}function E(){return a===void 0?s:d(el())}function w(){var b=el(),x=S(b);if(r=arguments,i=this,l=b,x){if(a===void 0)return v(l);if(g)return clearTimeout(a),a=setTimeout(h,t),f(l)}return a===void 0&&(a=setTimeout(h,t)),s}return w.cancel=m,w.flush=E,w}var WR=VR,qR=WR,XR=wf,QR="Expected a function";function KR(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(QR);return XR(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),qR(e,t,{leading:r,maxWait:t,trailing:i})}var YR=KR;const ZR=Ou(YR);function Yn(e,t){var n,r;if(typeof t=="function")r=t(e),r!==void 0&&(e=r);else if(Array.isArray(t))for(n=0;n<t.length;n++)r=t[n](e),r!==void 0&&(e=r);return e}function JR(e,t){return e[0]==="-"&&Array.isArray(t)&&/^-\d+$/.test(e)?t.length+parseInt(e,10):e}function eN(e){return/^\d+$/.test(e)}function Bo(e){return Object.prototype.toString.call(e)==="[object Object]"}function oi(e){return Object(e)===e}function Lo(e){return Object.keys(e).length===0}var tN=["__proto__","prototype","constructor"],nN=function(e){return tN.indexOf(e)===-1};function aa(e,t){e.indexOf("[")>=0&&(e=e.replace(/\[/g,t).replace(/]/g,""));var n=e.split(t),r=n.filter(nN);if(r.length!==n.length)throw Error("Refusing to update blacklisted property "+e);return n}var tp=Object.prototype.hasOwnProperty;function G(e,t,n,r){if(!(this instanceof G))return new G(e,t,n,r);typeof t>"u"&&(t=!1),typeof n>"u"&&(n=!0),typeof r>"u"&&(r=!0),this.separator=e||".",this.override=t,this.useArray=n,this.useBrackets=r,this.keepArray=!1,this.cleanup=[]}var Ir=new G(".",!1,!0,!0);function bt(e){return function(){return Ir[e].apply(Ir,arguments)}}G.prototype._fill=function(e,t,n,r){var i=e.shift();if(e.length>0){if(t[i]=t[i]||(this.useArray&&eN(e[0])?[]:{}),!oi(t[i]))if(this.override)t[i]={};else{if(!(oi(n)&&Lo(n)))throw new Error("Trying to redefine `"+i+"` which is a "+typeof t[i]);return}this._fill(e,t[i],n,r)}else{if(!this.override&&oi(t[i])&&!Lo(t[i])){if(!(oi(n)&&Lo(n)))throw new Error("Trying to redefine non-empty obj['"+i+"']");return}t[i]=Yn(n,r)}};G.prototype.object=function(e,t){var n=this;return Object.keys(e).forEach(function(r){var i=t===void 0?null:t[r],o=aa(r,n.separator).join(n.separator);o.indexOf(n.separator)!==-1?(n._fill(o.split(n.separator),e,e[r],i),delete e[r]):e[r]=Yn(e[r],i)}),e};G.prototype.str=function(e,t,n,r){var i=aa(e,this.separator).join(this.separator);return e.indexOf(this.separator)!==-1?this._fill(i.split(this.separator),n,t,r):n[e]=Yn(t,r),n};G.prototype.pick=function(e,t,n,r){var i,o,s,a,l;for(o=aa(e,this.separator),i=0;i<o.length;i++)if(a=JR(o[i],t),t&&typeof t=="object"&&a in t){if(i===o.length-1)return n?(s=t[a],r&&Array.isArray(t)?t.splice(a,1):delete t[a],Array.isArray(t)&&(l=o.slice(0,-1).join("."),this.cleanup.indexOf(l)===-1&&this.cleanup.push(l)),s):t[a];t=t[a]}else return;return n&&Array.isArray(t)&&(t=t.filter(function(u){return u!==void 0})),t};G.prototype.delete=function(e,t){return this.remove(e,t,!0)};G.prototype.remove=function(e,t,n){var r;if(this.cleanup=[],Array.isArray(e)){for(r=0;r<e.length;r++)this.pick(e[r],t,!0,n);return n||this._cleanup(t),t}else return this.pick(e,t,!0,n)};G.prototype._cleanup=function(e){var t,n,r,i;if(this.cleanup.length){for(n=0;n<this.cleanup.length;n++)r=this.cleanup[n].split("."),i=r.splice(0,-1).join("."),t=i?this.pick(i,e):e,t=t[r[0]].filter(function(o){return o!==void 0}),this.set(this.cleanup[n],t,e);this.cleanup=[]}};G.prototype.del=G.prototype.remove;G.prototype.move=function(e,t,n,r,i){return typeof r=="function"||Array.isArray(r)?this.set(t,Yn(this.pick(e,n,!0),r),n,i):(i=r,this.set(t,this.pick(e,n,!0),n,i)),n};G.prototype.transfer=function(e,t,n,r,i,o){return typeof i=="function"||Array.isArray(i)?this.set(t,Yn(this.pick(e,n,!0),i),r,o):(o=i,this.set(t,this.pick(e,n,!0),r,o)),r};G.prototype.copy=function(e,t,n,r,i,o){return typeof i=="function"||Array.isArray(i)?this.set(t,Yn(JSON.parse(JSON.stringify(this.pick(e,n,!1))),i),r,o):(o=i,this.set(t,this.pick(e,n,!1),r,o)),r};G.prototype.set=function(e,t,n,r){var i,o,s,a;if(typeof t>"u")return n;for(s=aa(e,this.separator),i=0;i<s.length;i++){if(a=s[i],i===s.length-1)if(r&&Bo(t)&&Bo(n[a]))for(o in t)tp.call(t,o)&&(n[a][o]=t[o]);else if(r&&Array.isArray(n[a])&&Array.isArray(t))for(var l=0;l<t.length;l++)n[s[i]].push(t[l]);else n[a]=t;else(!tp.call(n,a)||!Bo(n[a])&&!Array.isArray(n[a]))&&(/^\d+$/.test(s[i+1])?n[a]=[]:n[a]={});n=n[a]}return n};G.prototype.transform=function(e,t,n){return t=t||{},n=n||{},Object.keys(e).forEach((function(r){this.set(e[r],this.pick(r,t),n)}).bind(this)),n};G.prototype.dot=function(e,t,n){t=t||{},n=n||[];var r=Array.isArray(e);return Object.keys(e).forEach((function(i){var o=r&&this.useBrackets?"["+i+"]":i;if(oi(e[i])&&(Bo(e[i])&&!Lo(e[i])||Array.isArray(e[i])&&!this.keepArray&&e[i].length!==0))if(r&&this.useBrackets){var s=n[n.length-1]||"";return this.dot(e[i],t,n.slice(0,-1).concat(s+o))}else return this.dot(e[i],t,n.concat(o));else r&&this.useBrackets?t[n.join(this.separator).concat("["+i+"]")]=e[i]:t[n.concat(o).join(this.separator)]=e[i]}).bind(this)),t};G.pick=bt("pick");G.move=bt("move");G.transfer=bt("transfer");G.transform=bt("transform");G.copy=bt("copy");G.object=bt("object");G.str=bt("str");G.set=bt("set");G.delete=bt("delete");G.del=G.remove=bt("remove");G.dot=bt("dot");["override","overwrite"].forEach(function(e){Object.defineProperty(G,e,{get:function(){return Ir.override},set:function(t){Ir.override=!!t}})});["useArray","keepArray","useBrackets"].forEach(function(e){Object.defineProperty(G,e,{get:function(){return Ir[e]},set:function(t){Ir[e]=t}})});G._process=Yn;var rN=G;const jv={"message-input-label":"Benutzereingabe","message-input-placeholder":"Nachricht","message-input.actions.submit.label":"Nachricht senden","message-input.actions.export-transcript.label":"Konversation per E-Mail erhalten","message-input.actions.start-audio-recording.label":"Spracheingabe starten","message-input.actions.stop-audio-recording.label":"Spracheingabe stoppen","message-input.actions.submit-audio-recording.label":"Spracheingabe übermitteln","guest-bubble.label":"Ihre Nachricht","bot-bubble.label":"Nachricht des Chatbots","agent-bubble.label":"Nachricht des Live-Agenten","export-transcript.email.title":"Konversation per E-Mail versenden","export-transcript.email.description":"Geben Sie Ihre E-Mail-Adresse ein, um den Chatverlauf zu erhalten.","export-transcript.email.cancel":"Abbrechen","export-transcript.email.send":"Senden","export-transcript.email.placeholder":"Ihre E-Mail-Adresse","export-transcript.email.invalid":"Bitte gültige E-Mail-Adresse eingeben.","export-transcript.email.success":"Ich habe den Chatverlauf an Ihre E-Mail-Adresse gesendet.","export-transcript.pdf.title":"Konversation als PDF erhalten","export-transcript.pdf.description":"Laden Sie die Konversation als PDF herunter.","export-transcript.pdf.cancel":"Abbrechen","export-transcript.pdf.download":"Herunterladen","general-conditions.header":"**Nutzungsbedingungen**","general-conditions.body":`Bitte berücksichtigen Sie die folgenden Punkte:
|
|
95
|
+
`,{inline:v}));for(;typeof p[p.length-1]=="string"&&!p[p.length-1].trim();)p.pop();if(t.wrapper===null)return p;const S=t.wrapper||(v?"span":"div");let h;if(p.length>1||t.forceWrapper)h=p;else{if(p.length===1)return h=p[0],typeof h=="string"?r("span",{key:"outer"},h):h;h=null}return N.createElement(S,{key:"outer"},h)}function o(f){const v=f.match(Jb);return v?v.reduce(function(p,S,h){const d=S.indexOf("=");if(d!==-1){const m=function(x){return x.indexOf("-")!==-1&&x.match(px)===null&&(x=x.replace(_x,function(T,M){return M.toUpperCase()})),x}(S.slice(0,d)).trim(),E=function(x){const T=x[0];return(T==='"'||T==="'")&&x.length>=2&&x[x.length-1]===T?x.slice(1,-1):x}(S.slice(d+1).trim()),w=mh[m]||m,b=p[w]=function(x,T){return x==="style"?T.split(/;\s?/).reduce(function(M,P){const se=P.slice(0,P.indexOf(":"));return M[se.trim().replace(/(-[a-z])/g,ve=>ve[1].toUpperCase())]=P.slice(se.length+1).trim(),M},{}):x==="href"||x==="src"?er(T):(T.match(mx)&&(T=T.slice(1,T.length-1)),T==="true"||T!=="false"&&T)}(m,E);typeof b=="string"&&(du.test(b)||hu.test(b))&&(p[w]=N.cloneElement(i(b.trim()),{key:h}))}else S!=="style"&&(p[mh[S]||S]=!0);return p},{}):null}const s=[],a={},l={0:{match:jt($y),order:1,parse:(f,v,p)=>({children:v(f[0].replace(nx,""),p)}),render:(f,v,p)=>r("blockquote",{key:p.key},v(f.children,p))},1:{match:qr(rx),order:1,parse:Ha,render:(f,v,p)=>r("br",{key:p.key})},2:{match:jt(ix),order:1,parse:Ha,render:(f,v,p)=>r("hr",{key:p.key})},3:{match:jt(Gy),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,v,p)=>r("pre",{key:p.key},r("code",Mn({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:jt(Hy),order:0,parse:f=>({attrs:o(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:tn(ox),order:3,parse:f=>({text:f[2]}),render:(f,v,p)=>r("code",{key:p.key},f.text)},6:{match:jt(lx),order:0,parse:f=>(s.push({footnote:f[2],identifier:f[1]}),{}),render:Ga},7:{match:en(ux),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,v,p)=>r("a",{key:p.key,href:er(f.target)},r("sup",{key:p.key},f.text))},8:{match:en(dx),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,v,p)=>r("input",{checked:f.completed,key:p.key,readOnly:!0,type:"checkbox"})},9:{match:jt(t.enforceAtxHeadings?Wy:Vy),order:1,parse:(f,v,p)=>({children:Fo(v,f[2],p),id:t.slugify(f[2]),level:f[1].length}),render:(f,v,p)=>r(`h${f.level}`,{id:f.id,key:p.key},v(f.children,p))},10:{match:jt(qy),order:0,parse:(f,v,p)=>({children:Fo(v,f[1],p),level:f[2]==="="?1:2,type:"9"})},11:{match:qr(du),order:1,parse(f,v,p){const[,S]=f[3].match(Bx),h=new RegExp(`^${S}`,"gm"),d=f[3].replace(h,""),m=(E=d,Gx.some(T=>T.test(E))?Kx:Fo);var E;const w=f[1].toLowerCase(),b=Zb.indexOf(w)!==-1,x={attrs:o(f[2]),noInnerParse:b,tag:(b?w:f[1]).trim()};return p.inAnchor=p.inAnchor||w==="a",b?x.text=f[3]:x.children=m(v,d,p),p.inAnchor=!1,x},render:(f,v,p)=>r(f.tag,Mn({key:p.key},f.attrs),f.text||v(f.children,p))},13:{match:qr(hu),order:1,parse:f=>({attrs:o(f[2]||""),tag:f[1].trim()}),render:(f,v,p)=>r(f.tag,Mn({},f.attrs,{key:p.key}))},12:{match:qr(Xy),order:1,parse:()=>({}),render:Ga},14:{match:tn(Hx),order:1,parse:f=>({alt:f[1],target:Sh(f[2]),title:f[3]}),render:(f,v,p)=>r("img",{key:p.key,alt:f.alt||void 0,title:f.title||void 0,src:er(f.target)})},15:{match:en($x),order:3,parse:(f,v,p)=>({children:Qx(v,f[1],p),target:Sh(f[2]),title:f[3]}),render:(f,v,p)=>r("a",{key:p.key,href:er(f.target),title:f.title},v(f.children,p))},16:{match:en(vx),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:en(gx)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:en(yx),order:0,parse(f){let v=f[1],p=f[1];return ex.test(p)||(p="mailto:"+p),{children:[{text:v.replace("mailto:",""),type:"27"}],target:p,type:"15"}}},20:vh(r,1),33:vh(r,2),19:{match:jt(sx),order:3,parse:Ha,render:()=>`
|
|
96
|
+
`},21:{match:Xx,order:3,parse:$a,render:(f,v,p)=>r("p",{key:p.key},v(f.children,p))},22:{match:en(Ex),order:0,parse:f=>(a[f[1]]={target:f[2],title:f[4]},{}),render:Ga},23:{match:tn(Sx),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,p)=>a[f.ref]?r("img",{key:p.key,alt:f.alt,src:er(a[f.ref].target),title:a[f.ref].title}):null},24:{match:en(wx),order:0,parse:(f,v,p)=>({children:v(f[1],p),fallbackChildren:v(f[0].replace(bx,"\\$1"),p),ref:f[2]}),render:(f,v,p)=>a[f.ref]?r("a",{key:p.key,href:er(a[f.ref].target),title:a[f.ref].title},v(f.children,p)):r("span",{key:p.key},v(f.fallbackChildren,p))},25:{match:jt(Qy),order:1,parse:qx,render(f,v,p){const S=f;return r("table",{key:p.key},r("thead",null,r("tr",null,S.header.map(function(h,d){return r("th",{key:d,style:Eh(S,d)},v(h,p))}))),r("tbody",null,S.cells.map(function(h,d){return r("tr",{key:d},h.map(function(m,E){return r("td",{key:E,style:Eh(S,E)},v(m,p))}))})))}},27:{match:qr(Mx),order:4,parse:f=>({text:f[0].replace(hx,(v,p)=>t.namedCodesToUnicode[p]?t.namedCodesToUnicode[p]:v)}),render:f=>f.text},28:{match:tn(Nx),order:2,parse:(f,v,p)=>({children:v(f[2],p)}),render:(f,v,p)=>r("strong",{key:p.key},v(f.children,p))},29:{match:tn(Ax),order:3,parse:(f,v,p)=>({children:v(f[2],p)}),render:(f,v,p)=>r("em",{key:p.key},v(f.children,p))},30:{match:tn(Dx),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:tn(Px),order:3,parse:$a,render:(f,v,p)=>r("mark",{key:p.key},v(f.children,p))},32:{match:tn(Ix),order:3,parse:$a,render:(f,v,p)=>r("del",{key:p.key},v(f.children,p))}};t.disableParsingRawHTML===!0&&(delete l[11],delete l[13]);const u=function(f){let v=Object.keys(f);function p(S,h){let d=[],m="";for(;S;){let E=0;for(;E<v.length;){const w=v[E],b=f[w],x=b.match(S,h,m);if(x){const T=x[0];S=S.substring(T.length);const M=b.parse(x,p,h);M.type==null&&(M.type=w),d.push(M),m=T;break}E++}}return d}return v.sort(function(S,h){let d=f[S].order,m=f[h].order;return d!==m?d-m:S<h?-1:1}),function(S,h){return p(function(d){return d.replace(ax,`
|
|
97
|
+
`).replace(cx,"").replace(Tx," ")}(S),h)}}(l),c=(g=function(f,v){return function(p,S,h){const d=f[p.type].render;return v?v(()=>d(p,S,h),p,S,h):d(p,S,h)}}(l,t.renderRule),function f(v,p={}){if(Array.isArray(v)){const S=p.key,h=[];let d=!1;for(let m=0;m<v.length;m++){p.key=m;const E=f(v[m],p),w=typeof E=="string";w&&d?h[h.length-1]+=E:E!==null&&h.push(E),d=w}return p.key=S,h}return g(v,f,p)});var g;const y=i(e);return s.length?r("div",null,y,r("footer",{key:"footer"},s.map(function(f){return r("div",{id:t.slugify(f.identifier),key:f.identifier},f.identifier,c(u(f.footnote,{inline:!0})))}))):y}const vn=e=>{let{children:t="",options:n}=e,r=function(i,o){if(i==null)return{};var s,a,l={},u=Object.keys(i);for(a=0;a<u.length;a++)o.indexOf(s=u[a])>=0||(l[s]=i[s]);return l}(e,Yb);return N.cloneElement(Zx(t,n),r)};var av={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},wh=vt.createContext&&vt.createContext(av),Jx=["attr","size","title"];function eT(e,t){if(e==null)return{};var n=tT(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tT(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ps(){return ps=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},ps.apply(this,arguments)}function bh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ms(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bh(Object(n),!0).forEach(function(r){nT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function nT(e,t,n){return t=rT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rT(e){var t=iT(e,"string");return typeof t=="symbol"?t:t+""}function iT(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function lv(e){return e&&e.map((t,n)=>vt.createElement(t.tag,ms({key:n},t.attr),lv(t.child)))}function uv(e){return t=>vt.createElement(oT,ps({attr:ms({},e.attr)},t),lv(e.child))}function oT(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=eT(e,Jx),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),vt.createElement("svg",ps({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:ms(ms({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&vt.createElement("title",null,o),e.children)};return wh!==void 0?vt.createElement(wh.Consumer,null,n=>t(n)):t(av)}function sT(e){return uv({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"},child:[]}]})(e)}function aT(e){return uv({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"},child:[]}]})(e)}const wt=()=>{const e=Ks();return n=>{const r=e.formatMessage({id:n});return r===n?void 0:r}},lT="_generalConditionsContainer_1ijeb_1",uT="_generalConditions_1ijeb_1",cT="_generalConditionsHeader_1ijeb_15",fT="_generalConditionsBody_1ijeb_25",dT="_generalConditionsAccept_1ijeb_33",Xr={generalConditionsContainer:lT,generalConditions:uT,generalConditionsHeader:cT,generalConditionsBody:fT,generalConditionsAccept:dT},hT="general-conditions.header",pT="general-conditions.body",xh="general-conditions.accept-conditions-note",mT=()=>{const e=wt(),[t,n]=N.useState(!1),r=()=>n(!t),i=a=>{a.key==="ArrowDown"||a.key==="ArrowRight"?n(!0):a.key==="ArrowUp"||a.key==="ArrowLeft"||a.key==="Escape"?n(!1):(a.key==="Enter"||a.key==="Space"||a.key===" ")&&r()},o=e(hT),s=e(xh);return _.jsxs("div",{className:R(Xr.generalConditionsContainer,"chat__generalConditions"),children:[!!(o!=null&&o.length)&&_.jsxs("div",{className:Xr.generalConditions,children:[_.jsxs("div",{role:"button",onClick:r,onKeyDown:i,tabIndex:0,className:R(Xr.generalConditionsHeader,"chat__generalConditions__header"),"aria-controls":"general-conditions-body","aria-expanded":t?"true":"false","aria-pressed":t?"true":"false",children:[_.jsx(vn,{children:o}),t?_.jsx(aT,{}):_.jsx(sT,{})]}),_.jsx("div",{className:R(Xr.generalConditionsBody,"chat__generalConditions__body"),id:"general-conditions-body",role:"region",tabIndex:-1,children:t&&_.jsx(vn,{children:e(pT)||""})})]}),!!(s!=null&&s.length)&&_.jsx("div",{className:R(Xr.generalConditionsAccept,"chat__generalConditions__accept"),tabIndex:0,children:_.jsx(vn,{children:e(xh)||""})})]})},gT="_message_1exlf_5",yT="_messageBot_1exlf_11",vT="_messageBotLast_1exlf_15",_T="_avatar_1exlf_15",ET="_messageBotFirst_1exlf_19",ST="_messageBotAnimated_1exlf_32",wT="_fadeInLeft_1exlf_1",bT="_messageGuest_1exlf_43",xT="_messageGuestFirst_1exlf_49",TT="_messageGuestLast_1exlf_55",CT="_botAvatar_1exlf_69",kT="_agentAvatar_1exlf_73",OT="_bubble_1exlf_77",RT="_bubbleContent_1exlf_83",NT="_bubbleLeft_1exlf_174",AT="_leftText_1exlf_183",PT="_bubbleRight_1exlf_190",IT="_rightText_1exlf_198",B={message:gT,messageBot:yT,messageBotLast:vT,avatar:_T,messageBotFirst:ET,messageBotAnimated:ST,fadeInLeft:wT,messageGuest:bT,messageGuestFirst:xT,messageGuestLast:TT,botAvatar:CT,agentAvatar:kT,bubble:OT,bubbleContent:RT,bubbleLeft:NT,leftText:AT,bubbleRight:PT,rightText:IT},DT="_problemReport_j3gru_1",MT="_problemReportIcon_j3gru_7",FT="_problemReportIconActive_j3gru_13",BT="_problemReportIconInactive_j3gru_21",Qr={problemReport:DT,problemReportIcon:MT,problemReportIconActive:FT,problemReportIconInactive:BT},LT=({reported:e,onReport:t})=>{const n=wt(),r=o=>()=>t(o),i=o=>s=>{s.key==="Enter"&&t(o)};return _.jsx("div",{className:Qr.problemReport,children:e?_.jsx("div",{role:"button",onClick:r(null),onKeyDown:i(null),tabIndex:0,className:R(Qr.problemReportIcon,"chat__problemReportIcon","chat_problemReportIcon",Qr.problemReportIconActive,"chat__problemReportIcon-active","chat_problemReportIcon-active"),children:_.jsx("img",{src:"problem-report-active.svg",title:n("problem-report.action.unmark"),alt:"Report"})}):_.jsx("div",{role:"button",onClick:r("unspecified"),onKeyDown:i("unspecified"),tabIndex:0,className:R(Qr.problemReportIcon,"chat_problemReportIcon",Qr.problemReportIconInactive,"chat_problemReportIcon-inactive"),children:_.jsx("img",{src:"problem-report-inactive.svg",title:n("problem-report.action.mark"),alt:"Report"})})})},cv=N.forwardRef(({message:e,problemReportingEnabled:t,isAnimated:n,isFirstMessageBySender:r,isLastMessageBySender:i,children:o,onProblemReport:s},a)=>{var c;const l=wt(),u=e.sender.type===U.UserType.BOT;return _.jsxs("li",{ref:a,className:R(B.message,B.messageBot,r&&B.messageBotFirst,i&&B.messageBotLast,"chat__bubbleContainer",n&&B.messageBotAnimated,n&&"chat__bubbleContainer--animated",u?"chat__botBubbleContainer":"chat__agentBubbleContainer",r&&"chat__bubbleContainer--first",i&&"chat__bubbleContainer--last"),children:[_.jsx("img",{className:R(B.avatar,u?B.botAvatar:B.agentAvatar,"chat__avatar",u?"chat__botAvatar":"chat__agentAvatar"),src:`${e.sender.avatar}`,alt:u?"Bot":"Agent",referrerPolicy:"no-referrer"}),_.jsx("div",{className:R(B.bubble,B.bubbleLeft,"chat__bubble",u?"chat__botBubble":"chat__agentBubble"),tabIndex:0,"aria-label":l(u?"bot-bubble.label":"agent-bubble.label"),children:_.jsx("div",{className:R(B.leftText),children:o})}),t&&s&&_.jsx(LT,{reported:!!((c=e.problemReport)!=null&&c.length),onReport:s})]})}),jT="_title_1mhh2_1",zT="_subtitle_1mhh2_6",UT="_buttons_1mhh2_11",$T="_button_1mhh2_11",HT="_imageContainer_1mhh2_33",GT="_image_1mhh2_33",VT="_video_container_1mhh2_44",WT="_video_1mhh2_44",qT="_only_1mhh2_54",Me={title:jT,subtitle:zT,buttons:UT,button:$T,imageContainer:HT,image:GT,video_container:VT,video:WT,only:qT},XT=({buttons:e,onButtonClick:t})=>_.jsx("div",{className:R(Me.buttons,"chat__bubbleButtons"),children:e.map((n,r)=>_.jsx("button",{className:R(Me.button,we.button,"chat__bubbleButton"),onClick:()=>t(n),children:n.title},r))});var fv={},hf={},pf={};Object.defineProperty(pf,"__esModule",{value:!0});var QT=N,KT=YT(QT);function YT(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}pf.default=function(e,t,n){return KT.createElement("a",{href:e,key:n},t)};var mf={};Object.defineProperty(mf,"__esModule",{value:!0});mf.default=function(e){return e};var gf={},Wa,Th;function ZT(){return Th||(Th=1,Wa=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Wa}var qa,Ch;function JT(){return Ch||(Ch=1,qa=/[\0-\x1F\x7F-\x9F]/),qa}var Xa,kh;function e2(){return kh||(kh=1,Xa=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Xa}var Qa,Oh;function t2(){return Oh||(Oh=1,Qa=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/),Qa}var Ka,Rh;function n2(){return Rh||(Rh=1,Ka=function(e){var t={};t.src_Any=ZT().source,t.src_Cc=JT().source,t.src_Z=e2().source,t.src_P=t2().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),Ka}function pu(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function ta(e){return Object.prototype.toString.call(e)}function r2(e){return ta(e)==="[object String]"}function i2(e){return ta(e)==="[object Object]"}function o2(e){return ta(e)==="[object RegExp]"}function Nh(e){return ta(e)==="[object Function]"}function s2(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var dv={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function a2(e){return Object.keys(e||{}).reduce(function(t,n){return t||dv.hasOwnProperty(n)},!1)}var l2={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},u2="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",c2="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function f2(e){e.__index__=-1,e.__text_cache__=""}function d2(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Ah(){return function(e,t){t.normalize(e)}}function gs(e){var t=e.re=n2()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(u2),n.push(t.src_xn),t.src_tlds=n.join("|");function r(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];e.__compiled__={};function o(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(e.__schemas__).forEach(function(a){var l=e.__schemas__[a];if(l!==null){var u={validate:null,link:null};if(e.__compiled__[a]=u,i2(l)){o2(l.validate)?u.validate=d2(l.validate):Nh(l.validate)?u.validate=l.validate:o(a,l),Nh(l.normalize)?u.normalize=l.normalize:l.normalize?o(a,l):u.normalize=Ah();return}if(r2(l)){i.push(a);return}o(a,l)}}),i.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:Ah()};var s=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(s2).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+s+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),f2(e)}function h2(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function Ph(e,t){var n=new h2(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function st(e,t){if(!(this instanceof st))return new st(e,t);t||a2(e)&&(t=e,e={}),this.__opts__=pu({},dv,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=pu({},l2,e),this.__compiled__={},this.__tlds__=c2,this.__tlds_replaced__=!1,this.re={},gs(this)}st.prototype.add=function(t,n){return this.__schemas__[t]=n,gs(this),this};st.prototype.set=function(t){return this.__opts__=pu(this.__opts__,t),this};st.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,r,i,o,s,a,l,u,c;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(o=this.testSchemaAt(t,n[2],l.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u<this.__index__)&&(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(s=r.index+r[1].length,(this.__index__<0||s<this.__index__)&&(this.__schema__="",this.__index__=s,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&(i=t.match(this.re.email_fuzzy))!==null&&(s=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||s<this.__index__||s===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=a))),this.__index__>=0};st.prototype.pretest=function(t){return this.re.pretest.test(t)};st.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};st.prototype.match=function(t){var n=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(Ph(this,n)),n=this.__last_index__);for(var i=n?t.slice(n):t;this.test(i);)r.push(Ph(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};st.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,o){return r!==o[i-1]}).reverse(),gs(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,gs(this),this)};st.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};st.prototype.onCompile=function(){};var p2=st;const m2=["aaa","aarp","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","vermögensberater","vermögensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","اتصالات","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"];Object.defineProperty(gf,"__esModule",{value:!0});var g2=p2,y2=hv(g2),v2=m2,_2=hv(v2);function hv(e){return e&&e.__esModule?e:{default:e}}var pv=new y2.default;pv.tlds(_2.default);gf.default=function(e){return pv.match(e)};var yf={};Object.defineProperty(yf,"__esModule",{value:!0});yf.default=function(e){return e};Object.defineProperty(hf,"__esModule",{value:!0});var E2=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),S2=N,Kr=N2(S2),w2=pf,b2=na(w2),x2=mf,T2=na(x2),C2=gf,k2=na(C2),O2=yf,R2=na(O2);function na(e){return e&&e.__esModule?e:{default:e}}function N2(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function A2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P2(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function I2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var mv=function(e){I2(t,e);function t(){return A2(this,t),P2(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E2(t,[{key:"parseString",value:function(r){var i=this;if(r==="")return r;var o=this.props.matchDecorator(r);if(!o)return r;var s=[],a=0;return o.forEach(function(l,u){l.index>a&&s.push(r.substring(a,l.index));var c=i.props.hrefDecorator(l.url),g=i.props.textDecorator(l.text),y=i.props.componentDecorator(c,g,u);s.push(y),a=l.lastIndex}),r.length>a&&s.push(r.substring(a)),s.length===1?s[0]:s}},{key:"parse",value:function(r){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof r=="string"?this.parseString(r):Kr.isValidElement(r)&&r.type!=="a"&&r.type!=="button"?Kr.cloneElement(r,{key:o},this.parse(r.props.children)):Array.isArray(r)?r.map(function(s,a){return i.parse(s,a)}):r}},{key:"render",value:function(){return Kr.createElement(Kr.Fragment,null,this.parse(this.props.children))}}]),t}(Kr.Component);mv.defaultProps={componentDecorator:b2.default,hrefDecorator:T2.default,matchDecorator:k2.default,textDecorator:R2.default};hf.default=mv;Object.defineProperty(fv,"__esModule",{value:!0});var D2=hf,M2=F2(D2);function F2(e){return e&&e.__esModule?e:{default:e}}var B2=fv.default=M2.default;const L2="_text_1k7aq_1",j2={text:L2},gv=({text:e,onLinkClick:t})=>{const n=i=>o=>(o.preventDefault(),i&&t(i),!1),r=(i,o,s)=>_.jsx("a",{onClick:n(i),role:"button",children:o},s);return _.jsx("div",{children:e.split(`
|
|
98
|
+
`).map((i,o)=>_.jsxs("span",{className:j2.text,children:[_.jsx(B2,{componentDecorator:r,children:i}),_.jsx("br",{})]},o))})},z2=({subtitle:e,onLinkClick:t})=>e?_.jsx("div",{className:Me.subtitle,children:_.jsx(gv,{text:e,onLinkClick:t})}):null,Ih="newtab#",yv=({markdown:e,onLinkClick:t})=>{const n=i=>o=>(o.preventDefault(),i&&t(i),!1),r=({title:i,href:o,children:s})=>o.indexOf(Ih)===0?_.jsx("a",{href:o.slice(Ih.length),title:i,target:"_blank",rel:"noopener noreferrer",children:s}):_.jsx("a",{onClick:n(o),title:i,children:s});return _.jsx(vn,{options:{overrides:{a:r}},children:e})},U2=({text:e,onLinkClick:t})=>e?_.jsx("div",{children:_.jsx(yv,{markdown:e,onLinkClick:t})}):null,$2=({title:e})=>e?_.jsx("h1",{className:Me.title,children:e}):null,H2=({title:e,text:t,subtitle:n,buttons:r,onButtonClick:i,onLinkClick:o})=>(e==null?void 0:e.length)||(t==null?void 0:t.length)||(n==null?void 0:n.length)||(r==null?void 0:r.length)?_.jsxs("div",{className:R(B.bubbleContent),children:[_.jsx($2,{title:e}),_.jsx(U2,{text:t,onLinkClick:o}),_.jsx(z2,{subtitle:n,onLinkClick:o}),_.jsx(XT,{buttons:r,onButtonClick:i})]}):null,G2=({alt:e,imageUrl:t,itemUrl:n,hasBody:r})=>t?n?n.indexOf("youtube.com")>-1?_.jsx("div",{className:Me.video_container,children:_.jsx("iframe",{className:R(Me.video,{[Me.only]:!r}),title:"Youtube",width:"100%",src:n+"?rel=0",frameBorder:"0",allowFullScreen:!0})}):_.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",children:_.jsx("div",{className:Me.imageContainer,children:_.jsx("img",{className:R(Me.image,{[Me.only]:!r}),src:t,alt:e})})}):_.jsx("div",{className:Me.imageContainer,children:_.jsx("img",{className:R(Me.image,{[Me.only]:!r}),src:t,alt:e})}):null,V2=({title:e,text:t,subtitle:n,imageUrl:r,itemUrl:i,buttons:o,onButtonClick:s,onLinkClick:a})=>{const l=!!(e!=null&&e.length)||!!(t!=null&&t.length)||!!(n!=null&&n.length)||!!(o!=null&&o.length);return _.jsxs("div",{className:R(Me.detailMessage),children:[_.jsx(G2,{hasBody:l,imageUrl:r,itemUrl:i,alt:e||n}),l&&_.jsx(H2,{title:e,text:t,subtitle:n,buttons:o,onLinkClick:a,onButtonClick:s})]})},W2=N.forwardRef(({isFirstMessageBySender:e,isLastMessageBySender:t,children:n},r)=>{const i=wt();return _.jsx("li",{ref:r,className:R(B.message,B.messageGuest,e&&B.messageGuestFirst,t&&B.messageGuestLast,"chat__bubbleContainer","chat__guestBubbleContainer",e&&"chat__bubbleContainer--first",t&&"chat__bubbleContainer--last"),children:_.jsx("div",{className:R(B.bubble,B.bubbleRight,"chat__bubble","chat__guestBubble"),tabIndex:0,"aria-label":i("guest-bubble.label"),children:_.jsx("div",{className:R(B.rightText),children:n})})})}),q2=({markdown:e,className:t,onLinkClick:n})=>_.jsx("div",{className:R(B.bubbleContent,t),children:_.jsx(yv,{markdown:e,onLinkClick:n})}),X2=({text:e,onLinkClick:t})=>_.jsx("div",{className:B.bubbleContent,children:_.jsx(gv,{text:e,onLinkClick:t})}),Q2=N.forwardRef(({message:e,problemReportingEnabled:t,isFirstMessageBySender:n,isLastMessageBySender:r,onProblemReport:i,onButtonClick:o,onLinkClick:s},a)=>{const l=K2(e,o,s);switch(e.sender.type){case U.UserType.GUEST:return _.jsx(W2,{ref:a,isFirstMessageBySender:n,isLastMessageBySender:r,children:l});default:const u=c=>i(e._id,c);return _.jsx(cv,{ref:a,message:e,problemReportingEnabled:t,isAnimated:!1,isFirstMessageBySender:n,isLastMessageBySender:r,onProblemReport:u,children:l})}}),K2=(e,t,n)=>{switch(e.type){case U.MessageTypeEnum.TEXT:const r=e;return _.jsx(X2,{text:r.text,onLinkClick:n});case U.MessageTypeEnum.DETAIL:const i=e;return _.jsx(V2,{title:i.title,text:i.text,subtitle:i.subtitle,imageUrl:i.imageUrl,itemUrl:i.itemUrl,buttons:i.buttons,onButtonClick:t,onLinkClick:n});case U.MessageTypeEnum.MARKDOWN:const o=e;return _.jsx(q2,{markdown:o.markdown,className:o.className,onLinkClick:n})}},Y2=(e,t)=>e.message._id===t.message._id&&e.message.problemReport===t.message.problemReport&&e.problemReportingEnabled===t.problemReportingEnabled&&e.isFirstMessageBySender===t.isFirstMessageBySender&&e.isLastMessageBySender===t.isLastMessageBySender,Z2=vt.memo(Q2,Y2),J2="_ticontainer_wftg7_1",eC="_tiblock_wftg7_5",tC="_tidot_wftg7_12",nC="_mercuryTypingAnimation_wftg7_1",Yr={ticontainer:J2,tiblock:eC,tidot:tC,mercuryTypingAnimation:nC},rC=({isTyping:e=!1})=>_.jsx("div",{className:Yr.ticontainer,children:_.jsx("div",{className:Yr.tiblock,children:e?_.jsxs(_.Fragment,{children:[_.jsx("div",{className:R(Yr.tidot,"chat__typingIndicator")}),_.jsx("div",{className:R(Yr.tidot,"chat__typingIndicator")}),_.jsx("div",{className:R(Yr.tidot,"chat__typingIndicator")})]}):null})}),iC=Object.assign({_id:"typing-indicator"},new U.TextMessage("",new U.BotUser)),oC=({messages:e,isBotTyping:t,showGeneralConditions:n,problemReportingEnabled:r,onProblemReport:i,onButtonClick:o,onLinkClick:s})=>{const a=N.useRef(!0),l=N.useRef(null),u=N.useRef(null),c=N.useRef(null);N.useLayoutEffect(()=>{if(e.length&&l.current){if(u.current){const f=u.current.offsetTop;l.current.scrollTop=f}else if(c.current){const f=c.current.offsetTop;l.current.scrollTop=f}a.current&&(a.current=!1)}},[e,u.current,c.current,a]);let g;const y=e.length;return _.jsxs("div",{ref:l,className:R(dh.messageContainer,"chat__messageContainer"),style:{scrollBehavior:e.length&&a.current?"auto":"smooth"},id:"MessageContainer",role:"log","aria-live":"polite",children:[n&&_.jsx(mT,{}),_.jsxs("ul",{className:dh.messages,children:[e.map((f,v)=>{const p=sC(f,g),S=aC(f,v,e,t);g=f.sender.type;const h=v+1===y;return _.jsx(Z2,{ref:h?c:null,message:f,problemReportingEnabled:r,isFirstMessageBySender:p,isLastMessageBySender:S,onButtonClick:o,onLinkClick:s,onProblemReport:i},h&&!t?"last":f._id)}),t&&_.jsx(cv,{ref:u,message:iC,problemReportingEnabled:!1,isAnimated:!0,isFirstMessageBySender:g!==U.UserType.BOT,isLastMessageBySender:!0,children:_.jsx(rC,{isTyping:!0})},"last")]})]})},sC=(e,t)=>!t||t!==e.sender.type,aC=(e,t,n,r)=>{var a;const i=e.sender.type,o=n.length;return t+1===o?!(i===U.UserType.BOT&&r):i!==((a=n.at(t+1))==null?void 0:a.sender.type)},lC="_container_t5oqt_1",uC={container:lC},cC=({title:e,href:t,children:n})=>_.jsx("a",{href:t,title:e,target:"_blank",rel:"noopener noreferrer",children:n}),fC=()=>{const t=wt()("powered-by");return t&&t.length?_.jsx("div",{className:R(uC.container,"chat__poweredBy"),children:_.jsx(vn,{options:{overrides:{a:cC}},children:t})}):null},dC="_container_fgqz2_1",hC="_containerOpen_fgqz2_48",pC="_containerClose_fgqz2_52",mC="_formContainer_fgqz2_56",gC="_emailInput_fgqz2_61",yC="_description_fgqz2_90",vC="_actions_fgqz2_95",_C="_validationError_fgqz2_105",EC="_submitted_fgqz2_112",dt={container:dC,containerOpen:hC,"slide-in":"_slide-in_fgqz2_1",containerClose:pC,"slide-out":"_slide-out_fgqz2_1",formContainer:mC,emailInput:gC,description:yC,actions:vC,validationError:_C,submitted:EC},SC=({visible:e,methods:t,onEmailExport:n,onPdfExport:r,onClose:i})=>{const o=wt(),[s,a]=N.useState(void 0),[l,u]=N.useState(!1),[c,g]=N.useState(!1),[y,f]=N.useState(void 0),v=N.useRef(null);N.useEffect(()=>{var d;e?((d=v.current)==null||d.focus(),u(!1),g(!1),a(e)):s===!0&&a(!1)},[e,s]);const p=d=>{d.preventDefault(),y&&y.length>0&&(n(y),u(!0),setTimeout(i,3*1e3))},S=d=>{const m=d.target.value.trim(),E=/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(m);f(E?m:"")},h=()=>{g(!0),r(),setTimeout(i,3*1e3)};return _.jsxs("div",{className:R(dt.container,{[dt.containerOpen]:s===!0,[dt.containerClose]:s===!1}),children:[t.pdf&&_.jsxs(_.Fragment,{children:[_.jsx("h2",{children:o("export-transcript.pdf.title")}),_.jsx(vn,{className:dt.description,children:o("export-transcript.pdf.description")||""}),_.jsxs("div",{className:dt.actions,children:[_.jsx("button",{type:"button",className:R(we.button,we.buttonDefault),onClick:i,children:o("export-transcript.pdf.cancel")}),_.jsx("button",{className:R(we.button,we.buttonPrimary),onClick:h,disabled:c,children:o("export-transcript.pdf.download")})]})]}),t.email&&_.jsxs(_.Fragment,{children:[_.jsx("h2",{children:o("export-transcript.email.title")}),_.jsx(vn,{className:dt.description,children:o("export-transcript.email.description")||""}),_.jsxs("form",{onSubmit:p,className:dt.formContainer,children:[_.jsxs("div",{children:[_.jsx("input",{disabled:l,ref:v,type:"email",placeholder:o("export-transcript.email.placeholder"),className:dt.emailInput,onChange:S}),(y==null?void 0:y.length)===0?_.jsx("div",{className:dt.validationError,children:o("export-transcript.email.invalid")}):null]}),_.jsxs("div",{className:dt.actions,children:[_.jsx("button",{type:"button",className:R(we.button,we.buttonDefault),onClick:i,children:o("export-transcript.email.cancel")}),_.jsx("button",{type:"submit",disabled:l||y===void 0||y.length===0,className:R(we.button,we.buttonPrimary),children:o("export-transcript.email.send")})]})]}),l&&_.jsx("div",{className:dt.submitted,children:o("export-transcript.email.success")})]})]})},wC="_inputContainer_1px77_1",bC={inputContainer:wC},xC="_blockUserInput_rv0dg_1",TC={blockUserInput:xC,"append-animate":"_append-animate_rv0dg_1"},CC=({visible:e})=>{const t=wt();return e?_.jsx("div",{className:R(TC.blockUserInput,"chat__blockUserInput"),children:t("block-user-input.title")}):null},kC="_callToActionContainer_1t611_1",OC="_callToActionTitle_1t611_24",RC="_rateOverlay_1t611_31",NC="_body_1t611_61",AC="_rateOverlayOpen_1t611_92",PC="_rateOverlayClose_1t611_96",IC="_footer_1t611_100",DC="_actions_1t611_115",MC="_bubbles_1t611_127",FC="_rateFeedbackBotBubble_1t611_154",BC="_rateFeedbackGuestBubble_1t611_160",LC="_avatar_1t611_166",jC="_fadeInLeft_1t611_1",zC="_bubble_1t611_127",UC="_appear_1t611_1",$C="_botBubble_1t611_192",HC="_guestBubble_1t611_202",GC="_rateText_1t611_218",VC="_stars_1t611_223",WC="_starsSmall_1t611_236",qC="_starsLarge_1t611_240",XC="_star_1t611_223",QC="_starReadonly_1t611_257",KC="_starIcon_1t611_265",YC="_starsDescriptionContainer_1t611_283",ZC="_starsDescription_1t611_283",Se={callToActionContainer:kC,"append-animate":"_append-animate_1t611_1",callToActionTitle:OC,rateOverlay:RC,body:NC,rateOverlayOpen:AC,"slide-in":"_slide-in_1t611_1",rateOverlayClose:PC,"slide-out":"_slide-out_1t611_1",footer:IC,actions:DC,bubbles:MC,rateFeedbackBotBubble:FC,rateFeedbackGuestBubble:BC,avatar:LC,fadeInLeft:jC,bubble:zC,appear:UC,botBubble:$C,guestBubble:HC,rateText:GC,stars:VC,starsSmall:WC,starsLarge:qC,star:XC,starReadonly:QC,starIcon:KC,starsDescriptionContainer:YC,starsDescription:ZC},JC=({value:e,index:t,count:n,readonly:r,onHover:i,onClick:o})=>{const s=a=>{o&&a.key==="Enter"&&o()};return _.jsx("li",{className:R(Se.star,{[Se.starReadonly]:r},"chat__conversationRating__star"),children:_.jsx("div",{role:"radio","aria-checked":e>t?"true":"false","aria-posinset":t+1,"aria-setsize":n,tabIndex:0,onMouseOver:i,onKeyDown:s,onClick:o,children:_.jsx("span",{role:"img","aria-label":"Star",className:R(Se.starIcon),children:_.jsx("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:_.jsx("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"})})})})})},Dh=5,vv=({value:e,size:t,readonly:n=!1,onChange:r})=>{const[i,o]=N.useState(void 0),s=()=>{o(void 0)},a=u=>()=>{if(!n){const c=u+1;o(c)}},l=u=>()=>{r&&!n&&(r(u===0&&e===1?0:u+1),o(void 0))};return _.jsx("ul",{tabIndex:0,role:"radiogroup",className:R(Se.stars,{[Se.starsSmall]:t==="small",[Se.starsLarge]:t==="large"},"chat__conversationRating__stars",{chat__conversationRating__stars__small:t==="small",chat__conversationRating__stars__large:t==="large"}),onMouseOut:s,children:Array(Dh).fill(0).map((u,c)=>_.jsx(JC,{value:i===void 0?e:i,index:c,count:Dh,readonly:n,onHover:a(c),onClick:l(c)},c))})},ek=({visible:e,onRate:t})=>{const n=wt();return e?_.jsxs("div",{className:R(Se.callToActionContainer,"chat__conversationRating__callToAction"),children:[_.jsx("div",{className:R(Se.callToActionTitle,"chat__conversationRating__callToAction__title"),children:n("conversation-rating.call-to-action.title")}),_.jsx(vv,{value:0,size:"small",onChange:t})]}):null},Mh=({isFirstMessageBySender:e,isLastMessageBySender:t,children:n})=>_.jsxs("div",{className:R(B.message,B.messageBot,e&&B.messageBotFirst,t&&B.messageBotLast,"chat__bubbleContainer","chat__botBubbleContainer",e&&"chat__bubbleContainer--first",t&&"chat__bubbleContainer--last"),children:[_.jsx("img",{className:R(B.avatar,B.botAvatar),src:"bot.svg",alt:"Bot"}),_.jsx("div",{className:R(B.bubble,B.bubbleLeft,"chat__bubble","chat__botBubble"),children:_.jsx("div",{className:R(B.leftText,B.bubbleContent),children:n})})]}),tk=({children:e})=>_.jsx("div",{className:R(B.message,B.messageGuest,B.messageGuestFirst,B.messageGuestLast,"chat__bubbleContainer","chat__guestBubbleContainer","chat__bubbleContainer--first","chat__bubbleContainer--last"),children:_.jsx("div",{className:R(B.bubble,B.bubbleRight,"chat__bubble","chat__guestBubble"),children:_.jsx("div",{className:R(B.rightText,B.bubbleContent),children:e})})}),nk=({visible:e,rating:t,onRate:n,onClose:r})=>{const i=wt(),[o,s]=N.useState(t),[a,l]=N.useState(void 0),[u,c]=N.useState(void 0),[g,y]=N.useState({submitted:!1,feedback:""}),[f,v]=N.useState(!1),p=N.useRef(null);N.useEffect(()=>{e?(y({submitted:!1,feedback:""}),c(e)):u===!0&&c(!1)},[e,u]),N.useEffect(()=>{s(t)},[t]),N.useEffect(()=>{const h=i(`conversation-rating.overlay.bot-message.rate-feedback.value-${o}`);l(h!=null&&h.length?h:void 0)},[o,i]),N.useEffect(()=>{g.submitted?setTimeout(()=>v(!0),g.feedback.length?500:0):v(!1)},[g]);const S=h=>{var m,E;h.preventDefault();const d=((E=(m=p.current)==null?void 0:m.value)==null?void 0:E.trim())||"";n(o,d),y({submitted:!0,feedback:d})};return _.jsx("div",{className:R(Se.rateOverlay,"chat__conversationRating__overlay",{[Se.rateOverlayOpen]:u===!0,[Se.rateOverlayClose]:u===!1}),children:_.jsxs("form",{onSubmit:S,children:[_.jsxs("div",{className:R(Se.body,"chat__conversationRating__overlay__body"),children:[_.jsxs("div",{children:[_.jsx("h2",{children:i("conversation-rating.overlay.title")}),_.jsxs("div",{className:R(Se.starsDescriptionContainer),children:[_.jsx(vv,{value:o,size:"large",readonly:g.submitted,onChange:s}),_.jsxs("div",{className:R(Se.starsDescription),children:[_.jsx("div",{children:i("conversation-rating.overlay.star.very-bad")}),_.jsx("div",{children:i("conversation-rating.overlay.star.very-good")})]})]})]}),_.jsx("div",{className:R(Se.bubbles),children:e&&a&&_.jsxs(_.Fragment,{children:[_.jsx(Mh,{isFirstMessageBySender:!0,isLastMessageBySender:!f||!!g.feedback.length,children:_.jsx("div",{children:a})}),!!g.feedback.length&&_.jsx(tk,{children:g.feedback}),f&&_.jsx(Mh,{isFirstMessageBySender:!!g.feedback.length,isLastMessageBySender:!0,children:_.jsx("div",{children:i("conversation-rating.overlay.bot-message.submit-feedback")})})]})})]}),_.jsxs("div",{className:R(Se.footer,"chat__conversationRating__overlay__footer"),children:[!g.submitted&&_.jsx("input",{ref:p,placeholder:i("conversation-rating.overlay.guest-feedback.input-placeholder")}),_.jsx("div",{className:R(Se.actions,"chat__conversationRating__overlay__footer__actions"),children:g.submitted?_.jsx("button",{type:"button",className:R(we.button,we.buttonPrimary),onClick:r,children:i("conversation-rating.overlay.action.close")}):_.jsx("button",{type:"submit",className:R(we.button,we.buttonPrimary),children:i("conversation-rating.overlay.action.submit")})})]})]})})},rk=({conversationRating:{enabled:e,rating:t},numberOfMessagesFromGuest:n,showRatingOverlay:r,setShowRatingOverlay:i,onRate:o})=>{const[s,a]=N.useState(0),l=g=>{a(g),i(!0)},u=()=>i(!1),c=!t&&n>=1;return e?_.jsxs(_.Fragment,{children:[_.jsx(ek,{visible:c,onRate:l}),_.jsx(nk,{visible:r,rating:s,onRate:o,onClose:u})]}):null},ik="_inputWrapper_lbrof_5",ok="_messageInputWrapper_lbrof_14",sk="_messageInput_lbrof_14",ak="_buttons_lbrof_36",lk="_button_lbrof_36",tr={inputWrapper:ik,messageInputWrapper:ok,messageInput:sk,buttons:ak,button:lk},uk="_audioRecorder_12g22_5",ck="_recordButton_12g22_10",fk="_submitButton_12g22_37",dk="_cancelButton_12g22_64",hk="_recorderIcon_12g22_91",pk="_pulse_12g22_1",mk="_spinning_12g22_113",gk="_spin_12g22_113",An={audioRecorder:uk,recordButton:ck,submitButton:fk,cancelButton:dk,recorderIcon:hk,pulse:pk,spinning:mk,spin:gk},Fh=2048,ys=16e3;class yk extends vt.Component{constructor(n){super(n);V(this,"audioInput",null);V(this,"volume",null);V(this,"leftchannel",[]);V(this,"recorder",null);V(this,"recordingLength",0);V(this,"sampleRate",null);V(this,"mediaStream",null);this.state={recordingState:"none"},this.triggerAudioRecording=this.triggerAudioRecording.bind(this),this.triggerAudioRecordingSuccess=this.triggerAudioRecordingSuccess.bind(this),this.initRecording=this.initRecording.bind(this),this.processRecordingInput=this.processRecordingInput.bind(this),this.handleClickSubmitAudio=this.handleClickSubmitAudio.bind(this),this.handleClickStopAudio=this.handleClickStopAudio.bind(this)}triggerAudioRecording(){this.setState({recordingState:"connecting"}),navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(this.triggerAudioRecordingSuccess)}triggerAudioRecordingSuccess(n){this.mediaStream=n,this.leftchannel.length=0,this.recordingLength=0,this.initRecording(n)}initRecording(n){var r=window.AudioContext||window.webkitAudioContext,i=new r;this.sampleRate=i.sampleRate,this.volume=i.createGain(),this.audioInput=i.createMediaStreamSource(n),this.audioInput.connect(this.volume),this.recorder=i.createScriptProcessor(Fh,1,1),this.recorder.onaudioprocess=this.processRecordingInput,this.volume.connect(this.recorder),this.recorder.connect(i.destination)}processRecordingInput(n){if(this.state.recordingState==="connecting"&&this.setState({recordingState:"recording"}),this.state.recordingState!=="none"){const r=n.inputBuffer.getChannelData(0);this.leftchannel.push(new Float32Array(r)),this.recordingLength+=Fh}}handleClickSubmitAudio(){const n=_k(this.leftchannel,this.recordingLength),r=Ek(n,this.sampleRate||0),i=vk(r);this.props.onAudioRecorded(i),this.handleClickStopAudio()}handleClickStopAudio(){var n,r,i,o;this.setState({recordingState:"none"}),(n=this.audioInput)==null||n.disconnect(),(r=this.volume)==null||r.disconnect(),(i=this.recorder)==null||i.disconnect(),this.mediaStream&&((o=this.mediaStream)==null||o.getAudioTracks().forEach(s=>{s.stop()}))}render(){return _.jsxs("div",{className:An.audioRecorder,children:[this.state.recordingState==="none"&&_.jsx("button",{className:R(An.recordButton,"chat__button"),type:"submit","aria-label":this.props.translate("message-input.actions.start-audio-recording.label"),tabIndex:0,onClick:this.triggerAudioRecording,children:_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"}),_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]})}),this.state.recordingState==="connecting"&&_.jsxs("svg",{className:An.spinning,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]}),this.state.recordingState==="recording"&&_.jsxs("div",{className:An.audioRecorder,children:[_.jsx("button",{className:R(An.cancelButton),onClick:this.handleClickStopAudio,"aria-label":this.props.translate("message-input.actions.stop-audio-recording.label"),tabIndex:0,children:_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]})}),_.jsx("div",{className:An.recorderIcon}),_.jsx("button",{className:R(An.submitButton),type:"submit",onClick:this.handleClickSubmitAudio,"aria-label":this.props.translate("message-input.actions.submit-audio-recording.label"),tabIndex:0,autoFocus:!0,children:_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"}),_.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})]})})]})]})}}const vk=e=>{const t=new ArrayBuffer(44+e.length*2),n=new DataView(t);mo(n,0,"RIFF"),n.setUint32(4,44+e.length*2,!0),mo(n,8,"WAVE"),mo(n,12,"fmt "),n.setUint32(16,16,!0),n.setUint16(20,1,!0),n.setUint16(22,1,!0),n.setUint32(24,ys,!0),n.setUint32(28,ys*4,!0),n.setUint16(32,4,!0),n.setUint16(34,16,!0),mo(n,36,"data"),n.setUint32(40,e.length*2,!0);const r=e.length;let i=44;const o=1;for(var s=0;s<r;s++)n.setInt16(i,e[s]*(32767*o),!0),i+=2;return new Blob([n],{type:"audio/wav"})},mo=(e,t,n)=>{for(var r=0;r<n.length;r++)e.setUint8(t+r,n.charCodeAt(r))},_k=(e,t)=>{const n=new Float32Array(t);let r=0;const i=e.length;for(var o=0;o<i;o++){const s=e[o];n.set(s,r),r+=s.length}return n},Ek=(e,t)=>{if(ys===t)return e;const n=t/ys,r=Math.round(e.length/n),i=new Float32Array(r);let o=0,s=0;for(;o<i.length;){let l=Math.round((o+1)*n),u=0,c=0;for(var a=s;a<l&&a<e.length;a++)u+=e[a],c++;i[o]=u/c,o++,s=l}return i},Sk=({speechSupport:e,transcriptExportEnabled:t,disabled:n,onTextInput:r,onAudioRecorded:i,onOpenTranscriptExportModal:o})=>{const s=wt(),[a,l]=N.useState(!1),u=N.useRef(null),c=()=>{const v=u.current;v&&v.value.trim().length>=1&&r(v.value.trim())&&(v.value="",v.style.height="",l(!1),v.focus())},g=v=>{v.preventDefault(),c()},y=v=>{const p=v.target.value.trim();l(p.length>0),v.target.style.height="";const{scrollHeight:S}=v.target;v.target.style.height=`${S>150?150:S}px`},f=v=>{v.code==="Enter"&&!v.shiftKey&&(v.repeat||c(),v.preventDefault())};return _.jsxs("form",{className:R(tr.inputWrapper,"chat__textInput"),onSubmit:g,children:[_.jsx("div",{className:tr.messageInputWrapper,children:_.jsx("textarea",{id:"user_input",ref:u,className:tr.messageInput,tabIndex:0,placeholder:s("message-input-placeholder"),onChange:y,onKeyDown:f,"aria-label":s("message-input-label")})}),_.jsxs("div",{className:R(tr.buttons,"chat__buttons"),children:[!a&&t&&_.jsx("button",{type:"button",className:R(tr.button,"chat__button"),"aria-label":s("message-input.actions.export-transcript.label"),tabIndex:0,onClick:o,children:_.jsx("svg",{viewBox:"64 64 896 896",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:_.jsx("path",{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"})})}),a||!e||navigator.mediaDevices===void 0?_.jsx("button",{className:R(tr.button,"chat__button"),type:"submit","aria-label":s("message-input.actions.submit.label"),tabIndex:0,disabled:n,children:_.jsx("svg",{viewBox:"64 64 896 896",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:_.jsx("path",{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"})})}):e&&navigator.mediaDevices!==void 0&&_.jsx(yk,{translate:s,onAudioRecorded:i})]})]})},wk="_quickReplies_11l22_1",bk="_quickReply_11l22_9",Bh={quickReplies:wk,quickReply:bk},xk=({quickReplies:e,onQuickReplyClick:t})=>e.length?_.jsx("div",{className:R(Bh.quickReplies,"chat__quickReplies"),children:e.map(n=>_.jsx("button",{tabIndex:0,className:R(Bh.quickReply,we.button,"chat__button","chat__quickReply"),onClick:()=>t(n),children:n.label},n.label))}):null,Lh=5e3,Tk=1e3,Ck=({isBotTyping:e,quickReplies:t,speechSupport:n,transcriptExportEnabled:r,conversationRating:i,numberOfMessagesFromGuest:o,showRatingOverlay:s,setShowRatingOverlay:a,onTextInput:l,onRate:u,onQuickReplyClick:c,onAudioRecorded:g,onOpenTranscriptExportModal:y})=>{const[f,v]=N.useState(!1),p=N.useRef(),S=N.useRef(0);N.useEffect(()=>{if(f&&!e){const d=p.current?Date.now()-p.current:0;d>Lh?v(!1):setTimeout(()=>{v(!1)},Lh-d)}},[f,e]),N.useEffect(()=>{f&&(p.current=Date.now())},[f]);const h=d=>{const m=Date.now()-S.current<Tk;return e||m?(v(!0),!1):(l(d),S.current=Date.now(),!0)};return _.jsxs("div",{className:R(bC.inputContainer),children:[_.jsx(xk,{quickReplies:t,onQuickReplyClick:c}),_.jsx(CC,{visible:f}),!f&&_.jsx(rk,{conversationRating:i,numberOfMessagesFromGuest:o,onRate:u,showRatingOverlay:s,setShowRatingOverlay:a}),_.jsx(Sk,{onTextInput:h,onAudioRecorded:g,speechSupport:n,onOpenTranscriptExportModal:y,transcriptExportEnabled:r,disabled:f})]})},kk=({clientName:e,messages:t,quickReplies:n,isBotTyping:r,speechSupport:i,problemReportingEnabled:o,transcriptExportEnabled:s,conversationRating:a,showGeneralConditions:l,onMessageFromUser:u,onRate:c,onQuickReplyClick:g,onButtonClick:y,onLinkClick:f,onAudioRecorded:v,onTranscriptExport:p,onPdfExport:S,onProblemReport:h})=>{const d=Ic(),m=Ii(P=>P.connection.connectionState),[E,w]=N.useState(!1),[b,x]=N.useState(!1),T=s.email||s.pdf,M=t.filter(P=>P.sender.type===Uy.GUEST).length;return N.useEffect(()=>{if(m===an.CONNECTED){const P=Fc.parse(window.location.search);d(zy(e,P,void 0))}},[m,d]),_.jsxs("div",{children:[_.jsxs("div",{className:`${Xb.chatcontent} ${E||b?we.accessabilityHidden:""}`,children:[_.jsx(oC,{messages:t,isBotTyping:r,showGeneralConditions:l,problemReportingEnabled:o,onButtonClick:y,onLinkClick:f,onProblemReport:h}),_.jsx(Ck,{isBotTyping:r,quickReplies:r?[]:n,numberOfMessagesFromGuest:M,speechSupport:i,transcriptExportEnabled:T,conversationRating:E?{enabled:!1}:a,showRatingOverlay:b,setShowRatingOverlay:x,onRate:c,onQuickReplyClick:g,onTextInput:u,onAudioRecorded:v,onOpenTranscriptExportModal:()=>w(!E)}),_.jsx(fC,{})]}),T&&_.jsx(SC,{methods:s,visible:E,onEmailExport:p,onPdfExport:S,onClose:()=>w(!1)})]})},Ok=e=>{const{messages:t,quickReplies:n,isBotTyping:r,speechSupport:i,problemReportingEnabled:o,transcriptExportEnabled:s,conversationRating:a,showGeneralConditions:l}=e.chat;return{messages:t,quickReplies:n,isBotTyping:r,speechSupport:i,problemReportingEnabled:o,transcriptExportEnabled:s,conversationRating:a,showGeneralConditions:l}},Rk=e=>({onRestartChat:(t,n)=>e(cf(t,n)),onMessageFromUser:t=>e(Dy(t)),onRate:(t,n)=>e(Rb(t,n)),onAudioRecorded:t=>e(Eb(t)),onActionFromUser:t=>e(t),onQuickReplyClick:t=>e(Iy(t)),onNluEvent:t=>e(By(t)),onButtonClick:t=>e(Ab(t)),onLinkClick:t=>e(Pb(t)),onTranscriptExport:t=>e(Tb(t)),onPdfExport:()=>e(kb()),onProblemReport:(t,n)=>e(U.reportProblemFromGuest(t,n))}),Nk=FE(Ok,Rk)(kk),Ak="_chatwindow_phukm_1",Pk="_chatcontent_phukm_13",Ik={chatwindow:Ak,chatcontent:Pk};function _e(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Dk=typeof Symbol=="function"&&Symbol.observable||"@@observable",jh=Dk,Ya=()=>Math.random().toString(36).substring(7).split("").join("."),Mk={INIT:`@@redux/INIT${Ya()}`,REPLACE:`@@redux/REPLACE${Ya()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ya()}`},vs=Mk;function vf(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function _v(e,t,n){if(typeof e!="function")throw new Error(_e(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(_e(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(_e(1));return n(_v)(e,t)}let r=e,i=t,o=new Map,s=o,a=0,l=!1;function u(){s===o&&(s=new Map,o.forEach((S,h)=>{s.set(h,S)}))}function c(){if(l)throw new Error(_e(3));return i}function g(S){if(typeof S!="function")throw new Error(_e(4));if(l)throw new Error(_e(5));let h=!0;u();const d=a++;return s.set(d,S),function(){if(h){if(l)throw new Error(_e(6));h=!1,u(),s.delete(d),o=null}}}function y(S){if(!vf(S))throw new Error(_e(7));if(typeof S.type>"u")throw new Error(_e(8));if(typeof S.type!="string")throw new Error(_e(17));if(l)throw new Error(_e(9));try{l=!0,i=r(i,S)}finally{l=!1}return(o=s).forEach(d=>{d()}),S}function f(S){if(typeof S!="function")throw new Error(_e(10));r=S,y({type:vs.REPLACE})}function v(){const S=g;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(_e(11));function d(){const E=h;E.next&&E.next(c())}return d(),{unsubscribe:S(d)}},[jh](){return this}}}return y({type:vs.INIT}),{dispatch:y,subscribe:g,getState:c,replaceReducer:f,[jh]:v}}function Fk(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:vs.INIT})>"u")throw new Error(_e(12));if(typeof n(void 0,{type:vs.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(_e(13))})}function Ev(e){const t=Object.keys(e),n={};for(let o=0;o<t.length;o++){const s=t[o];typeof e[s]=="function"&&(n[s]=e[s])}const r=Object.keys(n);let i;try{Fk(n)}catch(o){i=o}return function(s={},a){if(i)throw i;let l=!1;const u={};for(let c=0;c<r.length;c++){const g=r[c],y=n[g],f=s[g],v=y(f,a);if(typeof v>"u")throw a&&a.type,new Error(_e(14));u[g]=v,l=l||v!==f}return l=l||r.length!==Object.keys(s).length,l?u:s}}function _s(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Bk(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(_e(15))};const s={getState:i.getState,dispatch:(l,...u)=>o(l,...u)},a=e.map(l=>l(s));return o=_s(...a)(i.dispatch),{...i,dispatch:o}}}function Lk(e){return vf(e)&&"type"in e&&typeof e.type=="string"}var Sv=Symbol.for("immer-nothing"),zh=Symbol.for("immer-draftable"),qe=Symbol.for("immer-state");function yt(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ar=Object.getPrototypeOf;function Sn(e){return!!e&&!!e[qe]}function Yt(e){var t;return e?wv(e)||Array.isArray(e)||!!e[zh]||!!((t=e.constructor)!=null&&t[zh])||ia(e)||oa(e):!1}var jk=Object.prototype.constructor.toString();function wv(e){if(!e||typeof e!="object")return!1;const t=Ar(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===jk}function Mi(e,t){ra(e)===0?Object.entries(e).forEach(([n,r])=>{t(n,r,e)}):e.forEach((n,r)=>t(r,n,e))}function ra(e){const t=e[qe];return t?t.type_:Array.isArray(e)?1:ia(e)?2:oa(e)?3:0}function mu(e,t){return ra(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function bv(e,t,n){const r=ra(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function zk(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function ia(e){return e instanceof Map}function oa(e){return e instanceof Set}function Dn(e){return e.copy_||e.base_}function gu(e,t){if(ia(e))return new Map(e);if(oa(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&wv(e))return Ar(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[qe];let r=Reflect.ownKeys(n);for(let i=0;i<r.length;i++){const o=r[i],s=n[o];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(n[o]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[o]})}return Object.create(Ar(e),n)}function _f(e,t=!1){return sa(e)||Sn(e)||!Yt(e)||(ra(e)>1&&(e.set=e.add=e.clear=e.delete=Uk),Object.freeze(e),t&&Mi(e,(n,r)=>_f(r,!0))),e}function Uk(){yt(2)}function sa(e){return Object.isFrozen(e)}var $k={};function qn(e){const t=$k[e];return t||yt(0,e),t}var Fi;function xv(){return Fi}function Hk(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Uh(e,t){t&&(qn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function yu(e){vu(e),e.drafts_.forEach(Gk),e.drafts_=null}function vu(e){e===Fi&&(Fi=e.parent_)}function $h(e){return Fi=Hk(Fi,e)}function Gk(e){const t=e[qe];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Hh(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[qe].modified_&&(yu(t),yt(4)),Yt(e)&&(e=Es(t,e),t.parent_||Ss(t,e)),t.patches_&&qn("Patches").generateReplacementPatches_(n[qe].base_,e,t.patches_,t.inversePatches_)):e=Es(t,n,[]),yu(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Sv?e:void 0}function Es(e,t,n){if(sa(t))return t;const r=t[qe];if(!r)return Mi(t,(i,o)=>Gh(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Ss(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let o=i,s=!1;r.type_===3&&(o=new Set(i),i.clear(),s=!0),Mi(o,(a,l)=>Gh(e,r,i,a,l,n,s)),Ss(e,i,!1),n&&e.patches_&&qn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Gh(e,t,n,r,i,o,s){if(Sn(i)){const a=o&&t&&t.type_!==3&&!mu(t.assigned_,r)?o.concat(r):void 0,l=Es(e,i,a);if(bv(n,r,l),Sn(l))e.canAutoFreeze_=!1;else return}else s&&n.add(i);if(Yt(i)&&!sa(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Es(e,i),(!t||!t.scope_.parent_)&&Ss(e,i)}}function Ss(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&_f(t,n)}function Vk(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:xv(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=Ef;n&&(i=[r],o=Bi);const{revoke:s,proxy:a}=Proxy.revocable(i,o);return r.draft_=a,r.revoke_=s,a}var Ef={get(e,t){if(t===qe)return e;const n=Dn(e);if(!mu(n,t))return Wk(e,n,t);const r=n[t];return e.finalized_||!Yt(r)?r:r===Za(e.base_,t)?(Ja(e),e.copy_[t]=Eu(r,e)):r},has(e,t){return t in Dn(e)},ownKeys(e){return Reflect.ownKeys(Dn(e))},set(e,t,n){const r=Tv(Dn(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=Za(Dn(e),t),o=i==null?void 0:i[qe];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(zk(n,i)&&(n!==void 0||mu(e.base_,t)))return!0;Ja(e),_u(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Za(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Ja(e),_u(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Dn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){yt(11)},getPrototypeOf(e){return Ar(e.base_)},setPrototypeOf(){yt(12)}},Bi={};Mi(Ef,(e,t)=>{Bi[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Bi.deleteProperty=function(e,t){return Bi.set.call(this,e,t,void 0)};Bi.set=function(e,t,n){return Ef.set.call(this,e[0],t,n,e[0])};function Za(e,t){const n=e[qe];return(n?Dn(n):e)[t]}function Wk(e,t,n){var i;const r=Tv(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Tv(e,t){if(!(t in e))return;let n=Ar(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Ar(n)}}function _u(e){e.modified_||(e.modified_=!0,e.parent_&&_u(e.parent_))}function Ja(e){e.copy_||(e.copy_=gu(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var qk=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const s=this;return function(l=o,...u){return s.produce(l,c=>n.call(this,c,...u))}}typeof n!="function"&&yt(6),r!==void 0&&typeof r!="function"&&yt(7);let i;if(Yt(t)){const o=$h(this),s=Eu(t,void 0);let a=!0;try{i=n(s),a=!1}finally{a?yu(o):vu(o)}return Uh(o,r),Hh(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Sv&&(i=void 0),this.autoFreeze_&&_f(i,!0),r){const o=[],s=[];qn("Patches").generateReplacementPatches_(t,i,o,s),r(o,s)}return i}else yt(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,l=>t(l,...a));let r,i;return[this.produce(t,n,(s,a)=>{r=s,i=a}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Yt(e)||yt(8),Sn(e)&&(e=Cv(e));const t=$h(this),n=Eu(e,void 0);return n[qe].isManual_=!0,vu(t),n}finishDraft(e,t){const n=e&&e[qe];(!n||!n.isManual_)&&yt(9);const{scope_:r}=n;return Uh(r,t),Hh(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=qn("Patches").applyPatches_;return Sn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function Eu(e,t){const n=ia(e)?qn("MapSet").proxyMap_(e,t):oa(e)?qn("MapSet").proxySet_(e,t):Vk(e,t);return(t?t.scope_:xv()).drafts_.push(n),n}function Cv(e){return Sn(e)||yt(10,e),kv(e)}function kv(e){if(!Yt(e)||sa(e))return e;const t=e[qe];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=gu(e,t.scope_.immer_.useStrictShallowCopy_)}else n=gu(e,!0);return Mi(n,(r,i)=>{bv(n,r,kv(i))}),t&&(t.finalized_=!1),n}var Xe=new qk,Ov=Xe.produce;Xe.produceWithPatches.bind(Xe);Xe.setAutoFreeze.bind(Xe);Xe.setUseStrictShallowCopy.bind(Xe);Xe.applyPatches.bind(Xe);Xe.createDraft.bind(Xe);Xe.finishDraft.bind(Xe);function Xk(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Qk(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Kk(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var Vh=e=>Array.isArray(e)?e:[e];function Yk(e){const t=Array.isArray(e[0])?e[0]:e;return Kk(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Zk(e,t){const n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var Jk=class{constructor(e){this.value=e}deref(){return this.value}},eO=typeof WeakRef<"u"?WeakRef:Jk,tO=0,Wh=1;function go(){return{s:tO,v:void 0,o:null,p:null}}function Sf(e,t={}){let n=go();const{resultEqualityCheck:r}=t;let i,o=0;function s(){var g;let a=n;const{length:l}=arguments;for(let y=0,f=l;y<f;y++){const v=arguments[y];if(typeof v=="function"||typeof v=="object"&&v!==null){let p=a.o;p===null&&(a.o=p=new WeakMap);const S=p.get(v);S===void 0?(a=go(),p.set(v,a)):a=S}else{let p=a.p;p===null&&(a.p=p=new Map);const S=p.get(v);S===void 0?(a=go(),p.set(v,a)):a=S}}const u=a;let c;if(a.s===Wh)c=a.v;else if(c=e.apply(null,arguments),o++,r){const y=((g=i==null?void 0:i.deref)==null?void 0:g.call(i))??i;y!=null&&r(y,c)&&(c=y,o!==0&&o--),i=typeof c=="object"&&c!==null||typeof c=="function"?new eO(c):c}return u.s=Wh,u.v=c,c}return s.clearCache=()=>{n=go(),s.resetResultsCount()},s.resultsCount=()=>o,s.resetResultsCount=()=>{o=0},s}function Rv(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...i)=>{let o=0,s=0,a,l={},u=i.pop();typeof u=="object"&&(l=u,u=i.pop()),Xk(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const c={...n,...l},{memoize:g,memoizeOptions:y=[],argsMemoize:f=Sf,argsMemoizeOptions:v=[],devModeChecks:p={}}=c,S=Vh(y),h=Vh(v),d=Yk(i),m=g(function(){return o++,u.apply(null,arguments)},...S),E=f(function(){s++;const b=Zk(d,arguments);return a=m.apply(null,b),a},...h);return Object.assign(E,{resultFunc:u,memoizedResultFunc:m,dependencies:d,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:g,argsMemoize:f})};return Object.assign(r,{withTypes:()=>r}),r}var nO=Rv(Sf),rO=Object.assign((e,t=nO)=>{Qk(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),r=n.map(o=>e[o]);return t(r,(...o)=>o.reduce((s,a,l)=>(s[n[l]]=a,s),{}))},{withTypes:()=>rO});function Nv(e){return({dispatch:n,getState:r})=>i=>o=>typeof o=="function"?o(n,r,e):i(o)}var iO=Nv(),oO=Nv,sO=(...e)=>{const t=Rv(...e),n=Object.assign((...r)=>{const i=t(...r),o=(s,...a)=>i(Sn(s)?Cv(s):s,...a);return Object.assign(o,i),o},{withTypes:()=>n});return n};sO(Sf);var aO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_s:_s.apply(null,arguments)};function Pr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error($e(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Lk(r)&&r.type===e,n}var Av=class ii extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,ii.prototype)}static get[Symbol.species](){return ii}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new ii(...t[0].concat(this)):new ii(...t.concat(this))}};function qh(e){return Yt(e)?Ov(e,()=>{}):e}function Xh(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error($e(10));const r=n.insert(t,e);return e.set(t,r),r}function lO(e){return typeof e=="boolean"}var uO=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let s=new Av;return n&&(lO(n)?s.push(iO):s.push(oO(n.extraArgument))),s},cO="RTK_autoBatch",Pv=e=>t=>{setTimeout(t,e)},fO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Pv(10),dO=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,o=!1,s=!1;const a=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?fO:e.type==="callback"?e.queueNotification:Pv(e.timeout),u=()=>{s=!1,o&&(o=!1,a.forEach(c=>c()))};return Object.assign({},r,{subscribe(c){const g=()=>i&&c(),y=r.subscribe(g);return a.add(c),()=>{y(),a.delete(c)}},dispatch(c){var g;try{return i=!((g=c==null?void 0:c.meta)!=null&&g[cO]),o=!i,o&&(s||(s=!0,l(u))),r.dispatch(c)}finally{i=!0}}})},hO=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Av(e);return r&&i.push(dO(typeof r=="object"?r:void 0)),i},pO=!0;function mO(e){const t=uO(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(vf(n))a=Ev(n);else throw new Error($e(1));let l;typeof r=="function"?l=r(t):l=t();let u=_s;i&&(u=aO({trace:!pO,...typeof i=="object"&&i}));const c=Bk(...l),g=hO(c);let y=typeof s=="function"?s(g):g();const f=u(...y);return _v(a,o,f)}function Iv(e){const t={},n=[];let r;const i={addCase(o,s){const a=typeof o=="string"?o:o.type;if(!a)throw new Error($e(28));if(a in t)throw new Error($e(29));return t[a]=s,i},addMatcher(o,s){return n.push({matcher:o,reducer:s}),i},addDefaultCase(o){return r=o,i}};return e(i),[t,n,r]}function gO(e){return typeof e=="function"}function yO(e,t){let[n,r,i]=Iv(t),o;if(gO(e))o=()=>qh(e());else{const a=qh(e);o=()=>a}function s(a=o(),l){let u=[n[l.type],...r.filter(({matcher:c})=>c(l)).map(({reducer:c})=>c)];return u.filter(c=>!!c).length===0&&(u=[i]),u.reduce((c,g)=>{if(g)if(Sn(c)){const f=g(c,l);return f===void 0?c:f}else{if(Yt(c))return Ov(c,y=>g(y,l));{const y=g(c,l);if(y===void 0){if(c===null)return c;throw new Error($e(9))}return y}}return c},a)}return s.getInitialState=o,s}var vO="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",_O=(e=21)=>{let t="",n=e;for(;n--;)t+=vO[Math.random()*64|0];return t},EO=Symbol.for("rtk-slice-createasyncthunk");function SO(e,t){return`${e}/${t}`}function wO({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[EO];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error($e(11));typeof process<"u";const a=(typeof i.reducers=="function"?i.reducers(xO()):i.reducers)||{},l=Object.keys(a),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},c={addCase(m,E){const w=typeof m=="string"?m:m.type;if(!w)throw new Error($e(12));if(w in u.sliceCaseReducersByType)throw new Error($e(13));return u.sliceCaseReducersByType[w]=E,c},addMatcher(m,E){return u.sliceMatchers.push({matcher:m,reducer:E}),c},exposeAction(m,E){return u.actionCreators[m]=E,c},exposeCaseReducer(m,E){return u.sliceCaseReducersByName[m]=E,c}};l.forEach(m=>{const E=a[m],w={reducerName:m,type:SO(o,m),createNotation:typeof i.reducers=="function"};CO(E)?OO(w,E,c,t):TO(w,E,c)});function g(){const[m={},E=[],w=void 0]=typeof i.extraReducers=="function"?Iv(i.extraReducers):[i.extraReducers],b={...m,...u.sliceCaseReducersByType};return yO(i.initialState,x=>{for(let T in b)x.addCase(T,b[T]);for(let T of u.sliceMatchers)x.addMatcher(T.matcher,T.reducer);for(let T of E)x.addMatcher(T.matcher,T.reducer);w&&x.addDefaultCase(w)})}const y=m=>m,f=new Map;let v;function p(m,E){return v||(v=g()),v(m,E)}function S(){return v||(v=g()),v.getInitialState()}function h(m,E=!1){function w(x){let T=x[m];return typeof T>"u"&&E&&(T=S()),T}function b(x=y){const T=Xh(f,E,{insert:()=>new WeakMap});return Xh(T,x,{insert:()=>{const M={};for(const[P,se]of Object.entries(i.selectors??{}))M[P]=bO(se,x,S,E);return M}})}return{reducerPath:m,getSelectors:b,get selectors(){return b(w)},selectSlice:w}}const d={name:o,reducer:p,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:S,...h(s),injectInto(m,{reducerPath:E,...w}={}){const b=E??s;return m.inject({reducerPath:b,reducer:p},w),{...d,...h(b,!0)}}};return d}}function bO(e,t,n,r){function i(o,...s){let a=t(o);return typeof a>"u"&&r&&(a=n()),e(a,...s)}return i.unwrapped=e,i}var Dv=wO();function xO(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function TO({type:e,reducerName:t,createNotation:n},r,i){let o,s;if("reducer"in r){if(n&&!kO(r))throw new Error($e(17));o=r.reducer,s=r.prepare}else o=r;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?Pr(e,s):Pr(e))}function CO(e){return e._reducerDefinitionType==="asyncThunk"}function kO(e){return e._reducerDefinitionType==="reducerWithPrepare"}function OO({type:e,reducerName:t},n,r,i){if(!i)throw new Error($e(18));const{payloadCreator:o,fulfilled:s,pending:a,rejected:l,settled:u,options:c}=n,g=i(e,o,c);r.exposeAction(t,g),s&&r.addCase(g.fulfilled,s),a&&r.addCase(g.pending,a),l&&r.addCase(g.rejected,l),u&&r.addMatcher(g.settled,u),r.exposeCaseReducer(t,{fulfilled:s||yo,pending:a||yo,rejected:l||yo,settled:u||yo})}function yo(){}var RO=(e,t)=>{if(typeof e!="function")throw new Error($e(32))},wf="listenerMiddleware",NO=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:o}=e;if(t)i=Pr(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw new Error($e(21));return RO(o),{predicate:i,type:t,effect:o}},AO=Object.assign(e=>{const{type:t,predicate:n,effect:r}=NO(e);return{id:_O(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error($e(22))}}},{withTypes:()=>AO}),PO=Object.assign(Pr(`${wf}/add`),{withTypes:()=>PO});Pr(`${wf}/removeAll`);var IO=Object.assign(Pr(`${wf}/remove`),{withTypes:()=>IO});function $e(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const DO={useStartScreen:void 0},Mv=Dv({name:"start-screen",initialState:DO,reducers:{enableStartScreen(e){e.useStartScreen=!0},disableStartScreen(e){e.useStartScreen=!1},setStartScreenStatus(e,t){e.startScreenStatus=t.payload}}}),{enableStartScreen:MO,disableStartScreen:FO,setStartScreenStatus:BO}=Mv.actions,LO=Mv.reducer,jO="_container_7ypo3_1",zO="_startChatButton_7ypo3_14",Qh={container:jO,startChatButton:zO},UO="start-screen.body",$O="start-screen.start-chat",HO=()=>{const e=wt(),t=Ic(),n=()=>t(BO("HIDDEN")),r=e(UO),i=e($O);return _.jsxs("div",{className:R(Qh.container,"chat__startScreen"),children:[r&&_.jsx(vn,{options:{overrides:{a:GO}},children:r}),_.jsx("button",{className:R(we.button,we.buttonPrimary,Qh.startChatButton),onClick:n,children:i})]})},GO=({title:e,href:t,children:n})=>_.jsx("a",{href:t,title:e,target:"_blank",rel:"noopener noreferrer",children:n}),VO=()=>{const e=Ks();N.useEffect(()=>{window.document.documentElement.lang=e.locale},[e.locale])},nr={TRIGGER_ACTION:"TRIGGER_ACTION",TRIGGER_STORY:"TRIGGER_STORY",CHAT_MESSAGE_FROM_GUEST:"CHAT_MESSAGE_FROM_GUEST",ON_CHAT_WINDOW_OPEN:"ON_CHAT_WINDOW_OPEN",ON_CHAT_WINDOW_CLOSE:"ON_CHAT_WINDOW_CLOSE",RESTART_CHAT:"RESTART_CHAT"},WO=({clientName:e})=>{VO();const t=Ic(),n=Ii(s=>s.startScreen.useStartScreen),r=Ii(s=>s.startScreen.startScreenStatus),[i,o]=N.useState(void 0);return N.useEffect(()=>{const s=Fc.parse(window.location.search);s.cssClassName&&o(s.cssClassName);const a=l=>{switch(l.data.type){case nr.TRIGGER_ACTION:t(l.data.action);break;case nr.TRIGGER_STORY:t(By(l.data.story));break;case nr.ON_CHAT_WINDOW_OPEN:t({type:"webclient.chatwindow.opened"});break;case nr.ON_CHAT_WINDOW_CLOSE:t({type:"webclient.chatwindow.closed"});break;case nr.CHAT_MESSAGE_FROM_GUEST:t(Dy(l.data.text));break;case nr.RESTART_CHAT:t(cf(e,s));break}};return t(Mb(e,s)),window.addEventListener("message",l=>a(l),!1),()=>window.removeEventListener("message",a)},[e,t]),_.jsx("div",{className:R(Ik.chatwindow,"chat__chatwindow",i),children:n===void 0?null:!n||r==="HIDDEN"?_.jsx(Nk,{clientName:e}):_.jsx(HO,{})})},qO=()=>{const e=vy(),t=Ii(r=>r.intl.locale),n=Ii(r=>r.intl.messages);return _.jsx(gw,{locale:t,messages:n,children:_.jsx("div",{className:vw.app,children:_.jsx(WO,{clientName:e})})})};function XO(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var bf=XO,QO=typeof q=="object"&&q&&q.Object===Object&&q,KO=QO,YO=KO,ZO=typeof self=="object"&&self&&self.Object===Object&&self,JO=YO||ZO||Function("return this")(),Fv=JO,eR=Fv,tR=function(){return eR.Date.now()},nR=tR,rR=/\s/;function iR(e){for(var t=e.length;t--&&rR.test(e.charAt(t)););return t}var oR=iR,sR=oR,aR=/^\s+/;function lR(e){return e&&e.slice(0,sR(e)+1).replace(aR,"")}var uR=lR,cR=Fv,fR=cR.Symbol,Bv=fR,Kh=Bv,Lv=Object.prototype,dR=Lv.hasOwnProperty,hR=Lv.toString,Zr=Kh?Kh.toStringTag:void 0;function pR(e){var t=dR.call(e,Zr),n=e[Zr];try{e[Zr]=void 0;var r=!0}catch{}var i=hR.call(e);return r&&(t?e[Zr]=n:delete e[Zr]),i}var mR=pR,gR=Object.prototype,yR=gR.toString;function vR(e){return yR.call(e)}var _R=vR,Yh=Bv,ER=mR,SR=_R,wR="[object Null]",bR="[object Undefined]",Zh=Yh?Yh.toStringTag:void 0;function xR(e){return e==null?e===void 0?bR:wR:Zh&&Zh in Object(e)?ER(e):SR(e)}var TR=xR;function CR(e){return e!=null&&typeof e=="object"}var kR=CR,OR=TR,RR=kR,NR="[object Symbol]";function AR(e){return typeof e=="symbol"||RR(e)&&OR(e)==NR}var PR=AR,IR=uR,Jh=bf,DR=PR,ep=NaN,MR=/^[-+]0x[0-9a-f]+$/i,FR=/^0b[01]+$/i,BR=/^0o[0-7]+$/i,LR=parseInt;function jR(e){if(typeof e=="number")return e;if(DR(e))return ep;if(Jh(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Jh(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=IR(e);var n=FR.test(e);return n||BR.test(e)?LR(e.slice(2),n?2:8):MR.test(e)?ep:+e}var zR=jR,UR=bf,el=nR,tp=zR,$R="Expected a function",HR=Math.max,GR=Math.min;function VR(e,t,n){var r,i,o,s,a,l,u=0,c=!1,g=!1,y=!0;if(typeof e!="function")throw new TypeError($R);t=tp(t)||0,UR(n)&&(c=!!n.leading,g="maxWait"in n,o=g?HR(tp(n.maxWait)||0,t):o,y="trailing"in n?!!n.trailing:y);function f(b){var x=r,T=i;return r=i=void 0,u=b,s=e.apply(T,x),s}function v(b){return u=b,a=setTimeout(h,t),c?f(b):s}function p(b){var x=b-l,T=b-u,M=t-x;return g?GR(M,o-T):M}function S(b){var x=b-l,T=b-u;return l===void 0||x>=t||x<0||g&&T>=o}function h(){var b=el();if(S(b))return d(b);a=setTimeout(h,p(b))}function d(b){return a=void 0,y&&r?f(b):(r=i=void 0,s)}function m(){a!==void 0&&clearTimeout(a),u=0,r=l=i=a=void 0}function E(){return a===void 0?s:d(el())}function w(){var b=el(),x=S(b);if(r=arguments,i=this,l=b,x){if(a===void 0)return v(l);if(g)return clearTimeout(a),a=setTimeout(h,t),f(l)}return a===void 0&&(a=setTimeout(h,t)),s}return w.cancel=m,w.flush=E,w}var WR=VR,qR=WR,XR=bf,QR="Expected a function";function KR(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(QR);return XR(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),qR(e,t,{leading:r,maxWait:t,trailing:i})}var YR=KR;const ZR=Ou(YR);function Yn(e,t){var n,r;if(typeof t=="function")r=t(e),r!==void 0&&(e=r);else if(Array.isArray(t))for(n=0;n<t.length;n++)r=t[n](e),r!==void 0&&(e=r);return e}function JR(e,t){return e[0]==="-"&&Array.isArray(t)&&/^-\d+$/.test(e)?t.length+parseInt(e,10):e}function eN(e){return/^\d+$/.test(e)}function Bo(e){return Object.prototype.toString.call(e)==="[object Object]"}function oi(e){return Object(e)===e}function Lo(e){return Object.keys(e).length===0}var tN=["__proto__","prototype","constructor"],nN=function(e){return tN.indexOf(e)===-1};function aa(e,t){e.indexOf("[")>=0&&(e=e.replace(/\[/g,t).replace(/]/g,""));var n=e.split(t),r=n.filter(nN);if(r.length!==n.length)throw Error("Refusing to update blacklisted property "+e);return n}var np=Object.prototype.hasOwnProperty;function G(e,t,n,r){if(!(this instanceof G))return new G(e,t,n,r);typeof t>"u"&&(t=!1),typeof n>"u"&&(n=!0),typeof r>"u"&&(r=!0),this.separator=e||".",this.override=t,this.useArray=n,this.useBrackets=r,this.keepArray=!1,this.cleanup=[]}var Ir=new G(".",!1,!0,!0);function bt(e){return function(){return Ir[e].apply(Ir,arguments)}}G.prototype._fill=function(e,t,n,r){var i=e.shift();if(e.length>0){if(t[i]=t[i]||(this.useArray&&eN(e[0])?[]:{}),!oi(t[i]))if(this.override)t[i]={};else{if(!(oi(n)&&Lo(n)))throw new Error("Trying to redefine `"+i+"` which is a "+typeof t[i]);return}this._fill(e,t[i],n,r)}else{if(!this.override&&oi(t[i])&&!Lo(t[i])){if(!(oi(n)&&Lo(n)))throw new Error("Trying to redefine non-empty obj['"+i+"']");return}t[i]=Yn(n,r)}};G.prototype.object=function(e,t){var n=this;return Object.keys(e).forEach(function(r){var i=t===void 0?null:t[r],o=aa(r,n.separator).join(n.separator);o.indexOf(n.separator)!==-1?(n._fill(o.split(n.separator),e,e[r],i),delete e[r]):e[r]=Yn(e[r],i)}),e};G.prototype.str=function(e,t,n,r){var i=aa(e,this.separator).join(this.separator);return e.indexOf(this.separator)!==-1?this._fill(i.split(this.separator),n,t,r):n[e]=Yn(t,r),n};G.prototype.pick=function(e,t,n,r){var i,o,s,a,l;for(o=aa(e,this.separator),i=0;i<o.length;i++)if(a=JR(o[i],t),t&&typeof t=="object"&&a in t){if(i===o.length-1)return n?(s=t[a],r&&Array.isArray(t)?t.splice(a,1):delete t[a],Array.isArray(t)&&(l=o.slice(0,-1).join("."),this.cleanup.indexOf(l)===-1&&this.cleanup.push(l)),s):t[a];t=t[a]}else return;return n&&Array.isArray(t)&&(t=t.filter(function(u){return u!==void 0})),t};G.prototype.delete=function(e,t){return this.remove(e,t,!0)};G.prototype.remove=function(e,t,n){var r;if(this.cleanup=[],Array.isArray(e)){for(r=0;r<e.length;r++)this.pick(e[r],t,!0,n);return n||this._cleanup(t),t}else return this.pick(e,t,!0,n)};G.prototype._cleanup=function(e){var t,n,r,i;if(this.cleanup.length){for(n=0;n<this.cleanup.length;n++)r=this.cleanup[n].split("."),i=r.splice(0,-1).join("."),t=i?this.pick(i,e):e,t=t[r[0]].filter(function(o){return o!==void 0}),this.set(this.cleanup[n],t,e);this.cleanup=[]}};G.prototype.del=G.prototype.remove;G.prototype.move=function(e,t,n,r,i){return typeof r=="function"||Array.isArray(r)?this.set(t,Yn(this.pick(e,n,!0),r),n,i):(i=r,this.set(t,this.pick(e,n,!0),n,i)),n};G.prototype.transfer=function(e,t,n,r,i,o){return typeof i=="function"||Array.isArray(i)?this.set(t,Yn(this.pick(e,n,!0),i),r,o):(o=i,this.set(t,this.pick(e,n,!0),r,o)),r};G.prototype.copy=function(e,t,n,r,i,o){return typeof i=="function"||Array.isArray(i)?this.set(t,Yn(JSON.parse(JSON.stringify(this.pick(e,n,!1))),i),r,o):(o=i,this.set(t,this.pick(e,n,!1),r,o)),r};G.prototype.set=function(e,t,n,r){var i,o,s,a;if(typeof t>"u")return n;for(s=aa(e,this.separator),i=0;i<s.length;i++){if(a=s[i],i===s.length-1)if(r&&Bo(t)&&Bo(n[a]))for(o in t)np.call(t,o)&&(n[a][o]=t[o]);else if(r&&Array.isArray(n[a])&&Array.isArray(t))for(var l=0;l<t.length;l++)n[s[i]].push(t[l]);else n[a]=t;else(!np.call(n,a)||!Bo(n[a])&&!Array.isArray(n[a]))&&(/^\d+$/.test(s[i+1])?n[a]=[]:n[a]={});n=n[a]}return n};G.prototype.transform=function(e,t,n){return t=t||{},n=n||{},Object.keys(e).forEach((function(r){this.set(e[r],this.pick(r,t),n)}).bind(this)),n};G.prototype.dot=function(e,t,n){t=t||{},n=n||[];var r=Array.isArray(e);return Object.keys(e).forEach((function(i){var o=r&&this.useBrackets?"["+i+"]":i;if(oi(e[i])&&(Bo(e[i])&&!Lo(e[i])||Array.isArray(e[i])&&!this.keepArray&&e[i].length!==0))if(r&&this.useBrackets){var s=n[n.length-1]||"";return this.dot(e[i],t,n.slice(0,-1).concat(s+o))}else return this.dot(e[i],t,n.concat(o));else r&&this.useBrackets?t[n.join(this.separator).concat("["+i+"]")]=e[i]:t[n.concat(o).join(this.separator)]=e[i]}).bind(this)),t};G.pick=bt("pick");G.move=bt("move");G.transfer=bt("transfer");G.transform=bt("transform");G.copy=bt("copy");G.object=bt("object");G.str=bt("str");G.set=bt("set");G.delete=bt("delete");G.del=G.remove=bt("remove");G.dot=bt("dot");["override","overwrite"].forEach(function(e){Object.defineProperty(G,e,{get:function(){return Ir.override},set:function(t){Ir.override=!!t}})});["useArray","keepArray","useBrackets"].forEach(function(e){Object.defineProperty(G,e,{get:function(){return Ir[e]},set:function(t){Ir[e]=t}})});G._process=Yn;var rN=G;const jv={"message-input-label":"Benutzereingabe","message-input-placeholder":"Nachricht","message-input.actions.submit.label":"Nachricht senden","message-input.actions.export-transcript.label":"Konversation per E-Mail erhalten","message-input.actions.start-audio-recording.label":"Spracheingabe starten","message-input.actions.stop-audio-recording.label":"Spracheingabe stoppen","message-input.actions.submit-audio-recording.label":"Spracheingabe übermitteln","guest-bubble.label":"Ihre Nachricht","bot-bubble.label":"Nachricht des Chatbots","agent-bubble.label":"Nachricht des Live-Agenten","export-transcript.email.title":"Konversation per E-Mail versenden","export-transcript.email.description":"Geben Sie Ihre E-Mail-Adresse ein, um den Chatverlauf zu erhalten.","export-transcript.email.cancel":"Abbrechen","export-transcript.email.send":"Senden","export-transcript.email.placeholder":"Ihre E-Mail-Adresse","export-transcript.email.invalid":"Bitte gültige E-Mail-Adresse eingeben.","export-transcript.email.success":"Ich habe den Chatverlauf an Ihre E-Mail-Adresse gesendet.","export-transcript.pdf.title":"Konversation als PDF erhalten","export-transcript.pdf.description":"Laden Sie die Konversation als PDF herunter.","export-transcript.pdf.cancel":"Abbrechen","export-transcript.pdf.download":"Herunterladen","general-conditions.header":"**Nutzungsbedingungen**","general-conditions.body":`Bitte berücksichtigen Sie die folgenden Punkte:
|
|
99
99
|
|
|
100
100
|
- Der Chatverlauf wird im EU-Raum gespeichert und kann nur von autorisierten Personen eingesehen werden.
|
|
101
101
|
- Geben Sie im Chatfenster keine persönlichen Daten ein (Passwörter, Geburtsdatum usw.).`,"general-conditions.accept-conditions-note":"Mit der Verwendung des Chats erklären Sie sich mit den Nutzungsbedingungen einverstanden.","problem-report.action.mark":"Als fehlerhaft markieren","problem-report.action.unmark":"Markierung entfernen","block-user-input.title":"Bitte auf die Antwort des Chatbots warten.","conversation-rating.call-to-action.title":"Bewerten Sie diesen Chat","conversation-rating.overlay.title":"Wie zufrieden sind Sie mit diesem Chat?","conversation-rating.overlay.guest-feedback.input-placeholder":"Feedback bitte hier eingeben (optional)","conversation-rating.overlay.star.very-bad":"Sehr schlecht","conversation-rating.overlay.star.very-good":"Sehr gut","conversation-rating.overlay.bot-message.rate-feedback.value-1":"Oh, das tönt nicht gut. Bitte geben Sie mir doch ein schriftliches Feedback, damit ich dazulernen kann.","conversation-rating.overlay.bot-message.rate-feedback.value-2":"Oh, das tönt nicht gut. Bitte geben Sie mir doch ein schriftliches Feedback, damit ich dazulernen kann.","conversation-rating.overlay.bot-message.rate-feedback.value-3":"Durchschnitt ist nicht mein Ziel, was kann ich noch verbessern?","conversation-rating.overlay.bot-message.rate-feedback.value-4":"Knapp daneben ist auch vorbei. Was kann ich noch verbessern, um das nächste Mal alle Sterne zu erreichen?","conversation-rating.overlay.bot-message.rate-feedback.value-5":"Perfekt! Dann hoffe ich, dass ich Sie wieder einmal so gut beraten kann.","conversation-rating.overlay.bot-message.submit-feedback":"Vielen Dank für die Rückmeldung. Ich bin bestrebt, mich ständig zu verbessern.","conversation-rating.overlay.action.submit":"Bewertung senden","conversation-rating.overlay.action.close":"Zurück zum Chat","start-screen.body":"","start-screen.start-chat":"Chat starten"},iN={"message-input-label":"User input","message-input-placeholder":"Message","message-input.actions.submit.label":"Send message","message-input.actions.export-transcript.label":"Receive conversation by email","message-input.actions.start-audio-recording.label":"Start voice input","message-input.actions.stop-audio-recording.label":"Stop voice input","message-input.actions.submit-audio-recording.label":"Transmit voice input","guest-bubble.label":"Your message","bot-bubble.label":"Message from the chatbot","agent-bubble.label":"Message from the live agent","export-transcript.email.title":"Receive Conversation","export-transcript.email.description":"Enter your email address to receive the chat history.","export-transcript.email.cancel":"Cancel","export-transcript.email.send":"Send","export-transcript.email.placeholder":"Your email address","export-transcript.email.invalid":"Please enter a valid e-mail address.","export-transcript.email.success":"I have sent the chat history to your email address.","export-transcript.pdf.title":"Get conversation as PDF","export-transcript.pdf.description":"Download this conversation as PDF.","export-transcript.pdf.cancel":"Cancel","export-transcript.pdf.download":"Download","general-conditions.header":"**Terms of use**","general-conditions.body":`Please consider the following points:
|
|
@@ -107,5 +107,5 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi
|
|
|
107
107
|
- Ne saisissez aucune information personnelle dans la fenêtre de chat (mots de passe, date de naissance, etc.).`,"general-conditions.accept-conditions-note":"En utilisant le chat, vous acceptez les conditions d'utilisation.","problem-report.action.mark":"Marquer comme incorrect","problem-report.action.unmark":"Retirer le marqueur","block-user-input.title":"Veuillez attendre la réponse du chatbot.","conversation-rating.call-to-action.title":"Notez ce chat","conversation-rating.overlay.title":"Dans quelle mesure êtes-vous satisfait de ce chat ?","conversation-rating.overlay.guest-feedback.input-placeholder":"Veuillez saisir vos commentaires ici (facultatif)","conversation-rating.overlay.star.very-bad":"Très mauvais","conversation-rating.overlay.star.very-good":"Très bien","conversation-rating.overlay.bot-message.rate-feedback.value-1":"Oh, ça ne sonne pas bien. Merci de me donner un feedback pour que je puisse en apprendre davantage.","conversation-rating.overlay.bot-message.rate-feedback.value-2":"Oh, ça ne sonne pas bien. Merci de me donner un feedback pour que je puisse en apprendre davantage.","conversation-rating.overlay.bot-message.rate-feedback.value-3":"La moyenne n'est pas mon objectif, que puis-je encore améliorer ?","conversation-rating.overlay.bot-message.rate-feedback.value-4":"Le rater de peu, c'est le rater aussi. Que puis-je encore améliorer pour obtenir toutes les étoiles la prochaine fois ?","conversation-rating.overlay.bot-message.rate-feedback.value-5":"Parfait ! Alors j'espère pouvoir vous conseiller aussi bien une fois de plus.","conversation-rating.overlay.bot-message.submit-feedback":"Merci beaucoup pour votre feed-back. Je m'efforce de m'améliorer en permanence.","conversation-rating.overlay.action.submit":"Envoyer","conversation-rating.overlay.action.close":"Fermer","start-screen.body":"","start-screen.start-chat":"Démarrer le chat"},sN={"message-input-label":"Input dell'utente","message-input-placeholder":"Messaggio","message-input.actions.submit.label":"Invia messaggio","message-input.actions.export-transcript.label":"Ricevere la conversazione via e-mail","message-input.actions.start-audio-recording.label":"Avviare l'input vocale","message-input.actions.stop-audio-recording.label":"Interrompere l'input vocale","message-input.actions.submit-audio-recording.label":"Trasmettere l'input vocale","guest-bubble.label":"Il tuo messaggio","bot-bubble.label":"Messaggio del chatbot","agent-bubble.label":"Messaggio dell'agente dal vivo","export-transcript.email.title":"Ricevere la conversazione","export-transcript.email.description":"Inserisci il tuo indirizzo e-mail per ricevere la cronologia della chat.","export-transcript.email.cancel":"Annulla","export-transcript.email.send":"Invia","export-transcript.email.placeholder":"Il tuo indirizzo e-mail","export-transcript.email.invalid":"Inserire un indirizzo e-mail valido.","export-transcript.email.success":"Ho inviato la cronologia della chat al vostro indirizzo e-mail.","export-transcript.pdf.title":"Ricevi la conversazione come PDF","export-transcript.pdf.description":"Scarica questa conversazione in PDF.","export-transcript.pdf.cancel":"Annulla","export-transcript.pdf.download":"Scaricare","general-conditions.header":"**Condizioni di utilizzo**","general-conditions.body":`Si prega di considerare i seguenti punti:
|
|
108
108
|
|
|
109
109
|
- La cronologia delle chat è memorizzata nell'area UE e può essere visualizzata solo da persone autorizzate.
|
|
110
|
-
- Non inserire dati personali nella finestra di chat (password, data di nascita, ecc.).`,"general-conditions.accept-conditions-note":"Utilizzando la chat si accettano le condizioni d'uso.","problem-report.action.mark":"Segna come errato","problem-report.action.unmark":"Rimuovere il marcatore","block-user-input.title":"Attendere la risposta del chatbot.","conversation-rating.call-to-action.title":"Valuta questa chat","conversation-rating.overlay.title":"Quanto sei soddisfatto di questa chat?","conversation-rating.overlay.guest-feedback.input-placeholder":"Inserisci qui il tuo feedback (opzionale)","conversation-rating.overlay.star.very-bad":"Molto male","conversation-rating.overlay.star.very-good":"Molto buono","conversation-rating.overlay.bot-message.rate-feedback.value-1":"Oh, non suona bene. Vi prego di darmi un feedback in modo che possa imparare di più.","conversation-rating.overlay.bot-message.rate-feedback.value-2":"Oh, non suona bene. Vi prego di darmi un feedback in modo che possa imparare di più.","conversation-rating.overlay.bot-message.rate-feedback.value-3":"La media non è il mio obiettivo, cosa posso ancora migliorare?","conversation-rating.overlay.bot-message.rate-feedback.value-4":"Anche l'assenza è finita. Cosa posso migliorare per ottenere tutte le stelle la prossima volta?","conversation-rating.overlay.bot-message.rate-feedback.value-5":"Perfetto! Allora spero di potervi consigliare ancora una volta bene.","conversation-rating.overlay.bot-message.submit-feedback":"Grazie mille per il feedback. Mi impegno costantemente per migliorare.","conversation-rating.overlay.action.submit":"Invia","conversation-rating.overlay.action.close":"Chiudere","start-screen.body":"","start-screen.start-chat":"Avviare la chat"},aN=["de","en","fr","it"],zv={locale:"de",messages:jv},lN=(e,t)=>{if(aN.includes(e)){const n=uN(e),r=rN.dot(t);return{...n,...r}}return t},uN=e=>{switch(e.toString()){case"en":return iN;case"fr":return oN;case"it":return sN;default:return jv}},cN=(e=fN,t)=>{switch(t.type){case nf:return Object.assign({},e,{connectionState:an.CONNECTING});case rf:return Object.assign({},e,{connectionState:an.CONNECTED});case of:return Object.assign({},e,{connectionState:an.DISCONNECTED});case sf:return Object.assign({},e,{connectionState:an.RECONNECTED});case af:return Object.assign({},e,{sessionId:t.sessionId});case lf:return Object.assign({},e,{sessionId:t.payload.sessionId,userId:t.payload.userId});case jy:return Object.assign({},e,{connectionState:an.DISCONNECTED,sessionId:void 0});default:return e}},fN={connectionState:an.DISCONNECTED,sessionId:void 0,userId:void 0},dN=(e=pN,t)=>{switch(t.type){case U.ActionTypes.TYPING_ON:return Object.assign({},e,{isBotTyping:!0});case U.ActionTypes.TYPING_OFF:return Object.assign({},e,{isBotTyping:!1});case U.ActionTypes.MESSAGE_FROM_GUEST:case U.ActionTypes.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST:return np(e,t.message);case U.ActionTypes.MESSAGE_TO_GUEST:vo(t);const n=Object.assign({},t.message,{_id:t.meta.actionId}),r=e.messages.filter(l=>l._id===t.meta.actionId).length>0;return Object.assign({},e,{isBotTyping:!1,messages:r?e.messages:e.messages.concat([n]),quickReplies:n.quickReplies?n.quickReplies:[]});case qc:{const l=t.messages,u=l.length?l[l.length-1]:void 0;return Object.assign({},e,{isBotTyping:!1,messages:l,quickReplies:(u==null?void 0:u.quickReplies)||[]})}case Wc:return vo(t.message),e;case U.ActionTypes.EVENT_TO_GUEST:return vo(t.event),e;case My:return vo(t),e;case Qc:return Object.assign({},e,{speechSupport:!0});case Kc:return Object.assign({},e,{problemReportingEnabled:!0});case Zc:const i=new U.TextMessage(t.transcription,new U.GuestUser),o=Object.assign({},i,{_id:crypto.randomUUID()});return np(e,o);case Yc:return Object.assign({},e,{transcriptExportEnabled:t.methods});case Jc:return Object.assign({},e,{showGeneralConditions:!0});case U.ActionTypes.PROBLEM_REPORT_FROM_GUEST:const s=e.messages.map(l=>l._id===t.payload.actionId?Object.assign({},l,{problemReport:t.payload.problem}):l);return Object.assign({},e,{messages:s});case ef:const a={enabled:!0,rating:t.payload.rating};return Object.assign({},e,{conversationRating:a});case U.ActionTypes.CONVERSATION_RATING_FROM_GUEST:{const l={...e.conversationRating,rating:t.payload};return Object.assign({},e,{conversationRating:l})}default:return e}},np=(e,t)=>{const n=e.messages[e.messages.length-1],r=(n==null?void 0:n.text)===t.text;return n&&n.sender.type===t.sender.type&&r?e:Object.assign({},e,{messages:e.messages.concat([t]),quickReplies:[]})},vo=e=>{var t;hN()?(t=window.top)==null||t.postMessage(e,"*"):e.type==="webclient.change.url"&&window.open(e.url)},hN=()=>typeof window<"u"&&window.self!==window.top,pN={messages:[],quickReplies:[],isBotTyping:!1,speechSupport:!1,problemReportingEnabled:!1,transcriptExportEnabled:{pdf:!1,email:!1},showGeneralConditions:!1,conversationRating:{enabled:!1}},Uv=Dv({name:"intl",initialState:zv,reducers:{updateIntl:(e,t)=>{e.locale=t.payload.language,e.messages=t.payload.messages}}}),{updateIntl:mN}=Uv.actions,gN=Uv.reducer,yN=Ev({chat:dN,startScreen:LO,connection:cN,intl:gN}),$v="bf-webclient-state-last-saved-at",Hv="bf-webclient-state",vN=e=>{try{if(!SN())return;const t=rp(e,$v);if(EN(t))return;{const n=rp(e,Hv);return n===null?void 0:JSON.parse(n)}}catch(t){console.error(t);return}},_N=(e,t)=>{try{const n=JSON.stringify(t);ip(e,Hv,n);let r=new Date().toISOString();ip(e,$v,r)}catch(n){console.error(n)}},EN=e=>{if(e===null)return!1;let t=new Date(e);return t.setHours(t.getHours()+12),new Date>t},SN=()=>typeof localStorage<"u",rp=(e,t)=>localStorage.getItem(`${e}_${t}`),ip=(e,t,n)=>localStorage.setItem(`${e}_${t}`,n),Lt=Object.create(null);Lt.open="0";Lt.close="1";Lt.ping="2";Lt.pong="3";Lt.message="4";Lt.upgrade="5";Lt.noop="6";const jo=Object.create(null);Object.keys(Lt).forEach(e=>{jo[Lt[e]]=e});const Su={type:"error",data:"parser error"},Gv=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Vv=typeof ArrayBuffer=="function",Wv=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,bf=({type:e,data:t},n,r)=>Gv&&t instanceof Blob?n?r(t):op(t,r):Vv&&(t instanceof ArrayBuffer||Wv(t))?n?r(t):op(new Blob([t]),r):r(Lt[e]+(t||"")),op=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function sp(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let tl;function wN(e,t){if(Gv&&e.data instanceof Blob)return e.data.arrayBuffer().then(sp).then(t);if(Vv&&(e.data instanceof ArrayBuffer||Wv(e.data)))return t(sp(e.data));bf(e,!1,n=>{tl||(tl=new TextEncoder),t(tl.encode(n))})}const ap="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",si=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<ap.length;e++)si[ap.charCodeAt(e)]=e;const bN=e=>{let t=e.length*.75,n=e.length,r,i=0,o,s,a,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),c=new Uint8Array(u);for(r=0;r<n;r+=4)o=si[e.charCodeAt(r)],s=si[e.charCodeAt(r+1)],a=si[e.charCodeAt(r+2)],l=si[e.charCodeAt(r+3)],c[i++]=o<<2|s>>4,c[i++]=(s&15)<<4|a>>2,c[i++]=(a&3)<<6|l&63;return u},xN=typeof ArrayBuffer=="function",xf=(e,t)=>{if(typeof e!="string")return{type:"message",data:qv(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:TN(e.substring(1),t)}:jo[n]?e.length>1?{type:jo[n],data:e.substring(1)}:{type:jo[n]}:Su},TN=(e,t)=>{if(xN){const n=bN(e);return qv(n,t)}else return{base64:!0,data:e}},qv=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},Xv="",CN=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,s)=>{bf(o,!1,a=>{r[s]=a,++i===n&&t(r.join(Xv))})})},kN=(e,t)=>{const n=e.split(Xv),r=[];for(let i=0;i<n.length;i++){const o=xf(n[i],t);if(r.push(o),o.type==="error")break}return r};function ON(){return new TransformStream({transform(e,t){wN(e,n=>{const r=n.length;let i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);const o=new DataView(i.buffer);o.setUint8(0,126),o.setUint16(1,r)}else{i=new Uint8Array(9);const o=new DataView(i.buffer);o.setUint8(0,127),o.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let nl;function _o(e){return e.reduce((t,n)=>t+n.length,0)}function Eo(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function RN(e,t){nl||(nl=new TextDecoder);const n=[];let r=0,i=-1,o=!1;return new TransformStream({transform(s,a){for(n.push(s);;){if(r===0){if(_o(n)<1)break;const l=Eo(n,1);o=(l[0]&128)===128,i=l[0]&127,i<126?r=3:i===126?r=1:r=2}else if(r===1){if(_o(n)<2)break;const l=Eo(n,2);i=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),r=3}else if(r===2){if(_o(n)<8)break;const l=Eo(n,8),u=new DataView(l.buffer,l.byteOffset,l.length),c=u.getUint32(0);if(c>Math.pow(2,21)-1){a.enqueue(Su);break}i=c*Math.pow(2,32)+u.getUint32(4),r=3}else{if(_o(n)<i)break;const l=Eo(n,i);a.enqueue(xf(o?l:nl.decode(l),t)),r=0}if(i===0||i>e){a.enqueue(Su);break}}}})}const Qv=4;function de(e){if(e)return NN(e)}function NN(e){for(var t in de.prototype)e[t]=de.prototype[t];return e}de.prototype.on=de.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};de.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};de.prototype.off=de.prototype.removeListener=de.prototype.removeAllListeners=de.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this};de.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this};de.prototype.emitReserved=de.prototype.emit;de.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};de.prototype.hasListeners=function(e){return!!this.listeners(e).length};const tt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function Kv(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const AN=tt.setTimeout,PN=tt.clearTimeout;function la(e,t){t.useNativeTimers?(e.setTimeoutFn=AN.bind(tt),e.clearTimeoutFn=PN.bind(tt)):(e.setTimeoutFn=tt.setTimeout.bind(tt),e.clearTimeoutFn=tt.clearTimeout.bind(tt))}const IN=1.33;function DN(e){return typeof e=="string"?MN(e):Math.ceil((e.byteLength||e.size)*IN)}function MN(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function FN(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function BN(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let o=n[r].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}class LN extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class Tf extends de{constructor(t){super(),this.writable=!1,la(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new LN(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=xf(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=FN(t);return n.length?"?"+n:""}}const Yv="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),wu=64,jN={};let lp=0,So=0,up;function cp(e){let t="";do t=Yv[e%wu]+t,e=Math.floor(e/wu);while(e>0);return t}function Zv(){const e=cp(+new Date);return e!==up?(lp=0,up=e):e+"."+cp(lp++)}for(;So<wu;So++)jN[Yv[So]]=So;let Jv=!1;try{Jv=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const zN=Jv;function e0(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||zN))return new XMLHttpRequest}catch{}if(!t)try{return new tt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function UN(){}const $N=function(){return new e0({xdomain:!1}).responseType!=null}();class HN extends Tf{constructor(t){if(super(t),this.polling=!1,typeof location<"u"){const r=location.protocol==="https:";let i=location.port;i||(i=r?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||i!==t.port}const n=t&&t.forceBase64;this.supportsBinary=$N&&!n,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};kN(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,CN(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Zv()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}request(t={}){return Object.assign(t,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Ft(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class Ft extends de{constructor(t,n){super(),la(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.data=n.data!==void 0?n.data:null,this.create()}create(){var t;const n=Kv(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd;const r=this.xhr=new e0(n);try{r.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let i in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&r.setRequestHeader(i,this.opts.extraHeaders[i])}}catch{}if(this.method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this.opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(r.timeout=this.opts.requestTimeout),r.onreadystatechange=()=>{var i;r.readyState===3&&((i=this.opts.cookieJar)===null||i===void 0||i.parseCookies(r)),r.readyState===4&&(r.status===200||r.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof r.status=="number"?r.status:0)},0))},r.send(this.data)}catch(i){this.setTimeoutFn(()=>{this.onError(i)},0);return}typeof document<"u"&&(this.index=Ft.requestsCount++,Ft.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=UN,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Ft.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Ft.requestsCount=0;Ft.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",fp);else if(typeof addEventListener=="function"){const e="onpagehide"in tt?"pagehide":"unload";addEventListener(e,fp,!1)}}function fp(){for(let e in Ft.requests)Ft.requests.hasOwnProperty(e)&&Ft.requests[e].abort()}const Cf=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),wo=tt.WebSocket||tt.MozWebSocket,dp=!0,GN="arraybuffer",hp=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class VN extends Tf{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=hp?{}:Kv(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=dp&&!hp?n?new wo(t,n):new wo(t):new wo(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;bf(r,this.supportsBinary,o=>{const s={};try{dp&&this.ws.send(o)}catch{}i&&Cf(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Zv()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}check(){return!!wo}}class WN extends Tf{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(t=>{const n=RN(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=ON();i.readable.pipeTo(t.writable),this.writer=i.writable.getWriter();const o=()=>{r.read().then(({done:a,value:l})=>{a||(this.onPacket(l),o())}).catch(a=>{})};o();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this.writer.write(s).then(()=>this.onOpen())})}))}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;this.writer.write(r).then(()=>{i&&Cf(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this.transport)===null||t===void 0||t.close()}}const qN={websocket:VN,webtransport:WN,polling:HN},XN=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,QN=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function bu(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=XN.exec(e||""),o={},s=14;for(;s--;)o[QN[s]]=i[s]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=KN(o,o.path),o.queryKey=YN(o,o.query),o}function KN(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function YN(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}let t0=class rr extends de{constructor(t,n={}){super(),this.binaryType=GN,this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=bu(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=bu(n.host).host),la(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=BN(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Qv,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new qN[t](r)}open(){let t;if(this.opts.rememberUpgrade&&rr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;rr.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",g=>{if(!r)if(g.type==="pong"&&g.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;rr.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(c(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const y=new Error("probe error");y.transport=n.name,this.emitReserved("upgradeError",y)}}))};function o(){r||(r=!0,c(),n.close(),n=null)}const s=g=>{const y=new Error("probe error: "+g);y.transport=n.name,o(),this.emitReserved("upgradeError",y)};function a(){s("transport closed")}function l(){s("socket closed")}function u(g){n&&g.name!==n.name&&o()}const c=()=>{n.removeListener("open",i),n.removeListener("error",s),n.removeListener("close",a),this.off("close",l),this.off("upgrading",u)};n.once("open",i),n.once("error",s),n.once("close",a),this.once("close",l),this.once("upgrading",u),this.upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onOpen(){if(this.readyState="open",rr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const n=this.upgrades.length;for(;t<n;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),this.resetPingTimeout(),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const n=new Error("server error");n.code=t.data,this.onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const i=this.writeBuffer[r].data;if(i&&(n+=DN(i)),r>0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){rr.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;r<i;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}};t0.protocol=Qv;function ZN(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=bu(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}const JN=typeof ArrayBuffer=="function",eA=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,n0=Object.prototype.toString,tA=typeof Blob=="function"||typeof Blob<"u"&&n0.call(Blob)==="[object BlobConstructor]",nA=typeof File=="function"||typeof File<"u"&&n0.call(File)==="[object FileConstructor]";function kf(e){return JN&&(e instanceof ArrayBuffer||eA(e))||tA&&e instanceof Blob||nA&&e instanceof File}function zo(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(zo(e[n]))return!0;return!1}if(kf(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return zo(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&zo(e[n]))return!0;return!1}function rA(e){const t=[],n=e.data,r=e;return r.data=xu(n,t),r.attachments=t.length,{packet:r,buffers:t}}function xu(e,t){if(!e)return e;if(kf(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=xu(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=xu(e[r],t));return n}return e}function iA(e,t){return e.data=Tu(e.data,t),delete e.attachments,e}function Tu(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Tu(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Tu(e[n],t));return e}const oA=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],sA=5;var z;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(z||(z={}));class aA{constructor(t){this.replacer=t}encode(t){return(t.type===z.EVENT||t.type===z.ACK)&&zo(t)?this.encodeAsBinary({type:t.type===z.EVENT?z.BINARY_EVENT:z.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===z.BINARY_EVENT||t.type===z.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=rA(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}function pp(e){return Object.prototype.toString.call(e)==="[object Object]"}class Of extends de{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===z.BINARY_EVENT;r||n.type===z.BINARY_ACK?(n.type=r?z.EVENT:z.ACK,this.reconstructor=new lA(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(kf(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(z[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===z.BINARY_EVENT||r.type===z.BINARY_ACK){const o=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const s=t.substring(o,n);if(s!=Number(s)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(s)}if(t.charAt(n+1)==="/"){const o=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(o,n)}else r.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const o=n+1;for(;++n;){const s=t.charAt(n);if(s==null||Number(s)!=s){--n;break}if(n===t.length)break}r.id=Number(t.substring(o,n+1))}if(t.charAt(++n)){const o=this.tryParse(t.substr(n));if(Of.isPayloadValid(r.type,o))r.data=o;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case z.CONNECT:return pp(n);case z.DISCONNECT:return n===void 0;case z.CONNECT_ERROR:return typeof n=="string"||pp(n);case z.EVENT:case z.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&oA.indexOf(n[0])===-1);case z.ACK:case z.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class lA{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=iA(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const uA=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Of,Encoder:aA,get PacketType(){return z},protocol:sA},Symbol.toStringTag,{value:"Module"}));function mt(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const cA=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class r0 extends de{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[mt(t,"open",this.onopen.bind(this)),mt(t,"packet",this.onpacket.bind(this)),mt(t,"error",this.onerror.bind(this)),mt(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(cA.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const r={type:z.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const s=this.ids++,a=n.pop();this._registerAckCallback(s,a),r.id=s}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){var r;const i=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(i===void 0){this.acks[t]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let a=0;a<this.sendBuffer.length;a++)this.sendBuffer[a].id===t&&this.sendBuffer.splice(a,1);n.call(this,new Error("operation has timed out"))},i),s=(...a)=>{this.io.clearTimeoutFn(o),n.apply(this,a)};s.withError=!0,this.acks[t]=s}emitWithAck(t,...n){return new Promise((r,i)=>{const o=(s,a)=>s?i(s):r(a);o.withError=!0,n.push(o),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...o)=>r!==this._queue[0]?void 0:(i!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(i)):(this._queue.shift(),n&&n(null,...o)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:z.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case z.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case z.EVENT:case z.BINARY_EVENT:this.onevent(t);break;case z.ACK:case z.BINARY_ACK:this.onack(t);break;case z.DISCONNECT:this.ondisconnect();break;case z.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:z.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:z.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function Br(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Br.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};Br.prototype.reset=function(){this.attempts=0};Br.prototype.setMin=function(e){this.ms=e};Br.prototype.setMax=function(e){this.max=e};Br.prototype.setJitter=function(e){this.jitter=e};class Cu extends de{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,la(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new Br({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||uA;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new t0(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=mt(n,"open",function(){r.onopen(),t&&t()}),o=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),t?t(a):this.maybeReconnectOnOpen()},s=mt(n,"error",o);if(this._timeout!==!1){const a=this._timeout,l=this.setTimeoutFn(()=>{i(),o(new Error("timeout")),n.close()},a);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(i),this.subs.push(s),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(mt(t,"ping",this.onping.bind(this)),mt(t,"data",this.ondata.bind(this)),mt(t,"error",this.onerror.bind(this)),mt(t,"close",this.onclose.bind(this)),mt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Cf(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new r0(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Jr={};function Uo(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=ZN(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,s=Jr[i]&&o in Jr[i].nsps,a=t.forceNew||t["force new connection"]||t.multiplex===!1||s;let l;return a?l=new Cu(r,t):(Jr[i]||(Jr[i]=new Cu(r,t)),l=Jr[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(Uo,{Manager:Cu,Socket:r0,io:Uo,connect:Uo});const fA=[U.ActionTypes.MESSAGE_TO_GUEST,U.ActionTypes.EVENT_TO_GUEST,U.ActionTypes.TYPING_ON,U.ActionTypes.TYPING_OFF,U.ActionTypes.RESTART_CHAT_REQUEST,...Db,..._b,"@@localize/SET_ACTIVE_LANGUAGE","@@localize/ADD_TRANSLATION_FOR_LANGUAGE"],dA=({dispatch:e,getState:t})=>n=>{let r=null;return i=>{let o=n(i);if(i.type===tf)r!=null&&r.disconnect(),e(Bb()),r=Uo(`/${i.clientName}/chat?${i.querystrings}`),r.on("action",e),r.on("connect",()=>e(Lb())),r.on("disconnect",()=>e(jb())),r.on("reconnect",()=>e(zb())),r.on("set-use-start-screen",s=>{e(s?MO():FO())}),r.on("set-translations",(s,a)=>{e(mN({language:s,messages:lN(s,a)}))}),r.on("enable-speech-support",()=>e(Sb())),r.on("enable-problem-reporting",()=>e(wb())),r.on("enable-transcript-export",s=>e(xb(s))),r.on("enable-conversation-rating",s=>e(Ob(s))),r.on("speech-transcription",s=>e(bb(s))),r.on("restore-client-state",s=>{e(Fb(s.sessionId)),e(Nb(s.messages))}),r.on("expand-window",({devices:s})=>e({type:My,devices:s})),r.on("show-general-conditions",()=>e(Cb())),r.on("restart-chat",()=>{e(uf(i.clientName,i.querystrings))});else if(i.type===lf)r==null||r.emit("start-chat",i.payload);else if(i.type===vb)r==null||r.emit("get-started",JSON.stringify(i));else if(i.type===Xc)r==null||r.emit("audio-message",i.buffer);else if(i.type===U.ActionTypes.CONVERSATION_RATING_FROM_GUEST)r==null||r.emit("conversation-rating",i.payload);else if(i.type===Fy){const{connection:{sessionId:s}}=t();window.location.href=`/transcript-pdf/${s}`}else fA.indexOf(i.type)===-1&&i.meta===void 0&&r&&r.emit("action",JSON.stringify(i));return o}},i0=yy(),hA={...vN(i0),intl:zv},ku=mO({middleware:e=>e().concat(dA),reducer:yN,preloadedState:hA});ku.subscribe(ZR(()=>{const e=ku.getState();_N(i0,{connection:e.connection,startScreen:e.startScreen})},1e3));const pA=document.getElementById("root"),mA=kg(pA);mA.render(_.jsx(LE,{store:ku,children:_.jsx(qO,{})}));
|
|
111
|
-
//# sourceMappingURL=index-
|
|
110
|
+
- Non inserire dati personali nella finestra di chat (password, data di nascita, ecc.).`,"general-conditions.accept-conditions-note":"Utilizzando la chat si accettano le condizioni d'uso.","problem-report.action.mark":"Segna come errato","problem-report.action.unmark":"Rimuovere il marcatore","block-user-input.title":"Attendere la risposta del chatbot.","conversation-rating.call-to-action.title":"Valuta questa chat","conversation-rating.overlay.title":"Quanto sei soddisfatto di questa chat?","conversation-rating.overlay.guest-feedback.input-placeholder":"Inserisci qui il tuo feedback (opzionale)","conversation-rating.overlay.star.very-bad":"Molto male","conversation-rating.overlay.star.very-good":"Molto buono","conversation-rating.overlay.bot-message.rate-feedback.value-1":"Oh, non suona bene. Vi prego di darmi un feedback in modo che possa imparare di più.","conversation-rating.overlay.bot-message.rate-feedback.value-2":"Oh, non suona bene. Vi prego di darmi un feedback in modo che possa imparare di più.","conversation-rating.overlay.bot-message.rate-feedback.value-3":"La media non è il mio obiettivo, cosa posso ancora migliorare?","conversation-rating.overlay.bot-message.rate-feedback.value-4":"Anche l'assenza è finita. Cosa posso migliorare per ottenere tutte le stelle la prossima volta?","conversation-rating.overlay.bot-message.rate-feedback.value-5":"Perfetto! Allora spero di potervi consigliare ancora una volta bene.","conversation-rating.overlay.bot-message.submit-feedback":"Grazie mille per il feedback. Mi impegno costantemente per migliorare.","conversation-rating.overlay.action.submit":"Invia","conversation-rating.overlay.action.close":"Chiudere","start-screen.body":"","start-screen.start-chat":"Avviare la chat"},aN=["de","en","fr","it"],zv={locale:"de",messages:jv},lN=(e,t)=>{if(aN.includes(e)){const n=uN(e),r=rN.dot(t);return{...n,...r}}return t},uN=e=>{switch(e.toString()){case"en":return iN;case"fr":return oN;case"it":return sN;default:return jv}},cN=(e=fN,t)=>{switch(t.type){case rf:return Object.assign({},e,{connectionState:an.CONNECTING});case of:return Object.assign({},e,{connectionState:an.CONNECTED});case sf:return Object.assign({},e,{connectionState:an.DISCONNECTED});case af:return Object.assign({},e,{connectionState:an.RECONNECTED});case lf:return Object.assign({},e,{sessionId:t.sessionId});case uf:return Object.assign({},e,{sessionId:t.payload.sessionId,userId:t.payload.userId});case jy:return Object.assign({},e,{connectionState:an.DISCONNECTED,sessionId:void 0});default:return e}},fN={connectionState:an.DISCONNECTED,sessionId:void 0,userId:void 0},dN=(e=pN,t)=>{switch(t.type){case U.ActionTypes.TYPING_ON:return Object.assign({},e,{isBotTyping:!0});case U.ActionTypes.TYPING_OFF:return Object.assign({},e,{isBotTyping:!1});case U.ActionTypes.MESSAGE_FROM_GUEST:case U.ActionTypes.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST:return rp(e,t.message);case U.ActionTypes.MESSAGE_TO_GUEST:vo(t);const n=Object.assign({},t.message,{_id:t.meta.actionId}),r=e.messages.filter(l=>l._id===t.meta.actionId).length>0;return Object.assign({},e,{isBotTyping:!1,messages:r?e.messages:e.messages.concat([n]),quickReplies:n.quickReplies?n.quickReplies:[]});case Xc:{const l=t.messages,u=l.length?l[l.length-1]:void 0;return Object.assign({},e,{isBotTyping:!1,messages:l,quickReplies:(u==null?void 0:u.quickReplies)||[]})}case qc:return vo(t.message),e;case U.ActionTypes.EVENT_TO_GUEST:return vo(t.event),e;case My:return vo(t),e;case Kc:return Object.assign({},e,{speechSupport:!0});case Yc:return Object.assign({},e,{problemReportingEnabled:!0});case Jc:const i=new U.TextMessage(t.transcription,new U.GuestUser),o=Object.assign({},i,{_id:crypto.randomUUID()});return rp(e,o);case Zc:return Object.assign({},e,{transcriptExportEnabled:t.methods});case ef:return Object.assign({},e,{showGeneralConditions:!0});case U.ActionTypes.PROBLEM_REPORT_FROM_GUEST:const s=e.messages.map(l=>l._id===t.payload.actionId?Object.assign({},l,{problemReport:t.payload.problem}):l);return Object.assign({},e,{messages:s});case tf:const a={enabled:!0,rating:t.payload.rating};return Object.assign({},e,{conversationRating:a});case U.ActionTypes.CONVERSATION_RATING_FROM_GUEST:{const l={...e.conversationRating,rating:t.payload};return Object.assign({},e,{conversationRating:l})}default:return e}},rp=(e,t)=>{const n=e.messages[e.messages.length-1],r=(n==null?void 0:n.text)===t.text;return n&&n.sender.type===t.sender.type&&r?e:Object.assign({},e,{messages:e.messages.concat([t]),quickReplies:[]})},vo=e=>{var t;hN()?(t=window.top)==null||t.postMessage(e,"*"):e.type==="webclient.change.url"&&window.open(e.url)},hN=()=>typeof window<"u"&&window.self!==window.top,pN={messages:[],quickReplies:[],isBotTyping:!1,speechSupport:!1,problemReportingEnabled:!1,transcriptExportEnabled:{pdf:!1,email:!1},showGeneralConditions:!1,conversationRating:{enabled:!1}},Uv=Dv({name:"intl",initialState:zv,reducers:{updateIntl:(e,t)=>{e.locale=t.payload.language,e.messages=t.payload.messages}}}),{updateIntl:mN}=Uv.actions,gN=Uv.reducer,yN=Ev({chat:dN,startScreen:LO,connection:cN,intl:gN}),$v="bf-webclient-state-last-saved-at",Hv="bf-webclient-state",vN=e=>{try{if(!SN())return;const t=ip(e,$v);if(EN(t))return;{const n=ip(e,Hv);return n===null?void 0:JSON.parse(n)}}catch(t){console.error(t);return}},_N=(e,t)=>{try{const n=JSON.stringify(t);op(e,Hv,n);let r=new Date().toISOString();op(e,$v,r)}catch(n){console.error(n)}},EN=e=>{if(e===null)return!1;let t=new Date(e);return t.setHours(t.getHours()+12),new Date>t},SN=()=>typeof localStorage<"u",ip=(e,t)=>localStorage.getItem(`${e}_${t}`),op=(e,t,n)=>localStorage.setItem(`${e}_${t}`,n),Lt=Object.create(null);Lt.open="0";Lt.close="1";Lt.ping="2";Lt.pong="3";Lt.message="4";Lt.upgrade="5";Lt.noop="6";const jo=Object.create(null);Object.keys(Lt).forEach(e=>{jo[Lt[e]]=e});const Su={type:"error",data:"parser error"},Gv=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Vv=typeof ArrayBuffer=="function",Wv=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,xf=({type:e,data:t},n,r)=>Gv&&t instanceof Blob?n?r(t):sp(t,r):Vv&&(t instanceof ArrayBuffer||Wv(t))?n?r(t):sp(new Blob([t]),r):r(Lt[e]+(t||"")),sp=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function ap(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let tl;function wN(e,t){if(Gv&&e.data instanceof Blob)return e.data.arrayBuffer().then(ap).then(t);if(Vv&&(e.data instanceof ArrayBuffer||Wv(e.data)))return t(ap(e.data));xf(e,!1,n=>{tl||(tl=new TextEncoder),t(tl.encode(n))})}const lp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",si=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<lp.length;e++)si[lp.charCodeAt(e)]=e;const bN=e=>{let t=e.length*.75,n=e.length,r,i=0,o,s,a,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),c=new Uint8Array(u);for(r=0;r<n;r+=4)o=si[e.charCodeAt(r)],s=si[e.charCodeAt(r+1)],a=si[e.charCodeAt(r+2)],l=si[e.charCodeAt(r+3)],c[i++]=o<<2|s>>4,c[i++]=(s&15)<<4|a>>2,c[i++]=(a&3)<<6|l&63;return u},xN=typeof ArrayBuffer=="function",Tf=(e,t)=>{if(typeof e!="string")return{type:"message",data:qv(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:TN(e.substring(1),t)}:jo[n]?e.length>1?{type:jo[n],data:e.substring(1)}:{type:jo[n]}:Su},TN=(e,t)=>{if(xN){const n=bN(e);return qv(n,t)}else return{base64:!0,data:e}},qv=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},Xv="",CN=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,s)=>{xf(o,!1,a=>{r[s]=a,++i===n&&t(r.join(Xv))})})},kN=(e,t)=>{const n=e.split(Xv),r=[];for(let i=0;i<n.length;i++){const o=Tf(n[i],t);if(r.push(o),o.type==="error")break}return r};function ON(){return new TransformStream({transform(e,t){wN(e,n=>{const r=n.length;let i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);const o=new DataView(i.buffer);o.setUint8(0,126),o.setUint16(1,r)}else{i=new Uint8Array(9);const o=new DataView(i.buffer);o.setUint8(0,127),o.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let nl;function _o(e){return e.reduce((t,n)=>t+n.length,0)}function Eo(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function RN(e,t){nl||(nl=new TextDecoder);const n=[];let r=0,i=-1,o=!1;return new TransformStream({transform(s,a){for(n.push(s);;){if(r===0){if(_o(n)<1)break;const l=Eo(n,1);o=(l[0]&128)===128,i=l[0]&127,i<126?r=3:i===126?r=1:r=2}else if(r===1){if(_o(n)<2)break;const l=Eo(n,2);i=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),r=3}else if(r===2){if(_o(n)<8)break;const l=Eo(n,8),u=new DataView(l.buffer,l.byteOffset,l.length),c=u.getUint32(0);if(c>Math.pow(2,21)-1){a.enqueue(Su);break}i=c*Math.pow(2,32)+u.getUint32(4),r=3}else{if(_o(n)<i)break;const l=Eo(n,i);a.enqueue(Tf(o?l:nl.decode(l),t)),r=0}if(i===0||i>e){a.enqueue(Su);break}}}})}const Qv=4;function de(e){if(e)return NN(e)}function NN(e){for(var t in de.prototype)e[t]=de.prototype[t];return e}de.prototype.on=de.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};de.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};de.prototype.off=de.prototype.removeListener=de.prototype.removeAllListeners=de.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this};de.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this};de.prototype.emitReserved=de.prototype.emit;de.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};de.prototype.hasListeners=function(e){return!!this.listeners(e).length};const tt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function Kv(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const AN=tt.setTimeout,PN=tt.clearTimeout;function la(e,t){t.useNativeTimers?(e.setTimeoutFn=AN.bind(tt),e.clearTimeoutFn=PN.bind(tt)):(e.setTimeoutFn=tt.setTimeout.bind(tt),e.clearTimeoutFn=tt.clearTimeout.bind(tt))}const IN=1.33;function DN(e){return typeof e=="string"?MN(e):Math.ceil((e.byteLength||e.size)*IN)}function MN(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function FN(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function BN(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let o=n[r].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}class LN extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class Cf extends de{constructor(t){super(),this.writable=!1,la(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new LN(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=Tf(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=FN(t);return n.length?"?"+n:""}}const Yv="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),wu=64,jN={};let up=0,So=0,cp;function fp(e){let t="";do t=Yv[e%wu]+t,e=Math.floor(e/wu);while(e>0);return t}function Zv(){const e=fp(+new Date);return e!==cp?(up=0,cp=e):e+"."+fp(up++)}for(;So<wu;So++)jN[Yv[So]]=So;let Jv=!1;try{Jv=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const zN=Jv;function e0(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||zN))return new XMLHttpRequest}catch{}if(!t)try{return new tt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function UN(){}const $N=function(){return new e0({xdomain:!1}).responseType!=null}();class HN extends Cf{constructor(t){if(super(t),this.polling=!1,typeof location<"u"){const r=location.protocol==="https:";let i=location.port;i||(i=r?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||i!==t.port}const n=t&&t.forceBase64;this.supportsBinary=$N&&!n,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};kN(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,CN(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Zv()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}request(t={}){return Object.assign(t,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Ft(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class Ft extends de{constructor(t,n){super(),la(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.data=n.data!==void 0?n.data:null,this.create()}create(){var t;const n=Kv(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd;const r=this.xhr=new e0(n);try{r.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let i in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&r.setRequestHeader(i,this.opts.extraHeaders[i])}}catch{}if(this.method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this.opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(r.timeout=this.opts.requestTimeout),r.onreadystatechange=()=>{var i;r.readyState===3&&((i=this.opts.cookieJar)===null||i===void 0||i.parseCookies(r)),r.readyState===4&&(r.status===200||r.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof r.status=="number"?r.status:0)},0))},r.send(this.data)}catch(i){this.setTimeoutFn(()=>{this.onError(i)},0);return}typeof document<"u"&&(this.index=Ft.requestsCount++,Ft.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=UN,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Ft.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Ft.requestsCount=0;Ft.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",dp);else if(typeof addEventListener=="function"){const e="onpagehide"in tt?"pagehide":"unload";addEventListener(e,dp,!1)}}function dp(){for(let e in Ft.requests)Ft.requests.hasOwnProperty(e)&&Ft.requests[e].abort()}const kf=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),wo=tt.WebSocket||tt.MozWebSocket,hp=!0,GN="arraybuffer",pp=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class VN extends Cf{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=pp?{}:Kv(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=hp&&!pp?n?new wo(t,n):new wo(t):new wo(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;xf(r,this.supportsBinary,o=>{const s={};try{hp&&this.ws.send(o)}catch{}i&&kf(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Zv()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}check(){return!!wo}}class WN extends Cf{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(t=>{const n=RN(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=ON();i.readable.pipeTo(t.writable),this.writer=i.writable.getWriter();const o=()=>{r.read().then(({done:a,value:l})=>{a||(this.onPacket(l),o())}).catch(a=>{})};o();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this.writer.write(s).then(()=>this.onOpen())})}))}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;this.writer.write(r).then(()=>{i&&kf(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this.transport)===null||t===void 0||t.close()}}const qN={websocket:VN,webtransport:WN,polling:HN},XN=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,QN=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function bu(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=XN.exec(e||""),o={},s=14;for(;s--;)o[QN[s]]=i[s]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=KN(o,o.path),o.queryKey=YN(o,o.query),o}function KN(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function YN(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}let t0=class rr extends de{constructor(t,n={}){super(),this.binaryType=GN,this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=bu(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=bu(n.host).host),la(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=BN(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Qv,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new qN[t](r)}open(){let t;if(this.opts.rememberUpgrade&&rr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;rr.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",g=>{if(!r)if(g.type==="pong"&&g.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;rr.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(c(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const y=new Error("probe error");y.transport=n.name,this.emitReserved("upgradeError",y)}}))};function o(){r||(r=!0,c(),n.close(),n=null)}const s=g=>{const y=new Error("probe error: "+g);y.transport=n.name,o(),this.emitReserved("upgradeError",y)};function a(){s("transport closed")}function l(){s("socket closed")}function u(g){n&&g.name!==n.name&&o()}const c=()=>{n.removeListener("open",i),n.removeListener("error",s),n.removeListener("close",a),this.off("close",l),this.off("upgrading",u)};n.once("open",i),n.once("error",s),n.once("close",a),this.once("close",l),this.once("upgrading",u),this.upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onOpen(){if(this.readyState="open",rr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const n=this.upgrades.length;for(;t<n;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),this.resetPingTimeout(),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const n=new Error("server error");n.code=t.data,this.onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const i=this.writeBuffer[r].data;if(i&&(n+=DN(i)),r>0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){rr.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;r<i;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}};t0.protocol=Qv;function ZN(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=bu(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}const JN=typeof ArrayBuffer=="function",eA=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,n0=Object.prototype.toString,tA=typeof Blob=="function"||typeof Blob<"u"&&n0.call(Blob)==="[object BlobConstructor]",nA=typeof File=="function"||typeof File<"u"&&n0.call(File)==="[object FileConstructor]";function Of(e){return JN&&(e instanceof ArrayBuffer||eA(e))||tA&&e instanceof Blob||nA&&e instanceof File}function zo(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(zo(e[n]))return!0;return!1}if(Of(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return zo(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&zo(e[n]))return!0;return!1}function rA(e){const t=[],n=e.data,r=e;return r.data=xu(n,t),r.attachments=t.length,{packet:r,buffers:t}}function xu(e,t){if(!e)return e;if(Of(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=xu(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=xu(e[r],t));return n}return e}function iA(e,t){return e.data=Tu(e.data,t),delete e.attachments,e}function Tu(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Tu(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Tu(e[n],t));return e}const oA=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],sA=5;var z;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(z||(z={}));class aA{constructor(t){this.replacer=t}encode(t){return(t.type===z.EVENT||t.type===z.ACK)&&zo(t)?this.encodeAsBinary({type:t.type===z.EVENT?z.BINARY_EVENT:z.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===z.BINARY_EVENT||t.type===z.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=rA(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}function mp(e){return Object.prototype.toString.call(e)==="[object Object]"}class Rf extends de{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===z.BINARY_EVENT;r||n.type===z.BINARY_ACK?(n.type=r?z.EVENT:z.ACK,this.reconstructor=new lA(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Of(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(z[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===z.BINARY_EVENT||r.type===z.BINARY_ACK){const o=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const s=t.substring(o,n);if(s!=Number(s)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(s)}if(t.charAt(n+1)==="/"){const o=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(o,n)}else r.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const o=n+1;for(;++n;){const s=t.charAt(n);if(s==null||Number(s)!=s){--n;break}if(n===t.length)break}r.id=Number(t.substring(o,n+1))}if(t.charAt(++n)){const o=this.tryParse(t.substr(n));if(Rf.isPayloadValid(r.type,o))r.data=o;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case z.CONNECT:return mp(n);case z.DISCONNECT:return n===void 0;case z.CONNECT_ERROR:return typeof n=="string"||mp(n);case z.EVENT:case z.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&oA.indexOf(n[0])===-1);case z.ACK:case z.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class lA{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=iA(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const uA=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Rf,Encoder:aA,get PacketType(){return z},protocol:sA},Symbol.toStringTag,{value:"Module"}));function mt(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const cA=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class r0 extends de{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[mt(t,"open",this.onopen.bind(this)),mt(t,"packet",this.onpacket.bind(this)),mt(t,"error",this.onerror.bind(this)),mt(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(cA.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const r={type:z.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const s=this.ids++,a=n.pop();this._registerAckCallback(s,a),r.id=s}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){var r;const i=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(i===void 0){this.acks[t]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let a=0;a<this.sendBuffer.length;a++)this.sendBuffer[a].id===t&&this.sendBuffer.splice(a,1);n.call(this,new Error("operation has timed out"))},i),s=(...a)=>{this.io.clearTimeoutFn(o),n.apply(this,a)};s.withError=!0,this.acks[t]=s}emitWithAck(t,...n){return new Promise((r,i)=>{const o=(s,a)=>s?i(s):r(a);o.withError=!0,n.push(o),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...o)=>r!==this._queue[0]?void 0:(i!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(i)):(this._queue.shift(),n&&n(null,...o)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:z.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case z.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case z.EVENT:case z.BINARY_EVENT:this.onevent(t);break;case z.ACK:case z.BINARY_ACK:this.onack(t);break;case z.DISCONNECT:this.ondisconnect();break;case z.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:z.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:z.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function Br(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Br.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};Br.prototype.reset=function(){this.attempts=0};Br.prototype.setMin=function(e){this.ms=e};Br.prototype.setMax=function(e){this.max=e};Br.prototype.setJitter=function(e){this.jitter=e};class Cu extends de{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,la(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new Br({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||uA;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new t0(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=mt(n,"open",function(){r.onopen(),t&&t()}),o=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),t?t(a):this.maybeReconnectOnOpen()},s=mt(n,"error",o);if(this._timeout!==!1){const a=this._timeout,l=this.setTimeoutFn(()=>{i(),o(new Error("timeout")),n.close()},a);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(i),this.subs.push(s),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(mt(t,"ping",this.onping.bind(this)),mt(t,"data",this.ondata.bind(this)),mt(t,"error",this.onerror.bind(this)),mt(t,"close",this.onclose.bind(this)),mt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){kf(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new r0(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Jr={};function Uo(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=ZN(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,s=Jr[i]&&o in Jr[i].nsps,a=t.forceNew||t["force new connection"]||t.multiplex===!1||s;let l;return a?l=new Cu(r,t):(Jr[i]||(Jr[i]=new Cu(r,t)),l=Jr[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(Uo,{Manager:Cu,Socket:r0,io:Uo,connect:Uo});const fA=[U.ActionTypes.MESSAGE_TO_GUEST,U.ActionTypes.EVENT_TO_GUEST,U.ActionTypes.TYPING_ON,U.ActionTypes.TYPING_OFF,U.ActionTypes.RESTART_CHAT_REQUEST,...Db,..._b,"@@localize/SET_ACTIVE_LANGUAGE","@@localize/ADD_TRANSLATION_FOR_LANGUAGE"],dA=({dispatch:e,getState:t})=>n=>{let r=null;return i=>{let o=n(i);if(i.type===nf)r!=null&&r.disconnect(),e(Bb()),r=Uo(`/${i.clientName}/chat?${Fc.stringify(i.querystrings)}`),r.on("action",e),r.on("connect",()=>e(Lb())),r.on("disconnect",()=>e(jb())),r.on("reconnect",()=>e(zb())),r.on("set-use-start-screen",s=>{e(s?MO():FO())}),r.on("set-translations",(s,a)=>{e(mN({language:s,messages:lN(s,a)}))}),r.on("enable-speech-support",()=>e(Sb())),r.on("enable-problem-reporting",()=>e(wb())),r.on("enable-transcript-export",s=>e(xb(s))),r.on("enable-conversation-rating",s=>e(Ob(s))),r.on("speech-transcription",s=>e(bb(s))),r.on("restore-client-state",s=>{e(Fb(s.sessionId)),e(Nb(s.messages))}),r.on("expand-window",({devices:s})=>e({type:My,devices:s})),r.on("show-general-conditions",()=>e(Cb())),r.on("restart-chat",()=>{e(cf(i.clientName,i.querystrings))});else if(i.type===uf)r==null||r.emit("start-chat",i.payload);else if(i.type===vb)r==null||r.emit("get-started",JSON.stringify(i));else if(i.type===Qc)r==null||r.emit("audio-message",i.buffer);else if(i.type===U.ActionTypes.CONVERSATION_RATING_FROM_GUEST)r==null||r.emit("conversation-rating",i.payload);else if(i.type===Fy){const{connection:{sessionId:s}}=t();window.location.href=`/transcript-pdf/${s}`}else fA.indexOf(i.type)===-1&&i.meta===void 0&&r&&r.emit("action",JSON.stringify(i));return o}},i0=vy(),hA={...vN(i0),intl:zv},ku=mO({middleware:e=>e().concat(dA),reducer:yN,preloadedState:hA});ku.subscribe(ZR(()=>{const e=ku.getState();_N(i0,{connection:e.connection,startScreen:e.startScreen})},1e3));const pA=document.getElementById("root"),mA=Og(pA);mA.render(_.jsx(LE,{store:ku,children:_.jsx(qO,{})}));
|
|
111
|
+
//# sourceMappingURL=index-Ctkdmtsn.js.map
|