@botfabrik/engine-webclient 4.76.7 → 4.76.9-alpha.0
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-DELBIhzX.js +110 -0
- package/dist/client/assets/index-DELBIhzX.js.map +1 -0
- package/dist/client/index.html +1 -1
- package/dist/embed/bundle.js +5 -5
- package/dist/index.js +17 -7
- package/dist/middleware/index.js +5 -3
- package/dist/speechToText.js +1 -3
- package/package.json +10 -9
- package/run-embed-local.ts +1 -1
- package/dist/client/assets/index-BqtDQ6Df.js +0 -103
- package/dist/client/assets/index-BqtDQ6Df.js.map +0 -1
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
var Q_=Object.defineProperty;var K_=(e,n,i)=>n in e?Q_(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var xe=(e,n,i)=>K_(e,typeof n!="symbol"?n+"":n,i);function Y_(e,n){for(var i=0;i<n.length;i++){const s=n[i];if(typeof s!="string"&&!Array.isArray(s)){for(const l in s)if(l!=="default"&&!(l in e)){const u=Object.getOwnPropertyDescriptor(s,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:()=>s[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))s(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function s(l){if(l.ep)return;l.ep=!0;const u=i(l);fetch(l.href,u)}})();var hs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ea(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var au={exports:{}},Gi={},lu={exports:{}},me={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var mp;function Z_(){if(mp)return me;mp=1;var e=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),w=Symbol.iterator;function m(I){return I===null||typeof I!="object"?null:(I=w&&I[w]||I["@@iterator"],typeof I=="function"?I:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,T={};function x(I,B,ce){this.props=I,this.context=B,this.refs=T,this.updater=ce||_}x.prototype.isReactComponent={},x.prototype.setState=function(I,B){if(typeof I!="object"&&typeof I!="function"&&I!=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,I,B,"setState")},x.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function N(){}N.prototype=x.prototype;function O(I,B,ce){this.props=I,this.context=B,this.refs=T,this.updater=ce||_}var S=O.prototype=new N;S.constructor=O,v(S,x.prototype),S.isPureReactComponent=!0;var C=Array.isArray,k=Object.prototype.hasOwnProperty,L={current:null},U={key:!0,ref:!0,__self:!0,__source:!0};function V(I,B,ce){var he,ye={},ve=null,Re=null;if(B!=null)for(he in B.ref!==void 0&&(Re=B.ref),B.key!==void 0&&(ve=""+B.key),B)k.call(B,he)&&!U.hasOwnProperty(he)&&(ye[he]=B[he]);var Ce=arguments.length-2;if(Ce===1)ye.children=ce;else if(1<Ce){for(var Oe=Array(Ce),et=0;et<Ce;et++)Oe[et]=arguments[et+2];ye.children=Oe}if(I&&I.defaultProps)for(he in Ce=I.defaultProps,Ce)ye[he]===void 0&&(ye[he]=Ce[he]);return{$$typeof:e,type:I,key:ve,ref:Re,props:ye,_owner:L.current}}function se(I,B){return{$$typeof:e,type:I.type,key:B,ref:I.ref,props:I.props,_owner:I._owner}}function te(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function fe(I){var B={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(ce){return B[ce]})}var de=/\/+/g;function ae(I,B){return typeof I=="object"&&I!==null&&I.key!=null?fe(""+I.key):B.toString(36)}function Le(I,B,ce,he,ye){var ve=typeof I;(ve==="undefined"||ve==="boolean")&&(I=null);var Re=!1;if(I===null)Re=!0;else switch(ve){case"string":case"number":Re=!0;break;case"object":switch(I.$$typeof){case e:case n:Re=!0}}if(Re)return Re=I,ye=ye(Re),I=he===""?"."+ae(Re,0):he,C(ye)?(ce="",I!=null&&(ce=I.replace(de,"$&/")+"/"),Le(ye,B,ce,"",function(et){return et})):ye!=null&&(te(ye)&&(ye=se(ye,ce+(!ye.key||Re&&Re.key===ye.key?"":(""+ye.key).replace(de,"$&/")+"/")+I)),B.push(ye)),1;if(Re=0,he=he===""?".":he+":",C(I))for(var Ce=0;Ce<I.length;Ce++){ve=I[Ce];var Oe=he+ae(ve,Ce);Re+=Le(ve,B,ce,Oe,ye)}else if(Oe=m(I),typeof Oe=="function")for(I=Oe.call(I),Ce=0;!(ve=I.next()).done;)ve=ve.value,Oe=he+ae(ve,Ce++),Re+=Le(ve,B,ce,Oe,ye);else if(ve==="object")throw B=String(I),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.");return Re}function Ie(I,B,ce){if(I==null)return I;var he=[],ye=0;return Le(I,he,"","",function(ve){return B.call(ce,ve,ye++)}),he}function qe(I){if(I._status===-1){var B=I._result;B=B(),B.then(function(ce){(I._status===0||I._status===-1)&&(I._status=1,I._result=ce)},function(ce){(I._status===0||I._status===-1)&&(I._status=2,I._result=ce)}),I._status===-1&&(I._status=0,I._result=B)}if(I._status===1)return I._result.default;throw I._result}var Ae={current:null},q={transition:null},ne={ReactCurrentDispatcher:Ae,ReactCurrentBatchConfig:q,ReactCurrentOwner:L};function X(){throw Error("act(...) is not supported in production builds of React.")}return me.Children={map:Ie,forEach:function(I,B,ce){Ie(I,function(){B.apply(this,arguments)},ce)},count:function(I){var B=0;return Ie(I,function(){B++}),B},toArray:function(I){return Ie(I,function(B){return B})||[]},only:function(I){if(!te(I))throw Error("React.Children.only expected to receive a single React element child.");return I}},me.Component=x,me.Fragment=i,me.Profiler=l,me.PureComponent=O,me.StrictMode=s,me.Suspense=p,me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,me.act=X,me.cloneElement=function(I,B,ce){if(I==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var he=v({},I.props),ye=I.key,ve=I.ref,Re=I._owner;if(B!=null){if(B.ref!==void 0&&(ve=B.ref,Re=L.current),B.key!==void 0&&(ye=""+B.key),I.type&&I.type.defaultProps)var Ce=I.type.defaultProps;for(Oe in B)k.call(B,Oe)&&!U.hasOwnProperty(Oe)&&(he[Oe]=B[Oe]===void 0&&Ce!==void 0?Ce[Oe]:B[Oe])}var Oe=arguments.length-2;if(Oe===1)he.children=ce;else if(1<Oe){Ce=Array(Oe);for(var et=0;et<Oe;et++)Ce[et]=arguments[et+2];he.children=Ce}return{$$typeof:e,type:I.type,key:ye,ref:ve,props:he,_owner:Re}},me.createContext=function(I){return I={$$typeof:d,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:u,_context:I},I.Consumer=I},me.createElement=V,me.createFactory=function(I){var B=V.bind(null,I);return B.type=I,B},me.createRef=function(){return{current:null}},me.forwardRef=function(I){return{$$typeof:h,render:I}},me.isValidElement=te,me.lazy=function(I){return{$$typeof:y,_payload:{_status:-1,_result:I},_init:qe}},me.memo=function(I,B){return{$$typeof:E,type:I,compare:B===void 0?null:B}},me.startTransition=function(I){var B=q.transition;q.transition={};try{I()}finally{q.transition=B}},me.unstable_act=X,me.useCallback=function(I,B){return Ae.current.useCallback(I,B)},me.useContext=function(I){return Ae.current.useContext(I)},me.useDebugValue=function(){},me.useDeferredValue=function(I){return Ae.current.useDeferredValue(I)},me.useEffect=function(I,B){return Ae.current.useEffect(I,B)},me.useId=function(){return Ae.current.useId()},me.useImperativeHandle=function(I,B,ce){return Ae.current.useImperativeHandle(I,B,ce)},me.useInsertionEffect=function(I,B){return Ae.current.useInsertionEffect(I,B)},me.useLayoutEffect=function(I,B){return Ae.current.useLayoutEffect(I,B)},me.useMemo=function(I,B){return Ae.current.useMemo(I,B)},me.useReducer=function(I,B,ce){return Ae.current.useReducer(I,B,ce)},me.useRef=function(I){return Ae.current.useRef(I)},me.useState=function(I){return Ae.current.useState(I)},me.useSyncExternalStore=function(I,B,ce){return Ae.current.useSyncExternalStore(I,B,ce)},me.useTransition=function(){return Ae.current.useTransition()},me.version="18.3.1",me}var gp;function ti(){return gp||(gp=1,lu.exports=Z_()),lu.exports}/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var yp;function J_(){if(yp)return Gi;yp=1;var e=ti(),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function d(h,p,E){var y,w={},m=null,_=null;E!==void 0&&(m=""+E),p.key!==void 0&&(m=""+p.key),p.ref!==void 0&&(_=p.ref);for(y in p)s.call(p,y)&&!u.hasOwnProperty(y)&&(w[y]=p[y]);if(h&&h.defaultProps)for(y in p=h.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:n,type:h,key:m,ref:_,props:w,_owner:l.current}}return Gi.Fragment=i,Gi.jsx=d,Gi.jsxs=d,Gi}var vp;function e1(){return vp||(vp=1,au.exports=J_()),au.exports}var R=e1(),ps={},uu={exports:{}},xt={},cu={exports:{}},fu={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.min.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var _p;function t1(){return _p||(_p=1,function(e){function n(q,ne){var X=q.length;q.push(ne);e:for(;0<X;){var I=X-1>>>1,B=q[I];if(0<l(B,ne))q[I]=ne,q[X]=B,X=I;else break e}}function i(q){return q.length===0?null:q[0]}function s(q){if(q.length===0)return null;var ne=q[0],X=q.pop();if(X!==ne){q[0]=X;e:for(var I=0,B=q.length,ce=B>>>1;I<ce;){var he=2*(I+1)-1,ye=q[he],ve=he+1,Re=q[ve];if(0>l(ye,X))ve<B&&0>l(Re,ye)?(q[I]=Re,q[ve]=X,I=ve):(q[I]=ye,q[he]=X,I=he);else if(ve<B&&0>l(Re,X))q[I]=Re,q[ve]=X,I=ve;else break e}}return ne}function l(q,ne){var X=q.sortIndex-ne.sortIndex;return X!==0?X:q.id-ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,h=d.now();e.unstable_now=function(){return d.now()-h}}var p=[],E=[],y=1,w=null,m=3,_=!1,v=!1,T=!1,x=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(q){for(var ne=i(E);ne!==null;){if(ne.callback===null)s(E);else if(ne.startTime<=q)s(E),ne.sortIndex=ne.expirationTime,n(p,ne);else break;ne=i(E)}}function C(q){if(T=!1,S(q),!v)if(i(p)!==null)v=!0,qe(k);else{var ne=i(E);ne!==null&&Ae(C,ne.startTime-q)}}function k(q,ne){v=!1,T&&(T=!1,N(V),V=-1),_=!0;var X=m;try{for(S(ne),w=i(p);w!==null&&(!(w.expirationTime>ne)||q&&!fe());){var I=w.callback;if(typeof I=="function"){w.callback=null,m=w.priorityLevel;var B=I(w.expirationTime<=ne);ne=e.unstable_now(),typeof B=="function"?w.callback=B:w===i(p)&&s(p),S(ne)}else s(p);w=i(p)}if(w!==null)var ce=!0;else{var he=i(E);he!==null&&Ae(C,he.startTime-ne),ce=!1}return ce}finally{w=null,m=X,_=!1}}var L=!1,U=null,V=-1,se=5,te=-1;function fe(){return!(e.unstable_now()-te<se)}function de(){if(U!==null){var q=e.unstable_now();te=q;var ne=!0;try{ne=U(!0,q)}finally{ne?ae():(L=!1,U=null)}}else L=!1}var ae;if(typeof O=="function")ae=function(){O(de)};else if(typeof MessageChannel<"u"){var Le=new MessageChannel,Ie=Le.port2;Le.port1.onmessage=de,ae=function(){Ie.postMessage(null)}}else ae=function(){x(de,0)};function qe(q){U=q,L||(L=!0,ae())}function Ae(q,ne){V=x(function(){q(e.unstable_now())},ne)}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(q){q.callback=null},e.unstable_continueExecution=function(){v||_||(v=!0,qe(k))},e.unstable_forceFrameRate=function(q){0>q||125<q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):se=0<q?Math.floor(1e3/q):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return i(p)},e.unstable_next=function(q){switch(m){case 1:case 2:case 3:var ne=3;break;default:ne=m}var X=m;m=ne;try{return q()}finally{m=X}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(q,ne){switch(q){case 1:case 2:case 3:case 4:case 5:break;default:q=3}var X=m;m=q;try{return ne()}finally{m=X}},e.unstable_scheduleCallback=function(q,ne,X){var I=e.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?I+X:I):X=I,q){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=X+B,q={id:y++,callback:ne,priorityLevel:q,startTime:X,expirationTime:B,sortIndex:-1},X>I?(q.sortIndex=X,n(E,q),i(p)===null&&q===i(E)&&(T?(N(V),V=-1):T=!0,Ae(C,X-I))):(q.sortIndex=B,n(p,q),v||_||(v=!0,qe(k))),q},e.unstable_shouldYield=fe,e.unstable_wrapCallback=function(q){var ne=m;return function(){var X=m;m=ne;try{return q.apply(this,arguments)}finally{m=X}}}}(fu)),fu}var Ep;function r1(){return Ep||(Ep=1,cu.exports=t1()),cu.exports}/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.min.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var Sp;function n1(){if(Sp)return xt;Sp=1;var e=ti(),n=r1();function i(t){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+t,o=1;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+t+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,l={};function u(t,r){d(t,r),d(t+"Capture",r)}function d(t,r){for(l[t]=r,t=0;t<r.length;t++)s.add(r[t])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,E=/^[: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]*$/,y={},w={};function m(t){return p.call(w,t)?!0:p.call(y,t)?!1:E.test(t)?w[t]=!0:(y[t]=!0,!1)}function _(t,r,o,a){if(o!==null&&o.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return a?!1:o!==null?!o.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function v(t,r,o,a){if(r===null||typeof r>"u"||_(t,r,o,a))return!0;if(a)return!1;if(o!==null)switch(o.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function T(t,r,o,a,c,f,g){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=a,this.attributeNamespace=c,this.mustUseProperty=o,this.propertyName=t,this.type=r,this.sanitizeURL=f,this.removeEmptyString=g}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){x[t]=new T(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var r=t[0];x[r]=new T(r,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){x[t]=new T(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){x[t]=new T(t,2,!1,t,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(t){x[t]=new T(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){x[t]=new T(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){x[t]=new T(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){x[t]=new T(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){x[t]=new T(t,5,!1,t.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function O(t){return t[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(t){var r=t.replace(N,O);x[r]=new T(r,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var r=t.replace(N,O);x[r]=new T(r,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(N,O);x[r]=new T(r,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){x[t]=new T(t,1,!1,t.toLowerCase(),null,!1,!1)}),x.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){x[t]=new T(t,1,!1,t.toLowerCase(),null,!0,!0)});function S(t,r,o,a){var c=x.hasOwnProperty(r)?x[r]:null;(c!==null?c.type!==0:a||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(v(r,o,c,a)&&(o=null),a||c===null?m(r)&&(o===null?t.removeAttribute(r):t.setAttribute(r,""+o)):c.mustUseProperty?t[c.propertyName]=o===null?c.type===3?!1:"":o:(r=c.attributeName,a=c.attributeNamespace,o===null?t.removeAttribute(r):(c=c.type,o=c===3||c===4&&o===!0?"":""+o,a?t.setAttributeNS(a,r,o):t.setAttribute(r,o))))}var C=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),L=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),fe=Symbol.for("react.context"),de=Symbol.for("react.forward_ref"),ae=Symbol.for("react.suspense"),Le=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),qe=Symbol.for("react.lazy"),Ae=Symbol.for("react.offscreen"),q=Symbol.iterator;function ne(t){return t===null||typeof t!="object"?null:(t=q&&t[q]||t["@@iterator"],typeof t=="function"?t:null)}var X=Object.assign,I;function B(t){if(I===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);I=r&&r[1]||""}return`
|
|
34
|
+
`+I+t}var ce=!1;function he(t,r){if(!t||ce)return"";ce=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(F){var a=F}Reflect.construct(t,[],r)}else{try{r.call()}catch(F){a=F}t.call(r.prototype)}else{try{throw Error()}catch(F){a=F}t()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var c=F.stack.split(`
|
|
35
|
+
`),f=a.stack.split(`
|
|
36
|
+
`),g=c.length-1,b=f.length-1;1<=g&&0<=b&&c[g]!==f[b];)b--;for(;1<=g&&0<=b;g--,b--)if(c[g]!==f[b]){if(g!==1||b!==1)do if(g--,b--,0>b||c[g]!==f[b]){var A=`
|
|
37
|
+
`+c[g].replace(" at new "," at ");return t.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",t.displayName)),A}while(1<=g&&0<=b);break}}}finally{ce=!1,Error.prepareStackTrace=o}return(t=t?t.displayName||t.name:"")?B(t):""}function ye(t){switch(t.tag){case 5:return B(t.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return t=he(t.type,!1),t;case 11:return t=he(t.type.render,!1),t;case 1:return t=he(t.type,!0),t;default:return""}}function ve(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case U:return"Fragment";case L:return"Portal";case se:return"Profiler";case V:return"StrictMode";case ae:return"Suspense";case Le:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case fe:return(t.displayName||"Context")+".Consumer";case te:return(t._context.displayName||"Context")+".Provider";case de:var r=t.render;return t=t.displayName,t||(t=r.displayName||r.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Ie:return r=t.displayName||null,r!==null?r:ve(t.type)||"Memo";case qe:r=t._payload,t=t._init;try{return ve(t(r))}catch{}}return null}function Re(t){var r=t.type;switch(t.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=r.render,t=t.displayName||t.name||"",r.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ve(r);case 8:return r===V?"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 r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function Ce(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Oe(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function et(t){var r=Oe(t)?"checked":"value",o=Object.getOwnPropertyDescriptor(t.constructor.prototype,r),a=""+t[r];if(!t.hasOwnProperty(r)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,f=o.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return c.call(this)},set:function(g){a=""+g,f.call(this,g)}}),Object.defineProperty(t,r,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(g){a=""+g},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function ni(t){t._valueTracker||(t._valueTracker=et(t))}function ct(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var o=r.getValue(),a="";return t&&(a=Oe(t)?t.checked?"true":"false":t.value),t=a,t!==o?(r.setValue(t),!0):!1}function or(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function pa(t,r){var o=r.checked;return X({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??t._wrapperState.initialChecked})}function bf(t,r){var o=r.defaultValue==null?"":r.defaultValue,a=r.checked!=null?r.checked:r.defaultChecked;o=Ce(r.value!=null?r.value:o),t._wrapperState={initialChecked:a,initialValue:o,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function wf(t,r){r=r.checked,r!=null&&S(t,"checked",r,!1)}function ma(t,r){wf(t,r);var o=Ce(r.value),a=r.type;if(o!=null)a==="number"?(o===0&&t.value===""||t.value!=o)&&(t.value=""+o):t.value!==""+o&&(t.value=""+o);else if(a==="submit"||a==="reset"){t.removeAttribute("value");return}r.hasOwnProperty("value")?ga(t,r.type,o):r.hasOwnProperty("defaultValue")&&ga(t,r.type,Ce(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(t.defaultChecked=!!r.defaultChecked)}function xf(t,r,o){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var a=r.type;if(!(a!=="submit"&&a!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+t._wrapperState.initialValue,o||r===t.value||(t.value=r),t.defaultValue=r}o=t.name,o!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,o!==""&&(t.name=o)}function ga(t,r,o){(r!=="number"||or(t.ownerDocument)!==t)&&(o==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+o&&(t.defaultValue=""+o))}var ii=Array.isArray;function Tn(t,r,o,a){if(t=t.options,r){r={};for(var c=0;c<o.length;c++)r["$"+o[c]]=!0;for(o=0;o<t.length;o++)c=r.hasOwnProperty("$"+t[o].value),t[o].selected!==c&&(t[o].selected=c),c&&a&&(t[o].defaultSelected=!0)}else{for(o=""+Ce(o),r=null,c=0;c<t.length;c++){if(t[c].value===o){t[c].selected=!0,a&&(t[c].defaultSelected=!0);return}r!==null||t[c].disabled||(r=t[c])}r!==null&&(r.selected=!0)}}function ya(t,r){if(r.dangerouslySetInnerHTML!=null)throw Error(i(91));return X({},r,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Tf(t,r){var o=r.value;if(o==null){if(o=r.children,r=r.defaultValue,o!=null){if(r!=null)throw Error(i(92));if(ii(o)){if(1<o.length)throw Error(i(93));o=o[0]}r=o}r==null&&(r=""),o=r}t._wrapperState={initialValue:Ce(o)}}function Cf(t,r){var o=Ce(r.value),a=Ce(r.defaultValue);o!=null&&(o=""+o,o!==t.value&&(t.value=o),r.defaultValue==null&&t.defaultValue!==o&&(t.defaultValue=o)),a!=null&&(t.defaultValue=""+a)}function kf(t){var r=t.textContent;r===t._wrapperState.initialValue&&r!==""&&r!==null&&(t.value=r)}function Rf(t){switch(t){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 va(t,r){return t==null||t==="http://www.w3.org/1999/xhtml"?Rf(r):t==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var io,Of=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,o,a,c){MSApp.execUnsafeLocalFunction(function(){return t(r,o,a,c)})}:t}(function(t,r){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=r;else{for(io=io||document.createElement("div"),io.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=io.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;r.firstChild;)t.appendChild(r.firstChild)}});function oi(t,r){if(r){var o=t.firstChild;if(o&&o===t.lastChild&&o.nodeType===3){o.nodeValue=r;return}}t.textContent=r}var si={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},Jv=["Webkit","ms","Moz","O"];Object.keys(si).forEach(function(t){Jv.forEach(function(r){r=r+t.charAt(0).toUpperCase()+t.substring(1),si[r]=si[t]})});function Nf(t,r,o){return r==null||typeof r=="boolean"||r===""?"":o||typeof r!="number"||r===0||si.hasOwnProperty(t)&&si[t]?(""+r).trim():r+"px"}function Af(t,r){t=t.style;for(var o in r)if(r.hasOwnProperty(o)){var a=o.indexOf("--")===0,c=Nf(o,r[o],a);o==="float"&&(o="cssFloat"),a?t.setProperty(o,c):t[o]=c}}var e0=X({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 _a(t,r){if(r){if(e0[t]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(i(137,t));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(i(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(i(61))}if(r.style!=null&&typeof r.style!="object")throw Error(i(62))}}function Ea(t,r){if(t.indexOf("-")===-1)return typeof r.is=="string";switch(t){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 Sa=null;function ba(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var wa=null,Cn=null,kn=null;function Pf(t){if(t=Ri(t)){if(typeof wa!="function")throw Error(i(280));var r=t.stateNode;r&&(r=Ro(r),wa(t.stateNode,t.type,r))}}function If(t){Cn?kn?kn.push(t):kn=[t]:Cn=t}function Df(){if(Cn){var t=Cn,r=kn;if(kn=Cn=null,Pf(t),r)for(t=0;t<r.length;t++)Pf(r[t])}}function Mf(t,r){return t(r)}function Ff(){}var xa=!1;function Lf(t,r,o){if(xa)return t(r,o);xa=!0;try{return Mf(t,r,o)}finally{xa=!1,(Cn!==null||kn!==null)&&(Ff(),Df())}}function ai(t,r){var o=t.stateNode;if(o===null)return null;var a=Ro(o);if(a===null)return null;o=a[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break e;default:t=!1}if(t)return null;if(o&&typeof o!="function")throw Error(i(231,r,typeof o));return o}var Ta=!1;if(h)try{var li={};Object.defineProperty(li,"passive",{get:function(){Ta=!0}}),window.addEventListener("test",li,li),window.removeEventListener("test",li,li)}catch{Ta=!1}function t0(t,r,o,a,c,f,g,b,A){var F=Array.prototype.slice.call(arguments,3);try{r.apply(o,F)}catch(z){this.onError(z)}}var ui=!1,oo=null,so=!1,Ca=null,r0={onError:function(t){ui=!0,oo=t}};function n0(t,r,o,a,c,f,g,b,A){ui=!1,oo=null,t0.apply(r0,arguments)}function i0(t,r,o,a,c,f,g,b,A){if(n0.apply(this,arguments),ui){if(ui){var F=oo;ui=!1,oo=null}else throw Error(i(198));so||(so=!0,Ca=F)}}function en(t){var r=t,o=t;if(t.alternate)for(;r.return;)r=r.return;else{t=r;do r=t,r.flags&4098&&(o=r.return),t=r.return;while(t)}return r.tag===3?o:null}function Bf(t){if(t.tag===13){var r=t.memoizedState;if(r===null&&(t=t.alternate,t!==null&&(r=t.memoizedState)),r!==null)return r.dehydrated}return null}function jf(t){if(en(t)!==t)throw Error(i(188))}function o0(t){var r=t.alternate;if(!r){if(r=en(t),r===null)throw Error(i(188));return r!==t?null:t}for(var o=t,a=r;;){var c=o.return;if(c===null)break;var f=c.alternate;if(f===null){if(a=c.return,a!==null){o=a;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===o)return jf(c),t;if(f===a)return jf(c),r;f=f.sibling}throw Error(i(188))}if(o.return!==a.return)o=c,a=f;else{for(var g=!1,b=c.child;b;){if(b===o){g=!0,o=c,a=f;break}if(b===a){g=!0,a=c,o=f;break}b=b.sibling}if(!g){for(b=f.child;b;){if(b===o){g=!0,o=f,a=c;break}if(b===a){g=!0,a=f,o=c;break}b=b.sibling}if(!g)throw Error(i(189))}}if(o.alternate!==a)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?t:r}function zf(t){return t=o0(t),t!==null?Uf(t):null}function Uf(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var r=Uf(t);if(r!==null)return r;t=t.sibling}return null}var Hf=n.unstable_scheduleCallback,Gf=n.unstable_cancelCallback,s0=n.unstable_shouldYield,a0=n.unstable_requestPaint,Ge=n.unstable_now,l0=n.unstable_getCurrentPriorityLevel,ka=n.unstable_ImmediatePriority,$f=n.unstable_UserBlockingPriority,ao=n.unstable_NormalPriority,u0=n.unstable_LowPriority,qf=n.unstable_IdlePriority,lo=null,sr=null;function c0(t){if(sr&&typeof sr.onCommitFiberRoot=="function")try{sr.onCommitFiberRoot(lo,t,void 0,(t.current.flags&128)===128)}catch{}}var Vt=Math.clz32?Math.clz32:h0,f0=Math.log,d0=Math.LN2;function h0(t){return t>>>=0,t===0?32:31-(f0(t)/d0|0)|0}var uo=64,co=4194304;function ci(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function fo(t,r){var o=t.pendingLanes;if(o===0)return 0;var a=0,c=t.suspendedLanes,f=t.pingedLanes,g=o&268435455;if(g!==0){var b=g&~c;b!==0?a=ci(b):(f&=g,f!==0&&(a=ci(f)))}else g=o&~c,g!==0?a=ci(g):f!==0&&(a=ci(f));if(a===0)return 0;if(r!==0&&r!==a&&!(r&c)&&(c=a&-a,f=r&-r,c>=f||c===16&&(f&4194240)!==0))return r;if(a&4&&(a|=o&16),r=t.entangledLanes,r!==0)for(t=t.entanglements,r&=a;0<r;)o=31-Vt(r),c=1<<o,a|=t[o],r&=~c;return a}function p0(t,r){switch(t){case 1:case 2:case 4:return r+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 r+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 m0(t,r){for(var o=t.suspendedLanes,a=t.pingedLanes,c=t.expirationTimes,f=t.pendingLanes;0<f;){var g=31-Vt(f),b=1<<g,A=c[g];A===-1?(!(b&o)||b&a)&&(c[g]=p0(b,r)):A<=r&&(t.expiredLanes|=b),f&=~b}}function Ra(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function Vf(){var t=uo;return uo<<=1,!(uo&4194240)&&(uo=64),t}function Oa(t){for(var r=[],o=0;31>o;o++)r.push(t);return r}function fi(t,r,o){t.pendingLanes|=r,r!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,r=31-Vt(r),t[r]=o}function g0(t,r){var o=t.pendingLanes&~r;t.pendingLanes=r,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=r,t.mutableReadLanes&=r,t.entangledLanes&=r,r=t.entanglements;var a=t.eventTimes;for(t=t.expirationTimes;0<o;){var c=31-Vt(o),f=1<<c;r[c]=0,a[c]=-1,t[c]=-1,o&=~f}}function Na(t,r){var o=t.entangledLanes|=r;for(t=t.entanglements;o;){var a=31-Vt(o),c=1<<a;c&r|t[a]&r&&(t[a]|=r),o&=~c}}var Ne=0;function Wf(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var Xf,Aa,Qf,Kf,Yf,Pa=!1,ho=[],Or=null,Nr=null,Ar=null,di=new Map,hi=new Map,Pr=[],y0="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 Zf(t,r){switch(t){case"focusin":case"focusout":Or=null;break;case"dragenter":case"dragleave":Nr=null;break;case"mouseover":case"mouseout":Ar=null;break;case"pointerover":case"pointerout":di.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":hi.delete(r.pointerId)}}function pi(t,r,o,a,c,f){return t===null||t.nativeEvent!==f?(t={blockedOn:r,domEventName:o,eventSystemFlags:a,nativeEvent:f,targetContainers:[c]},r!==null&&(r=Ri(r),r!==null&&Aa(r)),t):(t.eventSystemFlags|=a,r=t.targetContainers,c!==null&&r.indexOf(c)===-1&&r.push(c),t)}function v0(t,r,o,a,c){switch(r){case"focusin":return Or=pi(Or,t,r,o,a,c),!0;case"dragenter":return Nr=pi(Nr,t,r,o,a,c),!0;case"mouseover":return Ar=pi(Ar,t,r,o,a,c),!0;case"pointerover":var f=c.pointerId;return di.set(f,pi(di.get(f)||null,t,r,o,a,c)),!0;case"gotpointercapture":return f=c.pointerId,hi.set(f,pi(hi.get(f)||null,t,r,o,a,c)),!0}return!1}function Jf(t){var r=tn(t.target);if(r!==null){var o=en(r);if(o!==null){if(r=o.tag,r===13){if(r=Bf(o),r!==null){t.blockedOn=r,Yf(t.priority,function(){Qf(o)});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){t.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}t.blockedOn=null}function po(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var o=Da(t.domEventName,t.eventSystemFlags,r[0],t.nativeEvent);if(o===null){o=t.nativeEvent;var a=new o.constructor(o.type,o);Sa=a,o.target.dispatchEvent(a),Sa=null}else return r=Ri(o),r!==null&&Aa(r),t.blockedOn=o,!1;r.shift()}return!0}function ed(t,r,o){po(t)&&o.delete(r)}function _0(){Pa=!1,Or!==null&&po(Or)&&(Or=null),Nr!==null&&po(Nr)&&(Nr=null),Ar!==null&&po(Ar)&&(Ar=null),di.forEach(ed),hi.forEach(ed)}function mi(t,r){t.blockedOn===r&&(t.blockedOn=null,Pa||(Pa=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,_0)))}function gi(t){function r(c){return mi(c,t)}if(0<ho.length){mi(ho[0],t);for(var o=1;o<ho.length;o++){var a=ho[o];a.blockedOn===t&&(a.blockedOn=null)}}for(Or!==null&&mi(Or,t),Nr!==null&&mi(Nr,t),Ar!==null&&mi(Ar,t),di.forEach(r),hi.forEach(r),o=0;o<Pr.length;o++)a=Pr[o],a.blockedOn===t&&(a.blockedOn=null);for(;0<Pr.length&&(o=Pr[0],o.blockedOn===null);)Jf(o),o.blockedOn===null&&Pr.shift()}var Rn=C.ReactCurrentBatchConfig,mo=!0;function E0(t,r,o,a){var c=Ne,f=Rn.transition;Rn.transition=null;try{Ne=1,Ia(t,r,o,a)}finally{Ne=c,Rn.transition=f}}function S0(t,r,o,a){var c=Ne,f=Rn.transition;Rn.transition=null;try{Ne=4,Ia(t,r,o,a)}finally{Ne=c,Rn.transition=f}}function Ia(t,r,o,a){if(mo){var c=Da(t,r,o,a);if(c===null)Ya(t,r,a,go,o),Zf(t,a);else if(v0(c,t,r,o,a))a.stopPropagation();else if(Zf(t,a),r&4&&-1<y0.indexOf(t)){for(;c!==null;){var f=Ri(c);if(f!==null&&Xf(f),f=Da(t,r,o,a),f===null&&Ya(t,r,a,go,o),f===c)break;c=f}c!==null&&a.stopPropagation()}else Ya(t,r,a,null,o)}}var go=null;function Da(t,r,o,a){if(go=null,t=ba(a),t=tn(t),t!==null)if(r=en(t),r===null)t=null;else if(o=r.tag,o===13){if(t=Bf(r),t!==null)return t;t=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;t=null}else r!==t&&(t=null);return go=t,null}function td(t){switch(t){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(l0()){case ka:return 1;case $f:return 4;case ao:case u0:return 16;case qf:return 536870912;default:return 16}default:return 16}}var Ir=null,Ma=null,yo=null;function rd(){if(yo)return yo;var t,r=Ma,o=r.length,a,c="value"in Ir?Ir.value:Ir.textContent,f=c.length;for(t=0;t<o&&r[t]===c[t];t++);var g=o-t;for(a=1;a<=g&&r[o-a]===c[f-a];a++);return yo=c.slice(t,1<a?1-a:void 0)}function vo(t){var r=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&r===13&&(t=13)):t=r,t===10&&(t=13),32<=t||t===13?t:0}function _o(){return!0}function nd(){return!1}function Ct(t){function r(o,a,c,f,g){this._reactName=o,this._targetInst=c,this.type=a,this.nativeEvent=f,this.target=g,this.currentTarget=null;for(var b in t)t.hasOwnProperty(b)&&(o=t[b],this[b]=o?o(f):f[b]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?_o:nd,this.isPropagationStopped=nd,this}return X(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=_o)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=_o)},persist:function(){},isPersistent:_o}),r}var On={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fa=Ct(On),yi=X({},On,{view:0,detail:0}),b0=Ct(yi),La,Ba,vi,Eo=X({},yi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:za,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==vi&&(vi&&t.type==="mousemove"?(La=t.screenX-vi.screenX,Ba=t.screenY-vi.screenY):Ba=La=0,vi=t),La)},movementY:function(t){return"movementY"in t?t.movementY:Ba}}),id=Ct(Eo),w0=X({},Eo,{dataTransfer:0}),x0=Ct(w0),T0=X({},yi,{relatedTarget:0}),ja=Ct(T0),C0=X({},On,{animationName:0,elapsedTime:0,pseudoElement:0}),k0=Ct(C0),R0=X({},On,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),O0=Ct(R0),N0=X({},On,{data:0}),od=Ct(N0),A0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},P0={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"},I0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function D0(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=I0[t])?!!r[t]:!1}function za(){return D0}var M0=X({},yi,{key:function(t){if(t.key){var r=A0[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=vo(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?P0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:za,charCode:function(t){return t.type==="keypress"?vo(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?vo(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),F0=Ct(M0),L0=X({},Eo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sd=Ct(L0),B0=X({},yi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:za}),j0=Ct(B0),z0=X({},On,{propertyName:0,elapsedTime:0,pseudoElement:0}),U0=Ct(z0),H0=X({},Eo,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),G0=Ct(H0),$0=[9,13,27,32],Ua=h&&"CompositionEvent"in window,_i=null;h&&"documentMode"in document&&(_i=document.documentMode);var q0=h&&"TextEvent"in window&&!_i,ad=h&&(!Ua||_i&&8<_i&&11>=_i),ld=" ",ud=!1;function cd(t,r){switch(t){case"keyup":return $0.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fd(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Nn=!1;function V0(t,r){switch(t){case"compositionend":return fd(r);case"keypress":return r.which!==32?null:(ud=!0,ld);case"textInput":return t=r.data,t===ld&&ud?null:t;default:return null}}function W0(t,r){if(Nn)return t==="compositionend"||!Ua&&cd(t,r)?(t=rd(),yo=Ma=Ir=null,Nn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return ad&&r.locale!=="ko"?null:r.data;default:return null}}var X0={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 dd(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!X0[t.type]:r==="textarea"}function hd(t,r,o,a){If(a),r=To(r,"onChange"),0<r.length&&(o=new Fa("onChange","change",null,o,a),t.push({event:o,listeners:r}))}var Ei=null,Si=null;function Q0(t){Ad(t,0)}function So(t){var r=Mn(t);if(ct(r))return t}function K0(t,r){if(t==="change")return r}var pd=!1;if(h){var Ha;if(h){var Ga="oninput"in document;if(!Ga){var md=document.createElement("div");md.setAttribute("oninput","return;"),Ga=typeof md.oninput=="function"}Ha=Ga}else Ha=!1;pd=Ha&&(!document.documentMode||9<document.documentMode)}function gd(){Ei&&(Ei.detachEvent("onpropertychange",yd),Si=Ei=null)}function yd(t){if(t.propertyName==="value"&&So(Si)){var r=[];hd(r,Si,t,ba(t)),Lf(Q0,r)}}function Y0(t,r,o){t==="focusin"?(gd(),Ei=r,Si=o,Ei.attachEvent("onpropertychange",yd)):t==="focusout"&&gd()}function Z0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return So(Si)}function J0(t,r){if(t==="click")return So(r)}function e_(t,r){if(t==="input"||t==="change")return So(r)}function t_(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var Wt=typeof Object.is=="function"?Object.is:t_;function bi(t,r){if(Wt(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var o=Object.keys(t),a=Object.keys(r);if(o.length!==a.length)return!1;for(a=0;a<o.length;a++){var c=o[a];if(!p.call(r,c)||!Wt(t[c],r[c]))return!1}return!0}function vd(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function _d(t,r){var o=vd(t);t=0;for(var a;o;){if(o.nodeType===3){if(a=t+o.textContent.length,t<=r&&a>=r)return{node:o,offset:r-t};t=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=vd(o)}}function Ed(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?Ed(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function Sd(){for(var t=window,r=or();r instanceof t.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)t=r.contentWindow;else break;r=or(t.document)}return r}function $a(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&(r==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||r==="textarea"||t.contentEditable==="true")}function r_(t){var r=Sd(),o=t.focusedElem,a=t.selectionRange;if(r!==o&&o&&o.ownerDocument&&Ed(o.ownerDocument.documentElement,o)){if(a!==null&&$a(o)){if(r=a.start,t=a.end,t===void 0&&(t=r),"selectionStart"in o)o.selectionStart=r,o.selectionEnd=Math.min(t,o.value.length);else if(t=(r=o.ownerDocument||document)&&r.defaultView||window,t.getSelection){t=t.getSelection();var c=o.textContent.length,f=Math.min(a.start,c);a=a.end===void 0?f:Math.min(a.end,c),!t.extend&&f>a&&(c=a,a=f,f=c),c=_d(o,f);var g=_d(o,a);c&&g&&(t.rangeCount!==1||t.anchorNode!==c.node||t.anchorOffset!==c.offset||t.focusNode!==g.node||t.focusOffset!==g.offset)&&(r=r.createRange(),r.setStart(c.node,c.offset),t.removeAllRanges(),f>a?(t.addRange(r),t.extend(g.node,g.offset)):(r.setEnd(g.node,g.offset),t.addRange(r)))}}for(r=[],t=o;t=t.parentNode;)t.nodeType===1&&r.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<r.length;o++)t=r[o],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var n_=h&&"documentMode"in document&&11>=document.documentMode,An=null,qa=null,wi=null,Va=!1;function bd(t,r,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Va||An==null||An!==or(a)||(a=An,"selectionStart"in a&&$a(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),wi&&bi(wi,a)||(wi=a,a=To(qa,"onSelect"),0<a.length&&(r=new Fa("onSelect","select",null,r,o),t.push({event:r,listeners:a}),r.target=An)))}function bo(t,r){var o={};return o[t.toLowerCase()]=r.toLowerCase(),o["Webkit"+t]="webkit"+r,o["Moz"+t]="moz"+r,o}var Pn={animationend:bo("Animation","AnimationEnd"),animationiteration:bo("Animation","AnimationIteration"),animationstart:bo("Animation","AnimationStart"),transitionend:bo("Transition","TransitionEnd")},Wa={},wd={};h&&(wd=document.createElement("div").style,"AnimationEvent"in window||(delete Pn.animationend.animation,delete Pn.animationiteration.animation,delete Pn.animationstart.animation),"TransitionEvent"in window||delete Pn.transitionend.transition);function wo(t){if(Wa[t])return Wa[t];if(!Pn[t])return t;var r=Pn[t],o;for(o in r)if(r.hasOwnProperty(o)&&o in wd)return Wa[t]=r[o];return t}var xd=wo("animationend"),Td=wo("animationiteration"),Cd=wo("animationstart"),kd=wo("transitionend"),Rd=new Map,Od="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 Dr(t,r){Rd.set(t,r),u(r,[t])}for(var Xa=0;Xa<Od.length;Xa++){var Qa=Od[Xa],i_=Qa.toLowerCase(),o_=Qa[0].toUpperCase()+Qa.slice(1);Dr(i_,"on"+o_)}Dr(xd,"onAnimationEnd"),Dr(Td,"onAnimationIteration"),Dr(Cd,"onAnimationStart"),Dr("dblclick","onDoubleClick"),Dr("focusin","onFocus"),Dr("focusout","onBlur"),Dr(kd,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xi="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(" "),s_=new Set("cancel close invalid load scroll toggle".split(" ").concat(xi));function Nd(t,r,o){var a=t.type||"unknown-event";t.currentTarget=o,i0(a,r,void 0,t),t.currentTarget=null}function Ad(t,r){r=(r&4)!==0;for(var o=0;o<t.length;o++){var a=t[o],c=a.event;a=a.listeners;e:{var f=void 0;if(r)for(var g=a.length-1;0<=g;g--){var b=a[g],A=b.instance,F=b.currentTarget;if(b=b.listener,A!==f&&c.isPropagationStopped())break e;Nd(c,b,F),f=A}else for(g=0;g<a.length;g++){if(b=a[g],A=b.instance,F=b.currentTarget,b=b.listener,A!==f&&c.isPropagationStopped())break e;Nd(c,b,F),f=A}}}if(so)throw t=Ca,so=!1,Ca=null,t}function De(t,r){var o=r[nl];o===void 0&&(o=r[nl]=new Set);var a=t+"__bubble";o.has(a)||(Pd(r,t,2,!1),o.add(a))}function Ka(t,r,o){var a=0;r&&(a|=4),Pd(o,t,a,r)}var xo="_reactListening"+Math.random().toString(36).slice(2);function Ti(t){if(!t[xo]){t[xo]=!0,s.forEach(function(o){o!=="selectionchange"&&(s_.has(o)||Ka(o,!1,t),Ka(o,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[xo]||(r[xo]=!0,Ka("selectionchange",!1,r))}}function Pd(t,r,o,a){switch(td(r)){case 1:var c=E0;break;case 4:c=S0;break;default:c=Ia}o=c.bind(null,r,o,t),c=void 0,!Ta||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(c=!0),a?c!==void 0?t.addEventListener(r,o,{capture:!0,passive:c}):t.addEventListener(r,o,!0):c!==void 0?t.addEventListener(r,o,{passive:c}):t.addEventListener(r,o,!1)}function Ya(t,r,o,a,c){var f=a;if(!(r&1)&&!(r&2)&&a!==null)e:for(;;){if(a===null)return;var g=a.tag;if(g===3||g===4){var b=a.stateNode.containerInfo;if(b===c||b.nodeType===8&&b.parentNode===c)break;if(g===4)for(g=a.return;g!==null;){var A=g.tag;if((A===3||A===4)&&(A=g.stateNode.containerInfo,A===c||A.nodeType===8&&A.parentNode===c))return;g=g.return}for(;b!==null;){if(g=tn(b),g===null)return;if(A=g.tag,A===5||A===6){a=f=g;continue e}b=b.parentNode}}a=a.return}Lf(function(){var F=f,z=ba(o),H=[];e:{var j=Rd.get(t);if(j!==void 0){var W=Fa,Y=t;switch(t){case"keypress":if(vo(o)===0)break e;case"keydown":case"keyup":W=F0;break;case"focusin":Y="focus",W=ja;break;case"focusout":Y="blur",W=ja;break;case"beforeblur":case"afterblur":W=ja;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":W=id;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":W=x0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":W=j0;break;case xd:case Td:case Cd:W=k0;break;case kd:W=U0;break;case"scroll":W=b0;break;case"wheel":W=G0;break;case"copy":case"cut":case"paste":W=O0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":W=sd}var Z=(r&4)!==0,$e=!Z&&t==="scroll",D=Z?j!==null?j+"Capture":null:j;Z=[];for(var P=F,M;P!==null;){M=P;var G=M.stateNode;if(M.tag===5&&G!==null&&(M=G,D!==null&&(G=ai(P,D),G!=null&&Z.push(Ci(P,G,M)))),$e)break;P=P.return}0<Z.length&&(j=new W(j,Y,null,o,z),H.push({event:j,listeners:Z}))}}if(!(r&7)){e:{if(j=t==="mouseover"||t==="pointerover",W=t==="mouseout"||t==="pointerout",j&&o!==Sa&&(Y=o.relatedTarget||o.fromElement)&&(tn(Y)||Y[pr]))break e;if((W||j)&&(j=z.window===z?z:(j=z.ownerDocument)?j.defaultView||j.parentWindow:window,W?(Y=o.relatedTarget||o.toElement,W=F,Y=Y?tn(Y):null,Y!==null&&($e=en(Y),Y!==$e||Y.tag!==5&&Y.tag!==6)&&(Y=null)):(W=null,Y=F),W!==Y)){if(Z=id,G="onMouseLeave",D="onMouseEnter",P="mouse",(t==="pointerout"||t==="pointerover")&&(Z=sd,G="onPointerLeave",D="onPointerEnter",P="pointer"),$e=W==null?j:Mn(W),M=Y==null?j:Mn(Y),j=new Z(G,P+"leave",W,o,z),j.target=$e,j.relatedTarget=M,G=null,tn(z)===F&&(Z=new Z(D,P+"enter",Y,o,z),Z.target=M,Z.relatedTarget=$e,G=Z),$e=G,W&&Y)t:{for(Z=W,D=Y,P=0,M=Z;M;M=In(M))P++;for(M=0,G=D;G;G=In(G))M++;for(;0<P-M;)Z=In(Z),P--;for(;0<M-P;)D=In(D),M--;for(;P--;){if(Z===D||D!==null&&Z===D.alternate)break t;Z=In(Z),D=In(D)}Z=null}else Z=null;W!==null&&Id(H,j,W,Z,!1),Y!==null&&$e!==null&&Id(H,$e,Y,Z,!0)}}e:{if(j=F?Mn(F):window,W=j.nodeName&&j.nodeName.toLowerCase(),W==="select"||W==="input"&&j.type==="file")var ee=K0;else if(dd(j))if(pd)ee=e_;else{ee=Z0;var ie=Y0}else(W=j.nodeName)&&W.toLowerCase()==="input"&&(j.type==="checkbox"||j.type==="radio")&&(ee=J0);if(ee&&(ee=ee(t,F))){hd(H,ee,o,z);break e}ie&&ie(t,j,F),t==="focusout"&&(ie=j._wrapperState)&&ie.controlled&&j.type==="number"&&ga(j,"number",j.value)}switch(ie=F?Mn(F):window,t){case"focusin":(dd(ie)||ie.contentEditable==="true")&&(An=ie,qa=F,wi=null);break;case"focusout":wi=qa=An=null;break;case"mousedown":Va=!0;break;case"contextmenu":case"mouseup":case"dragend":Va=!1,bd(H,o,z);break;case"selectionchange":if(n_)break;case"keydown":case"keyup":bd(H,o,z)}var oe;if(Ua)e:{switch(t){case"compositionstart":var le="onCompositionStart";break e;case"compositionend":le="onCompositionEnd";break e;case"compositionupdate":le="onCompositionUpdate";break e}le=void 0}else Nn?cd(t,o)&&(le="onCompositionEnd"):t==="keydown"&&o.keyCode===229&&(le="onCompositionStart");le&&(ad&&o.locale!=="ko"&&(Nn||le!=="onCompositionStart"?le==="onCompositionEnd"&&Nn&&(oe=rd()):(Ir=z,Ma="value"in Ir?Ir.value:Ir.textContent,Nn=!0)),ie=To(F,le),0<ie.length&&(le=new od(le,t,null,o,z),H.push({event:le,listeners:ie}),oe?le.data=oe:(oe=fd(o),oe!==null&&(le.data=oe)))),(oe=q0?V0(t,o):W0(t,o))&&(F=To(F,"onBeforeInput"),0<F.length&&(z=new od("onBeforeInput","beforeinput",null,o,z),H.push({event:z,listeners:F}),z.data=oe))}Ad(H,r)})}function Ci(t,r,o){return{instance:t,listener:r,currentTarget:o}}function To(t,r){for(var o=r+"Capture",a=[];t!==null;){var c=t,f=c.stateNode;c.tag===5&&f!==null&&(c=f,f=ai(t,o),f!=null&&a.unshift(Ci(t,f,c)),f=ai(t,r),f!=null&&a.push(Ci(t,f,c))),t=t.return}return a}function In(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Id(t,r,o,a,c){for(var f=r._reactName,g=[];o!==null&&o!==a;){var b=o,A=b.alternate,F=b.stateNode;if(A!==null&&A===a)break;b.tag===5&&F!==null&&(b=F,c?(A=ai(o,f),A!=null&&g.unshift(Ci(o,A,b))):c||(A=ai(o,f),A!=null&&g.push(Ci(o,A,b)))),o=o.return}g.length!==0&&t.push({event:r,listeners:g})}var a_=/\r\n?/g,l_=/\u0000|\uFFFD/g;function Dd(t){return(typeof t=="string"?t:""+t).replace(a_,`
|
|
38
|
+
`).replace(l_,"")}function Co(t,r,o){if(r=Dd(r),Dd(t)!==r&&o)throw Error(i(425))}function ko(){}var Za=null,Ja=null;function el(t,r){return t==="textarea"||t==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var tl=typeof setTimeout=="function"?setTimeout:void 0,u_=typeof clearTimeout=="function"?clearTimeout:void 0,Md=typeof Promise=="function"?Promise:void 0,c_=typeof queueMicrotask=="function"?queueMicrotask:typeof Md<"u"?function(t){return Md.resolve(null).then(t).catch(f_)}:tl;function f_(t){setTimeout(function(){throw t})}function rl(t,r){var o=r,a=0;do{var c=o.nextSibling;if(t.removeChild(o),c&&c.nodeType===8)if(o=c.data,o==="/$"){if(a===0){t.removeChild(c),gi(r);return}a--}else o!=="$"&&o!=="$?"&&o!=="$!"||a++;o=c}while(o);gi(r)}function Mr(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===1||r===3)break;if(r===8){if(r=t.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return t}function Fd(t){t=t.previousSibling;for(var r=0;t;){if(t.nodeType===8){var o=t.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return t;r--}else o==="/$"&&r++}t=t.previousSibling}return null}var Dn=Math.random().toString(36).slice(2),ar="__reactFiber$"+Dn,ki="__reactProps$"+Dn,pr="__reactContainer$"+Dn,nl="__reactEvents$"+Dn,d_="__reactListeners$"+Dn,h_="__reactHandles$"+Dn;function tn(t){var r=t[ar];if(r)return r;for(var o=t.parentNode;o;){if(r=o[pr]||o[ar]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(t=Fd(t);t!==null;){if(o=t[ar])return o;t=Fd(t)}return r}t=o,o=t.parentNode}return null}function Ri(t){return t=t[ar]||t[pr],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function Mn(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(i(33))}function Ro(t){return t[ki]||null}var il=[],Fn=-1;function Fr(t){return{current:t}}function Me(t){0>Fn||(t.current=il[Fn],il[Fn]=null,Fn--)}function Pe(t,r){Fn++,il[Fn]=t.current,t.current=r}var Lr={},st=Fr(Lr),_t=Fr(!1),rn=Lr;function Ln(t,r){var o=t.type.contextTypes;if(!o)return Lr;var a=t.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===r)return a.__reactInternalMemoizedMaskedChildContext;var c={},f;for(f in o)c[f]=r[f];return a&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=c),c}function Et(t){return t=t.childContextTypes,t!=null}function Oo(){Me(_t),Me(st)}function Ld(t,r,o){if(st.current!==Lr)throw Error(i(168));Pe(st,r),Pe(_t,o)}function Bd(t,r,o){var a=t.stateNode;if(r=r.childContextTypes,typeof a.getChildContext!="function")return o;a=a.getChildContext();for(var c in a)if(!(c in r))throw Error(i(108,Re(t)||"Unknown",c));return X({},o,a)}function No(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Lr,rn=st.current,Pe(st,t),Pe(_t,_t.current),!0}function jd(t,r,o){var a=t.stateNode;if(!a)throw Error(i(169));o?(t=Bd(t,r,rn),a.__reactInternalMemoizedMergedChildContext=t,Me(_t),Me(st),Pe(st,t)):Me(_t),Pe(_t,o)}var mr=null,Ao=!1,ol=!1;function zd(t){mr===null?mr=[t]:mr.push(t)}function p_(t){Ao=!0,zd(t)}function Br(){if(!ol&&mr!==null){ol=!0;var t=0,r=Ne;try{var o=mr;for(Ne=1;t<o.length;t++){var a=o[t];do a=a(!0);while(a!==null)}mr=null,Ao=!1}catch(c){throw mr!==null&&(mr=mr.slice(t+1)),Hf(ka,Br),c}finally{Ne=r,ol=!1}}return null}var Bn=[],jn=0,Po=null,Io=0,Ft=[],Lt=0,nn=null,gr=1,yr="";function on(t,r){Bn[jn++]=Io,Bn[jn++]=Po,Po=t,Io=r}function Ud(t,r,o){Ft[Lt++]=gr,Ft[Lt++]=yr,Ft[Lt++]=nn,nn=t;var a=gr;t=yr;var c=32-Vt(a)-1;a&=~(1<<c),o+=1;var f=32-Vt(r)+c;if(30<f){var g=c-c%5;f=(a&(1<<g)-1).toString(32),a>>=g,c-=g,gr=1<<32-Vt(r)+c|o<<c|a,yr=f+t}else gr=1<<f|o<<c|a,yr=t}function sl(t){t.return!==null&&(on(t,1),Ud(t,1,0))}function al(t){for(;t===Po;)Po=Bn[--jn],Bn[jn]=null,Io=Bn[--jn],Bn[jn]=null;for(;t===nn;)nn=Ft[--Lt],Ft[Lt]=null,yr=Ft[--Lt],Ft[Lt]=null,gr=Ft[--Lt],Ft[Lt]=null}var kt=null,Rt=null,Be=!1,Xt=null;function Hd(t,r){var o=Ut(5,null,null,0);o.elementType="DELETED",o.stateNode=r,o.return=t,r=t.deletions,r===null?(t.deletions=[o],t.flags|=16):r.push(o)}function Gd(t,r){switch(t.tag){case 5:var o=t.type;return r=r.nodeType!==1||o.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(t.stateNode=r,kt=t,Rt=Mr(r.firstChild),!0):!1;case 6:return r=t.pendingProps===""||r.nodeType!==3?null:r,r!==null?(t.stateNode=r,kt=t,Rt=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(o=nn!==null?{id:gr,overflow:yr}:null,t.memoizedState={dehydrated:r,treeContext:o,retryLane:1073741824},o=Ut(18,null,null,0),o.stateNode=r,o.return=t,t.child=o,kt=t,Rt=null,!0):!1;default:return!1}}function ll(t){return(t.mode&1)!==0&&(t.flags&128)===0}function ul(t){if(Be){var r=Rt;if(r){var o=r;if(!Gd(t,r)){if(ll(t))throw Error(i(418));r=Mr(o.nextSibling);var a=kt;r&&Gd(t,r)?Hd(a,o):(t.flags=t.flags&-4097|2,Be=!1,kt=t)}}else{if(ll(t))throw Error(i(418));t.flags=t.flags&-4097|2,Be=!1,kt=t}}}function $d(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;kt=t}function Do(t){if(t!==kt)return!1;if(!Be)return $d(t),Be=!0,!1;var r;if((r=t.tag!==3)&&!(r=t.tag!==5)&&(r=t.type,r=r!=="head"&&r!=="body"&&!el(t.type,t.memoizedProps)),r&&(r=Rt)){if(ll(t))throw qd(),Error(i(418));for(;r;)Hd(t,r),r=Mr(r.nextSibling)}if($d(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));e:{for(t=t.nextSibling,r=0;t;){if(t.nodeType===8){var o=t.data;if(o==="/$"){if(r===0){Rt=Mr(t.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++}t=t.nextSibling}Rt=null}}else Rt=kt?Mr(t.stateNode.nextSibling):null;return!0}function qd(){for(var t=Rt;t;)t=Mr(t.nextSibling)}function zn(){Rt=kt=null,Be=!1}function cl(t){Xt===null?Xt=[t]:Xt.push(t)}var m_=C.ReactCurrentBatchConfig;function Oi(t,r,o){if(t=o.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var a=o.stateNode}if(!a)throw Error(i(147,t));var c=a,f=""+t;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===f?r.ref:(r=function(g){var b=c.refs;g===null?delete b[f]:b[f]=g},r._stringRef=f,r)}if(typeof t!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,t))}return t}function Mo(t,r){throw t=Object.prototype.toString.call(r),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t))}function Vd(t){var r=t._init;return r(t._payload)}function Wd(t){function r(D,P){if(t){var M=D.deletions;M===null?(D.deletions=[P],D.flags|=16):M.push(P)}}function o(D,P){if(!t)return null;for(;P!==null;)r(D,P),P=P.sibling;return null}function a(D,P){for(D=new Map;P!==null;)P.key!==null?D.set(P.key,P):D.set(P.index,P),P=P.sibling;return D}function c(D,P){return D=Vr(D,P),D.index=0,D.sibling=null,D}function f(D,P,M){return D.index=M,t?(M=D.alternate,M!==null?(M=M.index,M<P?(D.flags|=2,P):M):(D.flags|=2,P)):(D.flags|=1048576,P)}function g(D){return t&&D.alternate===null&&(D.flags|=2),D}function b(D,P,M,G){return P===null||P.tag!==6?(P=tu(M,D.mode,G),P.return=D,P):(P=c(P,M),P.return=D,P)}function A(D,P,M,G){var ee=M.type;return ee===U?z(D,P,M.props.children,G,M.key):P!==null&&(P.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===qe&&Vd(ee)===P.type)?(G=c(P,M.props),G.ref=Oi(D,P,M),G.return=D,G):(G=os(M.type,M.key,M.props,null,D.mode,G),G.ref=Oi(D,P,M),G.return=D,G)}function F(D,P,M,G){return P===null||P.tag!==4||P.stateNode.containerInfo!==M.containerInfo||P.stateNode.implementation!==M.implementation?(P=ru(M,D.mode,G),P.return=D,P):(P=c(P,M.children||[]),P.return=D,P)}function z(D,P,M,G,ee){return P===null||P.tag!==7?(P=hn(M,D.mode,G,ee),P.return=D,P):(P=c(P,M),P.return=D,P)}function H(D,P,M){if(typeof P=="string"&&P!==""||typeof P=="number")return P=tu(""+P,D.mode,M),P.return=D,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case k:return M=os(P.type,P.key,P.props,null,D.mode,M),M.ref=Oi(D,null,P),M.return=D,M;case L:return P=ru(P,D.mode,M),P.return=D,P;case qe:var G=P._init;return H(D,G(P._payload),M)}if(ii(P)||ne(P))return P=hn(P,D.mode,M,null),P.return=D,P;Mo(D,P)}return null}function j(D,P,M,G){var ee=P!==null?P.key:null;if(typeof M=="string"&&M!==""||typeof M=="number")return ee!==null?null:b(D,P,""+M,G);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case k:return M.key===ee?A(D,P,M,G):null;case L:return M.key===ee?F(D,P,M,G):null;case qe:return ee=M._init,j(D,P,ee(M._payload),G)}if(ii(M)||ne(M))return ee!==null?null:z(D,P,M,G,null);Mo(D,M)}return null}function W(D,P,M,G,ee){if(typeof G=="string"&&G!==""||typeof G=="number")return D=D.get(M)||null,b(P,D,""+G,ee);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case k:return D=D.get(G.key===null?M:G.key)||null,A(P,D,G,ee);case L:return D=D.get(G.key===null?M:G.key)||null,F(P,D,G,ee);case qe:var ie=G._init;return W(D,P,M,ie(G._payload),ee)}if(ii(G)||ne(G))return D=D.get(M)||null,z(P,D,G,ee,null);Mo(P,G)}return null}function Y(D,P,M,G){for(var ee=null,ie=null,oe=P,le=P=0,Je=null;oe!==null&&le<M.length;le++){oe.index>le?(Je=oe,oe=null):Je=oe.sibling;var Te=j(D,oe,M[le],G);if(Te===null){oe===null&&(oe=Je);break}t&&oe&&Te.alternate===null&&r(D,oe),P=f(Te,P,le),ie===null?ee=Te:ie.sibling=Te,ie=Te,oe=Je}if(le===M.length)return o(D,oe),Be&&on(D,le),ee;if(oe===null){for(;le<M.length;le++)oe=H(D,M[le],G),oe!==null&&(P=f(oe,P,le),ie===null?ee=oe:ie.sibling=oe,ie=oe);return Be&&on(D,le),ee}for(oe=a(D,oe);le<M.length;le++)Je=W(oe,D,le,M[le],G),Je!==null&&(t&&Je.alternate!==null&&oe.delete(Je.key===null?le:Je.key),P=f(Je,P,le),ie===null?ee=Je:ie.sibling=Je,ie=Je);return t&&oe.forEach(function(Wr){return r(D,Wr)}),Be&&on(D,le),ee}function Z(D,P,M,G){var ee=ne(M);if(typeof ee!="function")throw Error(i(150));if(M=ee.call(M),M==null)throw Error(i(151));for(var ie=ee=null,oe=P,le=P=0,Je=null,Te=M.next();oe!==null&&!Te.done;le++,Te=M.next()){oe.index>le?(Je=oe,oe=null):Je=oe.sibling;var Wr=j(D,oe,Te.value,G);if(Wr===null){oe===null&&(oe=Je);break}t&&oe&&Wr.alternate===null&&r(D,oe),P=f(Wr,P,le),ie===null?ee=Wr:ie.sibling=Wr,ie=Wr,oe=Je}if(Te.done)return o(D,oe),Be&&on(D,le),ee;if(oe===null){for(;!Te.done;le++,Te=M.next())Te=H(D,Te.value,G),Te!==null&&(P=f(Te,P,le),ie===null?ee=Te:ie.sibling=Te,ie=Te);return Be&&on(D,le),ee}for(oe=a(D,oe);!Te.done;le++,Te=M.next())Te=W(oe,D,le,Te.value,G),Te!==null&&(t&&Te.alternate!==null&&oe.delete(Te.key===null?le:Te.key),P=f(Te,P,le),ie===null?ee=Te:ie.sibling=Te,ie=Te);return t&&oe.forEach(function(X_){return r(D,X_)}),Be&&on(D,le),ee}function $e(D,P,M,G){if(typeof M=="object"&&M!==null&&M.type===U&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case k:e:{for(var ee=M.key,ie=P;ie!==null;){if(ie.key===ee){if(ee=M.type,ee===U){if(ie.tag===7){o(D,ie.sibling),P=c(ie,M.props.children),P.return=D,D=P;break e}}else if(ie.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===qe&&Vd(ee)===ie.type){o(D,ie.sibling),P=c(ie,M.props),P.ref=Oi(D,ie,M),P.return=D,D=P;break e}o(D,ie);break}else r(D,ie);ie=ie.sibling}M.type===U?(P=hn(M.props.children,D.mode,G,M.key),P.return=D,D=P):(G=os(M.type,M.key,M.props,null,D.mode,G),G.ref=Oi(D,P,M),G.return=D,D=G)}return g(D);case L:e:{for(ie=M.key;P!==null;){if(P.key===ie)if(P.tag===4&&P.stateNode.containerInfo===M.containerInfo&&P.stateNode.implementation===M.implementation){o(D,P.sibling),P=c(P,M.children||[]),P.return=D,D=P;break e}else{o(D,P);break}else r(D,P);P=P.sibling}P=ru(M,D.mode,G),P.return=D,D=P}return g(D);case qe:return ie=M._init,$e(D,P,ie(M._payload),G)}if(ii(M))return Y(D,P,M,G);if(ne(M))return Z(D,P,M,G);Mo(D,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,P!==null&&P.tag===6?(o(D,P.sibling),P=c(P,M),P.return=D,D=P):(o(D,P),P=tu(M,D.mode,G),P.return=D,D=P),g(D)):o(D,P)}return $e}var Un=Wd(!0),Xd=Wd(!1),Fo=Fr(null),Lo=null,Hn=null,fl=null;function dl(){fl=Hn=Lo=null}function hl(t){var r=Fo.current;Me(Fo),t._currentValue=r}function pl(t,r,o){for(;t!==null;){var a=t.alternate;if((t.childLanes&r)!==r?(t.childLanes|=r,a!==null&&(a.childLanes|=r)):a!==null&&(a.childLanes&r)!==r&&(a.childLanes|=r),t===o)break;t=t.return}}function Gn(t,r){Lo=t,fl=Hn=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&r&&(St=!0),t.firstContext=null)}function Bt(t){var r=t._currentValue;if(fl!==t)if(t={context:t,memoizedValue:r,next:null},Hn===null){if(Lo===null)throw Error(i(308));Hn=t,Lo.dependencies={lanes:0,firstContext:t}}else Hn=Hn.next=t;return r}var sn=null;function ml(t){sn===null?sn=[t]:sn.push(t)}function Qd(t,r,o,a){var c=r.interleaved;return c===null?(o.next=o,ml(r)):(o.next=c.next,c.next=o),r.interleaved=o,vr(t,a)}function vr(t,r){t.lanes|=r;var o=t.alternate;for(o!==null&&(o.lanes|=r),o=t,t=t.return;t!==null;)t.childLanes|=r,o=t.alternate,o!==null&&(o.childLanes|=r),o=t,t=t.return;return o.tag===3?o.stateNode:null}var jr=!1;function gl(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kd(t,r){t=t.updateQueue,r.updateQueue===t&&(r.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function _r(t,r){return{eventTime:t,lane:r,tag:0,payload:null,callback:null,next:null}}function zr(t,r,o){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,we&2){var c=a.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),a.pending=r,vr(t,o)}return c=a.interleaved,c===null?(r.next=r,ml(a)):(r.next=c.next,c.next=r),a.interleaved=r,vr(t,o)}function Bo(t,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194240)!==0)){var a=r.lanes;a&=t.pendingLanes,o|=a,r.lanes=o,Na(t,o)}}function Yd(t,r){var o=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var c=null,f=null;if(o=o.firstBaseUpdate,o!==null){do{var g={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};f===null?c=f=g:f=f.next=g,o=o.next}while(o!==null);f===null?c=f=r:f=f.next=r}else c=f=r;o={baseState:a.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:a.shared,effects:a.effects},t.updateQueue=o;return}t=o.lastBaseUpdate,t===null?o.firstBaseUpdate=r:t.next=r,o.lastBaseUpdate=r}function jo(t,r,o,a){var c=t.updateQueue;jr=!1;var f=c.firstBaseUpdate,g=c.lastBaseUpdate,b=c.shared.pending;if(b!==null){c.shared.pending=null;var A=b,F=A.next;A.next=null,g===null?f=F:g.next=F,g=A;var z=t.alternate;z!==null&&(z=z.updateQueue,b=z.lastBaseUpdate,b!==g&&(b===null?z.firstBaseUpdate=F:b.next=F,z.lastBaseUpdate=A))}if(f!==null){var H=c.baseState;g=0,z=F=A=null,b=f;do{var j=b.lane,W=b.eventTime;if((a&j)===j){z!==null&&(z=z.next={eventTime:W,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null});e:{var Y=t,Z=b;switch(j=r,W=o,Z.tag){case 1:if(Y=Z.payload,typeof Y=="function"){H=Y.call(W,H,j);break e}H=Y;break e;case 3:Y.flags=Y.flags&-65537|128;case 0:if(Y=Z.payload,j=typeof Y=="function"?Y.call(W,H,j):Y,j==null)break e;H=X({},H,j);break e;case 2:jr=!0}}b.callback!==null&&b.lane!==0&&(t.flags|=64,j=c.effects,j===null?c.effects=[b]:j.push(b))}else W={eventTime:W,lane:j,tag:b.tag,payload:b.payload,callback:b.callback,next:null},z===null?(F=z=W,A=H):z=z.next=W,g|=j;if(b=b.next,b===null){if(b=c.shared.pending,b===null)break;j=b,b=j.next,j.next=null,c.lastBaseUpdate=j,c.shared.pending=null}}while(!0);if(z===null&&(A=H),c.baseState=A,c.firstBaseUpdate=F,c.lastBaseUpdate=z,r=c.shared.interleaved,r!==null){c=r;do g|=c.lane,c=c.next;while(c!==r)}else f===null&&(c.shared.lanes=0);un|=g,t.lanes=g,t.memoizedState=H}}function Zd(t,r,o){if(t=r.effects,r.effects=null,t!==null)for(r=0;r<t.length;r++){var a=t[r],c=a.callback;if(c!==null){if(a.callback=null,a=o,typeof c!="function")throw Error(i(191,c));c.call(a)}}}var Ni={},lr=Fr(Ni),Ai=Fr(Ni),Pi=Fr(Ni);function an(t){if(t===Ni)throw Error(i(174));return t}function yl(t,r){switch(Pe(Pi,r),Pe(Ai,t),Pe(lr,Ni),t=r.nodeType,t){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:va(null,"");break;default:t=t===8?r.parentNode:r,r=t.namespaceURI||null,t=t.tagName,r=va(r,t)}Me(lr),Pe(lr,r)}function $n(){Me(lr),Me(Ai),Me(Pi)}function Jd(t){an(Pi.current);var r=an(lr.current),o=va(r,t.type);r!==o&&(Pe(Ai,t),Pe(lr,o))}function vl(t){Ai.current===t&&(Me(lr),Me(Ai))}var je=Fr(0);function zo(t){for(var r=t;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var _l=[];function El(){for(var t=0;t<_l.length;t++)_l[t]._workInProgressVersionPrimary=null;_l.length=0}var Uo=C.ReactCurrentDispatcher,Sl=C.ReactCurrentBatchConfig,ln=0,ze=null,Qe=null,Ye=null,Ho=!1,Ii=!1,Di=0,g_=0;function at(){throw Error(i(321))}function bl(t,r){if(r===null)return!1;for(var o=0;o<r.length&&o<t.length;o++)if(!Wt(t[o],r[o]))return!1;return!0}function wl(t,r,o,a,c,f){if(ln=f,ze=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Uo.current=t===null||t.memoizedState===null?E_:S_,t=o(a,c),Ii){f=0;do{if(Ii=!1,Di=0,25<=f)throw Error(i(301));f+=1,Ye=Qe=null,r.updateQueue=null,Uo.current=b_,t=o(a,c)}while(Ii)}if(Uo.current=qo,r=Qe!==null&&Qe.next!==null,ln=0,Ye=Qe=ze=null,Ho=!1,r)throw Error(i(300));return t}function xl(){var t=Di!==0;return Di=0,t}function ur(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ye===null?ze.memoizedState=Ye=t:Ye=Ye.next=t,Ye}function jt(){if(Qe===null){var t=ze.alternate;t=t!==null?t.memoizedState:null}else t=Qe.next;var r=Ye===null?ze.memoizedState:Ye.next;if(r!==null)Ye=r,Qe=t;else{if(t===null)throw Error(i(310));Qe=t,t={memoizedState:Qe.memoizedState,baseState:Qe.baseState,baseQueue:Qe.baseQueue,queue:Qe.queue,next:null},Ye===null?ze.memoizedState=Ye=t:Ye=Ye.next=t}return Ye}function Mi(t,r){return typeof r=="function"?r(t):r}function Tl(t){var r=jt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=t;var a=Qe,c=a.baseQueue,f=o.pending;if(f!==null){if(c!==null){var g=c.next;c.next=f.next,f.next=g}a.baseQueue=c=f,o.pending=null}if(c!==null){f=c.next,a=a.baseState;var b=g=null,A=null,F=f;do{var z=F.lane;if((ln&z)===z)A!==null&&(A=A.next={lane:0,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),a=F.hasEagerState?F.eagerState:t(a,F.action);else{var H={lane:z,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null};A===null?(b=A=H,g=a):A=A.next=H,ze.lanes|=z,un|=z}F=F.next}while(F!==null&&F!==f);A===null?g=a:A.next=b,Wt(a,r.memoizedState)||(St=!0),r.memoizedState=a,r.baseState=g,r.baseQueue=A,o.lastRenderedState=a}if(t=o.interleaved,t!==null){c=t;do f=c.lane,ze.lanes|=f,un|=f,c=c.next;while(c!==t)}else c===null&&(o.lanes=0);return[r.memoizedState,o.dispatch]}function Cl(t){var r=jt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=t;var a=o.dispatch,c=o.pending,f=r.memoizedState;if(c!==null){o.pending=null;var g=c=c.next;do f=t(f,g.action),g=g.next;while(g!==c);Wt(f,r.memoizedState)||(St=!0),r.memoizedState=f,r.baseQueue===null&&(r.baseState=f),o.lastRenderedState=f}return[f,a]}function eh(){}function th(t,r){var o=ze,a=jt(),c=r(),f=!Wt(a.memoizedState,c);if(f&&(a.memoizedState=c,St=!0),a=a.queue,kl(ih.bind(null,o,a,t),[t]),a.getSnapshot!==r||f||Ye!==null&&Ye.memoizedState.tag&1){if(o.flags|=2048,Fi(9,nh.bind(null,o,a,c,r),void 0,null),Ze===null)throw Error(i(349));ln&30||rh(o,r,c)}return c}function rh(t,r,o){t.flags|=16384,t={getSnapshot:r,value:o},r=ze.updateQueue,r===null?(r={lastEffect:null,stores:null},ze.updateQueue=r,r.stores=[t]):(o=r.stores,o===null?r.stores=[t]:o.push(t))}function nh(t,r,o,a){r.value=o,r.getSnapshot=a,oh(r)&&sh(t)}function ih(t,r,o){return o(function(){oh(r)&&sh(t)})}function oh(t){var r=t.getSnapshot;t=t.value;try{var o=r();return!Wt(t,o)}catch{return!0}}function sh(t){var r=vr(t,1);r!==null&&Zt(r,t,1,-1)}function ah(t){var r=ur();return typeof t=="function"&&(t=t()),r.memoizedState=r.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Mi,lastRenderedState:t},r.queue=t,t=t.dispatch=__.bind(null,ze,t),[r.memoizedState,t]}function Fi(t,r,o,a){return t={tag:t,create:r,destroy:o,deps:a,next:null},r=ze.updateQueue,r===null?(r={lastEffect:null,stores:null},ze.updateQueue=r,r.lastEffect=t.next=t):(o=r.lastEffect,o===null?r.lastEffect=t.next=t:(a=o.next,o.next=t,t.next=a,r.lastEffect=t)),t}function lh(){return jt().memoizedState}function Go(t,r,o,a){var c=ur();ze.flags|=t,c.memoizedState=Fi(1|r,o,void 0,a===void 0?null:a)}function $o(t,r,o,a){var c=jt();a=a===void 0?null:a;var f=void 0;if(Qe!==null){var g=Qe.memoizedState;if(f=g.destroy,a!==null&&bl(a,g.deps)){c.memoizedState=Fi(r,o,f,a);return}}ze.flags|=t,c.memoizedState=Fi(1|r,o,f,a)}function uh(t,r){return Go(8390656,8,t,r)}function kl(t,r){return $o(2048,8,t,r)}function ch(t,r){return $o(4,2,t,r)}function fh(t,r){return $o(4,4,t,r)}function dh(t,r){if(typeof r=="function")return t=t(),r(t),function(){r(null)};if(r!=null)return t=t(),r.current=t,function(){r.current=null}}function hh(t,r,o){return o=o!=null?o.concat([t]):null,$o(4,4,dh.bind(null,r,t),o)}function Rl(){}function ph(t,r){var o=jt();r=r===void 0?null:r;var a=o.memoizedState;return a!==null&&r!==null&&bl(r,a[1])?a[0]:(o.memoizedState=[t,r],t)}function mh(t,r){var o=jt();r=r===void 0?null:r;var a=o.memoizedState;return a!==null&&r!==null&&bl(r,a[1])?a[0]:(t=t(),o.memoizedState=[t,r],t)}function gh(t,r,o){return ln&21?(Wt(o,r)||(o=Vf(),ze.lanes|=o,un|=o,t.baseState=!0),r):(t.baseState&&(t.baseState=!1,St=!0),t.memoizedState=o)}function y_(t,r){var o=Ne;Ne=o!==0&&4>o?o:4,t(!0);var a=Sl.transition;Sl.transition={};try{t(!1),r()}finally{Ne=o,Sl.transition=a}}function yh(){return jt().memoizedState}function v_(t,r,o){var a=$r(t);if(o={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null},vh(t))_h(r,o);else if(o=Qd(t,r,o,a),o!==null){var c=dt();Zt(o,t,a,c),Eh(o,r,a)}}function __(t,r,o){var a=$r(t),c={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null};if(vh(t))_h(r,c);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=r.lastRenderedReducer,f!==null))try{var g=r.lastRenderedState,b=f(g,o);if(c.hasEagerState=!0,c.eagerState=b,Wt(b,g)){var A=r.interleaved;A===null?(c.next=c,ml(r)):(c.next=A.next,A.next=c),r.interleaved=c;return}}catch{}finally{}o=Qd(t,r,c,a),o!==null&&(c=dt(),Zt(o,t,a,c),Eh(o,r,a))}}function vh(t){var r=t.alternate;return t===ze||r!==null&&r===ze}function _h(t,r){Ii=Ho=!0;var o=t.pending;o===null?r.next=r:(r.next=o.next,o.next=r),t.pending=r}function Eh(t,r,o){if(o&4194240){var a=r.lanes;a&=t.pendingLanes,o|=a,r.lanes=o,Na(t,o)}}var qo={readContext:Bt,useCallback:at,useContext:at,useEffect:at,useImperativeHandle:at,useInsertionEffect:at,useLayoutEffect:at,useMemo:at,useReducer:at,useRef:at,useState:at,useDebugValue:at,useDeferredValue:at,useTransition:at,useMutableSource:at,useSyncExternalStore:at,useId:at,unstable_isNewReconciler:!1},E_={readContext:Bt,useCallback:function(t,r){return ur().memoizedState=[t,r===void 0?null:r],t},useContext:Bt,useEffect:uh,useImperativeHandle:function(t,r,o){return o=o!=null?o.concat([t]):null,Go(4194308,4,dh.bind(null,r,t),o)},useLayoutEffect:function(t,r){return Go(4194308,4,t,r)},useInsertionEffect:function(t,r){return Go(4,2,t,r)},useMemo:function(t,r){var o=ur();return r=r===void 0?null:r,t=t(),o.memoizedState=[t,r],t},useReducer:function(t,r,o){var a=ur();return r=o!==void 0?o(r):r,a.memoizedState=a.baseState=r,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},a.queue=t,t=t.dispatch=v_.bind(null,ze,t),[a.memoizedState,t]},useRef:function(t){var r=ur();return t={current:t},r.memoizedState=t},useState:ah,useDebugValue:Rl,useDeferredValue:function(t){return ur().memoizedState=t},useTransition:function(){var t=ah(!1),r=t[0];return t=y_.bind(null,t[1]),ur().memoizedState=t,[r,t]},useMutableSource:function(){},useSyncExternalStore:function(t,r,o){var a=ze,c=ur();if(Be){if(o===void 0)throw Error(i(407));o=o()}else{if(o=r(),Ze===null)throw Error(i(349));ln&30||rh(a,r,o)}c.memoizedState=o;var f={value:o,getSnapshot:r};return c.queue=f,uh(ih.bind(null,a,f,t),[t]),a.flags|=2048,Fi(9,nh.bind(null,a,f,o,r),void 0,null),o},useId:function(){var t=ur(),r=Ze.identifierPrefix;if(Be){var o=yr,a=gr;o=(a&~(1<<32-Vt(a)-1)).toString(32)+o,r=":"+r+"R"+o,o=Di++,0<o&&(r+="H"+o.toString(32)),r+=":"}else o=g_++,r=":"+r+"r"+o.toString(32)+":";return t.memoizedState=r},unstable_isNewReconciler:!1},S_={readContext:Bt,useCallback:ph,useContext:Bt,useEffect:kl,useImperativeHandle:hh,useInsertionEffect:ch,useLayoutEffect:fh,useMemo:mh,useReducer:Tl,useRef:lh,useState:function(){return Tl(Mi)},useDebugValue:Rl,useDeferredValue:function(t){var r=jt();return gh(r,Qe.memoizedState,t)},useTransition:function(){var t=Tl(Mi)[0],r=jt().memoizedState;return[t,r]},useMutableSource:eh,useSyncExternalStore:th,useId:yh,unstable_isNewReconciler:!1},b_={readContext:Bt,useCallback:ph,useContext:Bt,useEffect:kl,useImperativeHandle:hh,useInsertionEffect:ch,useLayoutEffect:fh,useMemo:mh,useReducer:Cl,useRef:lh,useState:function(){return Cl(Mi)},useDebugValue:Rl,useDeferredValue:function(t){var r=jt();return Qe===null?r.memoizedState=t:gh(r,Qe.memoizedState,t)},useTransition:function(){var t=Cl(Mi)[0],r=jt().memoizedState;return[t,r]},useMutableSource:eh,useSyncExternalStore:th,useId:yh,unstable_isNewReconciler:!1};function Qt(t,r){if(t&&t.defaultProps){r=X({},r),t=t.defaultProps;for(var o in t)r[o]===void 0&&(r[o]=t[o]);return r}return r}function Ol(t,r,o,a){r=t.memoizedState,o=o(a,r),o=o==null?r:X({},r,o),t.memoizedState=o,t.lanes===0&&(t.updateQueue.baseState=o)}var Vo={isMounted:function(t){return(t=t._reactInternals)?en(t)===t:!1},enqueueSetState:function(t,r,o){t=t._reactInternals;var a=dt(),c=$r(t),f=_r(a,c);f.payload=r,o!=null&&(f.callback=o),r=zr(t,f,c),r!==null&&(Zt(r,t,c,a),Bo(r,t,c))},enqueueReplaceState:function(t,r,o){t=t._reactInternals;var a=dt(),c=$r(t),f=_r(a,c);f.tag=1,f.payload=r,o!=null&&(f.callback=o),r=zr(t,f,c),r!==null&&(Zt(r,t,c,a),Bo(r,t,c))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var o=dt(),a=$r(t),c=_r(o,a);c.tag=2,r!=null&&(c.callback=r),r=zr(t,c,a),r!==null&&(Zt(r,t,a,o),Bo(r,t,a))}};function Sh(t,r,o,a,c,f,g){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,f,g):r.prototype&&r.prototype.isPureReactComponent?!bi(o,a)||!bi(c,f):!0}function bh(t,r,o){var a=!1,c=Lr,f=r.contextType;return typeof f=="object"&&f!==null?f=Bt(f):(c=Et(r)?rn:st.current,a=r.contextTypes,f=(a=a!=null)?Ln(t,c):Lr),r=new r(o,f),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Vo,t.stateNode=r,r._reactInternals=t,a&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=c,t.__reactInternalMemoizedMaskedChildContext=f),r}function wh(t,r,o,a){t=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,a),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,a),r.state!==t&&Vo.enqueueReplaceState(r,r.state,null)}function Nl(t,r,o,a){var c=t.stateNode;c.props=o,c.state=t.memoizedState,c.refs={},gl(t);var f=r.contextType;typeof f=="object"&&f!==null?c.context=Bt(f):(f=Et(r)?rn:st.current,c.context=Ln(t,f)),c.state=t.memoizedState,f=r.getDerivedStateFromProps,typeof f=="function"&&(Ol(t,r,f,o),c.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(r=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),r!==c.state&&Vo.enqueueReplaceState(c,c.state,null),jo(t,o,c,a),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308)}function qn(t,r){try{var o="",a=r;do o+=ye(a),a=a.return;while(a);var c=o}catch(f){c=`
|
|
39
|
+
Error generating stack: `+f.message+`
|
|
40
|
+
`+f.stack}return{value:t,source:r,stack:c,digest:null}}function Al(t,r,o){return{value:t,source:null,stack:o??null,digest:r??null}}function Pl(t,r){try{console.error(r.value)}catch(o){setTimeout(function(){throw o})}}var w_=typeof WeakMap=="function"?WeakMap:Map;function xh(t,r,o){o=_r(-1,o),o.tag=3,o.payload={element:null};var a=r.value;return o.callback=function(){Jo||(Jo=!0,Wl=a),Pl(t,r)},o}function Th(t,r,o){o=_r(-1,o),o.tag=3;var a=t.type.getDerivedStateFromError;if(typeof a=="function"){var c=r.value;o.payload=function(){return a(c)},o.callback=function(){Pl(t,r)}}var f=t.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(o.callback=function(){Pl(t,r),typeof a!="function"&&(Hr===null?Hr=new Set([this]):Hr.add(this));var g=r.stack;this.componentDidCatch(r.value,{componentStack:g!==null?g:""})}),o}function Ch(t,r,o){var a=t.pingCache;if(a===null){a=t.pingCache=new w_;var c=new Set;a.set(r,c)}else c=a.get(r),c===void 0&&(c=new Set,a.set(r,c));c.has(o)||(c.add(o),t=L_.bind(null,t,r,o),r.then(t,t))}function kh(t){do{var r;if((r=t.tag===13)&&(r=t.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return t;t=t.return}while(t!==null);return null}function Rh(t,r,o,a,c){return t.mode&1?(t.flags|=65536,t.lanes=c,t):(t===r?t.flags|=65536:(t.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(r=_r(-1,1),r.tag=2,zr(o,r,1))),o.lanes|=1),t)}var x_=C.ReactCurrentOwner,St=!1;function ft(t,r,o,a){r.child=t===null?Xd(r,null,o,a):Un(r,t.child,o,a)}function Oh(t,r,o,a,c){o=o.render;var f=r.ref;return Gn(r,c),a=wl(t,r,o,a,f,c),o=xl(),t!==null&&!St?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~c,Er(t,r,c)):(Be&&o&&sl(r),r.flags|=1,ft(t,r,a,c),r.child)}function Nh(t,r,o,a,c){if(t===null){var f=o.type;return typeof f=="function"&&!eu(f)&&f.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(r.tag=15,r.type=f,Ah(t,r,f,a,c)):(t=os(o.type,null,a,r,r.mode,c),t.ref=r.ref,t.return=r,r.child=t)}if(f=t.child,!(t.lanes&c)){var g=f.memoizedProps;if(o=o.compare,o=o!==null?o:bi,o(g,a)&&t.ref===r.ref)return Er(t,r,c)}return r.flags|=1,t=Vr(f,a),t.ref=r.ref,t.return=r,r.child=t}function Ah(t,r,o,a,c){if(t!==null){var f=t.memoizedProps;if(bi(f,a)&&t.ref===r.ref)if(St=!1,r.pendingProps=a=f,(t.lanes&c)!==0)t.flags&131072&&(St=!0);else return r.lanes=t.lanes,Er(t,r,c)}return Il(t,r,o,a,c)}function Ph(t,r,o){var a=r.pendingProps,c=a.children,f=t!==null?t.memoizedState:null;if(a.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pe(Wn,Ot),Ot|=o;else{if(!(o&1073741824))return t=f!==null?f.baseLanes|o:o,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:t,cachePool:null,transitions:null},r.updateQueue=null,Pe(Wn,Ot),Ot|=t,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=f!==null?f.baseLanes:o,Pe(Wn,Ot),Ot|=a}else f!==null?(a=f.baseLanes|o,r.memoizedState=null):a=o,Pe(Wn,Ot),Ot|=a;return ft(t,r,c,o),r.child}function Ih(t,r){var o=r.ref;(t===null&&o!==null||t!==null&&t.ref!==o)&&(r.flags|=512,r.flags|=2097152)}function Il(t,r,o,a,c){var f=Et(o)?rn:st.current;return f=Ln(r,f),Gn(r,c),o=wl(t,r,o,a,f,c),a=xl(),t!==null&&!St?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~c,Er(t,r,c)):(Be&&a&&sl(r),r.flags|=1,ft(t,r,o,c),r.child)}function Dh(t,r,o,a,c){if(Et(o)){var f=!0;No(r)}else f=!1;if(Gn(r,c),r.stateNode===null)Xo(t,r),bh(r,o,a),Nl(r,o,a,c),a=!0;else if(t===null){var g=r.stateNode,b=r.memoizedProps;g.props=b;var A=g.context,F=o.contextType;typeof F=="object"&&F!==null?F=Bt(F):(F=Et(o)?rn:st.current,F=Ln(r,F));var z=o.getDerivedStateFromProps,H=typeof z=="function"||typeof g.getSnapshotBeforeUpdate=="function";H||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(b!==a||A!==F)&&wh(r,g,a,F),jr=!1;var j=r.memoizedState;g.state=j,jo(r,a,g,c),A=r.memoizedState,b!==a||j!==A||_t.current||jr?(typeof z=="function"&&(Ol(r,o,z,a),A=r.memoizedState),(b=jr||Sh(r,o,b,a,j,A,F))?(H||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(r.flags|=4194308)):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=a,r.memoizedState=A),g.props=a,g.state=A,g.context=F,a=b):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),a=!1)}else{g=r.stateNode,Kd(t,r),b=r.memoizedProps,F=r.type===r.elementType?b:Qt(r.type,b),g.props=F,H=r.pendingProps,j=g.context,A=o.contextType,typeof A=="object"&&A!==null?A=Bt(A):(A=Et(o)?rn:st.current,A=Ln(r,A));var W=o.getDerivedStateFromProps;(z=typeof W=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(b!==H||j!==A)&&wh(r,g,a,A),jr=!1,j=r.memoizedState,g.state=j,jo(r,a,g,c);var Y=r.memoizedState;b!==H||j!==Y||_t.current||jr?(typeof W=="function"&&(Ol(r,o,W,a),Y=r.memoizedState),(F=jr||Sh(r,o,F,a,j,Y,A)||!1)?(z||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(a,Y,A),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(a,Y,A)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||b===t.memoizedProps&&j===t.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&j===t.memoizedState||(r.flags|=1024),r.memoizedProps=a,r.memoizedState=Y),g.props=a,g.state=Y,g.context=A,a=F):(typeof g.componentDidUpdate!="function"||b===t.memoizedProps&&j===t.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&j===t.memoizedState||(r.flags|=1024),a=!1)}return Dl(t,r,o,a,f,c)}function Dl(t,r,o,a,c,f){Ih(t,r);var g=(r.flags&128)!==0;if(!a&&!g)return c&&jd(r,o,!1),Er(t,r,f);a=r.stateNode,x_.current=r;var b=g&&typeof o.getDerivedStateFromError!="function"?null:a.render();return r.flags|=1,t!==null&&g?(r.child=Un(r,t.child,null,f),r.child=Un(r,null,b,f)):ft(t,r,b,f),r.memoizedState=a.state,c&&jd(r,o,!0),r.child}function Mh(t){var r=t.stateNode;r.pendingContext?Ld(t,r.pendingContext,r.pendingContext!==r.context):r.context&&Ld(t,r.context,!1),yl(t,r.containerInfo)}function Fh(t,r,o,a,c){return zn(),cl(c),r.flags|=256,ft(t,r,o,a),r.child}var Ml={dehydrated:null,treeContext:null,retryLane:0};function Fl(t){return{baseLanes:t,cachePool:null,transitions:null}}function Lh(t,r,o){var a=r.pendingProps,c=je.current,f=!1,g=(r.flags&128)!==0,b;if((b=g)||(b=t!==null&&t.memoizedState===null?!1:(c&2)!==0),b?(f=!0,r.flags&=-129):(t===null||t.memoizedState!==null)&&(c|=1),Pe(je,c&1),t===null)return ul(r),t=r.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(r.mode&1?t.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(g=a.children,t=a.fallback,f?(a=r.mode,f=r.child,g={mode:"hidden",children:g},!(a&1)&&f!==null?(f.childLanes=0,f.pendingProps=g):f=ss(g,a,0,null),t=hn(t,a,o,null),f.return=r,t.return=r,f.sibling=t,r.child=f,r.child.memoizedState=Fl(o),r.memoizedState=Ml,t):Ll(r,g));if(c=t.memoizedState,c!==null&&(b=c.dehydrated,b!==null))return T_(t,r,g,a,b,c,o);if(f){f=a.fallback,g=r.mode,c=t.child,b=c.sibling;var A={mode:"hidden",children:a.children};return!(g&1)&&r.child!==c?(a=r.child,a.childLanes=0,a.pendingProps=A,r.deletions=null):(a=Vr(c,A),a.subtreeFlags=c.subtreeFlags&14680064),b!==null?f=Vr(b,f):(f=hn(f,g,o,null),f.flags|=2),f.return=r,a.return=r,a.sibling=f,r.child=a,a=f,f=r.child,g=t.child.memoizedState,g=g===null?Fl(o):{baseLanes:g.baseLanes|o,cachePool:null,transitions:g.transitions},f.memoizedState=g,f.childLanes=t.childLanes&~o,r.memoizedState=Ml,a}return f=t.child,t=f.sibling,a=Vr(f,{mode:"visible",children:a.children}),!(r.mode&1)&&(a.lanes=o),a.return=r,a.sibling=null,t!==null&&(o=r.deletions,o===null?(r.deletions=[t],r.flags|=16):o.push(t)),r.child=a,r.memoizedState=null,a}function Ll(t,r){return r=ss({mode:"visible",children:r},t.mode,0,null),r.return=t,t.child=r}function Wo(t,r,o,a){return a!==null&&cl(a),Un(r,t.child,null,o),t=Ll(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function T_(t,r,o,a,c,f,g){if(o)return r.flags&256?(r.flags&=-257,a=Al(Error(i(422))),Wo(t,r,g,a)):r.memoizedState!==null?(r.child=t.child,r.flags|=128,null):(f=a.fallback,c=r.mode,a=ss({mode:"visible",children:a.children},c,0,null),f=hn(f,c,g,null),f.flags|=2,a.return=r,f.return=r,a.sibling=f,r.child=a,r.mode&1&&Un(r,t.child,null,g),r.child.memoizedState=Fl(g),r.memoizedState=Ml,f);if(!(r.mode&1))return Wo(t,r,g,null);if(c.data==="$!"){if(a=c.nextSibling&&c.nextSibling.dataset,a)var b=a.dgst;return a=b,f=Error(i(419)),a=Al(f,a,void 0),Wo(t,r,g,a)}if(b=(g&t.childLanes)!==0,St||b){if(a=Ze,a!==null){switch(g&-g){case 4:c=2;break;case 16:c=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:c=32;break;case 536870912:c=268435456;break;default:c=0}c=c&(a.suspendedLanes|g)?0:c,c!==0&&c!==f.retryLane&&(f.retryLane=c,vr(t,c),Zt(a,t,c,-1))}return Jl(),a=Al(Error(i(421))),Wo(t,r,g,a)}return c.data==="$?"?(r.flags|=128,r.child=t.child,r=B_.bind(null,t),c._reactRetry=r,null):(t=f.treeContext,Rt=Mr(c.nextSibling),kt=r,Be=!0,Xt=null,t!==null&&(Ft[Lt++]=gr,Ft[Lt++]=yr,Ft[Lt++]=nn,gr=t.id,yr=t.overflow,nn=r),r=Ll(r,a.children),r.flags|=4096,r)}function Bh(t,r,o){t.lanes|=r;var a=t.alternate;a!==null&&(a.lanes|=r),pl(t.return,r,o)}function Bl(t,r,o,a,c){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:a,tail:o,tailMode:c}:(f.isBackwards=r,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=o,f.tailMode=c)}function jh(t,r,o){var a=r.pendingProps,c=a.revealOrder,f=a.tail;if(ft(t,r,a.children,o),a=je.current,a&2)a=a&1|2,r.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Bh(t,o,r);else if(t.tag===19)Bh(t,o,r);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===r)break e;for(;t.sibling===null;){if(t.return===null||t.return===r)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}if(Pe(je,a),!(r.mode&1))r.memoizedState=null;else switch(c){case"forwards":for(o=r.child,c=null;o!==null;)t=o.alternate,t!==null&&zo(t)===null&&(c=o),o=o.sibling;o=c,o===null?(c=r.child,r.child=null):(c=o.sibling,o.sibling=null),Bl(r,!1,c,o,f);break;case"backwards":for(o=null,c=r.child,r.child=null;c!==null;){if(t=c.alternate,t!==null&&zo(t)===null){r.child=c;break}t=c.sibling,c.sibling=o,o=c,c=t}Bl(r,!0,o,null,f);break;case"together":Bl(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Xo(t,r){!(r.mode&1)&&t!==null&&(t.alternate=null,r.alternate=null,r.flags|=2)}function Er(t,r,o){if(t!==null&&(r.dependencies=t.dependencies),un|=r.lanes,!(o&r.childLanes))return null;if(t!==null&&r.child!==t.child)throw Error(i(153));if(r.child!==null){for(t=r.child,o=Vr(t,t.pendingProps),r.child=o,o.return=r;t.sibling!==null;)t=t.sibling,o=o.sibling=Vr(t,t.pendingProps),o.return=r;o.sibling=null}return r.child}function C_(t,r,o){switch(r.tag){case 3:Mh(r),zn();break;case 5:Jd(r);break;case 1:Et(r.type)&&No(r);break;case 4:yl(r,r.stateNode.containerInfo);break;case 10:var a=r.type._context,c=r.memoizedProps.value;Pe(Fo,a._currentValue),a._currentValue=c;break;case 13:if(a=r.memoizedState,a!==null)return a.dehydrated!==null?(Pe(je,je.current&1),r.flags|=128,null):o&r.child.childLanes?Lh(t,r,o):(Pe(je,je.current&1),t=Er(t,r,o),t!==null?t.sibling:null);Pe(je,je.current&1);break;case 19:if(a=(o&r.childLanes)!==0,t.flags&128){if(a)return jh(t,r,o);r.flags|=128}if(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Pe(je,je.current),a)break;return null;case 22:case 23:return r.lanes=0,Ph(t,r,o)}return Er(t,r,o)}var zh,jl,Uh,Hh;zh=function(t,r){for(var o=r.child;o!==null;){if(o.tag===5||o.tag===6)t.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},jl=function(){},Uh=function(t,r,o,a){var c=t.memoizedProps;if(c!==a){t=r.stateNode,an(lr.current);var f=null;switch(o){case"input":c=pa(t,c),a=pa(t,a),f=[];break;case"select":c=X({},c,{value:void 0}),a=X({},a,{value:void 0}),f=[];break;case"textarea":c=ya(t,c),a=ya(t,a),f=[];break;default:typeof c.onClick!="function"&&typeof a.onClick=="function"&&(t.onclick=ko)}_a(o,a);var g;o=null;for(F in c)if(!a.hasOwnProperty(F)&&c.hasOwnProperty(F)&&c[F]!=null)if(F==="style"){var b=c[F];for(g in b)b.hasOwnProperty(g)&&(o||(o={}),o[g]="")}else F!=="dangerouslySetInnerHTML"&&F!=="children"&&F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&F!=="autoFocus"&&(l.hasOwnProperty(F)?f||(f=[]):(f=f||[]).push(F,null));for(F in a){var A=a[F];if(b=c!=null?c[F]:void 0,a.hasOwnProperty(F)&&A!==b&&(A!=null||b!=null))if(F==="style")if(b){for(g in b)!b.hasOwnProperty(g)||A&&A.hasOwnProperty(g)||(o||(o={}),o[g]="");for(g in A)A.hasOwnProperty(g)&&b[g]!==A[g]&&(o||(o={}),o[g]=A[g])}else o||(f||(f=[]),f.push(F,o)),o=A;else F==="dangerouslySetInnerHTML"?(A=A?A.__html:void 0,b=b?b.__html:void 0,A!=null&&b!==A&&(f=f||[]).push(F,A)):F==="children"?typeof A!="string"&&typeof A!="number"||(f=f||[]).push(F,""+A):F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&(l.hasOwnProperty(F)?(A!=null&&F==="onScroll"&&De("scroll",t),f||b===A||(f=[])):(f=f||[]).push(F,A))}o&&(f=f||[]).push("style",o);var F=f;(r.updateQueue=F)&&(r.flags|=4)}},Hh=function(t,r,o,a){o!==a&&(r.flags|=4)};function Li(t,r){if(!Be)switch(t.tailMode){case"hidden":r=t.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t.tail=null:o.sibling=null;break;case"collapsed":o=t.tail;for(var a=null;o!==null;)o.alternate!==null&&(a=o),o=o.sibling;a===null?r||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function lt(t){var r=t.alternate!==null&&t.alternate.child===t.child,o=0,a=0;if(r)for(var c=t.child;c!==null;)o|=c.lanes|c.childLanes,a|=c.subtreeFlags&14680064,a|=c.flags&14680064,c.return=t,c=c.sibling;else for(c=t.child;c!==null;)o|=c.lanes|c.childLanes,a|=c.subtreeFlags,a|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=a,t.childLanes=o,r}function k_(t,r,o){var a=r.pendingProps;switch(al(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(r),null;case 1:return Et(r.type)&&Oo(),lt(r),null;case 3:return a=r.stateNode,$n(),Me(_t),Me(st),El(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Do(r)?r.flags|=4:t===null||t.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,Xt!==null&&(Kl(Xt),Xt=null))),jl(t,r),lt(r),null;case 5:vl(r);var c=an(Pi.current);if(o=r.type,t!==null&&r.stateNode!=null)Uh(t,r,o,a,c),t.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!a){if(r.stateNode===null)throw Error(i(166));return lt(r),null}if(t=an(lr.current),Do(r)){a=r.stateNode,o=r.type;var f=r.memoizedProps;switch(a[ar]=r,a[ki]=f,t=(r.mode&1)!==0,o){case"dialog":De("cancel",a),De("close",a);break;case"iframe":case"object":case"embed":De("load",a);break;case"video":case"audio":for(c=0;c<xi.length;c++)De(xi[c],a);break;case"source":De("error",a);break;case"img":case"image":case"link":De("error",a),De("load",a);break;case"details":De("toggle",a);break;case"input":bf(a,f),De("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!f.multiple},De("invalid",a);break;case"textarea":Tf(a,f),De("invalid",a)}_a(o,f),c=null;for(var g in f)if(f.hasOwnProperty(g)){var b=f[g];g==="children"?typeof b=="string"?a.textContent!==b&&(f.suppressHydrationWarning!==!0&&Co(a.textContent,b,t),c=["children",b]):typeof b=="number"&&a.textContent!==""+b&&(f.suppressHydrationWarning!==!0&&Co(a.textContent,b,t),c=["children",""+b]):l.hasOwnProperty(g)&&b!=null&&g==="onScroll"&&De("scroll",a)}switch(o){case"input":ni(a),xf(a,f,!0);break;case"textarea":ni(a),kf(a);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(a.onclick=ko)}a=c,r.updateQueue=a,a!==null&&(r.flags|=4)}else{g=c.nodeType===9?c:c.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=Rf(o)),t==="http://www.w3.org/1999/xhtml"?o==="script"?(t=g.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof a.is=="string"?t=g.createElement(o,{is:a.is}):(t=g.createElement(o),o==="select"&&(g=t,a.multiple?g.multiple=!0:a.size&&(g.size=a.size))):t=g.createElementNS(t,o),t[ar]=r,t[ki]=a,zh(t,r,!1,!1),r.stateNode=t;e:{switch(g=Ea(o,a),o){case"dialog":De("cancel",t),De("close",t),c=a;break;case"iframe":case"object":case"embed":De("load",t),c=a;break;case"video":case"audio":for(c=0;c<xi.length;c++)De(xi[c],t);c=a;break;case"source":De("error",t),c=a;break;case"img":case"image":case"link":De("error",t),De("load",t),c=a;break;case"details":De("toggle",t),c=a;break;case"input":bf(t,a),c=pa(t,a),De("invalid",t);break;case"option":c=a;break;case"select":t._wrapperState={wasMultiple:!!a.multiple},c=X({},a,{value:void 0}),De("invalid",t);break;case"textarea":Tf(t,a),c=ya(t,a),De("invalid",t);break;default:c=a}_a(o,c),b=c;for(f in b)if(b.hasOwnProperty(f)){var A=b[f];f==="style"?Af(t,A):f==="dangerouslySetInnerHTML"?(A=A?A.__html:void 0,A!=null&&Of(t,A)):f==="children"?typeof A=="string"?(o!=="textarea"||A!=="")&&oi(t,A):typeof A=="number"&&oi(t,""+A):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(l.hasOwnProperty(f)?A!=null&&f==="onScroll"&&De("scroll",t):A!=null&&S(t,f,A,g))}switch(o){case"input":ni(t),xf(t,a,!1);break;case"textarea":ni(t),kf(t);break;case"option":a.value!=null&&t.setAttribute("value",""+Ce(a.value));break;case"select":t.multiple=!!a.multiple,f=a.value,f!=null?Tn(t,!!a.multiple,f,!1):a.defaultValue!=null&&Tn(t,!!a.multiple,a.defaultValue,!0);break;default:typeof c.onClick=="function"&&(t.onclick=ko)}switch(o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return lt(r),null;case 6:if(t&&r.stateNode!=null)Hh(t,r,t.memoizedProps,a);else{if(typeof a!="string"&&r.stateNode===null)throw Error(i(166));if(o=an(Pi.current),an(lr.current),Do(r)){if(a=r.stateNode,o=r.memoizedProps,a[ar]=r,(f=a.nodeValue!==o)&&(t=kt,t!==null))switch(t.tag){case 3:Co(a.nodeValue,o,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Co(a.nodeValue,o,(t.mode&1)!==0)}f&&(r.flags|=4)}else a=(o.nodeType===9?o:o.ownerDocument).createTextNode(a),a[ar]=r,r.stateNode=a}return lt(r),null;case 13:if(Me(je),a=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Be&&Rt!==null&&r.mode&1&&!(r.flags&128))qd(),zn(),r.flags|=98560,f=!1;else if(f=Do(r),a!==null&&a.dehydrated!==null){if(t===null){if(!f)throw Error(i(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(i(317));f[ar]=r}else zn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;lt(r),f=!1}else Xt!==null&&(Kl(Xt),Xt=null),f=!0;if(!f)return r.flags&65536?r:null}return r.flags&128?(r.lanes=o,r):(a=a!==null,a!==(t!==null&&t.memoizedState!==null)&&a&&(r.child.flags|=8192,r.mode&1&&(t===null||je.current&1?Ke===0&&(Ke=3):Jl())),r.updateQueue!==null&&(r.flags|=4),lt(r),null);case 4:return $n(),jl(t,r),t===null&&Ti(r.stateNode.containerInfo),lt(r),null;case 10:return hl(r.type._context),lt(r),null;case 17:return Et(r.type)&&Oo(),lt(r),null;case 19:if(Me(je),f=r.memoizedState,f===null)return lt(r),null;if(a=(r.flags&128)!==0,g=f.rendering,g===null)if(a)Li(f,!1);else{if(Ke!==0||t!==null&&t.flags&128)for(t=r.child;t!==null;){if(g=zo(t),g!==null){for(r.flags|=128,Li(f,!1),a=g.updateQueue,a!==null&&(r.updateQueue=a,r.flags|=4),r.subtreeFlags=0,a=o,o=r.child;o!==null;)f=o,t=a,f.flags&=14680066,g=f.alternate,g===null?(f.childLanes=0,f.lanes=t,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=g.childLanes,f.lanes=g.lanes,f.child=g.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue,f.type=g.type,t=g.dependencies,f.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),o=o.sibling;return Pe(je,je.current&1|2),r.child}t=t.sibling}f.tail!==null&&Ge()>Xn&&(r.flags|=128,a=!0,Li(f,!1),r.lanes=4194304)}else{if(!a)if(t=zo(g),t!==null){if(r.flags|=128,a=!0,o=t.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),Li(f,!0),f.tail===null&&f.tailMode==="hidden"&&!g.alternate&&!Be)return lt(r),null}else 2*Ge()-f.renderingStartTime>Xn&&o!==1073741824&&(r.flags|=128,a=!0,Li(f,!1),r.lanes=4194304);f.isBackwards?(g.sibling=r.child,r.child=g):(o=f.last,o!==null?o.sibling=g:r.child=g,f.last=g)}return f.tail!==null?(r=f.tail,f.rendering=r,f.tail=r.sibling,f.renderingStartTime=Ge(),r.sibling=null,o=je.current,Pe(je,a?o&1|2:o&1),r):(lt(r),null);case 22:case 23:return Zl(),a=r.memoizedState!==null,t!==null&&t.memoizedState!==null!==a&&(r.flags|=8192),a&&r.mode&1?Ot&1073741824&&(lt(r),r.subtreeFlags&6&&(r.flags|=8192)):lt(r),null;case 24:return null;case 25:return null}throw Error(i(156,r.tag))}function R_(t,r){switch(al(r),r.tag){case 1:return Et(r.type)&&Oo(),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return $n(),Me(_t),Me(st),El(),t=r.flags,t&65536&&!(t&128)?(r.flags=t&-65537|128,r):null;case 5:return vl(r),null;case 13:if(Me(je),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(i(340));zn()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return Me(je),null;case 4:return $n(),null;case 10:return hl(r.type._context),null;case 22:case 23:return Zl(),null;case 24:return null;default:return null}}var Qo=!1,ut=!1,O_=typeof WeakSet=="function"?WeakSet:Set,Q=null;function Vn(t,r){var o=t.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(a){He(t,r,a)}else o.current=null}function zl(t,r,o){try{o()}catch(a){He(t,r,a)}}var Gh=!1;function N_(t,r){if(Za=mo,t=Sd(),$a(t)){if("selectionStart"in t)var o={start:t.selectionStart,end:t.selectionEnd};else e:{o=(o=t.ownerDocument)&&o.defaultView||window;var a=o.getSelection&&o.getSelection();if(a&&a.rangeCount!==0){o=a.anchorNode;var c=a.anchorOffset,f=a.focusNode;a=a.focusOffset;try{o.nodeType,f.nodeType}catch{o=null;break e}var g=0,b=-1,A=-1,F=0,z=0,H=t,j=null;t:for(;;){for(var W;H!==o||c!==0&&H.nodeType!==3||(b=g+c),H!==f||a!==0&&H.nodeType!==3||(A=g+a),H.nodeType===3&&(g+=H.nodeValue.length),(W=H.firstChild)!==null;)j=H,H=W;for(;;){if(H===t)break t;if(j===o&&++F===c&&(b=g),j===f&&++z===a&&(A=g),(W=H.nextSibling)!==null)break;H=j,j=H.parentNode}H=W}o=b===-1||A===-1?null:{start:b,end:A}}else o=null}o=o||{start:0,end:0}}else o=null;for(Ja={focusedElem:t,selectionRange:o},mo=!1,Q=r;Q!==null;)if(r=Q,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,Q=t;else for(;Q!==null;){r=Q;try{var Y=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Y!==null){var Z=Y.memoizedProps,$e=Y.memoizedState,D=r.stateNode,P=D.getSnapshotBeforeUpdate(r.elementType===r.type?Z:Qt(r.type,Z),$e);D.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var M=r.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(i(163))}}catch(G){He(r,r.return,G)}if(t=r.sibling,t!==null){t.return=r.return,Q=t;break}Q=r.return}return Y=Gh,Gh=!1,Y}function Bi(t,r,o){var a=r.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var c=a=a.next;do{if((c.tag&t)===t){var f=c.destroy;c.destroy=void 0,f!==void 0&&zl(r,o,f)}c=c.next}while(c!==a)}}function Ko(t,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&t)===t){var a=o.create;o.destroy=a()}o=o.next}while(o!==r)}}function Ul(t){var r=t.ref;if(r!==null){var o=t.stateNode;switch(t.tag){case 5:t=o;break;default:t=o}typeof r=="function"?r(t):r.current=t}}function $h(t){var r=t.alternate;r!==null&&(t.alternate=null,$h(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&(delete r[ar],delete r[ki],delete r[nl],delete r[d_],delete r[h_])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function qh(t){return t.tag===5||t.tag===3||t.tag===4}function Vh(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||qh(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Hl(t,r,o){var a=t.tag;if(a===5||a===6)t=t.stateNode,r?o.nodeType===8?o.parentNode.insertBefore(t,r):o.insertBefore(t,r):(o.nodeType===8?(r=o.parentNode,r.insertBefore(t,o)):(r=o,r.appendChild(t)),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=ko));else if(a!==4&&(t=t.child,t!==null))for(Hl(t,r,o),t=t.sibling;t!==null;)Hl(t,r,o),t=t.sibling}function Gl(t,r,o){var a=t.tag;if(a===5||a===6)t=t.stateNode,r?o.insertBefore(t,r):o.appendChild(t);else if(a!==4&&(t=t.child,t!==null))for(Gl(t,r,o),t=t.sibling;t!==null;)Gl(t,r,o),t=t.sibling}var tt=null,Kt=!1;function Ur(t,r,o){for(o=o.child;o!==null;)Wh(t,r,o),o=o.sibling}function Wh(t,r,o){if(sr&&typeof sr.onCommitFiberUnmount=="function")try{sr.onCommitFiberUnmount(lo,o)}catch{}switch(o.tag){case 5:ut||Vn(o,r);case 6:var a=tt,c=Kt;tt=null,Ur(t,r,o),tt=a,Kt=c,tt!==null&&(Kt?(t=tt,o=o.stateNode,t.nodeType===8?t.parentNode.removeChild(o):t.removeChild(o)):tt.removeChild(o.stateNode));break;case 18:tt!==null&&(Kt?(t=tt,o=o.stateNode,t.nodeType===8?rl(t.parentNode,o):t.nodeType===1&&rl(t,o),gi(t)):rl(tt,o.stateNode));break;case 4:a=tt,c=Kt,tt=o.stateNode.containerInfo,Kt=!0,Ur(t,r,o),tt=a,Kt=c;break;case 0:case 11:case 14:case 15:if(!ut&&(a=o.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){c=a=a.next;do{var f=c,g=f.destroy;f=f.tag,g!==void 0&&(f&2||f&4)&&zl(o,r,g),c=c.next}while(c!==a)}Ur(t,r,o);break;case 1:if(!ut&&(Vn(o,r),a=o.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=o.memoizedProps,a.state=o.memoizedState,a.componentWillUnmount()}catch(b){He(o,r,b)}Ur(t,r,o);break;case 21:Ur(t,r,o);break;case 22:o.mode&1?(ut=(a=ut)||o.memoizedState!==null,Ur(t,r,o),ut=a):Ur(t,r,o);break;default:Ur(t,r,o)}}function Xh(t){var r=t.updateQueue;if(r!==null){t.updateQueue=null;var o=t.stateNode;o===null&&(o=t.stateNode=new O_),r.forEach(function(a){var c=j_.bind(null,t,a);o.has(a)||(o.add(a),a.then(c,c))})}}function Yt(t,r){var o=r.deletions;if(o!==null)for(var a=0;a<o.length;a++){var c=o[a];try{var f=t,g=r,b=g;e:for(;b!==null;){switch(b.tag){case 5:tt=b.stateNode,Kt=!1;break e;case 3:tt=b.stateNode.containerInfo,Kt=!0;break e;case 4:tt=b.stateNode.containerInfo,Kt=!0;break e}b=b.return}if(tt===null)throw Error(i(160));Wh(f,g,c),tt=null,Kt=!1;var A=c.alternate;A!==null&&(A.return=null),c.return=null}catch(F){He(c,r,F)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Qh(r,t),r=r.sibling}function Qh(t,r){var o=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Yt(r,t),cr(t),a&4){try{Bi(3,t,t.return),Ko(3,t)}catch(Z){He(t,t.return,Z)}try{Bi(5,t,t.return)}catch(Z){He(t,t.return,Z)}}break;case 1:Yt(r,t),cr(t),a&512&&o!==null&&Vn(o,o.return);break;case 5:if(Yt(r,t),cr(t),a&512&&o!==null&&Vn(o,o.return),t.flags&32){var c=t.stateNode;try{oi(c,"")}catch(Z){He(t,t.return,Z)}}if(a&4&&(c=t.stateNode,c!=null)){var f=t.memoizedProps,g=o!==null?o.memoizedProps:f,b=t.type,A=t.updateQueue;if(t.updateQueue=null,A!==null)try{b==="input"&&f.type==="radio"&&f.name!=null&&wf(c,f),Ea(b,g);var F=Ea(b,f);for(g=0;g<A.length;g+=2){var z=A[g],H=A[g+1];z==="style"?Af(c,H):z==="dangerouslySetInnerHTML"?Of(c,H):z==="children"?oi(c,H):S(c,z,H,F)}switch(b){case"input":ma(c,f);break;case"textarea":Cf(c,f);break;case"select":var j=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!f.multiple;var W=f.value;W!=null?Tn(c,!!f.multiple,W,!1):j!==!!f.multiple&&(f.defaultValue!=null?Tn(c,!!f.multiple,f.defaultValue,!0):Tn(c,!!f.multiple,f.multiple?[]:"",!1))}c[ki]=f}catch(Z){He(t,t.return,Z)}}break;case 6:if(Yt(r,t),cr(t),a&4){if(t.stateNode===null)throw Error(i(162));c=t.stateNode,f=t.memoizedProps;try{c.nodeValue=f}catch(Z){He(t,t.return,Z)}}break;case 3:if(Yt(r,t),cr(t),a&4&&o!==null&&o.memoizedState.isDehydrated)try{gi(r.containerInfo)}catch(Z){He(t,t.return,Z)}break;case 4:Yt(r,t),cr(t);break;case 13:Yt(r,t),cr(t),c=t.child,c.flags&8192&&(f=c.memoizedState!==null,c.stateNode.isHidden=f,!f||c.alternate!==null&&c.alternate.memoizedState!==null||(Vl=Ge())),a&4&&Xh(t);break;case 22:if(z=o!==null&&o.memoizedState!==null,t.mode&1?(ut=(F=ut)||z,Yt(r,t),ut=F):Yt(r,t),cr(t),a&8192){if(F=t.memoizedState!==null,(t.stateNode.isHidden=F)&&!z&&t.mode&1)for(Q=t,z=t.child;z!==null;){for(H=Q=z;Q!==null;){switch(j=Q,W=j.child,j.tag){case 0:case 11:case 14:case 15:Bi(4,j,j.return);break;case 1:Vn(j,j.return);var Y=j.stateNode;if(typeof Y.componentWillUnmount=="function"){a=j,o=j.return;try{r=a,Y.props=r.memoizedProps,Y.state=r.memoizedState,Y.componentWillUnmount()}catch(Z){He(a,o,Z)}}break;case 5:Vn(j,j.return);break;case 22:if(j.memoizedState!==null){Zh(H);continue}}W!==null?(W.return=j,Q=W):Zh(H)}z=z.sibling}e:for(z=null,H=t;;){if(H.tag===5){if(z===null){z=H;try{c=H.stateNode,F?(f=c.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):(b=H.stateNode,A=H.memoizedProps.style,g=A!=null&&A.hasOwnProperty("display")?A.display:null,b.style.display=Nf("display",g))}catch(Z){He(t,t.return,Z)}}}else if(H.tag===6){if(z===null)try{H.stateNode.nodeValue=F?"":H.memoizedProps}catch(Z){He(t,t.return,Z)}}else if((H.tag!==22&&H.tag!==23||H.memoizedState===null||H===t)&&H.child!==null){H.child.return=H,H=H.child;continue}if(H===t)break e;for(;H.sibling===null;){if(H.return===null||H.return===t)break e;z===H&&(z=null),H=H.return}z===H&&(z=null),H.sibling.return=H.return,H=H.sibling}}break;case 19:Yt(r,t),cr(t),a&4&&Xh(t);break;case 21:break;default:Yt(r,t),cr(t)}}function cr(t){var r=t.flags;if(r&2){try{e:{for(var o=t.return;o!==null;){if(qh(o)){var a=o;break e}o=o.return}throw Error(i(160))}switch(a.tag){case 5:var c=a.stateNode;a.flags&32&&(oi(c,""),a.flags&=-33);var f=Vh(t);Gl(t,f,c);break;case 3:case 4:var g=a.stateNode.containerInfo,b=Vh(t);Hl(t,b,g);break;default:throw Error(i(161))}}catch(A){He(t,t.return,A)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function A_(t,r,o){Q=t,Kh(t)}function Kh(t,r,o){for(var a=(t.mode&1)!==0;Q!==null;){var c=Q,f=c.child;if(c.tag===22&&a){var g=c.memoizedState!==null||Qo;if(!g){var b=c.alternate,A=b!==null&&b.memoizedState!==null||ut;b=Qo;var F=ut;if(Qo=g,(ut=A)&&!F)for(Q=c;Q!==null;)g=Q,A=g.child,g.tag===22&&g.memoizedState!==null?Jh(c):A!==null?(A.return=g,Q=A):Jh(c);for(;f!==null;)Q=f,Kh(f),f=f.sibling;Q=c,Qo=b,ut=F}Yh(t)}else c.subtreeFlags&8772&&f!==null?(f.return=c,Q=f):Yh(t)}}function Yh(t){for(;Q!==null;){var r=Q;if(r.flags&8772){var o=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:ut||Ko(5,r);break;case 1:var a=r.stateNode;if(r.flags&4&&!ut)if(o===null)a.componentDidMount();else{var c=r.elementType===r.type?o.memoizedProps:Qt(r.type,o.memoizedProps);a.componentDidUpdate(c,o.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var f=r.updateQueue;f!==null&&Zd(r,f,a);break;case 3:var g=r.updateQueue;if(g!==null){if(o=null,r.child!==null)switch(r.child.tag){case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}Zd(r,g,o)}break;case 5:var b=r.stateNode;if(o===null&&r.flags&4){o=b;var A=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":A.autoFocus&&o.focus();break;case"img":A.src&&(o.src=A.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var F=r.alternate;if(F!==null){var z=F.memoizedState;if(z!==null){var H=z.dehydrated;H!==null&&gi(H)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}ut||r.flags&512&&Ul(r)}catch(j){He(r,r.return,j)}}if(r===t){Q=null;break}if(o=r.sibling,o!==null){o.return=r.return,Q=o;break}Q=r.return}}function Zh(t){for(;Q!==null;){var r=Q;if(r===t){Q=null;break}var o=r.sibling;if(o!==null){o.return=r.return,Q=o;break}Q=r.return}}function Jh(t){for(;Q!==null;){var r=Q;try{switch(r.tag){case 0:case 11:case 15:var o=r.return;try{Ko(4,r)}catch(A){He(r,o,A)}break;case 1:var a=r.stateNode;if(typeof a.componentDidMount=="function"){var c=r.return;try{a.componentDidMount()}catch(A){He(r,c,A)}}var f=r.return;try{Ul(r)}catch(A){He(r,f,A)}break;case 5:var g=r.return;try{Ul(r)}catch(A){He(r,g,A)}}}catch(A){He(r,r.return,A)}if(r===t){Q=null;break}var b=r.sibling;if(b!==null){b.return=r.return,Q=b;break}Q=r.return}}var P_=Math.ceil,Yo=C.ReactCurrentDispatcher,$l=C.ReactCurrentOwner,zt=C.ReactCurrentBatchConfig,we=0,Ze=null,Ve=null,rt=0,Ot=0,Wn=Fr(0),Ke=0,ji=null,un=0,Zo=0,ql=0,zi=null,bt=null,Vl=0,Xn=1/0,Sr=null,Jo=!1,Wl=null,Hr=null,es=!1,Gr=null,ts=0,Ui=0,Xl=null,rs=-1,ns=0;function dt(){return we&6?Ge():rs!==-1?rs:rs=Ge()}function $r(t){return t.mode&1?we&2&&rt!==0?rt&-rt:m_.transition!==null?(ns===0&&(ns=Vf()),ns):(t=Ne,t!==0||(t=window.event,t=t===void 0?16:td(t.type)),t):1}function Zt(t,r,o,a){if(50<Ui)throw Ui=0,Xl=null,Error(i(185));fi(t,o,a),(!(we&2)||t!==Ze)&&(t===Ze&&(!(we&2)&&(Zo|=o),Ke===4&&qr(t,rt)),wt(t,a),o===1&&we===0&&!(r.mode&1)&&(Xn=Ge()+500,Ao&&Br()))}function wt(t,r){var o=t.callbackNode;m0(t,r);var a=fo(t,t===Ze?rt:0);if(a===0)o!==null&&Gf(o),t.callbackNode=null,t.callbackPriority=0;else if(r=a&-a,t.callbackPriority!==r){if(o!=null&&Gf(o),r===1)t.tag===0?p_(tp.bind(null,t)):zd(tp.bind(null,t)),c_(function(){!(we&6)&&Br()}),o=null;else{switch(Wf(a)){case 1:o=ka;break;case 4:o=$f;break;case 16:o=ao;break;case 536870912:o=qf;break;default:o=ao}o=up(o,ep.bind(null,t))}t.callbackPriority=r,t.callbackNode=o}}function ep(t,r){if(rs=-1,ns=0,we&6)throw Error(i(327));var o=t.callbackNode;if(Qn()&&t.callbackNode!==o)return null;var a=fo(t,t===Ze?rt:0);if(a===0)return null;if(a&30||a&t.expiredLanes||r)r=is(t,a);else{r=a;var c=we;we|=2;var f=np();(Ze!==t||rt!==r)&&(Sr=null,Xn=Ge()+500,fn(t,r));do try{M_();break}catch(b){rp(t,b)}while(!0);dl(),Yo.current=f,we=c,Ve!==null?r=0:(Ze=null,rt=0,r=Ke)}if(r!==0){if(r===2&&(c=Ra(t),c!==0&&(a=c,r=Ql(t,c))),r===1)throw o=ji,fn(t,0),qr(t,a),wt(t,Ge()),o;if(r===6)qr(t,a);else{if(c=t.current.alternate,!(a&30)&&!I_(c)&&(r=is(t,a),r===2&&(f=Ra(t),f!==0&&(a=f,r=Ql(t,f))),r===1))throw o=ji,fn(t,0),qr(t,a),wt(t,Ge()),o;switch(t.finishedWork=c,t.finishedLanes=a,r){case 0:case 1:throw Error(i(345));case 2:dn(t,bt,Sr);break;case 3:if(qr(t,a),(a&130023424)===a&&(r=Vl+500-Ge(),10<r)){if(fo(t,0)!==0)break;if(c=t.suspendedLanes,(c&a)!==a){dt(),t.pingedLanes|=t.suspendedLanes&c;break}t.timeoutHandle=tl(dn.bind(null,t,bt,Sr),r);break}dn(t,bt,Sr);break;case 4:if(qr(t,a),(a&4194240)===a)break;for(r=t.eventTimes,c=-1;0<a;){var g=31-Vt(a);f=1<<g,g=r[g],g>c&&(c=g),a&=~f}if(a=c,a=Ge()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*P_(a/1960))-a,10<a){t.timeoutHandle=tl(dn.bind(null,t,bt,Sr),a);break}dn(t,bt,Sr);break;case 5:dn(t,bt,Sr);break;default:throw Error(i(329))}}}return wt(t,Ge()),t.callbackNode===o?ep.bind(null,t):null}function Ql(t,r){var o=zi;return t.current.memoizedState.isDehydrated&&(fn(t,r).flags|=256),t=is(t,r),t!==2&&(r=bt,bt=o,r!==null&&Kl(r)),t}function Kl(t){bt===null?bt=t:bt.push.apply(bt,t)}function I_(t){for(var r=t;;){if(r.flags&16384){var o=r.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var a=0;a<o.length;a++){var c=o[a],f=c.getSnapshot;c=c.value;try{if(!Wt(f(),c))return!1}catch{return!1}}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function qr(t,r){for(r&=~ql,r&=~Zo,t.suspendedLanes|=r,t.pingedLanes&=~r,t=t.expirationTimes;0<r;){var o=31-Vt(r),a=1<<o;t[o]=-1,r&=~a}}function tp(t){if(we&6)throw Error(i(327));Qn();var r=fo(t,0);if(!(r&1))return wt(t,Ge()),null;var o=is(t,r);if(t.tag!==0&&o===2){var a=Ra(t);a!==0&&(r=a,o=Ql(t,a))}if(o===1)throw o=ji,fn(t,0),qr(t,r),wt(t,Ge()),o;if(o===6)throw Error(i(345));return t.finishedWork=t.current.alternate,t.finishedLanes=r,dn(t,bt,Sr),wt(t,Ge()),null}function Yl(t,r){var o=we;we|=1;try{return t(r)}finally{we=o,we===0&&(Xn=Ge()+500,Ao&&Br())}}function cn(t){Gr!==null&&Gr.tag===0&&!(we&6)&&Qn();var r=we;we|=1;var o=zt.transition,a=Ne;try{if(zt.transition=null,Ne=1,t)return t()}finally{Ne=a,zt.transition=o,we=r,!(we&6)&&Br()}}function Zl(){Ot=Wn.current,Me(Wn)}function fn(t,r){t.finishedWork=null,t.finishedLanes=0;var o=t.timeoutHandle;if(o!==-1&&(t.timeoutHandle=-1,u_(o)),Ve!==null)for(o=Ve.return;o!==null;){var a=o;switch(al(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Oo();break;case 3:$n(),Me(_t),Me(st),El();break;case 5:vl(a);break;case 4:$n();break;case 13:Me(je);break;case 19:Me(je);break;case 10:hl(a.type._context);break;case 22:case 23:Zl()}o=o.return}if(Ze=t,Ve=t=Vr(t.current,null),rt=Ot=r,Ke=0,ji=null,ql=Zo=un=0,bt=zi=null,sn!==null){for(r=0;r<sn.length;r++)if(o=sn[r],a=o.interleaved,a!==null){o.interleaved=null;var c=a.next,f=o.pending;if(f!==null){var g=f.next;f.next=c,a.next=g}o.pending=a}sn=null}return t}function rp(t,r){do{var o=Ve;try{if(dl(),Uo.current=qo,Ho){for(var a=ze.memoizedState;a!==null;){var c=a.queue;c!==null&&(c.pending=null),a=a.next}Ho=!1}if(ln=0,Ye=Qe=ze=null,Ii=!1,Di=0,$l.current=null,o===null||o.return===null){Ke=1,ji=r,Ve=null;break}e:{var f=t,g=o.return,b=o,A=r;if(r=rt,b.flags|=32768,A!==null&&typeof A=="object"&&typeof A.then=="function"){var F=A,z=b,H=z.tag;if(!(z.mode&1)&&(H===0||H===11||H===15)){var j=z.alternate;j?(z.updateQueue=j.updateQueue,z.memoizedState=j.memoizedState,z.lanes=j.lanes):(z.updateQueue=null,z.memoizedState=null)}var W=kh(g);if(W!==null){W.flags&=-257,Rh(W,g,b,f,r),W.mode&1&&Ch(f,F,r),r=W,A=F;var Y=r.updateQueue;if(Y===null){var Z=new Set;Z.add(A),r.updateQueue=Z}else Y.add(A);break e}else{if(!(r&1)){Ch(f,F,r),Jl();break e}A=Error(i(426))}}else if(Be&&b.mode&1){var $e=kh(g);if($e!==null){!($e.flags&65536)&&($e.flags|=256),Rh($e,g,b,f,r),cl(qn(A,b));break e}}f=A=qn(A,b),Ke!==4&&(Ke=2),zi===null?zi=[f]:zi.push(f),f=g;do{switch(f.tag){case 3:f.flags|=65536,r&=-r,f.lanes|=r;var D=xh(f,A,r);Yd(f,D);break e;case 1:b=A;var P=f.type,M=f.stateNode;if(!(f.flags&128)&&(typeof P.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(Hr===null||!Hr.has(M)))){f.flags|=65536,r&=-r,f.lanes|=r;var G=Th(f,b,r);Yd(f,G);break e}}f=f.return}while(f!==null)}op(o)}catch(ee){r=ee,Ve===o&&o!==null&&(Ve=o=o.return);continue}break}while(!0)}function np(){var t=Yo.current;return Yo.current=qo,t===null?qo:t}function Jl(){(Ke===0||Ke===3||Ke===2)&&(Ke=4),Ze===null||!(un&268435455)&&!(Zo&268435455)||qr(Ze,rt)}function is(t,r){var o=we;we|=2;var a=np();(Ze!==t||rt!==r)&&(Sr=null,fn(t,r));do try{D_();break}catch(c){rp(t,c)}while(!0);if(dl(),we=o,Yo.current=a,Ve!==null)throw Error(i(261));return Ze=null,rt=0,Ke}function D_(){for(;Ve!==null;)ip(Ve)}function M_(){for(;Ve!==null&&!s0();)ip(Ve)}function ip(t){var r=lp(t.alternate,t,Ot);t.memoizedProps=t.pendingProps,r===null?op(t):Ve=r,$l.current=null}function op(t){var r=t;do{var o=r.alternate;if(t=r.return,r.flags&32768){if(o=R_(o,r),o!==null){o.flags&=32767,Ve=o;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Ke=6,Ve=null;return}}else if(o=k_(o,r,Ot),o!==null){Ve=o;return}if(r=r.sibling,r!==null){Ve=r;return}Ve=r=t}while(r!==null);Ke===0&&(Ke=5)}function dn(t,r,o){var a=Ne,c=zt.transition;try{zt.transition=null,Ne=1,F_(t,r,o,a)}finally{zt.transition=c,Ne=a}return null}function F_(t,r,o,a){do Qn();while(Gr!==null);if(we&6)throw Error(i(327));o=t.finishedWork;var c=t.finishedLanes;if(o===null)return null;if(t.finishedWork=null,t.finishedLanes=0,o===t.current)throw Error(i(177));t.callbackNode=null,t.callbackPriority=0;var f=o.lanes|o.childLanes;if(g0(t,f),t===Ze&&(Ve=Ze=null,rt=0),!(o.subtreeFlags&2064)&&!(o.flags&2064)||es||(es=!0,up(ao,function(){return Qn(),null})),f=(o.flags&15990)!==0,o.subtreeFlags&15990||f){f=zt.transition,zt.transition=null;var g=Ne;Ne=1;var b=we;we|=4,$l.current=null,N_(t,o),Qh(o,t),r_(Ja),mo=!!Za,Ja=Za=null,t.current=o,A_(o),a0(),we=b,Ne=g,zt.transition=f}else t.current=o;if(es&&(es=!1,Gr=t,ts=c),f=t.pendingLanes,f===0&&(Hr=null),c0(o.stateNode),wt(t,Ge()),r!==null)for(a=t.onRecoverableError,o=0;o<r.length;o++)c=r[o],a(c.value,{componentStack:c.stack,digest:c.digest});if(Jo)throw Jo=!1,t=Wl,Wl=null,t;return ts&1&&t.tag!==0&&Qn(),f=t.pendingLanes,f&1?t===Xl?Ui++:(Ui=0,Xl=t):Ui=0,Br(),null}function Qn(){if(Gr!==null){var t=Wf(ts),r=zt.transition,o=Ne;try{if(zt.transition=null,Ne=16>t?16:t,Gr===null)var a=!1;else{if(t=Gr,Gr=null,ts=0,we&6)throw Error(i(331));var c=we;for(we|=4,Q=t.current;Q!==null;){var f=Q,g=f.child;if(Q.flags&16){var b=f.deletions;if(b!==null){for(var A=0;A<b.length;A++){var F=b[A];for(Q=F;Q!==null;){var z=Q;switch(z.tag){case 0:case 11:case 15:Bi(8,z,f)}var H=z.child;if(H!==null)H.return=z,Q=H;else for(;Q!==null;){z=Q;var j=z.sibling,W=z.return;if($h(z),z===F){Q=null;break}if(j!==null){j.return=W,Q=j;break}Q=W}}}var Y=f.alternate;if(Y!==null){var Z=Y.child;if(Z!==null){Y.child=null;do{var $e=Z.sibling;Z.sibling=null,Z=$e}while(Z!==null)}}Q=f}}if(f.subtreeFlags&2064&&g!==null)g.return=f,Q=g;else e:for(;Q!==null;){if(f=Q,f.flags&2048)switch(f.tag){case 0:case 11:case 15:Bi(9,f,f.return)}var D=f.sibling;if(D!==null){D.return=f.return,Q=D;break e}Q=f.return}}var P=t.current;for(Q=P;Q!==null;){g=Q;var M=g.child;if(g.subtreeFlags&2064&&M!==null)M.return=g,Q=M;else e:for(g=P;Q!==null;){if(b=Q,b.flags&2048)try{switch(b.tag){case 0:case 11:case 15:Ko(9,b)}}catch(ee){He(b,b.return,ee)}if(b===g){Q=null;break e}var G=b.sibling;if(G!==null){G.return=b.return,Q=G;break e}Q=b.return}}if(we=c,Br(),sr&&typeof sr.onPostCommitFiberRoot=="function")try{sr.onPostCommitFiberRoot(lo,t)}catch{}a=!0}return a}finally{Ne=o,zt.transition=r}}return!1}function sp(t,r,o){r=qn(o,r),r=xh(t,r,1),t=zr(t,r,1),r=dt(),t!==null&&(fi(t,1,r),wt(t,r))}function He(t,r,o){if(t.tag===3)sp(t,t,o);else for(;r!==null;){if(r.tag===3){sp(r,t,o);break}else if(r.tag===1){var a=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Hr===null||!Hr.has(a))){t=qn(o,t),t=Th(r,t,1),r=zr(r,t,1),t=dt(),r!==null&&(fi(r,1,t),wt(r,t));break}}r=r.return}}function L_(t,r,o){var a=t.pingCache;a!==null&&a.delete(r),r=dt(),t.pingedLanes|=t.suspendedLanes&o,Ze===t&&(rt&o)===o&&(Ke===4||Ke===3&&(rt&130023424)===rt&&500>Ge()-Vl?fn(t,0):ql|=o),wt(t,r)}function ap(t,r){r===0&&(t.mode&1?(r=co,co<<=1,!(co&130023424)&&(co=4194304)):r=1);var o=dt();t=vr(t,r),t!==null&&(fi(t,r,o),wt(t,o))}function B_(t){var r=t.memoizedState,o=0;r!==null&&(o=r.retryLane),ap(t,o)}function j_(t,r){var o=0;switch(t.tag){case 13:var a=t.stateNode,c=t.memoizedState;c!==null&&(o=c.retryLane);break;case 19:a=t.stateNode;break;default:throw Error(i(314))}a!==null&&a.delete(r),ap(t,o)}var lp;lp=function(t,r,o){if(t!==null)if(t.memoizedProps!==r.pendingProps||_t.current)St=!0;else{if(!(t.lanes&o)&&!(r.flags&128))return St=!1,C_(t,r,o);St=!!(t.flags&131072)}else St=!1,Be&&r.flags&1048576&&Ud(r,Io,r.index);switch(r.lanes=0,r.tag){case 2:var a=r.type;Xo(t,r),t=r.pendingProps;var c=Ln(r,st.current);Gn(r,o),c=wl(null,r,a,t,c,o);var f=xl();return r.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Et(a)?(f=!0,No(r)):f=!1,r.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,gl(r),c.updater=Vo,r.stateNode=c,c._reactInternals=r,Nl(r,a,t,o),r=Dl(null,r,a,!0,f,o)):(r.tag=0,Be&&f&&sl(r),ft(null,r,c,o),r=r.child),r;case 16:a=r.elementType;e:{switch(Xo(t,r),t=r.pendingProps,c=a._init,a=c(a._payload),r.type=a,c=r.tag=U_(a),t=Qt(a,t),c){case 0:r=Il(null,r,a,t,o);break e;case 1:r=Dh(null,r,a,t,o);break e;case 11:r=Oh(null,r,a,t,o);break e;case 14:r=Nh(null,r,a,Qt(a.type,t),o);break e}throw Error(i(306,a,""))}return r;case 0:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:Qt(a,c),Il(t,r,a,c,o);case 1:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:Qt(a,c),Dh(t,r,a,c,o);case 3:e:{if(Mh(r),t===null)throw Error(i(387));a=r.pendingProps,f=r.memoizedState,c=f.element,Kd(t,r),jo(r,a,null,o);var g=r.memoizedState;if(a=g.element,f.isDehydrated)if(f={element:a,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},r.updateQueue.baseState=f,r.memoizedState=f,r.flags&256){c=qn(Error(i(423)),r),r=Fh(t,r,a,o,c);break e}else if(a!==c){c=qn(Error(i(424)),r),r=Fh(t,r,a,o,c);break e}else for(Rt=Mr(r.stateNode.containerInfo.firstChild),kt=r,Be=!0,Xt=null,o=Xd(r,null,a,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(zn(),a===c){r=Er(t,r,o);break e}ft(t,r,a,o)}r=r.child}return r;case 5:return Jd(r),t===null&&ul(r),a=r.type,c=r.pendingProps,f=t!==null?t.memoizedProps:null,g=c.children,el(a,c)?g=null:f!==null&&el(a,f)&&(r.flags|=32),Ih(t,r),ft(t,r,g,o),r.child;case 6:return t===null&&ul(r),null;case 13:return Lh(t,r,o);case 4:return yl(r,r.stateNode.containerInfo),a=r.pendingProps,t===null?r.child=Un(r,null,a,o):ft(t,r,a,o),r.child;case 11:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:Qt(a,c),Oh(t,r,a,c,o);case 7:return ft(t,r,r.pendingProps,o),r.child;case 8:return ft(t,r,r.pendingProps.children,o),r.child;case 12:return ft(t,r,r.pendingProps.children,o),r.child;case 10:e:{if(a=r.type._context,c=r.pendingProps,f=r.memoizedProps,g=c.value,Pe(Fo,a._currentValue),a._currentValue=g,f!==null)if(Wt(f.value,g)){if(f.children===c.children&&!_t.current){r=Er(t,r,o);break e}}else for(f=r.child,f!==null&&(f.return=r);f!==null;){var b=f.dependencies;if(b!==null){g=f.child;for(var A=b.firstContext;A!==null;){if(A.context===a){if(f.tag===1){A=_r(-1,o&-o),A.tag=2;var F=f.updateQueue;if(F!==null){F=F.shared;var z=F.pending;z===null?A.next=A:(A.next=z.next,z.next=A),F.pending=A}}f.lanes|=o,A=f.alternate,A!==null&&(A.lanes|=o),pl(f.return,o,r),b.lanes|=o;break}A=A.next}}else if(f.tag===10)g=f.type===r.type?null:f.child;else if(f.tag===18){if(g=f.return,g===null)throw Error(i(341));g.lanes|=o,b=g.alternate,b!==null&&(b.lanes|=o),pl(g,o,r),g=f.sibling}else g=f.child;if(g!==null)g.return=f;else for(g=f;g!==null;){if(g===r){g=null;break}if(f=g.sibling,f!==null){f.return=g.return,g=f;break}g=g.return}f=g}ft(t,r,c.children,o),r=r.child}return r;case 9:return c=r.type,a=r.pendingProps.children,Gn(r,o),c=Bt(c),a=a(c),r.flags|=1,ft(t,r,a,o),r.child;case 14:return a=r.type,c=Qt(a,r.pendingProps),c=Qt(a.type,c),Nh(t,r,a,c,o);case 15:return Ah(t,r,r.type,r.pendingProps,o);case 17:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:Qt(a,c),Xo(t,r),r.tag=1,Et(a)?(t=!0,No(r)):t=!1,Gn(r,o),bh(r,a,c),Nl(r,a,c,o),Dl(null,r,a,!0,t,o);case 19:return jh(t,r,o);case 22:return Ph(t,r,o)}throw Error(i(156,r.tag))};function up(t,r){return Hf(t,r)}function z_(t,r,o,a){this.tag=t,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ut(t,r,o,a){return new z_(t,r,o,a)}function eu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function U_(t){if(typeof t=="function")return eu(t)?1:0;if(t!=null){if(t=t.$$typeof,t===de)return 11;if(t===Ie)return 14}return 2}function Vr(t,r){var o=t.alternate;return o===null?(o=Ut(t.tag,r,t.key,t.mode),o.elementType=t.elementType,o.type=t.type,o.stateNode=t.stateNode,o.alternate=t,t.alternate=o):(o.pendingProps=r,o.type=t.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=t.flags&14680064,o.childLanes=t.childLanes,o.lanes=t.lanes,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,r=t.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=t.sibling,o.index=t.index,o.ref=t.ref,o}function os(t,r,o,a,c,f){var g=2;if(a=t,typeof t=="function")eu(t)&&(g=1);else if(typeof t=="string")g=5;else e:switch(t){case U:return hn(o.children,c,f,r);case V:g=8,c|=8;break;case se:return t=Ut(12,o,r,c|2),t.elementType=se,t.lanes=f,t;case ae:return t=Ut(13,o,r,c),t.elementType=ae,t.lanes=f,t;case Le:return t=Ut(19,o,r,c),t.elementType=Le,t.lanes=f,t;case Ae:return ss(o,c,f,r);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case te:g=10;break e;case fe:g=9;break e;case de:g=11;break e;case Ie:g=14;break e;case qe:g=16,a=null;break e}throw Error(i(130,t==null?t:typeof t,""))}return r=Ut(g,o,r,c),r.elementType=t,r.type=a,r.lanes=f,r}function hn(t,r,o,a){return t=Ut(7,t,a,r),t.lanes=o,t}function ss(t,r,o,a){return t=Ut(22,t,a,r),t.elementType=Ae,t.lanes=o,t.stateNode={isHidden:!1},t}function tu(t,r,o){return t=Ut(6,t,null,r),t.lanes=o,t}function ru(t,r,o){return r=Ut(4,t.children!==null?t.children:[],t.key,r),r.lanes=o,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}function H_(t,r,o,a,c){this.tag=r,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Oa(0),this.expirationTimes=Oa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Oa(0),this.identifierPrefix=a,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function nu(t,r,o,a,c,f,g,b,A){return t=new H_(t,r,o,b,A),r===1?(r=1,f===!0&&(r|=8)):r=0,f=Ut(3,null,null,r),t.current=f,f.stateNode=t,f.memoizedState={element:a,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},gl(f),t}function G_(t,r,o){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:L,key:a==null?null:""+a,children:t,containerInfo:r,implementation:o}}function cp(t){if(!t)return Lr;t=t._reactInternals;e:{if(en(t)!==t||t.tag!==1)throw Error(i(170));var r=t;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Et(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(i(171))}if(t.tag===1){var o=t.type;if(Et(o))return Bd(t,o,r)}return r}function fp(t,r,o,a,c,f,g,b,A){return t=nu(o,a,!0,t,c,f,g,b,A),t.context=cp(null),o=t.current,a=dt(),c=$r(o),f=_r(a,c),f.callback=r??null,zr(o,f,c),t.current.lanes=c,fi(t,c,a),wt(t,a),t}function as(t,r,o,a){var c=r.current,f=dt(),g=$r(c);return o=cp(o),r.context===null?r.context=o:r.pendingContext=o,r=_r(f,g),r.payload={element:t},a=a===void 0?null:a,a!==null&&(r.callback=a),t=zr(c,r,g),t!==null&&(Zt(t,c,g,f),Bo(t,c,g)),g}function ls(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function dp(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var o=t.retryLane;t.retryLane=o!==0&&o<r?o:r}}function iu(t,r){dp(t,r),(t=t.alternate)&&dp(t,r)}function $_(){return null}var hp=typeof reportError=="function"?reportError:function(t){console.error(t)};function ou(t){this._internalRoot=t}us.prototype.render=ou.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(i(409));as(t,r,null,null)},us.prototype.unmount=ou.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;cn(function(){as(null,t,null,null)}),r[pr]=null}};function us(t){this._internalRoot=t}us.prototype.unstable_scheduleHydration=function(t){if(t){var r=Kf();t={blockedOn:null,target:t,priority:r};for(var o=0;o<Pr.length&&r!==0&&r<Pr[o].priority;o++);Pr.splice(o,0,t),o===0&&Jf(t)}};function su(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function cs(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function pp(){}function q_(t,r,o,a,c){if(c){if(typeof a=="function"){var f=a;a=function(){var F=ls(g);f.call(F)}}var g=fp(r,a,t,0,null,!1,!1,"",pp);return t._reactRootContainer=g,t[pr]=g.current,Ti(t.nodeType===8?t.parentNode:t),cn(),g}for(;c=t.lastChild;)t.removeChild(c);if(typeof a=="function"){var b=a;a=function(){var F=ls(A);b.call(F)}}var A=nu(t,0,!1,null,null,!1,!1,"",pp);return t._reactRootContainer=A,t[pr]=A.current,Ti(t.nodeType===8?t.parentNode:t),cn(function(){as(r,A,o,a)}),A}function fs(t,r,o,a,c){var f=o._reactRootContainer;if(f){var g=f;if(typeof c=="function"){var b=c;c=function(){var A=ls(g);b.call(A)}}as(r,g,t,c)}else g=q_(o,r,t,c,a);return ls(g)}Xf=function(t){switch(t.tag){case 3:var r=t.stateNode;if(r.current.memoizedState.isDehydrated){var o=ci(r.pendingLanes);o!==0&&(Na(r,o|1),wt(r,Ge()),!(we&6)&&(Xn=Ge()+500,Br()))}break;case 13:cn(function(){var a=vr(t,1);if(a!==null){var c=dt();Zt(a,t,1,c)}}),iu(t,1)}},Aa=function(t){if(t.tag===13){var r=vr(t,134217728);if(r!==null){var o=dt();Zt(r,t,134217728,o)}iu(t,134217728)}},Qf=function(t){if(t.tag===13){var r=$r(t),o=vr(t,r);if(o!==null){var a=dt();Zt(o,t,r,a)}iu(t,r)}},Kf=function(){return Ne},Yf=function(t,r){var o=Ne;try{return Ne=t,r()}finally{Ne=o}},wa=function(t,r,o){switch(r){case"input":if(ma(t,o),r=o.name,o.type==="radio"&&r!=null){for(o=t;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<o.length;r++){var a=o[r];if(a!==t&&a.form===t.form){var c=Ro(a);if(!c)throw Error(i(90));ct(a),ma(a,c)}}}break;case"textarea":Cf(t,o);break;case"select":r=o.value,r!=null&&Tn(t,!!o.multiple,r,!1)}},Mf=Yl,Ff=cn;var V_={usingClientEntryPoint:!1,Events:[Ri,Mn,Ro,If,Df,Yl]},Hi={findFiberByHostInstance:tn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},W_={bundleType:Hi.bundleType,version:Hi.version,rendererPackageName:Hi.rendererPackageName,rendererConfig:Hi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=zf(t),t===null?null:t.stateNode},findFiberByHostInstance:Hi.findFiberByHostInstance||$_,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 ds=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ds.isDisabled&&ds.supportsFiber)try{lo=ds.inject(W_),sr=ds}catch{}}return xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V_,xt.createPortal=function(t,r){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!su(r))throw Error(i(200));return G_(t,r,null,o)},xt.createRoot=function(t,r){if(!su(t))throw Error(i(299));var o=!1,a="",c=hp;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=nu(t,1,!1,null,null,o,!1,a,c),t[pr]=r.current,Ti(t.nodeType===8?t.parentNode:t),new ou(r)},xt.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var r=t._reactInternals;if(r===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=zf(r),t=t===null?null:t.stateNode,t},xt.flushSync=function(t){return cn(t)},xt.hydrate=function(t,r,o){if(!cs(r))throw Error(i(200));return fs(null,t,r,!0,o)},xt.hydrateRoot=function(t,r,o){if(!su(t))throw Error(i(405));var a=o!=null&&o.hydratedSources||null,c=!1,f="",g=hp;if(o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onRecoverableError!==void 0&&(g=o.onRecoverableError)),r=fp(r,null,t,1,o??null,c,!1,f,g),t[pr]=r.current,Ti(t),a)for(t=0;t<a.length;t++)o=a[t],c=o._getVersion,c=c(o._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[o,c]:r.mutableSourceEagerHydrationData.push(o,c);return new us(r)},xt.render=function(t,r,o){if(!cs(r))throw Error(i(200));return fs(null,t,r,!1,o)},xt.unmountComponentAtNode=function(t){if(!cs(t))throw Error(i(40));return t._reactRootContainer?(cn(function(){fs(null,null,t,!1,function(){t._reactRootContainer=null,t[pr]=null})}),!0):!1},xt.unstable_batchedUpdates=Yl,xt.unstable_renderSubtreeIntoContainer=function(t,r,o,a){if(!cs(o))throw Error(i(200));if(t==null||t._reactInternals===void 0)throw Error(i(38));return fs(t,r,o,!1,a)},xt.version="18.3.1-next-f1338f8080-20240426",xt}var bp;function i1(){if(bp)return uu.exports;bp=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),uu.exports=n1(),uu.exports}var wp;function o1(){if(wp)return ps;wp=1;var e=i1();return ps.createRoot=e.createRoot,ps.hydrateRoot=e.hydrateRoot,ps}var s1=o1(),K=ti();const ir=ea(K),xp=Y_({__proto__:null,default:ir},[K]);var du={exports:{}},hu={};/**
|
|
41
|
+
* @license React
|
|
42
|
+
* use-sync-external-store-with-selector.production.min.js
|
|
43
|
+
*
|
|
44
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
45
|
+
*
|
|
46
|
+
* This source code is licensed under the MIT license found in the
|
|
47
|
+
* LICENSE file in the root directory of this source tree.
|
|
48
|
+
*/var Tp;function a1(){if(Tp)return hu;Tp=1;var e=ti();function n(p,E){return p===E&&(p!==0||1/p===1/E)||p!==p&&E!==E}var i=typeof Object.is=="function"?Object.is:n,s=e.useSyncExternalStore,l=e.useRef,u=e.useEffect,d=e.useMemo,h=e.useDebugValue;return hu.useSyncExternalStoreWithSelector=function(p,E,y,w,m){var _=l(null);if(_.current===null){var v={hasValue:!1,value:null};_.current=v}else v=_.current;_=d(function(){function x(k){if(!N){if(N=!0,O=k,k=w(k),m!==void 0&&v.hasValue){var L=v.value;if(m(L,k))return S=L}return S=k}if(L=S,i(O,k))return L;var U=w(k);return m!==void 0&&m(L,U)?L:(O=k,S=U)}var N=!1,O,S,C=y===void 0?null:y;return[function(){return x(E())},C===null?void 0:function(){return x(C())}]},[E,y,w,m]);var T=s(p,_[0],_[1]);return u(function(){v.hasValue=!0,v.value=T},[T]),h(T),T},hu}var Cp;function l1(){return Cp||(Cp=1,du.exports=a1()),du.exports}var u1=l1(),be="default"in xp?ir:xp,kp=Symbol.for("react-redux-context"),Rp=typeof globalThis<"u"?globalThis:{};function c1(){if(!be.createContext)return{};const e=Rp[kp]??(Rp[kp]=new Map);let n=e.get(be.createContext);return n||(n=be.createContext(null),e.set(be.createContext,n)),n}var kr=c1(),$g=()=>{throw new Error("uSES not initialized!")};function Lc(e=kr){return function(){return be.useContext(e)}}var qg=Lc(),Vg=$g,f1=e=>{Vg=e},d1=(e,n)=>e===n;function h1(e=kr){const n=e===kr?qg:Lc(e),i=(s,l={})=>{const{equalityFn:u=d1,devModeChecks:d={}}=typeof l=="function"?{equalityFn:l}:l,{store:h,subscription:p,getServerState:E,stabilityCheck:y,identityFunctionCheck:w}=n();be.useRef(!0);const m=be.useCallback({[s.name](v){return s(v)}}[s.name],[s,y,d.stabilityCheck]),_=Vg(p.addNestedSub,h.getState,E||h.getState,m,u);return be.useDebugValue(_),_};return Object.assign(i,{withTypes:()=>i}),i}var p1=h1(),m1=Symbol.for("react.element"),g1=Symbol.for("react.portal"),y1=Symbol.for("react.fragment"),v1=Symbol.for("react.strict_mode"),_1=Symbol.for("react.profiler"),E1=Symbol.for("react.provider"),S1=Symbol.for("react.context"),b1=Symbol.for("react.server_context"),Wg=Symbol.for("react.forward_ref"),w1=Symbol.for("react.suspense"),x1=Symbol.for("react.suspense_list"),Bc=Symbol.for("react.memo"),T1=Symbol.for("react.lazy"),C1=Wg,k1=Bc;function R1(e){if(typeof e=="object"&&e!==null){const n=e.$$typeof;switch(n){case m1:{const i=e.type;switch(i){case y1:case _1:case v1:case w1:case x1:return i;default:{const s=i&&i.$$typeof;switch(s){case b1:case S1:case Wg:case T1:case Bc:case E1:return s;default:return n}}}}case g1:return n}}}function O1(e){return R1(e)===Bc}function N1(e,n,i,s,{areStatesEqual:l,areOwnPropsEqual:u,areStatePropsEqual:d}){let h=!1,p,E,y,w,m;function _(O,S){return p=O,E=S,y=e(p,E),w=n(s,E),m=i(y,w,E),h=!0,m}function v(){return y=e(p,E),n.dependsOnOwnProps&&(w=n(s,E)),m=i(y,w,E),m}function T(){return e.dependsOnOwnProps&&(y=e(p,E)),n.dependsOnOwnProps&&(w=n(s,E)),m=i(y,w,E),m}function x(){const O=e(p,E),S=!d(O,y);return y=O,S&&(m=i(y,w,E)),m}function N(O,S){const C=!u(S,E),k=!l(O,p,S,E);return p=O,E=S,C&&k?v():C?T():k?x():m}return function(S,C){return h?N(S,C):_(S,C)}}function A1(e,{initMapStateToProps:n,initMapDispatchToProps:i,initMergeProps:s,...l}){const u=n(e,l),d=i(e,l),h=s(e,l);return N1(u,d,h,e,l)}function P1(e,n){const i={};for(const s in e){const l=e[s];typeof l=="function"&&(i[s]=(...u)=>n(l(...u)))}return i}function sc(e){return function(i){const s=e(i);function l(){return s}return l.dependsOnOwnProps=!1,l}}function Op(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function Xg(e,n){return function(s,{displayName:l}){const u=function(h,p){return u.dependsOnOwnProps?u.mapToProps(h,p):u.mapToProps(h,void 0)};return u.dependsOnOwnProps=!0,u.mapToProps=function(h,p){u.mapToProps=e,u.dependsOnOwnProps=Op(e);let E=u(h,p);return typeof E=="function"&&(u.mapToProps=E,u.dependsOnOwnProps=Op(E),E=u(h,p)),E},u}}function jc(e,n){return(i,s)=>{throw new Error(`Invalid value of type ${typeof e} for ${n} argument when connecting component ${s.wrappedComponentName}.`)}}function I1(e){return e&&typeof e=="object"?sc(n=>P1(e,n)):e?typeof e=="function"?Xg(e):jc(e,"mapDispatchToProps"):sc(n=>({dispatch:n}))}function D1(e){return e?typeof e=="function"?Xg(e):jc(e,"mapStateToProps"):sc(()=>({}))}function M1(e,n,i){return{...i,...e,...n}}function F1(e){return function(i,{displayName:s,areMergedPropsEqual:l}){let u=!1,d;return function(p,E,y){const w=e(p,E,y);return u?l(w,d)||(d=w):(u=!0,d=w),d}}}function L1(e){return e?typeof e=="function"?F1(e):jc(e,"mergeProps"):()=>M1}function B1(e){e()}function j1(){let e=null,n=null;return{clear(){e=null,n=null},notify(){B1(()=>{let i=e;for(;i;)i.callback(),i=i.next})},get(){const i=[];let s=e;for(;s;)i.push(s),s=s.next;return i},subscribe(i){let s=!0;const l=n={callback:i,next:null,prev:n};return l.prev?l.prev.next=l:e=l,function(){!s||e===null||(s=!1,l.next?l.next.prev=l.prev:n=l.prev,l.prev?l.prev.next=l.next:e=l.next)}}}}var Np={notify(){},get:()=>[]};function Qg(e,n){let i,s=Np,l=0,u=!1;function d(T){y();const x=s.subscribe(T);let N=!1;return()=>{N||(N=!0,x(),w())}}function h(){s.notify()}function p(){v.onStateChange&&v.onStateChange()}function E(){return u}function y(){l++,i||(i=n?n.addNestedSub(p):e.subscribe(p),s=j1())}function w(){l--,i&&l===0&&(i(),i=void 0,s.clear(),s=Np)}function m(){u||(u=!0,y())}function _(){u&&(u=!1,w())}const v={addNestedSub:d,notifyNestedSubs:h,handleChangeWrapper:p,isSubscribed:E,trySubscribe:m,tryUnsubscribe:_,getListeners:()=>s};return v}var z1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",U1=typeof navigator<"u"&&navigator.product==="ReactNative",Vs=z1||U1?be.useLayoutEffect:be.useEffect;function Ap(e,n){return e===n?e!==0||n!==0||1/e===1/n:e!==e&&n!==n}function pu(e,n){if(Ap(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;const i=Object.keys(e),s=Object.keys(n);if(i.length!==s.length)return!1;for(let l=0;l<i.length;l++)if(!Object.prototype.hasOwnProperty.call(n,i[l])||!Ap(e[i[l]],n[i[l]]))return!1;return!0}var H1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},G1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},$1={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Kg={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},q1={[C1]:$1,[k1]:Kg};function Pp(e){return O1(e)?Kg:q1[e.$$typeof]||H1}var V1=Object.defineProperty,W1=Object.getOwnPropertyNames,Ip=Object.getOwnPropertySymbols,X1=Object.getOwnPropertyDescriptor,Q1=Object.getPrototypeOf,Dp=Object.prototype;function ac(e,n){if(typeof n!="string"){if(Dp){const u=Q1(n);u&&u!==Dp&&ac(e,u)}let i=W1(n);Ip&&(i=i.concat(Ip(n)));const s=Pp(e),l=Pp(n);for(let u=0;u<i.length;++u){const d=i[u];if(!G1[d]&&!(l&&l[d])&&!(s&&s[d])){const h=X1(n,d);try{V1(e,d,h)}catch{}}}}return e}var Yg=$g,K1=e=>{Yg=e},Y1=[null,null];function Z1(e,n,i){Vs(()=>e(...n),i)}function J1(e,n,i,s,l,u){e.current=s,i.current=!1,l.current&&(l.current=null,u())}function eE(e,n,i,s,l,u,d,h,p,E,y){if(!e)return()=>{};let w=!1,m=null;const _=()=>{if(w||!h.current)return;const T=n.getState();let x,N;try{x=s(T,l.current)}catch(O){N=O,m=O}N||(m=null),x===u.current?d.current||E():(u.current=x,p.current=x,d.current=!0,y())};return i.onStateChange=_,i.trySubscribe(),_(),()=>{if(w=!0,i.tryUnsubscribe(),i.onStateChange=null,m)throw m}}function tE(e,n){return e===n}function rE(e,n,i,{pure:s,areStatesEqual:l=tE,areOwnPropsEqual:u=pu,areStatePropsEqual:d=pu,areMergedPropsEqual:h=pu,forwardRef:p=!1,context:E=kr}={}){const y=E,w=D1(e),m=I1(n),_=L1(i),v=!!e;return x=>{const N=x.displayName||x.name||"Component",O=`Connect(${N})`,S={shouldHandleStateChanges:v,displayName:O,wrappedComponentName:N,WrappedComponent:x,initMapStateToProps:w,initMapDispatchToProps:m,initMergeProps:_,areStatesEqual:l,areStatePropsEqual:d,areOwnPropsEqual:u,areMergedPropsEqual:h};function C(U){const[V,se,te]=be.useMemo(()=>{const{reactReduxForwardedRef:ct,...or}=U;return[U.context,ct,or]},[U]),fe=be.useMemo(()=>{let ct=y;return V!=null&&V.Consumer,ct},[V,y]),de=be.useContext(fe),ae=!!U.store&&!!U.store.getState&&!!U.store.dispatch,Le=!!de&&!!de.store,Ie=ae?U.store:de.store,qe=Le?de.getServerState:Ie.getState,Ae=be.useMemo(()=>A1(Ie.dispatch,S),[Ie]),[q,ne]=be.useMemo(()=>{if(!v)return Y1;const ct=Qg(Ie,ae?void 0:de.subscription),or=ct.notifyNestedSubs.bind(ct);return[ct,or]},[Ie,ae,de]),X=be.useMemo(()=>ae?de:{...de,subscription:q},[ae,de,q]),I=be.useRef(void 0),B=be.useRef(te),ce=be.useRef(void 0),he=be.useRef(!1),ye=be.useRef(!1),ve=be.useRef(void 0);Vs(()=>(ye.current=!0,()=>{ye.current=!1}),[]);const Re=be.useMemo(()=>()=>ce.current&&te===B.current?ce.current:Ae(Ie.getState(),te),[Ie,te]),Ce=be.useMemo(()=>or=>q?eE(v,Ie,q,Ae,B,I,he,ye,ce,ne,or):()=>{},[q]);Z1(J1,[B,I,he,te,ce,ne]);let Oe;try{Oe=Yg(Ce,Re,qe?()=>Ae(qe(),te):Re)}catch(ct){throw ve.current&&(ct.message+=`
|
|
49
|
+
The error may be correlated with this previous error:
|
|
50
|
+
${ve.current.stack}
|
|
51
|
+
|
|
52
|
+
`),ct}Vs(()=>{ve.current=void 0,ce.current=void 0,I.current=Oe});const et=be.useMemo(()=>be.createElement(x,{...Oe,ref:se}),[se,x,Oe]);return be.useMemo(()=>v?be.createElement(fe.Provider,{value:X},et):et,[fe,et,X])}const L=be.memo(C);if(L.WrappedComponent=x,L.displayName=C.displayName=O,p){const V=be.forwardRef(function(te,fe){return be.createElement(L,{...te,reactReduxForwardedRef:fe})});return V.displayName=O,V.WrappedComponent=x,ac(V,x)}return ac(L,x)}}var nE=rE;function iE({store:e,context:n,children:i,serverState:s,stabilityCheck:l="once",identityFunctionCheck:u="once"}){const d=be.useMemo(()=>{const E=Qg(e);return{store:e,subscription:E,getServerState:s?()=>s:void 0,stabilityCheck:l,identityFunctionCheck:u}},[e,s,l,u]),h=be.useMemo(()=>e.getState(),[e]);Vs(()=>{const{subscription:E}=d;return E.onStateChange=E.notifyNestedSubs,E.trySubscribe(),h!==e.getState()&&E.notifyNestedSubs(),()=>{E.tryUnsubscribe(),E.onStateChange=void 0}},[d,h]);const p=n||kr;return be.createElement(p.Provider,{value:d},i)}var oE=iE;function Zg(e=kr){const n=e===kr?qg:Lc(e),i=()=>{const{store:s}=n();return s};return Object.assign(i,{withTypes:()=>i}),i}var sE=Zg();function aE(e=kr){const n=e===kr?sE:Zg(e),i=()=>n().dispatch;return Object.assign(i,{withTypes:()=>i}),i}var lE=aE();f1(u1.useSyncExternalStoreWithSelector);K1(K.useSyncExternalStore);var lc=function(e,n){return lc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,s){i.__proto__=s}||function(i,s){for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(i[l]=s[l])},lc(e,n)};function Gt(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");lc(e,n);function i(){this.constructor=e}e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}var J=function(){return J=Object.assign||function(n){for(var i,s=1,l=arguments.length;s<l;s++){i=arguments[s];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])}return n},J.apply(this,arguments)};function ta(e,n){var i={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&n.indexOf(s)<0&&(i[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,s=Object.getOwnPropertySymbols(e);l<s.length;l++)n.indexOf(s[l])<0&&Object.prototype.propertyIsEnumerable.call(e,s[l])&&(i[s[l]]=e[s[l]]);return i}function vt(e,n,i){if(i||arguments.length===2)for(var s=0,l=n.length,u;s<l;s++)(u||!(s in n))&&(u||(u=Array.prototype.slice.call(n,0,s)),u[s]=n[s]);return e.concat(u||Array.prototype.slice.call(n))}function pt(e,n){var i=n&&n.cache?n.cache:pE,s=n&&n.serializer?n.serializer:hE,l=n&&n.strategy?n.strategy:cE;return l(e,{cache:i,serializer:s})}function uE(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Jg(e,n,i,s){var l=uE(s)?s:i(s),u=n.get(l);return typeof u>"u"&&(u=e.call(this,s),n.set(l,u)),u}function ey(e,n,i){var s=Array.prototype.slice.call(arguments,3),l=i(s),u=n.get(l);return typeof u>"u"&&(u=e.apply(this,s),n.set(l,u)),u}function zc(e,n,i,s,l){return i.bind(n,e,s,l)}function cE(e,n){var i=e.length===1?Jg:ey;return zc(e,this,i,n.cache.create(),n.serializer)}function fE(e,n){return zc(e,this,ey,n.cache.create(),n.serializer)}function dE(e,n){return zc(e,this,Jg,n.cache.create(),n.serializer)}var hE=function(){return JSON.stringify(arguments)};function Uc(){this.cache=Object.create(null)}Uc.prototype.get=function(e){return this.cache[e]};Uc.prototype.set=function(e,n){this.cache[e]=n};var pE={create:function(){return new Uc}},mt={variadic:fE,monadic:dE};function ty(e,n,i){if(i===void 0&&(i=Error),!e)throw new i(n)}pt(function(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,vt([void 0],n,!1)))},{strategy:mt.variadic});pt(function(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,vt([void 0],n,!1)))},{strategy:mt.variadic});pt(function(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,vt([void 0],n,!1)))},{strategy:mt.variadic});pt(function(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((e=Intl.Locale).bind.apply(e,vt([void 0],n,!1)))},{strategy:mt.variadic});pt(function(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((e=Intl.ListFormat).bind.apply(e,vt([void 0],n,!1)))},{strategy:mt.variadic});var _e;(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"})(_e||(_e={}));var Fe;(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"})(Fe||(Fe={}));var Jn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Jn||(Jn={}));function Mp(e){return e.type===Fe.literal}function mE(e){return e.type===Fe.argument}function ry(e){return e.type===Fe.number}function ny(e){return e.type===Fe.date}function iy(e){return e.type===Fe.time}function oy(e){return e.type===Fe.select}function sy(e){return e.type===Fe.plural}function gE(e){return e.type===Fe.pound}function ay(e){return e.type===Fe.tag}function ly(e){return!!(e&&typeof e=="object"&&e.type===Jn.number)}function uc(e){return!!(e&&typeof e=="object"&&e.type===Jn.dateTime)}var uy=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,yE=/(?:[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 vE(e){var n={};return e.replace(yE,function(i){var s=i.length;switch(i[0]){case"G":n.era=s===4?"long":s===5?"narrow":"short";break;case"y":n.year=s===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":n.month=["numeric","2-digit","short","long","narrow"][s-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][s-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=s===4?"long":s===5?"narrow":"short";break;case"e":if(s<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][s-4];break;case"c":if(s<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][s-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][s-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][s-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][s-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][s-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":n.minute=["numeric","2-digit"][s-1];break;case"s":n.second=["numeric","2-digit"][s-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=s<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""}),n}var _E=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function EE(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var n=e.split(_E).filter(function(m){return m.length>0}),i=[],s=0,l=n;s<l.length;s++){var u=l[s],d=u.split("/");if(d.length===0)throw new Error("Invalid number skeleton");for(var h=d[0],p=d.slice(1),E=0,y=p;E<y.length;E++){var w=y[E];if(w.length===0)throw new Error("Invalid number skeleton")}i.push({stem:h,options:p})}return i}function SE(e){return e.replace(/^(.*?)-/,"")}var Fp=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,cy=/^(@+)?(\+|#+)?[rs]?$/g,bE=/(\*)(0+)|(#+)(0+)|(0+)/g,fy=/^(0+)$/;function Lp(e){var n={};return e[e.length-1]==="r"?n.roundingPriority="morePrecision":e[e.length-1]==="s"&&(n.roundingPriority="lessPrecision"),e.replace(cy,function(i,s,l){return typeof l!="string"?(n.minimumSignificantDigits=s.length,n.maximumSignificantDigits=s.length):l==="+"?n.minimumSignificantDigits=s.length:s[0]==="#"?n.maximumSignificantDigits=s.length:(n.minimumSignificantDigits=s.length,n.maximumSignificantDigits=s.length+(typeof l=="string"?l.length:0)),""}),n}function dy(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 wE(e){var n;if(e[0]==="E"&&e[1]==="E"?(n={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(n={notation:"scientific"},e=e.slice(1)),n){var i=e.slice(0,2);if(i==="+!"?(n.signDisplay="always",e=e.slice(2)):i==="+?"&&(n.signDisplay="exceptZero",e=e.slice(2)),!fy.test(e))throw new Error("Malformed concise eng/scientific notation");n.minimumIntegerDigits=e.length}return n}function Bp(e){var n={},i=dy(e);return i||n}function xE(e){for(var n={},i=0,s=e;i<s.length;i++){var l=s[i];switch(l.stem){case"percent":case"%":n.style="percent";continue;case"%x100":n.style="percent",n.scale=100;continue;case"currency":n.style="currency",n.currency=l.options[0];continue;case"group-off":case",_":n.useGrouping=!1;continue;case"precision-integer":case".":n.maximumFractionDigits=0;continue;case"measure-unit":case"unit":n.style="unit",n.unit=SE(l.options[0]);continue;case"compact-short":case"K":n.notation="compact",n.compactDisplay="short";continue;case"compact-long":case"KK":n.notation="compact",n.compactDisplay="long";continue;case"scientific":n=J(J(J({},n),{notation:"scientific"}),l.options.reduce(function(p,E){return J(J({},p),Bp(E))},{}));continue;case"engineering":n=J(J(J({},n),{notation:"engineering"}),l.options.reduce(function(p,E){return J(J({},p),Bp(E))},{}));continue;case"notation-simple":n.notation="standard";continue;case"unit-width-narrow":n.currencyDisplay="narrowSymbol",n.unitDisplay="narrow";continue;case"unit-width-short":n.currencyDisplay="code",n.unitDisplay="short";continue;case"unit-width-full-name":n.currencyDisplay="name",n.unitDisplay="long";continue;case"unit-width-iso-code":n.currencyDisplay="symbol";continue;case"scale":n.scale=parseFloat(l.options[0]);continue;case"rounding-mode-floor":n.roundingMode="floor";continue;case"rounding-mode-ceiling":n.roundingMode="ceil";continue;case"rounding-mode-down":n.roundingMode="trunc";continue;case"rounding-mode-up":n.roundingMode="expand";continue;case"rounding-mode-half-even":n.roundingMode="halfEven";continue;case"rounding-mode-half-down":n.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":n.roundingMode="halfExpand";continue;case"integer-width":if(l.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");l.options[0].replace(bE,function(p,E,y,w,m,_){if(E)n.minimumIntegerDigits=y.length;else{if(w&&m)throw new Error("We currently do not support maximum integer digits");if(_)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fy.test(l.stem)){n.minimumIntegerDigits=l.stem.length;continue}if(Fp.test(l.stem)){if(l.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");l.stem.replace(Fp,function(p,E,y,w,m,_){return y==="*"?n.minimumFractionDigits=E.length:w&&w[0]==="#"?n.maximumFractionDigits=w.length:m&&_?(n.minimumFractionDigits=m.length,n.maximumFractionDigits=m.length+_.length):(n.minimumFractionDigits=E.length,n.maximumFractionDigits=E.length),""});var u=l.options[0];u==="w"?n=J(J({},n),{trailingZeroDisplay:"stripIfInteger"}):u&&(n=J(J({},n),Lp(u)));continue}if(cy.test(l.stem)){n=J(J({},n),Lp(l.stem));continue}var d=dy(l.stem);d&&(n=J(J({},n),d));var h=wE(l.stem);h&&(n=J(J({},n),h))}return n}var ms={"001":["H","h"],419:["h","H","hB","hb"],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","H","hB","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","H","hB","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","H","hB","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"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["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 TE(e,n){for(var i="",s=0;s<e.length;s++){var l=e.charAt(s);if(l==="j"){for(var u=0;s+1<e.length&&e.charAt(s+1)===l;)u++,s++;var d=1+(u&1),h=u<2?1:3+(u>>1),p="a",E=CE(n);for((E=="H"||E=="k")&&(h=0);h-- >0;)i+=p;for(;d-- >0;)i=E+i}else l==="J"?i+="H":i+=l}return i}function CE(e){var n=e.hourCycle;if(n===void 0&&e.hourCycles&&e.hourCycles.length&&(n=e.hourCycles[0]),n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i=e.language,s;i!=="root"&&(s=e.maximize().region);var l=ms[s||""]||ms[i||""]||ms["".concat(i,"-001")]||ms["001"];return l[0]}var mu,kE=new RegExp("^".concat(uy.source,"*")),RE=new RegExp("".concat(uy.source,"*$"));function Se(e,n){return{start:e,end:n}}var OE=!!String.prototype.startsWith&&"_a".startsWith("a",1),NE=!!String.fromCodePoint,AE=!!Object.fromEntries,PE=!!String.prototype.codePointAt,IE=!!String.prototype.trimStart,DE=!!String.prototype.trimEnd,ME=!!Number.isSafeInteger,FE=ME?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},cc=!0;try{var LE=py("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");cc=((mu=LE.exec("a"))===null||mu===void 0?void 0:mu[0])==="a"}catch{cc=!1}var jp=OE?function(n,i,s){return n.startsWith(i,s)}:function(n,i,s){return n.slice(s,s+i.length)===i},fc=NE?String.fromCodePoint:function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];for(var s="",l=n.length,u=0,d;l>u;){if(d=n[u++],d>1114111)throw RangeError(d+" is not a valid code point");s+=d<65536?String.fromCharCode(d):String.fromCharCode(((d-=65536)>>10)+55296,d%1024+56320)}return s},zp=AE?Object.fromEntries:function(n){for(var i={},s=0,l=n;s<l.length;s++){var u=l[s],d=u[0],h=u[1];i[d]=h}return i},hy=PE?function(n,i){return n.codePointAt(i)}:function(n,i){var s=n.length;if(!(i<0||i>=s)){var l=n.charCodeAt(i),u;return l<55296||l>56319||i+1===s||(u=n.charCodeAt(i+1))<56320||u>57343?l:(l-55296<<10)+(u-56320)+65536}},BE=IE?function(n){return n.trimStart()}:function(n){return n.replace(kE,"")},jE=DE?function(n){return n.trimEnd()}:function(n){return n.replace(RE,"")};function py(e,n){return new RegExp(e,n)}var dc;if(cc){var Up=py("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");dc=function(n,i){var s;Up.lastIndex=i;var l=Up.exec(n);return(s=l[1])!==null&&s!==void 0?s:""}}else dc=function(n,i){for(var s=[];;){var l=hy(n,i);if(l===void 0||my(l)||GE(l))break;s.push(l),i+=l>=65536?2:1}return fc.apply(void 0,s)};var zE=function(){function e(n,i){i===void 0&&(i={}),this.message=n,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.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(n,i,s){for(var l=[];!this.isEOF();){var u=this.char();if(u===123){var d=this.parseArgument(n,s);if(d.err)return d;l.push(d.val)}else{if(u===125&&n>0)break;if(u===35&&(i==="plural"||i==="selectordinal")){var h=this.clonePosition();this.bump(),l.push({type:Fe.pound,location:Se(h,this.clonePosition())})}else if(u===60&&!this.ignoreTag&&this.peek()===47){if(s)break;return this.error(_e.UNMATCHED_CLOSING_TAG,Se(this.clonePosition(),this.clonePosition()))}else if(u===60&&!this.ignoreTag&&hc(this.peek()||0)){var d=this.parseTag(n,i);if(d.err)return d;l.push(d.val)}else{var d=this.parseLiteral(n,i);if(d.err)return d;l.push(d.val)}}}return{val:l,err:null}},e.prototype.parseTag=function(n,i){var s=this.clonePosition();this.bump();var l=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Fe.literal,value:"<".concat(l,"/>"),location:Se(s,this.clonePosition())},err:null};if(this.bumpIf(">")){var u=this.parseMessage(n+1,i,!0);if(u.err)return u;var d=u.val,h=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hc(this.char()))return this.error(_e.INVALID_TAG,Se(h,this.clonePosition()));var p=this.clonePosition(),E=this.parseTagName();return l!==E?this.error(_e.UNMATCHED_CLOSING_TAG,Se(p,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Fe.tag,value:l,children:d,location:Se(s,this.clonePosition())},err:null}:this.error(_e.INVALID_TAG,Se(h,this.clonePosition())))}else return this.error(_e.UNCLOSED_TAG,Se(s,this.clonePosition()))}else return this.error(_e.INVALID_TAG,Se(s,this.clonePosition()))},e.prototype.parseTagName=function(){var n=this.offset();for(this.bump();!this.isEOF()&&HE(this.char());)this.bump();return this.message.slice(n,this.offset())},e.prototype.parseLiteral=function(n,i){for(var s=this.clonePosition(),l="";;){var u=this.tryParseQuote(i);if(u){l+=u;continue}var d=this.tryParseUnquoted(n,i);if(d){l+=d;continue}var h=this.tryParseLeftAngleBracket();if(h){l+=h;continue}break}var p=Se(s,this.clonePosition());return{val:{type:Fe.literal,value:l,location:p},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!UE(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(n){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(n==="plural"||n==="selectordinal")break;return null;default:return null}this.bump();var i=[this.char()];for(this.bump();!this.isEOF();){var s=this.char();if(s===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(s);this.bump()}return fc.apply(void 0,i)},e.prototype.tryParseUnquoted=function(n,i){if(this.isEOF())return null;var s=this.char();return s===60||s===123||s===35&&(i==="plural"||i==="selectordinal")||s===125&&n>0?null:(this.bump(),fc(s))},e.prototype.parseArgument=function(n,i){var s=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(_e.EXPECT_ARGUMENT_CLOSING_BRACE,Se(s,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(_e.EMPTY_ARGUMENT,Se(s,this.clonePosition()));var l=this.parseIdentifierIfPossible().value;if(!l)return this.error(_e.MALFORMED_ARGUMENT,Se(s,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(_e.EXPECT_ARGUMENT_CLOSING_BRACE,Se(s,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Fe.argument,value:l,location:Se(s,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(_e.EXPECT_ARGUMENT_CLOSING_BRACE,Se(s,this.clonePosition())):this.parseArgumentOptions(n,i,l,s);default:return this.error(_e.MALFORMED_ARGUMENT,Se(s,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var n=this.clonePosition(),i=this.offset(),s=dc(this.message,i),l=i+s.length;this.bumpTo(l);var u=this.clonePosition(),d=Se(n,u);return{value:s,location:d}},e.prototype.parseArgumentOptions=function(n,i,s,l){var u,d=this.clonePosition(),h=this.parseIdentifierIfPossible().value,p=this.clonePosition();switch(h){case"":return this.error(_e.EXPECT_ARGUMENT_TYPE,Se(d,p));case"number":case"date":case"time":{this.bumpSpace();var E=null;if(this.bumpIf(",")){this.bumpSpace();var y=this.clonePosition(),w=this.parseSimpleArgStyleIfPossible();if(w.err)return w;var m=jE(w.val);if(m.length===0)return this.error(_e.EXPECT_ARGUMENT_STYLE,Se(this.clonePosition(),this.clonePosition()));var _=Se(y,this.clonePosition());E={style:m,styleLocation:_}}var v=this.tryParseArgumentClose(l);if(v.err)return v;var T=Se(l,this.clonePosition());if(E&&jp(E==null?void 0:E.style,"::",0)){var x=BE(E.style.slice(2));if(h==="number"){var w=this.parseNumberSkeletonFromString(x,E.styleLocation);return w.err?w:{val:{type:Fe.number,value:s,location:T,style:w.val},err:null}}else{if(x.length===0)return this.error(_e.EXPECT_DATE_TIME_SKELETON,T);var N=x;this.locale&&(N=TE(x,this.locale));var m={type:Jn.dateTime,pattern:N,location:E.styleLocation,parsedOptions:this.shouldParseSkeletons?vE(N):{}},O=h==="date"?Fe.date:Fe.time;return{val:{type:O,value:s,location:T,style:m},err:null}}}return{val:{type:h==="number"?Fe.number:h==="date"?Fe.date:Fe.time,value:s,location:T,style:(u=E==null?void 0:E.style)!==null&&u!==void 0?u:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(_e.EXPECT_SELECT_ARGUMENT_OPTIONS,Se(S,J({},S)));this.bumpSpace();var C=this.parseIdentifierIfPossible(),k=0;if(h!=="select"&&C.value==="offset"){if(!this.bumpIf(":"))return this.error(_e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Se(this.clonePosition(),this.clonePosition()));this.bumpSpace();var w=this.tryParseDecimalInteger(_e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(w.err)return w;this.bumpSpace(),C=this.parseIdentifierIfPossible(),k=w.val}var L=this.tryParsePluralOrSelectOptions(n,h,i,C);if(L.err)return L;var v=this.tryParseArgumentClose(l);if(v.err)return v;var U=Se(l,this.clonePosition());return h==="select"?{val:{type:Fe.select,value:s,options:zp(L.val),location:U},err:null}:{val:{type:Fe.plural,value:s,options:zp(L.val),offset:k,pluralType:h==="plural"?"cardinal":"ordinal",location:U},err:null}}default:return this.error(_e.INVALID_ARGUMENT_TYPE,Se(d,p))}},e.prototype.tryParseArgumentClose=function(n){return this.isEOF()||this.char()!==125?this.error(_e.EXPECT_ARGUMENT_CLOSING_BRACE,Se(n,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var n=0,i=this.clonePosition();!this.isEOF();){var s=this.char();switch(s){case 39:{this.bump();var l=this.clonePosition();if(!this.bumpUntil("'"))return this.error(_e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Se(l,this.clonePosition()));this.bump();break}case 123:{n+=1,this.bump();break}case 125:{if(n>0)n-=1;else return{val:this.message.slice(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(n,i){var s=[];try{s=EE(n)}catch{return this.error(_e.INVALID_NUMBER_SKELETON,i)}return{val:{type:Jn.number,tokens:s,location:i,parsedOptions:this.shouldParseSkeletons?xE(s):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(n,i,s,l){for(var u,d=!1,h=[],p=new Set,E=l.value,y=l.location;;){if(E.length===0){var w=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(_e.EXPECT_PLURAL_ARGUMENT_SELECTOR,_e.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;y=Se(w,this.clonePosition()),E=this.message.slice(w.offset,this.offset())}else break}if(p.has(E))return this.error(i==="select"?_e.DUPLICATE_SELECT_ARGUMENT_SELECTOR:_e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,y);E==="other"&&(d=!0),this.bumpSpace();var _=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?_e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:_e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Se(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(n+1,i,s);if(v.err)return v;var T=this.tryParseArgumentClose(_);if(T.err)return T;h.push([E,{value:v.val,location:Se(_,this.clonePosition())}]),p.add(E),this.bumpSpace(),u=this.parseIdentifierIfPossible(),E=u.value,y=u.location}return h.length===0?this.error(i==="select"?_e.EXPECT_SELECT_ARGUMENT_SELECTOR:_e.EXPECT_PLURAL_ARGUMENT_SELECTOR,Se(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!d?this.error(_e.MISSING_OTHER_CLAUSE,Se(this.clonePosition(),this.clonePosition())):{val:h,err:null}},e.prototype.tryParseDecimalInteger=function(n,i){var s=1,l=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(s=-1);for(var u=!1,d=0;!this.isEOF();){var h=this.char();if(h>=48&&h<=57)u=!0,d=d*10+(h-48),this.bump();else break}var p=Se(l,this.clonePosition());return u?(d*=s,FE(d)?{val:d,err:null}:this.error(i,p)):this.error(n,p)},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 n=this.position.offset;if(n>=this.message.length)throw Error("out of bound");var i=hy(this.message,n);if(i===void 0)throw Error("Offset ".concat(n," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(n,i){return{val:null,err:{kind:n,message:this.message,location:i}}},e.prototype.bump=function(){if(!this.isEOF()){var n=this.char();n===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=n<65536?1:2)}},e.prototype.bumpIf=function(n){if(jp(this.message,n,this.offset())){for(var i=0;i<n.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(n){var i=this.offset(),s=this.message.indexOf(n,i);return s>=0?(this.bumpTo(s),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(n){if(this.offset()>n)throw Error("targetOffset ".concat(n," must be greater than or equal to the current offset ").concat(this.offset()));for(n=Math.min(n,this.message.length);;){var i=this.offset();if(i===n)break;if(i>n)throw Error("targetOffset ".concat(n," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&my(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var n=this.char(),i=this.offset(),s=this.message.charCodeAt(i+(n>=65536?2:1));return s??null},e}();function hc(e){return e>=97&&e<=122||e>=65&&e<=90}function UE(e){return hc(e)||e===47}function HE(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 my(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function GE(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 pc(e){e.forEach(function(n){if(delete n.location,oy(n)||sy(n))for(var i in n.options)delete n.options[i].location,pc(n.options[i].value);else ry(n)&&ly(n.style)||(ny(n)||iy(n))&&uc(n.style)?delete n.style.location:ay(n)&&pc(n.children)})}function $E(e,n){n===void 0&&(n={}),n=J({shouldParseSkeletons:!0,requiresOtherClause:!0},n);var i=new zE(e,n).parse();if(i.err){var s=SyntaxError(_e[i.err.kind]);throw s.location=i.err.location,s.originalMessage=i.err.message,s}return n!=null&&n.captureLocation||pc(i.val),i.val}var dr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(dr||(dr={}));var Jr=function(e){Gt(n,e);function n(i,s,l){var u=e.call(this,i)||this;return u.code=s,u.originalMessage=l,u}return n.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},n}(Error),Hp=function(e){Gt(n,e);function n(i,s,l,u){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(s,'". Options are "').concat(Object.keys(l).join('", "'),'"'),dr.INVALID_VALUE,u)||this}return n}(Jr),qE=function(e){Gt(n,e);function n(i,s,l){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(s),dr.INVALID_VALUE,l)||this}return n}(Jr),VE=function(e){Gt(n,e);function n(i,s){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(s,'"'),dr.MISSING_VALUE,s)||this}return n}(Jr),ht;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ht||(ht={}));function WE(e){return e.length<2?e:e.reduce(function(n,i){var s=n[n.length-1];return!s||s.type!==ht.literal||i.type!==ht.literal?n.push(i):s.value+=i.value,n},[])}function gy(e){return typeof e=="function"}function zs(e,n,i,s,l,u,d){if(e.length===1&&Mp(e[0]))return[{type:ht.literal,value:e[0].value}];for(var h=[],p=0,E=e;p<E.length;p++){var y=E[p];if(Mp(y)){h.push({type:ht.literal,value:y.value});continue}if(gE(y)){typeof u=="number"&&h.push({type:ht.literal,value:i.getNumberFormat(n).format(u)});continue}var w=y.value;if(!(l&&w in l))throw new VE(w,d);var m=l[w];if(mE(y)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),h.push({type:typeof m=="string"?ht.literal:ht.object,value:m});continue}if(ny(y)){var _=typeof y.style=="string"?s.date[y.style]:uc(y.style)?y.style.parsedOptions:void 0;h.push({type:ht.literal,value:i.getDateTimeFormat(n,_).format(m)});continue}if(iy(y)){var _=typeof y.style=="string"?s.time[y.style]:uc(y.style)?y.style.parsedOptions:s.time.medium;h.push({type:ht.literal,value:i.getDateTimeFormat(n,_).format(m)});continue}if(ry(y)){var _=typeof y.style=="string"?s.number[y.style]:ly(y.style)?y.style.parsedOptions:void 0;_&&_.scale&&(m=m*(_.scale||1)),h.push({type:ht.literal,value:i.getNumberFormat(n,_).format(m)});continue}if(ay(y)){var v=y.children,T=y.value,x=l[T];if(!gy(x))throw new qE(T,"function",d);var N=zs(v,n,i,s,l,u),O=x(N.map(function(k){return k.value}));Array.isArray(O)||(O=[O]),h.push.apply(h,O.map(function(k){return{type:typeof k=="string"?ht.literal:ht.object,value:k}}))}if(oy(y)){var S=y.options[m]||y.options.other;if(!S)throw new Hp(y.value,m,Object.keys(y.options),d);h.push.apply(h,zs(S.value,n,i,s,l));continue}if(sy(y)){var S=y.options["=".concat(m)];if(!S){if(!Intl.PluralRules)throw new Jr(`Intl.PluralRules is not available in this environment.
|
|
53
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
54
|
+
`,dr.MISSING_INTL_API,d);var C=i.getPluralRules(n,{type:y.pluralType}).select(m-(y.offset||0));S=y.options[C]||y.options.other}if(!S)throw new Hp(y.value,m,Object.keys(y.options),d);h.push.apply(h,zs(S.value,n,i,s,l,m-(y.offset||0)));continue}}return WE(h)}function XE(e,n){return n?J(J(J({},e||{}),n||{}),Object.keys(e).reduce(function(i,s){return i[s]=J(J({},e[s]),n[s]||{}),i},{})):e}function QE(e,n){return n?Object.keys(e).reduce(function(i,s){return i[s]=XE(e[s],n[s]),i},J({},e)):e}function gu(e){return{create:function(){return{get:function(n){return e[n]},set:function(n,i){e[n]=i}}}}}function KE(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:pt(function(){for(var n,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return new((n=Intl.NumberFormat).bind.apply(n,vt([void 0],i,!1)))},{cache:gu(e.number),strategy:mt.variadic}),getDateTimeFormat:pt(function(){for(var n,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return new((n=Intl.DateTimeFormat).bind.apply(n,vt([void 0],i,!1)))},{cache:gu(e.dateTime),strategy:mt.variadic}),getPluralRules:pt(function(){for(var n,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return new((n=Intl.PluralRules).bind.apply(n,vt([void 0],i,!1)))},{cache:gu(e.pluralRules),strategy:mt.variadic})}}var yy=function(){function e(n,i,s,l){i===void 0&&(i=e.defaultLocale);var u=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(p){var E=u.formatToParts(p);if(E.length===1)return E[0].value;var y=E.reduce(function(w,m){return!w.length||m.type!==ht.literal||typeof w[w.length-1]!="string"?w.push(m.value):w[w.length-1]+=m.value,w},[]);return y.length<=1?y[0]||"":y},this.formatToParts=function(p){return zs(u.ast,u.locales,u.formatters,u.formats,p,void 0,u.message)},this.resolvedOptions=function(){var p;return{locale:((p=u.resolvedLocale)===null||p===void 0?void 0:p.toString())||Intl.NumberFormat.supportedLocalesOf(u.locales)[0]}},this.getAst=function(){return u.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof n=="string"){if(this.message=n,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var d=l||{};d.formatters;var h=ta(d,["formatters"]);this.ast=e.__parse(n,J(J({},h),{locale:this.resolvedLocale}))}else this.ast=n;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=QE(e.formats,s),this.formatters=l&&l.formatters||KE(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(n){if(!(typeof Intl.Locale>"u")){var i=Intl.NumberFormat.supportedLocalesOf(n);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof n=="string"?n:n[0])}},e.__parse=$E,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}(),Sn;(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"})(Sn||(Sn={}));var ro=function(e){Gt(n,e);function n(i,s,l){var u=this,d=l?l instanceof Error?l:new Error(String(l)):void 0;return u=e.call(this,"[@formatjs/intl Error ".concat(i,"] ").concat(s,`
|
|
55
|
+
`).concat(d?`
|
|
56
|
+
`.concat(d.message,`
|
|
57
|
+
`).concat(d.stack):""))||this,u.code=i,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(u,n),u}return n}(Error),YE=function(e){Gt(n,e);function n(i,s){return e.call(this,Sn.UNSUPPORTED_FORMATTER,i,s)||this}return n}(ro),ZE=function(e){Gt(n,e);function n(i,s){return e.call(this,Sn.INVALID_CONFIG,i,s)||this}return n}(ro),Gp=function(e){Gt(n,e);function n(i,s){return e.call(this,Sn.MISSING_DATA,i,s)||this}return n}(ro),$t=function(e){Gt(n,e);function n(i,s,l){var u=e.call(this,Sn.FORMAT_ERROR,"".concat(i,`
|
|
58
|
+
Locale: `).concat(s,`
|
|
59
|
+
`),l)||this;return u.locale=s,u}return n}(ro),yu=function(e){Gt(n,e);function n(i,s,l,u){var d=e.call(this,"".concat(i,`
|
|
60
|
+
MessageID: `).concat(l==null?void 0:l.id,`
|
|
61
|
+
Default Message: `).concat(l==null?void 0:l.defaultMessage,`
|
|
62
|
+
Description: `).concat(l==null?void 0:l.description,`
|
|
63
|
+
`),s,u)||this;return d.descriptor=l,d.locale=s,d}return n}($t),JE=function(e){Gt(n,e);function n(i,s){var l=e.call(this,Sn.MISSING_TRANSLATION,'Missing message: "'.concat(i.id,'" for locale "').concat(s,'", using ').concat(i.defaultMessage?"default message (".concat(typeof i.defaultMessage=="string"?i.defaultMessage:i.defaultMessage.map(function(u){var d;return(d=u.value)!==null&&d!==void 0?d:JSON.stringify(u)}).join(),")"):"id"," as fallback."))||this;return l.descriptor=i,l}return n}(ro);function xn(e,n,i){return i===void 0&&(i={}),n.reduce(function(s,l){return l in e?s[l]=e[l]:l in i&&(s[l]=i[l]),s},{})}var eS=function(e){},tS=function(e){},vy={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:eS,onWarn:tS};function _y(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function pn(e){return{create:function(){return{get:function(n){return e[n]},set:function(n,i){e[n]=i}}}}}function rS(e){e===void 0&&(e=_y());var n=Intl.RelativeTimeFormat,i=Intl.ListFormat,s=Intl.DisplayNames,l=pt(function(){for(var h,p=[],E=0;E<arguments.length;E++)p[E]=arguments[E];return new((h=Intl.DateTimeFormat).bind.apply(h,vt([void 0],p,!1)))},{cache:pn(e.dateTime),strategy:mt.variadic}),u=pt(function(){for(var h,p=[],E=0;E<arguments.length;E++)p[E]=arguments[E];return new((h=Intl.NumberFormat).bind.apply(h,vt([void 0],p,!1)))},{cache:pn(e.number),strategy:mt.variadic}),d=pt(function(){for(var h,p=[],E=0;E<arguments.length;E++)p[E]=arguments[E];return new((h=Intl.PluralRules).bind.apply(h,vt([void 0],p,!1)))},{cache:pn(e.pluralRules),strategy:mt.variadic});return{getDateTimeFormat:l,getNumberFormat:u,getMessageFormat:pt(function(h,p,E,y){return new yy(h,p,E,J({formatters:{getNumberFormat:u,getDateTimeFormat:l,getPluralRules:d}},y||{}))},{cache:pn(e.message),strategy:mt.variadic}),getRelativeTimeFormat:pt(function(){for(var h=[],p=0;p<arguments.length;p++)h[p]=arguments[p];return new(n.bind.apply(n,vt([void 0],h,!1)))},{cache:pn(e.relativeTime),strategy:mt.variadic}),getPluralRules:d,getListFormat:pt(function(){for(var h=[],p=0;p<arguments.length;p++)h[p]=arguments[p];return new(i.bind.apply(i,vt([void 0],h,!1)))},{cache:pn(e.list),strategy:mt.variadic}),getDisplayNames:pt(function(){for(var h=[],p=0;p<arguments.length;p++)h[p]=arguments[p];return new(s.bind.apply(s,vt([void 0],h,!1)))},{cache:pn(e.displayNames),strategy:mt.variadic})}}function Hc(e,n,i,s){var l=e&&e[n],u;if(l&&(u=l[i]),u)return u;s(new YE("No ".concat(n," format named: ").concat(i)))}function gs(e,n){return Object.keys(e).reduce(function(i,s){return i[s]=J({timeZone:n},e[s]),i},{})}function $p(e,n){var i=Object.keys(J(J({},e),n));return i.reduce(function(s,l){return s[l]=J(J({},e[l]||{}),n[l]||{}),s},{})}function qp(e,n){if(!n)return e;var i=yy.formats;return J(J(J({},i),e),{date:$p(gs(i.date,n),gs(e.date||{},n)),time:$p(gs(i.time,n),gs(e.time||{},n))})}var mc=function(e,n,i,s,l){var u=e.locale,d=e.formats,h=e.messages,p=e.defaultLocale,E=e.defaultFormats,y=e.fallbackOnEmptyString,w=e.onError,m=e.timeZone,_=e.defaultRichTextElements;i===void 0&&(i={id:""});var v=i.id,T=i.defaultMessage;ty(!!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 x=String(v),N=h&&Object.prototype.hasOwnProperty.call(h,x)&&h[x];if(Array.isArray(N)&&N.length===1&&N[0].type===Fe.literal)return N[0].value;if(!s&&N&&typeof N=="string"&&!_)return N.replace(/'\{(.*?)\}'/gi,"{$1}");if(s=J(J({},_),s||{}),d=qp(d,m),E=qp(E,m),!N){if(y===!1&&N==="")return N;if((!T||u&&u.toLowerCase()!==p.toLowerCase())&&w(new JE(i,u)),T)try{var O=n.getMessageFormat(T,p,E,l);return O.format(s)}catch(S){return w(new yu('Error formatting default message for: "'.concat(x,'", rendering default message verbatim'),u,i,S)),typeof T=="string"?T:x}return x}try{var O=n.getMessageFormat(N,u,d,J({formatters:n},l||{}));return O.format(s)}catch(S){w(new yu('Error formatting message: "'.concat(x,'", using ').concat(T?"default message":"id"," as fallback."),u,i,S))}if(T)try{var O=n.getMessageFormat(T,p,E,l);return O.format(s)}catch(S){w(new yu('Error formatting the default message for: "'.concat(x,'", rendering message verbatim'),u,i,S))}return typeof N=="string"?N:typeof T=="string"?T:x},Ey=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function ra(e,n,i,s){var l=e.locale,u=e.formats,d=e.onError,h=e.timeZone;s===void 0&&(s={});var p=s.format,E=J(J({},h&&{timeZone:h}),p&&Hc(u,n,p,d)),y=xn(s,Ey,E);return n==="time"&&!y.hour&&!y.minute&&!y.second&&!y.timeStyle&&!y.dateStyle&&(y=J(J({},y),{hour:"numeric",minute:"numeric"})),i(l,y)}function nS(e,n){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var l=i[0],u=i[1],d=u===void 0?{}:u,h=typeof l=="string"?new Date(l||0):l;try{return ra(e,"date",n,d).format(h)}catch(p){e.onError(new $t("Error formatting date.",e.locale,p))}return String(h)}function iS(e,n){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var l=i[0],u=i[1],d=u===void 0?{}:u,h=typeof l=="string"?new Date(l||0):l;try{return ra(e,"time",n,d).format(h)}catch(p){e.onError(new $t("Error formatting time.",e.locale,p))}return String(h)}function oS(e,n){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var l=i[0],u=i[1],d=i[2],h=d===void 0?{}:d,p=e.timeZone,E=e.locale,y=e.onError,w=xn(h,Ey,p?{timeZone:p}:{});try{return n(E,w).formatRange(l,u)}catch(m){y(new $t("Error formatting date time range.",e.locale,m))}return String(l)}function sS(e,n){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var l=i[0],u=i[1],d=u===void 0?{}:u,h=typeof l=="string"?new Date(l||0):l;try{return ra(e,"date",n,d).formatToParts(h)}catch(p){e.onError(new $t("Error formatting date.",e.locale,p))}return[]}function aS(e,n){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var l=i[0],u=i[1],d=u===void 0?{}:u,h=typeof l=="string"?new Date(l||0):l;try{return ra(e,"time",n,d).formatToParts(h)}catch(p){e.onError(new $t("Error formatting time.",e.locale,p))}return[]}var lS=["style","type","fallback","languageDisplay"];function uS(e,n,i,s){var l=e.locale,u=e.onError,d=Intl.DisplayNames;d||u(new Jr(`Intl.DisplayNames is not available in this environment.
|
|
64
|
+
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
65
|
+
`,dr.MISSING_INTL_API));var h=xn(s,lS);try{return n(l,h).of(i)}catch(p){u(new $t("Error formatting display name.",l,p))}}var cS=["type","style"],Vp=Date.now();function fS(e){return"".concat(Vp,"_").concat(e,"_").concat(Vp)}function dS(e,n,i,s){s===void 0&&(s={});var l=Sy(e,n,i,s).reduce(function(u,d){var h=d.value;return typeof h!="string"?u.push(h):typeof u[u.length-1]=="string"?u[u.length-1]+=h:u.push(h),u},[]);return l.length===1?l[0]:l.length===0?"":l}function Sy(e,n,i,s){var l=e.locale,u=e.onError;s===void 0&&(s={});var d=Intl.ListFormat;d||u(new Jr(`Intl.ListFormat is not available in this environment.
|
|
66
|
+
Try polyfilling it using "@formatjs/intl-listformat"
|
|
67
|
+
`,dr.MISSING_INTL_API));var h=xn(s,cS);try{var p={},E=i.map(function(y,w){if(typeof y=="object"){var m=fS(w);return p[m]=y,m}return String(y)});return n(l,h).formatToParts(E).map(function(y){return y.type==="literal"?y:J(J({},y),{value:p[y.value]||y.value})})}catch(y){u(new $t("Error formatting list.",l,y))}return i}var hS=["type"];function pS(e,n,i,s){var l=e.locale,u=e.onError;s===void 0&&(s={}),Intl.PluralRules||u(new Jr(`Intl.PluralRules is not available in this environment.
|
|
68
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
69
|
+
`,dr.MISSING_INTL_API));var d=xn(s,hS);try{return n(l,d).select(i)}catch(h){u(new $t("Error formatting plural.",l,h))}return"other"}var mS=["numeric","style"];function gS(e,n,i){var s=e.locale,l=e.formats,u=e.onError;i===void 0&&(i={});var d=i.format,h=!!d&&Hc(l,"relative",d,u)||{},p=xn(i,mS,h);return n(s,p)}function yS(e,n,i,s,l){l===void 0&&(l={}),s||(s="second");var u=Intl.RelativeTimeFormat;u||e.onError(new Jr(`Intl.RelativeTimeFormat is not available in this environment.
|
|
70
|
+
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
71
|
+
`,dr.MISSING_INTL_API));try{return gS(e,n,l).format(i,s)}catch(d){e.onError(new $t("Error formatting relative time.",e.locale,d))}return String(i)}var vS=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function by(e,n,i){var s=e.locale,l=e.formats,u=e.onError;i===void 0&&(i={});var d=i.format,h=d&&Hc(l,"number",d,u)||{},p=xn(i,vS,h);return n(s,p)}function _S(e,n,i,s){s===void 0&&(s={});try{return by(e,n,s).format(i)}catch(l){e.onError(new $t("Error formatting number.",e.locale,l))}return String(i)}function ES(e,n,i,s){s===void 0&&(s={});try{return by(e,n,s).formatToParts(i)}catch(l){e.onError(new $t("Error formatting number.",e.locale,l))}return[]}function SS(e){var n=e?e[Object.keys(e)[0]]:void 0;return typeof n=="string"}function bS(e){e.onWarn&&e.defaultRichTextElements&&SS(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
72
|
+
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
73
|
+
For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function wS(e,n){var i=rS(n),s=J(J({},vy),e),l=s.locale,u=s.defaultLocale,d=s.onError;return l?!Intl.NumberFormat.supportedLocalesOf(l).length&&d?d(new Gp('Missing locale data for locale: "'.concat(l,'" in Intl.NumberFormat. Using default locale: "').concat(u,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(l).length&&d&&d(new Gp('Missing locale data for locale: "'.concat(l,'" in Intl.DateTimeFormat. Using default locale: "').concat(u,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(d&&d(new ZE('"locale" was not configured, using "'.concat(u,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),s.locale=s.defaultLocale||"en"),bS(s),J(J({},s),{formatters:i,formatNumber:_S.bind(null,s,i.getNumberFormat),formatNumberToParts:ES.bind(null,s,i.getNumberFormat),formatRelativeTime:yS.bind(null,s,i.getRelativeTimeFormat),formatDate:nS.bind(null,s,i.getDateTimeFormat),formatDateToParts:sS.bind(null,s,i.getDateTimeFormat),formatTime:iS.bind(null,s,i.getDateTimeFormat),formatDateTimeRange:oS.bind(null,s,i.getDateTimeFormat),formatTimeToParts:aS.bind(null,s,i.getDateTimeFormat),formatPlural:pS.bind(null,s,i.getPluralRules),formatMessage:mc.bind(null,s,i),$t:mc.bind(null,s,i),formatList:dS.bind(null,s,i.getListFormat),formatListToParts:Sy.bind(null,s,i.getListFormat),formatDisplayName:uS.bind(null,s,i.getDisplayNames)})}function wy(e){ty(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var xy=J(J({},vy),{textComponent:K.Fragment});function xS(e){return function(n){return e(K.Children.toArray(n))}}function TS(e,n){if(e===n)return!0;if(!e||!n)return!1;var i=Object.keys(e),s=Object.keys(n),l=i.length;if(s.length!==l)return!1;for(var u=0;u<l;u++){var d=i[u];if(e[d]!==n[d]||!Object.prototype.hasOwnProperty.call(n,d))return!1}return!0}var vu={exports:{}},ke={};/** @license React v16.13.1
|
|
74
|
+
* react-is.production.min.js
|
|
75
|
+
*
|
|
76
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the MIT license found in the
|
|
79
|
+
* LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/var Wp;function CS(){if(Wp)return ke;Wp=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,d=e?Symbol.for("react.provider"):60109,h=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,E=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,T=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function S(k){if(typeof k=="object"&&k!==null){var L=k.$$typeof;switch(L){case n:switch(k=k.type,k){case p:case E:case s:case u:case l:case w:return k;default:switch(k=k&&k.$$typeof,k){case h:case y:case v:case _:case d:return k;default:return L}}case i:return L}}}function C(k){return S(k)===E}return ke.AsyncMode=p,ke.ConcurrentMode=E,ke.ContextConsumer=h,ke.ContextProvider=d,ke.Element=n,ke.ForwardRef=y,ke.Fragment=s,ke.Lazy=v,ke.Memo=_,ke.Portal=i,ke.Profiler=u,ke.StrictMode=l,ke.Suspense=w,ke.isAsyncMode=function(k){return C(k)||S(k)===p},ke.isConcurrentMode=C,ke.isContextConsumer=function(k){return S(k)===h},ke.isContextProvider=function(k){return S(k)===d},ke.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===n},ke.isForwardRef=function(k){return S(k)===y},ke.isFragment=function(k){return S(k)===s},ke.isLazy=function(k){return S(k)===v},ke.isMemo=function(k){return S(k)===_},ke.isPortal=function(k){return S(k)===i},ke.isProfiler=function(k){return S(k)===u},ke.isStrictMode=function(k){return S(k)===l},ke.isSuspense=function(k){return S(k)===w},ke.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===s||k===E||k===u||k===l||k===w||k===m||typeof k=="object"&&k!==null&&(k.$$typeof===v||k.$$typeof===_||k.$$typeof===d||k.$$typeof===h||k.$$typeof===y||k.$$typeof===x||k.$$typeof===N||k.$$typeof===O||k.$$typeof===T)},ke.typeOf=S,ke}var Xp;function kS(){return Xp||(Xp=1,vu.exports=CS()),vu.exports}var _u,Qp;function RS(){if(Qp)return _u;Qp=1;var e=kS(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[e.ForwardRef]=s,u[e.Memo]=l;function d(v){return e.isMemo(v)?l:u[v.$$typeof]||n}var h=Object.defineProperty,p=Object.getOwnPropertyNames,E=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,w=Object.getPrototypeOf,m=Object.prototype;function _(v,T,x){if(typeof T!="string"){if(m){var N=w(T);N&&N!==m&&_(v,N,x)}var O=p(T);E&&(O=O.concat(E(T)));for(var S=d(v),C=d(T),k=0;k<O.length;++k){var L=O[k];if(!i[L]&&!(x&&x[L])&&!(C&&C[L])&&!(S&&S[L])){var U=y(T,L);try{h(v,L,U)}catch{}}}}return v}return _u=_,_u}RS();var Gc=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=K.createContext(null)):K.createContext(null);Gc.Consumer;var OS=Gc.Provider,NS=OS,AS=Gc;function na(){var e=K.useContext(AS);return wy(e),e}var gc;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(gc||(gc={}));var yc;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(yc||(yc={}));function Ty(e){var n=function(i){var s=na(),l=i.value,u=i.children,d=ta(i,["value","children"]),h=typeof l=="string"?new Date(l||0):l,p=e==="formatDate"?s.formatDateToParts(h,d):s.formatTimeToParts(h,d);return u(p)};return n.displayName=yc[e],n}function no(e){var n=function(i){var s=na(),l=i.value,u=i.children,d=ta(i,["value","children"]),h=s[e](l,d);if(typeof u=="function")return u(h);var p=s.textComponent||K.Fragment;return K.createElement(p,null,h)};return n.displayName=gc[e],n}function Cy(e){return e&&Object.keys(e).reduce(function(n,i){var s=e[i];return n[i]=gy(s)?xS(s):s,n},{})}var Kp=function(e,n,i,s){for(var l=[],u=4;u<arguments.length;u++)l[u-4]=arguments[u];var d=Cy(s),h=mc.apply(void 0,vt([e,n,i,d],l,!1));return Array.isArray(h)?K.Children.toArray(h):h},Yp=function(e,n){var i=e.defaultRichTextElements,s=ta(e,["defaultRichTextElements"]),l=Cy(i),u=wS(J(J(J({},xy),s),{defaultRichTextElements:l}),n),d={locale:u.locale,timeZone:u.timeZone,fallbackOnEmptyString:u.fallbackOnEmptyString,formats:u.formats,defaultLocale:u.defaultLocale,defaultFormats:u.defaultFormats,messages:u.messages,onError:u.onError,defaultRichTextElements:l};return J(J({},u),{formatMessage:Kp.bind(null,d,u.formatters),$t:Kp.bind(null,d,u.formatters)})};function Eu(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 PS=function(e){Gt(n,e);function n(){var i=e!==null&&e.apply(this,arguments)||this;return i.cache=_y(),i.state={cache:i.cache,intl:Yp(Eu(i.props),i.cache),prevConfig:Eu(i.props)},i}return n.getDerivedStateFromProps=function(i,s){var l=s.prevConfig,u=s.cache,d=Eu(i);return TS(l,d)?null:{intl:Yp(d,u),prevConfig:d}},n.prototype.render=function(){return wy(this.state.intl),K.createElement(NS,{value:this.state.intl},this.props.children)},n.displayName="IntlProvider",n.defaultProps=xy,n}(K.PureComponent);no("formatDate");no("formatTime");no("formatNumber");no("formatList");no("formatDisplayName");Ty("formatDate");Ty("formatTime");const IS="_app_wkun7_5",DS={app:IS},ky=()=>MS(window.location.pathname),MS=e=>{const n=e.split("/"),i=e.endsWith("/");return n[n.length-(i?2:1)]},$c=lE,En=p1;var Su={exports:{}};/*!
|
|
81
|
+
Copyright (c) 2018 Jed Watson.
|
|
82
|
+
Licensed under the MIT License (MIT), see
|
|
83
|
+
http://jedwatson.github.io/classnames
|
|
84
|
+
*/var Zp;function FS(){return Zp||(Zp=1,function(e){(function(){var n={}.hasOwnProperty;function i(){for(var u="",d=0;d<arguments.length;d++){var h=arguments[d];h&&(u=l(u,s(h)))}return u}function s(u){if(typeof u=="string"||typeof u=="number")return u;if(typeof u!="object")return"";if(Array.isArray(u))return i.apply(null,u);if(u.toString!==Object.prototype.toString&&!u.toString.toString().includes("[native code]"))return u.toString();var d="";for(var h in u)n.call(u,h)&&u[h]&&(d=l(d,h));return d}function l(u,d){return d?u?u+" "+d:u+d:u}e.exports?(i.default=i,e.exports=i):window.classNames=i})()}(Su)),Su.exports}var LS=FS();const $=ea(LS),Ry="%[a-f0-9]{2}",Jp=new RegExp("("+Ry+")|([^%]+?)","gi"),em=new RegExp("("+Ry+")+","gi");function vc(e,n){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;n=n||1;const i=e.slice(0,n),s=e.slice(n);return Array.prototype.concat.call([],vc(i),vc(s))}function BS(e){try{return decodeURIComponent(e)}catch{let n=e.match(Jp)||[];for(let i=1;i<n.length;i++)e=vc(n,i).join(""),n=e.match(Jp)||[];return e}}function jS(e){const n={"%FE%FF":"��","%FF%FE":"��"};let i=em.exec(e);for(;i;){try{n[i[0]]=decodeURIComponent(i[0])}catch{const l=BS(i[0]);l!==i[0]&&(n[i[0]]=l)}i=em.exec(e)}n["%C2"]="�";const s=Object.keys(n);for(const l of s)e=e.replace(new RegExp(l,"g"),n[l]);return e}function zS(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return jS(e)}}function US(e,n){const i={};if(Array.isArray(n))for(const s of n){const l=Object.getOwnPropertyDescriptor(e,s);l!=null&&l.enumerable&&Object.defineProperty(i,s,l)}else for(const s of Reflect.ownKeys(e)){const l=Object.getOwnPropertyDescriptor(e,s);if(l.enumerable){const u=e[s];n(s,u,e)&&Object.defineProperty(i,s,l)}}return i}function Oy(e,n){if(!(typeof e=="string"&&typeof n=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e===""||n==="")return[];const i=e.indexOf(n);return i===-1?[]:[e.slice(0,i),e.slice(i+n.length)]}const HS=e=>e==null,GS=e=>encodeURIComponent(e).replaceAll(/[!'()*]/g,n=>`%${n.charCodeAt(0).toString(16).toUpperCase()}`),_c=Symbol("encodeFragmentIdentifier");function $S(e){switch(e.arrayFormat){case"index":return n=>(i,s)=>{const l=i.length;return s===void 0||e.skipNull&&s===null||e.skipEmptyString&&s===""?i:s===null?[...i,[We(n,e),"[",l,"]"].join("")]:[...i,[We(n,e),"[",We(l,e),"]=",We(s,e)].join("")]};case"bracket":return n=>(i,s)=>s===void 0||e.skipNull&&s===null||e.skipEmptyString&&s===""?i:s===null?[...i,[We(n,e),"[]"].join("")]:[...i,[We(n,e),"[]=",We(s,e)].join("")];case"colon-list-separator":return n=>(i,s)=>s===void 0||e.skipNull&&s===null||e.skipEmptyString&&s===""?i:s===null?[...i,[We(n,e),":list="].join("")]:[...i,[We(n,e),":list=",We(s,e)].join("")];case"comma":case"separator":case"bracket-separator":{const n=e.arrayFormat==="bracket-separator"?"[]=":"=";return i=>(s,l)=>l===void 0||e.skipNull&&l===null||e.skipEmptyString&&l===""?s:(l=l===null?"":l,s.length===0?[[We(i,e),n,We(l,e)].join("")]:[[s,We(l,e)].join(e.arrayFormatSeparator)])}default:return n=>(i,s)=>s===void 0||e.skipNull&&s===null||e.skipEmptyString&&s===""?i:s===null?[...i,We(n,e)]:[...i,[We(n,e),"=",We(s,e)].join("")]}}function qS(e){let n;switch(e.arrayFormat){case"index":return(i,s,l)=>{if(n=/\[(\d*)]$/.exec(i),i=i.replace(/\[\d*]$/,""),!n){l[i]=s;return}l[i]===void 0&&(l[i]={}),l[i][n[1]]=s};case"bracket":return(i,s,l)=>{if(n=/(\[])$/.exec(i),i=i.replace(/\[]$/,""),!n){l[i]=s;return}if(l[i]===void 0){l[i]=[s];return}l[i]=[...l[i],s]};case"colon-list-separator":return(i,s,l)=>{if(n=/(:list)$/.exec(i),i=i.replace(/:list$/,""),!n){l[i]=s;return}if(l[i]===void 0){l[i]=[s];return}l[i]=[...l[i],s]};case"comma":case"separator":return(i,s,l)=>{const u=typeof s=="string"&&s.includes(e.arrayFormatSeparator),d=typeof s=="string"&&!u&&xr(s,e).includes(e.arrayFormatSeparator);s=d?xr(s,e):s;const h=u||d?s.split(e.arrayFormatSeparator).map(p=>xr(p,e)):s===null?s:xr(s,e);l[i]=h};case"bracket-separator":return(i,s,l)=>{const u=/(\[])$/.test(i);if(i=i.replace(/\[]$/,""),!u){l[i]=s&&xr(s,e);return}const d=s===null?[]:xr(s,e).split(e.arrayFormatSeparator);if(l[i]===void 0){l[i]=d;return}l[i]=[...l[i],...d]};default:return(i,s,l)=>{if(l[i]===void 0){l[i]=s;return}l[i]=[...[l[i]].flat(),s]}}}function Ny(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function We(e,n){return n.encode?n.strict?GS(e):encodeURIComponent(e):e}function xr(e,n){return n.decode?zS(e):e}function Ay(e){return Array.isArray(e)?e.sort():typeof e=="object"?Ay(Object.keys(e)).sort((n,i)=>Number(n)-Number(i)).map(n=>e[n]):e}function Py(e){const n=e.indexOf("#");return n!==-1&&(e=e.slice(0,n)),e}function VS(e){let n="";const i=e.indexOf("#");return i!==-1&&(n=e.slice(i)),n}function tm(e,n,i){return i==="string"&&typeof e=="string"?e:typeof i=="function"&&typeof e=="string"?i(e):n.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")?e.toLowerCase()==="true":i==="number"&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""||n.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?Number(e):e}function qc(e){e=Py(e);const n=e.indexOf("?");return n===-1?"":e.slice(n+1)}function Vc(e,n){n={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,types:Object.create(null),...n},Ny(n.arrayFormatSeparator);const i=qS(n),s=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return s;for(const l of e.split("&")){if(l==="")continue;const u=n.decode?l.replaceAll("+"," "):l;let[d,h]=Oy(u,"=");d===void 0&&(d=u),h=h===void 0?null:["comma","separator","bracket-separator"].includes(n.arrayFormat)?h:xr(h,n),i(xr(d,n),h,s)}for(const[l,u]of Object.entries(s))if(typeof u=="object"&&u!==null&&n.types[l]!=="string")for(const[d,h]of Object.entries(u)){const p=n.types[l]?n.types[l].replace("[]",""):void 0;u[d]=tm(h,n,p)}else typeof u=="object"&&u!==null&&n.types[l]==="string"?s[l]=Object.values(u).join(n.arrayFormatSeparator):s[l]=tm(u,n,n.types[l]);return n.sort===!1?s:(n.sort===!0?Object.keys(s).sort():Object.keys(s).sort(n.sort)).reduce((l,u)=>{const d=s[u];return l[u]=d&&typeof d=="object"&&!Array.isArray(d)?Ay(d):d,l},Object.create(null))}function Iy(e,n){if(!e)return"";n={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...n},Ny(n.arrayFormatSeparator);const i=d=>n.skipNull&&HS(e[d])||n.skipEmptyString&&e[d]==="",s=$S(n),l={};for(const[d,h]of Object.entries(e))i(d)||(l[d]=h);const u=Object.keys(l);return n.sort!==!1&&u.sort(n.sort),u.map(d=>{const h=e[d];return h===void 0?"":h===null?We(d,n):Array.isArray(h)?h.length===0&&n.arrayFormat==="bracket-separator"?We(d,n)+"[]":h.reduce(s(d),[]).join("&"):We(d,n)+"="+We(h,n)}).filter(d=>d.length>0).join("&")}function Dy(e,n){var l;n={decode:!0,...n};let[i,s]=Oy(e,"#");return i===void 0&&(i=e),{url:((l=i==null?void 0:i.split("?"))==null?void 0:l[0])??"",query:Vc(qc(e),n),...n&&n.parseFragmentIdentifier&&s?{fragmentIdentifier:xr(s,n)}:{}}}function My(e,n){n={encode:!0,strict:!0,[_c]:!0,...n};const i=Py(e.url).split("?")[0]||"",s=qc(e.url),l={...Vc(s,{sort:!1}),...e.query};let u=Iy(l,n);u&&(u=`?${u}`);let d=VS(e.url);if(typeof e.fragmentIdentifier=="string"){const h=new URL(i);h.hash=e.fragmentIdentifier,d=n[_c]?h.hash:`#${e.fragmentIdentifier}`}return`${i}${u}${d}`}function Fy(e,n,i){i={parseFragmentIdentifier:!0,[_c]:!1,...i};const{url:s,query:l,fragmentIdentifier:u}=Dy(e,i);return My({url:s,query:US(l,n),fragmentIdentifier:u},i)}function WS(e,n,i){const s=Array.isArray(n)?l=>!n.includes(l):(l,u)=>!n(l,u);return Fy(e,s,i)}const Wc=Object.freeze(Object.defineProperty({__proto__:null,exclude:WS,extract:qc,parse:Vc,parseUrl:Dy,pick:Fy,stringify:Iy,stringifyUrl:My},Symbol.toStringTag,{value:"Module"}));var Jt={},Nt={},ue={},rm;function Mt(){return rm||(rm=1,Object.defineProperty(ue,"__esModule",{value:!0}),ue.GUEST_LOCALE_CHANGED=ue.DRAWER_CLOSE=ue.DRAWER_OPEN=ue.CONVERSATION_RATING_FROM_GUEST=ue.TRANSCRIPT_ITEM_GUEST_REACTION=ue.TRANSCRIPT_MAIL_REQUEST=ue.INBOX_CONNECT_REQUEST=ue.RESTART_CHAT_REQUEST=ue.EVENT_TO_GUEST=ue.NLU_REQUEST_EVENT=ue.EXPERTS_DISCONNECTED=ue.EXPERTS_DISCONNECT_REQUEST=ue.EXPERTS_CONNECTED=ue.EXPERTS_CONNECT_REQUEST=ue.MESSAGE_TO_GUEST=ue.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST=ue.MESSAGE_FROM_GUEST=ue.GUEST_FEEDBACK_RESPONSE=ue.GUEST_DISCONNECTED=ue.GUEST_CONNECTED=ue.TYPING_OFF=ue.TYPING_ON=void 0,ue.TYPING_ON="core.typing.on",ue.TYPING_OFF="core.typing.off",ue.GUEST_CONNECTED="core.guest.connected",ue.GUEST_DISCONNECTED="core.guest.disconnected",ue.GUEST_FEEDBACK_RESPONSE="core.guest.feedback.response",ue.MESSAGE_FROM_GUEST="core.message.from.guest",ue.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST="core.message.without.analysis.from.guest",ue.MESSAGE_TO_GUEST="core.message.to.guest",ue.EXPERTS_CONNECT_REQUEST="core.experts.connect.request",ue.EXPERTS_CONNECTED="core.experts.connected",ue.EXPERTS_DISCONNECT_REQUEST="core.experts.disconnect.request",ue.EXPERTS_DISCONNECTED="core.experts.disconnected",ue.NLU_REQUEST_EVENT="core.nlu.request.event",ue.EVENT_TO_GUEST="core.event.to.guest",ue.RESTART_CHAT_REQUEST="core.chat.restart.request",ue.INBOX_CONNECT_REQUEST="core.inbox.connect.request",ue.TRANSCRIPT_MAIL_REQUEST="core.transcript.mail.request",ue.TRANSCRIPT_ITEM_GUEST_REACTION="core.transcript.item.guest.reaction",ue.CONVERSATION_RATING_FROM_GUEST="core.conversation.rating.from.guest",ue.DRAWER_OPEN="core.drawer.open",ue.DRAWER_CLOSE="core.drawer.close",ue.GUEST_LOCALE_CHANGED="core.guest.locale.changed"),ue}var bu={},nm;function XS(){return nm||(nm=1,Object.defineProperty(bu,"__esModule",{value:!0})),bu}var ys={},im;function QS(){if(im)return ys;im=1,Object.defineProperty(ys,"__esModule",{value:!0});const e=Mt(),n=()=>({type:e.DRAWER_CLOSE});return ys.default=n,ys}var vs={},om;function KS(){if(om)return vs;om=1,Object.defineProperty(vs,"__esModule",{value:!0});const e=Mt(),n=(i,s)=>({type:e.GUEST_FEEDBACK_RESPONSE,payload:{satisfaction:i,intent:s}});return vs.default=n,vs}var _s={},sm;function YS(){if(sm)return _s;sm=1,Object.defineProperty(_s,"__esModule",{value:!0});const e=Mt(),n=i=>({type:e.GUEST_CONNECTED,payload:{sessionId:i}});return _s.default=n,_s}var Es={},am;function ZS(){if(am)return Es;am=1,Object.defineProperty(Es,"__esModule",{value:!0});const e=Mt(),n=i=>({type:e.GUEST_DISCONNECTED,payload:{sessionId:i}});return Es.default=n,Es}var Ss={},lm;function JS(){if(lm)return Ss;lm=1,Object.defineProperty(Ss,"__esModule",{value:!0});const e=Mt(),n=(i,s)=>({type:e.GUEST_LOCALE_CHANGED,payload:{previousLocale:i,newLocale:s}});return Ss.default=n,Ss}var bs={},um;function eb(){if(um)return bs;um=1,Object.defineProperty(bs,"__esModule",{value:!0});const e=Mt(),n=i=>({type:e.DRAWER_OPEN,payload:{parameters:{contentUrl:i}}});return bs.default=n,bs}var ws={},Ue={},cm;function Xc(){if(cm)return Ue;cm=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.getStringRepresentationFromMessage=Ue.MessageTypeEnum=Ue.AudioMessage=Ue.FileMessage=Ue.ImageMessage=Ue.VideoMessage=Ue.MarkdownMessage=Ue.DetailMessage=Ue.TextMessage=Ue.Message=void 0;class e{constructor(w,m){xe(this,"type");xe(this,"sender");xe(this,"quickReplies");this.type=w,this.sender=m,this.quickReplies=[]}addQuickReply(w,m){this.quickReplies.push({label:w,payload:m})}}Ue.Message=e;class n extends e{constructor(m,_){super(p.TEXT,_);xe(this,"text");this.text=m}}Ue.TextMessage=n;class i extends e{constructor(m,_){super(p.DETAIL,_);xe(this,"title");xe(this,"subtitle");xe(this,"text");xe(this,"imageUrl");xe(this,"itemUrl");xe(this,"buttons");this.title=m,this.text="",this.subtitle="",this.imageUrl="",this.itemUrl="",this.buttons=[]}setImageUrl(m){this.imageUrl=m}setItemUrl(m){this.itemUrl=m}setSubtitle(m){this.subtitle=m}setText(m){this.text=m}addButton(m){this.buttons.push(m)}}Ue.DetailMessage=i;class s extends e{constructor(m,_,v){super(p.MARKDOWN,v);xe(this,"markdown");xe(this,"excerpt");xe(this,"className");this.markdown=m,this.excerpt=_,this.className=""}setClassName(m){this.className=m}}Ue.MarkdownMessage=s;class l extends e{constructor(m,_){super(p.VIDEO,_);xe(this,"url");this.url=m}}Ue.VideoMessage=l;class u extends e{constructor(m,_){super(p.IMAGE,_);xe(this,"url");this.url=m}}Ue.ImageMessage=u;class d extends e{constructor(m,_){super(p.FILE,_);xe(this,"url");this.url=m}}Ue.FileMessage=d;class h extends e{constructor(m,_){super(p.AUDIO,_);xe(this,"url");this.url=m}}Ue.AudioMessage=h;var p;(function(y){y.TEXT="TEXT",y.DETAIL="DETAIL",y.MARKDOWN="MARKDOWN",y.VIDEO="VIDEO",y.IMAGE="IMAGE",y.FILE="FILE",y.AUDIO="AUDIO"})(p||(Ue.MessageTypeEnum=p={}));const E=y=>{switch(y.type){case p.TEXT:return y.text;case p.DETAIL:const m=y;return`${m.title} // ${m.subtitle}`;case p.MARKDOWN:return y.excerpt;case p.VIDEO:return`Video Url: ${y.url}`;case p.IMAGE:return`Image Url: ${y.url}`;case p.FILE:return`File Url: ${y.url}`;case p.AUDIO:return`Audio Url: ${y.url}`;default:throw new Error("Unknown message type "+y.type)}};return Ue.getStringRepresentationFromMessage=E,Ue}var At={},fm;function Qc(){if(fm)return At;fm=1,Object.defineProperty(At,"__esModule",{value:!0}),At.UserType=At.PersonUser=At.GuestUser=At.BotUser=At.User=void 0;class e{constructor(d,h,p,E){xe(this,"type");xe(this,"id");xe(this,"name");xe(this,"avatar");this.type=d,this.id=h,this.name=p,this.avatar=E}}At.User=e;class n extends e{constructor(){super(l.BOT,null,"Chatbot","bot.svg")}}At.BotUser=n;class i extends e{constructor(){super(l.GUEST,null,"Guest","visitor.svg")}}At.GuestUser=i;class s extends e{constructor(d,h,p){super(l.PERSON,d,h,p)}}At.PersonUser=s;var l;return function(u){u.GUEST="GUEST",u.BOT="BOT",u.PERSON="PERSON"}(l||(At.UserType=l={})),At}var dm;function tb(){if(dm)return ws;dm=1,Object.defineProperty(ws,"__esModule",{value:!0});const e=Xc(),n=Qc(),i=Mt(),s=l=>{const u=new e.TextMessage(l,new n.GuestUser);return{type:i.MESSAGE_FROM_GUEST,message:u}};return ws.default=s,ws}var xs={},hm;function rb(){if(hm)return xs;hm=1,Object.defineProperty(xs,"__esModule",{value:!0});const e=Xc(),n=Qc(),i=Mt(),s=(l,u={})=>{const d=new e.TextMessage(l,new n.GuestUser);return{type:i.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST,message:d,payload:u}};return xs.default=s,xs}var Ts={},pm;function nb(){if(pm)return Ts;pm=1,Object.defineProperty(Ts,"__esModule",{value:!0});const e=Mt(),n=i=>({type:e.NLU_REQUEST_EVENT,event:i});return Ts.default=n,Ts}var Cs={},mm;function ib(){if(mm)return Cs;mm=1,Object.defineProperty(Cs,"__esModule",{value:!0});const e=Mt(),n=()=>({type:e.RESTART_CHAT_REQUEST});return Cs.default=n,Cs}var ks={},gm;function ob(){if(gm)return ks;gm=1,Object.defineProperty(ks,"__esModule",{value:!0});const e=Mt(),n=i=>({type:e.MESSAGE_TO_GUEST,message:i});return ks.default=n,ks}var Rs={},ym;function sb(){if(ym)return Rs;ym=1,Object.defineProperty(Rs,"__esModule",{value:!0});const e=Mt(),n=(i,s)=>({type:e.TRANSCRIPT_ITEM_GUEST_REACTION,payload:{actionId:i,reaction:s}});return Rs.default=n,Rs}var vm;function _m(){return vm||(vm=1,function(e){var n=Nt&&Nt.__createBinding||(Object.create?function(O,S,C,k){k===void 0&&(k=C);var L=Object.getOwnPropertyDescriptor(S,C);(!L||("get"in L?!S.__esModule:L.writable||L.configurable))&&(L={enumerable:!0,get:function(){return S[C]}}),Object.defineProperty(O,k,L)}:function(O,S,C,k){k===void 0&&(k=C),O[k]=S[C]}),i=Nt&&Nt.__setModuleDefault||(Object.create?function(O,S){Object.defineProperty(O,"default",{enumerable:!0,value:S})}:function(O,S){O.default=S}),s=Nt&&Nt.__importStar||function(O){if(O&&O.__esModule)return O;var S={};if(O!=null)for(var C in O)C!=="default"&&Object.prototype.hasOwnProperty.call(O,C)&&n(S,O,C);return i(S,O),S},l=Nt&&Nt.__exportStar||function(O,S){for(var C in O)C!=="default"&&!Object.prototype.hasOwnProperty.call(S,C)&&n(S,O,C)},u=Nt&&Nt.__importDefault||function(O){return O&&O.__esModule?O:{default:O}};Object.defineProperty(e,"__esModule",{value:!0}),e.transcriptItemGuestReaction=e.sendMessageToGuest=e.restartChatRequest=e.requestNLUEvent=e.receiveTextMessageWithoutAnalysisFromGuest=e.receiveTextMessageFromGuest=e.openDrawer=e.guestLocaleChanged=e.guestDisconnected=e.guestConnected=e.feedbackFromGuestResponse=e.closeDrawer=e.ActionTypes=void 0,e.ActionTypes=s(Mt()),l(XS(),e);const d=u(QS());e.closeDrawer=d.default;const h=u(KS());e.feedbackFromGuestResponse=h.default;const p=u(YS());e.guestConnected=p.default;const E=u(ZS());e.guestDisconnected=E.default;const y=u(JS());e.guestLocaleChanged=y.default;const w=u(eb());e.openDrawer=w.default;const m=u(tb());e.receiveTextMessageFromGuest=m.default;const _=u(rb());e.receiveTextMessageWithoutAnalysisFromGuest=_.default;const v=u(nb());e.requestNLUEvent=v.default;const T=u(ib());e.restartChatRequest=T.default;const x=u(ob());e.sendMessageToGuest=x.default;const N=u(sb());e.transcriptItemGuestReaction=N.default}(Nt)),Nt}var Pt={},wu={},Em;function ab(){return Em||(Em=1,Object.defineProperty(wu,"__esModule",{value:!0})),wu}var $i={},Sm;function lb(){if(Sm)return $i;Sm=1,Object.defineProperty($i,"__esModule",{value:!0}),$i.NullableKnowledgeBaseAdapter=void 0;class e{async upsertApiKnowledgeBase(i){throw new Error("Method not implemented.")}async findApiKnowledgeBaseByName(i){throw new Error("Method not implemented.")}async deleteApiKnowledgeBaseByName(i){throw new Error("Method not implemented.")}async setIndexingStatus(i,s){throw new Error("Method not implemented.")}async upsertKnowledgeBaseEntry(i,s){throw new Error("Method not implemented.")}async retrieveKnowledgeBaseEntryConfig(i,s){throw new Error("Method not implemented.")}async deleteKnowledgeBaseEntriesIndexedBeforeDate(i,s){throw new Error("Method not implemented.")}async subscribeToReindex(i,s){throw new Error("Method not implemented.")}isContentTypeSupported(i){throw new Error("Method not implemented.")}}return $i.NullableKnowledgeBaseAdapter=e,$i}var bm;function ub(){if(bm)return Pt;bm=1;var e=Pt&&Pt.__createBinding||(Object.create?function(l,u,d,h){h===void 0&&(h=d);var p=Object.getOwnPropertyDescriptor(u,d);(!p||("get"in p?!u.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return u[d]}}),Object.defineProperty(l,h,p)}:function(l,u,d,h){h===void 0&&(h=d),l[h]=u[d]}),n=Pt&&Pt.__setModuleDefault||(Object.create?function(l,u){Object.defineProperty(l,"default",{enumerable:!0,value:u})}:function(l,u){l.default=u}),i=Pt&&Pt.__importStar||function(l){if(l&&l.__esModule)return l;var u={};if(l!=null)for(var d in l)d!=="default"&&Object.prototype.hasOwnProperty.call(l,d)&&e(u,l,d);return n(u,l),u};Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.NullableCmsAdapter=Pt.KnowledgeBase=void 0,Pt.KnowledgeBase=i(ab());const s=lb();return Pt.NullableCmsAdapter={knowledgeBase:new s.NullableKnowledgeBaseAdapter},Pt}var mn={},xu={},wm;function cb(){return wm||(wm=1,Object.defineProperty(xu,"__esModule",{value:!0})),xu}var er={},xm;function fb(){if(xm)return er;xm=1,Object.defineProperty(er,"__esModule",{value:!0}),er.ButtonTypeEnum=er.PostbackButton=er.UrlButton=er.Button=void 0;class e{constructor(u,d){xe(this,"title");xe(this,"type");this.title=u,this.type=d}}er.Button=e;class n extends e{constructor(d,h){super(d,s.WEB_URL);xe(this,"url");this.url=h}}er.UrlButton=n;class i extends e{constructor(d,h){super(d,s.POSTBACK);xe(this,"payload");this.payload=h}}er.PostbackButton=i;var s;return function(l){l.WEB_URL="web_url",l.POSTBACK="postback"}(s||(er.ButtonTypeEnum=s={})),er}var Tu={},Tm;function db(){return Tm||(Tm=1,Object.defineProperty(Tu,"__esModule",{value:!0})),Tu}var qi={},Cm;function hb(){if(Cm)return qi;Cm=1,Object.defineProperty(qi,"__esModule",{value:!0}),qi.SatisfactionEnum=void 0;var e;return function(n){n.GOOD="GOOD",n.BAD="BAD"}(e||(qi.SatisfactionEnum=e={})),qi}var km;function Rm(){return km||(km=1,function(e){var n=mn&&mn.__createBinding||(Object.create?function(s,l,u,d){d===void 0&&(d=u);var h=Object.getOwnPropertyDescriptor(l,u);(!h||("get"in h?!l.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return l[u]}}),Object.defineProperty(s,d,h)}:function(s,l,u,d){d===void 0&&(d=u),s[d]=l[u]}),i=mn&&mn.__exportStar||function(s,l){for(var u in s)u!=="default"&&!Object.prototype.hasOwnProperty.call(l,u)&&n(l,s,u)};Object.defineProperty(e,"__esModule",{value:!0}),i(cb(),e),i(fb(),e),i(db(),e),i(hb(),e),i(Xc(),e),i(Qc(),e)}(mn)),mn}var Om;function pb(){return Om||(Om=1,function(e){var n=Jt&&Jt.__createBinding||(Object.create?function(u,d,h,p){p===void 0&&(p=h);var E=Object.getOwnPropertyDescriptor(d,h);(!E||("get"in E?!d.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return d[h]}}),Object.defineProperty(u,p,E)}:function(u,d,h,p){p===void 0&&(p=h),u[p]=d[h]}),i=Jt&&Jt.__setModuleDefault||(Object.create?function(u,d){Object.defineProperty(u,"default",{enumerable:!0,value:d})}:function(u,d){u.default=d}),s=Jt&&Jt.__exportStar||function(u,d){for(var h in u)h!=="default"&&!Object.prototype.hasOwnProperty.call(d,h)&&n(d,u,h)},l=Jt&&Jt.__importStar||function(u){if(u&&u.__esModule)return u;var d={};if(u!=null)for(var h in u)h!=="default"&&Object.prototype.hasOwnProperty.call(u,h)&&n(d,u,h);return i(d,u),d};Object.defineProperty(e,"__esModule",{value:!0}),e.Model=e.CMS=e.Actions=void 0,s(_m(),e),e.Actions=l(_m()),e.CMS=l(ub()),s(Rm(),e),e.Model=l(Rm())}(Jt)),Jt}var ge=pb();const Ly=e=>n=>(e.payload.type!==ge.ActionTypes.MESSAGE_FROM_GUEST&&n(ge.receiveTextMessageWithoutAnalysisFromGuest(e.label,e.payload)),n(e.payload)),By=e=>(n,i)=>{const{quickReplies:s}=i().chat,l=s.find(u=>e.toLocaleLowerCase().indexOf(u.label.toLocaleLowerCase())>-1);return n(l?Ly({...l,label:e}):ge.receiveTextMessageFromGuest(e))},ia="MESSAGE_TO_PARENT_PAGE",Kc="RESTORE_PREVIOUS_CHAT_MESSAGES",Yc="AUDIO_MESSAGE_FROM_USER",Zc="ENABLE_SPEECH_SUPPORT",Jc="ENABLE_TRANSCRIPT_EXPORT",mb="EXPORT_TRANSCRIPT",ef="RECEIVE_SPEECH_TRANSCRIPTION",tf="SHOW_GENERAL_CONDITIONS",rf="ENABLE_CONVERSATION_RATING",gb="webclient.get.started",jy="webclient.expand.window",zy="webclient.transcript.pdf.download",yb=[ia,Kc,Yc,Zc,Jc,mb,ef,tf,rf],vb=e=>({type:Yc,buffer:e}),_b=()=>({type:Zc}),Eb=e=>({type:ef,transcription:e}),Sb=e=>({type:Jc,methods:e}),bb=e=>({type:ge.ActionTypes.TRANSCRIPT_MAIL_REQUEST,payload:{parameters:{mailTo:e}}}),wb=()=>({type:tf}),xb=()=>({type:zy}),Tb=({rating:e})=>({type:rf,payload:{rating:e}}),Cb=(e,n)=>({type:ge.ActionTypes.CONVERSATION_RATING_FROM_GUEST,payload:{value:e,feedback:n}}),Uy=e=>ge.requestNLUEvent(e),kb=e=>({type:Kc,messages:e}),Rb=e=>{switch(e.type){case ge.ButtonTypeEnum.WEB_URL:return Hy(e.url);case ge.ButtonTypeEnum.POSTBACK:return e.payload;default:throw new Error(`unknown button type ${e.type}`)}},Ob=e=>Hy(e),Hy=e=>({type:ia,message:{type:"webclient.change.url",url:e}}),Nb=e=>({type:ia,message:{type:"webclient.change.translations",payload:{translations:e}}});/*! js-cookie v3.0.5 | MIT */function Os(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var s in i)e[s]=i[s]}return e}var Ab={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 Ec(e,n){function i(l,u,d){if(!(typeof document>"u")){d=Os({},n,d),typeof d.expires=="number"&&(d.expires=new Date(Date.now()+d.expires*864e5)),d.expires&&(d.expires=d.expires.toUTCString()),l=encodeURIComponent(l).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var h="";for(var p in d)d[p]&&(h+="; "+p,d[p]!==!0&&(h+="="+d[p].split(";")[0]));return document.cookie=l+"="+e.write(u,l)+h}}function s(l){if(!(typeof document>"u"||arguments.length&&!l)){for(var u=document.cookie?document.cookie.split("; "):[],d={},h=0;h<u.length;h++){var p=u[h].split("="),E=p.slice(1).join("=");try{var y=decodeURIComponent(p[0]);if(d[y]=e.read(E,y),l===y)break}catch{}}return l?d[l]:d}}return Object.create({set:i,get:s,remove:function(l,u){i(l,"",Os({},u,{expires:-1}))},withAttributes:function(l){return Ec(this.converter,Os({},this.attributes,l))},withConverter:function(l){return Ec(Os({},this.converter,l),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(e)}})}var Cu=Ec(Ab,{path:"/"});function it(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 Pb=typeof Symbol=="function"&&Symbol.observable||"@@observable",Nm=Pb,ku=()=>Math.random().toString(36).substring(7).split("").join("."),Ib={INIT:`@@redux/INIT${ku()}`,REPLACE:`@@redux/REPLACE${ku()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${ku()}`},Ws=Ib;function nf(e){if(typeof e!="object"||e===null)return!1;let n=e;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n||Object.getPrototypeOf(e)===null}function Gy(e,n,i){if(typeof e!="function")throw new Error(it(2));if(typeof n=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(it(0));if(typeof n=="function"&&typeof i>"u"&&(i=n,n=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(it(1));return i(Gy)(e,n)}let s=e,l=n,u=new Map,d=u,h=0,p=!1;function E(){d===u&&(d=new Map,u.forEach((x,N)=>{d.set(N,x)}))}function y(){if(p)throw new Error(it(3));return l}function w(x){if(typeof x!="function")throw new Error(it(4));if(p)throw new Error(it(5));let N=!0;E();const O=h++;return d.set(O,x),function(){if(N){if(p)throw new Error(it(6));N=!1,E(),d.delete(O),u=null}}}function m(x){if(!nf(x))throw new Error(it(7));if(typeof x.type>"u")throw new Error(it(8));if(typeof x.type!="string")throw new Error(it(17));if(p)throw new Error(it(9));try{p=!0,l=s(l,x)}finally{p=!1}return(u=d).forEach(O=>{O()}),x}function _(x){if(typeof x!="function")throw new Error(it(10));s=x,m({type:Ws.REPLACE})}function v(){const x=w;return{subscribe(N){if(typeof N!="object"||N===null)throw new Error(it(11));function O(){const C=N;C.next&&C.next(y())}return O(),{unsubscribe:x(O)}},[Nm](){return this}}}return m({type:Ws.INIT}),{dispatch:m,subscribe:w,getState:y,replaceReducer:_,[Nm]:v}}function Db(e){Object.keys(e).forEach(n=>{const i=e[n];if(typeof i(void 0,{type:Ws.INIT})>"u")throw new Error(it(12));if(typeof i(void 0,{type:Ws.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(it(13))})}function $y(e){const n=Object.keys(e),i={};for(let u=0;u<n.length;u++){const d=n[u];typeof e[d]=="function"&&(i[d]=e[d])}const s=Object.keys(i);let l;try{Db(i)}catch(u){l=u}return function(d={},h){if(l)throw l;let p=!1;const E={};for(let y=0;y<s.length;y++){const w=s[y],m=i[w],_=d[w],v=m(_,h);if(typeof v>"u")throw h&&h.type,new Error(it(14));E[w]=v,p=p||v!==_}return p=p||s.length!==Object.keys(d).length,p?E:d}}function Xs(...e){return e.length===0?n=>n:e.length===1?e[0]:e.reduce((n,i)=>(...s)=>n(i(...s)))}function Mb(...e){return n=>(i,s)=>{const l=n(i,s);let u=()=>{throw new Error(it(15))};const d={getState:l.getState,dispatch:(p,...E)=>u(p,...E)},h=e.map(p=>p(d));return u=Xs(...h)(l.dispatch),{...l,dispatch:u}}}function Fb(e){return nf(e)&&"type"in e&&typeof e.type=="string"}var qy=Symbol.for("immer-nothing"),Am=Symbol.for("immer-draftable"),It=Symbol.for("immer-state");function nr(e,...n){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ei=Object.getPrototypeOf;function bn(e){return!!e&&!!e[It]}function Rr(e){var n;return e?Vy(e)||Array.isArray(e)||!!e[Am]||!!((n=e.constructor)!=null&&n[Am])||sa(e)||aa(e):!1}var Lb=Object.prototype.constructor.toString();function Vy(e){if(!e||typeof e!="object")return!1;const n=ei(e);if(n===null)return!0;const i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===Lb}function Ji(e,n){oa(e)===0?Object.entries(e).forEach(([i,s])=>{n(i,s,e)}):e.forEach((i,s)=>n(s,i,e))}function oa(e){const n=e[It];return n?n.type_:Array.isArray(e)?1:sa(e)?2:aa(e)?3:0}function Sc(e,n){return oa(e)===2?e.has(n):Object.prototype.hasOwnProperty.call(e,n)}function Wy(e,n,i){const s=oa(e);s===2?e.set(n,i):s===3?e.add(i):e[n]=i}function Bb(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n}function sa(e){return e instanceof Map}function aa(e){return e instanceof Set}function yn(e){return e.copy_||e.base_}function bc(e,n){if(sa(e))return new Map(e);if(aa(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!n&&Vy(e))return ei(e)?{...e}:Object.assign(Object.create(null),e);const i=Object.getOwnPropertyDescriptors(e);delete i[It];let s=Reflect.ownKeys(i);for(let l=0;l<s.length;l++){const u=s[l],d=i[u];d.writable===!1&&(d.writable=!0,d.configurable=!0),(d.get||d.set)&&(i[u]={configurable:!0,writable:!0,enumerable:d.enumerable,value:e[u]})}return Object.create(ei(e),i)}function of(e,n=!1){return la(e)||bn(e)||!Rr(e)||(oa(e)>1&&(e.set=e.add=e.clear=e.delete=jb),Object.freeze(e),n&&Ji(e,(i,s)=>of(s,!0))),e}function jb(){nr(2)}function la(e){return Object.isFrozen(e)}var zb={};function wn(e){const n=zb[e];return n||nr(0,e),n}var eo;function Xy(){return eo}function Ub(e,n){return{drafts_:[],parent_:e,immer_:n,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Pm(e,n){n&&(wn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=n)}function wc(e){xc(e),e.drafts_.forEach(Hb),e.drafts_=null}function xc(e){e===eo&&(eo=e.parent_)}function Im(e){return eo=Ub(eo,e)}function Hb(e){const n=e[It];n.type_===0||n.type_===1?n.revoke_():n.revoked_=!0}function Dm(e,n){n.unfinalizedDrafts_=n.drafts_.length;const i=n.drafts_[0];return e!==void 0&&e!==i?(i[It].modified_&&(wc(n),nr(4)),Rr(e)&&(e=Qs(n,e),n.parent_||Ks(n,e)),n.patches_&&wn("Patches").generateReplacementPatches_(i[It].base_,e,n.patches_,n.inversePatches_)):e=Qs(n,i,[]),wc(n),n.patches_&&n.patchListener_(n.patches_,n.inversePatches_),e!==qy?e:void 0}function Qs(e,n,i){if(la(n))return n;const s=n[It];if(!s)return Ji(n,(l,u)=>Mm(e,s,n,l,u,i)),n;if(s.scope_!==e)return n;if(!s.modified_)return Ks(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;const l=s.copy_;let u=l,d=!1;s.type_===3&&(u=new Set(l),l.clear(),d=!0),Ji(u,(h,p)=>Mm(e,s,l,h,p,i,d)),Ks(e,l,!1),i&&e.patches_&&wn("Patches").generatePatches_(s,i,e.patches_,e.inversePatches_)}return s.copy_}function Mm(e,n,i,s,l,u,d){if(bn(l)){const h=u&&n&&n.type_!==3&&!Sc(n.assigned_,s)?u.concat(s):void 0,p=Qs(e,l,h);if(Wy(i,s,p),bn(p))e.canAutoFreeze_=!1;else return}else d&&i.add(l);if(Rr(l)&&!la(l)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Qs(e,l),(!n||!n.scope_.parent_)&&Ks(e,l)}}function Ks(e,n,i=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&of(n,i)}function Gb(e,n){const i=Array.isArray(e),s={type_:i?1:0,scope_:n?n.scope_:Xy(),modified_:!1,finalized_:!1,assigned_:{},parent_:n,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=s,u=sf;i&&(l=[s],u=to);const{revoke:d,proxy:h}=Proxy.revocable(l,u);return s.draft_=h,s.revoke_=d,h}var sf={get(e,n){if(n===It)return e;const i=yn(e);if(!Sc(i,n))return $b(e,i,n);const s=i[n];return e.finalized_||!Rr(s)?s:s===Ru(e.base_,n)?(Ou(e),e.copy_[n]=Cc(s,e)):s},has(e,n){return n in yn(e)},ownKeys(e){return Reflect.ownKeys(yn(e))},set(e,n,i){const s=Qy(yn(e),n);if(s!=null&&s.set)return s.set.call(e.draft_,i),!0;if(!e.modified_){const l=Ru(yn(e),n),u=l==null?void 0:l[It];if(u&&u.base_===i)return e.copy_[n]=i,e.assigned_[n]=!1,!0;if(Bb(i,l)&&(i!==void 0||Sc(e.base_,n)))return!0;Ou(e),Tc(e)}return e.copy_[n]===i&&(i!==void 0||n in e.copy_)||Number.isNaN(i)&&Number.isNaN(e.copy_[n])||(e.copy_[n]=i,e.assigned_[n]=!0),!0},deleteProperty(e,n){return Ru(e.base_,n)!==void 0||n in e.base_?(e.assigned_[n]=!1,Ou(e),Tc(e)):delete e.assigned_[n],e.copy_&&delete e.copy_[n],!0},getOwnPropertyDescriptor(e,n){const i=yn(e),s=Reflect.getOwnPropertyDescriptor(i,n);return s&&{writable:!0,configurable:e.type_!==1||n!=="length",enumerable:s.enumerable,value:i[n]}},defineProperty(){nr(11)},getPrototypeOf(e){return ei(e.base_)},setPrototypeOf(){nr(12)}},to={};Ji(sf,(e,n)=>{to[e]=function(){return arguments[0]=arguments[0][0],n.apply(this,arguments)}});to.deleteProperty=function(e,n){return to.set.call(this,e,n,void 0)};to.set=function(e,n,i){return sf.set.call(this,e[0],n,i,e[0])};function Ru(e,n){const i=e[It];return(i?yn(i):e)[n]}function $b(e,n,i){var l;const s=Qy(n,i);return s?"value"in s?s.value:(l=s.get)==null?void 0:l.call(e.draft_):void 0}function Qy(e,n){if(!(n in e))return;let i=ei(e);for(;i;){const s=Object.getOwnPropertyDescriptor(i,n);if(s)return s;i=ei(i)}}function Tc(e){e.modified_||(e.modified_=!0,e.parent_&&Tc(e.parent_))}function Ou(e){e.copy_||(e.copy_=bc(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var qb=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(n,i,s)=>{if(typeof n=="function"&&typeof i!="function"){const u=i;i=n;const d=this;return function(p=u,...E){return d.produce(p,y=>i.call(this,y,...E))}}typeof i!="function"&&nr(6),s!==void 0&&typeof s!="function"&&nr(7);let l;if(Rr(n)){const u=Im(this),d=Cc(n,void 0);let h=!0;try{l=i(d),h=!1}finally{h?wc(u):xc(u)}return Pm(u,s),Dm(l,u)}else if(!n||typeof n!="object"){if(l=i(n),l===void 0&&(l=n),l===qy&&(l=void 0),this.autoFreeze_&&of(l,!0),s){const u=[],d=[];wn("Patches").generateReplacementPatches_(n,l,u,d),s(u,d)}return l}else nr(1,n)},this.produceWithPatches=(n,i)=>{if(typeof n=="function")return(d,...h)=>this.produceWithPatches(d,p=>n(p,...h));let s,l;return[this.produce(n,i,(d,h)=>{s=d,l=h}),s,l]},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){Rr(e)||nr(8),bn(e)&&(e=Vb(e));const n=Im(this),i=Cc(e,void 0);return i[It].isManual_=!0,xc(n),i}finishDraft(e,n){const i=e&&e[It];(!i||!i.isManual_)&&nr(9);const{scope_:s}=i;return Pm(s,n),Dm(void 0,s)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,n){let i;for(i=n.length-1;i>=0;i--){const l=n[i];if(l.path.length===0&&l.op==="replace"){e=l.value;break}}i>-1&&(n=n.slice(i+1));const s=wn("Patches").applyPatches_;return bn(e)?s(e,n):this.produce(e,l=>s(l,n))}};function Cc(e,n){const i=sa(e)?wn("MapSet").proxyMap_(e,n):aa(e)?wn("MapSet").proxySet_(e,n):Gb(e,n);return(n?n.scope_:Xy()).drafts_.push(i),i}function Vb(e){return bn(e)||nr(10,e),Ky(e)}function Ky(e){if(!Rr(e)||la(e))return e;const n=e[It];let i;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,i=bc(e,n.scope_.immer_.useStrictShallowCopy_)}else i=bc(e,!0);return Ji(i,(s,l)=>{Wy(i,s,Ky(l))}),n&&(n.finalized_=!1),i}var Dt=new qb,Yy=Dt.produce;Dt.produceWithPatches.bind(Dt);Dt.setAutoFreeze.bind(Dt);Dt.setUseStrictShallowCopy.bind(Dt);Dt.applyPatches.bind(Dt);Dt.createDraft.bind(Dt);Dt.finishDraft.bind(Dt);function Zy(e){return({dispatch:i,getState:s})=>l=>u=>typeof u=="function"?u(i,s,e):l(u)}var Wb=Zy(),Xb=Zy,Qb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Xs:Xs.apply(null,arguments)};function Fm(e,n){function i(...s){if(n){let l=n(...s);if(!l)throw new Error(Tr(0));return{type:e,payload:l.payload,..."meta"in l&&{meta:l.meta},..."error"in l&&{error:l.error}}}return{type:e,payload:s[0]}}return i.toString=()=>`${e}`,i.type=e,i.match=s=>Fb(s)&&s.type===e,i}var Jy=class Yi extends Array{constructor(...n){super(...n),Object.setPrototypeOf(this,Yi.prototype)}static get[Symbol.species](){return Yi}concat(...n){return super.concat.apply(this,n)}prepend(...n){return n.length===1&&Array.isArray(n[0])?new Yi(...n[0].concat(this)):new Yi(...n.concat(this))}};function Lm(e){return Rr(e)?Yy(e,()=>{}):e}function Bm(e,n,i){return e.has(n)?e.get(n):e.set(n,i(n)).get(n)}function Kb(e){return typeof e=="boolean"}var Yb=()=>function(n){const{thunk:i=!0,immutableCheck:s=!0,serializableCheck:l=!0,actionCreatorCheck:u=!0}=n??{};let d=new Jy;return i&&(Kb(i)?d.push(Wb):d.push(Xb(i.extraArgument))),d},Zb="RTK_autoBatch",jm=e=>n=>{setTimeout(n,e)},Jb=(e={type:"raf"})=>n=>(...i)=>{const s=n(...i);let l=!0,u=!1,d=!1;const h=new Set,p=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:jm(10):e.type==="callback"?e.queueNotification:jm(e.timeout),E=()=>{d=!1,u&&(u=!1,h.forEach(y=>y()))};return Object.assign({},s,{subscribe(y){const w=()=>l&&y(),m=s.subscribe(w);return h.add(y),()=>{m(),h.delete(y)}},dispatch(y){var w;try{return l=!((w=y==null?void 0:y.meta)!=null&&w[Zb]),u=!l,u&&(d||(d=!0,p(E))),s.dispatch(y)}finally{l=!0}}})},ew=e=>function(i){const{autoBatch:s=!0}=i??{};let l=new Jy(e);return s&&l.push(Jb(typeof s=="object"?s:void 0)),l};function tw(e){const n=Yb(),{reducer:i=void 0,middleware:s,devTools:l=!0,preloadedState:u=void 0,enhancers:d=void 0}=e||{};let h;if(typeof i=="function")h=i;else if(nf(i))h=$y(i);else throw new Error(Tr(1));let p;typeof s=="function"?p=s(n):p=n();let E=Xs;l&&(E=Qb({trace:!1,...typeof l=="object"&&l}));const y=Mb(...p),w=ew(y);let m=typeof d=="function"?d(w):w();const _=E(...m);return Gy(h,u,_)}function ev(e){const n={},i=[];let s;const l={addCase(u,d){const h=typeof u=="string"?u:u.type;if(!h)throw new Error(Tr(28));if(h in n)throw new Error(Tr(29));return n[h]=d,l},addMatcher(u,d){return i.push({matcher:u,reducer:d}),l},addDefaultCase(u){return s=u,l}};return e(l),[n,i,s]}function rw(e){return typeof e=="function"}function nw(e,n){let[i,s,l]=ev(n),u;if(rw(e))u=()=>Lm(e());else{const h=Lm(e);u=()=>h}function d(h=u(),p){let E=[i[p.type],...s.filter(({matcher:y})=>y(p)).map(({reducer:y})=>y)];return E.filter(y=>!!y).length===0&&(E=[l]),E.reduce((y,w)=>{if(w)if(bn(y)){const _=w(y,p);return _===void 0?y:_}else{if(Rr(y))return Yy(y,m=>w(m,p));{const m=w(y,p);if(m===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return m}}return y},h)}return d.getInitialState=u,d}var iw=Symbol.for("rtk-slice-createasyncthunk");function ow(e,n){return`${e}/${n}`}function sw({creators:e}={}){var i;const n=(i=e==null?void 0:e.asyncThunk)==null?void 0:i[iw];return function(l){const{name:u,reducerPath:d=u}=l;if(!u)throw new Error(Tr(11));typeof process<"u";const h=(typeof l.reducers=="function"?l.reducers(lw()):l.reducers)||{},p=Object.keys(h),E={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},y={addCase(S,C){const k=typeof S=="string"?S:S.type;if(!k)throw new Error(Tr(12));if(k in E.sliceCaseReducersByType)throw new Error(Tr(13));return E.sliceCaseReducersByType[k]=C,y},addMatcher(S,C){return E.sliceMatchers.push({matcher:S,reducer:C}),y},exposeAction(S,C){return E.actionCreators[S]=C,y},exposeCaseReducer(S,C){return E.sliceCaseReducersByName[S]=C,y}};p.forEach(S=>{const C=h[S],k={reducerName:S,type:ow(u,S),createNotation:typeof l.reducers=="function"};cw(C)?dw(k,C,y,n):uw(k,C,y)});function w(){const[S={},C=[],k=void 0]=typeof l.extraReducers=="function"?ev(l.extraReducers):[l.extraReducers],L={...S,...E.sliceCaseReducersByType};return nw(l.initialState,U=>{for(let V in L)U.addCase(V,L[V]);for(let V of E.sliceMatchers)U.addMatcher(V.matcher,V.reducer);for(let V of C)U.addMatcher(V.matcher,V.reducer);k&&U.addDefaultCase(k)})}const m=S=>S,_=new Map;let v;function T(S,C){return v||(v=w()),v(S,C)}function x(){return v||(v=w()),v.getInitialState()}function N(S,C=!1){function k(U){let V=U[S];return typeof V>"u"&&C&&(V=x()),V}function L(U=m){const V=Bm(_,C,()=>new WeakMap);return Bm(V,U,()=>{const se={};for(const[te,fe]of Object.entries(l.selectors??{}))se[te]=aw(fe,U,x,C);return se})}return{reducerPath:S,getSelectors:L,get selectors(){return L(k)},selectSlice:k}}const O={name:u,reducer:T,actions:E.actionCreators,caseReducers:E.sliceCaseReducersByName,getInitialState:x,...N(d),injectInto(S,{reducerPath:C,...k}={}){const L=C??d;return S.inject({reducerPath:L,reducer:T},k),{...O,...N(L,!0)}}};return O}}function aw(e,n,i,s){function l(u,...d){let h=n(u);return typeof h>"u"&&s&&(h=i()),e(h,...d)}return l.unwrapped=e,l}var tv=sw();function lw(){function e(n,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:n,...i}}return e.withTypes=()=>e,{reducer(n){return Object.assign({[n.name](...i){return n(...i)}}[n.name],{_reducerDefinitionType:"reducer"})},preparedReducer(n,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:n,reducer:i}},asyncThunk:e}}function uw({type:e,reducerName:n,createNotation:i},s,l){let u,d;if("reducer"in s){if(i&&!fw(s))throw new Error(Tr(17));u=s.reducer,d=s.prepare}else u=s;l.addCase(e,u).exposeCaseReducer(n,u).exposeAction(n,d?Fm(e,d):Fm(e))}function cw(e){return e._reducerDefinitionType==="asyncThunk"}function fw(e){return e._reducerDefinitionType==="reducerWithPrepare"}function dw({type:e,reducerName:n},i,s,l){if(!l)throw new Error(Tr(18));const{payloadCreator:u,fulfilled:d,pending:h,rejected:p,settled:E,options:y}=i,w=l(e,u,y);s.exposeAction(n,w),d&&s.addCase(w.fulfilled,d),h&&s.addCase(w.pending,h),p&&s.addCase(w.rejected,p),E&&s.addMatcher(w.settled,E),s.exposeCaseReducer(n,{fulfilled:d||Ns,pending:h||Ns,rejected:p||Ns,settled:E||Ns})}function Ns(){}function Tr(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 hw={useStartScreen:void 0,formValues:{}},rv=tv({name:"start-screen",initialState:hw,reducers:{enableStartScreen(e){e.useStartScreen=!0},disableStartScreen(e){e.useStartScreen=!1},showStartScreen(e){e.startScreenStatus="VISIBLE",e.formValues={}},startChat(e,n){e.startScreenStatus="HIDDEN",e.formValues=n.payload}}}),{enableStartScreen:pw,disableStartScreen:mw,startChat:gw,showStartScreen:yw}=rv.actions,vw=rv.reducer,nv="RESET_CHAT_STATE",_w=()=>({type:nv}),nt=[];for(let e=0;e<256;++e)nt.push((e+256).toString(16).slice(1));function Ew(e,n=0){return(nt[e[n+0]]+nt[e[n+1]]+nt[e[n+2]]+nt[e[n+3]]+"-"+nt[e[n+4]]+nt[e[n+5]]+"-"+nt[e[n+6]]+nt[e[n+7]]+"-"+nt[e[n+8]]+nt[e[n+9]]+"-"+nt[e[n+10]]+nt[e[n+11]]+nt[e[n+12]]+nt[e[n+13]]+nt[e[n+14]]+nt[e[n+15]]).toLowerCase()}let Nu;const Sw=new Uint8Array(16);function bw(){if(!Nu){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Nu=crypto.getRandomValues.bind(crypto)}return Nu(Sw)}const ww=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),zm={randomUUID:ww};function kc(e,n,i){if(zm.randomUUID&&!n&&!e)return zm.randomUUID();e=e||{};const s=e.random||(e.rng||bw)();return s[6]=s[6]&15|64,s[8]=s[8]&63|128,Ew(s)}const af="CONNECT",lf="CONNECTING",uf="CONNECTED",cf="DISCONNECTED",ff="RECONNECTED",df="RESTORE_SESSION_ID",ua="START",ca="CLEAR_SESSION_ID",xw=[af,lf,uf,cf,ff,df],Tw=(e,n)=>({type:af,clientName:e,querystrings:n}),Cw=e=>({type:df,sessionId:e}),kw=()=>({type:lf}),Rw=()=>({type:uf}),Ow=()=>({type:cf}),Nw=()=>({type:ff}),iv=(e,n)=>(i,s)=>{const l=s().connection,u=s().startScreen.formValues;let d=l.sessionId;d===void 0&&(d=kc());let h=l.userId;if(h===void 0){const p=Cu.get("bubble-chat-userId")||Cu.get("bf-webclient-userId");h=p||kc(),Cu.set("bubble-chat-userId",h)}i({type:ua,payload:{sessionId:d,userId:h,clientName:e,querystrings:{...n,...u}}})},hf=(e,n)=>(i,s)=>{const l=s().connection.sessionId||"";if(i(Aw(l)),i(_w()),s().startScreen.useStartScreen)i(yw());else return i(iv(e,n))},Aw=e=>({type:ca,payload:{sessionId:e}}),qt=()=>{const e=na();return i=>{const s=e.formatMessage({id:i});return s===i?void 0:s}};var _n=(e=>(e[e.CONNECTING=0]="CONNECTING",e[e.CONNECTED=1]="CONNECTED",e[e.RECONNECTED=2]="RECONNECTED",e[e.DISCONNECTED=3]="DISCONNECTED",e))(_n||{}),ov=(e=>(e.GUEST="GUEST",e.BOT="BOT",e.PERSON="PERSON",e))(ov||{});const Pw="_button_bc9qm_54",Iw="_buttonDefault_bc9qm_66",Dw="_buttonPrimary_bc9qm_80",Mw="_accessabilityHidden_bc9qm_132",ot={button:Pw,buttonDefault:Iw,buttonPrimary:Dw,accessabilityHidden:Mw},Fw="_chatwindow_phukm_1",Lw="_chatcontent_phukm_13",Bw={chatwindow:Fw,chatcontent:Lw},jw="_messageContainer_1wdci_1",zw="_messages_1wdci_10",Um={messageContainer:jw,messages:zw};function vn(){return vn=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},vn.apply(this,arguments)}const Uw=["children","options"],re={blockQuote:"0",breakLine:"1",breakThematic:"2",codeBlock:"3",codeFenced:"4",codeInline:"5",footnote:"6",footnoteReference:"7",gfmTask:"8",heading:"9",headingSetext:"10",htmlBlock:"11",htmlComment:"12",htmlSelfClosing:"13",image:"14",link:"15",linkAngleBraceStyleDetector:"16",linkBareUrlDetector:"17",linkMailtoDetector:"18",newlineCoalescer:"19",orderedList:"20",paragraph:"21",ref:"22",refImage:"23",refLink:"24",table:"25",tableSeparator:"26",text:"27",textBolded:"28",textEmphasized:"29",textEscaped:"30",textMarked:"31",textStrikethroughed:"32",unorderedList:"33"};var Hm;(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"})(Hm||(Hm={}));const Gm=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","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,n)=>(e[n.toLowerCase()]=n,e),{class:"className",for:"htmlFor"}),$m={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Hw=["style","script"],Gw=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,$w=/mailto:/i,qw=/\n{2,}$/,sv=/^(\s*>[\s\S]*?)(?=\n\n|$)/,Vw=/^ *> ?/gm,Ww=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,Xw=/^ {2,}\n/,Qw=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,av=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,lv=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,Kw=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,Yw=/^(?:\n *)*\n/,Zw=/\r\n?/g,Jw=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,ex=/^\[\^([^\]]+)]/,tx=/\f/g,rx=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,nx=/^\s*?\[(x|\s)\]/,uv=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,cv=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,fv=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Rc=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,ix=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,dv=/^<!--[\s\S]*?(?:-->)/,ox=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Oc=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,sx=/^\{.*\}$/,ax=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,lx=/^<([^ >]+@[^ >]+)>/,ux=/^<([^ >]+:\/[^ >]+)>/,cx=/-([a-z])?/gi,hv=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,fx=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,dx=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,hx=/^\[([^\]]*)\] ?\[([^\]]*)\]/,px=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,mx=/\t/g,gx=/(^ *\||\| *$)/g,yx=/^ *:-+: *$/,vx=/^ *:-+ *$/,_x=/^ *-+: *$/,fa="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",Ex=new RegExp(`^([*_])\\1${fa}\\1\\1(?!\\1)`),Sx=new RegExp(`^([*_])${fa}\\1(?!\\1|\\w)`),bx=new RegExp(`^==${fa}==`),wx=new RegExp(`^~~${fa}~~`),xx=/^\\([^0-9A-Za-z\s])/,Tx=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Cx=/^\n+/,kx=/^([ \t]*)/,Rx=/\\([^\\])/g,qm=/ *\n+$/,Ox=/(?:^|\n)( *)$/,pf="(?:\\d+\\.)",mf="(?:[*+-])";function pv(e){return"( *)("+(e===1?pf:mf)+") +"}const mv=pv(1),gv=pv(2);function yv(e){return new RegExp("^"+(e===1?mv:gv))}const Nx=yv(1),Ax=yv(2);function vv(e){return new RegExp("^"+(e===1?mv:gv)+"[^\\n]*(?:\\n(?!\\1"+(e===1?pf:mf)+" )[^\\n]*)*(\\n|$)","gm")}const _v=vv(1),Ev=vv(2);function Sv(e){const n=e===1?pf:mf;return new RegExp("^( *)("+n+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+n+" (?!"+n+" ))\\n*|\\s*\\n*$)")}const bv=Sv(1),wv=Sv(2);function Vm(e,n){const i=n===1,s=i?bv:wv,l=i?_v:Ev,u=i?Nx:Ax;return{match(d,h){const p=Ox.exec(h.prevCapture);return p&&(h.list||!h.inline&&!h.simple)?s.exec(d=p[1]+d):null},order:1,parse(d,h,p){const E=i?+d[2]:void 0,y=d[0].replace(qw,`
|
|
85
|
+
`).match(l);let w=!1;return{items:y.map(function(m,_){const v=u.exec(m)[0].length,T=new RegExp("^ {1,"+v+"}","gm"),x=m.replace(T,"").replace(u,""),N=_===y.length-1,O=x.indexOf(`
|
|
86
|
+
|
|
87
|
+
`)!==-1||N&&w;w=O;const S=p.inline,C=p.list;let k;p.list=!0,O?(p.inline=!1,k=x.replace(qm,`
|
|
88
|
+
|
|
89
|
+
`)):(p.inline=!0,k=x.replace(qm,""));const L=h(k,p);return p.inline=S,p.list=C,L}),ordered:i,start:E}},render:(d,h,p)=>e(d.ordered?"ol":"ul",{key:p.key,start:d.type===re.orderedList?d.start:void 0},d.items.map(function(E,y){return e("li",{key:y},h(E,p))}))}}const Px=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),Ix=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,xv=[sv,av,lv,uv,fv,cv,dv,hv,_v,bv,Ev,wv],Dx=[...xv,/^[^\n]+(?: \n|\n{2,})/,Rc,Oc];function Vi(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 Mx(e){return _x.test(e)?"right":yx.test(e)?"center":vx.test(e)?"left":null}function Wm(e,n,i,s){const l=i.inTable;i.inTable=!0;let u=e.trim().split(/( *(?:`[^`]*`|\\\||\|) *)/).reduce((h,p)=>(p.trim()==="|"?h.push(s?{type:re.tableSeparator}:{type:re.text,text:p}):p!==""&&h.push.apply(h,n(p,i)),h),[]);i.inTable=l;let d=[[]];return u.forEach(function(h,p){h.type===re.tableSeparator?p!==0&&p!==u.length-1&&d.push([]):(h.type!==re.text||u[p+1]!=null&&u[p+1].type!==re.tableSeparator||(h.text=h.text.trimEnd()),d[d.length-1].push(h))}),d}function Fx(e,n,i){i.inline=!0;const s=e[2]?e[2].replace(gx,"").split("|").map(Mx):[],l=e[3]?function(d,h,p){return d.trim().split(`
|
|
90
|
+
`).map(function(E){return Wm(E,h,p,!0)})}(e[3],n,i):[],u=Wm(e[1],n,i,!!l.length);return i.inline=!1,l.length?{align:s,cells:l,header:u,type:re.table}:{children:u,type:re.paragraph}}function Xm(e,n){return e.align[n]==null?{}:{textAlign:e.align[n]}}function Xr(e){return function(n,i){return i.inline?e.exec(n):null}}function Qr(e){return function(n,i){return i.inline||i.simple?e.exec(n):null}}function br(e){return function(n,i){return i.inline||i.simple?null:e.exec(n)}}function Wi(e){return function(n){return e.exec(n)}}function Lx(e,n){if(n.inline||n.simple)return null;let i="";e.split(`
|
|
91
|
+
`).every(l=>!xv.some(u=>u.test(l))&&(i+=l+`
|
|
92
|
+
`,l.trim()));const s=i.trimEnd();return s==""?null:[i,s]}function Bx(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch{return null}return e}function Qm(e){return e.replace(Rx,"$1")}function Us(e,n,i){const s=i.inline||!1,l=i.simple||!1;i.inline=!0,i.simple=!0;const u=e(n,i);return i.inline=s,i.simple=l,u}function jx(e,n,i){const s=i.inline||!1,l=i.simple||!1;i.inline=!1,i.simple=!0;const u=e(n,i);return i.inline=s,i.simple=l,u}function zx(e,n,i){const s=i.inline||!1;i.inline=!1;const l=e(n,i);return i.inline=s,l}const Au=(e,n,i)=>({children:Us(n,e[1],i)});function Pu(){return{}}function Iu(){return null}function Ux(...e){return e.filter(Boolean).join(" ")}function Du(e,n,i){let s=e;const l=n.split(".");for(;l.length&&(s=s[l[0]],s!==void 0);)l.shift();return s||i}function Hx(e="",n={}){function i(m,_,...v){const T=Du(n.overrides,`${m}.props`,{});return n.createElement(function(x,N){const O=Du(N,x);return O?typeof O=="function"||typeof O=="object"&&"render"in O?O:Du(N,`${x}.component`,x):x}(m,n.overrides),vn({},_,T,{className:Ux(_==null?void 0:_.className,T.className)||void 0}),...v)}function s(m){m=m.replace(rx,"");let _=!1;n.forceInline?_=!0:n.forceBlock||(_=px.test(m)===!1);const v=E(p(_?m:`${m.trimEnd().replace(Cx,"")}
|
|
93
|
+
|
|
94
|
+
`,{inline:_}));for(;typeof v[v.length-1]=="string"&&!v[v.length-1].trim();)v.pop();if(n.wrapper===null)return v;const T=n.wrapper||(_?"span":"div");let x;if(v.length>1||n.forceWrapper)x=v;else{if(v.length===1)return x=v[0],typeof x=="string"?i("span",{key:"outer"},x):x;x=null}return n.createElement(T,{key:"outer"},x)}function l(m,_){const v=_.match(Gw);return v?v.reduce(function(T,x,N){const O=x.indexOf("=");if(O!==-1){const S=function(U){return U.indexOf("-")!==-1&&U.match(ox)===null&&(U=U.replace(cx,function(V,se){return se.toUpperCase()})),U}(x.slice(0,O)).trim(),C=function(U){const V=U[0];return(V==='"'||V==="'")&&U.length>=2&&U[U.length-1]===V?U.slice(1,-1):U}(x.slice(O+1).trim()),k=Gm[S]||S;if(k==="ref")return T;const L=T[k]=function(U,V,se,te){return V==="style"?se.split(/;\s?/).reduce(function(fe,de){const ae=de.slice(0,de.indexOf(":"));return fe[ae.trim().replace(/(-[a-z])/g,Le=>Le[1].toUpperCase())]=de.slice(ae.length+1).trim(),fe},{}):V==="href"||V==="src"?te(se,U,V):(se.match(sx)&&(se=se.slice(1,se.length-1)),se==="true"||se!=="false"&&se)}(m,S,C,n.sanitizer);typeof L=="string"&&(Rc.test(L)||Oc.test(L))&&(T[k]=s(L.trim()))}else x!=="style"&&(T[Gm[x]||x]=!0);return T},{}):null}n.overrides=n.overrides||{},n.sanitizer=n.sanitizer||Bx,n.slugify=n.slugify||Vi,n.namedCodesToUnicode=n.namedCodesToUnicode?vn({},$m,n.namedCodesToUnicode):$m,n.createElement=n.createElement||K.createElement;const u=[],d={},h={[re.blockQuote]:{match:br(sv),order:1,parse(m,_,v){const[,T,x]=m[0].replace(Vw,"").match(Ww);return{alert:T,children:_(x,v)}},render(m,_,v){const T={key:v.key};return m.alert&&(T.className="markdown-alert-"+n.slugify(m.alert.toLowerCase(),Vi),m.children.unshift({attrs:{},children:[{type:re.text,text:m.alert}],noInnerParse:!0,type:re.htmlBlock,tag:"header"})),i("blockquote",T,_(m.children,v))}},[re.breakLine]:{match:Wi(Xw),order:1,parse:Pu,render:(m,_,v)=>i("br",{key:v.key})},[re.breakThematic]:{match:br(Qw),order:1,parse:Pu,render:(m,_,v)=>i("hr",{key:v.key})},[re.codeBlock]:{match:br(lv),order:0,parse:m=>({lang:void 0,text:m[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(m,_,v)=>i("pre",{key:v.key},i("code",vn({},m.attrs,{className:m.lang?`lang-${m.lang}`:""}),m.text))},[re.codeFenced]:{match:br(av),order:0,parse:m=>({attrs:l("code",m[3]||""),lang:m[2]||void 0,text:m[4],type:re.codeBlock})},[re.codeInline]:{match:Qr(Kw),order:3,parse:m=>({text:m[2]}),render:(m,_,v)=>i("code",{key:v.key},m.text)},[re.footnote]:{match:br(Jw),order:0,parse:m=>(u.push({footnote:m[2],identifier:m[1]}),{}),render:Iu},[re.footnoteReference]:{match:Xr(ex),order:1,parse:m=>({target:`#${n.slugify(m[1],Vi)}`,text:m[1]}),render:(m,_,v)=>i("a",{key:v.key,href:n.sanitizer(m.target,"a","href")},i("sup",{key:v.key},m.text))},[re.gfmTask]:{match:Xr(nx),order:1,parse:m=>({completed:m[1].toLowerCase()==="x"}),render:(m,_,v)=>i("input",{checked:m.completed,key:v.key,readOnly:!0,type:"checkbox"})},[re.heading]:{match:br(n.enforceAtxHeadings?cv:uv),order:1,parse:(m,_,v)=>({children:Us(_,m[2],v),id:n.slugify(m[2],Vi),level:m[1].length}),render:(m,_,v)=>i(`h${m.level}`,{id:m.id,key:v.key},_(m.children,v))},[re.headingSetext]:{match:br(fv),order:0,parse:(m,_,v)=>({children:Us(_,m[1],v),level:m[2]==="="?1:2,type:re.heading})},[re.htmlBlock]:{match:Wi(Rc),order:1,parse(m,_,v){const[,T]=m[3].match(kx),x=new RegExp(`^${T}`,"gm"),N=m[3].replace(x,""),O=(S=N,Dx.some(V=>V.test(S))?zx:Us);var S;const C=m[1].toLowerCase(),k=Hw.indexOf(C)!==-1,L=(k?C:m[1]).trim(),U={attrs:l(L,m[2]),noInnerParse:k,tag:L};return v.inAnchor=v.inAnchor||C==="a",k?U.text=m[3]:U.children=O(_,N,v),v.inAnchor=!1,U},render:(m,_,v)=>i(m.tag,vn({key:v.key},m.attrs),m.text||(m.children?_(m.children,v):""))},[re.htmlSelfClosing]:{match:Wi(Oc),order:1,parse(m){const _=m[1].trim();return{attrs:l(_,m[2]||""),tag:_}},render:(m,_,v)=>i(m.tag,vn({},m.attrs,{key:v.key}))},[re.htmlComment]:{match:Wi(dv),order:1,parse:()=>({}),render:Iu},[re.image]:{match:Qr(Ix),order:1,parse:m=>({alt:m[1],target:Qm(m[2]),title:m[3]}),render:(m,_,v)=>i("img",{key:v.key,alt:m.alt||void 0,title:m.title||void 0,src:n.sanitizer(m.target,"img","src")})},[re.link]:{match:Xr(Px),order:3,parse:(m,_,v)=>({children:jx(_,m[1],v),target:Qm(m[2]),title:m[3]}),render:(m,_,v)=>i("a",{key:v.key,href:n.sanitizer(m.target,"a","href"),title:m.title},_(m.children,v))},[re.linkAngleBraceStyleDetector]:{match:Xr(ux),order:0,parse:m=>({children:[{text:m[1],type:re.text}],target:m[1],type:re.link})},[re.linkBareUrlDetector]:{match:(m,_)=>_.inAnchor||n.disableAutoLink?null:Xr(ax)(m,_),order:0,parse:m=>({children:[{text:m[1],type:re.text}],target:m[1],title:void 0,type:re.link})},[re.linkMailtoDetector]:{match:Xr(lx),order:0,parse(m){let _=m[1],v=m[1];return $w.test(v)||(v="mailto:"+v),{children:[{text:_.replace("mailto:",""),type:re.text}],target:v,type:re.link}}},[re.orderedList]:Vm(i,1),[re.unorderedList]:Vm(i,2),[re.newlineCoalescer]:{match:br(Yw),order:3,parse:Pu,render:()=>`
|
|
95
|
+
`},[re.paragraph]:{match:Lx,order:3,parse:Au,render:(m,_,v)=>i("p",{key:v.key},_(m.children,v))},[re.ref]:{match:Xr(fx),order:0,parse:m=>(d[m[1]]={target:m[2],title:m[4]},{}),render:Iu},[re.refImage]:{match:Qr(dx),order:0,parse:m=>({alt:m[1]||void 0,ref:m[2]}),render:(m,_,v)=>d[m.ref]?i("img",{key:v.key,alt:m.alt,src:n.sanitizer(d[m.ref].target,"img","src"),title:d[m.ref].title}):null},[re.refLink]:{match:Xr(hx),order:0,parse:(m,_,v)=>({children:_(m[1],v),fallbackChildren:m[0],ref:m[2]}),render:(m,_,v)=>d[m.ref]?i("a",{key:v.key,href:n.sanitizer(d[m.ref].target,"a","href"),title:d[m.ref].title},_(m.children,v)):i("span",{key:v.key},m.fallbackChildren)},[re.table]:{match:br(hv),order:1,parse:Fx,render(m,_,v){const T=m;return i("table",{key:v.key},i("thead",null,i("tr",null,T.header.map(function(x,N){return i("th",{key:N,style:Xm(T,N)},_(x,v))}))),i("tbody",null,T.cells.map(function(x,N){return i("tr",{key:N},x.map(function(O,S){return i("td",{key:S,style:Xm(T,S)},_(O,v))}))})))}},[re.text]:{match:Wi(Tx),order:4,parse:m=>({text:m[0].replace(ix,(_,v)=>n.namedCodesToUnicode[v]?n.namedCodesToUnicode[v]:_)}),render:m=>m.text},[re.textBolded]:{match:Qr(Ex),order:2,parse:(m,_,v)=>({children:_(m[2],v)}),render:(m,_,v)=>i("strong",{key:v.key},_(m.children,v))},[re.textEmphasized]:{match:Qr(Sx),order:3,parse:(m,_,v)=>({children:_(m[2],v)}),render:(m,_,v)=>i("em",{key:v.key},_(m.children,v))},[re.textEscaped]:{match:Qr(xx),order:1,parse:m=>({text:m[1],type:re.text})},[re.textMarked]:{match:Qr(bx),order:3,parse:Au,render:(m,_,v)=>i("mark",{key:v.key},_(m.children,v))},[re.textStrikethroughed]:{match:Qr(wx),order:3,parse:Au,render:(m,_,v)=>i("del",{key:v.key},_(m.children,v))}};n.disableParsingRawHTML===!0&&(delete h[re.htmlBlock],delete h[re.htmlSelfClosing]);const p=function(m){let _=Object.keys(m);function v(T,x){let N=[];for(x.prevCapture=x.prevCapture||"";T;){let O=0;for(;O<_.length;){const S=_[O],C=m[S],k=C.match(T,x);if(k){const L=k[0];x.prevCapture+=L,T=T.substring(L.length);const U=C.parse(k,v,x);U.type==null&&(U.type=S),N.push(U);break}O++}}return x.prevCapture="",N}return _.sort(function(T,x){let N=m[T].order,O=m[x].order;return N!==O?N-O:T<x?-1:1}),function(T,x){return v(function(N){return N.replace(Zw,`
|
|
96
|
+
`).replace(tx,"").replace(mx," ")}(T),x)}}(h),E=(y=function(m,_){return function(v,T,x){const N=m[v.type].render;return _?_(()=>N(v,T,x),v,T,x):N(v,T,x)}}(h,n.renderRule),function m(_,v={}){if(Array.isArray(_)){const T=v.key,x=[];let N=!1;for(let O=0;O<_.length;O++){v.key=O;const S=m(_[O],v),C=typeof S=="string";C&&N?x[x.length-1]+=S:S!==null&&x.push(S),N=C}return v.key=T,x}return y(_,m,v)});var y;const w=s(e);return u.length?i("div",null,w,i("footer",{key:"footer"},u.map(function(m){return i("div",{id:n.slugify(m.identifier,Vi),key:m.identifier},m.identifier,E(p(m.footnote,{inline:!0})))}))):w}const Yr=e=>{let{children:n="",options:i}=e,s=function(l,u){if(l==null)return{};var d,h,p={},E=Object.keys(l);for(h=0;h<E.length;h++)u.indexOf(d=E[h])>=0||(p[d]=l[d]);return p}(e,Uw);return K.cloneElement(Hx(n,i),s)};var Tv={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Km=ir.createContext&&ir.createContext(Tv),Gx=["attr","size","title"];function $x(e,n){if(e==null)return{};var i=qx(e,n),s,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(l=0;l<u.length;l++)s=u[l],!(n.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(e,s)&&(i[s]=e[s])}return i}function qx(e,n){if(e==null)return{};var i={};for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){if(n.indexOf(s)>=0)continue;i[s]=e[s]}return i}function Ys(){return Ys=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},Ys.apply(this,arguments)}function Ym(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);n&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),i.push.apply(i,s)}return i}function Zs(e){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?Ym(Object(i),!0).forEach(function(s){Vx(e,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ym(Object(i)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(i,s))})}return e}function Vx(e,n,i){return n=Wx(n),n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}function Wx(e){var n=Xx(e,"string");return typeof n=="symbol"?n:n+""}function Xx(e,n){if(typeof e!="object"||!e)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var s=i.call(e,n||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function Cv(e){return e&&e.map((n,i)=>ir.createElement(n.tag,Zs({key:i},n.attr),Cv(n.child)))}function kv(e){return n=>ir.createElement(Qx,Ys({attr:Zs({},e.attr)},n),Cv(e.child))}function Qx(e){var n=i=>{var{attr:s,size:l,title:u}=e,d=$x(e,Gx),h=l||i.size||"1em",p;return i.className&&(p=i.className),e.className&&(p=(p?p+" ":"")+e.className),ir.createElement("svg",Ys({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},i.attr,s,d,{className:p,style:Zs(Zs({color:e.color||i.color},i.style),e.style),height:h,width:h,xmlns:"http://www.w3.org/2000/svg"}),u&&ir.createElement("title",null,u),e.children)};return Km!==void 0?ir.createElement(Km.Consumer,null,i=>n(i)):n(Tv)}function Kx(e){return kv({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 Yx(e){return kv({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 Zx="_generalConditionsContainer_1ijeb_1",Jx="_generalConditions_1ijeb_1",eT="_generalConditionsHeader_1ijeb_15",tT="_generalConditionsBody_1ijeb_25",rT="_generalConditionsAccept_1ijeb_33",Xi={generalConditionsContainer:Zx,generalConditions:Jx,generalConditionsHeader:eT,generalConditionsBody:tT,generalConditionsAccept:rT},nT="general-conditions.header",iT="general-conditions.body",Zm="general-conditions.accept-conditions-note",oT=()=>{const e=qt(),[n,i]=K.useState(!1),s=()=>i(!n),l=h=>{h.key==="ArrowDown"||h.key==="ArrowRight"?i(!0):h.key==="ArrowUp"||h.key==="ArrowLeft"||h.key==="Escape"?i(!1):(h.key==="Enter"||h.key==="Space"||h.key===" ")&&s()},u=e(nT),d=e(Zm);return R.jsxs("div",{className:$(Xi.generalConditionsContainer,"chat__generalConditions"),children:[!!(u!=null&&u.length)&&R.jsxs("div",{className:Xi.generalConditions,children:[R.jsxs("div",{role:"button",onClick:s,onKeyDown:l,tabIndex:0,className:$(Xi.generalConditionsHeader,"chat__generalConditions__header"),"aria-controls":"general-conditions-body","aria-expanded":n?"true":"false","aria-pressed":n?"true":"false",children:[R.jsx(Yr,{children:u}),n?R.jsx(Yx,{}):R.jsx(Kx,{})]}),R.jsx("div",{className:$(Xi.generalConditionsBody,"chat__generalConditions__body"),id:"general-conditions-body",role:"region",tabIndex:-1,children:n&&R.jsx(Yr,{children:e(iT)||""})})]}),!!(d!=null&&d.length)&&R.jsx("div",{className:$(Xi.generalConditionsAccept,"chat__generalConditions__accept"),tabIndex:0,children:R.jsx(Yr,{children:e(Zm)||""})})]})},sT="_message_iyv51_5",aT="_messageBot_iyv51_12",lT="_messageBotLast_iyv51_20",uT="_avatar_iyv51_20",cT="_messageBotFirst_iyv51_24",fT="_messageBotAnimated_iyv51_37",dT="_fadeInLeft_iyv51_1",hT="_messageGuest_iyv51_48",pT="_messageGuestFirst_iyv51_54",mT="_messageGuestLast_iyv51_60",gT="_botAvatar_iyv51_74",yT="_agentAvatar_iyv51_78",vT="_bubble_iyv51_82",_T="_bubbleContent_iyv51_88",ET="_bubbleLeft_iyv51_191",ST="_leftText_iyv51_200",bT="_bubbleRight_iyv51_207",wT="_rightText_iyv51_215",pe={message:sT,messageBot:aT,messageBotLast:lT,avatar:uT,messageBotFirst:cT,messageBotAnimated:fT,fadeInLeft:dT,messageGuest:hT,messageGuestFirst:pT,messageGuestLast:mT,botAvatar:gT,agentAvatar:yT,bubble:vT,bubbleContent:_T,bubbleLeft:ET,leftText:ST,bubbleRight:bT,rightText:wT},xT="_botMessageActions_4blu2_1",TT="_alwaysVisible_4blu2_20",CT="_reported_4blu2_27",kT="_action_4blu2_31",Kr={botMessageActions:xT,alwaysVisible:TT,reported:CT,action:kT},RT=({alwaysVisible:e,reaction:n,botMessageRef:i,onReaction:s})=>{const l=qt(),[u,d]=K.useState(!1),h=E=>()=>s(E),p=K.useCallback(async()=>{if(i.current)try{d(!0);const E=i.current.innerHTML,y=i.current.innerText;await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([E],{type:"text/html"}),"text/plain":new Blob([y],{type:"text/plain"})})]),await new Promise(w=>setTimeout(w,1500))}finally{d(!1)}},[i]);return R.jsxs("div",{className:$(Kr.botMessageActions,e&&Kr.alwaysVisible,n&&Kr.reported),children:[R.jsx("button",{className:$(Kr.action,n==="GOOD"&&Kr.reported,"tooltip--right"),tabIndex:0,"aria-label":l(n==="GOOD"?"bot-bubble.reaction.remove":"bot-bubble.reaction.good"),"data-title":l(n==="GOOD"?"bot-bubble.reaction.remove":"bot-bubble.reaction.good"),onClick:h(n==="GOOD"?null:"GOOD"),children:R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:n==="GOOD"?R.jsx("path",{d:"M234,80.12A24,24,0,0,0,216,72H160V56a40,40,0,0,0-40-40,8,8,0,0,0-7.16,4.42L75.06,96H32a16,16,0,0,0-16,16v88a16,16,0,0,0,16,16H204a24,24,0,0,0,23.82-21l12-96A24,24,0,0,0,234,80.12ZM32,112H72v88H32Z"}):R.jsx("path",{d:"M234,80.12A24,24,0,0,0,216,72H160V56a40,40,0,0,0-40-40,8,8,0,0,0-7.16,4.42L75.06,96H32a16,16,0,0,0-16,16v88a16,16,0,0,0,16,16H204a24,24,0,0,0,23.82-21l12-96A24,24,0,0,0,234,80.12ZM32,112H72v88H32ZM223.94,97l-12,96a8,8,0,0,1-7.94,7H88V105.89l36.71-73.43A24,24,0,0,1,144,56V80a8,8,0,0,0,8,8h64a8,8,0,0,1,7.94,9Z"})})}),R.jsx("button",{className:$(Kr.action,n==="BAD"&&Kr.reported,"tooltip--right"),tabIndex:0,"aria-label":l(n==="BAD"?"bot-bubble.reaction.remove":"bot-bubble.reaction.bad"),"data-title":l(n==="BAD"?"bot-bubble.reaction.remove":"bot-bubble.reaction.bad"),onClick:h(n==="BAD"?null:"BAD"),children:R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:n==="BAD"?R.jsx("path",{d:"M239.82,157l-12-96A24,24,0,0,0,204,40H32A16,16,0,0,0,16,56v88a16,16,0,0,0,16,16H75.06l37.78,75.58A8,8,0,0,0,120,240a40,40,0,0,0,40-40V184h56a24,24,0,0,0,23.82-27ZM72,144H32V56H72Z"}):R.jsx("path",{d:"M239.82,157l-12-96A24,24,0,0,0,204,40H32A16,16,0,0,0,16,56v88a16,16,0,0,0,16,16H75.06l37.78,75.58A8,8,0,0,0,120,240a40,40,0,0,0,40-40V184h56a24,24,0,0,0,23.82-27ZM72,144H32V56H72Zm150,21.29a7.88,7.88,0,0,1-6,2.71H152a8,8,0,0,0-8,8v24a24,24,0,0,1-19.29,23.54L88,150.11V56H204a8,8,0,0,1,7.94,7l12,96A7.87,7.87,0,0,1,222,165.29Z"})})}),R.jsx("button",{className:$(Kr.action,"tooltip--right"),tabIndex:0,"aria-label":l("bot-bubble.copy"),"data-title":l("bot-bubble.copy"),onClick:p,children:R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:u?R.jsx("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}):R.jsx("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"})})})]})},Rv=K.forwardRef(({message:e,isAnimated:n,isLastMessage:i,isFirstMessageBySender:s,isLastMessageBySender:l,children:u,onReaction:d},h)=>{const p=qt(),E=K.useRef(null),y=e.sender.type===ge.UserType.BOT;return R.jsxs("li",{ref:h,className:$(pe.message,pe.messageBot,i&&pe.lastMessage,s&&pe.messageBotFirst,l&&pe.messageBotLast,"chat__bubbleContainer",n&&pe.messageBotAnimated,n&&"chat__bubbleContainer--animated",y?"chat__botBubbleContainer":"chat__agentBubbleContainer",s&&"chat__bubbleContainer--first",l&&"chat__bubbleContainer--last"),children:[R.jsx("img",{className:$(pe.avatar,y?pe.botAvatar:pe.agentAvatar,"chat__avatar",y?"chat__botAvatar":"chat__agentAvatar"),src:`${e.sender.avatar}`,alt:y?"Bot":"Agent",referrerPolicy:"no-referrer"}),R.jsx("div",{ref:E,className:$(pe.bubble,pe.bubbleLeft,"chat__bubble",y?"chat__botBubble":"chat__agentBubble"),tabIndex:0,"aria-label":p(y?"bot-bubble.label":"agent-bubble.label"),children:R.jsx("div",{className:$(pe.leftText),children:u})}),d&&R.jsx(RT,{alwaysVisible:i&&l,reaction:e.reaction,botMessageRef:E,onReaction:d})]})}),OT="_title_1mhh2_1",NT="_subtitle_1mhh2_6",AT="_buttons_1mhh2_11",PT="_button_1mhh2_11",IT="_imageContainer_1mhh2_33",DT="_image_1mhh2_33",MT="_video_container_1mhh2_44",FT="_video_1mhh2_44",LT="_only_1mhh2_54",Tt={title:OT,subtitle:NT,buttons:AT,button:PT,imageContainer:IT,image:DT,video_container:MT,video:FT,only:LT},BT=({buttons:e,onButtonClick:n})=>R.jsx("div",{className:$(Tt.buttons,"chat__bubbleButtons"),children:e.map((i,s)=>R.jsx("button",{className:$(Tt.button,ot.button,"chat__bubbleButton"),onClick:()=>n(i),children:i.title},s))});var As={},Ps={},Is={},Jm;function jT(){if(Jm)return Is;Jm=1,Object.defineProperty(Is,"__esModule",{value:!0});var e=ti(),n=i(e);function i(s){if(s&&s.__esModule)return s;var l={};if(s!=null)for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(l[u]=s[u]);return l.default=s,l}return Is.default=function(s,l,u){return n.createElement("a",{href:s,key:u},l)},Is}var Ds={},eg;function zT(){return eg||(eg=1,Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.default=function(e){return e}),Ds}var Ms={},Mu,tg;function UT(){return tg||(tg=1,Mu=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Mu}var Fu,rg;function HT(){return rg||(rg=1,Fu=/[\0-\x1F\x7F-\x9F]/),Fu}var Lu,ng;function GT(){return ng||(ng=1,Lu=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Lu}var Bu,ig;function $T(){return ig||(ig=1,Bu=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/),Bu}var ju,og;function qT(){return og||(og=1,ju=function(e){var n={};n.src_Any=UT().source,n.src_Cc=HT().source,n.src_Z=GT().source,n.src_P=$T().source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");var i="[><|]";return n.src_pseudo_letter="(?:(?!"+i+"|"+n.src_ZPCc+")"+n.src_Any+")",n.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]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|"+i+"|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|"+i+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+n.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+n.src_ZCc+").|\\!(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|"+i+'|"|\\(|'+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}),ju}var zu,sg;function VT(){if(sg)return zu;sg=1;function e(S){var C=Array.prototype.slice.call(arguments,1);return C.forEach(function(k){k&&Object.keys(k).forEach(function(L){S[L]=k[L]})}),S}function n(S){return Object.prototype.toString.call(S)}function i(S){return n(S)==="[object String]"}function s(S){return n(S)==="[object Object]"}function l(S){return n(S)==="[object RegExp]"}function u(S){return n(S)==="[object Function]"}function d(S){return S.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var h={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function p(S){return Object.keys(S||{}).reduce(function(C,k){return C||h.hasOwnProperty(k)},!1)}var E={"http:":{validate:function(S,C,k){var L=S.slice(C);return k.re.http||(k.re.http=new RegExp("^\\/\\/"+k.re.src_auth+k.re.src_host_port_strict+k.re.src_path,"i")),k.re.http.test(L)?L.match(k.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(S,C,k){var L=S.slice(C);return k.re.no_http||(k.re.no_http=new RegExp("^"+k.re.src_auth+"(?:localhost|(?:(?:"+k.re.src_domain+")\\.)+"+k.re.src_domain_root+")"+k.re.src_port+k.re.src_host_terminator+k.re.src_path,"i")),k.re.no_http.test(L)?C>=3&&S[C-3]===":"||C>=3&&S[C-3]==="/"?0:L.match(k.re.no_http)[0].length:0}},"mailto:":{validate:function(S,C,k){var L=S.slice(C);return k.re.mailto||(k.re.mailto=new RegExp("^"+k.re.src_email_name+"@"+k.re.src_host_strict,"i")),k.re.mailto.test(L)?L.match(k.re.mailto)[0].length:0}}},y="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]",w="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function m(S){S.__index__=-1,S.__text_cache__=""}function _(S){return function(C,k){var L=C.slice(k);return S.test(L)?L.match(S)[0].length:0}}function v(){return function(S,C){C.normalize(S)}}function T(S){var C=S.re=qT()(S.__opts__),k=S.__tlds__.slice();S.onCompile(),S.__tlds_replaced__||k.push(y),k.push(C.src_xn),C.src_tlds=k.join("|");function L(te){return te.replace("%TLDS%",C.src_tlds)}C.email_fuzzy=RegExp(L(C.tpl_email_fuzzy),"i"),C.link_fuzzy=RegExp(L(C.tpl_link_fuzzy),"i"),C.link_no_ip_fuzzy=RegExp(L(C.tpl_link_no_ip_fuzzy),"i"),C.host_fuzzy_test=RegExp(L(C.tpl_host_fuzzy_test),"i");var U=[];S.__compiled__={};function V(te,fe){throw new Error('(LinkifyIt) Invalid schema "'+te+'": '+fe)}Object.keys(S.__schemas__).forEach(function(te){var fe=S.__schemas__[te];if(fe!==null){var de={validate:null,link:null};if(S.__compiled__[te]=de,s(fe)){l(fe.validate)?de.validate=_(fe.validate):u(fe.validate)?de.validate=fe.validate:V(te,fe),u(fe.normalize)?de.normalize=fe.normalize:fe.normalize?V(te,fe):de.normalize=v();return}if(i(fe)){U.push(te);return}V(te,fe)}}),U.forEach(function(te){S.__compiled__[S.__schemas__[te]]&&(S.__compiled__[te].validate=S.__compiled__[S.__schemas__[te]].validate,S.__compiled__[te].normalize=S.__compiled__[S.__schemas__[te]].normalize)}),S.__compiled__[""]={validate:null,normalize:v()};var se=Object.keys(S.__compiled__).filter(function(te){return te.length>0&&S.__compiled__[te]}).map(d).join("|");S.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+C.src_ZPCc+"))("+se+")","i"),S.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+C.src_ZPCc+"))("+se+")","ig"),S.re.pretest=RegExp("("+S.re.schema_test.source+")|("+S.re.host_fuzzy_test.source+")|@","i"),m(S)}function x(S,C){var k=S.__index__,L=S.__last_index__,U=S.__text_cache__.slice(k,L);this.schema=S.__schema__.toLowerCase(),this.index=k+C,this.lastIndex=L+C,this.raw=U,this.text=U,this.url=U}function N(S,C){var k=new x(S,C);return S.__compiled__[k.schema].normalize(k,S),k}function O(S,C){if(!(this instanceof O))return new O(S,C);C||p(S)&&(C=S,S={}),this.__opts__=e({},h,C),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},E,S),this.__compiled__={},this.__tlds__=w,this.__tlds_replaced__=!1,this.re={},T(this)}return O.prototype.add=function(C,k){return this.__schemas__[C]=k,T(this),this},O.prototype.set=function(C){return this.__opts__=e(this.__opts__,C),this},O.prototype.test=function(C){if(this.__text_cache__=C,this.__index__=-1,!C.length)return!1;var k,L,U,V,se,te,fe,de,ae;if(this.re.schema_test.test(C)){for(fe=this.re.schema_search,fe.lastIndex=0;(k=fe.exec(C))!==null;)if(V=this.testSchemaAt(C,k[2],fe.lastIndex),V){this.__schema__=k[2],this.__index__=k.index+k[1].length,this.__last_index__=k.index+k[0].length+V;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(de=C.search(this.re.host_fuzzy_test),de>=0&&(this.__index__<0||de<this.__index__)&&(L=C.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(se=L.index+L[1].length,(this.__index__<0||se<this.__index__)&&(this.__schema__="",this.__index__=se,this.__last_index__=L.index+L[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(ae=C.indexOf("@"),ae>=0&&(U=C.match(this.re.email_fuzzy))!==null&&(se=U.index+U[1].length,te=U.index+U[0].length,(this.__index__<0||se<this.__index__||se===this.__index__&&te>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=se,this.__last_index__=te))),this.__index__>=0},O.prototype.pretest=function(C){return this.re.pretest.test(C)},O.prototype.testSchemaAt=function(C,k,L){return this.__compiled__[k.toLowerCase()]?this.__compiled__[k.toLowerCase()].validate(C,L,this):0},O.prototype.match=function(C){var k=0,L=[];this.__index__>=0&&this.__text_cache__===C&&(L.push(N(this,k)),k=this.__last_index__);for(var U=k?C.slice(k):C;this.test(U);)L.push(N(this,k)),U=U.slice(this.__last_index__),k+=this.__last_index__;return L.length?L:null},O.prototype.tlds=function(C,k){return C=Array.isArray(C)?C:[C],k?(this.__tlds__=this.__tlds__.concat(C).sort().filter(function(L,U,V){return L!==V[U-1]}).reverse(),T(this),this):(this.__tlds__=C.slice(),this.__tlds_replaced__=!0,T(this),this)},O.prototype.normalize=function(C){C.schema||(C.url="http://"+C.url),C.schema==="mailto:"&&!/^mailto:/i.test(C.url)&&(C.url="mailto:"+C.url)},O.prototype.onCompile=function(){},zu=O,zu}const WT=JSON.parse('["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","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","اتصالات","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"]');var ag;function XT(){if(ag)return Ms;ag=1,Object.defineProperty(Ms,"__esModule",{value:!0});var e=VT(),n=l(e),i=WT,s=l(i);function l(d){return d&&d.__esModule?d:{default:d}}var u=new n.default;return u.tlds(s.default),Ms.default=function(d){return u.match(d)},Ms}var Fs={},lg;function QT(){return lg||(lg=1,Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.default=function(e){return e}),Fs}var ug;function KT(){if(ug)return Ps;ug=1,Object.defineProperty(Ps,"__esModule",{value:!0});var e=function(){function N(O,S){for(var C=0;C<S.length;C++){var k=S[C];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(O,k.key,k)}}return function(O,S,C){return S&&N(O.prototype,S),C&&N(O,C),O}}(),n=ti(),i=m(n),s=jT(),l=w(s),u=zT(),d=w(u),h=XT(),p=w(h),E=QT(),y=w(E);function w(N){return N&&N.__esModule?N:{default:N}}function m(N){if(N&&N.__esModule)return N;var O={};if(N!=null)for(var S in N)Object.prototype.hasOwnProperty.call(N,S)&&(O[S]=N[S]);return O.default=N,O}function _(N,O){if(!(N instanceof O))throw new TypeError("Cannot call a class as a function")}function v(N,O){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:N}function T(N,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);N.prototype=Object.create(O&&O.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(N,O):N.__proto__=O)}var x=function(N){T(O,N);function O(){return _(this,O),v(this,(O.__proto__||Object.getPrototypeOf(O)).apply(this,arguments))}return e(O,[{key:"parseString",value:function(C){var k=this;if(C==="")return C;var L=this.props.matchDecorator(C);if(!L)return C;var U=[],V=0;return L.forEach(function(se,te){se.index>V&&U.push(C.substring(V,se.index));var fe=k.props.hrefDecorator(se.url),de=k.props.textDecorator(se.text),ae=k.props.componentDecorator(fe,de,te);U.push(ae),V=se.lastIndex}),C.length>V&&U.push(C.substring(V)),U.length===1?U[0]:U}},{key:"parse",value:function(C){var k=this,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof C=="string"?this.parseString(C):i.isValidElement(C)&&C.type!=="a"&&C.type!=="button"?i.cloneElement(C,{key:L},this.parse(C.props.children)):Array.isArray(C)?C.map(function(U,V){return k.parse(U,V)}):C}},{key:"render",value:function(){return i.createElement(i.Fragment,null,this.parse(this.props.children))}}]),O}(i.Component);return x.defaultProps={componentDecorator:l.default,hrefDecorator:d.default,matchDecorator:p.default,textDecorator:y.default},Ps.default=x,Ps}var cg;function YT(){if(cg)return As;cg=1,Object.defineProperty(As,"__esModule",{value:!0});var e=KT(),n=i(e);function i(s){return s&&s.__esModule?s:{default:s}}return As.default=n.default,As}var ZT=YT();const JT=ea(ZT),eC="_text_1k7aq_1",tC={text:eC},Ov=({text:e,onLinkClick:n})=>{const i=l=>u=>(u.preventDefault(),l&&n(l),!1),s=(l,u,d)=>R.jsx("a",{onClick:i(l),role:"button",children:u},d);return R.jsx("div",{children:e.split(`
|
|
97
|
+
`).map((l,u)=>R.jsxs("span",{className:tC.text,children:[R.jsx(JT,{componentDecorator:s,children:l}),R.jsx("br",{})]},u))})},rC=({subtitle:e,onLinkClick:n})=>e?R.jsx("div",{className:Tt.subtitle,children:R.jsx(Ov,{text:e,onLinkClick:n})}):null,fg="newtab#",Nv=({markdown:e,onLinkClick:n})=>{const i=l=>u=>(u.preventDefault(),l&&n(l),!1),s=({title:l,href:u,children:d})=>u.indexOf(fg)===0?R.jsx("a",{href:u.slice(fg.length),title:l,target:"_blank",rel:"noopener noreferrer",children:d}):R.jsx("a",{onClick:i(u),title:l,href:u,children:d});return R.jsx(Yr,{options:{overrides:{a:s}},children:e})},nC=({text:e,onLinkClick:n})=>e?R.jsx("div",{children:R.jsx(Nv,{markdown:e,onLinkClick:n})}):null,iC=({title:e})=>e?R.jsx("h1",{className:Tt.title,children:e}):null,oC=({title:e,text:n,subtitle:i,buttons:s,onButtonClick:l,onLinkClick:u})=>(e==null?void 0:e.length)||(n==null?void 0:n.length)||(i==null?void 0:i.length)||(s==null?void 0:s.length)?R.jsxs("div",{className:$(pe.bubbleContent),children:[R.jsx(iC,{title:e}),R.jsx(nC,{text:n,onLinkClick:u}),R.jsx(rC,{subtitle:i,onLinkClick:u}),R.jsx(BT,{buttons:s,onButtonClick:l})]}):null,sC=({alt:e,imageUrl:n,itemUrl:i,hasBody:s})=>n?i?i.indexOf("youtube.com")>-1?R.jsx("div",{className:Tt.video_container,children:R.jsx("iframe",{className:$(Tt.video,{[Tt.only]:!s}),title:"Youtube",width:"100%",src:i+"?rel=0",frameBorder:"0",allowFullScreen:!0})}):R.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:R.jsx("div",{className:Tt.imageContainer,children:R.jsx("img",{className:$(Tt.image,{[Tt.only]:!s}),src:n,alt:e})})}):R.jsx("div",{className:Tt.imageContainer,children:R.jsx("img",{className:$(Tt.image,{[Tt.only]:!s}),src:n,alt:e})}):null,aC=({title:e,text:n,subtitle:i,imageUrl:s,itemUrl:l,buttons:u,onButtonClick:d,onLinkClick:h})=>{const p=!!(e!=null&&e.length)||!!(n!=null&&n.length)||!!(i!=null&&i.length)||!!(u!=null&&u.length);return R.jsxs("div",{className:$(Tt.detailMessage),children:[R.jsx(sC,{hasBody:p,imageUrl:s,itemUrl:l,alt:e||i}),p&&R.jsx(oC,{title:e,text:n,subtitle:i,buttons:u,onLinkClick:h,onButtonClick:d})]})},lC=K.forwardRef(({isFirstMessageBySender:e,isLastMessageBySender:n,children:i},s)=>{const l=qt();return R.jsx("li",{ref:s,className:$(pe.message,pe.messageGuest,e&&pe.messageGuestFirst,n&&pe.messageGuestLast,"chat__bubbleContainer","chat__guestBubbleContainer",e&&"chat__bubbleContainer--first",n&&"chat__bubbleContainer--last"),children:R.jsx("div",{className:$(pe.bubble,pe.bubbleRight,"chat__bubble","chat__guestBubble"),tabIndex:0,"aria-label":l("guest-bubble.label"),children:R.jsx("div",{className:$(pe.rightText),children:i})})})}),uC=({markdown:e,className:n,onLinkClick:i})=>R.jsx("div",{className:$(pe.bubbleContent,n),children:R.jsx(Nv,{markdown:e,onLinkClick:i})}),cC=({text:e,onLinkClick:n})=>R.jsx("div",{className:pe.bubbleContent,children:R.jsx(Ov,{text:e,onLinkClick:n})}),fC=K.forwardRef(({message:e,isLastMessage:n,isFirstMessageBySender:i,isLastMessageBySender:s,onReaction:l,onButtonClick:u,onLinkClick:d},h)=>{const p=dC(e,u,d);switch(e.sender.type){case ge.UserType.GUEST:return R.jsx(lC,{ref:h,isFirstMessageBySender:i,isLastMessageBySender:s,children:p});default:{const E=y=>l(e._id,y);return R.jsx(Rv,{ref:h,message:e,isAnimated:!1,isLastMessage:n,isFirstMessageBySender:i,isLastMessageBySender:s,onReaction:E,children:p})}}}),dC=(e,n,i)=>{switch(e.type){case ge.MessageTypeEnum.TEXT:{const s=e;return R.jsx(cC,{text:s.text,onLinkClick:i})}case ge.MessageTypeEnum.DETAIL:{const s=e;return R.jsx(aC,{title:s.title,text:s.text,subtitle:s.subtitle,imageUrl:s.imageUrl,itemUrl:s.itemUrl,buttons:s.buttons,onButtonClick:n,onLinkClick:i})}case ge.MessageTypeEnum.MARKDOWN:{const s=e;return R.jsx(uC,{markdown:s.markdown,className:s.className,onLinkClick:i})}}},hC=(e,n)=>e.message._id===n.message._id&&e.message.reaction===n.message.reaction&&e.isLastMessage===n.isLastMessage&&e.isFirstMessageBySender===n.isFirstMessageBySender&&e.isLastMessageBySender===n.isLastMessageBySender,pC=ir.memo(fC,hC),mC="_ticontainer_wftg7_1",gC="_tiblock_wftg7_5",yC="_tidot_wftg7_12",vC="_mercuryTypingAnimation_wftg7_1",Qi={ticontainer:mC,tiblock:gC,tidot:yC,mercuryTypingAnimation:vC},_C=({isTyping:e=!1})=>R.jsx("div",{className:Qi.ticontainer,children:R.jsx("div",{className:Qi.tiblock,children:e?R.jsxs(R.Fragment,{children:[R.jsx("div",{className:$(Qi.tidot,"chat__typingIndicator")}),R.jsx("div",{className:$(Qi.tidot,"chat__typingIndicator")}),R.jsx("div",{className:$(Qi.tidot,"chat__typingIndicator")})]}):null})}),EC=Object.assign({_id:"typing-indicator"},new ge.TextMessage("",new ge.BotUser)),SC=({messages:e,isBotTyping:n,showGeneralConditions:i,onTranscriptItemReaction:s,onButtonClick:l,onLinkClick:u})=>{const d=K.useRef(0),h=K.useRef(!0),p=K.useRef(null),E=K.useRef(null),y=K.useRef(null);K.useLayoutEffect(()=>{if(e.length&&p.current&&(d.current<e.length||n)){if(E.current){const _=E.current.offsetTop;p.current.scrollTop=_}else if(y.current){const _=y.current.offsetTop;p.current.scrollTop=_}h.current&&(h.current=!1),d.current=e.length}},[e,h,n]);let w;const m=e.length;return R.jsxs("div",{ref:p,className:$(Um.messageContainer,"chat__messageContainer"),style:{scrollBehavior:e.length&&h.current?"auto":"smooth"},id:"MessageContainer",role:"log","aria-live":"polite",children:[i&&R.jsx(oT,{}),R.jsxs("ul",{className:Um.messages,children:[e.map((_,v)=>{const T=bC(_,w),x=wC(_,v,e,n);w=_.sender.type;const N=v+1===m;return R.jsx(pC,{ref:N?y:null,message:_,isLastMessage:N,isFirstMessageBySender:T,isLastMessageBySender:x,onButtonClick:l,onLinkClick:u,onReaction:s},N&&!n?"last":_._id)}),n&&R.jsx(Rv,{ref:E,message:EC,isLastMessage:!1,isAnimated:!0,isFirstMessageBySender:w!==ge.UserType.BOT,isLastMessageBySender:!0,children:R.jsx(_C,{isTyping:!0})},"last")]})]})},bC=(e,n)=>!n||n!==e.sender.type,wC=(e,n,i,s)=>{var h;const l=e.sender.type,u=i.length;return n+1===u?!(l===ge.UserType.BOT&&s):l!==((h=i.at(n+1))==null?void 0:h.sender.type)},xC="_bottomSheet_8itd6_1",TC="_bottomSheetOpen_8itd6_15",CC="_bottomSheetClose_8itd6_20",Cr={bottomSheet:xC,bottomSheetOpen:TC,"slide-in":"_slide-in_8itd6_1",bottomSheetClose:CC,"slide-out":"_slide-out_8itd6_1"},kC="_container_ooyn8_1",dg={container:kC},RC=({contentUrl:e})=>{const n=En(u=>u.connection.sessionId),[i,s]=K.useState(!1);K.useEffect(()=>{s(u=>u||!!e)},[e]);const l=K.useMemo(()=>{if(e&&n){const u=new URL(e,document.baseURI);return u.searchParams.set("sessionId",n),u.toString()}else return},[e,n]);return R.jsx("div",{className:$(dg.container,Cr.bottomSheet,{[Cr.bottomSheetOpen]:!!e,[Cr.bottomSheetClose]:i&&!e}),children:l&&R.jsx("iframe",{title:"Drawer",src:l,className:dg.iframe})})},OC="_container_t5oqt_1",NC={container:OC},AC=({title:e,href:n,children:i})=>R.jsx("a",{href:n,title:e,target:"_blank",rel:"noopener noreferrer",children:i}),PC=()=>{const n=qt()("powered-by");return n&&n.length?R.jsx("div",{className:$(NC.container,"chat__poweredBy"),children:R.jsx(Yr,{options:{overrides:{a:AC}},children:n})}):null},IC="_container_rkqaf_1",DC="_formContainer_rkqaf_14",MC="_emailInput_rkqaf_19",FC="_description_rkqaf_48",LC="_actions_rkqaf_53",BC="_validationError_rkqaf_63",jC="_submitted_rkqaf_70",wr={container:IC,formContainer:DC,emailInput:MC,description:FC,actions:LC,validationError:BC,submitted:jC},zC=({visible:e,methods:n,onEmailExport:i,onPdfExport:s,onClose:l})=>{const u=qt(),[d,h]=K.useState(void 0),[p,E]=K.useState(!1),[y,w]=K.useState(!1),[m,_]=K.useState(void 0),v=K.useRef(null);K.useEffect(()=>{var O;e?((O=v.current)==null||O.focus(),E(!1),w(!1),h(e)):d===!0&&h(!1)},[e,d]);const T=O=>{O.preventDefault(),m&&m.length>0&&(i(m),E(!0),setTimeout(l,3*1e3))},x=O=>{const S=O.target.value.trim(),C=/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(S);_(C?S:"")},N=()=>{w(!0),s(),setTimeout(l,3*1e3)};return R.jsxs("div",{className:$(wr.container,Cr.bottomSheet,{[Cr.bottomSheetOpen]:d===!0,[Cr.bottomSheetClose]:d===!1}),children:[n.pdf&&R.jsxs(R.Fragment,{children:[R.jsx("h2",{children:u("export-transcript.pdf.title")}),R.jsx(Yr,{className:wr.description,children:u("export-transcript.pdf.description")||""}),R.jsxs("div",{className:wr.actions,children:[R.jsx("button",{type:"button",className:$(ot.button,ot.buttonDefault),onClick:l,children:u("export-transcript.pdf.cancel")}),R.jsx("button",{className:$(ot.button,ot.buttonPrimary),onClick:N,disabled:y,children:u("export-transcript.pdf.download")})]})]}),n.email&&R.jsxs(R.Fragment,{children:[R.jsx("h2",{children:u("export-transcript.email.title")}),R.jsx(Yr,{className:wr.description,children:u("export-transcript.email.description")||""}),R.jsxs("form",{onSubmit:T,className:wr.formContainer,children:[R.jsxs("div",{children:[R.jsx("input",{disabled:p,ref:v,type:"email",placeholder:u("export-transcript.email.placeholder"),className:wr.emailInput,onChange:x}),(m==null?void 0:m.length)===0?R.jsx("div",{className:wr.validationError,children:u("export-transcript.email.invalid")}):null]}),R.jsxs("div",{className:wr.actions,children:[R.jsx("button",{type:"button",className:$(ot.button,ot.buttonDefault),onClick:l,children:u("export-transcript.email.cancel")}),R.jsx("button",{type:"submit",disabled:p||m===void 0||m.length===0,className:$(ot.button,ot.buttonPrimary),children:u("export-transcript.email.send")})]})]}),p&&R.jsx("div",{className:wr.submitted,children:u("export-transcript.email.success")})]})]})},UC="_inputContainer_1px77_1",HC={inputContainer:UC},GC="_blockUserInput_rv0dg_1",$C={blockUserInput:GC,"append-animate":"_append-animate_rv0dg_1"},qC=({visible:e})=>{const n=qt();return e?R.jsx("div",{className:$($C.blockUserInput,"chat__blockUserInput"),children:n("block-user-input.title")}):null},VC="_callToActionContainer_czz0p_1",WC="_callToActionTitle_czz0p_24",XC="_rateOverlay_czz0p_31",QC="_body_czz0p_50",KC="_footer_czz0p_58",YC="_actions_czz0p_73",ZC="_bubbles_czz0p_85",JC="_rateFeedbackBotBubble_czz0p_112",e2="_rateFeedbackGuestBubble_czz0p_118",t2="_avatar_czz0p_124",r2="_fadeInLeft_czz0p_1",n2="_bubble_czz0p_85",i2="_appear_czz0p_1",o2="_botBubble_czz0p_150",s2="_guestBubble_czz0p_160",a2="_rateText_czz0p_176",l2="_stars_czz0p_181",u2="_starsSmall_czz0p_194",c2="_starsLarge_czz0p_198",f2="_star_czz0p_181",d2="_starReadonly_czz0p_215",h2="_starIcon_czz0p_223",p2="_starsDescriptionContainer_czz0p_241",m2="_starsDescription_czz0p_241",gt={callToActionContainer:VC,"append-animate":"_append-animate_czz0p_1",callToActionTitle:WC,rateOverlay:XC,body:QC,footer:KC,actions:YC,bubbles:ZC,rateFeedbackBotBubble:JC,rateFeedbackGuestBubble:e2,avatar:t2,fadeInLeft:r2,bubble:n2,appear:i2,botBubble:o2,guestBubble:s2,rateText:a2,stars:l2,starsSmall:u2,starsLarge:c2,star:f2,starReadonly:d2,starIcon:h2,starsDescriptionContainer:p2,starsDescription:m2},g2=({value:e,index:n,count:i,readonly:s,onHover:l,onClick:u})=>{const d=h=>{u&&h.key==="Enter"&&u()};return R.jsx("li",{className:$(gt.star,{[gt.starReadonly]:s},"chat__conversationRating__star"),children:R.jsx("div",{role:"radio","aria-checked":e>n?"true":"false","aria-posinset":n+1,"aria-setsize":i,tabIndex:0,onMouseOver:l,onKeyDown:d,onClick:u,children:R.jsx("span",{role:"img","aria-label":"Star",className:$(gt.starIcon),children:R.jsx("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:R.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"})})})})})},hg=5,Av=({value:e,size:n,readonly:i=!1,onChange:s})=>{const[l,u]=K.useState(void 0),d=()=>{u(void 0)},h=E=>()=>{if(!i){const y=E+1;u(y)}},p=E=>()=>{s&&!i&&(s(E===0&&e===1?0:E+1),u(void 0))};return R.jsx("ul",{tabIndex:0,role:"radiogroup",className:$(gt.stars,{[gt.starsSmall]:n==="small",[gt.starsLarge]:n==="large"},"chat__conversationRating__stars",{chat__conversationRating__stars__small:n==="small",chat__conversationRating__stars__large:n==="large"}),onMouseOut:d,children:Array(hg).fill(0).map((E,y)=>R.jsx(g2,{value:l===void 0?e:l,index:y,count:hg,readonly:i,onHover:h(y),onClick:p(y)},y))})},y2=({visible:e,onRate:n})=>{const i=qt();return e?R.jsxs("div",{className:$(gt.callToActionContainer,"chat__conversationRating__callToAction"),children:[R.jsx("div",{className:$(gt.callToActionTitle,"chat__conversationRating__callToAction__title"),children:i("conversation-rating.call-to-action.title")}),R.jsx(Av,{value:0,size:"small",onChange:n})]}):null},pg=({isFirstMessageBySender:e,isLastMessageBySender:n,children:i})=>R.jsxs("div",{className:$(pe.message,pe.messageBot,e&&pe.messageBotFirst,n&&pe.messageBotLast,"chat__bubbleContainer","chat__botBubbleContainer",e&&"chat__bubbleContainer--first",n&&"chat__bubbleContainer--last"),children:[R.jsx("img",{className:$(pe.avatar,pe.botAvatar),src:"bot.svg",alt:"Bot"}),R.jsx("div",{className:$(pe.bubble,pe.bubbleLeft,"chat__bubble","chat__botBubble"),children:R.jsx("div",{className:$(pe.leftText,pe.bubbleContent),children:i})})]}),v2=({children:e})=>R.jsx("div",{className:$(pe.message,pe.messageGuest,pe.messageGuestFirst,pe.messageGuestLast,"chat__bubbleContainer","chat__guestBubbleContainer","chat__bubbleContainer--first","chat__bubbleContainer--last"),children:R.jsx("div",{className:$(pe.bubble,pe.bubbleRight,"chat__bubble","chat__guestBubble"),children:R.jsx("div",{className:$(pe.rightText,pe.bubbleContent),children:e})})}),_2=({visible:e,rating:n,onRate:i,onClose:s})=>{const l=qt(),[u,d]=K.useState(n),[h,p]=K.useState(void 0),[E,y]=K.useState(void 0),[w,m]=K.useState({submitted:!1,feedback:""}),[_,v]=K.useState(!1),T=K.useRef(null);K.useEffect(()=>{e?(m({submitted:!1,feedback:""}),y(e)):E===!0&&y(!1)},[e,E]),K.useEffect(()=>{d(n)},[n]),K.useEffect(()=>{const N=l(`conversation-rating.overlay.bot-message.rate-feedback.value-${u}`);p(N!=null&&N.length?N:void 0)},[u,l]),K.useEffect(()=>{w.submitted?setTimeout(()=>v(!0),w.feedback.length?500:0):v(!1)},[w]);const x=N=>{var S,C;N.preventDefault();const O=((C=(S=T.current)==null?void 0:S.value)==null?void 0:C.trim())||"";i(u,O),m({submitted:!0,feedback:O})};return R.jsx("div",{className:$(gt.rateOverlay,Cr.bottomSheet,"chat__conversationRating__overlay",{[Cr.bottomSheetOpen]:E===!0,[Cr.bottomSheetClose]:E===!1}),children:R.jsxs("form",{onSubmit:x,children:[R.jsxs("div",{className:$(gt.body,"chat__conversationRating__overlay__body"),children:[R.jsxs("div",{children:[R.jsx("h2",{children:l("conversation-rating.overlay.title")}),R.jsxs("div",{className:$(gt.starsDescriptionContainer),children:[R.jsx(Av,{value:u,size:"large",readonly:w.submitted,onChange:d}),R.jsxs("div",{className:$(gt.starsDescription),children:[R.jsx("div",{children:l("conversation-rating.overlay.star.very-bad")}),R.jsx("div",{children:l("conversation-rating.overlay.star.very-good")})]})]})]}),R.jsx("div",{className:$(gt.bubbles),children:e&&h&&R.jsxs(R.Fragment,{children:[R.jsx(pg,{isFirstMessageBySender:!0,isLastMessageBySender:!_||!!w.feedback.length,children:R.jsx("div",{children:h})}),!!w.feedback.length&&R.jsx(v2,{children:w.feedback}),_&&R.jsx(pg,{isFirstMessageBySender:!!w.feedback.length,isLastMessageBySender:!0,children:R.jsx("div",{children:l("conversation-rating.overlay.bot-message.submit-feedback")})})]})})]}),R.jsxs("div",{className:$(gt.footer,"chat__conversationRating__overlay__footer"),children:[!w.submitted&&R.jsx("input",{ref:T,placeholder:l("conversation-rating.overlay.guest-feedback.input-placeholder")}),R.jsx("div",{className:$(gt.actions,"chat__conversationRating__overlay__footer__actions"),children:w.submitted?R.jsx("button",{type:"button",className:$(ot.button,ot.buttonPrimary),onClick:s,children:l("conversation-rating.overlay.action.close")}):R.jsx("button",{type:"submit",className:$(ot.button,ot.buttonPrimary),children:l("conversation-rating.overlay.action.submit")})})]})]})})},E2=({conversationRating:{enabled:e,rating:n},numberOfMessagesFromGuest:i,showRatingOverlay:s,setShowRatingOverlay:l,onRate:u})=>{const[d,h]=K.useState(0),p=w=>{h(w),l(!0)},E=()=>l(!1),y=!n&&i>=1;return e?R.jsxs(R.Fragment,{children:[R.jsx(y2,{visible:y,onRate:p}),R.jsx(_2,{visible:s,rating:d,onRate:u,onClose:E})]}):null},S2="_inputWrapper_1o8hf_5",b2="_messageInputWrapper_1o8hf_14",w2="_messageInput_1o8hf_14",x2="_buttons_1o8hf_36",T2="_button_1o8hf_36",Kn={inputWrapper:S2,messageInputWrapper:b2,messageInput:w2,buttons:x2,button:T2},C2="_audioRecorder_xps9k_5",k2="_recordButton_xps9k_10",R2="_submitButton_xps9k_37",O2="_cancelButton_xps9k_64",N2="_recorderIcon_xps9k_91",A2="_pulse_xps9k_1",P2="_spinning_xps9k_113",I2="_spin_xps9k_113",gn={audioRecorder:C2,recordButton:k2,submitButton:R2,cancelButton:O2,recorderIcon:N2,pulse:A2,spinning:P2,spin:I2},mg=2048,Js=16e3;class D2 extends ir.Component{constructor(i){super(i);xe(this,"audioInput",null);xe(this,"volume",null);xe(this,"leftchannel",[]);xe(this,"recorder",null);xe(this,"recordingLength",0);xe(this,"sampleRate",null);xe(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(i){this.mediaStream=i,this.leftchannel.length=0,this.recordingLength=0,this.initRecording(i)}initRecording(i){const s=window.AudioContext||window.webkitAudioContext,l=new s;this.sampleRate=l.sampleRate,this.volume=l.createGain(),this.audioInput=l.createMediaStreamSource(i),this.audioInput.connect(this.volume),this.recorder=l.createScriptProcessor(mg,1,1),this.recorder.onaudioprocess=this.processRecordingInput,this.volume.connect(this.recorder),this.recorder.connect(l.destination)}processRecordingInput(i){if(this.state.recordingState==="connecting"&&this.setState({recordingState:"recording"}),this.state.recordingState!=="none"){const s=i.inputBuffer.getChannelData(0);this.leftchannel.push(new Float32Array(s)),this.recordingLength+=mg}}handleClickSubmitAudio(){const i=F2(this.leftchannel,this.recordingLength),s=L2(i,this.sampleRate||0),l=M2(s);this.props.onAudioRecorded(l),this.handleClickStopAudio()}handleClickStopAudio(){var i,s,l,u;this.setState({recordingState:"none"}),(i=this.audioInput)==null||i.disconnect(),(s=this.volume)==null||s.disconnect(),(l=this.recorder)==null||l.disconnect(),this.mediaStream&&((u=this.mediaStream)==null||u.getAudioTracks().forEach(d=>{d.stop()}))}render(){return R.jsxs("div",{className:gn.audioRecorder,children:[this.state.recordingState==="none"&&R.jsx("button",{className:$(gn.recordButton,"chat__button"),type:"submit","aria-label":this.props.translate("message-input.actions.start-audio-recording.label"),"data-title":this.props.translate("message-input.actions.start-audio-recording.label"),tabIndex:0,onClick:this.triggerAudioRecording,children:R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[R.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"}),R.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]})}),this.state.recordingState==="connecting"&&R.jsxs("svg",{className:gn.spinning,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[R.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"}),R.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]}),this.state.recordingState==="recording"&&R.jsxs("div",{className:gn.audioRecorder,children:[R.jsx("button",{className:$(gn.cancelButton),onClick:this.handleClickStopAudio,"aria-label":this.props.translate("message-input.actions.stop-audio-recording.label"),tabIndex:0,children:R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[R.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"}),R.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]})}),R.jsx("div",{className:gn.recorderIcon}),R.jsx("button",{className:$(gn.submitButton),type:"submit",onClick:this.handleClickSubmitAudio,"aria-label":this.props.translate("message-input.actions.submit-audio-recording.label"),tabIndex:0,autoFocus:!0,children:R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[R.jsx("path",{d:"M0 0h24v24H0z",fill:"none"}),R.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})]})})]})]})}}const M2=e=>{const n=new ArrayBuffer(44+e.length*2),i=new DataView(n);Ls(i,0,"RIFF"),i.setUint32(4,44+e.length*2,!0),Ls(i,8,"WAVE"),Ls(i,12,"fmt "),i.setUint32(16,16,!0),i.setUint16(20,1,!0),i.setUint16(22,1,!0),i.setUint32(24,Js,!0),i.setUint32(28,Js*4,!0),i.setUint16(32,4,!0),i.setUint16(34,16,!0),Ls(i,36,"data"),i.setUint32(40,e.length*2,!0);const s=e.length;let l=44;const u=1;for(let d=0;d<s;d++)i.setInt16(l,e[d]*(32767*u),!0),l+=2;return new Blob([i],{type:"audio/wav"})},Ls=(e,n,i)=>{for(let s=0;s<i.length;s++)e.setUint8(n+s,i.charCodeAt(s))},F2=(e,n)=>{const i=new Float32Array(n);let s=0;const l=e.length;for(let u=0;u<l;u++){const d=e[u];i.set(d,s),s+=d.length}return i},L2=(e,n)=>{if(Js===n)return e;const i=n/Js,s=Math.round(e.length/i),l=new Float32Array(s);let u=0,d=0;for(;u<l.length;){const h=Math.round((u+1)*i);let p=0,E=0;for(let y=d;y<h&&y<e.length;y++)p+=e[y],E++;l[u]=p/E,u++,d=h}return l},B2=({speechSupport:e,transcriptExportEnabled:n,disabled:i,onTextInput:s,onAudioRecorded:l,onOpenTranscriptExportModal:u})=>{const d=qt(),[h,p]=K.useState(!1),E=K.useRef(null),y=()=>{const v=E.current;v&&v.value.trim().length>=1&&s(v.value.trim())&&(v.value="",v.style.height="",p(!1),v.focus())},w=v=>{v.preventDefault(),y()},m=v=>{const T=v.target.value.trim();p(T.length>0),v.target.style.height="";const{scrollHeight:x}=v.target;v.target.style.height=`${x>150?150:x}px`},_=v=>{v.code==="Enter"&&!v.shiftKey&&(v.repeat||y(),v.preventDefault())};return R.jsxs("form",{className:$(Kn.inputWrapper,"chat__textInput"),onSubmit:w,children:[R.jsx("div",{className:Kn.messageInputWrapper,children:R.jsx("textarea",{id:"user_input",ref:E,className:Kn.messageInput,tabIndex:0,placeholder:d("message-input-placeholder"),onChange:m,onKeyDown:_,"aria-label":d("message-input-label")})}),R.jsxs("div",{className:$(Kn.buttons,"chat__buttons"),children:[!h&&n&&R.jsx("button",{type:"button",className:$(Kn.button,"chat__button"),"aria-label":d("message-input.actions.export-transcript.label"),"data-title":d("message-input.actions.export-transcript.label"),tabIndex:0,onClick:u,children:R.jsx("svg",{viewBox:"64 64 896 896",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:R.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"})})}),h||!e||navigator.mediaDevices===void 0?R.jsx("button",{className:$(Kn.button,"chat__button"),type:"submit","aria-label":d("message-input.actions.submit.label"),"data-title":d("message-input.actions.submit.label"),tabIndex:0,disabled:i,children:R.jsx("svg",{viewBox:"64 64 896 896",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:R.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&&R.jsx(D2,{translate:d,onAudioRecorded:l})]})]})},j2="_quickReplies_11l22_1",z2="_quickReply_11l22_9",gg={quickReplies:j2,quickReply:z2},U2=({quickReplies:e,onQuickReplyClick:n})=>e.length?R.jsx("div",{className:$(gg.quickReplies,"chat__quickReplies"),children:e.map(i=>R.jsx("button",{tabIndex:0,className:$(gg.quickReply,ot.button,"chat__button","chat__quickReply"),onClick:()=>n(i),children:i.label},i.label))}):null,yg=5e3,H2=1e3,G2=({isBotTyping:e,quickReplies:n,speechSupport:i,transcriptExportEnabled:s,conversationRating:l,numberOfMessagesFromGuest:u,showRatingOverlay:d,setShowRatingOverlay:h,onTextInput:p,onRate:E,onQuickReplyClick:y,onAudioRecorded:w,onOpenTranscriptExportModal:m})=>{const[_,v]=K.useState(!1),T=K.useRef(),x=K.useRef(0);K.useEffect(()=>{if(_&&!e){const O=T.current?Date.now()-T.current:0;O>yg?v(!1):setTimeout(()=>{v(!1)},yg-O)}},[_,e]),K.useEffect(()=>{_&&(T.current=Date.now())},[_]);const N=O=>{const S=Date.now()-x.current<H2;return e||S?(v(!0),!1):(p(O),x.current=Date.now(),!0)};return R.jsxs("div",{className:$(HC.inputContainer),children:[R.jsx(U2,{quickReplies:n,onQuickReplyClick:y}),R.jsx(qC,{visible:_}),!_&&R.jsx(E2,{conversationRating:l,numberOfMessagesFromGuest:u,onRate:E,showRatingOverlay:d,setShowRatingOverlay:h}),R.jsx(B2,{onTextInput:N,onAudioRecorded:w,speechSupport:i,onOpenTranscriptExportModal:m,transcriptExportEnabled:s,disabled:_})]})},$2=({clientName:e,messages:n,quickReplies:i,isBotTyping:s,drawerContentUrl:l,speechSupport:u,transcriptExportEnabled:d,conversationRating:h,showGeneralConditions:p,onMessageFromUser:E,onRate:y,onQuickReplyClick:w,onButtonClick:m,onLinkClick:_,onAudioRecorded:v,onTranscriptExport:T,onPdfExport:x,onTranscriptItemReaction:N})=>{const O=$c(),S=En(te=>te.connection.connectionState),[C,k]=K.useState(!1),[L,U]=K.useState(!1),V=d.email||d.pdf,se=n.filter(te=>te.sender.type===ov.GUEST).length;return K.useEffect(()=>{if(S===_n.CONNECTED){const te=Wc.parse(window.location.search);O(iv(e,te))}},[e,S,O]),R.jsxs("div",{children:[R.jsxs("div",{className:`${Bw.chatcontent} ${C||L?ot.accessabilityHidden:""}`,children:[R.jsx(SC,{messages:n,isBotTyping:s,showGeneralConditions:p,onButtonClick:m,onLinkClick:_,onTranscriptItemReaction:N}),R.jsx(G2,{isBotTyping:s,quickReplies:s?[]:i,numberOfMessagesFromGuest:se,speechSupport:u,transcriptExportEnabled:V,conversationRating:C?{enabled:!1}:h,showRatingOverlay:L,setShowRatingOverlay:U,onRate:y,onQuickReplyClick:w,onTextInput:E,onAudioRecorded:v,onOpenTranscriptExportModal:()=>k(!C)}),R.jsx(PC,{})]}),V&&R.jsx(zC,{methods:d,visible:C,onEmailExport:T,onPdfExport:x,onClose:()=>k(!1)}),R.jsx(RC,{contentUrl:l})]})},q2=e=>{const{messages:n,quickReplies:i,isBotTyping:s,drawerContentUrl:l,speechSupport:u,transcriptExportEnabled:d,conversationRating:h,showGeneralConditions:p}=e.chat;return{messages:n,quickReplies:i,isBotTyping:s,drawerContentUrl:l,speechSupport:u,transcriptExportEnabled:d,conversationRating:h,showGeneralConditions:p}},V2=e=>({onRestartChat:(n,i)=>e(hf(n,i)),onMessageFromUser:n=>e(By(n)),onRate:(n,i)=>e(Cb(n,i)),onAudioRecorded:n=>e(vb(n)),onActionFromUser:n=>e(n),onQuickReplyClick:n=>e(Ly(n)),onNluEvent:n=>e(Uy(n)),onButtonClick:n=>e(Rb(n)),onLinkClick:n=>e(Ob(n)),onTranscriptExport:n=>e(bb(n)),onPdfExport:()=>e(xb()),onTranscriptItemReaction:(n,i)=>e(ge.transcriptItemGuestReaction(n,i||null))}),W2=nE(q2,V2)($2),X2="_chatwindow_phukm_1",Q2="_chatcontent_phukm_13",K2={chatwindow:X2,chatcontent:Q2},Y2="_container_ophni_2",Z2="_body_ophni_8",J2="_intro_ophni_13",ek="_footer_ophni_34",tk="_startChatButton_ophni_38",rk="_formFields_ophni_42",nk="_formField_ophni_42",ik="_radio_ophni_54",ok="_checkbox_ophni_61",sk="_input_ophni_69",ak="_inputLabel_ophni_99",lk="_selectWrapper_ophni_103",uk="_select_ophni_103",ck="_selectLabel_ophni_145",yt={container:Y2,body:Z2,intro:J2,footer:ek,startChatButton:tk,formFields:rk,formField:nk,radio:ik,checkbox:ok,input:sk,inputLabel:ak,selectWrapper:lk,select:uk,selectLabel:ck},fk=({name:e,label:n,defaultValue:i,required:s,onChange:l})=>{const u=d=>{l(d.currentTarget.checked?"true":"false")};return R.jsxs("label",{className:$(yt.checkbox,"chat__startScreen__checkbox"),htmlFor:e,children:[R.jsx("input",{type:"checkbox",id:e,name:e,defaultChecked:i==="true",required:s,onChange:u}),R.jsx("div",{children:n})]})},dk=({type:e,name:n,label:i,defaultValue:s,placeholder:l,required:u,multiple:d,min:h,max:p,pattern:E,onChange:y})=>{const w=m=>{y(m.target.value)};return R.jsxs("label",{className:$(yt.input,"chat__startScreen__input"),htmlFor:n,children:[R.jsx("div",{className:$(yt.inputLabel),children:i}),R.jsx("input",{type:e,id:n,name:n,defaultValue:s,placeholder:l,required:u,multiple:d,min:h,max:p,pattern:E,onChange:w})]})},hk=({name:e,value:n,label:i,defaultChecked:s,required:l,onChange:u})=>{const d=`${e}-${n}`,h=p=>{u(p.target.value)};return R.jsxs("label",{className:$(yt.radio,"chat__startScreen__radio"),htmlFor:d,children:[R.jsx("input",{id:d,type:"radio",name:e,value:n,defaultChecked:s,required:l,onChange:h}),R.jsx("span",{className:$(yt.label),children:i})]})},pk=({name:e,label:n,defaultValue:i,required:s,multiple:l,options:u,onChange:d})=>{const h=p=>{d(p.target.value)};return R.jsxs("label",{className:$(yt.select,"chat__startScreen__select"),htmlFor:e,children:[R.jsx("div",{className:$(yt.selectLabel),children:n}),R.jsx("div",{className:$(yt.selectWrapper),children:R.jsx("select",{id:e,name:e,defaultValue:i,required:s,multiple:l,onChange:h,children:Object.entries(u||{}).map(([p,E])=>R.jsx("option",{value:p,selected:E===i,children:E}))})})]})},mk="start-screen.intro",gk="start-screen.start-chat",tr="start-screen.form",vg=`${tr}.fields`,yk=()=>{const e=qt(),n=$c(),[i,s]=K.useState({}),l=()=>{const y=Object.entries(i).reduce((w,[m,_])=>({...w,[m]:_.value}),{});n(gw(y))},u=e(mk),d=e(gk),h=K.useMemo(()=>{var y;return((y=e(vg))==null?void 0:y.split(";").map(w=>w.trim()))??[]},[e(vg)]);K.useEffect(()=>{s(h.reduce((y,w)=>({...y,[w]:_k(w,e)}),{}))},[e,h]);const p=y=>{y.preventDefault(),l()},E=y=>w=>{s(m=>({...m,[y]:{...m[y],value:w}}))};return R.jsxs("form",{onSubmit:p,className:$(yt.container,"chat__startScreen"),children:[R.jsxs("div",{className:$(yt.body,"chat__startScreen__body"),children:[u&&R.jsx("div",{className:$(yt.intro,"chat__startScreen__intro"),children:R.jsx(Yr,{options:{overrides:{a:vk}},children:u})}),R.jsx("div",{className:$(yt.formFields,"chat__startScreen__fields"),children:Object.values(i).map(({type:y,name:w,label:m,placeholder:_,defaultValue:v,options:T,required:x,multiple:N,min:O,max:S,pattern:C})=>R.jsx("div",{className:$(yt.formField,"chat__startScreen__field"),children:(()=>{switch(y){case"radio":return R.jsxs(R.Fragment,{children:[R.jsx("div",{children:m}),Object.entries(T||{}).map(([k,L])=>R.jsx(hk,{name:w,value:k,label:L,defaultChecked:k===v,required:x,onChange:E(w)}))]});case"checkbox":return R.jsx(fk,{name:w,label:m,defaultValue:v,required:x,onChange:E(w)});case"select":return R.jsx(pk,{name:w,label:m,defaultValue:v,required:x,multiple:N,options:T,onChange:E(w)});default:return R.jsx(dk,{type:y,name:w,label:m,placeholder:_,defaultValue:v,required:x,multiple:N,min:O,max:S,pattern:C,onChange:E(w)})}})()},w))})]}),R.jsx("div",{className:$(yt.footer,"chat__startScreen__footer"),children:R.jsx("button",{type:"submit",className:$(ot.button,ot.buttonPrimary,yt.startChatButton),children:d})})]})},vk=({title:e,href:n,children:i})=>R.jsx("a",{href:n,title:e,target:"_blank",rel:"noopener noreferrer",children:i}),_k=(e,n)=>{const i=n(`${tr}.${e}.type`)||"text",s=n(`${tr}.${e}.required`)==="true",l=n(`${tr}.${e}.multiple`)==="true",u=n(`${tr}.${e}.placeholder`),d=n(`${tr}.${e}.label`)||"",h=n(`${tr}.${e}.defaultValue`),p=n(`${tr}.${e}.min`),E=n(`${tr}.${e}.max`),y=n(`${tr}.${e}.pattern`),w=Sk(n(`${tr}.${e}.options`));return{name:e,label:d,placeholder:u,value:Ek(i,h,w)||"",defaultValue:h,options:w,type:i,required:s,multiple:l,min:p,max:E,pattern:y}},Ek=(e,n,i)=>n||e==="select"&&Object.keys(i)[0]||"",Sk=(e="")=>e.split(";").map(n=>n.trim()).reduce((n,i)=>{const[s,l]=i.split(":").map(u=>u.trim());return{...n,[s]:l}},{}),bk=()=>{const e=na();K.useEffect(()=>{window.document.documentElement.lang=e.locale},[e.locale])},Yn={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"},wk=({clientName:e})=>{bk();const n=$c(),i=En(y=>y.intl.messages),s=qt(),l=En(y=>y.startScreen.useStartScreen),u=En(y=>y.startScreen.startScreenStatus),[d,h]=K.useState(void 0);K.useEffect(()=>{const y=Wc.parse(window.location.search);y.cssClassName&&h(y.cssClassName);const w=m=>{switch(m.data.type){case Yn.TRIGGER_ACTION:n(m.data.action);break;case Yn.TRIGGER_STORY:n(Uy(m.data.story));break;case Yn.ON_CHAT_WINDOW_OPEN:n({type:"webclient.chatwindow.opened"});break;case Yn.ON_CHAT_WINDOW_CLOSE:n({type:"webclient.chatwindow.closed"});break;case Yn.CHAT_MESSAGE_FROM_GUEST:n(By(m.data.text));break;case Yn.RESTART_CHAT:n(hf(e,y));break}};return n(Tw(e,y)),window.addEventListener("message",m=>w(m),!1),()=>window.removeEventListener("message",w)},[e,n]),K.useEffect(()=>{const y=s("header.restart-chat"),w=s("header.close-chat");n(Nb({header:{restartChat:y,closeChat:w}}))},[i,n,s]);const p=l===void 0,E=l===!1||u==="HIDDEN";return R.jsx("div",{className:$(K2.chatwindow,"chat__chatwindow",d),children:p?null:E?R.jsx(W2,{clientName:e}):R.jsx(yk,{})})},xk=()=>{const e=ky(),n=En(s=>s.intl.locale),i=En(s=>s.intl.messages);return R.jsx(PS,{locale:n,messages:i,children:R.jsx("div",{className:DS.app,children:R.jsx(wk,{clientName:e})})})};var Uu,_g;function gf(){if(_g)return Uu;_g=1;function e(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}return Uu=e,Uu}var Hu,Eg;function Tk(){if(Eg)return Hu;Eg=1;var e=typeof hs=="object"&&hs&&hs.Object===Object&&hs;return Hu=e,Hu}var Gu,Sg;function Pv(){if(Sg)return Gu;Sg=1;var e=Tk(),n=typeof self=="object"&&self&&self.Object===Object&&self,i=e||n||Function("return this")();return Gu=i,Gu}var $u,bg;function Ck(){if(bg)return $u;bg=1;var e=Pv(),n=function(){return e.Date.now()};return $u=n,$u}var qu,wg;function kk(){if(wg)return qu;wg=1;var e=/\s/;function n(i){for(var s=i.length;s--&&e.test(i.charAt(s)););return s}return qu=n,qu}var Vu,xg;function Rk(){if(xg)return Vu;xg=1;var e=kk(),n=/^\s+/;function i(s){return s&&s.slice(0,e(s)+1).replace(n,"")}return Vu=i,Vu}var Wu,Tg;function Iv(){if(Tg)return Wu;Tg=1;var e=Pv(),n=e.Symbol;return Wu=n,Wu}var Xu,Cg;function Ok(){if(Cg)return Xu;Cg=1;var e=Iv(),n=Object.prototype,i=n.hasOwnProperty,s=n.toString,l=e?e.toStringTag:void 0;function u(d){var h=i.call(d,l),p=d[l];try{d[l]=void 0;var E=!0}catch{}var y=s.call(d);return E&&(h?d[l]=p:delete d[l]),y}return Xu=u,Xu}var Qu,kg;function Nk(){if(kg)return Qu;kg=1;var e=Object.prototype,n=e.toString;function i(s){return n.call(s)}return Qu=i,Qu}var Ku,Rg;function Ak(){if(Rg)return Ku;Rg=1;var e=Iv(),n=Ok(),i=Nk(),s="[object Null]",l="[object Undefined]",u=e?e.toStringTag:void 0;function d(h){return h==null?h===void 0?l:s:u&&u in Object(h)?n(h):i(h)}return Ku=d,Ku}var Yu,Og;function Pk(){if(Og)return Yu;Og=1;function e(n){return n!=null&&typeof n=="object"}return Yu=e,Yu}var Zu,Ng;function Ik(){if(Ng)return Zu;Ng=1;var e=Ak(),n=Pk(),i="[object Symbol]";function s(l){return typeof l=="symbol"||n(l)&&e(l)==i}return Zu=s,Zu}var Ju,Ag;function Dk(){if(Ag)return Ju;Ag=1;var e=Rk(),n=gf(),i=Ik(),s=NaN,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt;function p(E){if(typeof E=="number")return E;if(i(E))return s;if(n(E)){var y=typeof E.valueOf=="function"?E.valueOf():E;E=n(y)?y+"":y}if(typeof E!="string")return E===0?E:+E;E=e(E);var w=u.test(E);return w||d.test(E)?h(E.slice(2),w?2:8):l.test(E)?s:+E}return Ju=p,Ju}var ec,Pg;function Mk(){if(Pg)return ec;Pg=1;var e=gf(),n=Ck(),i=Dk(),s="Expected a function",l=Math.max,u=Math.min;function d(h,p,E){var y,w,m,_,v,T,x=0,N=!1,O=!1,S=!0;if(typeof h!="function")throw new TypeError(s);p=i(p)||0,e(E)&&(N=!!E.leading,O="maxWait"in E,m=O?l(i(E.maxWait)||0,p):m,S="trailing"in E?!!E.trailing:S);function C(ae){var Le=y,Ie=w;return y=w=void 0,x=ae,_=h.apply(Ie,Le),_}function k(ae){return x=ae,v=setTimeout(V,p),N?C(ae):_}function L(ae){var Le=ae-T,Ie=ae-x,qe=p-Le;return O?u(qe,m-Ie):qe}function U(ae){var Le=ae-T,Ie=ae-x;return T===void 0||Le>=p||Le<0||O&&Ie>=m}function V(){var ae=n();if(U(ae))return se(ae);v=setTimeout(V,L(ae))}function se(ae){return v=void 0,S&&y?C(ae):(y=w=void 0,_)}function te(){v!==void 0&&clearTimeout(v),x=0,y=T=w=v=void 0}function fe(){return v===void 0?_:se(n())}function de(){var ae=n(),Le=U(ae);if(y=arguments,w=this,T=ae,Le){if(v===void 0)return k(T);if(O)return clearTimeout(v),v=setTimeout(V,p),C(T)}return v===void 0&&(v=setTimeout(V,p)),_}return de.cancel=te,de.flush=fe,de}return ec=d,ec}var tc,Ig;function Fk(){if(Ig)return tc;Ig=1;var e=Mk(),n=gf(),i="Expected a function";function s(l,u,d){var h=!0,p=!0;if(typeof l!="function")throw new TypeError(i);return n(d)&&(h="leading"in d?!!d.leading:h,p="trailing"in d?!!d.trailing:p),e(l,u,{leading:h,maxWait:u,trailing:p})}return tc=s,tc}var Lk=Fk();const Bk=ea(Lk);var rc,Dg;function jk(){if(Dg)return rc;Dg=1;function e(_,v){var T,x;if(typeof v=="function")x=v(_),x!==void 0&&(_=x);else if(Array.isArray(v))for(T=0;T<v.length;T++)x=v[T](_),x!==void 0&&(_=x);return _}function n(_,v){return _[0]==="-"&&Array.isArray(v)&&/^-\d+$/.test(_)?v.length+parseInt(_,10):_}function i(_){return/^\d+$/.test(_)}function s(_){return Object.prototype.toString.call(_)==="[object Object]"}function l(_){return Object(_)===_}function u(_){return Object.keys(_).length===0}var d=["__proto__","prototype","constructor"],h=function(_){return d.indexOf(_)===-1};function p(_,v){_.indexOf("[")>=0&&(_=_.replace(/\[/g,v).replace(/]/g,""));var T=_.split(v),x=T.filter(h);if(x.length!==T.length)throw Error("Refusing to update blacklisted property "+_);return T}var E=Object.prototype.hasOwnProperty;function y(_,v,T,x){if(!(this instanceof y))return new y(_,v,T,x);typeof v>"u"&&(v=!1),typeof T>"u"&&(T=!0),typeof x>"u"&&(x=!0),this.separator=_||".",this.override=v,this.useArray=T,this.useBrackets=x,this.keepArray=!1,this.cleanup=[]}var w=new y(".",!1,!0,!0);function m(_){return function(){return w[_].apply(w,arguments)}}return y.prototype._fill=function(_,v,T,x){var N=_.shift();if(_.length>0){if(v[N]=v[N]||(this.useArray&&i(_[0])?[]:{}),!l(v[N]))if(this.override)v[N]={};else{if(!(l(T)&&u(T)))throw new Error("Trying to redefine `"+N+"` which is a "+typeof v[N]);return}this._fill(_,v[N],T,x)}else{if(!this.override&&l(v[N])&&!u(v[N])){if(!(l(T)&&u(T)))throw new Error("Trying to redefine non-empty obj['"+N+"']");return}v[N]=e(T,x)}},y.prototype.object=function(_,v){var T=this;return Object.keys(_).forEach(function(x){var N=v===void 0?null:v[x],O=p(x,T.separator).join(T.separator);O.indexOf(T.separator)!==-1?(T._fill(O.split(T.separator),_,_[x],N),delete _[x]):_[x]=e(_[x],N)}),_},y.prototype.str=function(_,v,T,x){var N=p(_,this.separator).join(this.separator);return _.indexOf(this.separator)!==-1?this._fill(N.split(this.separator),T,v,x):T[_]=e(v,x),T},y.prototype.pick=function(_,v,T,x){var N,O,S,C,k;for(O=p(_,this.separator),N=0;N<O.length;N++)if(C=n(O[N],v),v&&typeof v=="object"&&C in v){if(N===O.length-1)return T?(S=v[C],x&&Array.isArray(v)?v.splice(C,1):delete v[C],Array.isArray(v)&&(k=O.slice(0,-1).join("."),this.cleanup.indexOf(k)===-1&&this.cleanup.push(k)),S):v[C];v=v[C]}else return;return T&&Array.isArray(v)&&(v=v.filter(function(L){return L!==void 0})),v},y.prototype.delete=function(_,v){return this.remove(_,v,!0)},y.prototype.remove=function(_,v,T){var x;if(this.cleanup=[],Array.isArray(_)){for(x=0;x<_.length;x++)this.pick(_[x],v,!0,T);return T||this._cleanup(v),v}else return this.pick(_,v,!0,T)},y.prototype._cleanup=function(_){var v,T,x,N;if(this.cleanup.length){for(T=0;T<this.cleanup.length;T++)x=this.cleanup[T].split("."),N=x.splice(0,-1).join("."),v=N?this.pick(N,_):_,v=v[x[0]].filter(function(O){return O!==void 0}),this.set(this.cleanup[T],v,_);this.cleanup=[]}},y.prototype.del=y.prototype.remove,y.prototype.move=function(_,v,T,x,N){return typeof x=="function"||Array.isArray(x)?this.set(v,e(this.pick(_,T,!0),x),T,N):(N=x,this.set(v,this.pick(_,T,!0),T,N)),T},y.prototype.transfer=function(_,v,T,x,N,O){return typeof N=="function"||Array.isArray(N)?this.set(v,e(this.pick(_,T,!0),N),x,O):(O=N,this.set(v,this.pick(_,T,!0),x,O)),x},y.prototype.copy=function(_,v,T,x,N,O){return typeof N=="function"||Array.isArray(N)?this.set(v,e(JSON.parse(JSON.stringify(this.pick(_,T,!1))),N),x,O):(O=N,this.set(v,this.pick(_,T,!1),x,O)),x},y.prototype.set=function(_,v,T,x){var N,O,S,C;if(typeof v>"u")return T;for(S=p(_,this.separator),N=0;N<S.length;N++){if(C=S[N],N===S.length-1)if(x&&s(v)&&s(T[C]))for(O in v)E.call(v,O)&&(T[C][O]=v[O]);else if(x&&Array.isArray(T[C])&&Array.isArray(v))for(var k=0;k<v.length;k++)T[S[N]].push(v[k]);else T[C]=v;else(!E.call(T,C)||!s(T[C])&&!Array.isArray(T[C]))&&(/^\d+$/.test(S[N+1])?T[C]=[]:T[C]={});T=T[C]}return T},y.prototype.transform=function(_,v,T){return v=v||{},T=T||{},Object.keys(_).forEach((function(x){this.set(_[x],this.pick(x,v),T)}).bind(this)),T},y.prototype.dot=function(_,v,T){v=v||{},T=T||[];var x=Array.isArray(_);return Object.keys(_).forEach((function(N){var O=x&&this.useBrackets?"["+N+"]":N;if(l(_[N])&&(s(_[N])&&!u(_[N])||Array.isArray(_[N])&&!this.keepArray&&_[N].length!==0))if(x&&this.useBrackets){var S=T[T.length-1]||"";return this.dot(_[N],v,T.slice(0,-1).concat(S+O))}else return this.dot(_[N],v,T.concat(O));else x&&this.useBrackets?v[T.join(this.separator).concat("["+N+"]")]=_[N]:v[T.concat(O).join(this.separator)]=_[N]}).bind(this)),v},y.pick=m("pick"),y.move=m("move"),y.transfer=m("transfer"),y.transform=m("transform"),y.copy=m("copy"),y.object=m("object"),y.str=m("str"),y.set=m("set"),y.delete=m("delete"),y.del=y.remove=m("remove"),y.dot=m("dot"),["override","overwrite"].forEach(function(_){Object.defineProperty(y,_,{get:function(){return w.override},set:function(v){w.override=!!v}})}),["useArray","keepArray","useBrackets"].forEach(function(_){Object.defineProperty(y,_,{get:function(){return w[_]},set:function(v){w[_]=v}})}),y._process=e,rc=y,rc}var zk=jk();const Dv={"message-input-label":"Benutzereingabe","message-input-placeholder":"Nachricht","message-input.actions.submit.label":"Nachricht senden","message-input.actions.export-transcript.label":"Konversation exportieren","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","bot-bubble.reaction.good":"Gefällt mir","bot-bubble.reaction.bad":"Gefällt mir nicht","bot-bubble.reaction.remove":"Markierung entfernen","bot-bubble.copy":"Kopieren","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:
|
|
98
|
+
|
|
99
|
+
- Der Chatverlauf wird im EU-Raum gespeichert und kann nur von autorisierten Personen eingesehen werden.
|
|
100
|
+
- 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.","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.intro":"","start-screen.start-chat":"Chat starten","header.restart-chat":"Chat neu starten","header.close-chat":"Chat minimieren"},Uk={"message-input-label":"User input","message-input-placeholder":"Message","message-input.actions.submit.label":"Send message","message-input.actions.export-transcript.label":"Export conversation","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","bot-bubble.reaction.good":"I like","bot-bubble.reaction.bad":"I don't like it","bot-bubble.reaction.remove":"Remove marker","bot-bubble.copy":"Copy","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:
|
|
101
|
+
|
|
102
|
+
- The chat history is stored in the EU area and can only be viewed by authorized personnel.
|
|
103
|
+
- Do not enter any personal information in the chat window (passwords, date of birth, etc.)`,"general-conditions.accept-conditions-note":"By using the chat you agree to the terms of use.","block-user-input.title":"Please wait for the chatbot's response.","conversation-rating.call-to-action.title":"Rate this chat","conversation-rating.overlay.title":"How satisfied are you with this chat?","conversation-rating.overlay.guest-feedback.input-placeholder":"Please enter feedback here (optional)","conversation-rating.overlay.star.very-bad":"Very bad","conversation-rating.overlay.star.very-good":"Very good","conversation-rating.overlay.bot-message.rate-feedback.value-1":"Oh, that doesn't sound good. Please give me some feedback so that I can learn more.","conversation-rating.overlay.bot-message.rate-feedback.value-2":"Oh, that doesn't sound good. Please give me some feedback so that I can learn more.","conversation-rating.overlay.bot-message.rate-feedback.value-3":"Average is not my goal, what can I still improve?","conversation-rating.overlay.bot-message.rate-feedback.value-4":"Just missed is also over. What can I improve to achieve all stars next time?","conversation-rating.overlay.bot-message.rate-feedback.value-5":"Perfect! Then I hope that I can once again advise you so well.","conversation-rating.overlay.bot-message.submit-feedback":"Thank you for the feedback. I am constantly striving to improve.","conversation-rating.overlay.action.submit":"Send rating","conversation-rating.overlay.action.close":"Close","start-screen.intro":"","start-screen.start-chat":"Start chat","header.restart-chat":"Restart chat","header.close-chat":"Minimize chat"},Hk={"message-input-label":"Input dell'utente","message-input-placeholder":"Entrée utilisateur","message-input.actions.submit.label":"Envoyer un message","message-input.actions.export-transcript.label":"Exporter la conversation","message-input.actions.start-audio-recording.label":"Démarrer la saisie vocale","message-input.actions.stop-audio-recording.label":"Arrêt de la saisie vocale","message-input.actions.submit-audio-recording.label":"Transmettre une entrée vocale","guest-bubble.label":"Votre message","bot-bubble.label":"Message du chatbot","bot-bubble.reaction.good":"J'aime bien","bot-bubble.reaction.bad":"Je n'aime pas","bot-bubble.reaction.remove":"Retirer le marqueur","bot-bubble.copy":"Copie","agent-bubble.label":"Message de l'agent en direct","export-transcript.email.title":"Recevoir conversation","export-transcript.email.description":"Entrez votre adresse électronique pour recevoir l'historique du chat.","export-transcript.email.cancel":"Annuler","export-transcript.email.send":"Envoyer","export-transcript.email.placeholder":"Votre adresse électronique","export-transcript.email.invalid":"Veuillez entrer une adresse électronique valide.","export-transcript.email.success":"J'ai envoyé l'historique du chat à votre adresse électronique.","export-transcript.pdf.title":"Recevoir la conversation en PDF","export-transcript.pdf.description":"Téléchargez la conversation en format PDF.","export-transcript.pdf.cancel":"Annuler","export-transcript.pdf.download":"Télécharger","general-conditions.header":"**Conditions d'utilisation**","general-conditions.body":`Veuillez considérer les points suivants:
|
|
104
|
+
|
|
105
|
+
- L'historique du chat est stocké dans l'espace UE et ne peut être consulté que par les personnes autorisées.
|
|
106
|
+
- 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.","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.intro":"","start-screen.start-chat":"Démarrer le chat","header.restart-chat":"Redémarrer le chat","header.close-chat":"Minimiser le chat"},Gk={"message-input-label":"Input dell'utente","message-input-placeholder":"Messaggio","message-input.actions.submit.label":"Invia messaggio","message-input.actions.export-transcript.label":"Esportare la conversazione","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","bot-bubble.reaction.good":"Mi piace","bot-bubble.reaction.bad":"Non mi piace","bot-bubble.reaction.remove":"Rimuovere il marcatore","bot-bubble.copy":"Copia","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:
|
|
107
|
+
|
|
108
|
+
- La cronologia delle chat è memorizzata nell'area UE e può essere visualizzata solo da persone autorizzate.
|
|
109
|
+
- 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.","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.intro":"","start-screen.start-chat":"Avviare la chat","header.restart-chat":"Riavviare la chat","header.close-chat":"Ridurre al minimo la chat"},$k=["de","en","fr","it"],Mv={locale:"de",messages:Dv},qk=(e,n)=>{if($k.includes(e)){const i=Vk(e),s=zk.dot(n);return{...i,...s}}return n},Vk=e=>{switch(e.toString()){case"en":return Uk;case"fr":return Hk;case"it":return Gk;default:return Dv}},Wk=(e=Xk,n)=>{switch(n.type){case lf:return Object.assign({},e,{connectionState:_n.CONNECTING});case uf:return Object.assign({},e,{connectionState:_n.CONNECTED});case cf:return Object.assign({},e,{connectionState:_n.DISCONNECTED});case ff:return Object.assign({},e,{connectionState:_n.RECONNECTED});case df:return Object.assign({},e,{sessionId:n.sessionId});case ua:return Object.assign({},e,{sessionId:n.payload.sessionId,userId:n.payload.userId});case ca:return Object.assign({},e,{sessionId:void 0});default:return e}},Xk={connectionState:_n.DISCONNECTED,sessionId:void 0,userId:void 0},Qk=(e=Fg,n)=>{switch(n.type){case nv:return Fg;case ua:return Zn({type:"webclient.chat.started"}),e;case ca:return Zn({type:"webclient.chat.ended"}),e;case ge.ActionTypes.TYPING_ON:return Object.assign({},e,{isBotTyping:!0});case ge.ActionTypes.TYPING_OFF:return Object.assign({},e,{isBotTyping:!1});case ge.ActionTypes.MESSAGE_FROM_GUEST:case ge.ActionTypes.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST:return Mg(e,n.message);case ge.ActionTypes.MESSAGE_TO_GUEST:{Zn(n);const i=Object.assign({},n.message,{_id:n.meta.actionId}),s=e.messages.filter(l=>l._id===n.meta.actionId).length>0;return Object.assign({},e,{isBotTyping:!1,messages:s?e.messages:e.messages.concat([i]),quickReplies:i.quickReplies?i.quickReplies:[]})}case Kc:{const i=n.messages,s=i.length?i[i.length-1]:void 0;return Object.assign({},e,{isBotTyping:!1,messages:i,quickReplies:(s==null?void 0:s.quickReplies)||[]})}case ia:return Zn(n.message),e;case ge.ActionTypes.EVENT_TO_GUEST:return Zn(n.event),e;case ge.ActionTypes.DRAWER_OPEN:return Object.assign({},e,{drawerContentUrl:n.payload.parameters.contentUrl});case ge.ActionTypes.DRAWER_CLOSE:return Object.assign({},e,{drawerContentUrl:void 0});case ge.ActionTypes.GUEST_LOCALE_CHANGED:return Object.assign({},e,{locale:n.payload.locale});case jy:return Zn(n),e;case Zc:return Object.assign({},e,{speechSupport:!0});case ef:{const i=new ge.TextMessage(n.transcription,new ge.GuestUser),s=Object.assign({},i,{_id:kc()});return Mg(e,s)}case Jc:return Object.assign({},e,{transcriptExportEnabled:n.methods});case tf:return Object.assign({},e,{showGeneralConditions:!0});case ge.ActionTypes.TRANSCRIPT_ITEM_GUEST_REACTION:{const i=e.messages.map(s=>s._id===n.payload.actionId?Object.assign({},s,{reaction:n.payload.reaction}):s);return Object.assign({},e,{messages:i})}case rf:{const i={enabled:!0,rating:n.payload.rating};return Object.assign({},e,{conversationRating:i})}case ge.ActionTypes.CONVERSATION_RATING_FROM_GUEST:{const i={...e.conversationRating,rating:n.payload};return Object.assign({},e,{conversationRating:i})}default:return e}},Mg=(e,n)=>{const i=e.messages[e.messages.length-1],s=(i==null?void 0:i.text)===n.text;return i&&i.sender.type===n.sender.type&&s?e:Object.assign({},e,{messages:e.messages.concat([n]),quickReplies:[]})},Zn=e=>{var n;Kk()?(n=window.top)==null||n.postMessage(e,"*"):e.type==="webclient.change.url"&&window.open(e.url)},Kk=()=>typeof window<"u"&&window.self!==window.top,Fg={messages:[],quickReplies:[],isBotTyping:!1,speechSupport:!1,transcriptExportEnabled:{pdf:!1,email:!1},showGeneralConditions:!1,conversationRating:{enabled:!1}},Fv=tv({name:"intl",initialState:Mv,reducers:{updateIntl:(e,n)=>{e.locale=n.payload.language,e.messages=n.payload.messages}}}),{updateIntl:Yk}=Fv.actions,Zk=Fv.reducer,Jk=$y({chat:Qk,startScreen:vw,connection:Wk,intl:Zk}),Lv="bf-webclient-state-last-saved-at",Bv="bf-webclient-state",eR=e=>{try{if(!nR())return;const n=Lg(e,Lv);if(rR(n))return;{const i=Lg(e,Bv);return i===null?void 0:JSON.parse(i)}}catch(n){console.error(n);return}},tR=(e,n)=>{try{const i=JSON.stringify(n);Bg(e,Bv,i);const s=new Date().toISOString();Bg(e,Lv,s)}catch(i){console.error(i)}},rR=e=>{if(e===null)return!1;const n=new Date(e);return n.setHours(n.getHours()+12),new Date>n},nR=()=>typeof localStorage<"u",Lg=(e,n)=>localStorage.getItem(`${e}_${n}`),Bg=(e,n,i)=>localStorage.setItem(`${e}_${n}`,i),hr=Object.create(null);hr.open="0";hr.close="1";hr.ping="2";hr.pong="3";hr.message="4";hr.upgrade="5";hr.noop="6";const Hs=Object.create(null);Object.keys(hr).forEach(e=>{Hs[hr[e]]=e});const Nc={type:"error",data:"parser error"},jv=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",zv=typeof ArrayBuffer=="function",Uv=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,yf=({type:e,data:n},i,s)=>jv&&n instanceof Blob?i?s(n):jg(n,s):zv&&(n instanceof ArrayBuffer||Uv(n))?i?s(n):jg(new Blob([n]),s):s(hr[e]+(n||"")),jg=(e,n)=>{const i=new FileReader;return i.onload=function(){const s=i.result.split(",")[1];n("b"+(s||""))},i.readAsDataURL(e)};function zg(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let nc;function iR(e,n){if(jv&&e.data instanceof Blob)return e.data.arrayBuffer().then(zg).then(n);if(zv&&(e.data instanceof ArrayBuffer||Uv(e.data)))return n(zg(e.data));yf(e,!1,i=>{nc||(nc=new TextEncoder),n(nc.encode(i))})}const Ug="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Zi=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<Ug.length;e++)Zi[Ug.charCodeAt(e)]=e;const oR=e=>{let n=e.length*.75,i=e.length,s,l=0,u,d,h,p;e[e.length-1]==="="&&(n--,e[e.length-2]==="="&&n--);const E=new ArrayBuffer(n),y=new Uint8Array(E);for(s=0;s<i;s+=4)u=Zi[e.charCodeAt(s)],d=Zi[e.charCodeAt(s+1)],h=Zi[e.charCodeAt(s+2)],p=Zi[e.charCodeAt(s+3)],y[l++]=u<<2|d>>4,y[l++]=(d&15)<<4|h>>2,y[l++]=(h&3)<<6|p&63;return E},sR=typeof ArrayBuffer=="function",vf=(e,n)=>{if(typeof e!="string")return{type:"message",data:Hv(e,n)};const i=e.charAt(0);return i==="b"?{type:"message",data:aR(e.substring(1),n)}:Hs[i]?e.length>1?{type:Hs[i],data:e.substring(1)}:{type:Hs[i]}:Nc},aR=(e,n)=>{if(sR){const i=oR(e);return Hv(i,n)}else return{base64:!0,data:e}},Hv=(e,n)=>{switch(n){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},Gv="",lR=(e,n)=>{const i=e.length,s=new Array(i);let l=0;e.forEach((u,d)=>{yf(u,!1,h=>{s[d]=h,++l===i&&n(s.join(Gv))})})},uR=(e,n)=>{const i=e.split(Gv),s=[];for(let l=0;l<i.length;l++){const u=vf(i[l],n);if(s.push(u),u.type==="error")break}return s};function cR(){return new TransformStream({transform(e,n){iR(e,i=>{const s=i.length;let l;if(s<126)l=new Uint8Array(1),new DataView(l.buffer).setUint8(0,s);else if(s<65536){l=new Uint8Array(3);const u=new DataView(l.buffer);u.setUint8(0,126),u.setUint16(1,s)}else{l=new Uint8Array(9);const u=new DataView(l.buffer);u.setUint8(0,127),u.setBigUint64(1,BigInt(s))}e.data&&typeof e.data!="string"&&(l[0]|=128),n.enqueue(l),n.enqueue(i)})}})}let ic;function Bs(e){return e.reduce((n,i)=>n+i.length,0)}function js(e,n){if(e[0].length===n)return e.shift();const i=new Uint8Array(n);let s=0;for(let l=0;l<n;l++)i[l]=e[0][s++],s===e[0].length&&(e.shift(),s=0);return e.length&&s<e[0].length&&(e[0]=e[0].slice(s)),i}function fR(e,n){ic||(ic=new TextDecoder);const i=[];let s=0,l=-1,u=!1;return new TransformStream({transform(d,h){for(i.push(d);;){if(s===0){if(Bs(i)<1)break;const p=js(i,1);u=(p[0]&128)===128,l=p[0]&127,l<126?s=3:l===126?s=1:s=2}else if(s===1){if(Bs(i)<2)break;const p=js(i,2);l=new DataView(p.buffer,p.byteOffset,p.length).getUint16(0),s=3}else if(s===2){if(Bs(i)<8)break;const p=js(i,8),E=new DataView(p.buffer,p.byteOffset,p.length),y=E.getUint32(0);if(y>Math.pow(2,21)-1){h.enqueue(Nc);break}l=y*Math.pow(2,32)+E.getUint32(4),s=3}else{if(Bs(i)<l)break;const p=js(i,l);h.enqueue(vf(u?p:ic.decode(p),n)),s=0}if(l===0||l>e){h.enqueue(Nc);break}}}})}const $v=4;function Xe(e){if(e)return dR(e)}function dR(e){for(var n in Xe.prototype)e[n]=Xe.prototype[n];return e}Xe.prototype.on=Xe.prototype.addEventListener=function(e,n){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(n),this};Xe.prototype.once=function(e,n){function i(){this.off(e,i),n.apply(this,arguments)}return i.fn=n,this.on(e,i),this};Xe.prototype.off=Xe.prototype.removeListener=Xe.prototype.removeAllListeners=Xe.prototype.removeEventListener=function(e,n){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var i=this._callbacks["$"+e];if(!i)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var s,l=0;l<i.length;l++)if(s=i[l],s===n||s.fn===n){i.splice(l,1);break}return i.length===0&&delete this._callbacks["$"+e],this};Xe.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var n=new Array(arguments.length-1),i=this._callbacks["$"+e],s=1;s<arguments.length;s++)n[s-1]=arguments[s];if(i){i=i.slice(0);for(var s=0,l=i.length;s<l;++s)i[s].apply(this,n)}return this};Xe.prototype.emitReserved=Xe.prototype.emit;Xe.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Xe.prototype.hasListeners=function(e){return!!this.listeners(e).length};const da=typeof Promise=="function"&&typeof Promise.resolve=="function"?n=>Promise.resolve().then(n):(n,i)=>i(n,0),Ht=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),hR="arraybuffer";function qv(e,...n){return n.reduce((i,s)=>(e.hasOwnProperty(s)&&(i[s]=e[s]),i),{})}const pR=Ht.setTimeout,mR=Ht.clearTimeout;function ha(e,n){n.useNativeTimers?(e.setTimeoutFn=pR.bind(Ht),e.clearTimeoutFn=mR.bind(Ht)):(e.setTimeoutFn=Ht.setTimeout.bind(Ht),e.clearTimeoutFn=Ht.clearTimeout.bind(Ht))}const gR=1.33;function yR(e){return typeof e=="string"?vR(e):Math.ceil((e.byteLength||e.size)*gR)}function vR(e){let n=0,i=0;for(let s=0,l=e.length;s<l;s++)n=e.charCodeAt(s),n<128?i+=1:n<2048?i+=2:n<55296||n>=57344?i+=3:(s++,i+=4);return i}function Vv(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function _R(e){let n="";for(let i in e)e.hasOwnProperty(i)&&(n.length&&(n+="&"),n+=encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return n}function ER(e){let n={},i=e.split("&");for(let s=0,l=i.length;s<l;s++){let u=i[s].split("=");n[decodeURIComponent(u[0])]=decodeURIComponent(u[1])}return n}class SR extends Error{constructor(n,i,s){super(n),this.description=i,this.context=s,this.type="TransportError"}}class _f extends Xe{constructor(n){super(),this.writable=!1,ha(this,n),this.opts=n,this.query=n.query,this.socket=n.socket,this.supportsBinary=!n.forceBase64}onError(n,i,s){return super.emitReserved("error",new SR(n,i,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(n){this.readyState==="open"&&this.write(n)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(n){const i=vf(n,this.socket.binaryType);this.onPacket(i)}onPacket(n){super.emitReserved("packet",n)}onClose(n){this.readyState="closed",super.emitReserved("close",n)}pause(n){}createUri(n,i={}){return n+"://"+this._hostname()+this._port()+this.opts.path+this._query(i)}_hostname(){const n=this.opts.hostname;return n.indexOf(":")===-1?n:"["+n+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(n){const i=_R(n);return i.length?"?"+i:""}}class bR extends _f{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(n){this.readyState="pausing";const i=()=>{this.readyState="paused",n()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||i()})),this.writable||(s++,this.once("drain",function(){--s||i()}))}else i()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(n){const i=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};uR(n,this.socket.binaryType).forEach(i),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const n=()=>{this.write([{type:"close"}])};this.readyState==="open"?n():this.once("open",n)}write(n){this.writable=!1,lR(n,i=>{this.doWrite(i,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const n=this.opts.secure?"https":"http",i=this.query||{};return this.opts.timestampRequests!==!1&&(i[this.opts.timestampParam]=Vv()),!this.supportsBinary&&!i.sid&&(i.b64=1),this.createUri(n,i)}}let Wv=!1;try{Wv=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const wR=Wv;function xR(){}class TR extends bR{constructor(n){if(super(n),typeof location<"u"){const i=location.protocol==="https:";let s=location.port;s||(s=i?"443":"80"),this.xd=typeof location<"u"&&n.hostname!==location.hostname||s!==n.port}}doWrite(n,i){const s=this.request({method:"POST",data:n});s.on("success",i),s.on("error",(l,u)=>{this.onError("xhr post error",l,u)})}doPoll(){const n=this.request();n.on("data",this.onData.bind(this)),n.on("error",(i,s)=>{this.onError("xhr poll error",i,s)}),this.pollXhr=n}}class fr extends Xe{constructor(n,i,s){super(),this.createRequest=n,ha(this,s),this._opts=s,this._method=s.method||"GET",this._uri=i,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var n;const i=qv(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");i.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(i);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let l in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(l)&&s.setRequestHeader(l,this._opts.extraHeaders[l])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(n=this._opts.cookieJar)===null||n===void 0||n.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var l;s.readyState===3&&((l=this._opts.cookieJar)===null||l===void 0||l.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(l){this.setTimeoutFn(()=>{this._onError(l)},0);return}typeof document<"u"&&(this._index=fr.requestsCount++,fr.requests[this._index]=this)}_onError(n){this.emitReserved("error",n,this._xhr),this._cleanup(!0)}_cleanup(n){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=xR,n)try{this._xhr.abort()}catch{}typeof document<"u"&&delete fr.requests[this._index],this._xhr=null}}_onLoad(){const n=this._xhr.responseText;n!==null&&(this.emitReserved("data",n),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}fr.requestsCount=0;fr.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Hg);else if(typeof addEventListener=="function"){const e="onpagehide"in Ht?"pagehide":"unload";addEventListener(e,Hg,!1)}}function Hg(){for(let e in fr.requests)fr.requests.hasOwnProperty(e)&&fr.requests[e].abort()}const CR=function(){const e=Xv({xdomain:!1});return e&&e.responseType!==null}();class kR extends TR{constructor(n){super(n);const i=n&&n.forceBase64;this.supportsBinary=CR&&!i}request(n={}){return Object.assign(n,{xd:this.xd},this.opts),new fr(Xv,this.uri(),n)}}function Xv(e){const n=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!n||wR))return new XMLHttpRequest}catch{}if(!n)try{return new Ht[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Qv=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class RR extends _f{get name(){return"websocket"}doOpen(){const n=this.uri(),i=this.opts.protocols,s=Qv?{}:qv(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(n,i,s)}catch(l){return this.emitReserved("error",l)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=n=>this.onClose({description:"websocket connection closed",context:n}),this.ws.onmessage=n=>this.onData(n.data),this.ws.onerror=n=>this.onError("websocket error",n)}write(n){this.writable=!1;for(let i=0;i<n.length;i++){const s=n[i],l=i===n.length-1;yf(s,this.supportsBinary,u=>{try{this.doWrite(s,u)}catch{}l&&da(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const n=this.opts.secure?"wss":"ws",i=this.query||{};return this.opts.timestampRequests&&(i[this.opts.timestampParam]=Vv()),this.supportsBinary||(i.b64=1),this.createUri(n,i)}}const oc=Ht.WebSocket||Ht.MozWebSocket;class OR extends RR{createSocket(n,i,s){return Qv?new oc(n,i,s):i?new oc(n,i):new oc(n)}doWrite(n,i){this.ws.send(i)}}class NR extends _f{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(n){return this.emitReserved("error",n)}this._transport.closed.then(()=>{this.onClose()}).catch(n=>{this.onError("webtransport error",n)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(n=>{const i=fR(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=n.readable.pipeThrough(i).getReader(),l=cR();l.readable.pipeTo(n.writable),this._writer=l.writable.getWriter();const u=()=>{s.read().then(({done:h,value:p})=>{h||(this.onPacket(p),u())}).catch(h=>{})};u();const d={type:"open"};this.query.sid&&(d.data=`{"sid":"${this.query.sid}"}`),this._writer.write(d).then(()=>this.onOpen())})})}write(n){this.writable=!1;for(let i=0;i<n.length;i++){const s=n[i],l=i===n.length-1;this._writer.write(s).then(()=>{l&&da(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var n;(n=this._transport)===null||n===void 0||n.close()}}const AR={websocket:OR,webtransport:NR,polling:kR},PR=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,IR=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Ac(e){if(e.length>8e3)throw"URI too long";const n=e,i=e.indexOf("["),s=e.indexOf("]");i!=-1&&s!=-1&&(e=e.substring(0,i)+e.substring(i,s).replace(/:/g,";")+e.substring(s,e.length));let l=PR.exec(e||""),u={},d=14;for(;d--;)u[IR[d]]=l[d]||"";return i!=-1&&s!=-1&&(u.source=n,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),u.pathNames=DR(u,u.path),u.queryKey=MR(u,u.query),u}function DR(e,n){const i=/\/{2,9}/g,s=n.replace(i,"/").split("/");return(n.slice(0,1)=="/"||n.length===0)&&s.splice(0,1),n.slice(-1)=="/"&&s.splice(s.length-1,1),s}function MR(e,n){const i={};return n.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,l,u){l&&(i[l]=u)}),i}const Pc=typeof addEventListener=="function"&&typeof removeEventListener=="function",Gs=[];Pc&&addEventListener("offline",()=>{Gs.forEach(e=>e())},!1);class Zr extends Xe{constructor(n,i){if(super(),this.binaryType=hR,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,n&&typeof n=="object"&&(i=n,n=null),n){const s=Ac(n);i.hostname=s.host,i.secure=s.protocol==="https"||s.protocol==="wss",i.port=s.port,s.query&&(i.query=s.query)}else i.host&&(i.hostname=Ac(i.host).host);ha(this,i),this.secure=i.secure!=null?i.secure:typeof location<"u"&&location.protocol==="https:",i.hostname&&!i.port&&(i.port=this.secure?"443":"80"),this.hostname=i.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=i.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},i.transports.forEach(s=>{const l=s.prototype.name;this.transports.push(l),this._transportsByName[l]=s}),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},i),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=ER(this.opts.query)),Pc&&(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"})},Gs.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(n){const i=Object.assign({},this.opts.query);i.EIO=$v,i.transport=n,this.id&&(i.sid=this.id);const s=Object.assign({},this.opts,{query:i,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[n]);return new this._transportsByName[n](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const n=this.opts.rememberUpgrade&&Zr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const i=this.createTransport(n);i.open(),this.setTransport(i)}setTransport(n){this.transport&&this.transport.removeAllListeners(),this.transport=n,n.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",i=>this._onClose("transport close",i))}onOpen(){this.readyState="open",Zr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",n),this.emitReserved("heartbeat"),n.type){case"open":this.onHandshake(JSON.parse(n.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const i=new Error("server error");i.code=n.data,this._onError(i);break;case"message":this.emitReserved("data",n.data),this.emitReserved("message",n.data);break}}onHandshake(n){this.emitReserved("handshake",n),this.id=n.sid,this.transport.query.sid=n.sid,this._pingInterval=n.pingInterval,this._pingTimeout=n.pingTimeout,this._maxPayload=n.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const n=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+n,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},n),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 n=this._getWritablePackets();this.transport.send(n),this._prevBufferLen=n.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let i=1;for(let s=0;s<this.writeBuffer.length;s++){const l=this.writeBuffer[s].data;if(l&&(i+=yR(l)),s>0&&i>this._maxPayload)return this.writeBuffer.slice(0,s);i+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const n=Date.now()>this._pingTimeoutTime;return n&&(this._pingTimeoutTime=0,da(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),n}write(n,i,s){return this._sendPacket("message",n,i,s),this}send(n,i,s){return this._sendPacket("message",n,i,s),this}_sendPacket(n,i,s,l){if(typeof i=="function"&&(l=i,i=void 0),typeof s=="function"&&(l=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const u={type:n,data:i,options:s};this.emitReserved("packetCreate",u),this.writeBuffer.push(u),l&&this.once("flush",l),this.flush()}close(){const n=()=>{this._onClose("forced close"),this.transport.close()},i=()=>{this.off("upgrade",i),this.off("upgradeError",i),n()},s=()=>{this.once("upgrade",i),this.once("upgradeError",i)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():n()}):this.upgrading?s():n()),this}_onError(n){if(Zr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",n),this._onClose("transport error",n)}_onClose(n,i){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Pc&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=Gs.indexOf(this._offlineEventListener);s!==-1&&Gs.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",n,i),this.writeBuffer=[],this._prevBufferLen=0}}}Zr.protocol=$v;class FR extends Zr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let n=0;n<this._upgrades.length;n++)this._probe(this._upgrades[n])}_probe(n){let i=this.createTransport(n),s=!1;Zr.priorWebsocketSuccess=!1;const l=()=>{s||(i.send([{type:"ping",data:"probe"}]),i.once("packet",w=>{if(!s)if(w.type==="pong"&&w.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",i),!i)return;Zr.priorWebsocketSuccess=i.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(y(),this.setTransport(i),i.send([{type:"upgrade"}]),this.emitReserved("upgrade",i),i=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=i.name,this.emitReserved("upgradeError",m)}}))};function u(){s||(s=!0,y(),i.close(),i=null)}const d=w=>{const m=new Error("probe error: "+w);m.transport=i.name,u(),this.emitReserved("upgradeError",m)};function h(){d("transport closed")}function p(){d("socket closed")}function E(w){i&&w.name!==i.name&&u()}const y=()=>{i.removeListener("open",l),i.removeListener("error",d),i.removeListener("close",h),this.off("close",p),this.off("upgrading",E)};i.once("open",l),i.once("error",d),i.once("close",h),this.once("close",p),this.once("upgrading",E),this._upgrades.indexOf("webtransport")!==-1&&n!=="webtransport"?this.setTimeoutFn(()=>{s||i.open()},200):i.open()}onHandshake(n){this._upgrades=this._filterUpgrades(n.upgrades),super.onHandshake(n)}_filterUpgrades(n){const i=[];for(let s=0;s<n.length;s++)~this.transports.indexOf(n[s])&&i.push(n[s]);return i}}let LR=class extends FR{constructor(n,i={}){const s=typeof n=="object"?n:i;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(l=>AR[l]).filter(l=>!!l)),super(n,s)}};function BR(e,n="",i){let s=e;i=i||typeof location<"u"&&location,e==null&&(e=i.protocol+"//"+i.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=i.protocol+e:e=i.host+e),/^(https?|wss?):\/\//.test(e)||(typeof i<"u"?e=i.protocol+"//"+e:e="https://"+e),s=Ac(e)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const u=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+u+":"+s.port+n,s.href=s.protocol+"://"+u+(i&&i.port===s.port?"":":"+s.port),s}const jR=typeof ArrayBuffer=="function",zR=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Kv=Object.prototype.toString,UR=typeof Blob=="function"||typeof Blob<"u"&&Kv.call(Blob)==="[object BlobConstructor]",HR=typeof File=="function"||typeof File<"u"&&Kv.call(File)==="[object FileConstructor]";function Ef(e){return jR&&(e instanceof ArrayBuffer||zR(e))||UR&&e instanceof Blob||HR&&e instanceof File}function $s(e,n){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let i=0,s=e.length;i<s;i++)if($s(e[i]))return!0;return!1}if(Ef(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return $s(e.toJSON(),!0);for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&$s(e[i]))return!0;return!1}function GR(e){const n=[],i=e.data,s=e;return s.data=Ic(i,n),s.attachments=n.length,{packet:s,buffers:n}}function Ic(e,n){if(!e)return e;if(Ef(e)){const i={_placeholder:!0,num:n.length};return n.push(e),i}else if(Array.isArray(e)){const i=new Array(e.length);for(let s=0;s<e.length;s++)i[s]=Ic(e[s],n);return i}else if(typeof e=="object"&&!(e instanceof Date)){const i={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(i[s]=Ic(e[s],n));return i}return e}function $R(e,n){return e.data=Dc(e.data,n),delete e.attachments,e}function Dc(e,n){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<n.length)return n[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let i=0;i<e.length;i++)e[i]=Dc(e[i],n);else if(typeof e=="object")for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(e[i]=Dc(e[i],n));return e}const qR=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],VR=5;var Ee;(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"})(Ee||(Ee={}));class WR{constructor(n){this.replacer=n}encode(n){return(n.type===Ee.EVENT||n.type===Ee.ACK)&&$s(n)?this.encodeAsBinary({type:n.type===Ee.EVENT?Ee.BINARY_EVENT:Ee.BINARY_ACK,nsp:n.nsp,data:n.data,id:n.id}):[this.encodeAsString(n)]}encodeAsString(n){let i=""+n.type;return(n.type===Ee.BINARY_EVENT||n.type===Ee.BINARY_ACK)&&(i+=n.attachments+"-"),n.nsp&&n.nsp!=="/"&&(i+=n.nsp+","),n.id!=null&&(i+=n.id),n.data!=null&&(i+=JSON.stringify(n.data,this.replacer)),i}encodeAsBinary(n){const i=GR(n),s=this.encodeAsString(i.packet),l=i.buffers;return l.unshift(s),l}}function Gg(e){return Object.prototype.toString.call(e)==="[object Object]"}class Sf extends Xe{constructor(n){super(),this.reviver=n}add(n){let i;if(typeof n=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");i=this.decodeString(n);const s=i.type===Ee.BINARY_EVENT;s||i.type===Ee.BINARY_ACK?(i.type=s?Ee.EVENT:Ee.ACK,this.reconstructor=new XR(i),i.attachments===0&&super.emitReserved("decoded",i)):super.emitReserved("decoded",i)}else if(Ef(n)||n.base64)if(this.reconstructor)i=this.reconstructor.takeBinaryData(n),i&&(this.reconstructor=null,super.emitReserved("decoded",i));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+n)}decodeString(n){let i=0;const s={type:Number(n.charAt(0))};if(Ee[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===Ee.BINARY_EVENT||s.type===Ee.BINARY_ACK){const u=i+1;for(;n.charAt(++i)!=="-"&&i!=n.length;);const d=n.substring(u,i);if(d!=Number(d)||n.charAt(i)!=="-")throw new Error("Illegal attachments");s.attachments=Number(d)}if(n.charAt(i+1)==="/"){const u=i+1;for(;++i&&!(n.charAt(i)===","||i===n.length););s.nsp=n.substring(u,i)}else s.nsp="/";const l=n.charAt(i+1);if(l!==""&&Number(l)==l){const u=i+1;for(;++i;){const d=n.charAt(i);if(d==null||Number(d)!=d){--i;break}if(i===n.length)break}s.id=Number(n.substring(u,i+1))}if(n.charAt(++i)){const u=this.tryParse(n.substr(i));if(Sf.isPayloadValid(s.type,u))s.data=u;else throw new Error("invalid payload")}return s}tryParse(n){try{return JSON.parse(n,this.reviver)}catch{return!1}}static isPayloadValid(n,i){switch(n){case Ee.CONNECT:return Gg(i);case Ee.DISCONNECT:return i===void 0;case Ee.CONNECT_ERROR:return typeof i=="string"||Gg(i);case Ee.EVENT:case Ee.BINARY_EVENT:return Array.isArray(i)&&(typeof i[0]=="number"||typeof i[0]=="string"&&qR.indexOf(i[0])===-1);case Ee.ACK:case Ee.BINARY_ACK:return Array.isArray(i)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class XR{constructor(n){this.packet=n,this.buffers=[],this.reconPack=n}takeBinaryData(n){if(this.buffers.push(n),this.buffers.length===this.reconPack.attachments){const i=$R(this.reconPack,this.buffers);return this.finishedReconstruction(),i}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const QR=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Sf,Encoder:WR,get PacketType(){return Ee},protocol:VR},Symbol.toStringTag,{value:"Module"}));function rr(e,n,i){return e.on(n,i),function(){e.off(n,i)}}const KR=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Yv extends Xe{constructor(n,i,s){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=n,this.nsp=i,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const n=this.io;this.subs=[rr(n,"open",this.onopen.bind(this)),rr(n,"packet",this.onpacket.bind(this)),rr(n,"error",this.onerror.bind(this)),rr(n,"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(...n){return n.unshift("message"),this.emit.apply(this,n),this}emit(n,...i){var s,l,u;if(KR.hasOwnProperty(n))throw new Error('"'+n.toString()+'" is a reserved event name');if(i.unshift(n),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(i),this;const d={type:Ee.EVENT,data:i};if(d.options={},d.options.compress=this.flags.compress!==!1,typeof i[i.length-1]=="function"){const y=this.ids++,w=i.pop();this._registerAckCallback(y,w),d.id=y}const h=(l=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||l===void 0?void 0:l.writable,p=this.connected&&!(!((u=this.io.engine)===null||u===void 0)&&u._hasPingExpired());return this.flags.volatile&&!h||(p?(this.notifyOutgoingListeners(d),this.packet(d)):this.sendBuffer.push(d)),this.flags={},this}_registerAckCallback(n,i){var s;const l=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(l===void 0){this.acks[n]=i;return}const u=this.io.setTimeoutFn(()=>{delete this.acks[n];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===n&&this.sendBuffer.splice(h,1);i.call(this,new Error("operation has timed out"))},l),d=(...h)=>{this.io.clearTimeoutFn(u),i.apply(this,h)};d.withError=!0,this.acks[n]=d}emitWithAck(n,...i){return new Promise((s,l)=>{const u=(d,h)=>d?l(d):s(h);u.withError=!0,i.push(u),this.emit(n,...i)})}_addToQueue(n){let i;typeof n[n.length-1]=="function"&&(i=n.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:n,flags:Object.assign({fromQueue:!0},this.flags)};n.push((l,...u)=>s!==this._queue[0]?void 0:(l!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),i&&i(l)):(this._queue.shift(),i&&i(null,...u)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(n=!1){if(!this.connected||this._queue.length===0)return;const i=this._queue[0];i.pending&&!n||(i.pending=!0,i.tryCount++,this.flags=i.flags,this.emit.apply(this,i.args))}packet(n){n.nsp=this.nsp,this.io._packet(n)}onopen(){typeof this.auth=="function"?this.auth(n=>{this._sendConnectPacket(n)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(n){this.packet({type:Ee.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},n):n})}onerror(n){this.connected||this.emitReserved("connect_error",n)}onclose(n,i){this.connected=!1,delete this.id,this.emitReserved("disconnect",n,i),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(n=>{if(!this.sendBuffer.some(s=>String(s.id)===n)){const s=this.acks[n];delete this.acks[n],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(n){if(n.nsp===this.nsp)switch(n.type){case Ee.CONNECT:n.data&&n.data.sid?this.onconnect(n.data.sid,n.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 Ee.EVENT:case Ee.BINARY_EVENT:this.onevent(n);break;case Ee.ACK:case Ee.BINARY_ACK:this.onack(n);break;case Ee.DISCONNECT:this.ondisconnect();break;case Ee.CONNECT_ERROR:this.destroy();const s=new Error(n.data.message);s.data=n.data.data,this.emitReserved("connect_error",s);break}}onevent(n){const i=n.data||[];n.id!=null&&i.push(this.ack(n.id)),this.connected?this.emitEvent(i):this.receiveBuffer.push(Object.freeze(i))}emitEvent(n){if(this._anyListeners&&this._anyListeners.length){const i=this._anyListeners.slice();for(const s of i)s.apply(this,n)}super.emit.apply(this,n),this._pid&&n.length&&typeof n[n.length-1]=="string"&&(this._lastOffset=n[n.length-1])}ack(n){const i=this;let s=!1;return function(...l){s||(s=!0,i.packet({type:Ee.ACK,id:n,data:l}))}}onack(n){const i=this.acks[n.id];typeof i=="function"&&(delete this.acks[n.id],i.withError&&n.data.unshift(null),i.apply(this,n.data))}onconnect(n,i){this.id=n,this.recovered=i&&this._pid===i,this._pid=i,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(n=>this.emitEvent(n)),this.receiveBuffer=[],this.sendBuffer.forEach(n=>{this.notifyOutgoingListeners(n),this.packet(n)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(n=>n()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Ee.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(n){return this.flags.compress=n,this}get volatile(){return this.flags.volatile=!0,this}timeout(n){return this.flags.timeout=n,this}onAny(n){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(n),this}prependAny(n){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(n),this}offAny(n){if(!this._anyListeners)return this;if(n){const i=this._anyListeners;for(let s=0;s<i.length;s++)if(n===i[s])return i.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(n){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(n),this}prependAnyOutgoing(n){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(n),this}offAnyOutgoing(n){if(!this._anyOutgoingListeners)return this;if(n){const i=this._anyOutgoingListeners;for(let s=0;s<i.length;s++)if(n===i[s])return i.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(n){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const i=this._anyOutgoingListeners.slice();for(const s of i)s.apply(this,n.data)}}}function ri(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}ri.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var n=Math.random(),i=Math.floor(n*this.jitter*e);e=Math.floor(n*10)&1?e+i:e-i}return Math.min(e,this.max)|0};ri.prototype.reset=function(){this.attempts=0};ri.prototype.setMin=function(e){this.ms=e};ri.prototype.setMax=function(e){this.max=e};ri.prototype.setJitter=function(e){this.jitter=e};class Mc extends Xe{constructor(n,i){var s;super(),this.nsps={},this.subs=[],n&&typeof n=="object"&&(i=n,n=void 0),i=i||{},i.path=i.path||"/socket.io",this.opts=i,ha(this,i),this.reconnection(i.reconnection!==!1),this.reconnectionAttempts(i.reconnectionAttempts||1/0),this.reconnectionDelay(i.reconnectionDelay||1e3),this.reconnectionDelayMax(i.reconnectionDelayMax||5e3),this.randomizationFactor((s=i.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new ri({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(i.timeout==null?2e4:i.timeout),this._readyState="closed",this.uri=n;const l=i.parser||QR;this.encoder=new l.Encoder,this.decoder=new l.Decoder,this._autoConnect=i.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(n){return arguments.length?(this._reconnection=!!n,n||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(n){return n===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=n,this)}reconnectionDelay(n){var i;return n===void 0?this._reconnectionDelay:(this._reconnectionDelay=n,(i=this.backoff)===null||i===void 0||i.setMin(n),this)}randomizationFactor(n){var i;return n===void 0?this._randomizationFactor:(this._randomizationFactor=n,(i=this.backoff)===null||i===void 0||i.setJitter(n),this)}reconnectionDelayMax(n){var i;return n===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=n,(i=this.backoff)===null||i===void 0||i.setMax(n),this)}timeout(n){return arguments.length?(this._timeout=n,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(n){if(~this._readyState.indexOf("open"))return this;this.engine=new LR(this.uri,this.opts);const i=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const l=rr(i,"open",function(){s.onopen(),n&&n()}),u=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),n?n(h):this.maybeReconnectOnOpen()},d=rr(i,"error",u);if(this._timeout!==!1){const h=this._timeout,p=this.setTimeoutFn(()=>{l(),u(new Error("timeout")),i.close()},h);this.opts.autoUnref&&p.unref(),this.subs.push(()=>{this.clearTimeoutFn(p)})}return this.subs.push(l),this.subs.push(d),this}connect(n){return this.open(n)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const n=this.engine;this.subs.push(rr(n,"ping",this.onping.bind(this)),rr(n,"data",this.ondata.bind(this)),rr(n,"error",this.onerror.bind(this)),rr(n,"close",this.onclose.bind(this)),rr(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(n){try{this.decoder.add(n)}catch(i){this.onclose("parse error",i)}}ondecoded(n){da(()=>{this.emitReserved("packet",n)},this.setTimeoutFn)}onerror(n){this.emitReserved("error",n)}socket(n,i){let s=this.nsps[n];return s?this._autoConnect&&!s.active&&s.connect():(s=new Yv(this,n,i),this.nsps[n]=s),s}_destroy(n){const i=Object.keys(this.nsps);for(const s of i)if(this.nsps[s].active)return;this._close()}_packet(n){const i=this.encoder.encode(n);for(let s=0;s<i.length;s++)this.engine.write(i[s],n.options)}cleanup(){this.subs.forEach(n=>n()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(n,i){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",n,i),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const n=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const i=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{n.skipReconnect||(this.emitReserved("reconnect_attempt",n.backoff.attempts),!n.skipReconnect&&n.open(l=>{l?(n._reconnecting=!1,n.reconnect(),this.emitReserved("reconnect_error",l)):n.onreconnect()}))},i);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const n=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",n)}}const Ki={};function qs(e,n){typeof e=="object"&&(n=e,e=void 0),n=n||{};const i=BR(e,n.path||"/socket.io"),s=i.source,l=i.id,u=i.path,d=Ki[l]&&u in Ki[l].nsps,h=n.forceNew||n["force new connection"]||n.multiplex===!1||d;let p;return h?p=new Mc(s,n):(Ki[l]||(Ki[l]=new Mc(s,n)),p=Ki[l]),i.query&&!n.query&&(n.query=i.queryKey),p.socket(i.path,n)}Object.assign(qs,{Manager:Mc,Socket:Yv,io:qs,connect:qs});const YR=[ge.ActionTypes.MESSAGE_TO_GUEST,ge.ActionTypes.EVENT_TO_GUEST,ge.ActionTypes.TYPING_ON,ge.ActionTypes.TYPING_OFF,ge.ActionTypes.RESTART_CHAT_REQUEST,...xw,...yb,"@@localize/SET_ACTIVE_LANGUAGE","@@localize/ADD_TRANSLATION_FOR_LANGUAGE"],ZR=({dispatch:e,getState:n})=>i=>{let s=null;return l=>{const u=i(l);if(l.type===af){s!=null&&s.disconnect(),e(kw());const d=`/chat?${Wc.stringify(l.querystrings)}`;s=qs(`/${l.clientName}${d}`),s.on("action",e),s.on("connect",()=>e(Rw())),s.on("disconnect",()=>e(Ow())),s.on("reconnect",()=>e(Nw())),s.on("set-use-start-screen",h=>{e(h?pw():mw())}),s.on("set-translations",(h,p)=>{e(Yk({language:h,messages:qk(h,p)}))}),s.on("enable-speech-support",()=>e(_b())),s.on("enable-transcript-export",h=>e(Sb(h))),s.on("enable-conversation-rating",h=>e(Tb(h))),s.on("speech-transcription",h=>e(Eb(h))),s.on("restore-client-state",h=>{e(Cw(h.sessionId)),e(kb(h.messages))}),s.on("expand-window",({devices:h})=>e({type:jy,devices:h})),s.on("show-general-conditions",()=>e(wb())),s.on("restart-chat",()=>{e(hf(l.clientName,l.querystrings))})}else if(l.type===ua)s==null||s.emit("start-chat",l.payload);else if(l.type===ca)s==null||s.emit("terminate-session",l.payload);else if(l.type===gb)s==null||s.emit("get-started",JSON.stringify(l));else if(l.type===Yc)s==null||s.emit("audio-message",l.buffer);else if(l.type===ge.ActionTypes.CONVERSATION_RATING_FROM_GUEST)s==null||s.emit("conversation-rating",l.payload);else if(l.type===zy){const{connection:{sessionId:d}}=n();window.location.href=`/transcript-pdf/${d}`}else YR.indexOf(l.type)===-1&&l.meta===void 0&&s&&s.emit("action",JSON.stringify(l));return u}},Zv=ky(),JR={...eR(Zv),intl:Mv},Fc=tw({middleware:e=>e().concat(ZR),reducer:Jk,preloadedState:JR});Fc.subscribe(Bk(()=>{const e=Fc.getState();tR(Zv,{connection:e.connection,startScreen:e.startScreen})},1e3));const eO=document.getElementById("root"),tO=s1.createRoot(eO);tO.render(R.jsx(oE,{store:Fc,children:R.jsx(xk,{})}));
|
|
110
|
+
//# sourceMappingURL=index-DELBIhzX.js.map
|