@botfabrik/engine-webclient 4.93.7 → 4.94.2
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/README.md +4 -0
- package/dist/client/assets/{index-DCpEIwB3.css → index-C8odGRBC.css} +1 -1
- package/dist/client/assets/index-D-4bXog2.js +120 -0
- package/dist/client/assets/index-D-4bXog2.js.map +1 -0
- package/dist/client/index.html +2 -2
- package/dist/index.d.ts +52 -0
- package/dist/index.js +1 -0
- package/package.json +3 -3
- package/dist/client/assets/index-ux2toNv6.js +0 -119
- package/dist/client/assets/index-ux2toNv6.js.map +0 -1
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))s(u);new MutationObserver(u=>{for(const c of u)if(c.type==="childList")for(const h of c.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&s(h)}).observe(document,{childList:!0,subtree:!0});function i(u){const c={};return u.integrity&&(c.integrity=u.integrity),u.referrerPolicy&&(c.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?c.credentials="include":u.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(u){if(u.ep)return;u.ep=!0;const c=i(u);fetch(u.href,c)}})();var yo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cu(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Lf={exports:{}},Ds={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and 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 Gg;function nS(){if(Gg)return Ds;Gg=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(s,u,c){var h=null;if(c!==void 0&&(h=""+c),u.key!==void 0&&(h=""+u.key),"key"in u){c={};for(var d in u)d!=="key"&&(c[d]=u[d])}else c=u;return u=c.ref,{$$typeof:n,type:s,key:h,ref:u!==void 0?u:null,props:c}}return Ds.Fragment=r,Ds.jsx=i,Ds.jsxs=i,Ds}var qg;function rS(){return qg||(qg=1,Lf.exports=nS()),Lf.exports}var _=rS(),Uf={exports:{}},Bs={},jf={exports:{}},Hf={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* scheduler.production.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and 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 Fg;function aS(){return Fg||(Fg=1,function(n){function r(G,$){var ne=G.length;G.push($);e:for(;0<ne;){var Te=ne-1>>>1,R=G[Te];if(0<u(R,$))G[Te]=$,G[ne]=R,ne=Te;else break e}}function i(G){return G.length===0?null:G[0]}function s(G){if(G.length===0)return null;var $=G[0],ne=G.pop();if(ne!==$){G[0]=ne;e:for(var Te=0,R=G.length,q=R>>>1;Te<q;){var W=2*(Te+1)-1,X=G[W],re=W+1,se=G[re];if(0>u(X,ne))re<R&&0>u(se,X)?(G[Te]=se,G[re]=ne,Te=re):(G[Te]=X,G[W]=ne,Te=W);else if(re<R&&0>u(se,ne))G[Te]=se,G[re]=ne,Te=re;else break e}}return $}function u(G,$){var ne=G.sortIndex-$.sortIndex;return ne!==0?ne:G.id-$.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var h=Date,d=h.now();n.unstable_now=function(){return h.now()-d}}var m=[],g=[],y=1,T=null,O=3,L=!1,M=!1,V=!1,I=!1,S=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;function A(G){for(var $=i(g);$!==null;){if($.callback===null)s(g);else if($.startTime<=G)s(g),$.sortIndex=$.expirationTime,r(m,$);else break;$=i(g)}}function E(G){if(V=!1,A(G),!M)if(i(m)!==null)M=!0,k||(k=!0,oe());else{var $=i(g);$!==null&&be(E,$.startTime-G)}}var k=!1,Z=-1,ee=5,de=-1;function ie(){return I?!0:!(n.unstable_now()-de<ee)}function J(){if(I=!1,k){var G=n.unstable_now();de=G;var $=!0;try{e:{M=!1,V&&(V=!1,x(Z),Z=-1),L=!0;var ne=O;try{t:{for(A(G),T=i(m);T!==null&&!(T.expirationTime>G&&ie());){var Te=T.callback;if(typeof Te=="function"){T.callback=null,O=T.priorityLevel;var R=Te(T.expirationTime<=G);if(G=n.unstable_now(),typeof R=="function"){T.callback=R,A(G),$=!0;break t}T===i(m)&&s(m),A(G)}else s(m);T=i(m)}if(T!==null)$=!0;else{var q=i(g);q!==null&&be(E,q.startTime-G),$=!1}}break e}finally{T=null,O=ne,L=!1}$=void 0}}finally{$?oe():k=!1}}}var oe;if(typeof b=="function")oe=function(){b(J)};else if(typeof MessageChannel<"u"){var fe=new MessageChannel,Ve=fe.port2;fe.port1.onmessage=J,oe=function(){Ve.postMessage(null)}}else oe=function(){S(J,0)};function be(G,$){Z=S(function(){G(n.unstable_now())},$)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(G){G.callback=null},n.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<G?Math.floor(1e3/G):5},n.unstable_getCurrentPriorityLevel=function(){return O},n.unstable_next=function(G){switch(O){case 1:case 2:case 3:var $=3;break;default:$=O}var ne=O;O=$;try{return G()}finally{O=ne}},n.unstable_requestPaint=function(){I=!0},n.unstable_runWithPriority=function(G,$){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var ne=O;O=G;try{return $()}finally{O=ne}},n.unstable_scheduleCallback=function(G,$,ne){var Te=n.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?Te+ne:Te):ne=Te,G){case 1:var R=-1;break;case 2:R=250;break;case 5:R=1073741823;break;case 4:R=1e4;break;default:R=5e3}return R=ne+R,G={id:y++,callback:$,priorityLevel:G,startTime:ne,expirationTime:R,sortIndex:-1},ne>Te?(G.sortIndex=ne,r(g,G),i(m)===null&&G===i(g)&&(V?(x(Z),Z=-1):V=!0,be(E,ne-Te))):(G.sortIndex=R,r(m,G),M||L||(M=!0,k||(k=!0,oe()))),G},n.unstable_shouldYield=ie,n.unstable_wrapCallback=function(G){var $=O;return function(){var ne=O;O=$;try{return G.apply(this,arguments)}finally{O=ne}}}}(Hf)),Hf}var Pg;function iS(){return Pg||(Pg=1,jf.exports=aS()),jf.exports}var zf={exports:{}},ve={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* react.production.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Meta Platforms, Inc. and 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 Vg;function sS(){if(Vg)return ve;Vg=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),h=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),T=Symbol.iterator;function O(R){return R===null||typeof R!="object"?null:(R=T&&R[T]||R["@@iterator"],typeof R=="function"?R:null)}var L={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,V={};function I(R,q,W){this.props=R,this.context=q,this.refs=V,this.updater=W||L}I.prototype.isReactComponent={},I.prototype.setState=function(R,q){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,q,"setState")},I.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function S(){}S.prototype=I.prototype;function x(R,q,W){this.props=R,this.context=q,this.refs=V,this.updater=W||L}var b=x.prototype=new S;b.constructor=x,M(b,I.prototype),b.isPureReactComponent=!0;var A=Array.isArray,E={H:null,A:null,T:null,S:null,V:null},k=Object.prototype.hasOwnProperty;function Z(R,q,W,X,re,se){return W=se.ref,{$$typeof:n,type:R,key:q,ref:W!==void 0?W:null,props:se}}function ee(R,q){return Z(R.type,q,void 0,void 0,void 0,R.props)}function de(R){return typeof R=="object"&&R!==null&&R.$$typeof===n}function ie(R){var q={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(W){return q[W]})}var J=/\/+/g;function oe(R,q){return typeof R=="object"&&R!==null&&R.key!=null?ie(""+R.key):q.toString(36)}function fe(){}function Ve(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(fe,fe):(R.status="pending",R.then(function(q){R.status==="pending"&&(R.status="fulfilled",R.value=q)},function(q){R.status==="pending"&&(R.status="rejected",R.reason=q)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function be(R,q,W,X,re){var se=typeof R;(se==="undefined"||se==="boolean")&&(R=null);var he=!1;if(R===null)he=!0;else switch(se){case"bigint":case"string":case"number":he=!0;break;case"object":switch(R.$$typeof){case n:case r:he=!0;break;case y:return he=R._init,be(he(R._payload),q,W,X,re)}}if(he)return re=re(R),he=X===""?"."+oe(R,0):X,A(re)?(W="",he!=null&&(W=he.replace(J,"$&/")+"/"),be(re,q,W,"",function(vt){return vt})):re!=null&&(de(re)&&(re=ee(re,W+(re.key==null||R&&R.key===re.key?"":(""+re.key).replace(J,"$&/")+"/")+he)),q.push(re)),1;he=0;var $e=X===""?".":X+":";if(A(R))for(var Ue=0;Ue<R.length;Ue++)X=R[Ue],se=$e+oe(X,Ue),he+=be(X,q,W,se,re);else if(Ue=O(R),typeof Ue=="function")for(R=Ue.call(R),Ue=0;!(X=R.next()).done;)X=X.value,se=$e+oe(X,Ue++),he+=be(X,q,W,se,re);else if(se==="object"){if(typeof R.then=="function")return be(Ve(R),q,W,X,re);throw q=String(R),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return he}function G(R,q,W){if(R==null)return R;var X=[],re=0;return be(R,X,"","",function(se){return q.call(W,se,re++)}),X}function $(R){if(R._status===-1){var q=R._result;q=q(),q.then(function(W){(R._status===0||R._status===-1)&&(R._status=1,R._result=W)},function(W){(R._status===0||R._status===-1)&&(R._status=2,R._result=W)}),R._status===-1&&(R._status=0,R._result=q)}if(R._status===1)return R._result.default;throw R._result}var ne=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)};function Te(){}return ve.Children={map:G,forEach:function(R,q,W){G(R,function(){q.apply(this,arguments)},W)},count:function(R){var q=0;return G(R,function(){q++}),q},toArray:function(R){return G(R,function(q){return q})||[]},only:function(R){if(!de(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},ve.Component=I,ve.Fragment=i,ve.Profiler=u,ve.PureComponent=x,ve.StrictMode=s,ve.Suspense=m,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,ve.__COMPILER_RUNTIME={__proto__:null,c:function(R){return E.H.useMemoCache(R)}},ve.cache=function(R){return function(){return R.apply(null,arguments)}},ve.cloneElement=function(R,q,W){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var X=M({},R.props),re=R.key,se=void 0;if(q!=null)for(he in q.ref!==void 0&&(se=void 0),q.key!==void 0&&(re=""+q.key),q)!k.call(q,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&q.ref===void 0||(X[he]=q[he]);var he=arguments.length-2;if(he===1)X.children=W;else if(1<he){for(var $e=Array(he),Ue=0;Ue<he;Ue++)$e[Ue]=arguments[Ue+2];X.children=$e}return Z(R.type,re,void 0,void 0,se,X)},ve.createContext=function(R){return R={$$typeof:h,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:c,_context:R},R},ve.createElement=function(R,q,W){var X,re={},se=null;if(q!=null)for(X in q.key!==void 0&&(se=""+q.key),q)k.call(q,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(re[X]=q[X]);var he=arguments.length-2;if(he===1)re.children=W;else if(1<he){for(var $e=Array(he),Ue=0;Ue<he;Ue++)$e[Ue]=arguments[Ue+2];re.children=$e}if(R&&R.defaultProps)for(X in he=R.defaultProps,he)re[X]===void 0&&(re[X]=he[X]);return Z(R,se,void 0,void 0,null,re)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(R){return{$$typeof:d,render:R}},ve.isValidElement=de,ve.lazy=function(R){return{$$typeof:y,_payload:{_status:-1,_result:R},_init:$}},ve.memo=function(R,q){return{$$typeof:g,type:R,compare:q===void 0?null:q}},ve.startTransition=function(R){var q=E.T,W={};E.T=W;try{var X=R(),re=E.S;re!==null&&re(W,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(Te,ne)}catch(se){ne(se)}finally{E.T=q}},ve.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},ve.use=function(R){return E.H.use(R)},ve.useActionState=function(R,q,W){return E.H.useActionState(R,q,W)},ve.useCallback=function(R,q){return E.H.useCallback(R,q)},ve.useContext=function(R){return E.H.useContext(R)},ve.useDebugValue=function(){},ve.useDeferredValue=function(R,q){return E.H.useDeferredValue(R,q)},ve.useEffect=function(R,q,W){var X=E.H;if(typeof W=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return X.useEffect(R,q)},ve.useId=function(){return E.H.useId()},ve.useImperativeHandle=function(R,q,W){return E.H.useImperativeHandle(R,q,W)},ve.useInsertionEffect=function(R,q){return E.H.useInsertionEffect(R,q)},ve.useLayoutEffect=function(R,q){return E.H.useLayoutEffect(R,q)},ve.useMemo=function(R,q){return E.H.useMemo(R,q)},ve.useOptimistic=function(R,q){return E.H.useOptimistic(R,q)},ve.useReducer=function(R,q,W){return E.H.useReducer(R,q,W)},ve.useRef=function(R){return E.H.useRef(R)},ve.useState=function(R){return E.H.useState(R)},ve.useSyncExternalStore=function(R,q,W){return E.H.useSyncExternalStore(R,q,W)},ve.useTransition=function(){return E.H.useTransition()},ve.version="19.1.0",ve}var Yg;function Ri(){return Yg||(Yg=1,zf.exports=sS()),zf.exports}var kf={exports:{}},Bt={};/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Meta Platforms, Inc. and 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 Zg;function lS(){if(Zg)return Bt;Zg=1;var n=Ri();function r(m){var g="https://react.dev/errors/"+m;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)g+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var s={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},u=Symbol.for("react.portal");function c(m,g,y){var T=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:u,key:T==null?null:""+T,children:m,containerInfo:g,implementation:y}}var h=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(m,g){if(m==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Bt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Bt.createPortal=function(m,g){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(r(299));return c(m,g,null,y)},Bt.flushSync=function(m){var g=h.T,y=s.p;try{if(h.T=null,s.p=2,m)return m()}finally{h.T=g,s.p=y,s.d.f()}},Bt.preconnect=function(m,g){typeof m=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,s.d.C(m,g))},Bt.prefetchDNS=function(m){typeof m=="string"&&s.d.D(m)},Bt.preinit=function(m,g){if(typeof m=="string"&&g&&typeof g.as=="string"){var y=g.as,T=d(y,g.crossOrigin),O=typeof g.integrity=="string"?g.integrity:void 0,L=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;y==="style"?s.d.S(m,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:T,integrity:O,fetchPriority:L}):y==="script"&&s.d.X(m,{crossOrigin:T,integrity:O,fetchPriority:L,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Bt.preinitModule=function(m,g){if(typeof m=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var y=d(g.as,g.crossOrigin);s.d.M(m,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&s.d.M(m)},Bt.preload=function(m,g){if(typeof m=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var y=g.as,T=d(y,g.crossOrigin);s.d.L(m,y,{crossOrigin:T,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Bt.preloadModule=function(m,g){if(typeof m=="string")if(g){var y=d(g.as,g.crossOrigin);s.d.m(m,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else s.d.m(m)},Bt.requestFormReset=function(m){s.d.r(m)},Bt.unstable_batchedUpdates=function(m,g){return m(g)},Bt.useFormState=function(m,g,y){return h.H.useFormState(m,g,y)},Bt.useFormStatus=function(){return h.H.useHostTransitionStatus()},Bt.version="19.1.0",Bt}var Xg;function oS(){if(Xg)return kf.exports;Xg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),kf.exports=lS(),kf.exports}/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-dom-client.production.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var Qg;function uS(){if(Qg)return Bs;Qg=1;var n=iS(),r=Ri(),i=oS();function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function h(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function d(e){if(c(e)!==e)throw Error(s(188))}function m(e){var t=e.alternate;if(!t){if(t=c(e),t===null)throw Error(s(188));return t!==e?null:e}for(var a=e,l=t;;){var o=a.return;if(o===null)break;var f=o.alternate;if(f===null){if(l=o.return,l!==null){a=l;continue}break}if(o.child===f.child){for(f=o.child;f;){if(f===a)return d(o),e;if(f===l)return d(o),t;f=f.sibling}throw Error(s(188))}if(a.return!==l.return)a=o,l=f;else{for(var p=!1,v=o.child;v;){if(v===a){p=!0,a=o,l=f;break}if(v===l){p=!0,l=o,a=f;break}v=v.sibling}if(!p){for(v=f.child;v;){if(v===a){p=!0,a=f,l=o;break}if(v===l){p=!0,l=f,a=o;break}v=v.sibling}if(!p)throw Error(s(189))}}if(a.alternate!==l)throw Error(s(190))}if(a.tag!==3)throw Error(s(188));return a.stateNode.current===a?e:t}function g(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=g(e),t!==null)return t;e=e.sibling}return null}var y=Object.assign,T=Symbol.for("react.element"),O=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),x=Symbol.for("react.consumer"),b=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),ee=Symbol.for("react.lazy"),de=Symbol.for("react.activity"),ie=Symbol.for("react.memo_cache_sentinel"),J=Symbol.iterator;function oe(e){return e===null||typeof e!="object"?null:(e=J&&e[J]||e["@@iterator"],typeof e=="function"?e:null)}var fe=Symbol.for("react.client.reference");function Ve(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===fe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case M:return"Fragment";case I:return"Profiler";case V:return"StrictMode";case E:return"Suspense";case k:return"SuspenseList";case de:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case L:return"Portal";case b:return(e.displayName||"Context")+".Provider";case x:return(e._context.displayName||"Context")+".Consumer";case A:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Z:return t=e.displayName||null,t!==null?t:Ve(e.type)||"Memo";case ee:t=e._payload,e=e._init;try{return Ve(e(t))}catch{}}return null}var be=Array.isArray,G=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},Te=[],R=-1;function q(e){return{current:e}}function W(e){0>R||(e.current=Te[R],Te[R]=null,R--)}function X(e,t){R++,Te[R]=e.current,e.current=t}var re=q(null),se=q(null),he=q(null),$e=q(null);function Ue(e,t){switch(X(he,t),X(se,e),X(re,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?pg(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=pg(t),e=gg(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}W(re),X(re,e)}function vt(){W(re),W(se),W(he)}function kn(e){e.memoizedState!==null&&X($e,e);var t=re.current,a=gg(t,e.type);t!==a&&(X(se,e),X(re,a))}function Rr(e){se.current===e&&(W(re),W(se)),$e.current===e&&(W($e),ws._currentValue=ne)}var Xe=Object.prototype.hasOwnProperty,It=n.unstable_scheduleCallback,xn=n.unstable_cancelCallback,Mi=n.unstable_shouldYield,Di=n.unstable_requestPaint,bt=n.unstable_now,Ga=n.unstable_getCurrentPriorityLevel,la=n.unstable_ImmediatePriority,Bi=n.unstable_UserBlockingPriority,oa=n.unstable_NormalPriority,xu=n.unstable_LowPriority,qa=n.unstable_IdlePriority,ua=n.log,Cr=n.unstable_setDisableYieldValue,fn=null,Rt=null;function On(e){if(typeof ua=="function"&&Cr(e),Rt&&typeof Rt.setStrictMode=="function")try{Rt.setStrictMode(fn,e)}catch{}}var Ct=Math.clz32?Math.clz32:Fa,Li=Math.log,al=Math.LN2;function Fa(e){return e>>>=0,e===0?32:31-(Li(e)/al|0)|0}var er=256,Gt=4194304;function qt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Nr(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var o=0,f=e.suspendedLanes,p=e.pingedLanes;e=e.warmLanes;var v=l&134217727;return v!==0?(l=v&~f,l!==0?o=qt(l):(p&=v,p!==0?o=qt(p):a||(a=v&~e,a!==0&&(o=qt(a))))):(v=l&~f,v!==0?o=qt(v):p!==0?o=qt(p):a||(a=l&~e,a!==0&&(o=qt(a)))),o===0?0:t!==0&&t!==o&&(t&f)===0&&(f=o&-o,a=t&-t,f>=a||f===32&&(a&4194048)!==0)?t:o}function tr(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ou(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ca(){var e=er;return er<<=1,(er&4194048)===0&&(er=256),e}function fa(){var e=Gt;return Gt<<=1,(Gt&62914560)===0&&(Gt=4194304),e}function Ui(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function wn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function wu(e,t,a,l,o,f){var p=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var v=e.entanglements,w=e.expirationTimes,U=e.hiddenUpdates;for(a=p&~a;0<a;){var F=31-Ct(a),Y=1<<F;v[F]=0,w[F]=-1;var j=U[F];if(j!==null)for(U[F]=null,F=0;F<j.length;F++){var z=j[F];z!==null&&(z.lane&=-536870913)}a&=~Y}l!==0&&il(e,l,0),f!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=f&~(p&~t))}function il(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-Ct(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&4194090}function nt(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-Ct(a),o=1<<l;o&t|e[l]&t&&(e[l]|=t),a&=~o}}function In(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ji(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Hi(){var e=$.p;return e!==0?e:(e=window.event,e===void 0?32:Ug(e.type))}function zi(e,t){var a=$.p;try{return $.p=e,t()}finally{$.p=a}}var Rn=Math.random().toString(36).slice(2),ft="__reactFiber$"+Rn,Nt="__reactProps$"+Rn,Et="__reactContainer$"+Rn,Gn="__reactEvents$"+Rn,sl="__reactListeners$"+Rn,ll="__reactHandles$"+Rn,Pa="__reactResources$"+Rn,Mr="__reactMarker$"+Rn;function Kt(e){delete e[ft],delete e[Nt],delete e[Gn],delete e[sl],delete e[ll]}function nr(e){var t=e[ft];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Et]||a[ft]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=bg(e);e!==null;){if(a=e[ft])return a;e=bg(e)}return t}e=a,a=e.parentNode}return null}function rr(e){if(e=e[ft]||e[Et]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Dr(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function ar(e){var t=e[Pa];return t||(t=e[Pa]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function it(e){e[Mr]=!0}var ue=new Set,N={};function Q(e,t){te(e,t),te(e+"Capture",t)}function te(e,t){for(N[e]=t,e=0;e<t.length;e++)ue.add(t[e])}var Fe=RegExp("^[: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]*$"),ht={},We={};function Mt(e){return Xe.call(We,e)?!0:Xe.call(ht,e)?!1:Fe.test(e)?We[e]=!0:(ht[e]=!0,!1)}function Ft(e,t,a){if(Mt(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function qn(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function $t(e,t,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+l)}}var st,ki;function ir(e){if(st===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);st=t&&t[1]||"",ki=-1<a.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+st+e+ki}var Ru=!1;function Cu(e,t){if(!e||Ru)return"";Ru=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(z){var j=z}Reflect.construct(e,[],Y)}else{try{Y.call()}catch(z){j=z}e.call(Y.prototype)}}else{try{throw Error()}catch(z){j=z}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(z){if(z&&j&&typeof z.stack=="string")return[z.stack,j.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=l.DetermineComponentFrameRoot(),p=f[0],v=f[1];if(p&&v){var w=p.split(`
|
|
44
|
+
`),U=v.split(`
|
|
45
|
+
`);for(o=l=0;l<w.length&&!w[l].includes("DetermineComponentFrameRoot");)l++;for(;o<U.length&&!U[o].includes("DetermineComponentFrameRoot");)o++;if(l===w.length||o===U.length)for(l=w.length-1,o=U.length-1;1<=l&&0<=o&&w[l]!==U[o];)o--;for(;1<=l&&0<=o;l--,o--)if(w[l]!==U[o]){if(l!==1||o!==1)do if(l--,o--,0>o||w[l]!==U[o]){var F=`
|
|
46
|
+
`+w[l].replace(" at new "," at ");return e.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",e.displayName)),F}while(1<=l&&0<=o);break}}}finally{Ru=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?ir(a):""}function K1(e){switch(e.tag){case 26:case 27:case 5:return ir(e.type);case 16:return ir("Lazy");case 13:return ir("Suspense");case 19:return ir("SuspenseList");case 0:case 15:return Cu(e.type,!1);case 11:return Cu(e.type.render,!1);case 1:return Cu(e.type,!0);case 31:return ir("Activity");default:return""}}function um(e){try{var t="";do t+=K1(e),e=e.return;while(e);return t}catch(a){return`
|
|
47
|
+
Error generating stack: `+a.message+`
|
|
48
|
+
`+a.stack}}function hn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function cm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $1(e){var t=cm(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),l=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var o=a.get,f=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(p){l=""+p,f.call(this,p)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(p){l=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ol(e){e._valueTracker||(e._valueTracker=$1(e))}function fm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l="";return e&&(l=cm(e)?e.checked?"true":"false":e.value),e=l,e!==a?(t.setValue(e),!0):!1}function ul(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var W1=/[\n"\\]/g;function dn(e){return e.replace(W1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Nu(e,t,a,l,o,f,p,v){e.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.type=p:e.removeAttribute("type"),t!=null?p==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+hn(t)):e.value!==""+hn(t)&&(e.value=""+hn(t)):p!=="submit"&&p!=="reset"||e.removeAttribute("value"),t!=null?Mu(e,p,hn(t)):a!=null?Mu(e,p,hn(a)):l!=null&&e.removeAttribute("value"),o==null&&f!=null&&(e.defaultChecked=!!f),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.name=""+hn(v):e.removeAttribute("name")}function hm(e,t,a,l,o,f,p,v){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.type=f),t!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||t!=null))return;a=a!=null?""+hn(a):"",t=t!=null?""+hn(t):a,v||t===e.value||(e.value=t),e.defaultValue=t}l=l??o,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=v?e.checked:!!l,e.defaultChecked=!!l,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.name=p)}function Mu(e,t,a){t==="number"&&ul(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Va(e,t,a,l){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&l&&(e[a].defaultSelected=!0)}else{for(a=""+hn(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,l&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function dm(e,t,a){if(t!=null&&(t=""+hn(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+hn(a):""}function mm(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(s(92));if(be(l)){if(1<l.length)throw Error(s(93));l=l[0]}a=l}a==null&&(a=""),t=a}a=hn(t),e.defaultValue=a,l=e.textContent,l===a&&l!==""&&l!==null&&(e.value=l)}function Ya(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var J1=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function pm(e,t,a){var l=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,a):typeof a!="number"||a===0||J1.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function gm(e,t,a){if(t!=null&&typeof t!="object")throw Error(s(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var o in t)l=t[o],t.hasOwnProperty(o)&&a[o]!==l&&pm(e,o,l)}else for(var f in t)t.hasOwnProperty(f)&&pm(e,f,t[f])}function Du(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eE=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tE=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function cl(e){return tE.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Bu=null;function Lu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Za=null,Xa=null;function ym(e){var t=rr(e);if(t&&(e=t.stateNode)){var a=e[Nt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Nu(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+dn(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var l=a[t];if(l!==e&&l.form===e.form){var o=l[Nt]||null;if(!o)throw Error(s(90));Nu(l,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)l=a[t],l.form===e.form&&fm(l)}break e;case"textarea":dm(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Va(e,!!a.multiple,t,!1)}}}var Uu=!1;function _m(e,t,a){if(Uu)return e(t,a);Uu=!0;try{var l=e(t);return l}finally{if(Uu=!1,(Za!==null||Xa!==null)&&(Ql(),Za&&(t=Za,e=Xa,Xa=Za=null,ym(t),e)))for(t=0;t<e.length;t++)ym(e[t])}}function Ii(e,t){var a=e.stateNode;if(a===null)return null;var l=a[Nt]||null;if(l===null)return null;a=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(s(231,t,typeof a));return a}var sr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ju=!1;if(sr)try{var Gi={};Object.defineProperty(Gi,"passive",{get:function(){ju=!0}}),window.addEventListener("test",Gi,Gi),window.removeEventListener("test",Gi,Gi)}catch{ju=!1}var Br=null,Hu=null,fl=null;function vm(){if(fl)return fl;var e,t=Hu,a=t.length,l,o="value"in Br?Br.value:Br.textContent,f=o.length;for(e=0;e<a&&t[e]===o[e];e++);var p=a-e;for(l=1;l<=p&&t[a-l]===o[f-l];l++);return fl=o.slice(e,1<l?1-l:void 0)}function hl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function dl(){return!0}function bm(){return!1}function Pt(e){function t(a,l,o,f,p){this._reactName=a,this._targetInst=o,this.type=l,this.nativeEvent=f,this.target=p,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(a=e[v],this[v]=a?a(f):f[v]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?dl:bm,this.isPropagationStopped=bm,this}return y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=dl)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=dl)},persist:function(){},isPersistent:dl}),t}var ha={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ml=Pt(ha),qi=y({},ha,{view:0,detail:0}),nE=Pt(qi),zu,ku,Fi,pl=y({},qi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Fi&&(Fi&&e.type==="mousemove"?(zu=e.screenX-Fi.screenX,ku=e.screenY-Fi.screenY):ku=zu=0,Fi=e),zu)},movementY:function(e){return"movementY"in e?e.movementY:ku}}),Em=Pt(pl),rE=y({},pl,{dataTransfer:0}),aE=Pt(rE),iE=y({},qi,{relatedTarget:0}),Iu=Pt(iE),sE=y({},ha,{animationName:0,elapsedTime:0,pseudoElement:0}),lE=Pt(sE),oE=y({},ha,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),uE=Pt(oE),cE=y({},ha,{data:0}),Sm=Pt(cE),fE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hE={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"},dE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mE(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=dE[e])?!!t[e]:!1}function Gu(){return mE}var pE=y({},qi,{key:function(e){if(e.key){var t=fE[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=hl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?hE[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gu,charCode:function(e){return e.type==="keypress"?hl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?hl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),gE=Pt(pE),yE=y({},pl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Tm=Pt(yE),_E=y({},qi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gu}),vE=Pt(_E),bE=y({},ha,{propertyName:0,elapsedTime:0,pseudoElement:0}),EE=Pt(bE),SE=y({},pl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),TE=Pt(SE),AE=y({},ha,{newState:0,oldState:0}),xE=Pt(AE),OE=[9,13,27,32],qu=sr&&"CompositionEvent"in window,Pi=null;sr&&"documentMode"in document&&(Pi=document.documentMode);var wE=sr&&"TextEvent"in window&&!Pi,Am=sr&&(!qu||Pi&&8<Pi&&11>=Pi),xm=" ",Om=!1;function wm(e,t){switch(e){case"keyup":return OE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qa=!1;function RE(e,t){switch(e){case"compositionend":return Rm(t);case"keypress":return t.which!==32?null:(Om=!0,xm);case"textInput":return e=t.data,e===xm&&Om?null:e;default:return null}}function CE(e,t){if(Qa)return e==="compositionend"||!qu&&wm(e,t)?(e=vm(),fl=Hu=Br=null,Qa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Am&&t.locale!=="ko"?null:t.data;default:return null}}var NE={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 Cm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!NE[e.type]:t==="textarea"}function Nm(e,t,a,l){Za?Xa?Xa.push(l):Xa=[l]:Za=l,t=to(t,"onChange"),0<t.length&&(a=new ml("onChange","change",null,a,l),e.push({event:a,listeners:t}))}var Vi=null,Yi=null;function ME(e){cg(e,0)}function gl(e){var t=Dr(e);if(fm(t))return e}function Mm(e,t){if(e==="change")return t}var Dm=!1;if(sr){var Fu;if(sr){var Pu="oninput"in document;if(!Pu){var Bm=document.createElement("div");Bm.setAttribute("oninput","return;"),Pu=typeof Bm.oninput=="function"}Fu=Pu}else Fu=!1;Dm=Fu&&(!document.documentMode||9<document.documentMode)}function Lm(){Vi&&(Vi.detachEvent("onpropertychange",Um),Yi=Vi=null)}function Um(e){if(e.propertyName==="value"&&gl(Yi)){var t=[];Nm(t,Yi,e,Lu(e)),_m(ME,t)}}function DE(e,t,a){e==="focusin"?(Lm(),Vi=t,Yi=a,Vi.attachEvent("onpropertychange",Um)):e==="focusout"&&Lm()}function BE(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gl(Yi)}function LE(e,t){if(e==="click")return gl(t)}function UE(e,t){if(e==="input"||e==="change")return gl(t)}function jE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Wt=typeof Object.is=="function"?Object.is:jE;function Zi(e,t){if(Wt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var o=a[l];if(!Xe.call(t,o)||!Wt(e[o],t[o]))return!1}return!0}function jm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Hm(e,t){var a=jm(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e<=t&&l>=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=jm(a)}}function zm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function km(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ul(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=ul(e.document)}return t}function Vu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var HE=sr&&"documentMode"in document&&11>=document.documentMode,Ka=null,Yu=null,Xi=null,Zu=!1;function Im(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Zu||Ka==null||Ka!==ul(l)||(l=Ka,"selectionStart"in l&&Vu(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Xi&&Zi(Xi,l)||(Xi=l,l=to(Yu,"onSelect"),0<l.length&&(t=new ml("onSelect","select",null,t,a),e.push({event:t,listeners:l}),t.target=Ka)))}function da(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var $a={animationend:da("Animation","AnimationEnd"),animationiteration:da("Animation","AnimationIteration"),animationstart:da("Animation","AnimationStart"),transitionrun:da("Transition","TransitionRun"),transitionstart:da("Transition","TransitionStart"),transitioncancel:da("Transition","TransitionCancel"),transitionend:da("Transition","TransitionEnd")},Xu={},Gm={};sr&&(Gm=document.createElement("div").style,"AnimationEvent"in window||(delete $a.animationend.animation,delete $a.animationiteration.animation,delete $a.animationstart.animation),"TransitionEvent"in window||delete $a.transitionend.transition);function ma(e){if(Xu[e])return Xu[e];if(!$a[e])return e;var t=$a[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Gm)return Xu[e]=t[a];return e}var qm=ma("animationend"),Fm=ma("animationiteration"),Pm=ma("animationstart"),zE=ma("transitionrun"),kE=ma("transitionstart"),IE=ma("transitioncancel"),Vm=ma("transitionend"),Ym=new Map,Qu="abort auxClick beforeToggle 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(" ");Qu.push("scrollEnd");function Cn(e,t){Ym.set(e,t),Q(t,[e])}var Zm=new WeakMap;function mn(e,t){if(typeof e=="object"&&e!==null){var a=Zm.get(e);return a!==void 0?a:(t={value:e,source:t,stack:um(t)},Zm.set(e,t),t)}return{value:e,source:t,stack:um(t)}}var pn=[],Wa=0,Ku=0;function yl(){for(var e=Wa,t=Ku=Wa=0;t<e;){var a=pn[t];pn[t++]=null;var l=pn[t];pn[t++]=null;var o=pn[t];pn[t++]=null;var f=pn[t];if(pn[t++]=null,l!==null&&o!==null){var p=l.pending;p===null?o.next=o:(o.next=p.next,p.next=o),l.pending=o}f!==0&&Xm(a,o,f)}}function _l(e,t,a,l){pn[Wa++]=e,pn[Wa++]=t,pn[Wa++]=a,pn[Wa++]=l,Ku|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function $u(e,t,a,l){return _l(e,t,a,l),vl(e)}function Ja(e,t){return _l(e,null,null,t),vl(e)}function Xm(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a);for(var o=!1,f=e.return;f!==null;)f.childLanes|=a,l=f.alternate,l!==null&&(l.childLanes|=a),f.tag===22&&(e=f.stateNode,e===null||e._visibility&1||(o=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,o&&t!==null&&(o=31-Ct(a),e=f.hiddenUpdates,l=e[o],l===null?e[o]=[t]:l.push(t),t.lane=a|536870912),f):null}function vl(e){if(50<vs)throw vs=0,rf=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ei={};function GE(e,t,a,l){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jt(e,t,a,l){return new GE(e,t,a,l)}function Wu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lr(e,t){var a=e.alternate;return a===null?(a=Jt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Qm(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function bl(e,t,a,l,o,f){var p=0;if(l=e,typeof e=="function")Wu(e)&&(p=1);else if(typeof e=="string")p=F2(e,a,re.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case de:return e=Jt(31,a,t,o),e.elementType=de,e.lanes=f,e;case M:return pa(a.children,o,f,t);case V:p=8,o|=24;break;case I:return e=Jt(12,a,t,o|2),e.elementType=I,e.lanes=f,e;case E:return e=Jt(13,a,t,o),e.elementType=E,e.lanes=f,e;case k:return e=Jt(19,a,t,o),e.elementType=k,e.lanes=f,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case S:case b:p=10;break e;case x:p=9;break e;case A:p=11;break e;case Z:p=14;break e;case ee:p=16,l=null;break e}p=29,a=Error(s(130,e===null?"null":typeof e,"")),l=null}return t=Jt(p,a,t,o),t.elementType=e,t.type=l,t.lanes=f,t}function pa(e,t,a,l){return e=Jt(7,e,l,t),e.lanes=a,e}function Ju(e,t,a){return e=Jt(6,e,null,t),e.lanes=a,e}function ec(e,t,a){return t=Jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ti=[],ni=0,El=null,Sl=0,gn=[],yn=0,ga=null,or=1,ur="";function ya(e,t){ti[ni++]=Sl,ti[ni++]=El,El=e,Sl=t}function Km(e,t,a){gn[yn++]=or,gn[yn++]=ur,gn[yn++]=ga,ga=e;var l=or;e=ur;var o=32-Ct(l)-1;l&=~(1<<o),a+=1;var f=32-Ct(t)+o;if(30<f){var p=o-o%5;f=(l&(1<<p)-1).toString(32),l>>=p,o-=p,or=1<<32-Ct(t)+o|a<<o|l,ur=f+e}else or=1<<f|a<<o|l,ur=e}function tc(e){e.return!==null&&(ya(e,1),Km(e,1,0))}function nc(e){for(;e===El;)El=ti[--ni],ti[ni]=null,Sl=ti[--ni],ti[ni]=null;for(;e===ga;)ga=gn[--yn],gn[yn]=null,ur=gn[--yn],gn[yn]=null,or=gn[--yn],gn[yn]=null}var Lt=null,Je=null,Be=!1,_a=null,Fn=!1,rc=Error(s(519));function va(e){var t=Error(s(418,""));throw $i(mn(t,e)),rc}function $m(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[ft]=e,t[Nt]=l,a){case"dialog":xe("cancel",t),xe("close",t);break;case"iframe":case"object":case"embed":xe("load",t);break;case"video":case"audio":for(a=0;a<Es.length;a++)xe(Es[a],t);break;case"source":xe("error",t);break;case"img":case"image":case"link":xe("error",t),xe("load",t);break;case"details":xe("toggle",t);break;case"input":xe("invalid",t),hm(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),ol(t);break;case"select":xe("invalid",t);break;case"textarea":xe("invalid",t),mm(t,l.value,l.defaultValue,l.children),ol(t)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||l.suppressHydrationWarning===!0||mg(t.textContent,a)?(l.popover!=null&&(xe("beforetoggle",t),xe("toggle",t)),l.onScroll!=null&&xe("scroll",t),l.onScrollEnd!=null&&xe("scrollend",t),l.onClick!=null&&(t.onclick=no),t=!0):t=!1,t||va(e)}function Wm(e){for(Lt=e.return;Lt;)switch(Lt.tag){case 5:case 13:Fn=!1;return;case 27:case 3:Fn=!0;return;default:Lt=Lt.return}}function Qi(e){if(e!==Lt)return!1;if(!Be)return Wm(e),Be=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||bf(e.type,e.memoizedProps)),a=!a),a&&Je&&va(e),Wm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(a=e.data,a==="/$"){if(t===0){Je=Mn(e.nextSibling);break e}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++;e=e.nextSibling}Je=null}}else t===27?(t=Je,Qr(e.type)?(e=Af,Af=null,Je=e):Je=t):Je=Lt?Mn(e.stateNode.nextSibling):null;return!0}function Ki(){Je=Lt=null,Be=!1}function Jm(){var e=_a;return e!==null&&(Zt===null?Zt=e:Zt.push.apply(Zt,e),_a=null),e}function $i(e){_a===null?_a=[e]:_a.push(e)}var ac=q(null),ba=null,cr=null;function Lr(e,t,a){X(ac,t._currentValue),t._currentValue=a}function fr(e){e._currentValue=ac.current,W(ac)}function ic(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===a)break;e=e.return}}function sc(e,t,a,l){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var f=o.dependencies;if(f!==null){var p=o.child;f=f.firstContext;e:for(;f!==null;){var v=f;f=o;for(var w=0;w<t.length;w++)if(v.context===t[w]){f.lanes|=a,v=f.alternate,v!==null&&(v.lanes|=a),ic(f.return,a,e),l||(p=null);break e}f=v.next}}else if(o.tag===18){if(p=o.return,p===null)throw Error(s(341));p.lanes|=a,f=p.alternate,f!==null&&(f.lanes|=a),ic(p,a,e),p=null}else p=o.child;if(p!==null)p.return=o;else for(p=o;p!==null;){if(p===e){p=null;break}if(o=p.sibling,o!==null){o.return=p.return,p=o;break}p=p.return}o=p}}function Wi(e,t,a,l){e=null;for(var o=t,f=!1;o!==null;){if(!f){if((o.flags&524288)!==0)f=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var p=o.alternate;if(p===null)throw Error(s(387));if(p=p.memoizedProps,p!==null){var v=o.type;Wt(o.pendingProps.value,p.value)||(e!==null?e.push(v):e=[v])}}else if(o===$e.current){if(p=o.alternate,p===null)throw Error(s(387));p.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(ws):e=[ws])}o=o.return}e!==null&&sc(t,e,a,l),t.flags|=262144}function Tl(e){for(e=e.firstContext;e!==null;){if(!Wt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ea(e){ba=e,cr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Dt(e){return ep(ba,e)}function Al(e,t){return ba===null&&Ea(e),ep(e,t)}function ep(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},cr===null){if(e===null)throw Error(s(308));cr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else cr=cr.next=t;return a}var qE=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},FE=n.unstable_scheduleCallback,PE=n.unstable_NormalPriority,dt={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function lc(){return{controller:new qE,data:new Map,refCount:0}}function Ji(e){e.refCount--,e.refCount===0&&FE(PE,function(){e.controller.abort()})}var es=null,oc=0,ri=0,ai=null;function VE(e,t){if(es===null){var a=es=[];oc=0,ri=ff(),ai={status:"pending",value:void 0,then:function(l){a.push(l)}}}return oc++,t.then(tp,tp),t}function tp(){if(--oc===0&&es!==null){ai!==null&&(ai.status="fulfilled");var e=es;es=null,ri=0,ai=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function YE(e,t){var a=[],l={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(l.status="rejected",l.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),l}var np=G.S;G.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&VE(e,t),np!==null&&np(e,t)};var Sa=q(null);function uc(){var e=Sa.current;return e!==null?e:Pe.pooledCache}function xl(e,t){t===null?X(Sa,Sa.current):X(Sa,t.pool)}function rp(){var e=uc();return e===null?null:{parent:dt._currentValue,pool:e}}var ts=Error(s(460)),ap=Error(s(474)),Ol=Error(s(542)),cc={then:function(){}};function ip(e){return e=e.status,e==="fulfilled"||e==="rejected"}function wl(){}function sp(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(wl,wl),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,op(e),e;default:if(typeof t.status=="string")t.then(wl,wl);else{if(e=Pe,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=l}},function(l){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,op(e),e}throw ns=t,ts}}var ns=null;function lp(){if(ns===null)throw Error(s(459));var e=ns;return ns=null,e}function op(e){if(e===ts||e===Ol)throw Error(s(483))}var Ur=!1;function fc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function hc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function jr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Hr(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(je&2)!==0){var o=l.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),l.pending=t,t=vl(e),Xm(e,null,a),t}return _l(e,l,t,a),vl(e)}function rs(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,nt(e,a)}}function dc(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var o=null,f=null;if(a=a.firstBaseUpdate,a!==null){do{var p={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};f===null?o=f=p:f=f.next=p,a=a.next}while(a!==null);f===null?o=f=t:f=f.next=t}else o=f=t;a={baseState:l.baseState,firstBaseUpdate:o,lastBaseUpdate:f,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var mc=!1;function as(){if(mc){var e=ai;if(e!==null)throw e}}function is(e,t,a,l){mc=!1;var o=e.updateQueue;Ur=!1;var f=o.firstBaseUpdate,p=o.lastBaseUpdate,v=o.shared.pending;if(v!==null){o.shared.pending=null;var w=v,U=w.next;w.next=null,p===null?f=U:p.next=U,p=w;var F=e.alternate;F!==null&&(F=F.updateQueue,v=F.lastBaseUpdate,v!==p&&(v===null?F.firstBaseUpdate=U:v.next=U,F.lastBaseUpdate=w))}if(f!==null){var Y=o.baseState;p=0,F=U=w=null,v=f;do{var j=v.lane&-536870913,z=j!==v.lane;if(z?(Ne&j)===j:(l&j)===j){j!==0&&j===ri&&(mc=!0),F!==null&&(F=F.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});e:{var ge=e,me=v;j=t;var Ge=a;switch(me.tag){case 1:if(ge=me.payload,typeof ge=="function"){Y=ge.call(Ge,Y,j);break e}Y=ge;break e;case 3:ge.flags=ge.flags&-65537|128;case 0:if(ge=me.payload,j=typeof ge=="function"?ge.call(Ge,Y,j):ge,j==null)break e;Y=y({},Y,j);break e;case 2:Ur=!0}}j=v.callback,j!==null&&(e.flags|=64,z&&(e.flags|=8192),z=o.callbacks,z===null?o.callbacks=[j]:z.push(j))}else z={lane:j,tag:v.tag,payload:v.payload,callback:v.callback,next:null},F===null?(U=F=z,w=Y):F=F.next=z,p|=j;if(v=v.next,v===null){if(v=o.shared.pending,v===null)break;z=v,v=z.next,z.next=null,o.lastBaseUpdate=z,o.shared.pending=null}}while(!0);F===null&&(w=Y),o.baseState=w,o.firstBaseUpdate=U,o.lastBaseUpdate=F,f===null&&(o.shared.lanes=0),Vr|=p,e.lanes=p,e.memoizedState=Y}}function up(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function cp(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)up(a[e],t)}var ii=q(null),Rl=q(0);function fp(e,t){e=_r,X(Rl,e),X(ii,t),_r=e|t.baseLanes}function pc(){X(Rl,_r),X(ii,ii.current)}function gc(){_r=Rl.current,W(ii),W(Rl)}var zr=0,Ee=null,ke=null,lt=null,Cl=!1,si=!1,Ta=!1,Nl=0,ss=0,li=null,ZE=0;function rt(){throw Error(s(321))}function yc(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Wt(e[a],t[a]))return!1;return!0}function _c(e,t,a,l,o,f){return zr=f,Ee=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,G.H=e===null||e.memoizedState===null?Xp:Qp,Ta=!1,f=a(l,o),Ta=!1,si&&(f=dp(t,a,l,o)),hp(e),f}function hp(e){G.H=jl;var t=ke!==null&&ke.next!==null;if(zr=0,lt=ke=Ee=null,Cl=!1,ss=0,li=null,t)throw Error(s(300));e===null||pt||(e=e.dependencies,e!==null&&Tl(e)&&(pt=!0))}function dp(e,t,a,l){Ee=e;var o=0;do{if(si&&(li=null),ss=0,si=!1,25<=o)throw Error(s(301));if(o+=1,lt=ke=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}G.H=e2,f=t(a,l)}while(si);return f}function XE(){var e=G.H,t=e.useState()[0];return t=typeof t.then=="function"?ls(t):t,e=e.useState()[0],(ke!==null?ke.memoizedState:null)!==e&&(Ee.flags|=1024),t}function vc(){var e=Nl!==0;return Nl=0,e}function bc(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Ec(e){if(Cl){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Cl=!1}zr=0,lt=ke=Ee=null,si=!1,ss=Nl=0,li=null}function Vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?Ee.memoizedState=lt=e:lt=lt.next=e,lt}function ot(){if(ke===null){var e=Ee.alternate;e=e!==null?e.memoizedState:null}else e=ke.next;var t=lt===null?Ee.memoizedState:lt.next;if(t!==null)lt=t,ke=e;else{if(e===null)throw Ee.alternate===null?Error(s(467)):Error(s(310));ke=e,e={memoizedState:ke.memoizedState,baseState:ke.baseState,baseQueue:ke.baseQueue,queue:ke.queue,next:null},lt===null?Ee.memoizedState=lt=e:lt=lt.next=e}return lt}function Sc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ls(e){var t=ss;return ss+=1,li===null&&(li=[]),e=sp(li,e,t),t=Ee,(lt===null?t.memoizedState:lt.next)===null&&(t=t.alternate,G.H=t===null||t.memoizedState===null?Xp:Qp),e}function Ml(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ls(e);if(e.$$typeof===b)return Dt(e)}throw Error(s(438,String(e)))}function Tc(e){var t=null,a=Ee.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var l=Ee.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Sc(),Ee.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l<e;l++)a[l]=ie;return t.index++,a}function hr(e,t){return typeof t=="function"?t(e):t}function Dl(e){var t=ot();return Ac(t,ke,e)}function Ac(e,t,a){var l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=a;var o=e.baseQueue,f=l.pending;if(f!==null){if(o!==null){var p=o.next;o.next=f.next,f.next=p}t.baseQueue=o=f,l.pending=null}if(f=e.baseState,o===null)e.memoizedState=f;else{t=o.next;var v=p=null,w=null,U=t,F=!1;do{var Y=U.lane&-536870913;if(Y!==U.lane?(Ne&Y)===Y:(zr&Y)===Y){var j=U.revertLane;if(j===0)w!==null&&(w=w.next={lane:0,revertLane:0,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),Y===ri&&(F=!0);else if((zr&j)===j){U=U.next,j===ri&&(F=!0);continue}else Y={lane:0,revertLane:U.revertLane,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},w===null?(v=w=Y,p=f):w=w.next=Y,Ee.lanes|=j,Vr|=j;Y=U.action,Ta&&a(f,Y),f=U.hasEagerState?U.eagerState:a(f,Y)}else j={lane:Y,revertLane:U.revertLane,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},w===null?(v=w=j,p=f):w=w.next=j,Ee.lanes|=Y,Vr|=Y;U=U.next}while(U!==null&&U!==t);if(w===null?p=f:w.next=v,!Wt(f,e.memoizedState)&&(pt=!0,F&&(a=ai,a!==null)))throw a;e.memoizedState=f,e.baseState=p,e.baseQueue=w,l.lastRenderedState=f}return o===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function xc(e){var t=ot(),a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=e;var l=a.dispatch,o=a.pending,f=t.memoizedState;if(o!==null){a.pending=null;var p=o=o.next;do f=e(f,p.action),p=p.next;while(p!==o);Wt(f,t.memoizedState)||(pt=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),a.lastRenderedState=f}return[f,l]}function mp(e,t,a){var l=Ee,o=ot(),f=Be;if(f){if(a===void 0)throw Error(s(407));a=a()}else a=t();var p=!Wt((ke||o).memoizedState,a);p&&(o.memoizedState=a,pt=!0),o=o.queue;var v=yp.bind(null,l,o,e);if(os(2048,8,v,[e]),o.getSnapshot!==t||p||lt!==null&<.memoizedState.tag&1){if(l.flags|=2048,oi(9,Bl(),gp.bind(null,l,o,a,t),null),Pe===null)throw Error(s(349));f||(zr&124)!==0||pp(l,t,a)}return a}function pp(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ee.updateQueue,t===null?(t=Sc(),Ee.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function gp(e,t,a,l){t.value=a,t.getSnapshot=l,_p(t)&&vp(e)}function yp(e,t,a){return a(function(){_p(t)&&vp(e)})}function _p(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Wt(e,a)}catch{return!0}}function vp(e){var t=Ja(e,2);t!==null&&an(t,e,2)}function Oc(e){var t=Vt();if(typeof e=="function"){var a=e;if(e=a(),Ta){On(!0);try{a()}finally{On(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:hr,lastRenderedState:e},t}function bp(e,t,a,l){return e.baseState=a,Ac(e,ke,typeof l=="function"?l:hr)}function QE(e,t,a,l,o){if(Ul(e))throw Error(s(485));if(e=t.action,e!==null){var f={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){f.listeners.push(p)}};G.T!==null?a(!0):f.isTransition=!1,l(f),a=t.pending,a===null?(f.next=t.pending=f,Ep(t,f)):(f.next=a.next,t.pending=a.next=f)}}function Ep(e,t){var a=t.action,l=t.payload,o=e.state;if(t.isTransition){var f=G.T,p={};G.T=p;try{var v=a(o,l),w=G.S;w!==null&&w(p,v),Sp(e,t,v)}catch(U){wc(e,t,U)}finally{G.T=f}}else try{f=a(o,l),Sp(e,t,f)}catch(U){wc(e,t,U)}}function Sp(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){Tp(e,t,l)},function(l){return wc(e,t,l)}):Tp(e,t,a)}function Tp(e,t,a){t.status="fulfilled",t.value=a,Ap(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Ep(e,a)))}function wc(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=a,Ap(t),t=t.next;while(t!==l)}e.action=null}function Ap(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function xp(e,t){return t}function Op(e,t){if(Be){var a=Pe.formState;if(a!==null){e:{var l=Ee;if(Be){if(Je){t:{for(var o=Je,f=Fn;o.nodeType!==8;){if(!f){o=null;break t}if(o=Mn(o.nextSibling),o===null){o=null;break t}}f=o.data,o=f==="F!"||f==="F"?o:null}if(o){Je=Mn(o.nextSibling),l=o.data==="F!";break e}}va(l)}l=!1}l&&(t=a[0])}}return a=Vt(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xp,lastRenderedState:t},a.queue=l,a=Vp.bind(null,Ee,l),l.dispatch=a,l=Oc(!1),f=Dc.bind(null,Ee,!1,l.queue),l=Vt(),o={state:t,dispatch:null,action:e,pending:null},l.queue=o,a=QE.bind(null,Ee,o,f,a),o.dispatch=a,l.memoizedState=e,[t,a,!1]}function wp(e){var t=ot();return Rp(t,ke,e)}function Rp(e,t,a){if(t=Ac(e,t,xp)[0],e=Dl(hr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=ls(t)}catch(p){throw p===ts?Ol:p}else l=t;t=ot();var o=t.queue,f=o.dispatch;return a!==t.memoizedState&&(Ee.flags|=2048,oi(9,Bl(),KE.bind(null,o,a),null)),[l,f,e]}function KE(e,t){e.action=t}function Cp(e){var t=ot(),a=ke;if(a!==null)return Rp(t,a,e);ot(),t=t.memoizedState,a=ot();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function oi(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=Ee.updateQueue,t===null&&(t=Sc(),Ee.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function Bl(){return{destroy:void 0,resource:void 0}}function Np(){return ot().memoizedState}function Ll(e,t,a,l){var o=Vt();l=l===void 0?null:l,Ee.flags|=e,o.memoizedState=oi(1|t,Bl(),a,l)}function os(e,t,a,l){var o=ot();l=l===void 0?null:l;var f=o.memoizedState.inst;ke!==null&&l!==null&&yc(l,ke.memoizedState.deps)?o.memoizedState=oi(t,f,a,l):(Ee.flags|=e,o.memoizedState=oi(1|t,f,a,l))}function Mp(e,t){Ll(8390656,8,e,t)}function Dp(e,t){os(2048,8,e,t)}function Bp(e,t){return os(4,2,e,t)}function Lp(e,t){return os(4,4,e,t)}function Up(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function jp(e,t,a){a=a!=null?a.concat([e]):null,os(4,4,Up.bind(null,t,e),a)}function Rc(){}function Hp(e,t){var a=ot();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&&yc(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function zp(e,t){var a=ot();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&&yc(t,l[1]))return l[0];if(l=e(),Ta){On(!0);try{e()}finally{On(!1)}}return a.memoizedState=[l,t],l}function Cc(e,t,a){return a===void 0||(zr&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=G0(),Ee.lanes|=e,Vr|=e,a)}function kp(e,t,a,l){return Wt(a,t)?a:ii.current!==null?(e=Cc(e,a,l),Wt(e,t)||(pt=!0),e):(zr&42)===0?(pt=!0,e.memoizedState=a):(e=G0(),Ee.lanes|=e,Vr|=e,t)}function Ip(e,t,a,l,o){var f=$.p;$.p=f!==0&&8>f?f:8;var p=G.T,v={};G.T=v,Dc(e,!1,t,a);try{var w=o(),U=G.S;if(U!==null&&U(v,w),w!==null&&typeof w=="object"&&typeof w.then=="function"){var F=YE(w,l);us(e,t,F,rn(e))}else us(e,t,l,rn(e))}catch(Y){us(e,t,{then:function(){},status:"rejected",reason:Y},rn())}finally{$.p=f,G.T=p}}function $E(){}function Nc(e,t,a,l){if(e.tag!==5)throw Error(s(476));var o=Gp(e).queue;Ip(e,o,t,ne,a===null?$E:function(){return qp(e),a(l)})}function Gp(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hr,lastRenderedState:ne},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hr,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function qp(e){var t=Gp(e).next.queue;us(e,t,{},rn())}function Mc(){return Dt(ws)}function Fp(){return ot().memoizedState}function Pp(){return ot().memoizedState}function WE(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=rn();e=jr(a);var l=Hr(t,e,a);l!==null&&(an(l,t,a),rs(l,t,a)),t={cache:lc()},e.payload=t;return}t=t.return}}function JE(e,t,a){var l=rn();a={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},Ul(e)?Yp(t,a):(a=$u(e,t,a,l),a!==null&&(an(a,e,l),Zp(a,t,l)))}function Vp(e,t,a){var l=rn();us(e,t,a,l)}function us(e,t,a,l){var o={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ul(e))Yp(t,o);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null))try{var p=t.lastRenderedState,v=f(p,a);if(o.hasEagerState=!0,o.eagerState=v,Wt(v,p))return _l(e,t,o,0),Pe===null&&yl(),!1}catch{}finally{}if(a=$u(e,t,o,l),a!==null)return an(a,e,l),Zp(a,t,l),!0}return!1}function Dc(e,t,a,l){if(l={lane:2,revertLane:ff(),action:l,hasEagerState:!1,eagerState:null,next:null},Ul(e)){if(t)throw Error(s(479))}else t=$u(e,a,l,2),t!==null&&an(t,e,2)}function Ul(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function Yp(e,t){si=Cl=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Zp(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,nt(e,a)}}var jl={readContext:Dt,use:Ml,useCallback:rt,useContext:rt,useEffect:rt,useImperativeHandle:rt,useLayoutEffect:rt,useInsertionEffect:rt,useMemo:rt,useReducer:rt,useRef:rt,useState:rt,useDebugValue:rt,useDeferredValue:rt,useTransition:rt,useSyncExternalStore:rt,useId:rt,useHostTransitionStatus:rt,useFormState:rt,useActionState:rt,useOptimistic:rt,useMemoCache:rt,useCacheRefresh:rt},Xp={readContext:Dt,use:Ml,useCallback:function(e,t){return Vt().memoizedState=[e,t===void 0?null:t],e},useContext:Dt,useEffect:Mp,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Ll(4194308,4,Up.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Ll(4194308,4,e,t)},useInsertionEffect:function(e,t){Ll(4,2,e,t)},useMemo:function(e,t){var a=Vt();t=t===void 0?null:t;var l=e();if(Ta){On(!0);try{e()}finally{On(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=Vt();if(a!==void 0){var o=a(t);if(Ta){On(!0);try{a(t)}finally{On(!1)}}}else o=t;return l.memoizedState=l.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},l.queue=e,e=e.dispatch=JE.bind(null,Ee,e),[l.memoizedState,e]},useRef:function(e){var t=Vt();return e={current:e},t.memoizedState=e},useState:function(e){e=Oc(e);var t=e.queue,a=Vp.bind(null,Ee,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Rc,useDeferredValue:function(e,t){var a=Vt();return Cc(a,e,t)},useTransition:function(){var e=Oc(!1);return e=Ip.bind(null,Ee,e.queue,!0,!1),Vt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=Ee,o=Vt();if(Be){if(a===void 0)throw Error(s(407));a=a()}else{if(a=t(),Pe===null)throw Error(s(349));(Ne&124)!==0||pp(l,t,a)}o.memoizedState=a;var f={value:a,getSnapshot:t};return o.queue=f,Mp(yp.bind(null,l,f,e),[e]),l.flags|=2048,oi(9,Bl(),gp.bind(null,l,f,a,t),null),a},useId:function(){var e=Vt(),t=Pe.identifierPrefix;if(Be){var a=ur,l=or;a=(l&~(1<<32-Ct(l)-1)).toString(32)+a,t="«"+t+"R"+a,a=Nl++,0<a&&(t+="H"+a.toString(32)),t+="»"}else a=ZE++,t="«"+t+"r"+a.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Mc,useFormState:Op,useActionState:Op,useOptimistic:function(e){var t=Vt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Dc.bind(null,Ee,!0,a),a.dispatch=t,[e,t]},useMemoCache:Tc,useCacheRefresh:function(){return Vt().memoizedState=WE.bind(null,Ee)}},Qp={readContext:Dt,use:Ml,useCallback:Hp,useContext:Dt,useEffect:Dp,useImperativeHandle:jp,useInsertionEffect:Bp,useLayoutEffect:Lp,useMemo:zp,useReducer:Dl,useRef:Np,useState:function(){return Dl(hr)},useDebugValue:Rc,useDeferredValue:function(e,t){var a=ot();return kp(a,ke.memoizedState,e,t)},useTransition:function(){var e=Dl(hr)[0],t=ot().memoizedState;return[typeof e=="boolean"?e:ls(e),t]},useSyncExternalStore:mp,useId:Fp,useHostTransitionStatus:Mc,useFormState:wp,useActionState:wp,useOptimistic:function(e,t){var a=ot();return bp(a,ke,e,t)},useMemoCache:Tc,useCacheRefresh:Pp},e2={readContext:Dt,use:Ml,useCallback:Hp,useContext:Dt,useEffect:Dp,useImperativeHandle:jp,useInsertionEffect:Bp,useLayoutEffect:Lp,useMemo:zp,useReducer:xc,useRef:Np,useState:function(){return xc(hr)},useDebugValue:Rc,useDeferredValue:function(e,t){var a=ot();return ke===null?Cc(a,e,t):kp(a,ke.memoizedState,e,t)},useTransition:function(){var e=xc(hr)[0],t=ot().memoizedState;return[typeof e=="boolean"?e:ls(e),t]},useSyncExternalStore:mp,useId:Fp,useHostTransitionStatus:Mc,useFormState:Cp,useActionState:Cp,useOptimistic:function(e,t){var a=ot();return ke!==null?bp(a,ke,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Tc,useCacheRefresh:Pp},ui=null,cs=0;function Hl(e){var t=cs;return cs+=1,ui===null&&(ui=[]),sp(ui,e,t)}function fs(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function zl(e,t){throw t.$$typeof===T?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Kp(e){var t=e._init;return t(e._payload)}function $p(e){function t(D,C){if(e){var B=D.deletions;B===null?(D.deletions=[C],D.flags|=16):B.push(C)}}function a(D,C){if(!e)return null;for(;C!==null;)t(D,C),C=C.sibling;return null}function l(D){for(var C=new Map;D!==null;)D.key!==null?C.set(D.key,D):C.set(D.index,D),D=D.sibling;return C}function o(D,C){return D=lr(D,C),D.index=0,D.sibling=null,D}function f(D,C,B){return D.index=B,e?(B=D.alternate,B!==null?(B=B.index,B<C?(D.flags|=67108866,C):B):(D.flags|=67108866,C)):(D.flags|=1048576,C)}function p(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function v(D,C,B,P){return C===null||C.tag!==6?(C=Ju(B,D.mode,P),C.return=D,C):(C=o(C,B),C.return=D,C)}function w(D,C,B,P){var ae=B.type;return ae===M?F(D,C,B.props.children,P,B.key):C!==null&&(C.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===ee&&Kp(ae)===C.type)?(C=o(C,B.props),fs(C,B),C.return=D,C):(C=bl(B.type,B.key,B.props,null,D.mode,P),fs(C,B),C.return=D,C)}function U(D,C,B,P){return C===null||C.tag!==4||C.stateNode.containerInfo!==B.containerInfo||C.stateNode.implementation!==B.implementation?(C=ec(B,D.mode,P),C.return=D,C):(C=o(C,B.children||[]),C.return=D,C)}function F(D,C,B,P,ae){return C===null||C.tag!==7?(C=pa(B,D.mode,P,ae),C.return=D,C):(C=o(C,B),C.return=D,C)}function Y(D,C,B){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Ju(""+C,D.mode,B),C.return=D,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case O:return B=bl(C.type,C.key,C.props,null,D.mode,B),fs(B,C),B.return=D,B;case L:return C=ec(C,D.mode,B),C.return=D,C;case ee:var P=C._init;return C=P(C._payload),Y(D,C,B)}if(be(C)||oe(C))return C=pa(C,D.mode,B,null),C.return=D,C;if(typeof C.then=="function")return Y(D,Hl(C),B);if(C.$$typeof===b)return Y(D,Al(D,C),B);zl(D,C)}return null}function j(D,C,B,P){var ae=C!==null?C.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return ae!==null?null:v(D,C,""+B,P);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case O:return B.key===ae?w(D,C,B,P):null;case L:return B.key===ae?U(D,C,B,P):null;case ee:return ae=B._init,B=ae(B._payload),j(D,C,B,P)}if(be(B)||oe(B))return ae!==null?null:F(D,C,B,P,null);if(typeof B.then=="function")return j(D,C,Hl(B),P);if(B.$$typeof===b)return j(D,C,Al(D,B),P);zl(D,B)}return null}function z(D,C,B,P,ae){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return D=D.get(B)||null,v(C,D,""+P,ae);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case O:return D=D.get(P.key===null?B:P.key)||null,w(C,D,P,ae);case L:return D=D.get(P.key===null?B:P.key)||null,U(C,D,P,ae);case ee:var Se=P._init;return P=Se(P._payload),z(D,C,B,P,ae)}if(be(P)||oe(P))return D=D.get(B)||null,F(C,D,P,ae,null);if(typeof P.then=="function")return z(D,C,B,Hl(P),ae);if(P.$$typeof===b)return z(D,C,B,Al(C,P),ae);zl(C,P)}return null}function ge(D,C,B,P){for(var ae=null,Se=null,ce=C,pe=C=0,yt=null;ce!==null&&pe<B.length;pe++){ce.index>pe?(yt=ce,ce=null):yt=ce.sibling;var De=j(D,ce,B[pe],P);if(De===null){ce===null&&(ce=yt);break}e&&ce&&De.alternate===null&&t(D,ce),C=f(De,C,pe),Se===null?ae=De:Se.sibling=De,Se=De,ce=yt}if(pe===B.length)return a(D,ce),Be&&ya(D,pe),ae;if(ce===null){for(;pe<B.length;pe++)ce=Y(D,B[pe],P),ce!==null&&(C=f(ce,C,pe),Se===null?ae=ce:Se.sibling=ce,Se=ce);return Be&&ya(D,pe),ae}for(ce=l(ce);pe<B.length;pe++)yt=z(ce,D,pe,B[pe],P),yt!==null&&(e&&yt.alternate!==null&&ce.delete(yt.key===null?pe:yt.key),C=f(yt,C,pe),Se===null?ae=yt:Se.sibling=yt,Se=yt);return e&&ce.forEach(function(ea){return t(D,ea)}),Be&&ya(D,pe),ae}function me(D,C,B,P){if(B==null)throw Error(s(151));for(var ae=null,Se=null,ce=C,pe=C=0,yt=null,De=B.next();ce!==null&&!De.done;pe++,De=B.next()){ce.index>pe?(yt=ce,ce=null):yt=ce.sibling;var ea=j(D,ce,De.value,P);if(ea===null){ce===null&&(ce=yt);break}e&&ce&&ea.alternate===null&&t(D,ce),C=f(ea,C,pe),Se===null?ae=ea:Se.sibling=ea,Se=ea,ce=yt}if(De.done)return a(D,ce),Be&&ya(D,pe),ae;if(ce===null){for(;!De.done;pe++,De=B.next())De=Y(D,De.value,P),De!==null&&(C=f(De,C,pe),Se===null?ae=De:Se.sibling=De,Se=De);return Be&&ya(D,pe),ae}for(ce=l(ce);!De.done;pe++,De=B.next())De=z(ce,D,pe,De.value,P),De!==null&&(e&&De.alternate!==null&&ce.delete(De.key===null?pe:De.key),C=f(De,C,pe),Se===null?ae=De:Se.sibling=De,Se=De);return e&&ce.forEach(function(tS){return t(D,tS)}),Be&&ya(D,pe),ae}function Ge(D,C,B,P){if(typeof B=="object"&&B!==null&&B.type===M&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case O:e:{for(var ae=B.key;C!==null;){if(C.key===ae){if(ae=B.type,ae===M){if(C.tag===7){a(D,C.sibling),P=o(C,B.props.children),P.return=D,D=P;break e}}else if(C.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===ee&&Kp(ae)===C.type){a(D,C.sibling),P=o(C,B.props),fs(P,B),P.return=D,D=P;break e}a(D,C);break}else t(D,C);C=C.sibling}B.type===M?(P=pa(B.props.children,D.mode,P,B.key),P.return=D,D=P):(P=bl(B.type,B.key,B.props,null,D.mode,P),fs(P,B),P.return=D,D=P)}return p(D);case L:e:{for(ae=B.key;C!==null;){if(C.key===ae)if(C.tag===4&&C.stateNode.containerInfo===B.containerInfo&&C.stateNode.implementation===B.implementation){a(D,C.sibling),P=o(C,B.children||[]),P.return=D,D=P;break e}else{a(D,C);break}else t(D,C);C=C.sibling}P=ec(B,D.mode,P),P.return=D,D=P}return p(D);case ee:return ae=B._init,B=ae(B._payload),Ge(D,C,B,P)}if(be(B))return ge(D,C,B,P);if(oe(B)){if(ae=oe(B),typeof ae!="function")throw Error(s(150));return B=ae.call(B),me(D,C,B,P)}if(typeof B.then=="function")return Ge(D,C,Hl(B),P);if(B.$$typeof===b)return Ge(D,C,Al(D,B),P);zl(D,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,C!==null&&C.tag===6?(a(D,C.sibling),P=o(C,B),P.return=D,D=P):(a(D,C),P=Ju(B,D.mode,P),P.return=D,D=P),p(D)):a(D,C)}return function(D,C,B,P){try{cs=0;var ae=Ge(D,C,B,P);return ui=null,ae}catch(ce){if(ce===ts||ce===Ol)throw ce;var Se=Jt(29,ce,null,D.mode);return Se.lanes=P,Se.return=D,Se}finally{}}}var ci=$p(!0),Wp=$p(!1),_n=q(null),Pn=null;function kr(e){var t=e.alternate;X(mt,mt.current&1),X(_n,e),Pn===null&&(t===null||ii.current!==null||t.memoizedState!==null)&&(Pn=e)}function Jp(e){if(e.tag===22){if(X(mt,mt.current),X(_n,e),Pn===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Pn=e)}}else Ir()}function Ir(){X(mt,mt.current),X(_n,_n.current)}function dr(e){W(_n),Pn===e&&(Pn=null),W(mt)}var mt=q(0);function kl(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||Tf(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Bc(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:y({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Lc={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=rn(),o=jr(l);o.payload=t,a!=null&&(o.callback=a),t=Hr(e,o,l),t!==null&&(an(t,e,l),rs(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=rn(),o=jr(l);o.tag=1,o.payload=t,a!=null&&(o.callback=a),t=Hr(e,o,l),t!==null&&(an(t,e,l),rs(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=rn(),l=jr(a);l.tag=2,t!=null&&(l.callback=t),t=Hr(e,l,a),t!==null&&(an(t,e,a),rs(t,e,a))}};function e0(e,t,a,l,o,f,p){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,f,p):t.prototype&&t.prototype.isPureReactComponent?!Zi(a,l)||!Zi(o,f):!0}function t0(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&&Lc.enqueueReplaceState(t,t.state,null)}function Aa(e,t){var a=t;if("ref"in t){a={};for(var l in t)l!=="ref"&&(a[l]=t[l])}if(e=e.defaultProps){a===t&&(a=y({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}var Il=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function n0(e){Il(e)}function r0(e){console.error(e)}function a0(e){Il(e)}function Gl(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function i0(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Uc(e,t,a){return a=jr(a),a.tag=3,a.payload={element:null},a.callback=function(){Gl(e,t)},a}function s0(e){return e=jr(e),e.tag=3,e}function l0(e,t,a,l){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var f=l.value;e.payload=function(){return o(f)},e.callback=function(){i0(t,a,l)}}var p=a.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){i0(t,a,l),typeof o!="function"&&(Yr===null?Yr=new Set([this]):Yr.add(this));var v=l.stack;this.componentDidCatch(l.value,{componentStack:v!==null?v:""})})}function t2(e,t,a,l,o){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=a.alternate,t!==null&&Wi(t,a,o,!0),a=_n.current,a!==null){switch(a.tag){case 13:return Pn===null?sf():a.alternate===null&&et===0&&(et=3),a.flags&=-257,a.flags|=65536,a.lanes=o,l===cc?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),of(e,l,o)),!1;case 22:return a.flags|=65536,l===cc?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),of(e,l,o)),!1}throw Error(s(435,a.tag))}return of(e,l,o),sf(),!1}if(Be)return t=_n.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,l!==rc&&(e=Error(s(422),{cause:l}),$i(mn(e,a)))):(l!==rc&&(t=Error(s(423),{cause:l}),$i(mn(t,a))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,l=mn(l,a),o=Uc(e.stateNode,l,o),dc(e,o),et!==4&&(et=2)),!1;var f=Error(s(520),{cause:l});if(f=mn(f,a),_s===null?_s=[f]:_s.push(f),et!==4&&(et=2),t===null)return!0;l=mn(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Uc(a.stateNode,l,e),dc(a,e),!1;case 1:if(t=a.type,f=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Yr===null||!Yr.has(f))))return a.flags|=65536,o&=-o,a.lanes|=o,o=s0(o),l0(o,e,a,l),dc(a,o),!1}a=a.return}while(a!==null);return!1}var o0=Error(s(461)),pt=!1;function St(e,t,a,l){t.child=e===null?Wp(t,null,a,l):ci(t,e.child,a,l)}function u0(e,t,a,l,o){a=a.render;var f=t.ref;if("ref"in l){var p={};for(var v in l)v!=="ref"&&(p[v]=l[v])}else p=l;return Ea(t),l=_c(e,t,a,p,f,o),v=vc(),e!==null&&!pt?(bc(e,t,o),mr(e,t,o)):(Be&&v&&tc(t),t.flags|=1,St(e,t,l,o),t.child)}function c0(e,t,a,l,o){if(e===null){var f=a.type;return typeof f=="function"&&!Wu(f)&&f.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=f,f0(e,t,f,l,o)):(e=bl(a.type,null,l,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,!Fc(e,o)){var p=f.memoizedProps;if(a=a.compare,a=a!==null?a:Zi,a(p,l)&&e.ref===t.ref)return mr(e,t,o)}return t.flags|=1,e=lr(f,l),e.ref=t.ref,e.return=t,t.child=e}function f0(e,t,a,l,o){if(e!==null){var f=e.memoizedProps;if(Zi(f,l)&&e.ref===t.ref)if(pt=!1,t.pendingProps=l=f,Fc(e,o))(e.flags&131072)!==0&&(pt=!0);else return t.lanes=e.lanes,mr(e,t,o)}return jc(e,t,a,l,o)}function h0(e,t,a){var l=t.pendingProps,o=l.children,f=e!==null?e.memoizedState:null;if(l.mode==="hidden"){if((t.flags&128)!==0){if(l=f!==null?f.baseLanes|a:a,e!==null){for(o=t.child=e.child,f=0;o!==null;)f=f|o.lanes|o.childLanes,o=o.sibling;t.childLanes=f&~l}else t.childLanes=0,t.child=null;return d0(e,t,l,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&xl(t,f!==null?f.cachePool:null),f!==null?fp(t,f):pc(),Jp(t);else return t.lanes=t.childLanes=536870912,d0(e,t,f!==null?f.baseLanes|a:a,a)}else f!==null?(xl(t,f.cachePool),fp(t,f),Ir(),t.memoizedState=null):(e!==null&&xl(t,null),pc(),Ir());return St(e,t,o,a),t.child}function d0(e,t,a,l){var o=uc();return o=o===null?null:{parent:dt._currentValue,pool:o},t.memoizedState={baseLanes:a,cachePool:o},e!==null&&xl(t,null),pc(),Jp(t),e!==null&&Wi(e,t,l,!0),null}function ql(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(s(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function jc(e,t,a,l,o){return Ea(t),a=_c(e,t,a,l,void 0,o),l=vc(),e!==null&&!pt?(bc(e,t,o),mr(e,t,o)):(Be&&l&&tc(t),t.flags|=1,St(e,t,a,o),t.child)}function m0(e,t,a,l,o,f){return Ea(t),t.updateQueue=null,a=dp(t,l,a,o),hp(e),l=vc(),e!==null&&!pt?(bc(e,t,f),mr(e,t,f)):(Be&&l&&tc(t),t.flags|=1,St(e,t,a,f),t.child)}function p0(e,t,a,l,o){if(Ea(t),t.stateNode===null){var f=ei,p=a.contextType;typeof p=="object"&&p!==null&&(f=Dt(p)),f=new a(l,f),t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Lc,t.stateNode=f,f._reactInternals=t,f=t.stateNode,f.props=l,f.state=t.memoizedState,f.refs={},fc(t),p=a.contextType,f.context=typeof p=="object"&&p!==null?Dt(p):ei,f.state=t.memoizedState,p=a.getDerivedStateFromProps,typeof p=="function"&&(Bc(t,a,p,l),f.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(p=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),p!==f.state&&Lc.enqueueReplaceState(f,f.state,null),is(t,l,f,o),as(),f.state=t.memoizedState),typeof f.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){f=t.stateNode;var v=t.memoizedProps,w=Aa(a,v);f.props=w;var U=f.context,F=a.contextType;p=ei,typeof F=="object"&&F!==null&&(p=Dt(F));var Y=a.getDerivedStateFromProps;F=typeof Y=="function"||typeof f.getSnapshotBeforeUpdate=="function",v=t.pendingProps!==v,F||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(v||U!==p)&&t0(t,f,l,p),Ur=!1;var j=t.memoizedState;f.state=j,is(t,l,f,o),as(),U=t.memoizedState,v||j!==U||Ur?(typeof Y=="function"&&(Bc(t,a,Y,l),U=t.memoizedState),(w=Ur||e0(t,a,w,l,j,U,p))?(F||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(t.flags|=4194308)):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=U),f.props=l,f.state=U,f.context=p,l=w):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{f=t.stateNode,hc(e,t),p=t.memoizedProps,F=Aa(a,p),f.props=F,Y=t.pendingProps,j=f.context,U=a.contextType,w=ei,typeof U=="object"&&U!==null&&(w=Dt(U)),v=a.getDerivedStateFromProps,(U=typeof v=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(p!==Y||j!==w)&&t0(t,f,l,w),Ur=!1,j=t.memoizedState,f.state=j,is(t,l,f,o),as();var z=t.memoizedState;p!==Y||j!==z||Ur||e!==null&&e.dependencies!==null&&Tl(e.dependencies)?(typeof v=="function"&&(Bc(t,a,v,l),z=t.memoizedState),(F=Ur||e0(t,a,F,l,j,z,w)||e!==null&&e.dependencies!==null&&Tl(e.dependencies))?(U||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(l,z,w),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(l,z,w)),typeof f.componentDidUpdate=="function"&&(t.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof f.componentDidUpdate!="function"||p===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=z),f.props=l,f.state=z,f.context=w,l=F):(typeof f.componentDidUpdate!="function"||p===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),l=!1)}return f=l,ql(e,t),l=(t.flags&128)!==0,f||l?(f=t.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:f.render(),t.flags|=1,e!==null&&l?(t.child=ci(t,e.child,null,o),t.child=ci(t,null,a,o)):St(e,t,a,o),t.memoizedState=f.state,e=t.child):e=mr(e,t,o),e}function g0(e,t,a,l){return Ki(),t.flags|=256,St(e,t,a,l),t.child}var Hc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function zc(e){return{baseLanes:e,cachePool:rp()}}function kc(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=vn),e}function y0(e,t,a){var l=t.pendingProps,o=!1,f=(t.flags&128)!==0,p;if((p=f)||(p=e!==null&&e.memoizedState===null?!1:(mt.current&2)!==0),p&&(o=!0,t.flags&=-129),p=(t.flags&32)!==0,t.flags&=-33,e===null){if(Be){if(o?kr(t):Ir(),Be){var v=Je,w;if(w=v){e:{for(w=v,v=Fn;w.nodeType!==8;){if(!v){v=null;break e}if(w=Mn(w.nextSibling),w===null){v=null;break e}}v=w}v!==null?(t.memoizedState={dehydrated:v,treeContext:ga!==null?{id:or,overflow:ur}:null,retryLane:536870912,hydrationErrors:null},w=Jt(18,null,null,0),w.stateNode=v,w.return=t,t.child=w,Lt=t,Je=null,w=!0):w=!1}w||va(t)}if(v=t.memoizedState,v!==null&&(v=v.dehydrated,v!==null))return Tf(v)?t.lanes=32:t.lanes=536870912,null;dr(t)}return v=l.children,l=l.fallback,o?(Ir(),o=t.mode,v=Fl({mode:"hidden",children:v},o),l=pa(l,o,a,null),v.return=t,l.return=t,v.sibling=l,t.child=v,o=t.child,o.memoizedState=zc(a),o.childLanes=kc(e,p,a),t.memoizedState=Hc,l):(kr(t),Ic(t,v))}if(w=e.memoizedState,w!==null&&(v=w.dehydrated,v!==null)){if(f)t.flags&256?(kr(t),t.flags&=-257,t=Gc(e,t,a)):t.memoizedState!==null?(Ir(),t.child=e.child,t.flags|=128,t=null):(Ir(),o=l.fallback,v=t.mode,l=Fl({mode:"visible",children:l.children},v),o=pa(o,v,a,null),o.flags|=2,l.return=t,o.return=t,l.sibling=o,t.child=l,ci(t,e.child,null,a),l=t.child,l.memoizedState=zc(a),l.childLanes=kc(e,p,a),t.memoizedState=Hc,t=o);else if(kr(t),Tf(v)){if(p=v.nextSibling&&v.nextSibling.dataset,p)var U=p.dgst;p=U,l=Error(s(419)),l.stack="",l.digest=p,$i({value:l,source:null,stack:null}),t=Gc(e,t,a)}else if(pt||Wi(e,t,a,!1),p=(a&e.childLanes)!==0,pt||p){if(p=Pe,p!==null&&(l=a&-a,l=(l&42)!==0?1:In(l),l=(l&(p.suspendedLanes|a))!==0?0:l,l!==0&&l!==w.retryLane))throw w.retryLane=l,Ja(e,l),an(p,e,l),o0;v.data==="$?"||sf(),t=Gc(e,t,a)}else v.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=w.treeContext,Je=Mn(v.nextSibling),Lt=t,Be=!0,_a=null,Fn=!1,e!==null&&(gn[yn++]=or,gn[yn++]=ur,gn[yn++]=ga,or=e.id,ur=e.overflow,ga=t),t=Ic(t,l.children),t.flags|=4096);return t}return o?(Ir(),o=l.fallback,v=t.mode,w=e.child,U=w.sibling,l=lr(w,{mode:"hidden",children:l.children}),l.subtreeFlags=w.subtreeFlags&65011712,U!==null?o=lr(U,o):(o=pa(o,v,a,null),o.flags|=2),o.return=t,l.return=t,l.sibling=o,t.child=l,l=o,o=t.child,v=e.child.memoizedState,v===null?v=zc(a):(w=v.cachePool,w!==null?(U=dt._currentValue,w=w.parent!==U?{parent:U,pool:U}:w):w=rp(),v={baseLanes:v.baseLanes|a,cachePool:w}),o.memoizedState=v,o.childLanes=kc(e,p,a),t.memoizedState=Hc,l):(kr(t),a=e.child,e=a.sibling,a=lr(a,{mode:"visible",children:l.children}),a.return=t,a.sibling=null,e!==null&&(p=t.deletions,p===null?(t.deletions=[e],t.flags|=16):p.push(e)),t.child=a,t.memoizedState=null,a)}function Ic(e,t){return t=Fl({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Fl(e,t){return e=Jt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Gc(e,t,a){return ci(t,e.child,null,a),e=Ic(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _0(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),ic(e.return,t,a)}function qc(e,t,a,l,o){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:o}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=l,f.tail=a,f.tailMode=o)}function v0(e,t,a){var l=t.pendingProps,o=l.revealOrder,f=l.tail;if(St(e,t,l.children,a),l=mt.current,(l&2)!==0)l=l&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&_0(e,a,t);else if(e.tag===19)_0(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}switch(X(mt,l),o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&kl(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),qc(t,!1,o,a,f);break;case"backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&kl(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}qc(t,!0,a,null,f);break;case"together":qc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function mr(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Vr|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Wi(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,a=lr(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=lr(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Fc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Tl(e)))}function n2(e,t,a){switch(t.tag){case 3:Ue(t,t.stateNode.containerInfo),Lr(t,dt,e.memoizedState.cache),Ki();break;case 27:case 5:kn(t);break;case 4:Ue(t,t.stateNode.containerInfo);break;case 10:Lr(t,t.type,t.memoizedProps.value);break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(kr(t),t.flags|=128,null):(a&t.child.childLanes)!==0?y0(e,t,a):(kr(t),e=mr(e,t,a),e!==null?e.sibling:null);kr(t);break;case 19:var o=(e.flags&128)!==0;if(l=(a&t.childLanes)!==0,l||(Wi(e,t,a,!1),l=(a&t.childLanes)!==0),o){if(l)return v0(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),X(mt,mt.current),l)break;return null;case 22:case 23:return t.lanes=0,h0(e,t,a);case 24:Lr(t,dt,e.memoizedState.cache)}return mr(e,t,a)}function b0(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)pt=!0;else{if(!Fc(e,a)&&(t.flags&128)===0)return pt=!1,n2(e,t,a);pt=(e.flags&131072)!==0}else pt=!1,Be&&(t.flags&1048576)!==0&&Km(t,Sl,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var l=t.elementType,o=l._init;if(l=o(l._payload),t.type=l,typeof l=="function")Wu(l)?(e=Aa(l,e),t.tag=1,t=p0(null,t,l,e,a)):(t.tag=0,t=jc(null,t,l,e,a));else{if(l!=null){if(o=l.$$typeof,o===A){t.tag=11,t=u0(null,t,l,e,a);break e}else if(o===Z){t.tag=14,t=c0(null,t,l,e,a);break e}}throw t=Ve(l)||l,Error(s(306,t,""))}}return t;case 0:return jc(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,o=Aa(l,t.pendingProps),p0(e,t,l,o,a);case 3:e:{if(Ue(t,t.stateNode.containerInfo),e===null)throw Error(s(387));l=t.pendingProps;var f=t.memoizedState;o=f.element,hc(e,t),is(t,l,null,a);var p=t.memoizedState;if(l=p.cache,Lr(t,dt,l),l!==f.cache&&sc(t,[dt],a,!0),as(),l=p.element,f.isDehydrated)if(f={element:l,isDehydrated:!1,cache:p.cache},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){t=g0(e,t,l,a);break e}else if(l!==o){o=mn(Error(s(424)),t),$i(o),t=g0(e,t,l,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Je=Mn(e.firstChild),Lt=t,Be=!0,_a=null,Fn=!0,a=Wp(t,null,l,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Ki(),l===o){t=mr(e,t,a);break e}St(e,t,l,a)}t=t.child}return t;case 26:return ql(e,t),e===null?(a=Ag(t.type,null,t.pendingProps,null))?t.memoizedState=a:Be||(a=t.type,e=t.pendingProps,l=ro(he.current).createElement(a),l[ft]=t,l[Nt]=e,At(l,a,e),it(l),t.stateNode=l):t.memoizedState=Ag(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return kn(t),e===null&&Be&&(l=t.stateNode=Eg(t.type,t.pendingProps,he.current),Lt=t,Fn=!0,o=Je,Qr(t.type)?(Af=o,Je=Mn(l.firstChild)):Je=o),St(e,t,t.pendingProps.children,a),ql(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Be&&((o=l=Je)&&(l=N2(l,t.type,t.pendingProps,Fn),l!==null?(t.stateNode=l,Lt=t,Je=Mn(l.firstChild),Fn=!1,o=!0):o=!1),o||va(t)),kn(t),o=t.type,f=t.pendingProps,p=e!==null?e.memoizedProps:null,l=f.children,bf(o,f)?l=null:p!==null&&bf(o,p)&&(t.flags|=32),t.memoizedState!==null&&(o=_c(e,t,XE,null,null,a),ws._currentValue=o),ql(e,t),St(e,t,l,a),t.child;case 6:return e===null&&Be&&((e=a=Je)&&(a=M2(a,t.pendingProps,Fn),a!==null?(t.stateNode=a,Lt=t,Je=null,e=!0):e=!1),e||va(t)),null;case 13:return y0(e,t,a);case 4:return Ue(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=ci(t,null,l,a):St(e,t,l,a),t.child;case 11:return u0(e,t,t.type,t.pendingProps,a);case 7:return St(e,t,t.pendingProps,a),t.child;case 8:return St(e,t,t.pendingProps.children,a),t.child;case 12:return St(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,Lr(t,t.type,l.value),St(e,t,l.children,a),t.child;case 9:return o=t.type._context,l=t.pendingProps.children,Ea(t),o=Dt(o),l=l(o),t.flags|=1,St(e,t,l,a),t.child;case 14:return c0(e,t,t.type,t.pendingProps,a);case 15:return f0(e,t,t.type,t.pendingProps,a);case 19:return v0(e,t,a);case 31:return l=t.pendingProps,a=t.mode,l={mode:l.mode,children:l.children},e===null?(a=Fl(l,a),a.ref=t.ref,t.child=a,a.return=t,t=a):(a=lr(e.child,l),a.ref=t.ref,t.child=a,a.return=t,t=a),t;case 22:return h0(e,t,a);case 24:return Ea(t),l=Dt(dt),e===null?(o=uc(),o===null&&(o=Pe,f=lc(),o.pooledCache=f,f.refCount++,f!==null&&(o.pooledCacheLanes|=a),o=f),t.memoizedState={parent:l,cache:o},fc(t),Lr(t,dt,o)):((e.lanes&a)!==0&&(hc(e,t),is(t,null,null,a),as()),o=e.memoizedState,f=t.memoizedState,o.parent!==l?(o={parent:l,cache:l},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Lr(t,dt,l)):(l=f.cache,Lr(t,dt,l),l!==o.cache&&sc(t,[dt],a,!0))),St(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function pr(e){e.flags|=4}function E0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Cg(t)){if(t=_n.current,t!==null&&((Ne&4194048)===Ne?Pn!==null:(Ne&62914560)!==Ne&&(Ne&536870912)===0||t!==Pn))throw ns=cc,ap;e.flags|=8192}}function Pl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?fa():536870912,e.lanes|=t,mi|=t)}function hs(e,t){if(!Be)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,l=0;if(t)for(var o=e.child;o!==null;)a|=o.lanes|o.childLanes,l|=o.subtreeFlags&65011712,l|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,l|=o.subtreeFlags,l|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function r2(e,t,a){var l=t.pendingProps;switch(nc(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(t),null;case 1:return Qe(t),null;case 3:return a=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),fr(dt),vt(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Qi(t)?pr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Jm())),Qe(t),null;case 26:return a=t.memoizedState,e===null?(pr(t),a!==null?(Qe(t),E0(t,a)):(Qe(t),t.flags&=-16777217)):a?a!==e.memoizedState?(pr(t),Qe(t),E0(t,a)):(Qe(t),t.flags&=-16777217):(e.memoizedProps!==l&&pr(t),Qe(t),t.flags&=-16777217),null;case 27:Rr(t),a=he.current;var o=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==l&&pr(t);else{if(!l){if(t.stateNode===null)throw Error(s(166));return Qe(t),null}e=re.current,Qi(t)?$m(t):(e=Eg(o,l,a),t.stateNode=e,pr(t))}return Qe(t),null;case 5:if(Rr(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&pr(t);else{if(!l){if(t.stateNode===null)throw Error(s(166));return Qe(t),null}if(e=re.current,Qi(t))$m(t);else{switch(o=ro(he.current),e){case 1:e=o.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:e=o.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":e=o.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":e=o.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof l.is=="string"?o.createElement("select",{is:l.is}):o.createElement("select"),l.multiple?e.multiple=!0:l.size&&(e.size=l.size);break;default:e=typeof l.is=="string"?o.createElement(a,{is:l.is}):o.createElement(a)}}e[ft]=t,e[Nt]=l;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=e;e:switch(At(e,a,l),a){case"button":case"input":case"select":case"textarea":e=!!l.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&pr(t)}}return Qe(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&pr(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(s(166));if(e=he.current,Qi(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,o=Lt,o!==null)switch(o.tag){case 27:case 5:l=o.memoizedProps}e[ft]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||mg(e.nodeValue,a)),e||va(t)}else e=ro(e).createTextNode(l),e[ft]=t,t.stateNode=e}return Qe(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Qi(t),l!==null&&l.dehydrated!==null){if(e===null){if(!o)throw Error(s(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(s(317));o[ft]=t}else Ki(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),o=!1}else o=Jm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(dr(t),t):(dr(t),null)}if(dr(t),(t.flags&128)!==0)return t.lanes=a,t;if(a=l!==null,e=e!==null&&e.memoizedState!==null,a){l=t.child,o=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(o=l.alternate.memoizedState.cachePool.pool);var f=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(f=l.memoizedState.cachePool.pool),f!==o&&(l.flags|=2048)}return a!==e&&a&&(t.child.flags|=8192),Pl(t,t.updateQueue),Qe(t),null;case 4:return vt(),e===null&&pf(t.stateNode.containerInfo),Qe(t),null;case 10:return fr(t.type),Qe(t),null;case 19:if(W(mt),o=t.memoizedState,o===null)return Qe(t),null;if(l=(t.flags&128)!==0,f=o.rendering,f===null)if(l)hs(o,!1);else{if(et!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=kl(e),f!==null){for(t.flags|=128,hs(o,!1),e=f.updateQueue,t.updateQueue=e,Pl(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Qm(a,e),a=a.sibling;return X(mt,mt.current&1|2),t.child}e=e.sibling}o.tail!==null&&bt()>Zl&&(t.flags|=128,l=!0,hs(o,!1),t.lanes=4194304)}else{if(!l)if(e=kl(f),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Pl(t,e),hs(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!Be)return Qe(t),null}else 2*bt()-o.renderingStartTime>Zl&&a!==536870912&&(t.flags|=128,l=!0,hs(o,!1),t.lanes=4194304);o.isBackwards?(f.sibling=t.child,t.child=f):(e=o.last,e!==null?e.sibling=f:t.child=f,o.last=f)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=bt(),t.sibling=null,e=mt.current,X(mt,l?e&1|2:e&1),t):(Qe(t),null);case 22:case 23:return dr(t),gc(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(a&536870912)!==0&&(t.flags&128)===0&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),a=t.updateQueue,a!==null&&Pl(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&W(Sa),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),fr(dt),Qe(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function a2(e,t){switch(nc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return fr(dt),vt(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Rr(t),null;case 13:if(dr(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Ki()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(mt),null;case 4:return vt(),null;case 10:return fr(t.type),null;case 22:case 23:return dr(t),gc(),e!==null&&W(Sa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return fr(dt),null;case 25:return null;default:return null}}function S0(e,t){switch(nc(t),t.tag){case 3:fr(dt),vt();break;case 26:case 27:case 5:Rr(t);break;case 4:vt();break;case 13:dr(t);break;case 19:W(mt);break;case 10:fr(t.type);break;case 22:case 23:dr(t),gc(),e!==null&&W(Sa);break;case 24:fr(dt)}}function ds(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var o=l.next;a=o;do{if((a.tag&e)===e){l=void 0;var f=a.create,p=a.inst;l=f(),p.destroy=l}a=a.next}while(a!==o)}}catch(v){qe(t,t.return,v)}}function Gr(e,t,a){try{var l=t.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var f=o.next;l=f;do{if((l.tag&e)===e){var p=l.inst,v=p.destroy;if(v!==void 0){p.destroy=void 0,o=t;var w=a,U=v;try{U()}catch(F){qe(o,w,F)}}}l=l.next}while(l!==f)}}catch(F){qe(t,t.return,F)}}function T0(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{cp(t,a)}catch(l){qe(e,e.return,l)}}}function A0(e,t,a){a.props=Aa(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){qe(e,t,l)}}function ms(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(o){qe(e,t,o)}}function Vn(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(o){qe(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(o){qe(e,t,o)}else a.current=null}function x0(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(o){qe(e,e.return,o)}}function Pc(e,t,a){try{var l=e.stateNode;x2(l,e.type,a,t),l[Nt]=t}catch(o){qe(e,e.return,o)}}function O0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qr(e.type)||e.tag===4}function Vc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||O0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Qr(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Yc(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=no));else if(l!==4&&(l===27&&Qr(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Yc(e,t,a),e=e.sibling;e!==null;)Yc(e,t,a),e=e.sibling}function Vl(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&Qr(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Vl(e,t,a),e=e.sibling;e!==null;)Vl(e,t,a),e=e.sibling}function w0(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);At(t,l,a),t[ft]=e,t[Nt]=a}catch(f){qe(e,e.return,f)}}var gr=!1,at=!1,Zc=!1,R0=typeof WeakSet=="function"?WeakSet:Set,gt=null;function i2(e,t){if(e=e.containerInfo,_f=uo,e=km(e),Vu(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var o=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{a.nodeType,f.nodeType}catch{a=null;break e}var p=0,v=-1,w=-1,U=0,F=0,Y=e,j=null;t:for(;;){for(var z;Y!==a||o!==0&&Y.nodeType!==3||(v=p+o),Y!==f||l!==0&&Y.nodeType!==3||(w=p+l),Y.nodeType===3&&(p+=Y.nodeValue.length),(z=Y.firstChild)!==null;)j=Y,Y=z;for(;;){if(Y===e)break t;if(j===a&&++U===o&&(v=p),j===f&&++F===l&&(w=p),(z=Y.nextSibling)!==null)break;Y=j,j=Y.parentNode}Y=z}a=v===-1||w===-1?null:{start:v,end:w}}else a=null}a=a||{start:0,end:0}}else a=null;for(vf={focusedElem:e,selectionRange:a},uo=!1,gt=t;gt!==null;)if(t=gt,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,gt=e;else for(;gt!==null;){switch(t=gt,f=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&f!==null){e=void 0,a=t,o=f.memoizedProps,f=f.memoizedState,l=a.stateNode;try{var ge=Aa(a.type,o,a.elementType===a.type);e=l.getSnapshotBeforeUpdate(ge,f),l.__reactInternalSnapshotBeforeUpdate=e}catch(me){qe(a,a.return,me)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Sf(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Sf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(s(163))}if(e=t.sibling,e!==null){e.return=t.return,gt=e;break}gt=t.return}}function C0(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:qr(e,a),l&4&&ds(5,a);break;case 1:if(qr(e,a),l&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(p){qe(a,a.return,p)}else{var o=Aa(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(p){qe(a,a.return,p)}}l&64&&T0(a),l&512&&ms(a,a.return);break;case 3:if(qr(e,a),l&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{cp(e,t)}catch(p){qe(a,a.return,p)}}break;case 27:t===null&&l&4&&w0(a);case 26:case 5:qr(e,a),t===null&&l&4&&x0(a),l&512&&ms(a,a.return);break;case 12:qr(e,a);break;case 13:qr(e,a),l&4&&D0(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=m2.bind(null,a),D2(e,a))));break;case 22:if(l=a.memoizedState!==null||gr,!l){t=t!==null&&t.memoizedState!==null||at,o=gr;var f=at;gr=l,(at=t)&&!f?Fr(e,a,(a.subtreeFlags&8772)!==0):qr(e,a),gr=o,at=f}break;case 30:break;default:qr(e,a)}}function N0(e){var t=e.alternate;t!==null&&(e.alternate=null,N0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Kt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ze=null,Yt=!1;function yr(e,t,a){for(a=a.child;a!==null;)M0(e,t,a),a=a.sibling}function M0(e,t,a){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(fn,a)}catch{}switch(a.tag){case 26:at||Vn(a,t),yr(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:at||Vn(a,t);var l=Ze,o=Yt;Qr(a.type)&&(Ze=a.stateNode,Yt=!1),yr(e,t,a),Ts(a.stateNode),Ze=l,Yt=o;break;case 5:at||Vn(a,t);case 6:if(l=Ze,o=Yt,Ze=null,yr(e,t,a),Ze=l,Yt=o,Ze!==null)if(Yt)try{(Ze.nodeType===9?Ze.body:Ze.nodeName==="HTML"?Ze.ownerDocument.body:Ze).removeChild(a.stateNode)}catch(f){qe(a,t,f)}else try{Ze.removeChild(a.stateNode)}catch(f){qe(a,t,f)}break;case 18:Ze!==null&&(Yt?(e=Ze,vg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Ms(e)):vg(Ze,a.stateNode));break;case 4:l=Ze,o=Yt,Ze=a.stateNode.containerInfo,Yt=!0,yr(e,t,a),Ze=l,Yt=o;break;case 0:case 11:case 14:case 15:at||Gr(2,a,t),at||Gr(4,a,t),yr(e,t,a);break;case 1:at||(Vn(a,t),l=a.stateNode,typeof l.componentWillUnmount=="function"&&A0(a,t,l)),yr(e,t,a);break;case 21:yr(e,t,a);break;case 22:at=(l=at)||a.memoizedState!==null,yr(e,t,a),at=l;break;default:yr(e,t,a)}}function D0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ms(e)}catch(a){qe(t,t.return,a)}}function s2(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new R0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new R0),t;default:throw Error(s(435,e.tag))}}function Xc(e,t){var a=s2(e);t.forEach(function(l){var o=p2.bind(null,e,l);a.has(l)||(a.add(l),l.then(o,o))})}function en(e,t){var a=t.deletions;if(a!==null)for(var l=0;l<a.length;l++){var o=a[l],f=e,p=t,v=p;e:for(;v!==null;){switch(v.tag){case 27:if(Qr(v.type)){Ze=v.stateNode,Yt=!1;break e}break;case 5:Ze=v.stateNode,Yt=!1;break e;case 3:case 4:Ze=v.stateNode.containerInfo,Yt=!0;break e}v=v.return}if(Ze===null)throw Error(s(160));M0(f,p,o),Ze=null,Yt=!1,f=o.alternate,f!==null&&(f.return=null),o.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)B0(t,e),t=t.sibling}var Nn=null;function B0(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:en(t,e),tn(e),l&4&&(Gr(3,e,e.return),ds(3,e),Gr(5,e,e.return));break;case 1:en(t,e),tn(e),l&512&&(at||a===null||Vn(a,a.return)),l&64&&gr&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var o=Nn;if(en(t,e),tn(e),l&512&&(at||a===null||Vn(a,a.return)),l&4){var f=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,o=o.ownerDocument||o;t:switch(l){case"title":f=o.getElementsByTagName("title")[0],(!f||f[Mr]||f[ft]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=o.createElement(l),o.head.insertBefore(f,o.querySelector("head > title"))),At(f,l,a),f[ft]=e,it(f),l=f;break e;case"link":var p=wg("link","href",o).get(l+(a.href||""));if(p){for(var v=0;v<p.length;v++)if(f=p[v],f.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&f.getAttribute("rel")===(a.rel==null?null:a.rel)&&f.getAttribute("title")===(a.title==null?null:a.title)&&f.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){p.splice(v,1);break t}}f=o.createElement(l),At(f,l,a),o.head.appendChild(f);break;case"meta":if(p=wg("meta","content",o).get(l+(a.content||""))){for(v=0;v<p.length;v++)if(f=p[v],f.getAttribute("content")===(a.content==null?null:""+a.content)&&f.getAttribute("name")===(a.name==null?null:a.name)&&f.getAttribute("property")===(a.property==null?null:a.property)&&f.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&f.getAttribute("charset")===(a.charSet==null?null:a.charSet)){p.splice(v,1);break t}}f=o.createElement(l),At(f,l,a),o.head.appendChild(f);break;default:throw Error(s(468,l))}f[ft]=e,it(f),l=f}e.stateNode=l}else Rg(o,e.type,e.stateNode);else e.stateNode=Og(o,l,e.memoizedProps);else f!==l?(f===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):f.count--,l===null?Rg(o,e.type,e.stateNode):Og(o,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Pc(e,e.memoizedProps,a.memoizedProps)}break;case 27:en(t,e),tn(e),l&512&&(at||a===null||Vn(a,a.return)),a!==null&&l&4&&Pc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(en(t,e),tn(e),l&512&&(at||a===null||Vn(a,a.return)),e.flags&32){o=e.stateNode;try{Ya(o,"")}catch(z){qe(e,e.return,z)}}l&4&&e.stateNode!=null&&(o=e.memoizedProps,Pc(e,o,a!==null?a.memoizedProps:o)),l&1024&&(Zc=!0);break;case 6:if(en(t,e),tn(e),l&4){if(e.stateNode===null)throw Error(s(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(z){qe(e,e.return,z)}}break;case 3:if(so=null,o=Nn,Nn=ao(t.containerInfo),en(t,e),Nn=o,tn(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{Ms(t.containerInfo)}catch(z){qe(e,e.return,z)}Zc&&(Zc=!1,L0(e));break;case 4:l=Nn,Nn=ao(e.stateNode.containerInfo),en(t,e),tn(e),Nn=l;break;case 12:en(t,e),tn(e);break;case 13:en(t,e),tn(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(ef=bt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Xc(e,l)));break;case 22:o=e.memoizedState!==null;var w=a!==null&&a.memoizedState!==null,U=gr,F=at;if(gr=U||o,at=F||w,en(t,e),at=F,gr=U,tn(e),l&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(a===null||w||gr||at||xa(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){w=a=t;try{if(f=w.stateNode,o)p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{v=w.stateNode;var Y=w.memoizedProps.style,j=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;v.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(z){qe(w,w.return,z)}}}else if(t.tag===6){if(a===null){w=t;try{w.stateNode.nodeValue=o?"":w.memoizedProps}catch(z){qe(w,w.return,z)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,Xc(e,a))));break;case 19:en(t,e),tn(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Xc(e,l)));break;case 30:break;case 21:break;default:en(t,e),tn(e)}}function tn(e){var t=e.flags;if(t&2){try{for(var a,l=e.return;l!==null;){if(O0(l)){a=l;break}l=l.return}if(a==null)throw Error(s(160));switch(a.tag){case 27:var o=a.stateNode,f=Vc(e);Vl(e,f,o);break;case 5:var p=a.stateNode;a.flags&32&&(Ya(p,""),a.flags&=-33);var v=Vc(e);Vl(e,v,p);break;case 3:case 4:var w=a.stateNode.containerInfo,U=Vc(e);Yc(e,U,w);break;default:throw Error(s(161))}}catch(F){qe(e,e.return,F)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function L0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;L0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function qr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)C0(e,t.alternate,t),t=t.sibling}function xa(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Gr(4,t,t.return),xa(t);break;case 1:Vn(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&A0(t,t.return,a),xa(t);break;case 27:Ts(t.stateNode);case 26:case 5:Vn(t,t.return),xa(t);break;case 22:t.memoizedState===null&&xa(t);break;case 30:xa(t);break;default:xa(t)}e=e.sibling}}function Fr(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,o=e,f=t,p=f.flags;switch(f.tag){case 0:case 11:case 15:Fr(o,f,a),ds(4,f);break;case 1:if(Fr(o,f,a),l=f,o=l.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(U){qe(l,l.return,U)}if(l=f,o=l.updateQueue,o!==null){var v=l.stateNode;try{var w=o.shared.hiddenCallbacks;if(w!==null)for(o.shared.hiddenCallbacks=null,o=0;o<w.length;o++)up(w[o],v)}catch(U){qe(l,l.return,U)}}a&&p&64&&T0(f),ms(f,f.return);break;case 27:w0(f);case 26:case 5:Fr(o,f,a),a&&l===null&&p&4&&x0(f),ms(f,f.return);break;case 12:Fr(o,f,a);break;case 13:Fr(o,f,a),a&&p&4&&D0(o,f);break;case 22:f.memoizedState===null&&Fr(o,f,a),ms(f,f.return);break;case 30:break;default:Fr(o,f,a)}t=t.sibling}}function Qc(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Ji(a))}function Kc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ji(e))}function Yn(e,t,a,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)U0(e,t,a,l),t=t.sibling}function U0(e,t,a,l){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Yn(e,t,a,l),o&2048&&ds(9,t);break;case 1:Yn(e,t,a,l);break;case 3:Yn(e,t,a,l),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ji(e)));break;case 12:if(o&2048){Yn(e,t,a,l),e=t.stateNode;try{var f=t.memoizedProps,p=f.id,v=f.onPostCommit;typeof v=="function"&&v(p,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(w){qe(t,t.return,w)}}else Yn(e,t,a,l);break;case 13:Yn(e,t,a,l);break;case 23:break;case 22:f=t.stateNode,p=t.alternate,t.memoizedState!==null?f._visibility&2?Yn(e,t,a,l):ps(e,t):f._visibility&2?Yn(e,t,a,l):(f._visibility|=2,fi(e,t,a,l,(t.subtreeFlags&10256)!==0)),o&2048&&Qc(p,t);break;case 24:Yn(e,t,a,l),o&2048&&Kc(t.alternate,t);break;default:Yn(e,t,a,l)}}function fi(e,t,a,l,o){for(o=o&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var f=e,p=t,v=a,w=l,U=p.flags;switch(p.tag){case 0:case 11:case 15:fi(f,p,v,w,o),ds(8,p);break;case 23:break;case 22:var F=p.stateNode;p.memoizedState!==null?F._visibility&2?fi(f,p,v,w,o):ps(f,p):(F._visibility|=2,fi(f,p,v,w,o)),o&&U&2048&&Qc(p.alternate,p);break;case 24:fi(f,p,v,w,o),o&&U&2048&&Kc(p.alternate,p);break;default:fi(f,p,v,w,o)}t=t.sibling}}function ps(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,l=t,o=l.flags;switch(l.tag){case 22:ps(a,l),o&2048&&Qc(l.alternate,l);break;case 24:ps(a,l),o&2048&&Kc(l.alternate,l);break;default:ps(a,l)}t=t.sibling}}var gs=8192;function hi(e){if(e.subtreeFlags&gs)for(e=e.child;e!==null;)j0(e),e=e.sibling}function j0(e){switch(e.tag){case 26:hi(e),e.flags&gs&&e.memoizedState!==null&&V2(Nn,e.memoizedState,e.memoizedProps);break;case 5:hi(e);break;case 3:case 4:var t=Nn;Nn=ao(e.stateNode.containerInfo),hi(e),Nn=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=gs,gs=16777216,hi(e),gs=t):hi(e));break;default:hi(e)}}function H0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function ys(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];gt=l,k0(l,e)}H0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)z0(e),e=e.sibling}function z0(e){switch(e.tag){case 0:case 11:case 15:ys(e),e.flags&2048&&Gr(9,e,e.return);break;case 3:ys(e);break;case 12:ys(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Yl(e)):ys(e);break;default:ys(e)}}function Yl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];gt=l,k0(l,e)}H0(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Gr(8,t,t.return),Yl(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Yl(t));break;default:Yl(t)}e=e.sibling}}function k0(e,t){for(;gt!==null;){var a=gt;switch(a.tag){case 0:case 11:case 15:Gr(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Ji(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,gt=l;else e:for(a=e;gt!==null;){l=gt;var o=l.sibling,f=l.return;if(N0(l),l===a){gt=null;break e}if(o!==null){o.return=f,gt=o;break e}gt=f}}}var l2={getCacheForType:function(e){var t=Dt(dt),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a}},o2=typeof WeakMap=="function"?WeakMap:Map,je=0,Pe=null,Ae=null,Ne=0,He=0,nn=null,Pr=!1,di=!1,$c=!1,_r=0,et=0,Vr=0,Oa=0,Wc=0,vn=0,mi=0,_s=null,Zt=null,Jc=!1,ef=0,Zl=1/0,Xl=null,Yr=null,Tt=0,Zr=null,pi=null,gi=0,tf=0,nf=null,I0=null,vs=0,rf=null;function rn(){if((je&2)!==0&&Ne!==0)return Ne&-Ne;if(G.T!==null){var e=ri;return e!==0?e:ff()}return Hi()}function G0(){vn===0&&(vn=(Ne&536870912)===0||Be?ca():536870912);var e=_n.current;return e!==null&&(e.flags|=32),vn}function an(e,t,a){(e===Pe&&(He===2||He===9)||e.cancelPendingCommit!==null)&&(yi(e,0),Xr(e,Ne,vn,!1)),wn(e,a),((je&2)===0||e!==Pe)&&(e===Pe&&((je&2)===0&&(Oa|=a),et===4&&Xr(e,Ne,vn,!1)),Zn(e))}function q0(e,t,a){if((je&6)!==0)throw Error(s(327));var l=!a&&(t&124)===0&&(t&e.expiredLanes)===0||tr(e,t),o=l?f2(e,t):lf(e,t,!0),f=l;do{if(o===0){di&&!l&&Xr(e,t,0,!1);break}else{if(a=e.current.alternate,f&&!u2(a)){o=lf(e,t,!1),f=!1;continue}if(o===2){if(f=t,e.errorRecoveryDisabledLanes&f)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){t=p;e:{var v=e;o=_s;var w=v.current.memoizedState.isDehydrated;if(w&&(yi(v,p).flags|=256),p=lf(v,p,!1),p!==2){if($c&&!w){v.errorRecoveryDisabledLanes|=f,Oa|=f,o=4;break e}f=Zt,Zt=o,f!==null&&(Zt===null?Zt=f:Zt.push.apply(Zt,f))}o=p}if(f=!1,o!==2)continue}}if(o===1){yi(e,0),Xr(e,t,0,!0);break}e:{switch(l=e,f=o,f){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t)break;case 6:Xr(l,t,vn,!Pr);break e;case 2:Zt=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(o=ef+300-bt(),10<o)){if(Xr(l,t,vn,!Pr),Nr(l,0,!0)!==0)break e;l.timeoutHandle=yg(F0.bind(null,l,a,Zt,Xl,Jc,t,vn,Oa,mi,Pr,f,2,-0,0),o);break e}F0(l,a,Zt,Xl,Jc,t,vn,Oa,mi,Pr,f,0,-0,0)}}break}while(!0);Zn(e)}function F0(e,t,a,l,o,f,p,v,w,U,F,Y,j,z){if(e.timeoutHandle=-1,Y=t.subtreeFlags,(Y&8192||(Y&16785408)===16785408)&&(Os={stylesheets:null,count:0,unsuspend:P2},j0(t),Y=Y2(),Y!==null)){e.cancelPendingCommit=Y(K0.bind(null,e,t,f,a,l,o,p,v,w,F,1,j,z)),Xr(e,f,p,!U);return}K0(e,t,f,a,l,o,p,v,w)}function u2(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var o=a[l],f=o.getSnapshot;o=o.value;try{if(!Wt(f(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Xr(e,t,a,l){t&=~Wc,t&=~Oa,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var o=t;0<o;){var f=31-Ct(o),p=1<<f;l[f]=-1,o&=~p}a!==0&&il(e,a,t)}function Ql(){return(je&6)===0?(bs(0),!1):!0}function af(){if(Ae!==null){if(He===0)var e=Ae.return;else e=Ae,cr=ba=null,Ec(e),ui=null,cs=0,e=Ae;for(;e!==null;)S0(e.alternate,e),e=e.return;Ae=null}}function yi(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,w2(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),af(),Pe=e,Ae=a=lr(e.current,null),Ne=t,He=0,nn=null,Pr=!1,di=tr(e,t),$c=!1,mi=vn=Wc=Oa=Vr=et=0,Zt=_s=null,Jc=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var o=31-Ct(l),f=1<<o;t|=e[o],l&=~f}return _r=t,yl(),a}function P0(e,t){Ee=null,G.H=jl,t===ts||t===Ol?(t=lp(),He=3):t===ap?(t=lp(),He=4):He=t===o0?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,nn=t,Ae===null&&(et=1,Gl(e,mn(t,e.current)))}function V0(){var e=G.H;return G.H=jl,e===null?jl:e}function Y0(){var e=G.A;return G.A=l2,e}function sf(){et=4,Pr||(Ne&4194048)!==Ne&&_n.current!==null||(di=!0),(Vr&134217727)===0&&(Oa&134217727)===0||Pe===null||Xr(Pe,Ne,vn,!1)}function lf(e,t,a){var l=je;je|=2;var o=V0(),f=Y0();(Pe!==e||Ne!==t)&&(Xl=null,yi(e,t)),t=!1;var p=et;e:do try{if(He!==0&&Ae!==null){var v=Ae,w=nn;switch(He){case 8:af(),p=6;break e;case 3:case 2:case 9:case 6:_n.current===null&&(t=!0);var U=He;if(He=0,nn=null,_i(e,v,w,U),a&&di){p=0;break e}break;default:U=He,He=0,nn=null,_i(e,v,w,U)}}c2(),p=et;break}catch(F){P0(e,F)}while(!0);return t&&e.shellSuspendCounter++,cr=ba=null,je=l,G.H=o,G.A=f,Ae===null&&(Pe=null,Ne=0,yl()),p}function c2(){for(;Ae!==null;)Z0(Ae)}function f2(e,t){var a=je;je|=2;var l=V0(),o=Y0();Pe!==e||Ne!==t?(Xl=null,Zl=bt()+500,yi(e,t)):di=tr(e,t);e:do try{if(He!==0&&Ae!==null){t=Ae;var f=nn;t:switch(He){case 1:He=0,nn=null,_i(e,t,f,1);break;case 2:case 9:if(ip(f)){He=0,nn=null,X0(t);break}t=function(){He!==2&&He!==9||Pe!==e||(He=7),Zn(e)},f.then(t,t);break e;case 3:He=7;break e;case 4:He=5;break e;case 7:ip(f)?(He=0,nn=null,X0(t)):(He=0,nn=null,_i(e,t,f,7));break;case 5:var p=null;switch(Ae.tag){case 26:p=Ae.memoizedState;case 5:case 27:var v=Ae;if(!p||Cg(p)){He=0,nn=null;var w=v.sibling;if(w!==null)Ae=w;else{var U=v.return;U!==null?(Ae=U,Kl(U)):Ae=null}break t}}He=0,nn=null,_i(e,t,f,5);break;case 6:He=0,nn=null,_i(e,t,f,6);break;case 8:af(),et=6;break e;default:throw Error(s(462))}}h2();break}catch(F){P0(e,F)}while(!0);return cr=ba=null,G.H=l,G.A=o,je=a,Ae!==null?0:(Pe=null,Ne=0,yl(),et)}function h2(){for(;Ae!==null&&!Mi();)Z0(Ae)}function Z0(e){var t=b0(e.alternate,e,_r);e.memoizedProps=e.pendingProps,t===null?Kl(e):Ae=t}function X0(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=m0(a,t,t.pendingProps,t.type,void 0,Ne);break;case 11:t=m0(a,t,t.pendingProps,t.type.render,t.ref,Ne);break;case 5:Ec(t);default:S0(a,t),t=Ae=Qm(t,_r),t=b0(a,t,_r)}e.memoizedProps=e.pendingProps,t===null?Kl(e):Ae=t}function _i(e,t,a,l){cr=ba=null,Ec(t),ui=null,cs=0;var o=t.return;try{if(t2(e,o,t,a,Ne)){et=1,Gl(e,mn(a,e.current)),Ae=null;return}}catch(f){if(o!==null)throw Ae=o,f;et=1,Gl(e,mn(a,e.current)),Ae=null;return}t.flags&32768?(Be||l===1?e=!0:di||(Ne&536870912)!==0?e=!1:(Pr=e=!0,(l===2||l===9||l===3||l===6)&&(l=_n.current,l!==null&&l.tag===13&&(l.flags|=16384))),Q0(t,e)):Kl(t)}function Kl(e){var t=e;do{if((t.flags&32768)!==0){Q0(t,Pr);return}e=t.return;var a=r2(t.alternate,t,_r);if(a!==null){Ae=a;return}if(t=t.sibling,t!==null){Ae=t;return}Ae=t=e}while(t!==null);et===0&&(et=5)}function Q0(e,t){do{var a=a2(e.alternate,e);if(a!==null){a.flags&=32767,Ae=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Ae=e;return}Ae=e=a}while(e!==null);et=6,Ae=null}function K0(e,t,a,l,o,f,p,v,w){e.cancelPendingCommit=null;do $l();while(Tt!==0);if((je&6)!==0)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));if(f=t.lanes|t.childLanes,f|=Ku,wu(e,a,f,p,v,w),e===Pe&&(Ae=Pe=null,Ne=0),pi=t,Zr=e,gi=a,tf=f,nf=o,I0=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,g2(oa,function(){return tg(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=G.T,G.T=null,o=$.p,$.p=2,p=je,je|=4;try{i2(e,t,a)}finally{je=p,$.p=o,G.T=l}}Tt=1,$0(),W0(),J0()}}function $0(){if(Tt===1){Tt=0;var e=Zr,t=pi,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=G.T,G.T=null;var l=$.p;$.p=2;var o=je;je|=4;try{B0(t,e);var f=vf,p=km(e.containerInfo),v=f.focusedElem,w=f.selectionRange;if(p!==v&&v&&v.ownerDocument&&zm(v.ownerDocument.documentElement,v)){if(w!==null&&Vu(v)){var U=w.start,F=w.end;if(F===void 0&&(F=U),"selectionStart"in v)v.selectionStart=U,v.selectionEnd=Math.min(F,v.value.length);else{var Y=v.ownerDocument||document,j=Y&&Y.defaultView||window;if(j.getSelection){var z=j.getSelection(),ge=v.textContent.length,me=Math.min(w.start,ge),Ge=w.end===void 0?me:Math.min(w.end,ge);!z.extend&&me>Ge&&(p=Ge,Ge=me,me=p);var D=Hm(v,me),C=Hm(v,Ge);if(D&&C&&(z.rangeCount!==1||z.anchorNode!==D.node||z.anchorOffset!==D.offset||z.focusNode!==C.node||z.focusOffset!==C.offset)){var B=Y.createRange();B.setStart(D.node,D.offset),z.removeAllRanges(),me>Ge?(z.addRange(B),z.extend(C.node,C.offset)):(B.setEnd(C.node,C.offset),z.addRange(B))}}}}for(Y=[],z=v;z=z.parentNode;)z.nodeType===1&&Y.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<Y.length;v++){var P=Y[v];P.element.scrollLeft=P.left,P.element.scrollTop=P.top}}uo=!!_f,vf=_f=null}finally{je=o,$.p=l,G.T=a}}e.current=t,Tt=2}}function W0(){if(Tt===2){Tt=0;var e=Zr,t=pi,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=G.T,G.T=null;var l=$.p;$.p=2;var o=je;je|=4;try{C0(e,t.alternate,t)}finally{je=o,$.p=l,G.T=a}}Tt=3}}function J0(){if(Tt===4||Tt===3){Tt=0,Di();var e=Zr,t=pi,a=gi,l=I0;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Tt=5:(Tt=0,pi=Zr=null,eg(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(Yr=null),ji(a),t=t.stateNode,Rt&&typeof Rt.onCommitFiberRoot=="function")try{Rt.onCommitFiberRoot(fn,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=G.T,o=$.p,$.p=2,G.T=null;try{for(var f=e.onRecoverableError,p=0;p<l.length;p++){var v=l[p];f(v.value,{componentStack:v.stack})}}finally{G.T=t,$.p=o}}(gi&3)!==0&&$l(),Zn(e),o=e.pendingLanes,(a&4194090)!==0&&(o&42)!==0?e===rf?vs++:(vs=0,rf=e):vs=0,bs(0)}}function eg(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ji(t)))}function $l(e){return $0(),W0(),J0(),tg()}function tg(){if(Tt!==5)return!1;var e=Zr,t=tf;tf=0;var a=ji(gi),l=G.T,o=$.p;try{$.p=32>a?32:a,G.T=null,a=nf,nf=null;var f=Zr,p=gi;if(Tt=0,pi=Zr=null,gi=0,(je&6)!==0)throw Error(s(331));var v=je;if(je|=4,z0(f.current),U0(f,f.current,p,a),je=v,bs(0,!1),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(fn,f)}catch{}return!0}finally{$.p=o,G.T=l,eg(e,t)}}function ng(e,t,a){t=mn(a,t),t=Uc(e.stateNode,t,2),e=Hr(e,t,2),e!==null&&(wn(e,2),Zn(e))}function qe(e,t,a){if(e.tag===3)ng(e,e,a);else for(;t!==null;){if(t.tag===3){ng(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Yr===null||!Yr.has(l))){e=mn(a,e),a=s0(2),l=Hr(t,a,2),l!==null&&(l0(a,l,t,e),wn(l,2),Zn(l));break}}t=t.return}}function of(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new o2;var o=new Set;l.set(t,o)}else o=l.get(t),o===void 0&&(o=new Set,l.set(t,o));o.has(a)||($c=!0,o.add(a),e=d2.bind(null,e,t,a),t.then(e,e))}function d2(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Pe===e&&(Ne&a)===a&&(et===4||et===3&&(Ne&62914560)===Ne&&300>bt()-ef?(je&2)===0&&yi(e,0):Wc|=a,mi===Ne&&(mi=0)),Zn(e)}function rg(e,t){t===0&&(t=fa()),e=Ja(e,t),e!==null&&(wn(e,t),Zn(e))}function m2(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),rg(e,a)}function p2(e,t){var a=0;switch(e.tag){case 13:var l=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(s(314))}l!==null&&l.delete(t),rg(e,a)}function g2(e,t){return It(e,t)}var Wl=null,vi=null,uf=!1,Jl=!1,cf=!1,wa=0;function Zn(e){e!==vi&&e.next===null&&(vi===null?Wl=vi=e:vi=vi.next=e),Jl=!0,uf||(uf=!0,_2())}function bs(e,t){if(!cf&&Jl){cf=!0;do for(var a=!1,l=Wl;l!==null;){if(e!==0){var o=l.pendingLanes;if(o===0)var f=0;else{var p=l.suspendedLanes,v=l.pingedLanes;f=(1<<31-Ct(42|e)+1)-1,f&=o&~(p&~v),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(a=!0,lg(l,f))}else f=Ne,f=Nr(l,l===Pe?f:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(f&3)===0||tr(l,f)||(a=!0,lg(l,f));l=l.next}while(a);cf=!1}}function y2(){ag()}function ag(){Jl=uf=!1;var e=0;wa!==0&&(O2()&&(e=wa),wa=0);for(var t=bt(),a=null,l=Wl;l!==null;){var o=l.next,f=ig(l,t);f===0?(l.next=null,a===null?Wl=o:a.next=o,o===null&&(vi=a)):(a=l,(e!==0||(f&3)!==0)&&(Jl=!0)),l=o}bs(e)}function ig(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,o=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var p=31-Ct(f),v=1<<p,w=o[p];w===-1?((v&a)===0||(v&l)!==0)&&(o[p]=Ou(v,t)):w<=t&&(e.expiredLanes|=v),f&=~v}if(t=Pe,a=Ne,a=Nr(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&&(He===2||He===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&xn(l),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||tr(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(l!==null&&xn(l),ji(a)){case 2:case 8:a=Bi;break;case 32:a=oa;break;case 268435456:a=qa;break;default:a=oa}return l=sg.bind(null,e),a=It(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&&l!==null&&xn(l),e.callbackPriority=2,e.callbackNode=null,2}function sg(e,t){if(Tt!==0&&Tt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if($l()&&e.callbackNode!==a)return null;var l=Ne;return l=Nr(e,e===Pe?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(q0(e,l,t),ig(e,bt()),e.callbackNode!=null&&e.callbackNode===a?sg.bind(null,e):null)}function lg(e,t){if($l())return null;q0(e,t,!0)}function _2(){R2(function(){(je&6)!==0?It(la,y2):ag()})}function ff(){return wa===0&&(wa=ca()),wa}function og(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:cl(""+e)}function ug(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function v2(e,t,a,l,o){if(t==="submit"&&a&&a.stateNode===o){var f=og((o[Nt]||null).action),p=l.submitter;p&&(t=(t=p[Nt]||null)?og(t.formAction):p.getAttribute("formAction"),t!==null&&(f=t,p=null));var v=new ml("action","action",null,l,o);e.push({event:v,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(wa!==0){var w=p?ug(o,p):new FormData(o);Nc(a,{pending:!0,data:w,method:o.method,action:f},null,w)}}else typeof f=="function"&&(v.preventDefault(),w=p?ug(o,p):new FormData(o),Nc(a,{pending:!0,data:w,method:o.method,action:f},f,w))},currentTarget:o}]})}}for(var hf=0;hf<Qu.length;hf++){var df=Qu[hf],b2=df.toLowerCase(),E2=df[0].toUpperCase()+df.slice(1);Cn(b2,"on"+E2)}Cn(qm,"onAnimationEnd"),Cn(Fm,"onAnimationIteration"),Cn(Pm,"onAnimationStart"),Cn("dblclick","onDoubleClick"),Cn("focusin","onFocus"),Cn("focusout","onBlur"),Cn(zE,"onTransitionRun"),Cn(kE,"onTransitionStart"),Cn(IE,"onTransitionCancel"),Cn(Vm,"onTransitionEnd"),te("onMouseEnter",["mouseout","mouseover"]),te("onMouseLeave",["mouseout","mouseover"]),te("onPointerEnter",["pointerout","pointerover"]),te("onPointerLeave",["pointerout","pointerover"]),Q("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Q("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Q("onBeforeInput",["compositionend","keypress","textInput","paste"]),Q("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Q("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Q("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Es="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(" "),S2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Es));function cg(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var l=e[a],o=l.event;l=l.listeners;e:{var f=void 0;if(t)for(var p=l.length-1;0<=p;p--){var v=l[p],w=v.instance,U=v.currentTarget;if(v=v.listener,w!==f&&o.isPropagationStopped())break e;f=v,o.currentTarget=U;try{f(o)}catch(F){Il(F)}o.currentTarget=null,f=w}else for(p=0;p<l.length;p++){if(v=l[p],w=v.instance,U=v.currentTarget,v=v.listener,w!==f&&o.isPropagationStopped())break e;f=v,o.currentTarget=U;try{f(o)}catch(F){Il(F)}o.currentTarget=null,f=w}}}}function xe(e,t){var a=t[Gn];a===void 0&&(a=t[Gn]=new Set);var l=e+"__bubble";a.has(l)||(fg(t,e,2,!1),a.add(l))}function mf(e,t,a){var l=0;t&&(l|=4),fg(a,e,l,t)}var eo="_reactListening"+Math.random().toString(36).slice(2);function pf(e){if(!e[eo]){e[eo]=!0,ue.forEach(function(a){a!=="selectionchange"&&(S2.has(a)||mf(a,!1,e),mf(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[eo]||(t[eo]=!0,mf("selectionchange",!1,t))}}function fg(e,t,a,l){switch(Ug(t)){case 2:var o=Q2;break;case 8:o=K2;break;default:o=Cf}a=o.bind(null,t,a,e),o=void 0,!ju||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),l?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function gf(e,t,a,l,o){var f=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var p=l.tag;if(p===3||p===4){var v=l.stateNode.containerInfo;if(v===o)break;if(p===4)for(p=l.return;p!==null;){var w=p.tag;if((w===3||w===4)&&p.stateNode.containerInfo===o)return;p=p.return}for(;v!==null;){if(p=nr(v),p===null)return;if(w=p.tag,w===5||w===6||w===26||w===27){l=f=p;continue e}v=v.parentNode}}l=l.return}_m(function(){var U=f,F=Lu(a),Y=[];e:{var j=Ym.get(e);if(j!==void 0){var z=ml,ge=e;switch(e){case"keypress":if(hl(a)===0)break e;case"keydown":case"keyup":z=gE;break;case"focusin":ge="focus",z=Iu;break;case"focusout":ge="blur",z=Iu;break;case"beforeblur":case"afterblur":z=Iu;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=Em;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=aE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=vE;break;case qm:case Fm:case Pm:z=lE;break;case Vm:z=EE;break;case"scroll":case"scrollend":z=nE;break;case"wheel":z=TE;break;case"copy":case"cut":case"paste":z=uE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=Tm;break;case"toggle":case"beforetoggle":z=xE}var me=(t&4)!==0,Ge=!me&&(e==="scroll"||e==="scrollend"),D=me?j!==null?j+"Capture":null:j;me=[];for(var C=U,B;C!==null;){var P=C;if(B=P.stateNode,P=P.tag,P!==5&&P!==26&&P!==27||B===null||D===null||(P=Ii(C,D),P!=null&&me.push(Ss(C,P,B))),Ge)break;C=C.return}0<me.length&&(j=new z(j,ge,null,a,F),Y.push({event:j,listeners:me}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",z=e==="mouseout"||e==="pointerout",j&&a!==Bu&&(ge=a.relatedTarget||a.fromElement)&&(nr(ge)||ge[Et]))break e;if((z||j)&&(j=F.window===F?F:(j=F.ownerDocument)?j.defaultView||j.parentWindow:window,z?(ge=a.relatedTarget||a.toElement,z=U,ge=ge?nr(ge):null,ge!==null&&(Ge=c(ge),me=ge.tag,ge!==Ge||me!==5&&me!==27&&me!==6)&&(ge=null)):(z=null,ge=U),z!==ge)){if(me=Em,P="onMouseLeave",D="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(me=Tm,P="onPointerLeave",D="onPointerEnter",C="pointer"),Ge=z==null?j:Dr(z),B=ge==null?j:Dr(ge),j=new me(P,C+"leave",z,a,F),j.target=Ge,j.relatedTarget=B,P=null,nr(F)===U&&(me=new me(D,C+"enter",ge,a,F),me.target=B,me.relatedTarget=Ge,P=me),Ge=P,z&&ge)t:{for(me=z,D=ge,C=0,B=me;B;B=bi(B))C++;for(B=0,P=D;P;P=bi(P))B++;for(;0<C-B;)me=bi(me),C--;for(;0<B-C;)D=bi(D),B--;for(;C--;){if(me===D||D!==null&&me===D.alternate)break t;me=bi(me),D=bi(D)}me=null}else me=null;z!==null&&hg(Y,j,z,me,!1),ge!==null&&Ge!==null&&hg(Y,Ge,ge,me,!0)}}e:{if(j=U?Dr(U):window,z=j.nodeName&&j.nodeName.toLowerCase(),z==="select"||z==="input"&&j.type==="file")var ae=Mm;else if(Cm(j))if(Dm)ae=UE;else{ae=BE;var Se=DE}else z=j.nodeName,!z||z.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?U&&Du(U.elementType)&&(ae=Mm):ae=LE;if(ae&&(ae=ae(e,U))){Nm(Y,ae,a,F);break e}Se&&Se(e,j,U),e==="focusout"&&U&&j.type==="number"&&U.memoizedProps.value!=null&&Mu(j,"number",j.value)}switch(Se=U?Dr(U):window,e){case"focusin":(Cm(Se)||Se.contentEditable==="true")&&(Ka=Se,Yu=U,Xi=null);break;case"focusout":Xi=Yu=Ka=null;break;case"mousedown":Zu=!0;break;case"contextmenu":case"mouseup":case"dragend":Zu=!1,Im(Y,a,F);break;case"selectionchange":if(HE)break;case"keydown":case"keyup":Im(Y,a,F)}var ce;if(qu)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else Qa?wm(e,a)&&(pe="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(pe="onCompositionStart");pe&&(Am&&a.locale!=="ko"&&(Qa||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&Qa&&(ce=vm()):(Br=F,Hu="value"in Br?Br.value:Br.textContent,Qa=!0)),Se=to(U,pe),0<Se.length&&(pe=new Sm(pe,e,null,a,F),Y.push({event:pe,listeners:Se}),ce?pe.data=ce:(ce=Rm(a),ce!==null&&(pe.data=ce)))),(ce=wE?RE(e,a):CE(e,a))&&(pe=to(U,"onBeforeInput"),0<pe.length&&(Se=new Sm("onBeforeInput","beforeinput",null,a,F),Y.push({event:Se,listeners:pe}),Se.data=ce)),v2(Y,e,U,a,F)}cg(Y,t)})}function Ss(e,t,a){return{instance:e,listener:t,currentTarget:a}}function to(e,t){for(var a=t+"Capture",l=[];e!==null;){var o=e,f=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||f===null||(o=Ii(e,a),o!=null&&l.unshift(Ss(e,o,f)),o=Ii(e,t),o!=null&&l.push(Ss(e,o,f))),e.tag===3)return l;e=e.return}return[]}function bi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function hg(e,t,a,l,o){for(var f=t._reactName,p=[];a!==null&&a!==l;){var v=a,w=v.alternate,U=v.stateNode;if(v=v.tag,w!==null&&w===l)break;v!==5&&v!==26&&v!==27||U===null||(w=U,o?(U=Ii(a,f),U!=null&&p.unshift(Ss(a,U,w))):o||(U=Ii(a,f),U!=null&&p.push(Ss(a,U,w)))),a=a.return}p.length!==0&&e.push({event:t,listeners:p})}var T2=/\r\n?/g,A2=/\u0000|\uFFFD/g;function dg(e){return(typeof e=="string"?e:""+e).replace(T2,`
|
|
49
|
+
`).replace(A2,"")}function mg(e,t){return t=dg(t),dg(e)===t}function no(){}function Ie(e,t,a,l,o,f){switch(a){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Ya(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Ya(e,""+l);break;case"className":qn(e,"class",l);break;case"tabIndex":qn(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":qn(e,a,l);break;case"style":gm(e,l,f);break;case"data":if(t!=="object"){qn(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=cl(""+l),e.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(a==="formAction"?(t!=="input"&&Ie(e,t,"name",o.name,o,null),Ie(e,t,"formEncType",o.formEncType,o,null),Ie(e,t,"formMethod",o.formMethod,o,null),Ie(e,t,"formTarget",o.formTarget,o,null)):(Ie(e,t,"encType",o.encType,o,null),Ie(e,t,"method",o.method,o,null),Ie(e,t,"target",o.target,o,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=cl(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=no);break;case"onScroll":l!=null&&xe("scroll",e);break;case"onScrollEnd":l!=null&&xe("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(a=l.__html,a!=null){if(o.children!=null)throw Error(s(60));e.innerHTML=a}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}a=cl(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""+l):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":l===!0?e.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,l):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(a,l):e.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case"popover":xe("beforetoggle",e),xe("toggle",e),Ft(e,"popover",l);break;case"xlinkActuate":$t(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":$t(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":$t(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":$t(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":$t(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":$t(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":$t(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":$t(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":$t(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Ft(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=eE.get(a)||a,Ft(e,a,l))}}function yf(e,t,a,l,o,f){switch(a){case"style":gm(e,l,f);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(a=l.__html,a!=null){if(o.children!=null)throw Error(s(60));e.innerHTML=a}}break;case"children":typeof l=="string"?Ya(e,l):(typeof l=="number"||typeof l=="bigint")&&Ya(e,""+l);break;case"onScroll":l!=null&&xe("scroll",e);break;case"onScrollEnd":l!=null&&xe("scrollend",e);break;case"onClick":l!=null&&(e.onclick=no);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!N.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),t=a.slice(2,o?a.length-7:void 0),f=e[Nt]||null,f=f!=null?f[a]:null,typeof f=="function"&&e.removeEventListener(t,f,o),typeof l=="function")){typeof f!="function"&&f!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,l,o);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,""):Ft(e,a,l)}}}function At(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":xe("error",e),xe("load",e);var l=!1,o=!1,f;for(f in a)if(a.hasOwnProperty(f)){var p=a[f];if(p!=null)switch(f){case"src":l=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Ie(e,t,f,p,a,null)}}o&&Ie(e,t,"srcSet",a.srcSet,a,null),l&&Ie(e,t,"src",a.src,a,null);return;case"input":xe("invalid",e);var v=f=p=o=null,w=null,U=null;for(l in a)if(a.hasOwnProperty(l)){var F=a[l];if(F!=null)switch(l){case"name":o=F;break;case"type":p=F;break;case"checked":w=F;break;case"defaultChecked":U=F;break;case"value":f=F;break;case"defaultValue":v=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(s(137,t));break;default:Ie(e,t,l,F,a,null)}}hm(e,f,v,w,U,p,o,!1),ol(e);return;case"select":xe("invalid",e),l=p=f=null;for(o in a)if(a.hasOwnProperty(o)&&(v=a[o],v!=null))switch(o){case"value":f=v;break;case"defaultValue":p=v;break;case"multiple":l=v;default:Ie(e,t,o,v,a,null)}t=f,a=p,e.multiple=!!l,t!=null?Va(e,!!l,t,!1):a!=null&&Va(e,!!l,a,!0);return;case"textarea":xe("invalid",e),f=o=l=null;for(p in a)if(a.hasOwnProperty(p)&&(v=a[p],v!=null))switch(p){case"value":l=v;break;case"defaultValue":o=v;break;case"children":f=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(s(91));break;default:Ie(e,t,p,v,a,null)}mm(e,l,o,f),ol(e);return;case"option":for(w in a)if(a.hasOwnProperty(w)&&(l=a[w],l!=null))switch(w){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ie(e,t,w,l,a,null)}return;case"dialog":xe("beforetoggle",e),xe("toggle",e),xe("cancel",e),xe("close",e);break;case"iframe":case"object":xe("load",e);break;case"video":case"audio":for(l=0;l<Es.length;l++)xe(Es[l],e);break;case"image":xe("error",e),xe("load",e);break;case"details":xe("toggle",e);break;case"embed":case"source":case"link":xe("error",e),xe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(U in a)if(a.hasOwnProperty(U)&&(l=a[U],l!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Ie(e,t,U,l,a,null)}return;default:if(Du(t)){for(F in a)a.hasOwnProperty(F)&&(l=a[F],l!==void 0&&yf(e,t,F,l,a,void 0));return}}for(v in a)a.hasOwnProperty(v)&&(l=a[v],l!=null&&Ie(e,t,v,l,a,null))}function x2(e,t,a,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,f=null,p=null,v=null,w=null,U=null,F=null;for(z in a){var Y=a[z];if(a.hasOwnProperty(z)&&Y!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":w=Y;default:l.hasOwnProperty(z)||Ie(e,t,z,null,l,Y)}}for(var j in l){var z=l[j];if(Y=a[j],l.hasOwnProperty(j)&&(z!=null||Y!=null))switch(j){case"type":f=z;break;case"name":o=z;break;case"checked":U=z;break;case"defaultChecked":F=z;break;case"value":p=z;break;case"defaultValue":v=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(s(137,t));break;default:z!==Y&&Ie(e,t,j,z,l,Y)}}Nu(e,p,v,w,U,F,f,o);return;case"select":z=p=v=j=null;for(f in a)if(w=a[f],a.hasOwnProperty(f)&&w!=null)switch(f){case"value":break;case"multiple":z=w;default:l.hasOwnProperty(f)||Ie(e,t,f,null,l,w)}for(o in l)if(f=l[o],w=a[o],l.hasOwnProperty(o)&&(f!=null||w!=null))switch(o){case"value":j=f;break;case"defaultValue":v=f;break;case"multiple":p=f;default:f!==w&&Ie(e,t,o,f,l,w)}t=v,a=p,l=z,j!=null?Va(e,!!a,j,!1):!!l!=!!a&&(t!=null?Va(e,!!a,t,!0):Va(e,!!a,a?[]:"",!1));return;case"textarea":z=j=null;for(v in a)if(o=a[v],a.hasOwnProperty(v)&&o!=null&&!l.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Ie(e,t,v,null,l,o)}for(p in l)if(o=l[p],f=a[p],l.hasOwnProperty(p)&&(o!=null||f!=null))switch(p){case"value":j=o;break;case"defaultValue":z=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(s(91));break;default:o!==f&&Ie(e,t,p,o,l,f)}dm(e,j,z);return;case"option":for(var ge in a)if(j=a[ge],a.hasOwnProperty(ge)&&j!=null&&!l.hasOwnProperty(ge))switch(ge){case"selected":e.selected=!1;break;default:Ie(e,t,ge,null,l,j)}for(w in l)if(j=l[w],z=a[w],l.hasOwnProperty(w)&&j!==z&&(j!=null||z!=null))switch(w){case"selected":e.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:Ie(e,t,w,j,l,z)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var me in a)j=a[me],a.hasOwnProperty(me)&&j!=null&&!l.hasOwnProperty(me)&&Ie(e,t,me,null,l,j);for(U in l)if(j=l[U],z=a[U],l.hasOwnProperty(U)&&j!==z&&(j!=null||z!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(s(137,t));break;default:Ie(e,t,U,j,l,z)}return;default:if(Du(t)){for(var Ge in a)j=a[Ge],a.hasOwnProperty(Ge)&&j!==void 0&&!l.hasOwnProperty(Ge)&&yf(e,t,Ge,void 0,l,j);for(F in l)j=l[F],z=a[F],!l.hasOwnProperty(F)||j===z||j===void 0&&z===void 0||yf(e,t,F,j,l,z);return}}for(var D in a)j=a[D],a.hasOwnProperty(D)&&j!=null&&!l.hasOwnProperty(D)&&Ie(e,t,D,null,l,j);for(Y in l)j=l[Y],z=a[Y],!l.hasOwnProperty(Y)||j===z||j==null&&z==null||Ie(e,t,Y,j,l,z)}var _f=null,vf=null;function ro(e){return e.nodeType===9?e:e.ownerDocument}function pg(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function gg(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function bf(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ef=null;function O2(){var e=window.event;return e&&e.type==="popstate"?e===Ef?!1:(Ef=e,!0):(Ef=null,!1)}var yg=typeof setTimeout=="function"?setTimeout:void 0,w2=typeof clearTimeout=="function"?clearTimeout:void 0,_g=typeof Promise=="function"?Promise:void 0,R2=typeof queueMicrotask=="function"?queueMicrotask:typeof _g<"u"?function(e){return _g.resolve(null).then(e).catch(C2)}:yg;function C2(e){setTimeout(function(){throw e})}function Qr(e){return e==="head"}function vg(e,t){var a=t,l=0,o=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"){if(0<l&&8>l){a=l;var p=e.ownerDocument;if(a&1&&Ts(p.documentElement),a&2&&Ts(p.body),a&4)for(a=p.head,Ts(a),p=a.firstChild;p;){var v=p.nextSibling,w=p.nodeName;p[Mr]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&p.rel.toLowerCase()==="stylesheet"||a.removeChild(p),p=v}}if(o===0){e.removeChild(f),Ms(t);return}o--}else a==="$"||a==="$?"||a==="$!"?o++:l=a.charCodeAt(0)-48;else l=0;a=f}while(a);Ms(t)}function Sf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Sf(a),Kt(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function N2(e,t,a,l){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Mr])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(f=e.getAttribute("rel"),f==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(f!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var f=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=Mn(e.nextSibling),e===null)break}return null}function M2(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Mn(e.nextSibling),e===null))return null;return e}function Tf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function D2(e,t){var a=e.ownerDocument;if(e.data!=="$?"||a.readyState==="complete")t();else{var l=function(){t(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Mn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var Af=null;function bg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return e;t--}else a==="/$"&&t++}e=e.previousSibling}return null}function Eg(e,t,a){switch(t=ro(a),e){case"html":if(e=t.documentElement,!e)throw Error(s(452));return e;case"head":if(e=t.head,!e)throw Error(s(453));return e;case"body":if(e=t.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function Ts(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Kt(e)}var bn=new Map,Sg=new Set;function ao(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var vr=$.d;$.d={f:B2,r:L2,D:U2,C:j2,L:H2,m:z2,X:I2,S:k2,M:G2};function B2(){var e=vr.f(),t=Ql();return e||t}function L2(e){var t=rr(e);t!==null&&t.tag===5&&t.type==="form"?qp(t):vr.r(e)}var Ei=typeof document>"u"?null:document;function Tg(e,t,a){var l=Ei;if(l&&typeof t=="string"&&t){var o=dn(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),Sg.has(o)||(Sg.add(o),e={rel:e,crossOrigin:a,href:t},l.querySelector(o)===null&&(t=l.createElement("link"),At(t,"link",e),it(t),l.head.appendChild(t)))}}function U2(e){vr.D(e),Tg("dns-prefetch",e,null)}function j2(e,t){vr.C(e,t),Tg("preconnect",e,t)}function H2(e,t,a){vr.L(e,t,a);var l=Ei;if(l&&e&&t){var o='link[rel="preload"][as="'+dn(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+dn(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+dn(a.imageSizes)+'"]')):o+='[href="'+dn(e)+'"]';var f=o;switch(t){case"style":f=Si(e);break;case"script":f=Ti(e)}bn.has(f)||(e=y({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),bn.set(f,e),l.querySelector(o)!==null||t==="style"&&l.querySelector(As(f))||t==="script"&&l.querySelector(xs(f))||(t=l.createElement("link"),At(t,"link",e),it(t),l.head.appendChild(t)))}}function z2(e,t){vr.m(e,t);var a=Ei;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+dn(l)+'"][href="'+dn(e)+'"]',f=o;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Ti(e)}if(!bn.has(f)&&(e=y({rel:"modulepreload",href:e},t),bn.set(f,e),a.querySelector(o)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(xs(f)))return}l=a.createElement("link"),At(l,"link",e),it(l),a.head.appendChild(l)}}}function k2(e,t,a){vr.S(e,t,a);var l=Ei;if(l&&e){var o=ar(l).hoistableStyles,f=Si(e);t=t||"default";var p=o.get(f);if(!p){var v={loading:0,preload:null};if(p=l.querySelector(As(f)))v.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},a),(a=bn.get(f))&&xf(e,a);var w=p=l.createElement("link");it(w),At(w,"link",e),w._p=new Promise(function(U,F){w.onload=U,w.onerror=F}),w.addEventListener("load",function(){v.loading|=1}),w.addEventListener("error",function(){v.loading|=2}),v.loading|=4,io(p,t,l)}p={type:"stylesheet",instance:p,count:1,state:v},o.set(f,p)}}}function I2(e,t){vr.X(e,t);var a=Ei;if(a&&e){var l=ar(a).hoistableScripts,o=Ti(e),f=l.get(o);f||(f=a.querySelector(xs(o)),f||(e=y({src:e,async:!0},t),(t=bn.get(o))&&Of(e,t),f=a.createElement("script"),it(f),At(f,"link",e),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},l.set(o,f))}}function G2(e,t){vr.M(e,t);var a=Ei;if(a&&e){var l=ar(a).hoistableScripts,o=Ti(e),f=l.get(o);f||(f=a.querySelector(xs(o)),f||(e=y({src:e,async:!0,type:"module"},t),(t=bn.get(o))&&Of(e,t),f=a.createElement("script"),it(f),At(f,"link",e),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},l.set(o,f))}}function Ag(e,t,a,l){var o=(o=he.current)?ao(o):null;if(!o)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Si(a.href),a=ar(o).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Si(a.href);var f=ar(o).hoistableStyles,p=f.get(e);if(p||(o=o.ownerDocument||o,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(e,p),(f=o.querySelector(As(e)))&&!f._p&&(p.instance=f,p.state.loading=5),bn.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},bn.set(e,a),f||q2(o,e,a,p.state))),t&&l===null)throw Error(s(528,""));return p}if(t&&l!==null)throw Error(s(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ti(a),a=ar(o).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function Si(e){return'href="'+dn(e)+'"'}function As(e){return'link[rel="stylesheet"]['+e+"]"}function xg(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function q2(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),At(t,"link",a),it(t),e.head.appendChild(t))}function Ti(e){return'[src="'+dn(e)+'"]'}function xs(e){return"script[async]"+e}function Og(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+dn(a.href)+'"]');if(l)return t.instance=l,it(l),l;var o=y({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),it(l),At(l,"style",o),io(l,a.precedence,e),t.instance=l;case"stylesheet":o=Si(a.href);var f=e.querySelector(As(o));if(f)return t.state.loading|=4,t.instance=f,it(f),f;l=xg(a),(o=bn.get(o))&&xf(l,o),f=(e.ownerDocument||e).createElement("link"),it(f);var p=f;return p._p=new Promise(function(v,w){p.onload=v,p.onerror=w}),At(f,"link",l),t.state.loading|=4,io(f,a.precedence,e),t.instance=f;case"script":return f=Ti(a.src),(o=e.querySelector(xs(f)))?(t.instance=o,it(o),o):(l=a,(o=bn.get(f))&&(l=y({},a),Of(l,o)),e=e.ownerDocument||e,o=e.createElement("script"),it(o),At(o,"link",l),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,io(l,a.precedence,e));return t.instance}function io(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=l.length?l[l.length-1]:null,f=o,p=0;p<l.length;p++){var v=l[p];if(v.dataset.precedence===t)f=v;else if(f!==o)break}f?f.parentNode.insertBefore(e,f.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function xf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Of(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var so=null;function wg(e,t,a){if(so===null){var l=new Map,o=so=new Map;o.set(a,l)}else o=so,l=o.get(a),l||(l=new Map,o.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var f=a[o];if(!(f[Mr]||f[ft]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var p=f.getAttribute(t)||"";p=e+p;var v=l.get(p);v?v.push(f):l.set(p,[f])}}return l}function Rg(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function F2(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Cg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var Os=null;function P2(){}function V2(e,t,a){if(Os===null)throw Error(s(475));var l=Os;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var o=Si(a.href),f=e.querySelector(As(o));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=lo.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=f,it(f);return}f=e.ownerDocument||e,a=xg(a),(o=bn.get(o))&&xf(a,o),f=f.createElement("link"),it(f);var p=f;p._p=new Promise(function(v,w){p.onload=v,p.onerror=w}),At(f,"link",a),t.instance=f}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(l.count++,t=lo.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}function Y2(){if(Os===null)throw Error(s(475));var e=Os;return e.stylesheets&&e.count===0&&wf(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&wf(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function lo(){if(this.count--,this.count===0){if(this.stylesheets)wf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var oo=null;function wf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,oo=new Map,t.forEach(Z2,e),oo=null,lo.call(e))}function Z2(e,t){if(!(t.state.loading&4)){var a=oo.get(e);if(a)var l=a.get(null);else{a=new Map,oo.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<o.length;f++){var p=o[f];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(a.set(p.dataset.precedence,p),l=p)}l&&a.set(null,l)}o=t.instance,p=o.getAttribute("data-precedence"),f=a.get(p)||l,f===l&&a.set(null,o),a.set(p,o),this.count++,l=lo.bind(this),o.addEventListener("load",l),o.addEventListener("error",l),f?f.parentNode.insertBefore(o,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var ws={$$typeof:b,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function X2(e,t,a,l,o,f,p,v){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ui(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ui(0),this.hiddenUpdates=Ui(null),this.identifierPrefix=l,this.onUncaughtError=o,this.onCaughtError=f,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=v,this.incompleteTransitions=new Map}function Ng(e,t,a,l,o,f,p,v,w,U,F,Y){return e=new X2(e,t,a,p,v,w,U,Y),t=1,f===!0&&(t|=24),f=Jt(3,null,null,t),e.current=f,f.stateNode=e,t=lc(),t.refCount++,e.pooledCache=t,t.refCount++,f.memoizedState={element:l,isDehydrated:a,cache:t},fc(f),e}function Mg(e){return e?(e=ei,e):ei}function Dg(e,t,a,l,o,f){o=Mg(o),l.context===null?l.context=o:l.pendingContext=o,l=jr(t),l.payload={element:a},f=f===void 0?null:f,f!==null&&(l.callback=f),a=Hr(e,l,t),a!==null&&(an(a,e,t),rs(a,e,t))}function Bg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Rf(e,t){Bg(e,t),(e=e.alternate)&&Bg(e,t)}function Lg(e){if(e.tag===13){var t=Ja(e,67108864);t!==null&&an(t,e,67108864),Rf(e,67108864)}}var uo=!0;function Q2(e,t,a,l){var o=G.T;G.T=null;var f=$.p;try{$.p=2,Cf(e,t,a,l)}finally{$.p=f,G.T=o}}function K2(e,t,a,l){var o=G.T;G.T=null;var f=$.p;try{$.p=8,Cf(e,t,a,l)}finally{$.p=f,G.T=o}}function Cf(e,t,a,l){if(uo){var o=Nf(l);if(o===null)gf(e,t,l,co,a),jg(e,l);else if(W2(o,e,t,a,l))l.stopPropagation();else if(jg(e,l),t&4&&-1<$2.indexOf(e)){for(;o!==null;){var f=rr(o);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var p=qt(f.pendingLanes);if(p!==0){var v=f;for(v.pendingLanes|=2,v.entangledLanes|=2;p;){var w=1<<31-Ct(p);v.entanglements[1]|=w,p&=~w}Zn(f),(je&6)===0&&(Zl=bt()+500,bs(0))}}break;case 13:v=Ja(f,2),v!==null&&an(v,f,2),Ql(),Rf(f,2)}if(f=Nf(l),f===null&&gf(e,t,l,co,a),f===o)break;o=f}o!==null&&l.stopPropagation()}else gf(e,t,l,null,a)}}function Nf(e){return e=Lu(e),Mf(e)}var co=null;function Mf(e){if(co=null,e=nr(e),e!==null){var t=c(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=h(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return co=e,null}function Ug(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ga()){case la:return 2;case Bi:return 8;case oa:case xu:return 32;case qa:return 268435456;default:return 32}default:return 32}}var Df=!1,Kr=null,$r=null,Wr=null,Rs=new Map,Cs=new Map,Jr=[],$2="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".split(" ");function jg(e,t){switch(e){case"focusin":case"focusout":Kr=null;break;case"dragenter":case"dragleave":$r=null;break;case"mouseover":case"mouseout":Wr=null;break;case"pointerover":case"pointerout":Rs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Cs.delete(t.pointerId)}}function Ns(e,t,a,l,o,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:f,targetContainers:[o]},t!==null&&(t=rr(t),t!==null&&Lg(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function W2(e,t,a,l,o){switch(t){case"focusin":return Kr=Ns(Kr,e,t,a,l,o),!0;case"dragenter":return $r=Ns($r,e,t,a,l,o),!0;case"mouseover":return Wr=Ns(Wr,e,t,a,l,o),!0;case"pointerover":var f=o.pointerId;return Rs.set(f,Ns(Rs.get(f)||null,e,t,a,l,o)),!0;case"gotpointercapture":return f=o.pointerId,Cs.set(f,Ns(Cs.get(f)||null,e,t,a,l,o)),!0}return!1}function Hg(e){var t=nr(e.target);if(t!==null){var a=c(t);if(a!==null){if(t=a.tag,t===13){if(t=h(a),t!==null){e.blockedOn=t,zi(e.priority,function(){if(a.tag===13){var l=rn();l=In(l);var o=Ja(a,l);o!==null&&an(o,a,l),Rf(a,l)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Nf(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);Bu=l,a.target.dispatchEvent(l),Bu=null}else return t=rr(a),t!==null&&Lg(t),e.blockedOn=a,!1;t.shift()}return!0}function zg(e,t,a){fo(e)&&a.delete(t)}function J2(){Df=!1,Kr!==null&&fo(Kr)&&(Kr=null),$r!==null&&fo($r)&&($r=null),Wr!==null&&fo(Wr)&&(Wr=null),Rs.forEach(zg),Cs.forEach(zg)}function ho(e,t){e.blockedOn===t&&(e.blockedOn=null,Df||(Df=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,J2)))}var mo=null;function kg(e){mo!==e&&(mo=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){mo===e&&(mo=null);for(var t=0;t<e.length;t+=3){var a=e[t],l=e[t+1],o=e[t+2];if(typeof l!="function"){if(Mf(l||a)===null)continue;break}var f=rr(a);f!==null&&(e.splice(t,3),t-=3,Nc(f,{pending:!0,data:o,method:a.method,action:l},l,o))}}))}function Ms(e){function t(w){return ho(w,e)}Kr!==null&&ho(Kr,e),$r!==null&&ho($r,e),Wr!==null&&ho(Wr,e),Rs.forEach(t),Cs.forEach(t);for(var a=0;a<Jr.length;a++){var l=Jr[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Jr.length&&(a=Jr[0],a.blockedOn===null);)Hg(a),a.blockedOn===null&&Jr.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var o=a[l],f=a[l+1],p=o[Nt]||null;if(typeof f=="function")p||kg(a);else if(p){var v=null;if(f&&f.hasAttribute("formAction")){if(o=f,p=f[Nt]||null)v=p.formAction;else if(Mf(o)!==null)continue}else v=p.action;typeof v=="function"?a[l+1]=v:(a.splice(l,3),l-=3),kg(a)}}}function Bf(e){this._internalRoot=e}po.prototype.render=Bf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var a=t.current,l=rn();Dg(a,l,e,t,null,null)},po.prototype.unmount=Bf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Dg(e.current,2,null,e,null,null),Ql(),t[Et]=null}};function po(e){this._internalRoot=e}po.prototype.unstable_scheduleHydration=function(e){if(e){var t=Hi();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Jr.length&&t!==0&&t<Jr[a].priority;a++);Jr.splice(a,0,e),a===0&&Hg(e)}};var Ig=r.version;if(Ig!=="19.1.0")throw Error(s(527,Ig,"19.1.0"));$.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=m(t),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var eS={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var go=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!go.isDisabled&&go.supportsFiber)try{fn=go.inject(eS),Rt=go}catch{}}return Bs.createRoot=function(e,t){if(!u(e))throw Error(s(299));var a=!1,l="",o=n0,f=r0,p=a0,v=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(f=t.onCaughtError),t.onRecoverableError!==void 0&&(p=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(v=t.unstable_transitionCallbacks)),t=Ng(e,1,!1,null,null,a,l,o,f,p,v,null),e[Et]=t.current,pf(e),new Bf(t)},Bs.hydrateRoot=function(e,t,a){if(!u(e))throw Error(s(299));var l=!1,o="",f=n0,p=r0,v=a0,w=null,U=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(p=a.onCaughtError),a.onRecoverableError!==void 0&&(v=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(w=a.unstable_transitionCallbacks),a.formState!==void 0&&(U=a.formState)),t=Ng(e,1,!0,t,a??null,l,o,f,p,v,w,U),t.context=Mg(null),a=t.current,l=rn(),l=In(l),o=jr(l),o.callback=null,Hr(a,o,l),a=l,t.current.lanes=a,wn(t,a),Zn(t),e[Et]=t.current,pf(e),new po(t)},Bs.version="19.1.0",Bs}var Kg;function cS(){if(Kg)return Uf.exports;Kg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Uf.exports=uS(),Uf.exports}var fS=cS(),H=Ri();const Gv=cu(H);var If={exports:{}},Gf={};/**
|
|
50
|
+
* @license React
|
|
51
|
+
* use-sync-external-store-with-selector.production.js
|
|
52
|
+
*
|
|
53
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
54
|
+
*
|
|
55
|
+
* This source code is licensed under the MIT license found in the
|
|
56
|
+
* LICENSE file in the root directory of this source tree.
|
|
57
|
+
*/var $g;function hS(){if($g)return Gf;$g=1;var n=Ri();function r(m,g){return m===g&&(m!==0||1/m===1/g)||m!==m&&g!==g}var i=typeof Object.is=="function"?Object.is:r,s=n.useSyncExternalStore,u=n.useRef,c=n.useEffect,h=n.useMemo,d=n.useDebugValue;return Gf.useSyncExternalStoreWithSelector=function(m,g,y,T,O){var L=u(null);if(L.current===null){var M={hasValue:!1,value:null};L.current=M}else M=L.current;L=h(function(){function I(E){if(!S){if(S=!0,x=E,E=T(E),O!==void 0&&M.hasValue){var k=M.value;if(O(k,E))return b=k}return b=E}if(k=b,i(x,E))return k;var Z=T(E);return O!==void 0&&O(k,Z)?(x=E,k):(x=E,b=Z)}var S=!1,x,b,A=y===void 0?null:y;return[function(){return I(g())},A===null?void 0:function(){return I(A())}]},[g,y,T,O]);var V=s(m,L[0],L[1]);return c(function(){M.hasValue=!0,M.value=V},[V]),d(V),V},Gf}var Wg;function dS(){return Wg||(Wg=1,If.exports=hS()),If.exports}var mS=dS(),pS=H.version.startsWith("19"),gS=Symbol.for(pS?"react.transitional.element":"react.element"),yS=Symbol.for("react.portal"),_S=Symbol.for("react.fragment"),vS=Symbol.for("react.strict_mode"),bS=Symbol.for("react.profiler"),ES=Symbol.for("react.consumer"),SS=Symbol.for("react.context"),qv=Symbol.for("react.forward_ref"),TS=Symbol.for("react.suspense"),AS=Symbol.for("react.suspense_list"),Od=Symbol.for("react.memo"),xS=Symbol.for("react.lazy"),OS=qv,wS=Od;function RS(n){if(typeof n=="object"&&n!==null){const{$$typeof:r}=n;switch(r){case gS:switch(n=n.type,n){case _S:case bS:case vS:case TS:case AS:return n;default:switch(n=n&&n.$$typeof,n){case SS:case qv:case xS:case Od:return n;case ES:return n;default:return r}}case yS:return r}}}function CS(n){return RS(n)===Od}function NS(n,r,i,s,{areStatesEqual:u,areOwnPropsEqual:c,areStatePropsEqual:h}){let d=!1,m,g,y,T,O;function L(x,b){return m=x,g=b,y=n(m,g),T=r(s,g),O=i(y,T,g),d=!0,O}function M(){return y=n(m,g),r.dependsOnOwnProps&&(T=r(s,g)),O=i(y,T,g),O}function V(){return n.dependsOnOwnProps&&(y=n(m,g)),r.dependsOnOwnProps&&(T=r(s,g)),O=i(y,T,g),O}function I(){const x=n(m,g),b=!h(x,y);return y=x,b&&(O=i(y,T,g)),O}function S(x,b){const A=!c(b,g),E=!u(x,m,b,g);return m=x,g=b,A&&E?M():A?V():E?I():O}return function(b,A){return d?S(b,A):L(b,A)}}function MS(n,{initMapStateToProps:r,initMapDispatchToProps:i,initMergeProps:s,...u}){const c=r(n,u),h=i(n,u),d=s(n,u);return NS(c,h,d,n,u)}function DS(n,r){const i={};for(const s in n){const u=n[s];typeof u=="function"&&(i[s]=(...c)=>r(u(...c)))}return i}function Xh(n){return function(i){const s=n(i);function u(){return s}return u.dependsOnOwnProps=!1,u}}function Jg(n){return n.dependsOnOwnProps?!!n.dependsOnOwnProps:n.length!==1}function Fv(n,r){return function(s,{displayName:u}){const c=function(d,m){return c.dependsOnOwnProps?c.mapToProps(d,m):c.mapToProps(d,void 0)};return c.dependsOnOwnProps=!0,c.mapToProps=function(d,m){c.mapToProps=n,c.dependsOnOwnProps=Jg(n);let g=c(d,m);return typeof g=="function"&&(c.mapToProps=g,c.dependsOnOwnProps=Jg(g),g=c(d,m)),g},c}}function wd(n,r){return(i,s)=>{throw new Error(`Invalid value of type ${typeof n} for ${r} argument when connecting component ${s.wrappedComponentName}.`)}}function BS(n){return n&&typeof n=="object"?Xh(r=>DS(n,r)):n?typeof n=="function"?Fv(n):wd(n,"mapDispatchToProps"):Xh(r=>({dispatch:r}))}function LS(n){return n?typeof n=="function"?Fv(n):wd(n,"mapStateToProps"):Xh(()=>({}))}function US(n,r,i){return{...i,...n,...r}}function jS(n){return function(i,{displayName:s,areMergedPropsEqual:u}){let c=!1,h;return function(m,g,y){const T=n(m,g,y);return c?u(T,h)||(h=T):(c=!0,h=T),h}}}function HS(n){return n?typeof n=="function"?jS(n):wd(n,"mergeProps"):()=>US}function zS(n){n()}function kS(){let n=null,r=null;return{clear(){n=null,r=null},notify(){zS(()=>{let i=n;for(;i;)i.callback(),i=i.next})},get(){const i=[];let s=n;for(;s;)i.push(s),s=s.next;return i},subscribe(i){let s=!0;const u=r={callback:i,next:null,prev:r};return u.prev?u.prev.next=u:n=u,function(){!s||n===null||(s=!1,u.next?u.next.prev=u.prev:r=u.prev,u.prev?u.prev.next=u.next:n=u.next)}}}}var ey={notify(){},get:()=>[]};function Pv(n,r){let i,s=ey,u=0,c=!1;function h(V){y();const I=s.subscribe(V);let S=!1;return()=>{S||(S=!0,I(),T())}}function d(){s.notify()}function m(){M.onStateChange&&M.onStateChange()}function g(){return c}function y(){u++,i||(i=r?r.addNestedSub(m):n.subscribe(m),s=kS())}function T(){u--,i&&u===0&&(i(),i=void 0,s.clear(),s=ey)}function O(){c||(c=!0,y())}function L(){c&&(c=!1,T())}const M={addNestedSub:h,notifyNestedSubs:d,handleChangeWrapper:m,isSubscribed:g,trySubscribe:O,tryUnsubscribe:L,getListeners:()=>s};return M}var IS=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",GS=IS(),qS=()=>typeof navigator<"u"&&navigator.product==="ReactNative",FS=qS(),PS=()=>GS||FS?H.useLayoutEffect:H.useEffect,tu=PS();function ty(n,r){return n===r?n!==0||r!==0||1/n===1/r:n!==n&&r!==r}function qf(n,r){if(ty(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;const i=Object.keys(n),s=Object.keys(r);if(i.length!==s.length)return!1;for(let u=0;u<i.length;u++)if(!Object.prototype.hasOwnProperty.call(r,i[u])||!ty(n[i[u]],r[i[u]]))return!1;return!0}var VS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},YS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ZS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Vv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},XS={[OS]:ZS,[wS]:Vv};function ny(n){return CS(n)?Vv:XS[n.$$typeof]||VS}var QS=Object.defineProperty,KS=Object.getOwnPropertyNames,ry=Object.getOwnPropertySymbols,$S=Object.getOwnPropertyDescriptor,WS=Object.getPrototypeOf,ay=Object.prototype;function Qh(n,r){if(typeof r!="string"){if(ay){const c=WS(r);c&&c!==ay&&Qh(n,c)}let i=KS(r);ry&&(i=i.concat(ry(r)));const s=ny(n),u=ny(r);for(let c=0;c<i.length;++c){const h=i[c];if(!YS[h]&&!(u&&u[h])&&!(s&&s[h])){const d=$S(r,h);try{QS(n,h,d)}catch{}}}}return n}var JS=Symbol.for("react-redux-context"),eT=typeof globalThis<"u"?globalThis:{};function tT(){if(!H.createContext)return{};const n=eT[JS]??=new Map;let r=n.get(H.createContext);return r||(r=H.createContext(null),n.set(H.createContext,r)),r}var Or=tT(),nT=[null,null];function rT(n,r,i){tu(()=>n(...r),i)}function aT(n,r,i,s,u,c){n.current=s,i.current=!1,u.current&&(u.current=null,c())}function iT(n,r,i,s,u,c,h,d,m,g,y){if(!n)return()=>{};let T=!1,O=null;const L=()=>{if(T||!d.current)return;const V=r.getState();let I,S;try{I=s(V,u.current)}catch(x){S=x,O=x}S||(O=null),I===c.current?h.current||g():(c.current=I,m.current=I,h.current=!0,y())};return i.onStateChange=L,i.trySubscribe(),L(),()=>{if(T=!0,i.tryUnsubscribe(),i.onStateChange=null,O)throw O}}function sT(n,r){return n===r}function lT(n,r,i,{pure:s,areStatesEqual:u=sT,areOwnPropsEqual:c=qf,areStatePropsEqual:h=qf,areMergedPropsEqual:d=qf,forwardRef:m=!1,context:g=Or}={}){const y=g,T=LS(n),O=BS(r),L=HS(i),M=!!n;return I=>{const S=I.displayName||I.name||"Component",x=`Connect(${S})`,b={shouldHandleStateChanges:M,displayName:x,wrappedComponentName:S,WrappedComponent:I,initMapStateToProps:T,initMapDispatchToProps:O,initMergeProps:L,areStatesEqual:u,areStatePropsEqual:h,areOwnPropsEqual:c,areMergedPropsEqual:d};function A(Z){const[ee,de,ie]=H.useMemo(()=>{const{reactReduxForwardedRef:Xe,...It}=Z;return[Z.context,Xe,It]},[Z]),J=H.useMemo(()=>{let Xe=y;return ee?.Consumer,Xe},[ee,y]),oe=H.useContext(J),fe=!!Z.store&&!!Z.store.getState&&!!Z.store.dispatch,Ve=!!oe&&!!oe.store,be=fe?Z.store:oe.store,G=Ve?oe.getServerState:be.getState,$=H.useMemo(()=>MS(be.dispatch,b),[be]),[ne,Te]=H.useMemo(()=>{if(!M)return nT;const Xe=Pv(be,fe?void 0:oe.subscription),It=Xe.notifyNestedSubs.bind(Xe);return[Xe,It]},[be,fe,oe]),R=H.useMemo(()=>fe?oe:{...oe,subscription:ne},[fe,oe,ne]),q=H.useRef(void 0),W=H.useRef(ie),X=H.useRef(void 0),re=H.useRef(!1),se=H.useRef(!1),he=H.useRef(void 0);tu(()=>(se.current=!0,()=>{se.current=!1}),[]);const $e=H.useMemo(()=>()=>X.current&&ie===W.current?X.current:$(be.getState(),ie),[be,ie]),Ue=H.useMemo(()=>It=>ne?iT(M,be,ne,$,W,q,re,se,X,Te,It):()=>{},[ne]);rT(aT,[W,q,re,ie,X,Te]);let vt;try{vt=H.useSyncExternalStore(Ue,$e,G?()=>$(G(),ie):$e)}catch(Xe){throw he.current&&(Xe.message+=`
|
|
58
|
+
The error may be correlated with this previous error:
|
|
59
|
+
${he.current.stack}
|
|
60
|
+
|
|
61
|
+
`),Xe}tu(()=>{he.current=void 0,X.current=void 0,q.current=vt});const kn=H.useMemo(()=>H.createElement(I,{...vt,ref:de}),[de,I,vt]);return H.useMemo(()=>M?H.createElement(J.Provider,{value:R},kn):kn,[J,kn,R])}const k=H.memo(A);if(k.WrappedComponent=I,k.displayName=A.displayName=x,m){const ee=H.forwardRef(function(ie,J){return H.createElement(k,{...ie,reactReduxForwardedRef:J})});return ee.displayName=x,ee.WrappedComponent=I,Qh(ee,I)}return Qh(k,I)}}var oT=lT;function uT(n){const{children:r,context:i,serverState:s,store:u}=n,c=H.useMemo(()=>{const m=Pv(u);return{store:u,subscription:m,getServerState:s?()=>s:void 0}},[u,s]),h=H.useMemo(()=>u.getState(),[u]);tu(()=>{const{subscription:m}=c;return m.onStateChange=m.notifyNestedSubs,m.trySubscribe(),h!==u.getState()&&m.notifyNestedSubs(),()=>{m.tryUnsubscribe(),m.onStateChange=void 0}},[c,h]);const d=i||Or;return H.createElement(d.Provider,{value:c},r)}var cT=uT;function Rd(n=Or){return function(){return H.useContext(n)}}var Yv=Rd();function Zv(n=Or){const r=n===Or?Yv:Rd(n),i=()=>{const{store:s}=r();return s};return Object.assign(i,{withTypes:()=>i}),i}var fT=Zv();function hT(n=Or){const r=n===Or?fT:Zv(n),i=()=>r().dispatch;return Object.assign(i,{withTypes:()=>i}),i}var dT=hT(),mT=(n,r)=>n===r;function pT(n=Or){const r=n===Or?Yv:Rd(n),i=(s,u={})=>{const{equalityFn:c=mT}=typeof u=="function"?{equalityFn:u}:u,h=r(),{store:d,subscription:m,getServerState:g}=h;H.useRef(!0);const y=H.useCallback({[s.name](O){return s(O)}}[s.name],[s]),T=mS.useSyncExternalStoreWithSelector(m.addNestedSub,d.getState,g||d.getState,y,c);return H.useDebugValue(T),T};return Object.assign(i,{withTypes:()=>i}),i}var gT=pT(),Ff={exports:{}};/*!
|
|
62
|
+
Copyright (c) 2018 Jed Watson.
|
|
63
|
+
Licensed under the MIT License (MIT), see
|
|
64
|
+
http://jedwatson.github.io/classnames
|
|
65
|
+
*/var iy;function yT(){return iy||(iy=1,function(n){(function(){var r={}.hasOwnProperty;function i(){for(var c="",h=0;h<arguments.length;h++){var d=arguments[h];d&&(c=u(c,s(d)))}return c}function s(c){if(typeof c=="string"||typeof c=="number")return c;if(typeof c!="object")return"";if(Array.isArray(c))return i.apply(null,c);if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]"))return c.toString();var h="";for(var d in c)r.call(c,d)&&c[d]&&(h=u(h,d));return h}function u(c,h){return h?c?c+" "+h:c+h:c}n.exports?(i.default=i,n.exports=i):window.classNames=i})()}(Ff)),Ff.exports}var _T=yT();const K=cu(_T);var Kh=function(n,r){return Kh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,s){i.__proto__=s}||function(i,s){for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(i[u]=s[u])},Kh(n,r)};function Tn(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");Kh(n,r);function i(){this.constructor=n}n.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}var le=function(){return le=Object.assign||function(r){for(var i,s=1,u=arguments.length;s<u;s++){i=arguments[s];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(r[c]=i[c])}return r},le.apply(this,arguments)};function fu(n,r){var i={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&r.indexOf(s)<0&&(i[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,s=Object.getOwnPropertySymbols(n);u<s.length;u++)r.indexOf(s[u])<0&&Object.prototype.propertyIsEnumerable.call(n,s[u])&&(i[s[u]]=n[s[u]]);return i}function Kn(n,r,i){if(i||arguments.length===2)for(var s=0,u=r.length,c;s<u;s++)(c||!(s in r))&&(c||(c=Array.prototype.slice.call(r,0,s)),c[s]=r[s]);return n.concat(c||Array.prototype.slice.call(r))}function Xn(n,r){var i=r&&r.cache?r.cache:xT,s=r&&r.serializer?r.serializer:TT,u=r&&r.strategy?r.strategy:ET;return u(n,{cache:i,serializer:s})}function vT(n){return n==null||typeof n=="number"||typeof n=="boolean"}function bT(n,r,i,s){var u=vT(s)?s:i(s),c=r.get(u);return typeof c>"u"&&(c=n.call(this,s),r.set(u,c)),c}function Xv(n,r,i){var s=Array.prototype.slice.call(arguments,3),u=i(s),c=r.get(u);return typeof c>"u"&&(c=n.apply(this,s),r.set(u,c)),c}function Qv(n,r,i,s,u){return i.bind(r,n,s,u)}function ET(n,r){var i=n.length===1?bT:Xv;return Qv(n,this,i,r.cache.create(),r.serializer)}function ST(n,r){return Qv(n,this,Xv,r.cache.create(),r.serializer)}var TT=function(){return JSON.stringify(arguments)},AT=function(){function n(){this.cache=Object.create(null)}return n.prototype.get=function(r){return this.cache[r]},n.prototype.set=function(r,i){this.cache[r]=i},n}(),xT={create:function(){return new AT}},Qn={variadic:ST},Re;(function(n){n[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(Re||(Re={}));var Ye;(function(n){n[n.literal=0]="literal",n[n.argument=1]="argument",n[n.number=2]="number",n[n.date=3]="date",n[n.time=4]="time",n[n.select=5]="select",n[n.plural=6]="plural",n[n.pound=7]="pound",n[n.tag=8]="tag"})(Ye||(Ye={}));var Oi;(function(n){n[n.number=0]="number",n[n.dateTime=1]="dateTime"})(Oi||(Oi={}));function sy(n){return n.type===Ye.literal}function OT(n){return n.type===Ye.argument}function Kv(n){return n.type===Ye.number}function $v(n){return n.type===Ye.date}function Wv(n){return n.type===Ye.time}function Jv(n){return n.type===Ye.select}function eb(n){return n.type===Ye.plural}function wT(n){return n.type===Ye.pound}function tb(n){return n.type===Ye.tag}function nb(n){return!!(n&&typeof n=="object"&&n.type===Oi.number)}function $h(n){return!!(n&&typeof n=="object"&&n.type===Oi.dateTime)}var rb=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,RT=/(?:[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 CT(n){var r={};return n.replace(RT,function(i){var s=i.length;switch(i[0]){case"G":r.era=s===4?"long":s===5?"narrow":"short";break;case"y":r.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":r.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":r.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":r.weekday=s===4?"long":s===5?"narrow":"short";break;case"e":if(s<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][s-4];break;case"c":if(s<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][s-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][s-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][s-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][s-1];break;case"k":r.hourCycle="h24",r.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":r.minute=["numeric","2-digit"][s-1];break;case"s":r.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":r.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""}),r}var NT=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function MT(n){if(n.length===0)throw new Error("Number skeleton cannot be empty");for(var r=n.split(NT).filter(function(O){return O.length>0}),i=[],s=0,u=r;s<u.length;s++){var c=u[s],h=c.split("/");if(h.length===0)throw new Error("Invalid number skeleton");for(var d=h[0],m=h.slice(1),g=0,y=m;g<y.length;g++){var T=y[g];if(T.length===0)throw new Error("Invalid number skeleton")}i.push({stem:d,options:m})}return i}function DT(n){return n.replace(/^(.*?)-/,"")}var ly=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ab=/^(@+)?(\+|#+)?[rs]?$/g,BT=/(\*)(0+)|(#+)(0+)|(0+)/g,ib=/^(0+)$/;function oy(n){var r={};return n[n.length-1]==="r"?r.roundingPriority="morePrecision":n[n.length-1]==="s"&&(r.roundingPriority="lessPrecision"),n.replace(ab,function(i,s,u){return typeof u!="string"?(r.minimumSignificantDigits=s.length,r.maximumSignificantDigits=s.length):u==="+"?r.minimumSignificantDigits=s.length:s[0]==="#"?r.maximumSignificantDigits=s.length:(r.minimumSignificantDigits=s.length,r.maximumSignificantDigits=s.length+(typeof u=="string"?u.length:0)),""}),r}function sb(n){switch(n){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 LT(n){var r;if(n[0]==="E"&&n[1]==="E"?(r={notation:"engineering"},n=n.slice(2)):n[0]==="E"&&(r={notation:"scientific"},n=n.slice(1)),r){var i=n.slice(0,2);if(i==="+!"?(r.signDisplay="always",n=n.slice(2)):i==="+?"&&(r.signDisplay="exceptZero",n=n.slice(2)),!ib.test(n))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=n.length}return r}function uy(n){var r={},i=sb(n);return i||r}function UT(n){for(var r={},i=0,s=n;i<s.length;i++){var u=s[i];switch(u.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=u.options[0];continue;case"group-off":case",_":r.useGrouping=!1;continue;case"precision-integer":case".":r.maximumFractionDigits=0;continue;case"measure-unit":case"unit":r.style="unit",r.unit=DT(u.options[0]);continue;case"compact-short":case"K":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":case"KK":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=le(le(le({},r),{notation:"scientific"}),u.options.reduce(function(m,g){return le(le({},m),uy(g))},{}));continue;case"engineering":r=le(le(le({},r),{notation:"engineering"}),u.options.reduce(function(m,g){return le(le({},m),uy(g))},{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue;case"scale":r.scale=parseFloat(u.options[0]);continue;case"rounding-mode-floor":r.roundingMode="floor";continue;case"rounding-mode-ceiling":r.roundingMode="ceil";continue;case"rounding-mode-down":r.roundingMode="trunc";continue;case"rounding-mode-up":r.roundingMode="expand";continue;case"rounding-mode-half-even":r.roundingMode="halfEven";continue;case"rounding-mode-half-down":r.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":r.roundingMode="halfExpand";continue;case"integer-width":if(u.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");u.options[0].replace(BT,function(m,g,y,T,O,L){if(g)r.minimumIntegerDigits=y.length;else{if(T&&O)throw new Error("We currently do not support maximum integer digits");if(L)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ib.test(u.stem)){r.minimumIntegerDigits=u.stem.length;continue}if(ly.test(u.stem)){if(u.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");u.stem.replace(ly,function(m,g,y,T,O,L){return y==="*"?r.minimumFractionDigits=g.length:T&&T[0]==="#"?r.maximumFractionDigits=T.length:O&&L?(r.minimumFractionDigits=O.length,r.maximumFractionDigits=O.length+L.length):(r.minimumFractionDigits=g.length,r.maximumFractionDigits=g.length),""});var c=u.options[0];c==="w"?r=le(le({},r),{trailingZeroDisplay:"stripIfInteger"}):c&&(r=le(le({},r),oy(c)));continue}if(ab.test(u.stem)){r=le(le({},r),oy(u.stem));continue}var h=sb(u.stem);h&&(r=le(le({},r),h));var d=LT(u.stem);d&&(r=le(le({},r),d))}return r}var _o={"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 jT(n,r){for(var i="",s=0;s<n.length;s++){var u=n.charAt(s);if(u==="j"){for(var c=0;s+1<n.length&&n.charAt(s+1)===u;)c++,s++;var h=1+(c&1),d=c<2?1:3+(c>>1),m="a",g=HT(r);for((g=="H"||g=="k")&&(d=0);d-- >0;)i+=m;for(;h-- >0;)i=g+i}else u==="J"?i+="H":i+=u}return i}function HT(n){var r=n.hourCycle;if(r===void 0&&n.hourCycles&&n.hourCycles.length&&(r=n.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i=n.language,s;i!=="root"&&(s=n.maximize().region);var u=_o[s||""]||_o[i||""]||_o["".concat(i,"-001")]||_o["001"];return u[0]}var Pf,zT=new RegExp("^".concat(rb.source,"*")),kT=new RegExp("".concat(rb.source,"*$"));function Me(n,r){return{start:n,end:r}}var IT=!!String.prototype.startsWith&&"_a".startsWith("a",1),GT=!!String.fromCodePoint,qT=!!Object.fromEntries,FT=!!String.prototype.codePointAt,PT=!!String.prototype.trimStart,VT=!!String.prototype.trimEnd,YT=!!Number.isSafeInteger,ZT=YT?Number.isSafeInteger:function(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n)===n&&Math.abs(n)<=9007199254740991},Wh=!0;try{var XT=ob("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Wh=((Pf=XT.exec("a"))===null||Pf===void 0?void 0:Pf[0])==="a"}catch{Wh=!1}var cy=IT?function(r,i,s){return r.startsWith(i,s)}:function(r,i,s){return r.slice(s,s+i.length)===i},Jh=GT?String.fromCodePoint:function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];for(var s="",u=r.length,c=0,h;u>c;){if(h=r[c++],h>1114111)throw RangeError(h+" is not a valid code point");s+=h<65536?String.fromCharCode(h):String.fromCharCode(((h-=65536)>>10)+55296,h%1024+56320)}return s},fy=qT?Object.fromEntries:function(r){for(var i={},s=0,u=r;s<u.length;s++){var c=u[s],h=c[0],d=c[1];i[h]=d}return i},lb=FT?function(r,i){return r.codePointAt(i)}:function(r,i){var s=r.length;if(!(i<0||i>=s)){var u=r.charCodeAt(i),c;return u<55296||u>56319||i+1===s||(c=r.charCodeAt(i+1))<56320||c>57343?u:(u-55296<<10)+(c-56320)+65536}},QT=PT?function(r){return r.trimStart()}:function(r){return r.replace(zT,"")},KT=VT?function(r){return r.trimEnd()}:function(r){return r.replace(kT,"")};function ob(n,r){return new RegExp(n,r)}var ed;if(Wh){var hy=ob("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ed=function(r,i){var s;hy.lastIndex=i;var u=hy.exec(r);return(s=u[1])!==null&&s!==void 0?s:""}}else ed=function(r,i){for(var s=[];;){var u=lb(r,i);if(u===void 0||ub(u)||eA(u))break;s.push(u),i+=u>=65536?2:1}return Jh.apply(void 0,s)};var $T=function(){function n(r,i){i===void 0&&(i={}),this.message=r,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 n.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},n.prototype.parseMessage=function(r,i,s){for(var u=[];!this.isEOF();){var c=this.char();if(c===123){var h=this.parseArgument(r,s);if(h.err)return h;u.push(h.val)}else{if(c===125&&r>0)break;if(c===35&&(i==="plural"||i==="selectordinal")){var d=this.clonePosition();this.bump(),u.push({type:Ye.pound,location:Me(d,this.clonePosition())})}else if(c===60&&!this.ignoreTag&&this.peek()===47){if(s)break;return this.error(Re.UNMATCHED_CLOSING_TAG,Me(this.clonePosition(),this.clonePosition()))}else if(c===60&&!this.ignoreTag&&td(this.peek()||0)){var h=this.parseTag(r,i);if(h.err)return h;u.push(h.val)}else{var h=this.parseLiteral(r,i);if(h.err)return h;u.push(h.val)}}}return{val:u,err:null}},n.prototype.parseTag=function(r,i){var s=this.clonePosition();this.bump();var u=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ye.literal,value:"<".concat(u,"/>"),location:Me(s,this.clonePosition())},err:null};if(this.bumpIf(">")){var c=this.parseMessage(r+1,i,!0);if(c.err)return c;var h=c.val,d=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!td(this.char()))return this.error(Re.INVALID_TAG,Me(d,this.clonePosition()));var m=this.clonePosition(),g=this.parseTagName();return u!==g?this.error(Re.UNMATCHED_CLOSING_TAG,Me(m,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ye.tag,value:u,children:h,location:Me(s,this.clonePosition())},err:null}:this.error(Re.INVALID_TAG,Me(d,this.clonePosition())))}else return this.error(Re.UNCLOSED_TAG,Me(s,this.clonePosition()))}else return this.error(Re.INVALID_TAG,Me(s,this.clonePosition()))},n.prototype.parseTagName=function(){var r=this.offset();for(this.bump();!this.isEOF()&&JT(this.char());)this.bump();return this.message.slice(r,this.offset())},n.prototype.parseLiteral=function(r,i){for(var s=this.clonePosition(),u="";;){var c=this.tryParseQuote(i);if(c){u+=c;continue}var h=this.tryParseUnquoted(r,i);if(h){u+=h;continue}var d=this.tryParseLeftAngleBracket();if(d){u+=d;continue}break}var m=Me(s,this.clonePosition());return{val:{type:Ye.literal,value:u,location:m},err:null}},n.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!WT(this.peek()||0))?(this.bump(),"<"):null},n.prototype.tryParseQuote=function(r){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(r==="plural"||r==="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 Jh.apply(void 0,i)},n.prototype.tryParseUnquoted=function(r,i){if(this.isEOF())return null;var s=this.char();return s===60||s===123||s===35&&(i==="plural"||i==="selectordinal")||s===125&&r>0?null:(this.bump(),Jh(s))},n.prototype.parseArgument=function(r,i){var s=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Me(s,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Re.EMPTY_ARGUMENT,Me(s,this.clonePosition()));var u=this.parseIdentifierIfPossible().value;if(!u)return this.error(Re.MALFORMED_ARGUMENT,Me(s,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Me(s,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ye.argument,value:u,location:Me(s,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Me(s,this.clonePosition())):this.parseArgumentOptions(r,i,u,s);default:return this.error(Re.MALFORMED_ARGUMENT,Me(s,this.clonePosition()))}},n.prototype.parseIdentifierIfPossible=function(){var r=this.clonePosition(),i=this.offset(),s=ed(this.message,i),u=i+s.length;this.bumpTo(u);var c=this.clonePosition(),h=Me(r,c);return{value:s,location:h}},n.prototype.parseArgumentOptions=function(r,i,s,u){var c,h=this.clonePosition(),d=this.parseIdentifierIfPossible().value,m=this.clonePosition();switch(d){case"":return this.error(Re.EXPECT_ARGUMENT_TYPE,Me(h,m));case"number":case"date":case"time":{this.bumpSpace();var g=null;if(this.bumpIf(",")){this.bumpSpace();var y=this.clonePosition(),T=this.parseSimpleArgStyleIfPossible();if(T.err)return T;var O=KT(T.val);if(O.length===0)return this.error(Re.EXPECT_ARGUMENT_STYLE,Me(this.clonePosition(),this.clonePosition()));var L=Me(y,this.clonePosition());g={style:O,styleLocation:L}}var M=this.tryParseArgumentClose(u);if(M.err)return M;var V=Me(u,this.clonePosition());if(g&&cy(g?.style,"::",0)){var I=QT(g.style.slice(2));if(d==="number"){var T=this.parseNumberSkeletonFromString(I,g.styleLocation);return T.err?T:{val:{type:Ye.number,value:s,location:V,style:T.val},err:null}}else{if(I.length===0)return this.error(Re.EXPECT_DATE_TIME_SKELETON,V);var S=I;this.locale&&(S=jT(I,this.locale));var O={type:Oi.dateTime,pattern:S,location:g.styleLocation,parsedOptions:this.shouldParseSkeletons?CT(S):{}},x=d==="date"?Ye.date:Ye.time;return{val:{type:x,value:s,location:V,style:O},err:null}}}return{val:{type:d==="number"?Ye.number:d==="date"?Ye.date:Ye.time,value:s,location:V,style:(c=g?.style)!==null&&c!==void 0?c:null},err:null}}case"plural":case"selectordinal":case"select":{var b=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Re.EXPECT_SELECT_ARGUMENT_OPTIONS,Me(b,le({},b)));this.bumpSpace();var A=this.parseIdentifierIfPossible(),E=0;if(d!=="select"&&A.value==="offset"){if(!this.bumpIf(":"))return this.error(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Me(this.clonePosition(),this.clonePosition()));this.bumpSpace();var T=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(T.err)return T;this.bumpSpace(),A=this.parseIdentifierIfPossible(),E=T.val}var k=this.tryParsePluralOrSelectOptions(r,d,i,A);if(k.err)return k;var M=this.tryParseArgumentClose(u);if(M.err)return M;var Z=Me(u,this.clonePosition());return d==="select"?{val:{type:Ye.select,value:s,options:fy(k.val),location:Z},err:null}:{val:{type:Ye.plural,value:s,options:fy(k.val),offset:E,pluralType:d==="plural"?"cardinal":"ordinal",location:Z},err:null}}default:return this.error(Re.INVALID_ARGUMENT_TYPE,Me(h,m))}},n.prototype.tryParseArgumentClose=function(r){return this.isEOF()||this.char()!==125?this.error(Re.EXPECT_ARGUMENT_CLOSING_BRACE,Me(r,this.clonePosition())):(this.bump(),{val:!0,err:null})},n.prototype.parseSimpleArgStyleIfPossible=function(){for(var r=0,i=this.clonePosition();!this.isEOF();){var s=this.char();switch(s){case 39:{this.bump();var u=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Re.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Me(u,this.clonePosition()));this.bump();break}case 123:{r+=1,this.bump();break}case 125:{if(r>0)r-=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}},n.prototype.parseNumberSkeletonFromString=function(r,i){var s=[];try{s=MT(r)}catch{return this.error(Re.INVALID_NUMBER_SKELETON,i)}return{val:{type:Oi.number,tokens:s,location:i,parsedOptions:this.shouldParseSkeletons?UT(s):{}},err:null}},n.prototype.tryParsePluralOrSelectOptions=function(r,i,s,u){for(var c,h=!1,d=[],m=new Set,g=u.value,y=u.location;;){if(g.length===0){var T=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var O=this.tryParseDecimalInteger(Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re.INVALID_PLURAL_ARGUMENT_SELECTOR);if(O.err)return O;y=Me(T,this.clonePosition()),g=this.message.slice(T.offset,this.offset())}else break}if(m.has(g))return this.error(i==="select"?Re.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Re.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,y);g==="other"&&(h=!0),this.bumpSpace();var L=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?Re.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Me(this.clonePosition(),this.clonePosition()));var M=this.parseMessage(r+1,i,s);if(M.err)return M;var V=this.tryParseArgumentClose(L);if(V.err)return V;d.push([g,{value:M.val,location:Me(L,this.clonePosition())}]),m.add(g),this.bumpSpace(),c=this.parseIdentifierIfPossible(),g=c.value,y=c.location}return d.length===0?this.error(i==="select"?Re.EXPECT_SELECT_ARGUMENT_SELECTOR:Re.EXPECT_PLURAL_ARGUMENT_SELECTOR,Me(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!h?this.error(Re.MISSING_OTHER_CLAUSE,Me(this.clonePosition(),this.clonePosition())):{val:d,err:null}},n.prototype.tryParseDecimalInteger=function(r,i){var s=1,u=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(s=-1);for(var c=!1,h=0;!this.isEOF();){var d=this.char();if(d>=48&&d<=57)c=!0,h=h*10+(d-48),this.bump();else break}var m=Me(u,this.clonePosition());return c?(h*=s,ZT(h)?{val:h,err:null}:this.error(i,m)):this.error(r,m)},n.prototype.offset=function(){return this.position.offset},n.prototype.isEOF=function(){return this.offset()===this.message.length},n.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},n.prototype.char=function(){var r=this.position.offset;if(r>=this.message.length)throw Error("out of bound");var i=lb(this.message,r);if(i===void 0)throw Error("Offset ".concat(r," is at invalid UTF-16 code unit boundary"));return i},n.prototype.error=function(r,i){return{val:null,err:{kind:r,message:this.message,location:i}}},n.prototype.bump=function(){if(!this.isEOF()){var r=this.char();r===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=r<65536?1:2)}},n.prototype.bumpIf=function(r){if(cy(this.message,r,this.offset())){for(var i=0;i<r.length;i++)this.bump();return!0}return!1},n.prototype.bumpUntil=function(r){var i=this.offset(),s=this.message.indexOf(r,i);return s>=0?(this.bumpTo(s),!0):(this.bumpTo(this.message.length),!1)},n.prototype.bumpTo=function(r){if(this.offset()>r)throw Error("targetOffset ".concat(r," must be greater than or equal to the current offset ").concat(this.offset()));for(r=Math.min(r,this.message.length);;){var i=this.offset();if(i===r)break;if(i>r)throw Error("targetOffset ".concat(r," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},n.prototype.bumpSpace=function(){for(;!this.isEOF()&&ub(this.char());)this.bump()},n.prototype.peek=function(){if(this.isEOF())return null;var r=this.char(),i=this.offset(),s=this.message.charCodeAt(i+(r>=65536?2:1));return s??null},n}();function td(n){return n>=97&&n<=122||n>=65&&n<=90}function WT(n){return td(n)||n===47}function JT(n){return n===45||n===46||n>=48&&n<=57||n===95||n>=97&&n<=122||n>=65&&n<=90||n==183||n>=192&&n<=214||n>=216&&n<=246||n>=248&&n<=893||n>=895&&n<=8191||n>=8204&&n<=8205||n>=8255&&n<=8256||n>=8304&&n<=8591||n>=11264&&n<=12271||n>=12289&&n<=55295||n>=63744&&n<=64975||n>=65008&&n<=65533||n>=65536&&n<=983039}function ub(n){return n>=9&&n<=13||n===32||n===133||n>=8206&&n<=8207||n===8232||n===8233}function eA(n){return n>=33&&n<=35||n===36||n>=37&&n<=39||n===40||n===41||n===42||n===43||n===44||n===45||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||n===91||n===92||n===93||n===94||n===96||n===123||n===124||n===125||n===126||n===161||n>=162&&n<=165||n===166||n===167||n===169||n===171||n===172||n===174||n===176||n===177||n===182||n===187||n===191||n===215||n===247||n>=8208&&n<=8213||n>=8214&&n<=8215||n===8216||n===8217||n===8218||n>=8219&&n<=8220||n===8221||n===8222||n===8223||n>=8224&&n<=8231||n>=8240&&n<=8248||n===8249||n===8250||n>=8251&&n<=8254||n>=8257&&n<=8259||n===8260||n===8261||n===8262||n>=8263&&n<=8273||n===8274||n===8275||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||n===8608||n>=8609&&n<=8610||n===8611||n>=8612&&n<=8613||n===8614||n>=8615&&n<=8621||n===8622||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||n===8658||n===8659||n===8660||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||n===8968||n===8969||n===8970||n===8971||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||n===9001||n===9002||n>=9003&&n<=9083||n===9084||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||n===9655||n>=9656&&n<=9664||n===9665||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||n===9839||n>=9840&&n<=10087||n===10088||n===10089||n===10090||n===10091||n===10092||n===10093||n===10094||n===10095||n===10096||n===10097||n===10098||n===10099||n===10100||n===10101||n>=10132&&n<=10175||n>=10176&&n<=10180||n===10181||n===10182||n>=10183&&n<=10213||n===10214||n===10215||n===10216||n===10217||n===10218||n===10219||n===10220||n===10221||n===10222||n===10223||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||n===10627||n===10628||n===10629||n===10630||n===10631||n===10632||n===10633||n===10634||n===10635||n===10636||n===10637||n===10638||n===10639||n===10640||n===10641||n===10642||n===10643||n===10644||n===10645||n===10646||n===10647||n===10648||n>=10649&&n<=10711||n===10712||n===10713||n===10714||n===10715||n>=10716&&n<=10747||n===10748||n===10749||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||n===11158||n>=11159&&n<=11263||n>=11776&&n<=11777||n===11778||n===11779||n===11780||n===11781||n>=11782&&n<=11784||n===11785||n===11786||n===11787||n===11788||n===11789||n>=11790&&n<=11798||n===11799||n>=11800&&n<=11801||n===11802||n===11803||n===11804||n===11805||n>=11806&&n<=11807||n===11808||n===11809||n===11810||n===11811||n===11812||n===11813||n===11814||n===11815||n===11816||n===11817||n>=11818&&n<=11822||n===11823||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||n===11840||n===11841||n===11842||n>=11843&&n<=11855||n>=11856&&n<=11857||n===11858||n>=11859&&n<=11903||n>=12289&&n<=12291||n===12296||n===12297||n===12298||n===12299||n===12300||n===12301||n===12302||n===12303||n===12304||n===12305||n>=12306&&n<=12307||n===12308||n===12309||n===12310||n===12311||n===12312||n===12313||n===12314||n===12315||n===12316||n===12317||n>=12318&&n<=12319||n===12320||n===12336||n===64830||n===64831||n>=65093&&n<=65094}function nd(n){n.forEach(function(r){if(delete r.location,Jv(r)||eb(r))for(var i in r.options)delete r.options[i].location,nd(r.options[i].value);else Kv(r)&&nb(r.style)||($v(r)||Wv(r))&&$h(r.style)?delete r.style.location:tb(r)&&nd(r.children)})}function tA(n,r){r===void 0&&(r={}),r=le({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var i=new $T(n,r).parse();if(i.err){var s=SyntaxError(Re[i.err.kind]);throw s.location=i.err.location,s.originalMessage=i.err.message,s}return r?.captureLocation||nd(i.val),i.val}var Wn;(function(n){n.MISSING_VALUE="MISSING_VALUE",n.INVALID_VALUE="INVALID_VALUE",n.MISSING_INTL_API="MISSING_INTL_API"})(Wn||(Wn={}));var sa=function(n){Tn(r,n);function r(i,s,u){var c=n.call(this,i)||this;return c.code=s,c.originalMessage=u,c}return r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),dy=function(n){Tn(r,n);function r(i,s,u,c){return n.call(this,'Invalid values for "'.concat(i,'": "').concat(s,'". Options are "').concat(Object.keys(u).join('", "'),'"'),Wn.INVALID_VALUE,c)||this}return r}(sa),nA=function(n){Tn(r,n);function r(i,s,u){return n.call(this,'Value for "'.concat(i,'" must be of type ').concat(s),Wn.INVALID_VALUE,u)||this}return r}(sa),rA=function(n){Tn(r,n);function r(i,s){return n.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(s,'"'),Wn.MISSING_VALUE,s)||this}return r}(sa),jt;(function(n){n[n.literal=0]="literal",n[n.object=1]="object"})(jt||(jt={}));function aA(n){return n.length<2?n:n.reduce(function(r,i){var s=r[r.length-1];return!s||s.type!==jt.literal||i.type!==jt.literal?r.push(i):s.value+=i.value,r},[])}function cb(n){return typeof n=="function"}function Xo(n,r,i,s,u,c,h){if(n.length===1&&sy(n[0]))return[{type:jt.literal,value:n[0].value}];for(var d=[],m=0,g=n;m<g.length;m++){var y=g[m];if(sy(y)){d.push({type:jt.literal,value:y.value});continue}if(wT(y)){typeof c=="number"&&d.push({type:jt.literal,value:i.getNumberFormat(r).format(c)});continue}var T=y.value;if(!(u&&T in u))throw new rA(T,h);var O=u[T];if(OT(y)){(!O||typeof O=="string"||typeof O=="number")&&(O=typeof O=="string"||typeof O=="number"?String(O):""),d.push({type:typeof O=="string"?jt.literal:jt.object,value:O});continue}if($v(y)){var L=typeof y.style=="string"?s.date[y.style]:$h(y.style)?y.style.parsedOptions:void 0;d.push({type:jt.literal,value:i.getDateTimeFormat(r,L).format(O)});continue}if(Wv(y)){var L=typeof y.style=="string"?s.time[y.style]:$h(y.style)?y.style.parsedOptions:s.time.medium;d.push({type:jt.literal,value:i.getDateTimeFormat(r,L).format(O)});continue}if(Kv(y)){var L=typeof y.style=="string"?s.number[y.style]:nb(y.style)?y.style.parsedOptions:void 0;L&&L.scale&&(O=O*(L.scale||1)),d.push({type:jt.literal,value:i.getNumberFormat(r,L).format(O)});continue}if(tb(y)){var M=y.children,V=y.value,I=u[V];if(!cb(I))throw new nA(V,"function",h);var S=Xo(M,r,i,s,u,c),x=I(S.map(function(E){return E.value}));Array.isArray(x)||(x=[x]),d.push.apply(d,x.map(function(E){return{type:typeof E=="string"?jt.literal:jt.object,value:E}}))}if(Jv(y)){var b=y.options[O]||y.options.other;if(!b)throw new dy(y.value,O,Object.keys(y.options),h);d.push.apply(d,Xo(b.value,r,i,s,u));continue}if(eb(y)){var b=y.options["=".concat(O)];if(!b){if(!Intl.PluralRules)throw new sa(`Intl.PluralRules is not available in this environment.
|
|
66
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
67
|
+
`,Wn.MISSING_INTL_API,h);var A=i.getPluralRules(r,{type:y.pluralType}).select(O-(y.offset||0));b=y.options[A]||y.options.other}if(!b)throw new dy(y.value,O,Object.keys(y.options),h);d.push.apply(d,Xo(b.value,r,i,s,u,O-(y.offset||0)));continue}}return aA(d)}function iA(n,r){return r?le(le(le({},n||{}),r||{}),Object.keys(n).reduce(function(i,s){return i[s]=le(le({},n[s]),r[s]||{}),i},{})):n}function sA(n,r){return r?Object.keys(n).reduce(function(i,s){return i[s]=iA(n[s],r[s]),i},le({},n)):n}function Vf(n){return{create:function(){return{get:function(r){return n[r]},set:function(r,i){n[r]=i}}}}}function lA(n){return n===void 0&&(n={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Xn(function(){for(var r,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return new((r=Intl.NumberFormat).bind.apply(r,Kn([void 0],i,!1)))},{cache:Vf(n.number),strategy:Qn.variadic}),getDateTimeFormat:Xn(function(){for(var r,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return new((r=Intl.DateTimeFormat).bind.apply(r,Kn([void 0],i,!1)))},{cache:Vf(n.dateTime),strategy:Qn.variadic}),getPluralRules:Xn(function(){for(var r,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return new((r=Intl.PluralRules).bind.apply(r,Kn([void 0],i,!1)))},{cache:Vf(n.pluralRules),strategy:Qn.variadic})}}var fb=function(){function n(r,i,s,u){i===void 0&&(i=n.defaultLocale);var c=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(m){var g=c.formatToParts(m);if(g.length===1)return g[0].value;var y=g.reduce(function(T,O){return!T.length||O.type!==jt.literal||typeof T[T.length-1]!="string"?T.push(O.value):T[T.length-1]+=O.value,T},[]);return y.length<=1?y[0]||"":y},this.formatToParts=function(m){return Xo(c.ast,c.locales,c.formatters,c.formats,m,void 0,c.message)},this.resolvedOptions=function(){var m;return{locale:((m=c.resolvedLocale)===null||m===void 0?void 0:m.toString())||Intl.NumberFormat.supportedLocalesOf(c.locales)[0]}},this.getAst=function(){return c.ast},this.locales=i,this.resolvedLocale=n.resolveLocale(i),typeof r=="string"){if(this.message=r,!n.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var h=u||{};h.formatters;var d=fu(h,["formatters"]);this.ast=n.__parse(r,le(le({},d),{locale:this.resolvedLocale}))}else this.ast=r;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=sA(n.formats,s),this.formatters=u&&u.formatters||lA(this.formatterCache)}return Object.defineProperty(n,"defaultLocale",{get:function(){return n.memoizedDefaultLocale||(n.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),n.memoizedDefaultLocale},enumerable:!1,configurable:!0}),n.memoizedDefaultLocale=null,n.resolveLocale=function(r){if(!(typeof Intl.Locale>"u")){var i=Intl.NumberFormat.supportedLocalesOf(r);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof r=="string"?r:r[0])}},n.__parse=tA,n.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"}}},n}(),Ha;(function(n){n.FORMAT_ERROR="FORMAT_ERROR",n.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",n.INVALID_CONFIG="INVALID_CONFIG",n.MISSING_DATA="MISSING_DATA",n.MISSING_TRANSLATION="MISSING_TRANSLATION"})(Ha||(Ha={}));var el=function(n){Tn(r,n);function r(i,s,u){var c=this,h=u?u instanceof Error?u:new Error(String(u)):void 0;return c=n.call(this,"[@formatjs/intl Error ".concat(i,"] ").concat(s,`
|
|
68
|
+
`).concat(h?`
|
|
69
|
+
`.concat(h.message,`
|
|
70
|
+
`).concat(h.stack):""))||this,c.code=i,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(c,r),c}return r}(Error),oA=function(n){Tn(r,n);function r(i,s){return n.call(this,Ha.UNSUPPORTED_FORMATTER,i,s)||this}return r}(el),uA=function(n){Tn(r,n);function r(i,s){return n.call(this,Ha.INVALID_CONFIG,i,s)||this}return r}(el),my=function(n){Tn(r,n);function r(i,s){return n.call(this,Ha.MISSING_DATA,i,s)||this}return r}(el),An=function(n){Tn(r,n);function r(i,s,u){var c=n.call(this,Ha.FORMAT_ERROR,"".concat(i,`
|
|
71
|
+
Locale: `).concat(s,`
|
|
72
|
+
`),u)||this;return c.locale=s,c}return r}(el),Yf=function(n){Tn(r,n);function r(i,s,u,c){var h=n.call(this,"".concat(i,`
|
|
73
|
+
MessageID: `).concat(u?.id,`
|
|
74
|
+
Default Message: `).concat(u?.defaultMessage,`
|
|
75
|
+
Description: `).concat(u?.description,`
|
|
76
|
+
`),s,c)||this;return h.descriptor=u,h.locale=s,h}return r}(An),cA=function(n){Tn(r,n);function r(i,s){var u=n.call(this,Ha.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(c){var h;return(h=c.value)!==null&&h!==void 0?h:JSON.stringify(c)}).join(),")"):"id"," as fallback."))||this;return u.descriptor=i,u}return r}(el);function fA(n,r,i){if(i===void 0&&(i=Error),!n)throw new i(r)}function Ci(n,r,i){return i===void 0&&(i={}),r.reduce(function(s,u){return u in n?s[u]=n[u]:u in i&&(s[u]=i[u]),s},{})}var hA=function(n){},dA=function(n){},hb={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:hA,onWarn:dA};function db(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ra(n){return{create:function(){return{get:function(r){return n[r]},set:function(r,i){n[r]=i}}}}}function mA(n){n===void 0&&(n=db());var r=Intl.RelativeTimeFormat,i=Intl.ListFormat,s=Intl.DisplayNames,u=Xn(function(){for(var d,m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];return new((d=Intl.DateTimeFormat).bind.apply(d,Kn([void 0],m,!1)))},{cache:Ra(n.dateTime),strategy:Qn.variadic}),c=Xn(function(){for(var d,m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];return new((d=Intl.NumberFormat).bind.apply(d,Kn([void 0],m,!1)))},{cache:Ra(n.number),strategy:Qn.variadic}),h=Xn(function(){for(var d,m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];return new((d=Intl.PluralRules).bind.apply(d,Kn([void 0],m,!1)))},{cache:Ra(n.pluralRules),strategy:Qn.variadic});return{getDateTimeFormat:u,getNumberFormat:c,getMessageFormat:Xn(function(d,m,g,y){return new fb(d,m,g,le({formatters:{getNumberFormat:c,getDateTimeFormat:u,getPluralRules:h}},y||{}))},{cache:Ra(n.message),strategy:Qn.variadic}),getRelativeTimeFormat:Xn(function(){for(var d=[],m=0;m<arguments.length;m++)d[m]=arguments[m];return new(r.bind.apply(r,Kn([void 0],d,!1)))},{cache:Ra(n.relativeTime),strategy:Qn.variadic}),getPluralRules:h,getListFormat:Xn(function(){for(var d=[],m=0;m<arguments.length;m++)d[m]=arguments[m];return new(i.bind.apply(i,Kn([void 0],d,!1)))},{cache:Ra(n.list),strategy:Qn.variadic}),getDisplayNames:Xn(function(){for(var d=[],m=0;m<arguments.length;m++)d[m]=arguments[m];return new(s.bind.apply(s,Kn([void 0],d,!1)))},{cache:Ra(n.displayNames),strategy:Qn.variadic})}}function Cd(n,r,i,s){var u=n&&n[r],c;if(u&&(c=u[i]),c)return c;s(new oA("No ".concat(r," format named: ").concat(i)))}function vo(n,r){return Object.keys(n).reduce(function(i,s){return i[s]=le({timeZone:r},n[s]),i},{})}function py(n,r){var i=Object.keys(le(le({},n),r));return i.reduce(function(s,u){return s[u]=le(le({},n[u]||{}),r[u]||{}),s},{})}function gy(n,r){if(!r)return n;var i=fb.formats;return le(le(le({},i),n),{date:py(vo(i.date,r),vo(n.date||{},r)),time:py(vo(i.time,r),vo(n.time||{},r))})}var rd=function(n,r,i,s,u){var c=n.locale,h=n.formats,d=n.messages,m=n.defaultLocale,g=n.defaultFormats,y=n.fallbackOnEmptyString,T=n.onError,O=n.timeZone,L=n.defaultRichTextElements;i===void 0&&(i={id:""});var M=i.id,V=i.defaultMessage;fA(!!M,"[@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.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var I=String(M),S=d&&Object.prototype.hasOwnProperty.call(d,I)&&d[I];if(Array.isArray(S)&&S.length===1&&S[0].type===Ye.literal)return S[0].value;if(!s&&S&&typeof S=="string"&&!L)return S.replace(/'\{(.*?)\}'/gi,"{$1}");if(s=le(le({},L),s||{}),h=gy(h,O),g=gy(g,O),!S){if(y===!1&&S==="")return S;if((!V||c&&c.toLowerCase()!==m.toLowerCase())&&T(new cA(i,c)),V)try{var x=r.getMessageFormat(V,m,g,u);return x.format(s)}catch(b){return T(new Yf('Error formatting default message for: "'.concat(I,'", rendering default message verbatim'),c,i,b)),typeof V=="string"?V:I}return I}try{var x=r.getMessageFormat(S,c,h,le({formatters:r},u||{}));return x.format(s)}catch(b){T(new Yf('Error formatting message: "'.concat(I,'", using ').concat(V?"default message":"id"," as fallback."),c,i,b))}if(V)try{var x=r.getMessageFormat(V,m,g,u);return x.format(s)}catch(b){T(new Yf('Error formatting the default message for: "'.concat(I,'", rendering message verbatim'),c,i,b))}return typeof S=="string"?S:typeof V=="string"?V:I},pA=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function tl(n,r,i,s){var u=n.locale,c=n.formats,h=n.onError,d=n.timeZone;s===void 0&&(s={});var m=s.format,g=le(le({},d&&{timeZone:d}),m&&Cd(c,r,m,h)),y=Ci(s,pA,g);return r==="time"&&!y.hour&&!y.minute&&!y.second&&!y.timeStyle&&!y.dateStyle&&(y=le(le({},y),{hour:"numeric",minute:"numeric"})),i(u,y)}function gA(n,r){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var u=i[0],c=i[1],h=c===void 0?{}:c,d=typeof u=="string"?new Date(u||0):u;try{return tl(n,"date",r,h).format(d)}catch(m){n.onError(new An("Error formatting date.",n.locale,m))}return String(d)}function yA(n,r){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var u=i[0],c=i[1],h=c===void 0?{}:c,d=typeof u=="string"?new Date(u||0):u;try{return tl(n,"time",r,h).format(d)}catch(m){n.onError(new An("Error formatting time.",n.locale,m))}return String(d)}function _A(n,r){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var u=i[0],c=i[1],h=i[2],d=h===void 0?{}:h,m=typeof u=="string"?new Date(u||0):u,g=typeof c=="string"?new Date(c||0):c;try{return tl(n,"dateTimeRange",r,d).formatRange(m,g)}catch(y){n.onError(new An("Error formatting date time range.",n.locale,y))}return String(m)}function vA(n,r){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var u=i[0],c=i[1],h=c===void 0?{}:c,d=typeof u=="string"?new Date(u||0):u;try{return tl(n,"date",r,h).formatToParts(d)}catch(m){n.onError(new An("Error formatting date.",n.locale,m))}return[]}function bA(n,r){for(var i=[],s=2;s<arguments.length;s++)i[s-2]=arguments[s];var u=i[0],c=i[1],h=c===void 0?{}:c,d=typeof u=="string"?new Date(u||0):u;try{return tl(n,"time",r,h).formatToParts(d)}catch(m){n.onError(new An("Error formatting time.",n.locale,m))}return[]}var EA=["style","type","fallback","languageDisplay"];function SA(n,r,i,s){var u=n.locale,c=n.onError,h=Intl.DisplayNames;h||c(new sa(`Intl.DisplayNames is not available in this environment.
|
|
77
|
+
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
78
|
+
`,Wn.MISSING_INTL_API));var d=Ci(s,EA);try{return r(u,d).of(i)}catch(m){c(new An("Error formatting display name.",u,m))}}var TA=["type","style"],yy=Date.now();function AA(n){return"".concat(yy,"_").concat(n,"_").concat(yy)}function xA(n,r,i,s){s===void 0&&(s={});var u=mb(n,r,i,s).reduce(function(c,h){var d=h.value;return typeof d!="string"?c.push(d):typeof c[c.length-1]=="string"?c[c.length-1]+=d:c.push(d),c},[]);return u.length===1?u[0]:u.length===0?"":u}function mb(n,r,i,s){var u=n.locale,c=n.onError;s===void 0&&(s={});var h=Intl.ListFormat;h||c(new sa(`Intl.ListFormat is not available in this environment.
|
|
79
|
+
Try polyfilling it using "@formatjs/intl-listformat"
|
|
80
|
+
`,Wn.MISSING_INTL_API));var d=Ci(s,TA);try{var m={},g=i.map(function(y,T){if(typeof y=="object"){var O=AA(T);return m[O]=y,O}return String(y)});return r(u,d).formatToParts(g).map(function(y){return y.type==="literal"?y:le(le({},y),{value:m[y.value]||y.value})})}catch(y){c(new An("Error formatting list.",u,y))}return i}var OA=["type"];function wA(n,r,i,s){var u=n.locale,c=n.onError;s===void 0&&(s={}),Intl.PluralRules||c(new sa(`Intl.PluralRules is not available in this environment.
|
|
81
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
82
|
+
`,Wn.MISSING_INTL_API));var h=Ci(s,OA);try{return r(u,h).select(i)}catch(d){c(new An("Error formatting plural.",u,d))}return"other"}var RA=["numeric","style"];function CA(n,r,i){var s=n.locale,u=n.formats,c=n.onError;i===void 0&&(i={});var h=i.format,d=!!h&&Cd(u,"relative",h,c)||{},m=Ci(i,RA,d);return r(s,m)}function NA(n,r,i,s,u){u===void 0&&(u={}),s||(s="second");var c=Intl.RelativeTimeFormat;c||n.onError(new sa(`Intl.RelativeTimeFormat is not available in this environment.
|
|
83
|
+
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
84
|
+
`,Wn.MISSING_INTL_API));try{return CA(n,r,u).format(i,s)}catch(h){n.onError(new An("Error formatting relative time.",n.locale,h))}return String(i)}var MA=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function pb(n,r,i){var s=n.locale,u=n.formats,c=n.onError;i===void 0&&(i={});var h=i.format,d=h&&Cd(u,"number",h,c)||{},m=Ci(i,MA,d);return r(s,m)}function DA(n,r,i,s){s===void 0&&(s={});try{return pb(n,r,s).format(i)}catch(u){n.onError(new An("Error formatting number.",n.locale,u))}return String(i)}function BA(n,r,i,s){s===void 0&&(s={});try{return pb(n,r,s).formatToParts(i)}catch(u){n.onError(new An("Error formatting number.",n.locale,u))}return[]}function LA(n){var r=n?n[Object.keys(n)[0]]:void 0;return typeof r=="string"}function UA(n){n.onWarn&&n.defaultRichTextElements&&LA(n.messages||{})&&n.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
85
|
+
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
86
|
+
For more details see https://formatjs.github.io/docs/getting-started/message-distribution`)}function jA(n,r){var i=mA(r),s=le(le({},hb),n),u=s.locale,c=s.defaultLocale,h=s.onError;return u?!Intl.NumberFormat.supportedLocalesOf(u).length&&h?h(new my('Missing locale data for locale: "'.concat(u,'" in Intl.NumberFormat. Using default locale: "').concat(c,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(u).length&&h&&h(new my('Missing locale data for locale: "'.concat(u,'" in Intl.DateTimeFormat. Using default locale: "').concat(c,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(h&&h(new uA('"locale" was not configured, using "'.concat(c,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),s.locale=s.defaultLocale||"en"),UA(s),le(le({},s),{formatters:i,formatNumber:DA.bind(null,s,i.getNumberFormat),formatNumberToParts:BA.bind(null,s,i.getNumberFormat),formatRelativeTime:NA.bind(null,s,i.getRelativeTimeFormat),formatDate:gA.bind(null,s,i.getDateTimeFormat),formatDateToParts:vA.bind(null,s,i.getDateTimeFormat),formatTime:yA.bind(null,s,i.getDateTimeFormat),formatDateTimeRange:_A.bind(null,s,i.getDateTimeFormat),formatTimeToParts:bA.bind(null,s,i.getDateTimeFormat),formatPlural:wA.bind(null,s,i.getPluralRules),formatMessage:rd.bind(null,s,i),$t:rd.bind(null,s,i),formatList:xA.bind(null,s,i.getListFormat),formatListToParts:mb.bind(null,s,i.getListFormat),formatDisplayName:SA.bind(null,s,i.getDisplayNames)})}function HA(n,r,i){if(i===void 0&&(i=Error),!n)throw new i(r)}function gb(n){HA(n,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var yb=le(le({},hb),{textComponent:H.Fragment}),zA={key:42},kA=function(n){return H.isValidElement(n)?H.createElement(H.Fragment,zA,n):n},IA=function(n){var r;return(r=H.Children.map(n,kA))!==null&&r!==void 0?r:[]};function GA(n){return function(r){return n(H.Children.toArray(r))}}function qA(n,r){if(n===r)return!0;if(!n||!r)return!1;var i=Object.keys(n),s=Object.keys(r),u=i.length;if(s.length!==u)return!1;for(var c=0;c<u;c++){var h=i[c];if(n[h]!==r[h]||!Object.prototype.hasOwnProperty.call(r,h))return!1}return!0}var Zf={exports:{}},Le={};/** @license React v16.13.1
|
|
87
|
+
* react-is.production.min.js
|
|
88
|
+
*
|
|
89
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
90
|
+
*
|
|
91
|
+
* This source code is licensed under the MIT license found in the
|
|
92
|
+
* LICENSE file in the root directory of this source tree.
|
|
93
|
+
*/var _y;function FA(){if(_y)return Le;_y=1;var n=typeof Symbol=="function"&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,u=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,h=n?Symbol.for("react.provider"):60109,d=n?Symbol.for("react.context"):60110,m=n?Symbol.for("react.async_mode"):60111,g=n?Symbol.for("react.concurrent_mode"):60111,y=n?Symbol.for("react.forward_ref"):60112,T=n?Symbol.for("react.suspense"):60113,O=n?Symbol.for("react.suspense_list"):60120,L=n?Symbol.for("react.memo"):60115,M=n?Symbol.for("react.lazy"):60116,V=n?Symbol.for("react.block"):60121,I=n?Symbol.for("react.fundamental"):60117,S=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function b(E){if(typeof E=="object"&&E!==null){var k=E.$$typeof;switch(k){case r:switch(E=E.type,E){case m:case g:case s:case c:case u:case T:return E;default:switch(E=E&&E.$$typeof,E){case d:case y:case M:case L:case h:return E;default:return k}}case i:return k}}}function A(E){return b(E)===g}return Le.AsyncMode=m,Le.ConcurrentMode=g,Le.ContextConsumer=d,Le.ContextProvider=h,Le.Element=r,Le.ForwardRef=y,Le.Fragment=s,Le.Lazy=M,Le.Memo=L,Le.Portal=i,Le.Profiler=c,Le.StrictMode=u,Le.Suspense=T,Le.isAsyncMode=function(E){return A(E)||b(E)===m},Le.isConcurrentMode=A,Le.isContextConsumer=function(E){return b(E)===d},Le.isContextProvider=function(E){return b(E)===h},Le.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===r},Le.isForwardRef=function(E){return b(E)===y},Le.isFragment=function(E){return b(E)===s},Le.isLazy=function(E){return b(E)===M},Le.isMemo=function(E){return b(E)===L},Le.isPortal=function(E){return b(E)===i},Le.isProfiler=function(E){return b(E)===c},Le.isStrictMode=function(E){return b(E)===u},Le.isSuspense=function(E){return b(E)===T},Le.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===s||E===g||E===c||E===u||E===T||E===O||typeof E=="object"&&E!==null&&(E.$$typeof===M||E.$$typeof===L||E.$$typeof===h||E.$$typeof===d||E.$$typeof===y||E.$$typeof===I||E.$$typeof===S||E.$$typeof===x||E.$$typeof===V)},Le.typeOf=b,Le}var vy;function PA(){return vy||(vy=1,Zf.exports=FA()),Zf.exports}var Xf,by;function VA(){if(by)return Xf;by=1;var n=PA(),r={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},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[n.ForwardRef]=s,c[n.Memo]=u;function h(M){return n.isMemo(M)?u:c[M.$$typeof]||r}var d=Object.defineProperty,m=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,T=Object.getPrototypeOf,O=Object.prototype;function L(M,V,I){if(typeof V!="string"){if(O){var S=T(V);S&&S!==O&&L(M,S,I)}var x=m(V);g&&(x=x.concat(g(V)));for(var b=h(M),A=h(V),E=0;E<x.length;++E){var k=x[E];if(!i[k]&&!(I&&I[k])&&!(A&&A[k])&&!(b&&b[k])){var Z=y(V,k);try{d(M,k,Z)}catch{}}}}return M}return Xf=L,Xf}VA();var Nd=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=H.createContext(null)):H.createContext(null);Nd.Consumer;var YA=Nd.Provider,ZA=YA,XA=Nd;function hu(){var n=H.useContext(XA);return gb(n),n}var ad;(function(n){n.formatDate="FormattedDate",n.formatTime="FormattedTime",n.formatNumber="FormattedNumber",n.formatList="FormattedList",n.formatDisplayName="FormattedDisplayName"})(ad||(ad={}));var id;(function(n){n.formatDate="FormattedDateParts",n.formatTime="FormattedTimeParts",n.formatNumber="FormattedNumberParts",n.formatList="FormattedListParts"})(id||(id={}));function _b(n){var r=function(i){var s=hu(),u=i.value,c=i.children,h=fu(i,["value","children"]),d=typeof u=="string"?new Date(u||0):u,m=n==="formatDate"?s.formatDateToParts(d,h):s.formatTimeToParts(d,h);return c(m)};return r.displayName=id[n],r}function nl(n){var r=function(i){var s=hu(),u=i.value,c=i.children,h=fu(i,["value","children"]),d=s[n](u,h);if(typeof c=="function")return c(d);var m=s.textComponent||H.Fragment;return H.createElement(m,null,d)};return r.displayName=ad[n],r}function vb(n){return n&&Object.keys(n).reduce(function(r,i){var s=n[i];return r[i]=cb(s)?GA(s):s,r},{})}var Ey=function(n,r,i,s){for(var u=[],c=4;c<arguments.length;c++)u[c-4]=arguments[c];var h=vb(s),d=rd.apply(void 0,Kn([n,r,i,h],u,!1));return Array.isArray(d)?IA(d):d},Sy=function(n,r){var i=n.defaultRichTextElements,s=fu(n,["defaultRichTextElements"]),u=vb(i),c=jA(le(le(le({},yb),s),{defaultRichTextElements:u}),r),h={locale:c.locale,timeZone:c.timeZone,fallbackOnEmptyString:c.fallbackOnEmptyString,formats:c.formats,defaultLocale:c.defaultLocale,defaultFormats:c.defaultFormats,messages:c.messages,onError:c.onError,defaultRichTextElements:u};return le(le({},c),{formatMessage:Ey.bind(null,h,c.formatters),$t:Ey.bind(null,h,c.formatters)})};function Qf(n){return{locale:n.locale,timeZone:n.timeZone,fallbackOnEmptyString:n.fallbackOnEmptyString,formats:n.formats,textComponent:n.textComponent,messages:n.messages,defaultLocale:n.defaultLocale,defaultFormats:n.defaultFormats,onError:n.onError,onWarn:n.onWarn,wrapRichTextChunksInFragment:n.wrapRichTextChunksInFragment,defaultRichTextElements:n.defaultRichTextElements}}var QA=function(n){Tn(r,n);function r(){var i=n!==null&&n.apply(this,arguments)||this;return i.cache=db(),i.state={cache:i.cache,intl:Sy(Qf(i.props),i.cache),prevConfig:Qf(i.props)},i}return r.getDerivedStateFromProps=function(i,s){var u=s.prevConfig,c=s.cache,h=Qf(i);return qA(u,h)?null:{intl:Sy(h,c),prevConfig:h}},r.prototype.render=function(){return gb(this.state.intl),H.createElement(ZA,{value:this.state.intl},this.props.children)},r.displayName="IntlProvider",r.defaultProps=yb,r}(H.PureComponent);nl("formatDate");nl("formatTime");nl("formatNumber");nl("formatList");nl("formatDisplayName");_b("formatDate");_b("formatTime");const KA="_app_1rj0t_1",$A={app:KA},Ia=dT,Qt=gT,bb="%[a-f0-9]{2}",Ty=new RegExp("("+bb+")|([^%]+?)","gi"),Ay=new RegExp("("+bb+")+","gi");function sd(n,r){try{return[decodeURIComponent(n.join(""))]}catch{}if(n.length===1)return n;r=r||1;const i=n.slice(0,r),s=n.slice(r);return Array.prototype.concat.call([],sd(i),sd(s))}function WA(n){try{return decodeURIComponent(n)}catch{let r=n.match(Ty)||[];for(let i=1;i<r.length;i++)n=sd(r,i).join(""),r=n.match(Ty)||[];return n}}function JA(n){const r={"%FE%FF":"��","%FF%FE":"��"};let i=Ay.exec(n);for(;i;){try{r[i[0]]=decodeURIComponent(i[0])}catch{const u=WA(i[0]);u!==i[0]&&(r[i[0]]=u)}i=Ay.exec(n)}r["%C2"]="�";const s=Object.keys(r);for(const u of s)n=n.replace(new RegExp(u,"g"),r[u]);return n}function ex(n){if(typeof n!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof n+"`");try{return decodeURIComponent(n)}catch{return JA(n)}}function tx(n,r){const i={};if(Array.isArray(r))for(const s of r){const u=Object.getOwnPropertyDescriptor(n,s);u?.enumerable&&Object.defineProperty(i,s,u)}else for(const s of Reflect.ownKeys(n)){const u=Object.getOwnPropertyDescriptor(n,s);if(u.enumerable){const c=n[s];r(s,c,n)&&Object.defineProperty(i,s,u)}}return i}function Eb(n,r){if(!(typeof n=="string"&&typeof r=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(n===""||r==="")return[];const i=n.indexOf(r);return i===-1?[]:[n.slice(0,i),n.slice(i+r.length)]}const nx=n=>n==null,rx=n=>encodeURIComponent(n).replaceAll(/[!'()*]/g,r=>`%${r.charCodeAt(0).toString(16).toUpperCase()}`),ld=Symbol("encodeFragmentIdentifier");function ax(n){switch(n.arrayFormat){case"index":return r=>(i,s)=>{const u=i.length;return s===void 0||n.skipNull&&s===null||n.skipEmptyString&&s===""?i:s===null?[...i,[ut(r,n),"[",u,"]"].join("")]:[...i,[ut(r,n),"[",ut(u,n),"]=",ut(s,n)].join("")]};case"bracket":return r=>(i,s)=>s===void 0||n.skipNull&&s===null||n.skipEmptyString&&s===""?i:s===null?[...i,[ut(r,n),"[]"].join("")]:[...i,[ut(r,n),"[]=",ut(s,n)].join("")];case"colon-list-separator":return r=>(i,s)=>s===void 0||n.skipNull&&s===null||n.skipEmptyString&&s===""?i:s===null?[...i,[ut(r,n),":list="].join("")]:[...i,[ut(r,n),":list=",ut(s,n)].join("")];case"comma":case"separator":case"bracket-separator":{const r=n.arrayFormat==="bracket-separator"?"[]=":"=";return i=>(s,u)=>u===void 0||n.skipNull&&u===null||n.skipEmptyString&&u===""?s:(u=u===null?"":u,s.length===0?[[ut(i,n),r,ut(u,n)].join("")]:[[s,ut(u,n)].join(n.arrayFormatSeparator)])}default:return r=>(i,s)=>s===void 0||n.skipNull&&s===null||n.skipEmptyString&&s===""?i:s===null?[...i,ut(r,n)]:[...i,[ut(r,n),"=",ut(s,n)].join("")]}}function ix(n){let r;switch(n.arrayFormat){case"index":return(i,s,u)=>{if(r=/\[(\d*)]$/.exec(i),i=i.replace(/\[\d*]$/,""),!r){u[i]=s;return}u[i]===void 0&&(u[i]={}),u[i][r[1]]=s};case"bracket":return(i,s,u)=>{if(r=/(\[])$/.exec(i),i=i.replace(/\[]$/,""),!r){u[i]=s;return}if(u[i]===void 0){u[i]=[s];return}u[i]=[...u[i],s]};case"colon-list-separator":return(i,s,u)=>{if(r=/(:list)$/.exec(i),i=i.replace(/:list$/,""),!r){u[i]=s;return}if(u[i]===void 0){u[i]=[s];return}u[i]=[...u[i],s]};case"comma":case"separator":return(i,s,u)=>{const c=typeof s=="string"&&s.includes(n.arrayFormatSeparator),h=typeof s=="string"&&!c&&Sr(s,n).includes(n.arrayFormatSeparator);s=h?Sr(s,n):s;const d=c||h?s.split(n.arrayFormatSeparator).map(m=>Sr(m,n)):s===null?s:Sr(s,n);u[i]=d};case"bracket-separator":return(i,s,u)=>{const c=/(\[])$/.test(i);if(i=i.replace(/\[]$/,""),!c){u[i]=s&&Sr(s,n);return}const h=s===null?[]:Sr(s,n).split(n.arrayFormatSeparator);if(u[i]===void 0){u[i]=h;return}u[i]=[...u[i],...h]};default:return(i,s,u)=>{if(u[i]===void 0){u[i]=s;return}u[i]=[...[u[i]].flat(),s]}}}function Sb(n){if(typeof n!="string"||n.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function ut(n,r){return r.encode?r.strict?rx(n):encodeURIComponent(n):n}function Sr(n,r){return r.decode?ex(n):n}function Tb(n){return Array.isArray(n)?n.sort():typeof n=="object"?Tb(Object.keys(n)).sort((r,i)=>Number(r)-Number(i)).map(r=>n[r]):n}function Ab(n){const r=n.indexOf("#");return r!==-1&&(n=n.slice(0,r)),n}function sx(n){let r="";const i=n.indexOf("#");return i!==-1&&(r=n.slice(i)),r}function xy(n,r,i){return i==="string"&&typeof n=="string"?n:typeof i=="function"&&typeof n=="string"?i(n):i==="boolean"&&n!==null&&(n.toLowerCase()==="true"||n.toLowerCase()==="false")?n.toLowerCase()==="true":i==="boolean"&&n!==null&&(n.toLowerCase()==="1"||n.toLowerCase()==="0")?n.toLowerCase()==="1":i==="string[]"&&r.arrayFormat!=="none"&&typeof n=="string"?[n]:i==="number[]"&&r.arrayFormat!=="none"&&!Number.isNaN(Number(n))&&typeof n=="string"&&n.trim()!==""?[Number(n)]:i==="number"&&!Number.isNaN(Number(n))&&typeof n=="string"&&n.trim()!==""?Number(n):r.parseBooleans&&n!==null&&(n.toLowerCase()==="true"||n.toLowerCase()==="false")?n.toLowerCase()==="true":r.parseNumbers&&!Number.isNaN(Number(n))&&typeof n=="string"&&n.trim()!==""?Number(n):n}function Md(n){n=Ab(n);const r=n.indexOf("?");return r===-1?"":n.slice(r+1)}function Dd(n,r){r={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,types:Object.create(null),...r},Sb(r.arrayFormatSeparator);const i=ix(r),s=Object.create(null);if(typeof n!="string"||(n=n.trim().replace(/^[?#&]/,""),!n))return s;for(const u of n.split("&")){if(u==="")continue;const c=r.decode?u.replaceAll("+"," "):u;let[h,d]=Eb(c,"=");h===void 0&&(h=c),d=d===void 0?null:["comma","separator","bracket-separator"].includes(r.arrayFormat)?d:Sr(d,r),i(Sr(h,r),d,s)}for(const[u,c]of Object.entries(s))if(typeof c=="object"&&c!==null&&r.types[u]!=="string")for(const[h,d]of Object.entries(c)){const m=r.types[u]?r.types[u].replace("[]",""):void 0;c[h]=xy(d,r,m)}else typeof c=="object"&&c!==null&&r.types[u]==="string"?s[u]=Object.values(c).join(r.arrayFormatSeparator):s[u]=xy(c,r,r.types[u]);return r.sort===!1?s:(r.sort===!0?Object.keys(s).sort():Object.keys(s).sort(r.sort)).reduce((u,c)=>{const h=s[c];return u[c]=h&&typeof h=="object"&&!Array.isArray(h)?Tb(h):h,u},Object.create(null))}function xb(n,r){if(!n)return"";r={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...r},Sb(r.arrayFormatSeparator);const i=h=>r.skipNull&&nx(n[h])||r.skipEmptyString&&n[h]==="",s=ax(r),u={};for(const[h,d]of Object.entries(n))i(h)||(u[h]=d);const c=Object.keys(u);return r.sort!==!1&&c.sort(r.sort),c.map(h=>{const d=n[h];return d===void 0?"":d===null?ut(h,r):Array.isArray(d)?d.length===0&&r.arrayFormat==="bracket-separator"?ut(h,r)+"[]":d.reduce(s(h),[]).join("&"):ut(h,r)+"="+ut(d,r)}).filter(h=>h.length>0).join("&")}function Ob(n,r){r={decode:!0,...r};let[i,s]=Eb(n,"#");return i===void 0&&(i=n),{url:i?.split("?")?.[0]??"",query:Dd(Md(n),r),...r&&r.parseFragmentIdentifier&&s?{fragmentIdentifier:Sr(s,r)}:{}}}function wb(n,r){r={encode:!0,strict:!0,[ld]:!0,...r};const i=Ab(n.url).split("?")[0]||"",s=Md(n.url),u={...Dd(s,{sort:!1,...r}),...n.query};let c=xb(u,r);c&&=`?${c}`;let h=sx(n.url);if(typeof n.fragmentIdentifier=="string"){const d=new URL(i);d.hash=n.fragmentIdentifier,h=r[ld]?d.hash:`#${n.fragmentIdentifier}`}return`${i}${c}${h}`}function Rb(n,r,i){i={parseFragmentIdentifier:!0,[ld]:!1,...i};const{url:s,query:u,fragmentIdentifier:c}=Ob(n,i);return wb({url:s,query:tx(u,r),fragmentIdentifier:c},i)}function lx(n,r,i){const s=Array.isArray(r)?u=>!r.includes(u):(u,c)=>!r(u,c);return Rb(n,s,i)}const du=Object.freeze(Object.defineProperty({__proto__:null,exclude:lx,extract:Md,parse:Dd,parseUrl:Ob,pick:Rb,stringify:xb,stringifyUrl:wb},Symbol.toStringTag,{value:"Module"}));var Dn={},Bn={},ze={},bo={},ye={},Oy;function cn(){return Oy||(Oy=1,Object.defineProperty(ye,"__esModule",{value:!0}),ye.GUEST_LOCALE_CHANGED=ye.DRAWER_CLOSE=ye.DRAWER_OPEN=ye.CONVERSATION_RATING_FROM_GUEST=ye.TRANSCRIPT_ITEM_GUEST_REACTION=ye.TRANSCRIPT_MAIL_REQUEST=ye.INBOX_CONNECT_REQUEST=ye.RESTART_CHAT_REQUEST=ye.EVENT_TO_GUEST=ye.NLU_REQUEST_EVENT=ye.EXPERTS_DISCONNECTED=ye.EXPERTS_DISCONNECT_REQUEST=ye.EXPERTS_CONNECTED=ye.EXPERTS_CONNECT_REQUEST=ye.MESSAGE_TO_GUEST=ye.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST=ye.MESSAGE_FROM_GUEST=ye.GUEST_FEEDBACK_RESPONSE=ye.GUEST_DISCONNECTED=ye.GUEST_CONNECTED=ye.TYPING_OFF=ye.TYPING_ON=void 0,ye.TYPING_ON="core.typing.on",ye.TYPING_OFF="core.typing.off",ye.GUEST_CONNECTED="core.guest.connected",ye.GUEST_DISCONNECTED="core.guest.disconnected",ye.GUEST_FEEDBACK_RESPONSE="core.guest.feedback.response",ye.MESSAGE_FROM_GUEST="core.message.from.guest",ye.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST="core.message.without.analysis.from.guest",ye.MESSAGE_TO_GUEST="core.message.to.guest",ye.EXPERTS_CONNECT_REQUEST="core.experts.connect.request",ye.EXPERTS_CONNECTED="core.experts.connected",ye.EXPERTS_DISCONNECT_REQUEST="core.experts.disconnect.request",ye.EXPERTS_DISCONNECTED="core.experts.disconnected",ye.NLU_REQUEST_EVENT="core.nlu.request.event",ye.EVENT_TO_GUEST="core.event.to.guest",ye.RESTART_CHAT_REQUEST="core.chat.restart.request",ye.INBOX_CONNECT_REQUEST="core.inbox.connect.request",ye.TRANSCRIPT_MAIL_REQUEST="core.transcript.mail.request",ye.TRANSCRIPT_ITEM_GUEST_REACTION="core.transcript.item.guest.reaction",ye.CONVERSATION_RATING_FROM_GUEST="core.conversation.rating.from.guest",ye.DRAWER_OPEN="core.drawer.open",ye.DRAWER_CLOSE="core.drawer.close",ye.GUEST_LOCALE_CHANGED="core.guest.locale.changed"),ye}var wy;function ox(){if(wy)return bo;wy=1,Object.defineProperty(bo,"__esModule",{value:!0});const n=cn(),r=()=>({type:n.DRAWER_CLOSE});return bo.default=r,bo}var Eo={},Ry;function ux(){if(Ry)return Eo;Ry=1,Object.defineProperty(Eo,"__esModule",{value:!0});const n=cn(),r=(i,s)=>({type:n.GUEST_FEEDBACK_RESPONSE,payload:{satisfaction:i,intent:s}});return Eo.default=r,Eo}var So={},Cy;function cx(){if(Cy)return So;Cy=1,Object.defineProperty(So,"__esModule",{value:!0});const n=cn(),r=i=>({type:n.GUEST_CONNECTED,payload:{sessionId:i}});return So.default=r,So}var To={},Ny;function fx(){if(Ny)return To;Ny=1,Object.defineProperty(To,"__esModule",{value:!0});const n=cn(),r=i=>({type:n.GUEST_DISCONNECTED,payload:{sessionId:i}});return To.default=r,To}var Ao={},My;function hx(){if(My)return Ao;My=1,Object.defineProperty(Ao,"__esModule",{value:!0});const n=cn(),r=(i,s)=>({type:n.GUEST_LOCALE_CHANGED,payload:{previousLocale:i,newLocale:s}});return Ao.default=r,Ao}var xo={},Dy;function dx(){if(Dy)return xo;Dy=1,Object.defineProperty(xo,"__esModule",{value:!0});const n=cn(),r=i=>({type:n.DRAWER_OPEN,payload:{parameters:{contentUrl:i}}});return xo.default=r,xo}var Oo={},Ke={},By;function Bd(){if(By)return Ke;By=1,Object.defineProperty(Ke,"__esModule",{value:!0}),Ke.getStringRepresentationFromMessage=Ke.MessageTypeEnum=Ke.AudioMessage=Ke.FileMessage=Ke.ImageMessage=Ke.VideoMessage=Ke.MarkdownMessage=Ke.DetailMessage=Ke.TextMessage=Ke.Message=void 0;class n{type;sender;sources;quickReplies;constructor(T,O,L=[],M=[]){this.type=T,this.sender=O,this.sources=L,this.quickReplies=M}addQuickReply(T,O){this.quickReplies.push({label:T,payload:O})}}Ke.Message=n;class r extends n{text;constructor(T,O,L=[],M=[]){super(m.TEXT,O,L,M),this.text=T}}Ke.TextMessage=r;class i extends n{title;subtitle;text;imageUrl;itemUrl;buttons;constructor(T,O){super(m.DETAIL,O),this.title=T,this.text="",this.subtitle="",this.imageUrl="",this.itemUrl="",this.buttons=[]}setImageUrl(T){this.imageUrl=T}setItemUrl(T){this.itemUrl=T}setSubtitle(T){this.subtitle=T}setText(T){this.text=T}addButton(T){this.buttons.push(T)}}Ke.DetailMessage=i;class s extends n{markdown;constructor(T,O,L=[],M=[]){super(m.MARKDOWN,O,L,M),this.markdown=T}}Ke.MarkdownMessage=s;class u extends n{url;constructor(T,O){super(m.VIDEO,O),this.url=T}}Ke.VideoMessage=u;class c extends n{url;constructor(T,O){super(m.IMAGE,O),this.url=T}}Ke.ImageMessage=c;class h extends n{url;constructor(T,O){super(m.FILE,O),this.url=T}}Ke.FileMessage=h;class d extends n{url;constructor(T,O){super(m.AUDIO,O),this.url=T}}Ke.AudioMessage=d;var m;(function(y){y.TEXT="TEXT",y.DETAIL="DETAIL",y.MARKDOWN="MARKDOWN",y.VIDEO="VIDEO",y.IMAGE="IMAGE",y.FILE="FILE",y.AUDIO="AUDIO"})(m||(Ke.MessageTypeEnum=m={}));const g=y=>{switch(y.type){case m.TEXT:return y.text;case m.DETAIL:{const T=y;return`${T.title} // ${T.subtitle}`}case m.MARKDOWN:return y.markdown;case m.VIDEO:return`Video Url: ${y.url}`;case m.IMAGE:return`Image Url: ${y.url}`;case m.FILE:return`File Url: ${y.url}`;case m.AUDIO:return`Audio Url: ${y.url}`;default:throw new Error("Unknown message type "+y.type)}};return Ke.getStringRepresentationFromMessage=g,Ke}var sn={},Ly;function Ld(){if(Ly)return sn;Ly=1,Object.defineProperty(sn,"__esModule",{value:!0}),sn.UserType=sn.PersonUser=sn.GuestUser=sn.BotUser=sn.User=void 0;class n{type;id;name;avatar;constructor(h,d,m,g){this.type=h,this.id=d,this.name=m,this.avatar=g}}sn.User=n;class r extends n{constructor(){super(u.BOT,null,"Chatbot","bot.svg")}}sn.BotUser=r;class i extends n{constructor(){super(u.GUEST,null,"Guest","visitor.svg")}}sn.GuestUser=i;class s extends n{constructor(h,d,m){super(u.PERSON,h,d,m)}}sn.PersonUser=s;var u;return function(c){c.GUEST="GUEST",c.BOT="BOT",c.PERSON="PERSON"}(u||(sn.UserType=u={})),sn}var Uy;function mx(){if(Uy)return Oo;Uy=1,Object.defineProperty(Oo,"__esModule",{value:!0});const n=Bd(),r=Ld(),i=cn(),s=u=>{const c=new n.TextMessage(u,new r.GuestUser);return{type:i.MESSAGE_FROM_GUEST,message:c}};return Oo.default=s,Oo}var wo={},jy;function px(){if(jy)return wo;jy=1,Object.defineProperty(wo,"__esModule",{value:!0});const n=Bd(),r=Ld(),i=cn(),s=(u,c={})=>{const h=new n.TextMessage(u,new r.GuestUser);return{type:i.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST,message:h,payload:c}};return wo.default=s,wo}var Ro={},Hy;function gx(){if(Hy)return Ro;Hy=1,Object.defineProperty(Ro,"__esModule",{value:!0});const n=cn(),r=i=>({type:n.NLU_REQUEST_EVENT,event:i});return Ro.default=r,Ro}var Co={},zy;function yx(){if(zy)return Co;zy=1,Object.defineProperty(Co,"__esModule",{value:!0});const n=cn(),r=()=>({type:n.RESTART_CHAT_REQUEST});return Co.default=r,Co}var No={},ky;function _x(){if(ky)return No;ky=1,Object.defineProperty(No,"__esModule",{value:!0});const n=cn(),r=i=>({type:n.MESSAGE_TO_GUEST,message:i});return No.default=r,No}var Mo={},Iy;function vx(){if(Iy)return Mo;Iy=1,Object.defineProperty(Mo,"__esModule",{value:!0});const n=cn(),r=(i,s)=>({type:n.TRANSCRIPT_ITEM_GUEST_REACTION,payload:{actionId:i,reaction:s}});return Mo.default=r,Mo}var Gy;function bx(){if(Gy)return ze;Gy=1;var n=ze&&ze.__importDefault||function(L){return L&&L.__esModule?L:{default:L}};Object.defineProperty(ze,"__esModule",{value:!0}),ze.transcriptItemGuestReaction=ze.sendMessageToGuest=ze.restartChatRequest=ze.requestNLUEvent=ze.receiveTextMessageWithoutAnalysisFromGuest=ze.receiveTextMessageFromGuest=ze.openDrawer=ze.guestLocaleChanged=ze.guestDisconnected=ze.guestConnected=ze.feedbackFromGuestResponse=ze.closeDrawer=void 0;const r=n(ox());ze.closeDrawer=r.default;const i=n(ux());ze.feedbackFromGuestResponse=i.default;const s=n(cx());ze.guestConnected=s.default;const u=n(fx());ze.guestDisconnected=u.default;const c=n(hx());ze.guestLocaleChanged=c.default;const h=n(dx());ze.openDrawer=h.default;const d=n(mx());ze.receiveTextMessageFromGuest=d.default;const m=n(px());ze.receiveTextMessageWithoutAnalysisFromGuest=m.default;const g=n(gx());ze.requestNLUEvent=g.default;const y=n(yx());ze.restartChatRequest=y.default;const T=n(_x());ze.sendMessageToGuest=T.default;const O=n(vx());return ze.transcriptItemGuestReaction=O.default,ze}var Kf={},qy;function Ex(){return qy||(qy=1,Object.defineProperty(Kf,"__esModule",{value:!0})),Kf}var Fy;function Sx(){return Fy||(Fy=1,function(n){var r=Bn&&Bn.__createBinding||(Object.create?function(c,h,d,m){m===void 0&&(m=d);var g=Object.getOwnPropertyDescriptor(h,d);(!g||("get"in g?!h.__esModule:g.writable||g.configurable))&&(g={enumerable:!0,get:function(){return h[d]}}),Object.defineProperty(c,m,g)}:function(c,h,d,m){m===void 0&&(m=d),c[m]=h[d]}),i=Bn&&Bn.__setModuleDefault||(Object.create?function(c,h){Object.defineProperty(c,"default",{enumerable:!0,value:h})}:function(c,h){c.default=h}),s=Bn&&Bn.__importStar||function(){var c=function(h){return c=Object.getOwnPropertyNames||function(d){var m=[];for(var g in d)Object.prototype.hasOwnProperty.call(d,g)&&(m[m.length]=g);return m},c(h)};return function(h){if(h&&h.__esModule)return h;var d={};if(h!=null)for(var m=c(h),g=0;g<m.length;g++)m[g]!=="default"&&r(d,h,m[g]);return i(d,h),d}}(),u=Bn&&Bn.__exportStar||function(c,h){for(var d in c)d!=="default"&&!Object.prototype.hasOwnProperty.call(h,d)&&r(h,c,d)};Object.defineProperty(n,"__esModule",{value:!0}),n.ActionTypes=n.Actions=void 0,n.Actions=s(bx()),n.ActionTypes=s(cn()),u(Ex(),n)}(Bn)),Bn}var ln={},$f={},Py;function Tx(){return Py||(Py=1,Object.defineProperty($f,"__esModule",{value:!0})),$f}var Ls={},Vy;function Ax(){if(Vy)return Ls;Vy=1,Object.defineProperty(Ls,"__esModule",{value:!0}),Ls.NullableKnowledgeBaseAdapter=void 0;class n{async createApiKnowledgeBase(i){throw new Error("Method not implemented.")}async updateApiKnowledgeBase(i,s){throw new Error("Method not implemented.")}async deleteApiKnowledgeBase(i){throw new Error("Method not implemented.")}async upsertApiKnowledgeBase(i){throw new Error("Method not implemented.")}async findApiKnowledgeBaseById(i){throw new Error("Method not implemented.")}async findApiKnowledgeBaseByName(i){throw new Error("Method not implemented.")}async findApiKnowledgeBases(){throw new Error("Method not implemented.")}async deleteApiKnowledgeBaseByName(i){throw new Error("Method not implemented.")}async findKnowledgeBaseEntries(i){throw new Error("Method not implemented.")}async createKnowledgeBaseEntry(i,s){throw new Error("Method not implemented.")}async updateKnowledgeBaseEntry(i,s,u){throw new Error("Method not implemented.")}async deleteKnowledgeBaseEntry(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 findKnowledgeBaseEntryByUriAlias(i,s){throw new Error("Method not implemented.")}async deleteKnowledgeBaseEntriesIndexedBeforeDate(i,s){throw new Error("Method not implemented.")}async findKnowledgeBaseEntryAttachments(i,s){throw new Error("Method not implemented.")}async createKnowledgeBaseEntryAttachment(i,s,u){throw new Error("Method not implemented.")}async updateKnowledgeBaseEntryAttachment(i,s,u,c){throw new Error("Method not implemented.")}async deleteKnowledgeBaseEntryAttachment(i,s,u){throw new Error("Method not implemented.")}async setIndexingStatus(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.")}registerTool(i,s){throw new Error("Method not implemented.")}async getTools(i){throw new Error("Method not implemented.")}}return Ls.NullableKnowledgeBaseAdapter=n,Ls}var Yy;function xx(){if(Yy)return ln;Yy=1;var n=ln&&ln.__createBinding||(Object.create?function(u,c,h,d){d===void 0&&(d=h);var m=Object.getOwnPropertyDescriptor(c,h);(!m||("get"in m?!c.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return c[h]}}),Object.defineProperty(u,d,m)}:function(u,c,h,d){d===void 0&&(d=h),u[d]=c[h]}),r=ln&&ln.__setModuleDefault||(Object.create?function(u,c){Object.defineProperty(u,"default",{enumerable:!0,value:c})}:function(u,c){u.default=c}),i=ln&&ln.__importStar||function(){var u=function(c){return u=Object.getOwnPropertyNames||function(h){var d=[];for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&(d[d.length]=m);return d},u(c)};return function(c){if(c&&c.__esModule)return c;var h={};if(c!=null)for(var d=u(c),m=0;m<d.length;m++)d[m]!=="default"&&n(h,c,d[m]);return r(h,c),h}}();Object.defineProperty(ln,"__esModule",{value:!0}),ln.NullableCmsAdapter=ln.KnowledgeBase=void 0,ln.KnowledgeBase=i(Tx());const s=Ax();return ln.NullableCmsAdapter={knowledgeBase:new s.NullableKnowledgeBaseAdapter},ln}var Ca={},Wf={},Zy;function Ox(){return Zy||(Zy=1,Object.defineProperty(Wf,"__esModule",{value:!0})),Wf}var Jf={},Xy;function wx(){return Xy||(Xy=1,Object.defineProperty(Jf,"__esModule",{value:!0})),Jf}var eh={},Qy;function Rx(){return Qy||(Qy=1,Object.defineProperty(eh,"__esModule",{value:!0})),eh}var th={},Ky;function Cx(){return Ky||(Ky=1,Object.defineProperty(th,"__esModule",{value:!0})),th}var Us={},$y;function Nx(){if($y)return Us;$y=1,Object.defineProperty(Us,"__esModule",{value:!0}),Us.checkMiddlewareCondition=void 0;const n=async(r,i,s)=>(Array.isArray(r)?r:[r]).reduce(async(c,h)=>await c?await h(i,s):!1,Promise.resolve(!0));return Us.checkMiddlewareCondition=n,Us}var nh={},Wy;function Mx(){return Wy||(Wy=1,Object.defineProperty(nh,"__esModule",{value:!0})),nh}var rh={},Jy;function Dx(){return Jy||(Jy=1,Object.defineProperty(rh,"__esModule",{value:!0})),rh}var ah={},e_;function Bx(){return e_||(e_=1,Object.defineProperty(ah,"__esModule",{value:!0})),ah}var t_;function Lx(){return t_||(t_=1,function(n){var r=Ca&&Ca.__createBinding||(Object.create?function(s,u,c,h){h===void 0&&(h=c);var d=Object.getOwnPropertyDescriptor(u,c);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[c]}}),Object.defineProperty(s,h,d)}:function(s,u,c,h){h===void 0&&(h=c),s[h]=u[c]}),i=Ca&&Ca.__exportStar||function(s,u){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(u,c)&&r(u,s,c)};Object.defineProperty(n,"__esModule",{value:!0}),i(Ox(),n),i(wx(),n),i(Rx(),n),i(Cx(),n),i(Nx(),n),i(Mx(),n),i(Dx(),n),i(Bx(),n)}(Ca)),Ca}var Na={},Ln={},n_;function Ux(){if(n_)return Ln;n_=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.ButtonTypeEnum=Ln.PostbackButton=Ln.UrlButton=Ln.Button=void 0;class n{title;type;constructor(c,h){this.title=c,this.type=h}}Ln.Button=n;class r extends n{url;constructor(c,h){super(c,s.WEB_URL),this.url=h}}Ln.UrlButton=r;class i extends n{payload;constructor(c,h){super(c,s.POSTBACK),this.payload=h}}Ln.PostbackButton=i;var s;return function(u){u.WEB_URL="web_url",u.POSTBACK="postback"}(s||(Ln.ButtonTypeEnum=s={})),Ln}var ih={},r_;function jx(){return r_||(r_=1,Object.defineProperty(ih,"__esModule",{value:!0})),ih}var js={},a_;function Hx(){if(a_)return js;a_=1,Object.defineProperty(js,"__esModule",{value:!0}),js.SatisfactionEnum=void 0;var n;return function(r){r.GOOD="GOOD",r.BAD="BAD"}(n||(js.SatisfactionEnum=n={})),js}var i_;function s_(){return i_||(i_=1,function(n){var r=Na&&Na.__createBinding||(Object.create?function(s,u,c,h){h===void 0&&(h=c);var d=Object.getOwnPropertyDescriptor(u,c);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[c]}}),Object.defineProperty(s,h,d)}:function(s,u,c,h){h===void 0&&(h=c),s[h]=u[c]}),i=Na&&Na.__exportStar||function(s,u){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(u,c)&&r(u,s,c)};Object.defineProperty(n,"__esModule",{value:!0}),i(Ux(),n),i(jx(),n),i(Hx(),n),i(Bd(),n),i(Ld(),n)}(Na)),Na}var l_;function zx(){return l_||(l_=1,function(n){var r=Dn&&Dn.__createBinding||(Object.create?function(c,h,d,m){m===void 0&&(m=d);var g=Object.getOwnPropertyDescriptor(h,d);(!g||("get"in g?!h.__esModule:g.writable||g.configurable))&&(g={enumerable:!0,get:function(){return h[d]}}),Object.defineProperty(c,m,g)}:function(c,h,d,m){m===void 0&&(m=d),c[m]=h[d]}),i=Dn&&Dn.__setModuleDefault||(Object.create?function(c,h){Object.defineProperty(c,"default",{enumerable:!0,value:h})}:function(c,h){c.default=h}),s=Dn&&Dn.__exportStar||function(c,h){for(var d in c)d!=="default"&&!Object.prototype.hasOwnProperty.call(h,d)&&r(h,c,d)},u=Dn&&Dn.__importStar||function(){var c=function(h){return c=Object.getOwnPropertyNames||function(d){var m=[];for(var g in d)Object.prototype.hasOwnProperty.call(d,g)&&(m[m.length]=g);return m},c(h)};return function(h){if(h&&h.__esModule)return h;var d={};if(h!=null)for(var m=c(h),g=0;g<m.length;g++)m[g]!=="default"&&r(d,h,m[g]);return i(d,h),d}}();Object.defineProperty(n,"__esModule",{value:!0}),n.Model=n.CMS=void 0,s(Sx(),n),n.CMS=u(xx()),s(Lx(),n),s(s_(),n),n.Model=u(s_())}(Dn)),Dn}var we=zx();const Cb=n=>r=>(n.payload.type!==we.ActionTypes.MESSAGE_FROM_GUEST&&r(we.Actions.receiveTextMessageWithoutAnalysisFromGuest(n.label,n.payload)),r(n.payload)),Nb=n=>(r,i)=>{const{quickReplies:s}=i().chat,u=s.find(c=>n.toLocaleLowerCase().indexOf(c.label.toLocaleLowerCase())>-1);return r(u?Cb({...u,label:n}):JSON.parse(JSON.stringify(we.Actions.receiveTextMessageFromGuest(n))))},Ud="MESSAGE_TO_PARENT_PAGE",jd="RESTORE_PREVIOUS_CHAT_MESSAGES",Hd="AUDIO_MESSAGE_FROM_USER",zd="RECEIVE_SPEECH_TRANSCRIPTION",kd="ENABLE_CONVERSATION_RATING",Mb="LOAD_SOURCE_INFOS_RESPONSE",Id="LOAD_SOURCE_INFOS_ERROR",Gd="LOAD_SOURCE_INFOS_REQUEST",qd="CLOSE_SOURCE_INFOS",kx="webclient.get.started",Db="webclient.window.expand",Bb="webclient.window.close",Lb="webclient.transcript.pdf.download",Ix=[Ud,jd,Hd,zd,kd,Gd,qd],Gx=n=>({type:Hd,buffer:n}),qx=n=>({type:zd,transcription:n}),Fx=n=>({type:we.ActionTypes.TRANSCRIPT_MAIL_REQUEST,payload:{parameters:{mailTo:n}}}),Px=()=>({type:Lb}),Vx=({rating:n})=>({type:kd,payload:{rating:n}}),Yx=(n,r)=>({type:we.ActionTypes.CONVERSATION_RATING_FROM_GUEST,payload:{value:n,feedback:r}}),Ub=n=>we.Actions.requestNLUEvent(n),Zx=n=>({type:jd,messages:n}),Xx=n=>{switch(n.type){case we.ButtonTypeEnum.WEB_URL:return Hb(n.url);case we.ButtonTypeEnum.POSTBACK:return n.payload;default:throw new Error(`unknown button type ${n.type}`)}},jb=n=>Hb(n),Hb=n=>({type:Ud,message:{type:"webclient.change.url",url:n}});/*! js-cookie v3.0.5 | MIT */function Do(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var s in i)n[s]=i[s]}return n}var Qx={read:function(n){return n[0]==='"'&&(n=n.slice(1,-1)),n.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(n){return encodeURIComponent(n).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function od(n,r){function i(u,c,h){if(!(typeof document>"u")){h=Do({},r,h),typeof h.expires=="number"&&(h.expires=new Date(Date.now()+h.expires*864e5)),h.expires&&(h.expires=h.expires.toUTCString()),u=encodeURIComponent(u).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var m in h)h[m]&&(d+="; "+m,h[m]!==!0&&(d+="="+h[m].split(";")[0]));return document.cookie=u+"="+n.write(c,u)+d}}function s(u){if(!(typeof document>"u"||arguments.length&&!u)){for(var c=document.cookie?document.cookie.split("; "):[],h={},d=0;d<c.length;d++){var m=c[d].split("="),g=m.slice(1).join("=");try{var y=decodeURIComponent(m[0]);if(h[y]=n.read(g,y),u===y)break}catch{}}return u?h[u]:h}}return Object.create({set:i,get:s,remove:function(u,c){i(u,"",Do({},c,{expires:-1}))},withAttributes:function(u){return od(this.converter,Do({},this.attributes,u))},withConverter:function(u){return od(Do({},this.converter,u),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}var Bo=od(Qx,{path:"/"});const xt=[];for(let n=0;n<256;++n)xt.push((n+256).toString(16).slice(1));function Kx(n,r=0){return(xt[n[r+0]]+xt[n[r+1]]+xt[n[r+2]]+xt[n[r+3]]+"-"+xt[n[r+4]]+xt[n[r+5]]+"-"+xt[n[r+6]]+xt[n[r+7]]+"-"+xt[n[r+8]]+xt[n[r+9]]+"-"+xt[n[r+10]]+xt[n[r+11]]+xt[n[r+12]]+xt[n[r+13]]+xt[n[r+14]]+xt[n[r+15]]).toLowerCase()}let sh;const $x=new Uint8Array(16);function Wx(){if(!sh){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");sh=crypto.getRandomValues.bind(crypto)}return sh($x)}const Jx=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),o_={randomUUID:Jx};function ud(n,r,i){if(o_.randomUUID&&!n)return o_.randomUUID();n=n||{};const s=n.random??n.rng?.()??Wx();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,Kx(s)}function Ot(n){return`Minified Redux error #${n}; visit https://redux.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var eO=typeof Symbol=="function"&&Symbol.observable||"@@observable",u_=eO,lh=()=>Math.random().toString(36).substring(7).split("").join("."),tO={INIT:`@@redux/INIT${lh()}`,REPLACE:`@@redux/REPLACE${lh()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${lh()}`},nu=tO;function Fd(n){if(typeof n!="object"||n===null)return!1;let r=n;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(n)===r||Object.getPrototypeOf(n)===null}function zb(n,r,i){if(typeof n!="function")throw new Error(Ot(2));if(typeof r=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(Ot(0));if(typeof r=="function"&&typeof i>"u"&&(i=r,r=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(Ot(1));return i(zb)(n,r)}let s=n,u=r,c=new Map,h=c,d=0,m=!1;function g(){h===c&&(h=new Map,c.forEach((I,S)=>{h.set(S,I)}))}function y(){if(m)throw new Error(Ot(3));return u}function T(I){if(typeof I!="function")throw new Error(Ot(4));if(m)throw new Error(Ot(5));let S=!0;g();const x=d++;return h.set(x,I),function(){if(S){if(m)throw new Error(Ot(6));S=!1,g(),h.delete(x),c=null}}}function O(I){if(!Fd(I))throw new Error(Ot(7));if(typeof I.type>"u")throw new Error(Ot(8));if(typeof I.type!="string")throw new Error(Ot(17));if(m)throw new Error(Ot(9));try{m=!0,u=s(u,I)}finally{m=!1}return(c=h).forEach(x=>{x()}),I}function L(I){if(typeof I!="function")throw new Error(Ot(10));s=I,O({type:nu.REPLACE})}function M(){const I=T;return{subscribe(S){if(typeof S!="object"||S===null)throw new Error(Ot(11));function x(){const A=S;A.next&&A.next(y())}return x(),{unsubscribe:I(x)}},[u_](){return this}}}return O({type:nu.INIT}),{dispatch:O,subscribe:T,getState:y,replaceReducer:L,[u_]:M}}function nO(n){Object.keys(n).forEach(r=>{const i=n[r];if(typeof i(void 0,{type:nu.INIT})>"u")throw new Error(Ot(12));if(typeof i(void 0,{type:nu.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ot(13))})}function kb(n){const r=Object.keys(n),i={};for(let c=0;c<r.length;c++){const h=r[c];typeof n[h]=="function"&&(i[h]=n[h])}const s=Object.keys(i);let u;try{nO(i)}catch(c){u=c}return function(h={},d){if(u)throw u;let m=!1;const g={};for(let y=0;y<s.length;y++){const T=s[y],O=i[T],L=h[T],M=O(L,d);if(typeof M>"u")throw d&&d.type,new Error(Ot(14));g[T]=M,m=m||M!==L}return m=m||s.length!==Object.keys(h).length,m?g:h}}function ru(...n){return n.length===0?r=>r:n.length===1?n[0]:n.reduce((r,i)=>(...s)=>r(i(...s)))}function rO(...n){return r=>(i,s)=>{const u=r(i,s);let c=()=>{throw new Error(Ot(15))};const h={getState:u.getState,dispatch:(m,...g)=>c(m,...g)},d=n.map(m=>m(h));return c=ru(...d)(u.dispatch),{...u,dispatch:c}}}function aO(n){return Fd(n)&&"type"in n&&typeof n.type=="string"}var Ib=Symbol.for("immer-nothing"),c_=Symbol.for("immer-draftable"),on=Symbol.for("immer-state");function zn(n,...r){throw new Error(`[Immer] minified error nr: ${n}. Full error at: https://bit.ly/3cXEKWf`)}var wi=Object.getPrototypeOf;function za(n){return!!n&&!!n[on]}function wr(n){return n?Gb(n)||Array.isArray(n)||!!n[c_]||!!n.constructor?.[c_]||pu(n)||gu(n):!1}var iO=Object.prototype.constructor.toString();function Gb(n){if(!n||typeof n!="object")return!1;const r=wi(n);if(r===null)return!0;const i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===iO}function au(n,r){mu(n)===0?Reflect.ownKeys(n).forEach(i=>{r(i,n[i],n)}):n.forEach((i,s)=>r(s,i,n))}function mu(n){const r=n[on];return r?r.type_:Array.isArray(n)?1:pu(n)?2:gu(n)?3:0}function cd(n,r){return mu(n)===2?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function qb(n,r,i){const s=mu(n);s===2?n.set(r,i):s===3?n.add(i):n[r]=i}function sO(n,r){return n===r?n!==0||1/n===1/r:n!==n&&r!==r}function pu(n){return n instanceof Map}function gu(n){return n instanceof Set}function La(n){return n.copy_||n.base_}function fd(n,r){if(pu(n))return new Map(n);if(gu(n))return new Set(n);if(Array.isArray(n))return Array.prototype.slice.call(n);const i=Gb(n);if(r===!0||r==="class_only"&&!i){const s=Object.getOwnPropertyDescriptors(n);delete s[on];let u=Reflect.ownKeys(s);for(let c=0;c<u.length;c++){const h=u[c],d=s[h];d.writable===!1&&(d.writable=!0,d.configurable=!0),(d.get||d.set)&&(s[h]={configurable:!0,writable:!0,enumerable:d.enumerable,value:n[h]})}return Object.create(wi(n),s)}else{const s=wi(n);if(s!==null&&i)return{...n};const u=Object.create(s);return Object.assign(u,n)}}function Pd(n,r=!1){return yu(n)||za(n)||!wr(n)||(mu(n)>1&&(n.set=n.add=n.clear=n.delete=lO),Object.freeze(n),r&&Object.entries(n).forEach(([i,s])=>Pd(s,!0))),n}function lO(){zn(2)}function yu(n){return Object.isFrozen(n)}var oO={};function ka(n){const r=oO[n];return r||zn(0,n),r}var $s;function Fb(){return $s}function uO(n,r){return{drafts_:[],parent_:n,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function f_(n,r){r&&(ka("Patches"),n.patches_=[],n.inversePatches_=[],n.patchListener_=r)}function hd(n){dd(n),n.drafts_.forEach(cO),n.drafts_=null}function dd(n){n===$s&&($s=n.parent_)}function h_(n){return $s=uO($s,n)}function cO(n){const r=n[on];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function d_(n,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];return n!==void 0&&n!==i?(i[on].modified_&&(hd(r),zn(4)),wr(n)&&(n=iu(r,n),r.parent_||su(r,n)),r.patches_&&ka("Patches").generateReplacementPatches_(i[on].base_,n,r.patches_,r.inversePatches_)):n=iu(r,i,[]),hd(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),n!==Ib?n:void 0}function iu(n,r,i){if(yu(r))return r;const s=r[on];if(!s)return au(r,(u,c)=>m_(n,s,r,u,c,i)),r;if(s.scope_!==n)return r;if(!s.modified_)return su(n,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;const u=s.copy_;let c=u,h=!1;s.type_===3&&(c=new Set(u),u.clear(),h=!0),au(c,(d,m)=>m_(n,s,u,d,m,i,h)),su(n,u,!1),i&&n.patches_&&ka("Patches").generatePatches_(s,i,n.patches_,n.inversePatches_)}return s.copy_}function m_(n,r,i,s,u,c,h){if(za(u)){const d=c&&r&&r.type_!==3&&!cd(r.assigned_,s)?c.concat(s):void 0,m=iu(n,u,d);if(qb(i,s,m),za(m))n.canAutoFreeze_=!1;else return}else h&&i.add(u);if(wr(u)&&!yu(u)){if(!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1)return;iu(n,u),(!r||!r.scope_.parent_)&&typeof s!="symbol"&&Object.prototype.propertyIsEnumerable.call(i,s)&&su(n,u)}}function su(n,r,i=!1){!n.parent_&&n.immer_.autoFreeze_&&n.canAutoFreeze_&&Pd(r,i)}function fO(n,r){const i=Array.isArray(n),s={type_:i?1:0,scope_:r?r.scope_:Fb(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:n,draft_:null,copy_:null,revoke_:null,isManual_:!1};let u=s,c=Vd;i&&(u=[s],c=Ws);const{revoke:h,proxy:d}=Proxy.revocable(u,c);return s.draft_=d,s.revoke_=h,d}var Vd={get(n,r){if(r===on)return n;const i=La(n);if(!cd(i,r))return hO(n,i,r);const s=i[r];return n.finalized_||!wr(s)?s:s===oh(n.base_,r)?(uh(n),n.copy_[r]=pd(s,n)):s},has(n,r){return r in La(n)},ownKeys(n){return Reflect.ownKeys(La(n))},set(n,r,i){const s=Pb(La(n),r);if(s?.set)return s.set.call(n.draft_,i),!0;if(!n.modified_){const u=oh(La(n),r),c=u?.[on];if(c&&c.base_===i)return n.copy_[r]=i,n.assigned_[r]=!1,!0;if(sO(i,u)&&(i!==void 0||cd(n.base_,r)))return!0;uh(n),md(n)}return n.copy_[r]===i&&(i!==void 0||r in n.copy_)||Number.isNaN(i)&&Number.isNaN(n.copy_[r])||(n.copy_[r]=i,n.assigned_[r]=!0),!0},deleteProperty(n,r){return oh(n.base_,r)!==void 0||r in n.base_?(n.assigned_[r]=!1,uh(n),md(n)):delete n.assigned_[r],n.copy_&&delete n.copy_[r],!0},getOwnPropertyDescriptor(n,r){const i=La(n),s=Reflect.getOwnPropertyDescriptor(i,r);return s&&{writable:!0,configurable:n.type_!==1||r!=="length",enumerable:s.enumerable,value:i[r]}},defineProperty(){zn(11)},getPrototypeOf(n){return wi(n.base_)},setPrototypeOf(){zn(12)}},Ws={};au(Vd,(n,r)=>{Ws[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});Ws.deleteProperty=function(n,r){return Ws.set.call(this,n,r,void 0)};Ws.set=function(n,r,i){return Vd.set.call(this,n[0],r,i,n[0])};function oh(n,r){const i=n[on];return(i?La(i):n)[r]}function hO(n,r,i){const s=Pb(r,i);return s?"value"in s?s.value:s.get?.call(n.draft_):void 0}function Pb(n,r){if(!(r in n))return;let i=wi(n);for(;i;){const s=Object.getOwnPropertyDescriptor(i,r);if(s)return s;i=wi(i)}}function md(n){n.modified_||(n.modified_=!0,n.parent_&&md(n.parent_))}function uh(n){n.copy_||(n.copy_=fd(n.base_,n.scope_.immer_.useStrictShallowCopy_))}var dO=class{constructor(n){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(r,i,s)=>{if(typeof r=="function"&&typeof i!="function"){const c=i;i=r;const h=this;return function(m=c,...g){return h.produce(m,y=>i.call(this,y,...g))}}typeof i!="function"&&zn(6),s!==void 0&&typeof s!="function"&&zn(7);let u;if(wr(r)){const c=h_(this),h=pd(r,void 0);let d=!0;try{u=i(h),d=!1}finally{d?hd(c):dd(c)}return f_(c,s),d_(u,c)}else if(!r||typeof r!="object"){if(u=i(r),u===void 0&&(u=r),u===Ib&&(u=void 0),this.autoFreeze_&&Pd(u,!0),s){const c=[],h=[];ka("Patches").generateReplacementPatches_(r,u,c,h),s(c,h)}return u}else zn(1,r)},this.produceWithPatches=(r,i)=>{if(typeof r=="function")return(h,...d)=>this.produceWithPatches(h,m=>r(m,...d));let s,u;return[this.produce(r,i,(h,d)=>{s=h,u=d}),s,u]},typeof n?.autoFreeze=="boolean"&&this.setAutoFreeze(n.autoFreeze),typeof n?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(n.useStrictShallowCopy)}createDraft(n){wr(n)||zn(8),za(n)&&(n=mO(n));const r=h_(this),i=pd(n,void 0);return i[on].isManual_=!0,dd(r),i}finishDraft(n,r){const i=n&&n[on];(!i||!i.isManual_)&&zn(9);const{scope_:s}=i;return f_(s,r),d_(void 0,s)}setAutoFreeze(n){this.autoFreeze_=n}setUseStrictShallowCopy(n){this.useStrictShallowCopy_=n}applyPatches(n,r){let i;for(i=r.length-1;i>=0;i--){const u=r[i];if(u.path.length===0&&u.op==="replace"){n=u.value;break}}i>-1&&(r=r.slice(i+1));const s=ka("Patches").applyPatches_;return za(n)?s(n,r):this.produce(n,u=>s(u,r))}};function pd(n,r){const i=pu(n)?ka("MapSet").proxyMap_(n,r):gu(n)?ka("MapSet").proxySet_(n,r):fO(n,r);return(r?r.scope_:Fb()).drafts_.push(i),i}function mO(n){return za(n)||zn(10,n),Vb(n)}function Vb(n){if(!wr(n)||yu(n))return n;const r=n[on];let i;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=fd(n,r.scope_.immer_.useStrictShallowCopy_)}else i=fd(n,!0);return au(i,(s,u)=>{qb(i,s,Vb(u))}),r&&(r.finalized_=!1),i}var un=new dO,Yb=un.produce;un.produceWithPatches.bind(un);un.setAutoFreeze.bind(un);un.setUseStrictShallowCopy.bind(un);un.applyPatches.bind(un);un.createDraft.bind(un);un.finishDraft.bind(un);function Zb(n){return({dispatch:i,getState:s})=>u=>c=>typeof c=="function"?c(i,s,n):u(c)}var pO=Zb(),gO=Zb,yO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ru:ru.apply(null,arguments)};function p_(n,r){function i(...s){if(r){let u=r(...s);if(!u)throw new Error(Tr(0));return{type:n,payload:u.payload,..."meta"in u&&{meta:u.meta},..."error"in u&&{error:u.error}}}return{type:n,payload:s[0]}}return i.toString=()=>`${n}`,i.type=n,i.match=s=>aO(s)&&s.type===n,i}var Xb=class Zs extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,Zs.prototype)}static get[Symbol.species](){return Zs}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&&Array.isArray(r[0])?new Zs(...r[0].concat(this)):new Zs(...r.concat(this))}};function g_(n){return wr(n)?Yb(n,()=>{}):n}function Lo(n,r,i){return n.has(r)?n.get(r):n.set(r,i(r)).get(r)}function _O(n){return typeof n=="boolean"}var vO=()=>function(r){const{thunk:i=!0,immutableCheck:s=!0,serializableCheck:u=!0,actionCreatorCheck:c=!0}=r??{};let h=new Xb;return i&&(_O(i)?h.push(pO):h.push(gO(i.extraArgument))),h},bO="RTK_autoBatch",y_=n=>r=>{setTimeout(r,n)},EO=(n={type:"raf"})=>r=>(...i)=>{const s=r(...i);let u=!0,c=!1,h=!1;const d=new Set,m=n.type==="tick"?queueMicrotask:n.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:y_(10):n.type==="callback"?n.queueNotification:y_(n.timeout),g=()=>{h=!1,c&&(c=!1,d.forEach(y=>y()))};return Object.assign({},s,{subscribe(y){const T=()=>u&&y(),O=s.subscribe(T);return d.add(y),()=>{O(),d.delete(y)}},dispatch(y){try{return u=!y?.meta?.[bO],c=!u,c&&(h||(h=!0,m(g))),s.dispatch(y)}finally{u=!0}}})},SO=n=>function(i){const{autoBatch:s=!0}=i??{};let u=new Xb(n);return s&&u.push(EO(typeof s=="object"?s:void 0)),u};function TO(n){const r=vO(),{reducer:i=void 0,middleware:s,devTools:u=!0,preloadedState:c=void 0,enhancers:h=void 0}=n||{};let d;if(typeof i=="function")d=i;else if(Fd(i))d=kb(i);else throw new Error(Tr(1));let m;typeof s=="function"?m=s(r):m=r();let g=ru;u&&(g=yO({trace:!1,...typeof u=="object"&&u}));const y=rO(...m),T=SO(y);let O=typeof h=="function"?h(T):T();const L=g(...O);return zb(d,c,L)}function Qb(n){const r={},i=[];let s;const u={addCase(c,h){const d=typeof c=="string"?c:c.type;if(!d)throw new Error(Tr(28));if(d in r)throw new Error(Tr(29));return r[d]=h,u},addMatcher(c,h){return i.push({matcher:c,reducer:h}),u},addDefaultCase(c){return s=c,u}};return n(u),[r,i,s]}function AO(n){return typeof n=="function"}function xO(n,r){let[i,s,u]=Qb(r),c;if(AO(n))c=()=>g_(n());else{const d=g_(n);c=()=>d}function h(d=c(),m){let g=[i[m.type],...s.filter(({matcher:y})=>y(m)).map(({reducer:y})=>y)];return g.filter(y=>!!y).length===0&&(g=[u]),g.reduce((y,T)=>{if(T)if(za(y)){const L=T(y,m);return L===void 0?y:L}else{if(wr(y))return Yb(y,O=>T(O,m));{const O=T(y,m);if(O===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return O}}return y},d)}return h.getInitialState=c,h}var OO=Symbol.for("rtk-slice-createasyncthunk");function wO(n,r){return`${n}/${r}`}function RO({creators:n}={}){const r=n?.asyncThunk?.[OO];return function(s){const{name:u,reducerPath:c=u}=s;if(!u)throw new Error(Tr(11));const h=(typeof s.reducers=="function"?s.reducers(NO()):s.reducers)||{},d=Object.keys(h),m={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},g={addCase(b,A){const E=typeof b=="string"?b:b.type;if(!E)throw new Error(Tr(12));if(E in m.sliceCaseReducersByType)throw new Error(Tr(13));return m.sliceCaseReducersByType[E]=A,g},addMatcher(b,A){return m.sliceMatchers.push({matcher:b,reducer:A}),g},exposeAction(b,A){return m.actionCreators[b]=A,g},exposeCaseReducer(b,A){return m.sliceCaseReducersByName[b]=A,g}};d.forEach(b=>{const A=h[b],E={reducerName:b,type:wO(u,b),createNotation:typeof s.reducers=="function"};DO(A)?LO(E,A,g,r):MO(E,A,g)});function y(){const[b={},A=[],E=void 0]=typeof s.extraReducers=="function"?Qb(s.extraReducers):[s.extraReducers],k={...b,...m.sliceCaseReducersByType};return xO(s.initialState,Z=>{for(let ee in k)Z.addCase(ee,k[ee]);for(let ee of m.sliceMatchers)Z.addMatcher(ee.matcher,ee.reducer);for(let ee of A)Z.addMatcher(ee.matcher,ee.reducer);E&&Z.addDefaultCase(E)})}const T=b=>b,O=new Map,L=new WeakMap;let M;function V(b,A){return M||(M=y()),M(b,A)}function I(){return M||(M=y()),M.getInitialState()}function S(b,A=!1){function E(Z){let ee=Z[b];return typeof ee>"u"&&A&&(ee=Lo(L,E,I)),ee}function k(Z=T){const ee=Lo(O,A,()=>new WeakMap);return Lo(ee,Z,()=>{const de={};for(const[ie,J]of Object.entries(s.selectors??{}))de[ie]=CO(J,Z,()=>Lo(L,Z,I),A);return de})}return{reducerPath:b,getSelectors:k,get selectors(){return k(E)},selectSlice:E}}const x={name:u,reducer:V,actions:m.actionCreators,caseReducers:m.sliceCaseReducersByName,getInitialState:I,...S(c),injectInto(b,{reducerPath:A,...E}={}){const k=A??c;return b.inject({reducerPath:k,reducer:V},E),{...x,...S(k,!0)}}};return x}}function CO(n,r,i,s){function u(c,...h){let d=r(c);return typeof d>"u"&&s&&(d=i()),n(d,...h)}return u.unwrapped=n,u}var Yd=RO();function NO(){function n(r,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:r,...i}}return n.withTypes=()=>n,{reducer(r){return Object.assign({[r.name](...i){return r(...i)}}[r.name],{_reducerDefinitionType:"reducer"})},preparedReducer(r,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:r,reducer:i}},asyncThunk:n}}function MO({type:n,reducerName:r,createNotation:i},s,u){let c,h;if("reducer"in s){if(i&&!BO(s))throw new Error(Tr(17));c=s.reducer,h=s.prepare}else c=s;u.addCase(n,c).exposeCaseReducer(r,c).exposeAction(r,h?p_(n,h):p_(n))}function DO(n){return n._reducerDefinitionType==="asyncThunk"}function BO(n){return n._reducerDefinitionType==="reducerWithPrepare"}function LO({type:n,reducerName:r},i,s,u){if(!u)throw new Error(Tr(18));const{payloadCreator:c,fulfilled:h,pending:d,rejected:m,settled:g,options:y}=i,T=u(n,c,y);s.exposeAction(r,T),h&&s.addCase(T.fulfilled,h),d&&s.addCase(T.pending,d),m&&s.addCase(T.rejected,m),g&&s.addMatcher(T.settled,g),s.exposeCaseReducer(r,{fulfilled:h||Uo,pending:d||Uo,rejected:m||Uo,settled:g||Uo})}function Uo(){}function Tr(n){return`Minified Redux Toolkit error #${n}; visit https://redux-toolkit.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}const UO={formValues:{}},Kb=Yd({name:"start-screen",initialState:UO,reducers:{showStartScreen(n){n.startScreenStatus="VISIBLE",n.formValues={}},startChat(n,r){n.startScreenStatus="HIDDEN",n.formValues=r.payload}}}),{startChat:jO,showStartScreen:HO}=Kb.actions,zO=Kb.reducer,$b="RESET_CHAT_STATE",Wb="TOGGLE_TRANSCRIPT_MAIL_OVERLAY",kO=()=>({type:Bb}),IO=()=>({type:$b}),Jb=()=>({type:Wb}),__=(n,r,i)=>(s,u)=>{try{const c=u().connection.sessionId;if(!c)throw new Error("Session ID is not available");s({type:Gd,payload:{chunkId:i}}),v_(n,c,r,i,!1,s),v_(n,c,r,i,!0,s)}catch(c){console.error("Error loading source infos:",c),s({type:Id})}},v_=(n,r,i,s,u,c)=>{const h=`/${n}/me/chat-widget/transcript/${i}/chunks/${s}?highlight=${u}`;fetch(h,{headers:{"x-bubble-chat-session-id":r}}).then(d=>{if(!d.ok)throw new Error(`HTTP error! Status: ${d.status}`);return d.json()}).then(d=>{const m={...d,chunkId:s,highlighted:u};c({type:Mb,payload:m})}).catch(d=>{console.error("Error fetching source infos:",d),c({type:Id,payload:{highlighted:u}})})},GO=()=>({type:qd}),Zd="CONNECT",Xd="CONNECTING",Qd="CONNECTED",Kd="DISCONNECTED",$d="RECONNECTED",Wd="RESTORE_SESSION_ID",_u="START",vu="CLEAR_SESSION_ID",qO=[Zd,Xd,Qd,Kd,$d,Wd],FO=(n,r)=>({type:Zd,clientName:n,querystrings:r}),PO=n=>({type:Wd,sessionId:n}),VO=()=>({type:Xd}),YO=()=>({type:Qd}),ZO=()=>({type:Kd}),XO=()=>({type:$d}),e1=(n,r)=>(i,s)=>{const u=s().connection,c=s().startScreen.formValues;let h=u.sessionId;h===void 0&&(h=ud());let d=u.userId;if(d===void 0){const m=Bo.get("bubble-chat-user-id")||Bo.get("bubble-chat-userId")||Bo.get("bf-webclient-userId");d=m||ud(),Bo.set("bubble-chat-user-id",d)}i({type:_u,payload:{sessionId:h,userId:d,clientName:n,querystrings:{...r,...c}}})},bu=(n,r)=>(i,s)=>{const u=s().connection.sessionId||"";if(i(QO(u)),i(IO()),s().settings.enableStartScreen)i(HO());else return i(e1(n,r))},QO=n=>({type:vu,payload:{sessionId:n}}),tt=()=>{const n=hu();return i=>{const s=n.formatMessage({id:i});return s===i?void 0:s}};var ja=(n=>(n[n.CONNECTING=0]="CONNECTING",n[n.CONNECTED=1]="CONNECTED",n[n.RECONNECTED=2]="RECONNECTED",n[n.DISCONNECTED=3]="DISCONNECTED",n))(ja||{}),lu=(n=>(n.GUEST="GUEST",n.BOT="BOT",n.PERSON="PERSON",n))(lu||{});const KO="_container_q2uun_1",$O="_chatcontent_q2uun_6",WO="_accessabilityHidden_q2uun_12",ch={container:KO,chatcontent:$O,accessabilityHidden:WO},JO="_messageContainer_ofi0g_1",ew="_messages_ofi0g_12",b_={messageContainer:JO,messages:ew};function Ua(){return Ua=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])}return n},Ua.apply(this,arguments)}const tw=["children","options"],nw={footnoteReference:"7"},E_=["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((n,r)=>(n[r.toLowerCase()]=r,n),{class:"className",for:"htmlFor"}),S_={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},rw=["style","script"],aw=["src","href","data","formAction","srcDoc","action"],iw=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,sw=/mailto:/i,lw=/\n{2,}$/,T_=/^(\s*>[\s\S]*?)(?=\n\n|$)/,ow=/^ *> ?/gm,uw=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,cw=/^ {2,}\n/,fw=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,A_=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,x_=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,hw=/^(`+)((?:\\`|(?!\1)`|[^`])+)\1/,dw=/^(?:\n *)*\n/,mw=/\r\n?/g,pw=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,gw=/^\[\^([^\]]+)]/,yw=/\f/g,_w=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,vw=/^\s*?\[(x|\s)\]/,O_=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,w_=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,R_=/^([^\n]+)\n *(=|-){3,} *\n/,fh=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,bw=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,C_=/^<!--[\s\S]*?(?:-->)/,Ew=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,hh=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,Sw=/^\{.*\}$/,Tw=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,Aw=/^<([^ >]+@[^ >]+)>/,xw=/^<([^ >]+:\/[^ >]+)>/,Ow=/-([a-z])?/gi,N_=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,ww=/^[^\n]+(?: \n|\n{2,})/,Rw=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,Cw=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Nw=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Mw=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Dw=/\t/g,Bw=/(^ *\||\| *$)/g,Lw=/^ *:-+: *$/,Uw=/^ *:-+ *$/,jw=/^ *-+: *$/,Eu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)",Hw=RegExp(`^([*_])\\1${Eu}\\1\\1(?!\\1)`),zw=RegExp(`^([*_])${Eu}\\1(?!\\1)`),kw=RegExp(`^(==)${Eu}\\1`),Iw=RegExp(`^(~~)${Eu}\\1`),Gw=/^\\([^0-9A-Za-z\s])/,M_=/\\([^0-9A-Za-z\s])/g,qw=/^[\s\S](?:(?! |[0-9]\.|http)[^=*_~\-\n<`\\\[!])*/,Fw=/^\n+/,Pw=/^([ \t]*)/,Vw=/\\([^\\])/g,Yw=/(?:^|\n)( *)$/,Jd="(?:\\d+\\.)",em="(?:[*+-])";function t1(n){return"( *)("+(n===1?Jd:em)+") +"}const n1=t1(1),r1=t1(2);function a1(n){return RegExp("^"+(n===1?n1:r1))}const Zw=a1(1),Xw=a1(2);function i1(n){return RegExp("^"+(n===1?n1:r1)+"[^\\n]*(?:\\n(?!\\1"+(n===1?Jd:em)+" )[^\\n]*)*(\\n|$)","gm")}const Qw=i1(1),Kw=i1(2);function s1(n){const r=n===1?Jd:em;return RegExp("^( *)("+r+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+r+" (?!"+r+" ))\\n*|\\s*\\n*$)")}const l1=s1(1),o1=s1(2);function D_(n,r){const i=r===1,s=i?l1:o1,u=i?Qw:Kw,c=i?Zw:Xw;return{t:h=>c.test(h),o:rl(function(h,d){const m=Yw.exec(d.prevCapture);return m&&(d.list||!d.inline&&!d.simple)?s.exec(h=m[1]+h):null}),i:1,u(h,d,m){const g=i?+h[2]:void 0,y=h[0].replace(lw,`
|
|
94
|
+
`).match(u);let T=!1;return{items:y.map(function(O,L){const M=c.exec(O)[0].length,V=RegExp("^ {1,"+M+"}","gm"),I=O.replace(V,"").replace(c,""),S=L===y.length-1,x=I.indexOf(`
|
|
95
|
+
|
|
96
|
+
`)!==-1||S&&T;T=x;const b=m.inline,A=m.list;let E;m.list=!0,x?(m.inline=!1,E=Ks(I)+`
|
|
97
|
+
|
|
98
|
+
`):(m.inline=!0,E=Ks(I));const k=d(E,m);return m.inline=b,m.list=A,k}),ordered:i,start:g}},l:(h,d,m)=>n(h.ordered?"ol":"ul",{key:m.key,start:h.type==="20"?h.start:void 0},h.items.map(function(g,y){return n("li",{key:y},d(g,m))}))}}const $w=RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),Ww=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;function Ks(n){let r=n.length;for(;r>0&&n[r-1]<=" ";)r--;return n.slice(0,r)}function gd(n,r){return n.startsWith(r)}function Jw(n,r,i){if(Array.isArray(i)){for(let s=0;s<i.length;s++)if(gd(n,i[s]))return!0;return!1}return i(n,r)}function Hs(n){return n.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 eR(n){return jw.test(n)?"right":Lw.test(n)?"center":Uw.test(n)?"left":null}function B_(n,r,i,s){const u=i.inTable;i.inTable=!0;let c=[[]],h="";function d(){if(!h)return;const m=c[c.length-1];m.push.apply(m,r(h,i)),h=""}return n.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((m,g,y)=>{m.trim()==="|"&&(d(),s)?g!==0&&g!==y.length-1&&c.push([]):h+=m}),d(),i.inTable=u,c}function tR(n,r,i){i.inline=!0;const s=n[2]?n[2].replace(Bw,"").split("|").map(eR):[],u=n[3]?function(h,d,m){return h.trim().split(`
|
|
99
|
+
`).map(function(g){return B_(g,d,m,!0)})}(n[3],r,i):[],c=B_(n[1],r,i,!!u.length);return i.inline=!1,u.length?{align:s,cells:u,header:c,type:"25"}:{children:c,type:"21"}}function L_(n,r){return n.align[r]==null?{}:{textAlign:n.align[r]}}function rl(n){return n.inline=1,n}function ta(n){return rl(function(r,i){return i.inline?n.exec(r):null})}function na(n){return rl(function(r,i){return i.inline||i.simple?n.exec(r):null})}function br(n){return function(r,i){return i.inline||i.simple?null:n.exec(r)}}function zs(n){return rl(function(r){return n.exec(r)})}const nR=/(javascript|vbscript|data(?!:image)):/i;function rR(n){try{const r=decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"");if(nR.test(r))return null}catch{return null}return n}function U_(n){return n.replace(Vw,"$1")}function Qo(n,r,i){const s=i.inline||!1,u=i.simple||!1;i.inline=!0,i.simple=!0;const c=n(r,i);return i.inline=s,i.simple=u,c}function aR(n,r,i){const s=i.inline||!1,u=i.simple||!1;i.inline=!1,i.simple=!0;const c=n(r,i);return i.inline=s,i.simple=u,c}function iR(n,r,i){const s=i.inline||!1;i.inline=!1;const u=n(r,i);return i.inline=s,u}const dh=(n,r,i)=>({children:Qo(r,n[2],i)});function mh(){return{}}function ph(){return null}function sR(...n){return n.filter(Boolean).join(" ")}function gh(n,r,i){let s=n;const u=r.split(".");for(;u.length&&(s=s[u[0]],s!==void 0);)u.shift();return s||i}function lR(n="",r={}){r.overrides=r.overrides||{},r.namedCodesToUnicode=r.namedCodesToUnicode?Ua({},S_,r.namedCodesToUnicode):S_;const i=r.slugify||Hs,s=r.sanitizer||rR,u=r.createElement||H.createElement,c=[T_,A_,x_,r.enforceAtxHeadings?w_:O_,R_,N_,l1,o1],h=[...c,ww,fh,C_,hh];function d(S,x,...b){const A=gh(r.overrides,S+".props",{});return u(function(E,k){const Z=gh(k,E);return Z?typeof Z=="function"||typeof Z=="object"&&"render"in Z?Z:gh(k,E+".component",E):E}(S,r.overrides),Ua({},x,A,{className:sR(x?.className,A.className)||void 0}),...b)}function m(S){S=S.replace(_w,"");let x=!1;r.forceInline?x=!0:r.forceBlock||(x=Mw.test(S)===!1);const b=M(L(x?S:Ks(S).replace(Fw,"")+`
|
|
100
|
+
|
|
101
|
+
`,{inline:x}));for(;typeof b[b.length-1]=="string"&&!b[b.length-1].trim();)b.pop();if(r.wrapper===null)return b;const A=r.wrapper||(x?"span":"div");let E;if(b.length>1||r.forceWrapper)E=b;else{if(b.length===1)return E=b[0],typeof E=="string"?d("span",{key:"outer"},E):E;E=null}return u(A,{key:"outer"},E)}function g(S,x){if(!x||!x.trim())return null;const b=x.match(iw);return b?b.reduce(function(A,E){const k=E.indexOf("=");if(k!==-1){const Z=function(J){return J.indexOf("-")!==-1&&J.match(Ew)===null&&(J=J.replace(Ow,function(oe,fe){return fe.toUpperCase()})),J}(E.slice(0,k)).trim(),ee=function(J){const oe=J[0];return(oe==='"'||oe==="'")&&J.length>=2&&J[J.length-1]===oe?J.slice(1,-1):J}(E.slice(k+1).trim()),de=E_[Z]||Z;if(de==="ref")return A;const ie=A[de]=function(J,oe,fe,Ve){return oe==="style"?function(be){const G=[];let $="",ne=!1,Te=!1,R="";if(!be)return G;for(let W=0;W<be.length;W++){const X=be[W];if(X!=='"'&&X!=="'"||ne||(Te?X===R&&(Te=!1,R=""):(Te=!0,R=X)),X==="("&&$.endsWith("url")?ne=!0:X===")"&&ne&&(ne=!1),X!==";"||Te||ne)$+=X;else{const re=$.trim();if(re){const se=re.indexOf(":");if(se>0){const he=re.slice(0,se).trim(),$e=re.slice(se+1).trim();G.push([he,$e])}}$=""}}const q=$.trim();if(q){const W=q.indexOf(":");if(W>0){const X=q.slice(0,W).trim(),re=q.slice(W+1).trim();G.push([X,re])}}return G}(fe).reduce(function(be,[G,$]){return be[G.replace(/(-[a-z])/g,ne=>ne[1].toUpperCase())]=Ve($,J,G),be},{}):aw.indexOf(oe)!==-1?Ve(fe,J,oe):(fe.match(Sw)&&(fe=fe.slice(1,fe.length-1)),fe==="true"||fe!=="false"&&fe)}(S,Z,ee,s);typeof ie=="string"&&(fh.test(ie)||hh.test(ie))&&(A[de]=m(ie.trim()))}else E!=="style"&&(A[E_[E]||E]=!0);return A},{}):null}const y=[],T={},O={0:{t:[">"],o:br(T_),i:1,u(S,x,b){const[,A,E]=S[0].replace(ow,"").match(uw);return{alert:A,children:x(E,b)}},l(S,x,b){const A={key:b.key};return S.alert&&(A.className="markdown-alert-"+i(S.alert.toLowerCase(),Hs),S.children.unshift({attrs:{},children:[{type:"27",text:S.alert}],noInnerParse:!0,type:"11",tag:"header"})),d("blockquote",A,x(S.children,b))}},1:{o:zs(cw),i:1,u:mh,l:(S,x,b)=>d("br",{key:b.key})},2:{t:S=>{const x=S[0];return x==="-"||x==="*"||x==="_"},o:br(fw),i:1,u:mh,l:(S,x,b)=>d("hr",{key:b.key})},3:{t:[" "],o:br(x_),i:0,u:S=>({lang:void 0,text:Ks(S[0].replace(/^ {4}/gm,"")).replace(M_,"$1")}),l:(S,x,b)=>d("pre",{key:b.key},d("code",Ua({},S.attrs,{className:S.lang?"lang-"+S.lang:""}),S.text))},4:{t:["```","~~~"],o:br(A_),i:0,u:S=>({attrs:g("code",S[3]||""),lang:S[2]||void 0,text:S[4],type:"3"})},5:{t:["`"],o:na(hw),i:3,u:S=>({text:S[2].replace(M_,"$1")}),l:(S,x,b)=>d("code",{key:b.key},S.text)},6:{t:["[^"],o:br(pw),i:0,u:S=>(y.push({footnote:S[2],identifier:S[1]}),{}),l:ph},7:{t:["[^"],o:ta(gw),i:1,u:S=>({target:"#"+i(S[1],Hs),text:S[1]}),l:(S,x,b)=>d("a",{key:b.key,href:s(S.target,"a","href")},d("sup",{key:b.key},S.text))},8:{t:["[ ]","[x]"],o:ta(vw),i:1,u:S=>({completed:S[1].toLowerCase()==="x"}),l:(S,x,b)=>d("input",{checked:S.completed,key:b.key,readOnly:!0,type:"checkbox"})},9:{t:["#"],o:br(r.enforceAtxHeadings?w_:O_),i:1,u:(S,x,b)=>({children:Qo(x,S[2],b),id:i(S[2],Hs),level:S[1].length}),l:(S,x,b)=>d("h"+S.level,{id:S.id,key:b.key},x(S.children,b))},10:{o:br(R_),i:0,u:(S,x,b)=>({children:Qo(x,S[1],b),level:S[2]==="="?1:2,type:"9"})},11:{t:["<"],o:zs(fh),i:1,u(S,x,b){const[,A]=S[3].match(Pw),E=RegExp("^"+A,"gm"),k=S[3].replace(E,""),Z=(ee=k,h.some(fe=>fe.test(ee))?iR:Qo);var ee;const de=S[1].toLowerCase(),ie=rw.indexOf(de)!==-1,J=(ie?de:S[1]).trim(),oe={attrs:g(J,S[2]),noInnerParse:ie,tag:J};return b.inAnchor=b.inAnchor||de==="a",ie?oe.text=S[3]:oe.children=Z(x,k,b),b.inAnchor=!1,oe},l:(S,x,b)=>d(S.tag,Ua({key:b.key},S.attrs),S.text||(S.children?x(S.children,b):""))},13:{t:["<"],o:zs(hh),i:1,u(S){const x=S[1].trim();return{attrs:g(x,S[2]||""),tag:x}},l:(S,x,b)=>d(S.tag,Ua({},S.attrs,{key:b.key}))},12:{t:["<!--"],o:zs(C_),i:1,u:()=>({}),l:ph},14:{t:["!["],o:na(Ww),i:1,u:S=>({alt:S[1],target:U_(S[2]),title:S[3]}),l:(S,x,b)=>d("img",{key:b.key,alt:S.alt||void 0,title:S.title||void 0,src:s(S.target,"img","src")})},15:{t:["["],o:ta($w),i:3,u:(S,x,b)=>({children:aR(x,S[1],b),target:U_(S[2]),title:S[3]}),l:(S,x,b)=>d("a",{key:b.key,href:s(S.target,"a","href"),title:S.title},x(S.children,b))},16:{t:["<"],o:ta(xw),i:0,u:S=>({children:[{text:S[1],type:"27"}],target:S[1],type:"15"})},17:{t:(S,x)=>!x.inAnchor&&!r.disableAutoLink&&(gd(S,"http://")||gd(S,"https://")),o:ta(Tw),i:0,u:S=>({children:[{text:S[1],type:"27"}],target:S[1],title:void 0,type:"15"})},18:{t:["<"],o:ta(Aw),i:0,u(S){let x=S[1],b=S[1];return sw.test(b)||(b="mailto:"+b),{children:[{text:x.replace("mailto:",""),type:"27"}],target:b,type:"15"}}},20:D_(d,1),33:D_(d,2),19:{o:br(dw),i:3,u:mh,l:()=>`
|
|
102
|
+
`},21:{o:rl(function(S,x){if(x.inline||x.simple)return null;let b="";S.split(`
|
|
103
|
+
`).every(E=>(E+=`
|
|
104
|
+
`,!c.some(k=>k.test(E))&&(b+=E,!!E.trim())));const A=Ks(b);return A===""?null:[b,,A]}),i:3,u:dh,l:(S,x,b)=>d("p",{key:b.key},x(S.children,b))},22:{t:["["],o:ta(Rw),i:0,u:S=>(T[S[1]]={target:S[2],title:S[4]},{}),l:ph},23:{t:["!["],o:na(Cw),i:0,u:S=>({alt:S[1]||void 0,ref:S[2]}),l:(S,x,b)=>T[S.ref]?d("img",{key:b.key,alt:S.alt,src:s(T[S.ref].target,"img","src"),title:T[S.ref].title}):null},24:{t:["["],o:ta(Nw),i:0,u:(S,x,b)=>({children:x(S[1],b),fallbackChildren:S[0],ref:S[2]}),l:(S,x,b)=>T[S.ref]?d("a",{key:b.key,href:s(T[S.ref].target,"a","href"),title:T[S.ref].title},x(S.children,b)):d("span",{key:b.key},S.fallbackChildren)},25:{t:["|"],o:br(N_),i:1,u:tR,l(S,x,b){const A=S;return d("table",{key:b.key},d("thead",null,d("tr",null,A.header.map(function(E,k){return d("th",{key:k,style:L_(A,k)},x(E,b))}))),d("tbody",null,A.cells.map(function(E,k){return d("tr",{key:k},E.map(function(Z,ee){return d("td",{key:ee,style:L_(A,ee)},x(Z,b))}))})))}},27:{o:zs(qw),i:4,u(S){const x=S[0];return{text:x.indexOf("&")===-1?x:x.replace(bw,(b,A)=>r.namedCodesToUnicode[A]||b)}},l:S=>S.text},28:{t:["**","__"],o:na(Hw),i:2,u:(S,x,b)=>({children:x(S[2],b)}),l:(S,x,b)=>d("strong",{key:b.key},x(S.children,b))},29:{t:S=>{const x=S[0];return(x==="*"||x==="_")&&S[1]!==x},o:na(zw),i:3,u:(S,x,b)=>({children:x(S[2],b)}),l:(S,x,b)=>d("em",{key:b.key},x(S.children,b))},30:{t:["\\"],o:na(Gw),i:1,u:S=>({text:S[1],type:"27"})},31:{t:["=="],o:na(kw),i:3,u:dh,l:(S,x,b)=>d("mark",{key:b.key},x(S.children,b))},32:{t:["~~"],o:na(Iw),i:3,u:dh,l:(S,x,b)=>d("del",{key:b.key},x(S.children,b))}};r.disableParsingRawHTML===!0&&(delete O[11],delete O[13]);const L=function(S){var x=Object.keys(S);function b(A,E){var k=[];if(E.prevCapture=E.prevCapture||"",A.trim())for(;A;)for(var Z=0;Z<x.length;){var ee=x[Z],de=S[ee];if(!de.t||Jw(A,E,de.t)){var ie=de.o(A,E);if(ie&&ie[0]){E.prevCapture+=ie[0],A=A.substring(ie[0].length);var J=de.u(ie,b,E);J.type||(J.type=ee),k.push(J);break}Z++}else Z++}return E.prevCapture="",k}return x.sort(function(A,E){return S[A].i-S[E].i||(A<E?-1:1)}),function(A,E){return b(function(k){return k.replace(mw,`
|
|
105
|
+
`).replace(yw,"").replace(Dw," ")}(A),E)}}(O),M=(V=function(S,x){return function(b,A,E){const k=S[b.type].l;return x?x(()=>k(b,A,E),b,A,E):k(b,A,E)}}(O,r.renderRule),function S(x,b={}){if(Array.isArray(x)){const A=b.key,E=[];let k=!1;for(let Z=0;Z<x.length;Z++){b.key=Z;const ee=S(x[Z],b),de=typeof ee=="string";de&&k?E[E.length-1]+=ee:ee!==null&&E.push(ee),k=de}return b.key=A,E}return V(x,S,b)});var V;const I=m(n);return y.length?d("div",null,I,d("footer",{key:"footer"},y.map(function(S){return d("div",{id:i(S.identifier,Hs),key:S.identifier},S.identifier,M(L(S.footnote,{inline:!0})))}))):I}const Ar=n=>{let{children:r="",options:i}=n,s=function(u,c){if(u==null)return{};var h,d,m={},g=Object.keys(u);for(d=0;d<g.length;d++)c.indexOf(h=g[d])>=0||(m[h]=u[h]);return m}(n,tw);return H.cloneElement(lR(r,i),s)},oR="_generalConditionsContainer_55hjg_1",uR="_generalConditions_55hjg_1",cR="_generalConditionsHeader_55hjg_15",fR="_generalConditionsBody_55hjg_26",hR="_generalConditionsAccept_55hjg_35",ks={generalConditionsContainer:oR,generalConditions:uR,generalConditionsHeader:cR,generalConditionsBody:fR,generalConditionsAccept:hR},dR=()=>_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"currentColor",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"})}),mR=()=>_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"currentColor",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z"})}),pR="general-conditions.header",gR="general-conditions.body",j_="general-conditions.accept-conditions-note",yR=()=>{const n=tt(),[r,i]=H.useState(!1),s=()=>i(!r),u=d=>{d.key==="ArrowDown"||d.key==="ArrowRight"?i(!0):d.key==="ArrowUp"||d.key==="ArrowLeft"||d.key==="Escape"?i(!1):(d.key==="Enter"||d.key==="Space"||d.key===" ")&&s()},c=n(pR),h=n(j_);return _.jsxs("div",{className:K(ks.generalConditionsContainer,"chat__generalConditions"),children:[!!c?.length&&_.jsxs("div",{className:ks.generalConditions,children:[_.jsxs("div",{role:"button",onClick:s,onKeyDown:u,tabIndex:0,className:K(ks.generalConditionsHeader,"chat__generalConditions__header"),"aria-controls":"general-conditions-body","aria-expanded":r?"true":"false","aria-pressed":r?"true":"false",children:[_.jsx(Ar,{children:c}),r?_.jsx(mR,{}):_.jsx(dR,{})]}),_.jsx("div",{className:K(ks.generalConditionsBody,"chat__generalConditions__body"),id:"general-conditions-body",role:"region",tabIndex:-1,children:r&&_.jsx(Ar,{children:n(gR)||""})})]}),!!h?.length&&_.jsx("div",{className:K(ks.generalConditionsAccept,"chat__generalConditions__accept"),tabIndex:0,children:_.jsx(Ar,{children:n(j_)||""})})]})},_R="_message_6i1zm_1",vR="_messageBot_6i1zm_9",bR="_messageBotLast_6i1zm_19",ER="_avatar_6i1zm_19",SR="_messageBotFirst_6i1zm_24",TR="_messageBotAnimated_6i1zm_37",AR="_messageGuest_6i1zm_48",xR="_messageGuestFirst_6i1zm_54",OR="_messageGuestLast_6i1zm_60",wR="_botAvatar_6i1zm_74",RR="_agentAvatar_6i1zm_78",CR="_bubble_6i1zm_82",NR="_bubbleContent_6i1zm_88",MR="_bubbleLeft_6i1zm_102",DR="_leftText_6i1zm_113",BR="_bubbleRight_6i1zm_120",LR="_rightText_6i1zm_130",UR="_sourceInfoReference_6i1zm_162",jR="_sourceInfoReferenceActive_6i1zm_174",_e={message:_R,messageBot:vR,messageBotLast:bR,avatar:ER,messageBotFirst:SR,messageBotAnimated:TR,messageGuest:AR,messageGuestFirst:xR,messageGuestLast:OR,botAvatar:wR,agentAvatar:RR,bubble:CR,bubbleContent:NR,bubbleLeft:MR,leftText:DR,bubbleRight:BR,rightText:LR,sourceInfoReference:UR,sourceInfoReferenceActive:jR},HR="_botMessageActions_1dl7x_1",zR="_alwaysVisible_1dl7x_22",kR="_reported_1dl7x_29",IR="_action_1dl7x_33",ra={botMessageActions:HR,alwaysVisible:zR,reported:kR,action:IR},GR=({alwaysVisible:n,senderType:r,reaction:i,botMessageRef:s,onReaction:u})=>{const c=tt(),[h,d]=H.useState(!1),m=y=>()=>u(y),g=H.useCallback(async()=>{if(s.current)try{d(!0);const y=s.current.innerHTML,T=s.current.innerText;await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([y],{type:"text/html"}),"text/plain":new Blob([T],{type:"text/plain"})})]),await new Promise(O=>setTimeout(O,1500))}finally{d(!1)}},[s]);return _.jsxs("div",{className:K(ra.botMessageActions,n&&ra.alwaysVisible,i&&ra.reported),children:[r===lu.BOT&&_.jsx("button",{className:K(ra.action,i==="GOOD"&&ra.reported,"tooltip--top-right"),tabIndex:0,"aria-label":c(i==="GOOD"?"bot-bubble.reaction.remove":"bot-bubble.reaction.good"),"data-title":c(i==="GOOD"?"bot-bubble.reaction.remove":"bot-bubble.reaction.good"),onClick:m(i==="GOOD"?null:"GOOD"),children:_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:i==="GOOD"?_.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"}):_.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===lu.BOT&&_.jsx("button",{className:K(ra.action,i==="BAD"&&ra.reported,"tooltip--top-right"),tabIndex:0,"aria-label":c(i==="BAD"?"bot-bubble.reaction.remove":"bot-bubble.reaction.bad"),"data-title":c(i==="BAD"?"bot-bubble.reaction.remove":"bot-bubble.reaction.bad"),onClick:m(i==="BAD"?null:"BAD"),children:_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:i==="BAD"?_.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"}):_.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"})})}),_.jsx("button",{className:K(ra.action,"tooltip--top-right"),tabIndex:0,"aria-label":c("bot-bubble.copy"),"data-title":c("bot-bubble.copy"),onClick:g,children:_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:h?_.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"}):_.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"})})})]})},u1=H.forwardRef(({message:n,isAnimated:r,isLastMessage:i,isFirstMessageBySender:s,isLastMessageBySender:u,children:c,onReaction:h},d)=>{const m=tt(),g=H.useRef(null),y=n.sender.type===we.UserType.BOT;return _.jsxs("li",{ref:d,className:K(_e.message,_e.messageBot,i&&_e.lastMessage,s&&_e.messageBotFirst,u&&_e.messageBotLast,"chat__bubbleContainer",r&&_e.messageBotAnimated,r&&"chat__bubbleContainer--animated",y?"chat__botBubbleContainer":"chat__agentBubbleContainer",s&&"chat__bubbleContainer--first",u&&"chat__bubbleContainer--last"),children:[_.jsx("img",{className:K(_e.avatar,y?_e.botAvatar:_e.agentAvatar,"chat__avatar",y?"chat__botAvatar":"chat__agentAvatar"),src:`${n.sender.avatar}`,alt:y?"Bot":"Agent",referrerPolicy:"no-referrer"}),_.jsx("div",{ref:g,className:K(_e.bubble,_e.bubbleLeft,"chat__bubble",y?"chat__botBubble":"chat__agentBubble"),tabIndex:0,"aria-label":m(y?"bot-bubble.label":"agent-bubble.label"),children:_.jsx("div",{className:K(_e.leftText),children:c})}),h&&_.jsx(GR,{alwaysVisible:i&&u,senderType:n.sender.type,reaction:n.reaction,botMessageRef:g,onReaction:h})]})}),qR="_sourceList_1n31h_1",FR="_source_1n31h_1",PR="_label_1n31h_37",yh={sourceList:qR,source:FR,label:PR},c1=n=>_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",...n,children:_.jsx("path",{d:"M52,146H36a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6H52a34,34,0,0,0,0-68Zm0,56H42V158H52a22,22,0,0,1,0,44Zm168.15-5.46a6,6,0,0,1,.18,8.48A28.06,28.06,0,0,1,200,214c-16.54,0-30-15.25-30-34s13.46-34,30-34a28.06,28.06,0,0,1,20.33,9,6,6,0,0,1-8.66,8.3A16.23,16.23,0,0,0,200,158c-9.93,0-18,9.87-18,22s8.07,22,18,22a16.23,16.23,0,0,0,11.67-5.28A6,6,0,0,1,220.15,196.54ZM128,146c-16.54,0-30,15.25-30,34s13.46,34,30,34,30-15.25,30-34S144.54,146,128,146Zm0,56c-9.93,0-18-9.87-18-22s8.07-22,18-22,18,9.87,18,22S137.93,202,128,202ZM48,118a6,6,0,0,0,6-6V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50v18a6,6,0,0,0,12,0V88a6,6,0,0,0-1.76-4.24l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72A6,6,0,0,0,48,118ZM158,46.48,193.52,82H158Z"})}),f1=n=>_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",...n,children:_.jsx("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Z"})}),h1=n=>_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",...n,children:_.jsx("path",{d:"M222,152a6,6,0,0,1-6,6H190v20h18a6,6,0,0,1,0,12H190v18a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6h32A6,6,0,0,1,222,152ZM90,172a26,26,0,0,1-26,26H54v10a6,6,0,0,1-12,0V152a6,6,0,0,1,6-6H64A26,26,0,0,1,90,172Zm-12,0a14,14,0,0,0-14-14H54v28H64A14,14,0,0,0,78,172Zm84,8a34,34,0,0,1-34,34H112a6,6,0,0,1-6-6V152a6,6,0,0,1,6-6h16A34,34,0,0,1,162,180Zm-12,0a22,22,0,0,0-22-22H118v44h10A22,22,0,0,0,150,180ZM42,112V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88v24a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2v72a6,6,0,0,1-12,0ZM158,82h35.52L158,46.48Z"})}),d1=n=>_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",...n,children:_.jsx("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"})}),VR=({type:n,...r})=>{switch(n){case"WEBSITE":return _.jsx(d1,{...r});case"PDF":return _.jsx(h1,{...r});case"DOCX":return _.jsx(c1,{...r});default:return _.jsx(f1,{...r})}},tm=({sources:n,onLinkClick:r})=>{const i=tt(),s=c=>()=>{r(c.url)},u=c=>h=>{(h.key==="Enter"||h.key===" ")&&r(c.url)};return n.length?_.jsx("ul",{className:yh.sourceList,"aria-label":i("bot-bubble.sources"),children:n.map(c=>_.jsx("li",{className:yh.source,children:_.jsxs("a",{role:"button",tabIndex:0,"aria-label":`${i("bot-bubble.source.open")}: ${c.label}`,onClick:s(c),onKeyDown:u(c),children:[_.jsx(VR,{type:c.type,"aria-hidden":"true"}),_.jsx("div",{className:yh.label,children:c.label})]})},c.url))}):null},YR="_button_3ui4g_1",ZR="_buttonDefault_3ui4g_13",XR="_buttonPrimary_3ui4g_28",Js={button:YR,buttonDefault:ZR,buttonPrimary:XR},Su=({className:n,children:r,...i})=>_.jsx("button",{className:K(Js.button,n),type:"button",role:"button",...i,children:r}),QR="_title_b904h_1",KR="_subtitle_b904h_6",$R="_buttons_b904h_11",WR="_button_b904h_11",JR="_imageContainer_b904h_34",eC="_image_b904h_34",tC="_video_container_b904h_49",nC="_video_b904h_49",rC="_only_b904h_63",Xt={title:QR,subtitle:KR,buttons:$R,button:WR,imageContainer:JR,image:eC,video_container:tC,video:nC,only:rC},aC=({buttons:n,onButtonClick:r})=>_.jsx("div",{className:K(Xt.buttons,"chat__bubbleButtons"),children:n.map((i,s)=>_.jsx(Su,{className:K(Xt.button,"chat__bubbleButton"),onClick:()=>r(i),children:i.title},s))});var jo={},Ho={},zo={},H_;function iC(){if(H_)return zo;H_=1,Object.defineProperty(zo,"__esModule",{value:!0});var n=Ri(),r=i(n);function i(s){if(s&&s.__esModule)return s;var u={};if(s!=null)for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(u[c]=s[c]);return u.default=s,u}return zo.default=function(s,u,c){return r.createElement("a",{href:s,key:c},u)},zo}var ko={},z_;function sC(){return z_||(z_=1,Object.defineProperty(ko,"__esModule",{value:!0}),ko.default=function(n){return n}),ko}var Io={},_h,k_;function lC(){return k_||(k_=1,_h=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),_h}var vh,I_;function oC(){return I_||(I_=1,vh=/[\0-\x1F\x7F-\x9F]/),vh}var bh,G_;function uC(){return G_||(G_=1,bh=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),bh}var Eh,q_;function cC(){return q_||(q_=1,Eh=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/),Eh}var Sh,F_;function fC(){return F_||(F_=1,Sh=function(n){var r={};r.src_Any=lC().source,r.src_Cc=oC().source,r.src_Z=uC().source,r.src_P=cC().source,r.src_ZPCc=[r.src_Z,r.src_P,r.src_Cc].join("|"),r.src_ZCc=[r.src_Z,r.src_Cc].join("|");var i="[><|]";return r.src_pseudo_letter="(?:(?!"+i+"|"+r.src_ZPCc+")"+r.src_Any+")",r.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]?)",r.src_auth="(?:(?:(?!"+r.src_ZCc+"|[@/\\[\\]()]).)+@)?",r.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",r.src_host_terminator="(?=$|"+i+"|"+r.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+r.src_ZPCc+"))",r.src_path="(?:[/?#](?:(?!"+r.src_ZCc+"|"+i+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+r.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+r.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+r.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+r.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+r.src_ZCc+"|[']).)+\\'|\\'(?="+r.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+r.src_ZCc+"|[.]).|"+(n&&n["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+r.src_ZCc+").|\\!(?!"+r.src_ZCc+"|[!]).|\\?(?!"+r.src_ZCc+"|[?]).)+|\\/)?",r.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',r.src_xn="xn--[a-z0-9\\-]{1,59}",r.src_domain_root="(?:"+r.src_xn+"|"+r.src_pseudo_letter+"{1,63})",r.src_domain="(?:"+r.src_xn+"|(?:"+r.src_pseudo_letter+")|(?:"+r.src_pseudo_letter+"(?:-|"+r.src_pseudo_letter+"){0,61}"+r.src_pseudo_letter+"))",r.src_host="(?:(?:(?:(?:"+r.src_domain+")\\.)*"+r.src_domain+"))",r.tpl_host_fuzzy="(?:"+r.src_ip4+"|(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%)))",r.tpl_host_no_ip_fuzzy="(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%))",r.src_host_strict=r.src_host+r.src_host_terminator,r.tpl_host_fuzzy_strict=r.tpl_host_fuzzy+r.src_host_terminator,r.src_host_port_strict=r.src_host+r.src_port+r.src_host_terminator,r.tpl_host_port_fuzzy_strict=r.tpl_host_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_port_no_ip_fuzzy_strict=r.tpl_host_no_ip_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+r.src_ZPCc+"|>|$))",r.tpl_email_fuzzy="(^|"+i+'|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",r}),Sh}var Th,P_;function hC(){if(P_)return Th;P_=1;function n(b){var A=Array.prototype.slice.call(arguments,1);return A.forEach(function(E){E&&Object.keys(E).forEach(function(k){b[k]=E[k]})}),b}function r(b){return Object.prototype.toString.call(b)}function i(b){return r(b)==="[object String]"}function s(b){return r(b)==="[object Object]"}function u(b){return r(b)==="[object RegExp]"}function c(b){return r(b)==="[object Function]"}function h(b){return b.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var d={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function m(b){return Object.keys(b||{}).reduce(function(A,E){return A||d.hasOwnProperty(E)},!1)}var g={"http:":{validate:function(b,A,E){var k=b.slice(A);return E.re.http||(E.re.http=new RegExp("^\\/\\/"+E.re.src_auth+E.re.src_host_port_strict+E.re.src_path,"i")),E.re.http.test(k)?k.match(E.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(b,A,E){var k=b.slice(A);return E.re.no_http||(E.re.no_http=new RegExp("^"+E.re.src_auth+"(?:localhost|(?:(?:"+E.re.src_domain+")\\.)+"+E.re.src_domain_root+")"+E.re.src_port+E.re.src_host_terminator+E.re.src_path,"i")),E.re.no_http.test(k)?A>=3&&b[A-3]===":"||A>=3&&b[A-3]==="/"?0:k.match(E.re.no_http)[0].length:0}},"mailto:":{validate:function(b,A,E){var k=b.slice(A);return E.re.mailto||(E.re.mailto=new RegExp("^"+E.re.src_email_name+"@"+E.re.src_host_strict,"i")),E.re.mailto.test(k)?k.match(E.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]",T="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function O(b){b.__index__=-1,b.__text_cache__=""}function L(b){return function(A,E){var k=A.slice(E);return b.test(k)?k.match(b)[0].length:0}}function M(){return function(b,A){A.normalize(b)}}function V(b){var A=b.re=fC()(b.__opts__),E=b.__tlds__.slice();b.onCompile(),b.__tlds_replaced__||E.push(y),E.push(A.src_xn),A.src_tlds=E.join("|");function k(ie){return ie.replace("%TLDS%",A.src_tlds)}A.email_fuzzy=RegExp(k(A.tpl_email_fuzzy),"i"),A.link_fuzzy=RegExp(k(A.tpl_link_fuzzy),"i"),A.link_no_ip_fuzzy=RegExp(k(A.tpl_link_no_ip_fuzzy),"i"),A.host_fuzzy_test=RegExp(k(A.tpl_host_fuzzy_test),"i");var Z=[];b.__compiled__={};function ee(ie,J){throw new Error('(LinkifyIt) Invalid schema "'+ie+'": '+J)}Object.keys(b.__schemas__).forEach(function(ie){var J=b.__schemas__[ie];if(J!==null){var oe={validate:null,link:null};if(b.__compiled__[ie]=oe,s(J)){u(J.validate)?oe.validate=L(J.validate):c(J.validate)?oe.validate=J.validate:ee(ie,J),c(J.normalize)?oe.normalize=J.normalize:J.normalize?ee(ie,J):oe.normalize=M();return}if(i(J)){Z.push(ie);return}ee(ie,J)}}),Z.forEach(function(ie){b.__compiled__[b.__schemas__[ie]]&&(b.__compiled__[ie].validate=b.__compiled__[b.__schemas__[ie]].validate,b.__compiled__[ie].normalize=b.__compiled__[b.__schemas__[ie]].normalize)}),b.__compiled__[""]={validate:null,normalize:M()};var de=Object.keys(b.__compiled__).filter(function(ie){return ie.length>0&&b.__compiled__[ie]}).map(h).join("|");b.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+A.src_ZPCc+"))("+de+")","i"),b.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+A.src_ZPCc+"))("+de+")","ig"),b.re.pretest=RegExp("("+b.re.schema_test.source+")|("+b.re.host_fuzzy_test.source+")|@","i"),O(b)}function I(b,A){var E=b.__index__,k=b.__last_index__,Z=b.__text_cache__.slice(E,k);this.schema=b.__schema__.toLowerCase(),this.index=E+A,this.lastIndex=k+A,this.raw=Z,this.text=Z,this.url=Z}function S(b,A){var E=new I(b,A);return b.__compiled__[E.schema].normalize(E,b),E}function x(b,A){if(!(this instanceof x))return new x(b,A);A||m(b)&&(A=b,b={}),this.__opts__=n({},d,A),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},g,b),this.__compiled__={},this.__tlds__=T,this.__tlds_replaced__=!1,this.re={},V(this)}return x.prototype.add=function(A,E){return this.__schemas__[A]=E,V(this),this},x.prototype.set=function(A){return this.__opts__=n(this.__opts__,A),this},x.prototype.test=function(A){if(this.__text_cache__=A,this.__index__=-1,!A.length)return!1;var E,k,Z,ee,de,ie,J,oe,fe;if(this.re.schema_test.test(A)){for(J=this.re.schema_search,J.lastIndex=0;(E=J.exec(A))!==null;)if(ee=this.testSchemaAt(A,E[2],J.lastIndex),ee){this.__schema__=E[2],this.__index__=E.index+E[1].length,this.__last_index__=E.index+E[0].length+ee;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(oe=A.search(this.re.host_fuzzy_test),oe>=0&&(this.__index__<0||oe<this.__index__)&&(k=A.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(de=k.index+k[1].length,(this.__index__<0||de<this.__index__)&&(this.__schema__="",this.__index__=de,this.__last_index__=k.index+k[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(fe=A.indexOf("@"),fe>=0&&(Z=A.match(this.re.email_fuzzy))!==null&&(de=Z.index+Z[1].length,ie=Z.index+Z[0].length,(this.__index__<0||de<this.__index__||de===this.__index__&&ie>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=de,this.__last_index__=ie))),this.__index__>=0},x.prototype.pretest=function(A){return this.re.pretest.test(A)},x.prototype.testSchemaAt=function(A,E,k){return this.__compiled__[E.toLowerCase()]?this.__compiled__[E.toLowerCase()].validate(A,k,this):0},x.prototype.match=function(A){var E=0,k=[];this.__index__>=0&&this.__text_cache__===A&&(k.push(S(this,E)),E=this.__last_index__);for(var Z=E?A.slice(E):A;this.test(Z);)k.push(S(this,E)),Z=Z.slice(this.__last_index__),E+=this.__last_index__;return k.length?k:null},x.prototype.tlds=function(A,E){return A=Array.isArray(A)?A:[A],E?(this.__tlds__=this.__tlds__.concat(A).sort().filter(function(k,Z,ee){return k!==ee[Z-1]}).reverse(),V(this),this):(this.__tlds__=A.slice(),this.__tlds_replaced__=!0,V(this),this)},x.prototype.normalize=function(A){A.schema||(A.url="http://"+A.url),A.schema==="mailto:"&&!/^mailto:/i.test(A.url)&&(A.url="mailto:"+A.url)},x.prototype.onCompile=function(){},Th=x,Th}const dC=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","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","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","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","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","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","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","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","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","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","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","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","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","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","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","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","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","shell","shia","shiksha","shoes","shop","shopping","shouji","show","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","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","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 V_;function mC(){if(V_)return Io;V_=1,Object.defineProperty(Io,"__esModule",{value:!0});var n=hC(),r=u(n),i=dC,s=u(i);function u(h){return h&&h.__esModule?h:{default:h}}var c=new r.default;return c.tlds(s.default),Io.default=function(h){return c.match(h)},Io}var Go={},Y_;function pC(){return Y_||(Y_=1,Object.defineProperty(Go,"__esModule",{value:!0}),Go.default=function(n){return n}),Go}var Z_;function gC(){if(Z_)return Ho;Z_=1,Object.defineProperty(Ho,"__esModule",{value:!0});var n=function(){function S(x,b){for(var A=0;A<b.length;A++){var E=b[A];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(x,E.key,E)}}return function(x,b,A){return b&&S(x.prototype,b),A&&S(x,A),x}}(),r=Ri(),i=O(r),s=iC(),u=T(s),c=sC(),h=T(c),d=mC(),m=T(d),g=pC(),y=T(g);function T(S){return S&&S.__esModule?S:{default:S}}function O(S){if(S&&S.__esModule)return S;var x={};if(S!=null)for(var b in S)Object.prototype.hasOwnProperty.call(S,b)&&(x[b]=S[b]);return x.default=S,x}function L(S,x){if(!(S instanceof x))throw new TypeError("Cannot call a class as a function")}function M(S,x){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:S}function V(S,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);S.prototype=Object.create(x&&x.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(S,x):S.__proto__=x)}var I=function(S){V(x,S);function x(){return L(this,x),M(this,(x.__proto__||Object.getPrototypeOf(x)).apply(this,arguments))}return n(x,[{key:"parseString",value:function(A){var E=this;if(A==="")return A;var k=this.props.matchDecorator(A);if(!k)return A;var Z=[],ee=0;return k.forEach(function(de,ie){de.index>ee&&Z.push(A.substring(ee,de.index));var J=E.props.hrefDecorator(de.url),oe=E.props.textDecorator(de.text),fe=E.props.componentDecorator(J,oe,ie);Z.push(fe),ee=de.lastIndex}),A.length>ee&&Z.push(A.substring(ee)),Z.length===1?Z[0]:Z}},{key:"parse",value:function(A){var E=this,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof A=="string"?this.parseString(A):i.isValidElement(A)&&A.type!=="a"&&A.type!=="button"?i.cloneElement(A,{key:k},this.parse(A.props.children)):Array.isArray(A)?A.map(function(Z,ee){return E.parse(Z,ee)}):A}},{key:"render",value:function(){return i.createElement(i.Fragment,null,this.parse(this.props.children))}}]),x}(i.Component);return I.defaultProps={componentDecorator:u.default,hrefDecorator:h.default,matchDecorator:m.default,textDecorator:y.default},Ho.default=I,Ho}var X_;function yC(){if(X_)return jo;X_=1,Object.defineProperty(jo,"__esModule",{value:!0});var n=gC(),r=i(n);function i(s){return s&&s.__esModule?s:{default:s}}return jo.default=r.default,jo}var _C=yC();const vC=cu(_C),bC="_text_gp0s0_1",EC="_command_gp0s0_5",Q_={text:bC,command:EC},m1=({text:n,commands:r=[],onLinkClick:i})=>{const s=d=>m=>(m.preventDefault(),d&&i(d),!1),u=(d,m,g)=>_.jsx("a",{onClick:s(d),role:"button",children:m},g),c=r.find(d=>n.startsWith(`/${d}`)),h=c?n.slice(c.length+1):n;return _.jsxs("div",{children:[c&&_.jsxs("code",{className:Q_.command,children:["/",c]}),h.split(`
|
|
106
|
+
`).map((d,m)=>_.jsxs("span",{className:Q_.text,children:[_.jsx(vC,{componentDecorator:u,children:d}),_.jsx("br",{})]},m))]})},SC=({subtitle:n,onLinkClick:r})=>n?_.jsx("div",{className:Xt.subtitle,children:_.jsx(m1,{text:n,onLinkClick:r})}):null,K_="newtab#",p1=({markdown:n,markdownOptions:r={},onLinkClick:i})=>{const s=c=>h=>(h.preventDefault(),c&&i(c),!1),u=({title:c,href:h,children:d})=>h.indexOf(K_)===0?_.jsx("a",{href:h.slice(K_.length),title:c,target:"_blank",rel:"noopener noreferrer",children:d}):_.jsx("a",{onClick:s(h),title:c,href:h,children:d});return _.jsx(Ar,{options:{...r,overrides:{a:u}},children:n})},TC=({text:n,onLinkClick:r})=>n?_.jsx("div",{children:_.jsx(p1,{markdown:n,onLinkClick:r})}):null,AC=({title:n})=>n?_.jsx("h1",{className:Xt.title,children:n}):null,xC=({title:n,text:r,subtitle:i,buttons:s,onButtonClick:u,onLinkClick:c})=>n?.length||r?.length||i?.length||s?.length?_.jsxs("div",{className:K(_e.bubbleContent),children:[_.jsx(AC,{title:n}),_.jsx(TC,{text:r,onLinkClick:c}),_.jsx(SC,{subtitle:i,onLinkClick:c}),_.jsx(aC,{buttons:s,onButtonClick:u})]}):null,OC=({alt:n,imageUrl:r,itemUrl:i,hasBody:s})=>r?i?i.indexOf("youtube.com")>-1?_.jsx("div",{className:Xt.video_container,children:_.jsx("iframe",{className:K(Xt.video,{[Xt.only]:!s}),title:"Youtube",width:"100%",src:i+"?rel=0",frameBorder:"0",allowFullScreen:!0})}):_.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:_.jsx("div",{className:Xt.imageContainer,children:_.jsx("img",{className:K(Xt.image,{[Xt.only]:!s}),src:r,alt:n})})}):_.jsx("div",{className:Xt.imageContainer,children:_.jsx("img",{className:K(Xt.image,{[Xt.only]:!s}),src:r,alt:n})}):null,wC=({title:n,text:r,subtitle:i,imageUrl:s,itemUrl:u,buttons:c,sources:h,onButtonClick:d,onLinkClick:m})=>{const g=!!n?.length||!!r?.length||!!i?.length||!!c?.length;return _.jsxs("div",{className:K(Xt.detailMessage),children:[_.jsx(OC,{hasBody:g,imageUrl:s,itemUrl:u,alt:n||i}),g&&_.jsx(xC,{title:n,text:r,subtitle:i,buttons:c,onLinkClick:m,onButtonClick:d}),_.jsx(tm,{sources:h,onLinkClick:m})]})},RC=H.forwardRef(({isFirstMessageBySender:n,isLastMessageBySender:r,children:i},s)=>{const u=tt();return _.jsx("li",{ref:s,className:K(_e.message,_e.messageGuest,n&&_e.messageGuestFirst,r&&_e.messageGuestLast,"chat__bubbleContainer","chat__guestBubbleContainer",n&&"chat__bubbleContainer--first",r&&"chat__bubbleContainer--last"),children:_.jsx("div",{className:K(_e.bubble,_e.bubbleRight,"chat__bubble","chat__guestBubble"),tabIndex:0,"aria-label":u("guest-bubble.label"),children:_.jsx("div",{className:K(_e.rightText),children:i})})})}),CC="_markdown_nw7vg_1",g1={markdown:CC},y1=()=>NC(window.location.pathname),NC=n=>{const r=n.split("/"),i=n.endsWith("/");return r[r.length-(i?2:1)]},nm=()=>H.useMemo(()=>y1(),[]),qo="source-info-reference",MC=({actionId:n,markdown:r,sources:i,onLinkClick:s})=>{const u=nm(),c=Ia(),h=DC(),d=Qt(y=>{const T=y.chat.sourceInfos;if(T?.type==="loaded"||T?.type==="loading")return T.chunkId}),m=y=>T=>{const O=T.key;(O==="ArrowDown"||O==="ArrowRight"||O==="Enter"||O===" "||O==="Space")&&(T.stopPropagation(),c(__(u,n,y)))},g=y=>()=>{c(__(u,n,y))};return H.useLayoutEffect(()=>{document.querySelectorAll(`.${qo}`).forEach(y=>{const T=y.previousSibling;T&&T.nodeType===Node.TEXT_NODE&&T.textContent?.endsWith(" ")&&T.textContent?.trim().length&&y.classList.add(`${qo}--before-space`);const O=y.nextSibling;O&&O.nodeType===Node.TEXT_NODE&&O.textContent?.startsWith(" ")&&O.textContent?.trim().length&&y.classList.add(`${qo}--after-space`)})},[r]),_.jsxs("div",{className:_e.bubbleContent,children:[_.jsx("div",{className:g1.markdown,children:_.jsx(p1,{markdown:r,onLinkClick:s,markdownOptions:{renderRule(y,T,O,L){if(T.type===nw.footnoteReference){const M=T.text===d;return _.jsx("span",{className:K(_e.sourceInfoReference,M&&_e.sourceInfoReferenceActive,qo),children:_.jsx("a",{type:"button",tabIndex:0,onClick:g(T.text),onKeyDown:m(T.text),children:h(T.text)})},L.key)}return y()}}})}),_.jsx(tm,{sources:i,onLinkClick:s})]})},DC=()=>{const n=[];return i=>{const s=n.indexOf(i);return s>-1?s+1:(n.push(i),n.length)}},BC=({text:n,commands:r,sources:i,onLinkClick:s})=>_.jsxs("div",{className:_e.bubbleContent,children:[_.jsx(m1,{text:n,commands:r,onLinkClick:s}),_.jsx(tm,{sources:i,onLinkClick:s})]}),LC=H.forwardRef(({message:n,commands:r,isLastMessage:i,isFirstMessageBySender:s,isLastMessageBySender:u,onReaction:c,onButtonClick:h,onLinkClick:d},m)=>{const g=UC(n._id,n,r,h,d);switch(n.sender.type){case we.UserType.GUEST:return _.jsx(RC,{ref:m,isFirstMessageBySender:s,isLastMessageBySender:u,children:g});default:{const y=T=>c(n._id,T);return _.jsx(u1,{ref:m,message:n,isAnimated:!1,isLastMessage:i,isFirstMessageBySender:s,isLastMessageBySender:u,onReaction:y,children:g})}}}),UC=(n,r,i,s,u)=>{switch(r.type){case we.MessageTypeEnum.TEXT:{const c=r;return _.jsx(BC,{text:c.text,commands:i,sources:r.sources||[],onLinkClick:u})}case we.MessageTypeEnum.DETAIL:{const c=r;return _.jsx(wC,{title:c.title,text:c.text,subtitle:c.subtitle,imageUrl:c.imageUrl,itemUrl:c.itemUrl,buttons:c.buttons,sources:r.sources||[],onButtonClick:s,onLinkClick:u})}case we.MessageTypeEnum.MARKDOWN:{const c=r;return _.jsx(MC,{actionId:n,markdown:c.markdown,sources:c.sources||[],onLinkClick:u})}}},jC=(n,r)=>n.message._id===r.message._id&&n.message.reaction===r.message.reaction&&n.isLastMessage===r.isLastMessage&&n.isFirstMessageBySender===r.isFirstMessageBySender&&n.isLastMessageBySender===r.isLastMessageBySender,HC=Gv.memo(LC,jC),zC="_ticontainer_xg0dn_1",kC="_tiblock_xg0dn_5",IC="_tidot_xg0dn_12",Is={ticontainer:zC,tiblock:kC,tidot:IC},GC=({isTyping:n=!1})=>_.jsx("div",{className:Is.ticontainer,children:_.jsx("div",{className:Is.tiblock,children:n?_.jsxs(_.Fragment,{children:[_.jsx("div",{className:K(Is.tidot,"chat__typingIndicator")}),_.jsx("div",{className:K(Is.tidot,"chat__typingIndicator")}),_.jsx("div",{className:K(Is.tidot,"chat__typingIndicator")})]}):null})}),qC=Object.assign({_id:"typing-indicator"},new we.TextMessage("",new we.BotUser)),FC=({messages:n,isBotTyping:r,commands:i,onTranscriptItemReaction:s,onButtonClick:u,onLinkClick:c})=>{const h=H.useRef(0),d=H.useRef(!0),m=H.useRef(null),g=H.useRef(null),y=H.useRef(null),T=Qt(M=>M.settings.enableGeneralConditions);H.useLayoutEffect(()=>{if(n.length&&m.current&&(h.current<n.length||r)){if(g.current){const M=g.current.offsetTop;m.current.scrollTop=M}else if(y.current){const M=y.current.offsetTop;m.current.scrollTop=M}d.current&&(d.current=!1),h.current=n.length}},[n,d,r]);let O;const L=n.length;return _.jsxs("div",{ref:m,className:K(b_.messageContainer,"chat__messageContainer"),style:{scrollBehavior:n.length&&d.current?"auto":"smooth"},id:"MessageContainer",role:"log","aria-live":"polite",children:[T&&_.jsx(yR,{}),_.jsxs("ul",{className:b_.messages,children:[n.map((M,V)=>{const I=PC(M,O),S=VC(M,V,n,r);O=M.sender.type;const x=V+1===L,b=M._id||`added-${V}`;return _.jsx(HC,{ref:x?y:null,message:M,commands:i,isLastMessage:x,isFirstMessageBySender:I,isLastMessageBySender:S,onButtonClick:u,onLinkClick:c,onReaction:s},x&&!r?"last":b)}),r&&_.jsx(u1,{ref:g,message:qC,isLastMessage:!1,isAnimated:!0,isFirstMessageBySender:O!==we.UserType.BOT,isLastMessageBySender:!0,children:_.jsx(GC,{isTyping:!0})},"last")]})]})},PC=(n,r)=>!r||r!==n.sender.type,VC=(n,r,i,s)=>{const u=n.sender.type,c=i.length;return r+1===c?!(u===we.UserType.BOT&&s):u!==i.at(r+1)?.sender.type},YC="_bottomSheet_jp8dl_1",ZC="_bottomSheetOpen_jp8dl_15",XC="_bottomSheetClose_jp8dl_20",xr={bottomSheet:YC,bottomSheetOpen:ZC,bottomSheetClose:XC},QC="_container_xc2nx_1",$_={container:QC},KC=({contentUrl:n})=>{const r=Qt(c=>c.connection.sessionId),[i,s]=H.useState(!1);H.useEffect(()=>{s(c=>c||!!n)},[n]);const u=H.useMemo(()=>{if(n&&r){const c=new URL(n,document.baseURI);return c.searchParams.set("sessionId",r),c.toString()}else return},[n,r]);return _.jsx("div",{className:K($_.container,xr.bottomSheet,{[xr.bottomSheetOpen]:!!n,[xr.bottomSheetClose]:i&&!n}),children:u&&_.jsx("iframe",{title:"Drawer",src:u,className:$_.iframe})})},$C="_container_z787n_1",WC={container:$C},JC=({title:n,href:r,children:i})=>_.jsx("a",{href:r,title:n,target:"_blank",rel:"noopener noreferrer",children:i}),e6=()=>{const r=tt()("powered-by");return r&&r.length?_.jsx("div",{className:K(WC.container,"chat__poweredBy"),children:_.jsx(Ar,{options:{overrides:{a:JC}},children:r})}):null},t6=({className:n,children:r,...i})=>_.jsx(Su,{className:K(Js.buttonDefault,n),type:"button",...i,children:r}),ou=({className:n,children:r,...i})=>_.jsx(Su,{className:K(Js.buttonPrimary,n),...i,children:r}),n6="_container_h23mk_1",r6="_formContainer_h23mk_17",a6="_emailInput_h23mk_22",i6="_description_h23mk_52",s6="_actions_h23mk_57",l6="_validationError_h23mk_67",o6="_submitted_h23mk_74",Ma={container:n6,formContainer:r6,emailInput:a6,description:i6,actions:s6,validationError:l6,submitted:o6},u6=({visible:n,onEmailExport:r,onClose:i})=>{const s=tt(),[u,c]=H.useState(void 0),[h,d]=H.useState(!1),[m,g]=H.useState(void 0),y=H.useRef(null);H.useEffect(()=>{n?(y.current?.focus(),d(!1),c(n)):u===!0&&c(!1)},[n,u]);const T=L=>{L.preventDefault(),m&&m.length>0&&(r(m),d(!0),setTimeout(i,3*1e3))},O=L=>{const M=L.target.value.trim(),V=/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(M);g(V?M:"")};return _.jsxs("div",{className:K(Ma.container,xr.bottomSheet,{[xr.bottomSheetOpen]:u===!0,[xr.bottomSheetClose]:u===!1}),children:[_.jsx("h2",{children:s("export-transcript.email.title")}),_.jsx(Ar,{className:Ma.description,children:s("export-transcript.email.description")||""}),_.jsxs("form",{onSubmit:T,className:Ma.formContainer,children:[_.jsxs("div",{children:[_.jsx("input",{disabled:h,ref:y,type:"email",placeholder:s("export-transcript.email.placeholder"),className:Ma.emailInput,onChange:O}),m?.length===0?_.jsx("div",{className:Ma.validationError,children:s("export-transcript.email.invalid")}):null]}),_.jsxs("div",{className:Ma.actions,children:[_.jsx(t6,{onClick:i,children:s("export-transcript.email.cancel")}),_.jsx(ou,{type:"submit",disabled:h||m===void 0||m.length===0,children:s("export-transcript.email.send")})]})]}),h&&_.jsx("div",{className:Ma.submitted,children:s("export-transcript.email.success")})]})},c6="_inputContainer_fi5ao_1",f6={inputContainer:c6},h6="_blockUserInput_pot9c_1",d6={blockUserInput:h6},m6=({visible:n})=>{const r=tt();return n?_.jsx("div",{className:K(d6.blockUserInput,"chat__blockUserInput"),children:r("block-user-input.title")}):null},p6="_commandsDropdown_5ytuv_1",g6="_commands_5ytuv_1",y6="_command_5ytuv_1",_6="_commandActive_5ytuv_46",v6="_commandsSelections_5ytuv_55",Xs={commandsDropdown:p6,commands:g6,command:y6,commandActive:_6,commandsSelections:v6},_1=(n,r)=>{H.useEffect(()=>{const i=s=>{n.current&&!n.current.contains(s.target)&&r()};return document.addEventListener("mousedown",i),()=>document.removeEventListener("mousedown",i)},[n,r])},b6=(n,r,i,s,u)=>{H.useEffect(()=>{const c=h=>{if(n.length)switch(h.key){case"Enter":i(n[r]);break;case"ArrowUp":s(d=>d>0?d-1:n.length-1);break;case"ArrowDown":s(d=>d<n.length-1?d+1:0);break;case"Escape":u([]);break}};return document.addEventListener("keydown",c),()=>{document.removeEventListener("keydown",c)}},[n,r,i,s,u])},E6=({text:n,commands:r,onSelectCommand:i,onVisibilityChange:s})=>{const u=H.useRef(null),c=tt(),[h,d]=H.useState([]),[m,g]=H.useState(W_(r)),[y,T]=H.useState(0),O=L=>i(`/${L}`);return _1(u,()=>d([])),b6(h,y,O,T,d),H.useEffect(()=>{g(W_(r))},[r]),H.useEffect(()=>{const L=n.length||0;L===0||L>m||!n.startsWith("/")?d([]):d(r.filter(S6(n))),T(0)},[r,n,m]),H.useEffect(()=>{s(!!h.length)},[h,s]),h.length?_.jsx("div",{ref:u,className:Xs.commandsDropdown,children:_.jsx("ul",{id:"command-list",className:Xs.commands,role:"listbox",children:h.map((L,M)=>_.jsxs("li",{className:K([Xs.command,y===M&&Xs.commandActive]),role:"option",onClick:()=>O(L),onMouseOver:()=>T(M),children:[_.jsxs("h1",{children:["/",L]}),_.jsx("p",{children:c(`commands.${L}`)})]},L))})}):null},W_=n=>Math.max(...n.map(r=>r.length+1)),S6=n=>r=>{const i=`/${r}`;return i.startsWith(n)&&i.length>=n.length},J_=3,T6=({commands:n,onSelectCommand:r})=>{const i=tt(),[s,u]=H.useState(!1),c=g=>()=>{r(`/${g}`),u(!1)},h=()=>{u(!0)},d=()=>{u(!1)},m=s?n:n.slice(0,J_);return _.jsxs("div",{className:Xs.commandsSelections,children:[m.map(g=>_.jsxs("button",{className:"tooltip--top-center","aria-label":i(`commands.${g}`),"data-title":i(`commands.${g}`),tabIndex:0,onClick:c(g),children:["/",g]},g)),m.length<n.length?_.jsx("button",{"aria-label":i("commands.show-more.tooltip"),"data-title":i("commands.show-more.tooltip"),tabIndex:0,onClick:h,children:i("commands.show-more.action")},"show-more"):m.length>J_?_.jsx("button",{"aria-label":i("commands.show-less.tooltip"),"data-title":i("commands.show-less.tooltip"),tabIndex:0,onClick:d,children:i("commands.show-less.action")},"show-less"):null]})},A6="_callToActionContainer_1pojq_1",x6="_callToActionTitle_1pojq_23",O6="_rateOverlay_1pojq_30",w6="_body_1pojq_52",R6="_footer_1pojq_60",C6="_actions_1pojq_73",N6="_bubbles_1pojq_101",M6="_stars_1pojq_203",D6="_starsSmall_1pojq_217",B6="_starsLarge_1pojq_223",L6="_star_1pojq_203",U6="_starReadonly_1pojq_237",j6="_starIcon_1pojq_247",H6="_starsDescriptionContainer_1pojq_265",z6="_starsDescription_1pojq_265",Ht={callToActionContainer:A6,callToActionTitle:x6,rateOverlay:O6,body:w6,footer:R6,actions:C6,bubbles:N6,stars:M6,starsSmall:D6,starsLarge:B6,star:L6,starReadonly:U6,starIcon:j6,starsDescriptionContainer:H6,starsDescription:z6},k6=({value:n,index:r,count:i,readonly:s,onHover:u,onClick:c})=>{const h=d=>{c&&d.key==="Enter"&&c()};return _.jsx("li",{className:K(Ht.star,{[Ht.starReadonly]:s},"chat__conversationRating__star"),children:_.jsx("div",{role:"radio","aria-checked":n>r?"true":"false","aria-posinset":r+1,"aria-setsize":i,tabIndex:0,onMouseOver:u,onKeyDown:h,onClick:c,children:_.jsx("span",{role:"img","aria-label":"Star",className:K(Ht.starIcon),children:_.jsx("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:_.jsx("path",{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"})})})})})},ev=5,v1=({value:n,size:r,readonly:i=!1,onChange:s})=>{const[u,c]=H.useState(void 0),h=()=>{c(void 0)},d=g=>()=>{if(!i){const y=g+1;c(y)}},m=g=>()=>{s&&!i&&(s(g===0&&n===1?0:g+1),c(void 0))};return _.jsx("ul",{tabIndex:0,role:"radiogroup",className:K(Ht.stars,{[Ht.starsSmall]:r==="small",[Ht.starsLarge]:r==="large"},"chat__conversationRating__stars",{chat__conversationRating__stars__small:r==="small",chat__conversationRating__stars__large:r==="large"}),onMouseOut:h,children:Array(ev).fill(0).map((g,y)=>_.jsx(k6,{value:u===void 0?n:u,index:y,count:ev,readonly:i,onHover:d(y),onClick:m(y)},y))})},I6=({visible:n,onRate:r})=>{const i=tt();return n?_.jsxs("div",{className:K(Ht.callToActionContainer,"chat__conversationRating__callToAction"),children:[_.jsx("div",{className:K(Ht.callToActionTitle,"chat__conversationRating__callToAction__title"),children:i("conversation-rating.call-to-action.title")}),_.jsx(v1,{value:0,size:"small",onChange:r})]}):null},Ah=({isFirstMessageBySender:n,isLastMessageBySender:r,children:i})=>_.jsxs("div",{className:K(_e.message,_e.messageBot,n&&_e.messageBotFirst,r&&_e.messageBotLast,"chat__bubbleContainer","chat__botBubbleContainer",n&&"chat__bubbleContainer--first",r&&"chat__bubbleContainer--last"),children:[_.jsx("img",{className:K(_e.avatar,_e.botAvatar),src:"bot.svg",alt:"Bot"}),_.jsx("div",{className:K(_e.bubble,_e.bubbleLeft,"chat__bubble","chat__botBubble"),children:_.jsx("div",{className:K(_e.leftText,_e.bubbleContent),children:i})})]}),G6=({children:n})=>_.jsx("div",{className:K(_e.message,_e.messageGuest,_e.messageGuestFirst,_e.messageGuestLast,"chat__bubbleContainer","chat__guestBubbleContainer","chat__bubbleContainer--first","chat__bubbleContainer--last"),children:_.jsx("div",{className:K(_e.bubble,_e.bubbleRight,"chat__bubble","chat__guestBubble"),children:_.jsx("div",{className:K(_e.rightText,_e.bubbleContent),children:n})})}),q6=({visible:n,rating:r,onRate:i,onClose:s})=>{const u=tt(),[c,h]=H.useState(r),[d,m]=H.useState(void 0),[g,y]=H.useState(void 0),[T,O]=H.useState({submitted:!1,feedback:""}),[L,M]=H.useState(!1),V=H.useRef(null);H.useEffect(()=>{n?(O({submitted:!1,feedback:""}),y(n)):g===!0&&y(!1)},[n,g]),H.useEffect(()=>{h(r)},[r]),H.useEffect(()=>{const S=c>0?u(`conversation-rating.overlay.bot-message.rate-feedback.value-${c}`):void 0;m(S?.length?S:void 0)},[c,u]),H.useEffect(()=>{T.submitted?setTimeout(()=>M(!0),T.feedback.length?500:0):M(!1)},[T]);const I=S=>{S.preventDefault();const x=V.current?.value?.trim()||"";i(c,x),O({submitted:!0,feedback:x})};return _.jsx("div",{className:K(Ht.rateOverlay,xr.bottomSheet,"chat__conversationRating__overlay",{[xr.bottomSheetOpen]:g===!0,[xr.bottomSheetClose]:g===!1}),children:_.jsxs("form",{onSubmit:I,children:[_.jsxs("div",{className:K(Ht.body,"chat__conversationRating__overlay__body"),children:[_.jsx("div",{}),_.jsx("div",{className:K(Ht.bubbles),children:n&&d&&_.jsxs(_.Fragment,{children:[_.jsxs(Ah,{isFirstMessageBySender:!0,isLastMessageBySender:!1,children:[_.jsx("h2",{children:u("conversation-rating.overlay.title")}),_.jsxs("div",{className:K(Ht.starsDescriptionContainer),children:[_.jsx(v1,{value:c,size:"large",readonly:T.submitted,onChange:h}),_.jsxs("div",{className:K(Ht.starsDescription),children:[_.jsx("div",{children:u("conversation-rating.overlay.star.very-bad")}),_.jsx("div",{children:u("conversation-rating.overlay.star.very-good")})]})]})]}),_.jsx(Ah,{isFirstMessageBySender:!1,isLastMessageBySender:!L||!!T.feedback.length,children:_.jsx("div",{children:d})}),!!T.feedback.length&&_.jsx(G6,{children:T.feedback}),L&&_.jsx(Ah,{isFirstMessageBySender:!!T.feedback.length,isLastMessageBySender:!0,children:_.jsx("div",{children:u("conversation-rating.overlay.bot-message.submit-feedback")})})]})})]}),_.jsxs("div",{className:K(Ht.footer,"chat__conversationRating__overlay__footer"),children:[!T.submitted&&_.jsx("input",{ref:V,placeholder:u("conversation-rating.overlay.guest-feedback.input-placeholder")}),_.jsx("div",{className:K(Ht.actions,"chat__conversationRating__overlay__footer__actions"),children:T.submitted?_.jsx(ou,{type:"button",onClick:s,children:u("conversation-rating.overlay.action.close")}):_.jsx(ou,{type:"submit",children:u("conversation-rating.overlay.action.submit")})})]})]})})},F6=({conversationRating:{enabled:n,rating:r},numberOfMessagesFromGuest:i,showRatingOverlay:s,setShowRatingOverlay:u,onRate:c})=>{const[h,d]=H.useState(0),m=T=>{d(T),u(!0)},g=()=>u(!1),y=!r&&i>=1;return n?_.jsxs(_.Fragment,{children:[_.jsx(I6,{visible:y,onRate:m}),_.jsx(q6,{visible:s,rating:h,onRate:c,onClose:g})]}):null},P6=H.memo(F6),V6="_inputWrapper_e3h44_1",Y6="_withOpenCommands_e3h44_14",Z6="_messageInputWrapper_e3h44_20",X6="_messageInput_e3h44_20",Q6="_buttons_e3h44_44",K6="_button_e3h44_44",Ai={inputWrapper:V6,withOpenCommands:Y6,messageInputWrapper:Z6,messageInput:X6,buttons:Q6,button:K6},$6="_audioRecorder_g845f_1",W6="_audioButton_g845f_6",J6="_recorderIcon_g845f_37",e3="_spinning_g845f_60",Da={audioRecorder:$6,audioButton:W6,recorderIcon:J6,spinning:e3},tv=2048,uu=16e3;class t3 extends Gv.Component{audioInput=null;volume=null;leftchannel=[];recorder=null;recordingLength=0;sampleRate=null;mediaStream=null;constructor(r){super(r),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(r){this.mediaStream=r,this.leftchannel.length=0,this.recordingLength=0,this.initRecording(r)}initRecording(r){const i=window.AudioContext||window.webkitAudioContext,s=new i;this.sampleRate=s.sampleRate,this.volume=s.createGain(),this.audioInput=s.createMediaStreamSource(r),this.audioInput.connect(this.volume),this.recorder=s.createScriptProcessor(tv,1,1),this.recorder.onaudioprocess=this.processRecordingInput,this.volume.connect(this.recorder),this.recorder.connect(s.destination)}processRecordingInput(r){if(this.state.recordingState==="connecting"&&this.setState({recordingState:"recording"}),this.state.recordingState!=="none"){const i=r.inputBuffer.getChannelData(0);this.leftchannel.push(new Float32Array(i)),this.recordingLength+=tv}}handleClickSubmitAudio(){const r=r3(this.leftchannel,this.recordingLength),i=a3(r,this.sampleRate||0),s=n3(i);this.props.onAudioRecorded(s),this.handleClickStopAudio()}handleClickStopAudio(){this.setState({recordingState:"none"}),this.audioInput?.disconnect(),this.volume?.disconnect(),this.recorder?.disconnect(),this.mediaStream&&this.mediaStream?.getAudioTracks().forEach(r=>{r.stop()})}render(){return _.jsxs("div",{className:Da.audioRecorder,children:[this.state.recordingState==="none"&&_.jsx("button",{className:K(Da.audioButton,"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:_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"}),_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]})}),this.state.recordingState==="connecting"&&_.jsxs("svg",{className:Da.spinning,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]}),this.state.recordingState==="recording"&&_.jsxs("div",{className:Da.audioRecorder,children:[_.jsx("button",{className:K(Da.audioButton),onClick:this.handleClickStopAudio,"aria-label":this.props.translate("message-input.actions.stop-audio-recording.label"),tabIndex:0,children:_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]})}),_.jsx("div",{className:Da.recorderIcon}),_.jsx("button",{className:K(Da.audioButton),type:"submit",onClick:this.handleClickSubmitAudio,"aria-label":this.props.translate("message-input.actions.submit-audio-recording.label"),tabIndex:0,autoFocus:!0,children:_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[_.jsx("path",{d:"M0 0h24v24H0z",fill:"none"}),_.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})]})})]})]})}}const n3=n=>{const r=new ArrayBuffer(44+n.length*2),i=new DataView(r);Fo(i,0,"RIFF"),i.setUint32(4,44+n.length*2,!0),Fo(i,8,"WAVE"),Fo(i,12,"fmt "),i.setUint32(16,16,!0),i.setUint16(20,1,!0),i.setUint16(22,1,!0),i.setUint32(24,uu,!0),i.setUint32(28,uu*4,!0),i.setUint16(32,4,!0),i.setUint16(34,16,!0),Fo(i,36,"data"),i.setUint32(40,n.length*2,!0);const s=n.length;let u=44;const c=1;for(let h=0;h<s;h++)i.setInt16(u,n[h]*(32767*c),!0),u+=2;return new Blob([i],{type:"audio/wav"})},Fo=(n,r,i)=>{for(let s=0;s<i.length;s++)n.setUint8(r+s,i.charCodeAt(s))},r3=(n,r)=>{const i=new Float32Array(r);let s=0;const u=n.length;for(let c=0;c<u;c++){const h=n[c];i.set(h,s),s+=h.length}return i},a3=(n,r)=>{if(uu===r)return n;const i=r/uu,s=Math.round(n.length/i),u=new Float32Array(s);let c=0,h=0;for(;c<u.length;){const d=Math.round((c+1)*i);let m=0,g=0;for(let y=h;y<d&&y<n.length;y++)m+=n[y],g++;u[c]=m/g,c++,h=d}return u},i3=({disabled:n,textInput:r,commandsVisible:i,hasCommands:s,onTextInput:u,onTextInputSubmit:c,onAudioRecorded:h})=>{const d=tt(),m=H.useRef(null),{enableSpeechSupport:g}=Qt(M=>M.settings);H.useEffect(()=>{m.current?.focus()},[r]);const y=()=>{const M=m.current;M&&r.trim().length>=1&&c(r.trim())&&(M.value="",M.style.height="",M.focus())},T=M=>{M.preventDefault(),y()},O=M=>{const V=M.target.value;u(V),M.target.style.height="";const{scrollHeight:I}=M.target;M.target.style.height=`${I>150?150:I}px`},L=M=>{M.code==="Enter"&&!M.shiftKey?(M.repeat||y(),M.preventDefault()):i&&(M.code==="ArrowUp"||M.code==="ArrowDown")&&M.preventDefault()};return _.jsxs("form",{className:K(Ai.inputWrapper,i&&Ai.withOpenCommands,"chat__textInput"),onSubmit:T,children:[_.jsx("div",{className:Ai.messageInputWrapper,children:_.jsx("textarea",{id:"user_input",ref:m,className:Ai.messageInput,tabIndex:0,placeholder:d("message-input-placeholder"),value:r,onChange:O,onKeyDown:L,"aria-label":d("message-input-label"),"aria-controls":s?"command-list":void 0,"aria-haspopup":s?"listbox":void 0})}),_.jsx("div",{className:K(Ai.buttons,"chat__buttons"),children:r.length||!g||navigator.mediaDevices===void 0?_.jsx("button",{className:K(Ai.button,"chat__button"),type:"submit","aria-label":d("message-input.actions.submit.label"),"data-title":d("message-input.actions.submit.label"),tabIndex:0,disabled:n,children:_.jsx("svg",{viewBox:"64 64 896 896",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:_.jsx("path",{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"})})}):g&&navigator.mediaDevices!==void 0&&_.jsx(t3,{translate:d,onAudioRecorded:h})})]})},s3="_quickReplies_83npe_1",l3="_quickReply_83npe_9",nv={quickReplies:s3,quickReply:l3},o3=({quickReplies:n,onQuickReplyClick:r})=>n.length?_.jsx("div",{className:K(nv.quickReplies,"chat__quickReplies"),children:n.map(i=>_.jsx(Su,{tabIndex:0,className:K(nv.quickReply,"chat__button","chat__quickReply"),onClick:()=>r(i),children:i.label},i.label))}):null,rv=5e3,u3=1e3,c3=({isBotTyping:n,quickReplies:r,conversationRating:i,numberOfMessagesFromGuest:s,showRatingOverlay:u,commands:c,setShowRatingOverlay:h,onTextInput:d,onRate:m,onQuickReplyClick:g,onAudioRecorded:y})=>{const[T,O]=H.useState(""),[L,M]=H.useState(!1),[V,I]=H.useState(!1),S=H.useRef(0),x=H.useRef(0);H.useEffect(()=>{if(L&&!n){const E=S.current?Date.now()-S.current:0;E>rv?M(!1):setTimeout(()=>{M(!1)},rv-E)}},[L,n]),H.useEffect(()=>{L&&(S.current=Date.now())},[L]);const b=E=>{const k=Date.now()-x.current<u3;return V?!1:n||k?(M(!0),!1):(d(E),O(""),x.current=Date.now(),!0)},A=E=>{O(E+" ")};return _.jsxs("div",{className:K(f6.inputContainer),children:[_.jsx(o3,{quickReplies:r,onQuickReplyClick:g}),_.jsx(m6,{visible:L}),!L&&_.jsx(P6,{conversationRating:i,numberOfMessagesFromGuest:s,onRate:m,showRatingOverlay:u,setShowRatingOverlay:h}),!!c?.length&&_.jsx(E6,{text:T,commands:c,onSelectCommand:A,onVisibilityChange:I}),_.jsx(i3,{textInput:T,disabled:L,commandsVisible:V,hasCommands:!!c?.length,onTextInput:O,onTextInputSubmit:b,onAudioRecorded:y}),!!c?.length&&_.jsx(T6,{commands:c,onSelectCommand:O})]})},f3=({clientName:n,messages:r,quickReplies:i,isBotTyping:s,drawerContentUrl:u,conversationRating:c,onMessageFromUser:h,onRate:d,onQuickReplyClick:m,onButtonClick:g,onLinkClick:y,onAudioRecorded:T,onTranscriptExport:O,onTranscriptItemReaction:L})=>{const M=Ia(),V=Qt(Z=>Z.connection.connectionState),{enableTranscriptExportEmail:I,commands:S}=Qt(Z=>Z.settings),{showTranscriptMailOverlay:x}=Qt(Z=>Z.chat),[b,A]=H.useState(!1),E=r.filter(Z=>Z.sender.type===lu.GUEST).length;H.useEffect(()=>{if(V===ja.CONNECTED){const Z=du.parse(window.location.search);M(e1(n,Z))}},[n,V,M]);const k=()=>{M(Jb())};return _.jsxs("div",{className:ch.container,children:[_.jsxs("div",{className:K([ch.chatcontent,(x||b)&&ch.accessabilityHidden]),children:[_.jsx(FC,{messages:r,isBotTyping:s,commands:S,onButtonClick:g,onLinkClick:y,onTranscriptItemReaction:L}),_.jsx(c3,{isBotTyping:s,quickReplies:s?[]:i,numberOfMessagesFromGuest:E,conversationRating:c,showRatingOverlay:b,setShowRatingOverlay:A,commands:S,onRate:d,onQuickReplyClick:m,onTextInput:h,onAudioRecorded:T}),_.jsx(e6,{})]}),I&&_.jsx(u6,{visible:!!x,onEmailExport:O,onClose:k}),_.jsx(KC,{contentUrl:u})]})},h3=n=>{const{messages:r,quickReplies:i,isBotTyping:s,drawerContentUrl:u,conversationRating:c}=n.chat;return{messages:r,quickReplies:i,isBotTyping:s,drawerContentUrl:u,conversationRating:c}},d3=n=>({onRestartChat:(r,i)=>n(bu(r,i)),onMessageFromUser:r=>n(Nb(r)),onRate:(r,i)=>n(Yx(r,i)),onAudioRecorded:r=>n(Gx(r)),onActionFromUser:r=>n(r),onQuickReplyClick:r=>n(Cb(r)),onNluEvent:r=>n(Ub(r)),onButtonClick:r=>n(Xx(r)),onLinkClick:r=>n(jb(r)),onTranscriptExport:r=>n(Fx(r)),onTranscriptItemReaction:(r,i)=>n(we.Actions.transcriptItemGuestReaction(r,i||null))}),m3=oT(h3,d3)(f3),b1=()=>{const[n,r]=H.useState(!1);return H.useEffect(()=>{r((()=>{try{return window.self!==window.top}catch{return!0}})())},[]),n},p3=n=>r=>{const i=r.key;(i==="ArrowDown"||i==="ArrowRight"||i==="Enter"||i===" "||i==="Space")&&(r.stopPropagation(),n())},g3=({onClick:n})=>{const r=tt();return b1()?_.jsx("button",{className:"tooltip--bottom-left","aria-label":r("header.close-chat"),"data-title":r("header.close-chat"),tabIndex:0,onClick:n,onKeyDown:p3(n),children:_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"})})}):null},y3="_header_3gvbz_1",_3="_logoContainer_3gvbz_14",v3="_logo_3gvbz_14",b3="_actions_3gvbz_28",E3="_active_3gvbz_43",S3="_menuContainer_3gvbz_56",T3="_menu_3gvbz_56",A3="_divider_3gvbz_86",aa={header:y3,logoContainer:_3,logo:v3,actions:b3,active:E3,menuContainer:S3,menu:T3,divider:A3},x3=({icon:n})=>{switch(n){case"arrow-counter-clockwise":return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z"})});case"download":return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"})});case"expand":return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M214,48V96a6,6,0,0,1-12,0V62.48l-53.76,53.76a6,6,0,0,1-8.48-8.48L193.52,54H160a6,6,0,0,1,0-12h48A6,6,0,0,1,214,48ZM107.76,139.76,54,193.52V160a6,6,0,0,0-12,0v48a6,6,0,0,0,6,6H96a6,6,0,0,0,0-12H62.48l53.76-53.76a6,6,0,0,0-8.48-8.48Z"})});case"mail":return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"})});case"phone":return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M144.27,45.93a8,8,0,0,1,9.8-5.66,86.22,86.22,0,0,1,61.66,61.66,8,8,0,0,1-5.66,9.8A8.23,8.23,0,0,1,208,112a8,8,0,0,1-7.73-5.94,70.35,70.35,0,0,0-50.33-50.33A8,8,0,0,1,144.27,45.93Zm-2.33,41.8c13.79,3.68,22.65,12.54,26.33,26.33A8,8,0,0,0,176,120a8.23,8.23,0,0,0,2.07-.27,8,8,0,0,0,5.66-9.8c-5.12-19.16-18.5-32.54-37.66-37.66a8,8,0,1,0-4.13,15.46Zm81.94,95.35A56.26,56.26,0,0,1,168,232C88.6,232,24,167.4,24,88A56.26,56.26,0,0,1,72.92,32.12a16,16,0,0,1,16.62,9.52l21.12,47.15,0,.12A16,16,0,0,1,109.39,104c-.18.27-.37.52-.57.77L88,129.45c7.49,15.22,23.41,31,38.83,38.51l24.34-20.71a8.12,8.12,0,0,1,.75-.56,16,16,0,0,1,15.17-1.4l.13.06,47.11,21.11A16,16,0,0,1,223.88,183.08Zm-15.88-2s-.07,0-.11,0h0l-47-21.05-24.35,20.71a8.44,8.44,0,0,1-.74.56,16,16,0,0,1-15.75,1.14c-18.73-9.05-37.4-27.58-46.46-46.11a16,16,0,0,1,1-15.7,6.13,6.13,0,0,1,.57-.77L96,95.15l-21-47a.61.61,0,0,1,0-.12A40.2,40.2,0,0,0,40,88,128.14,128.14,0,0,0,168,216,40.21,40.21,0,0,0,208,181.07Z"})});case"scroll":return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"})});case"link":return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"})});default:return _.jsx("div",{})}},O3=H.forwardRef(({selected:n,item:r,onClick:i},s)=>{const u=tt(),c=h=>{h.preventDefault(),i()};return _.jsx("li",{"aria-selected":n,role:"option",className:r.withDivider?aa.divider:void 0,children:_.jsxs("a",{ref:s,type:"button",role:"button",tabIndex:-1,onClick:c,children:[_.jsx(x3,{icon:r.icon}),_.jsx("span",{children:u(`header.menu.${r.id}`)})]})})}),w3=n=>{const r=b1(),{menuItems:i,enableStandaloneView:s,enableTranscriptExportPdf:u,enableTranscriptExportEmail:c}=Qt(d=>d.settings);return H.useMemo(()=>{const d=[];if(n&&(d.push({id:"restart-chat",type:"restart-chat",icon:"arrow-counter-clockwise",visibility:"chat-only"}),r&&s&&d.push({id:"expand-chat-window",type:"expand-chat-window",icon:"expand",visibility:"always"}),u&&d.push({id:"download-transcript",type:"download-transcript",icon:"download",visibility:"chat-only"}),c&&d.push({id:"send-transcript",type:"send-transcript",icon:"mail",visibility:"chat-only"}),d.length>1)){const m=d.pop();m&&i.length&&d.push({...m,withDivider:!0})}return d.push(...i),d.filter(({visibility:m})=>n?m==="always"||m==="chat-only":m==="always"||m==="start-screen-only")},[n,u,c,s,r,i])},R3=({chatStarted:n})=>{const r=Ia(),i=nm(),s=tt(),[u,c]=H.useState(!1),[h,d]=H.useState(-1),m=H.useRef(null),g=H.useRef(null),y=H.useRef([]),T=w3(n);H.useEffect(()=>{y.current[h]?.focus()},[h]);const O=H.useCallback(()=>{const I=du.parse(window.location.search);r(bu(i,I)),c(!1),d(0)},[r,i]),L=H.useCallback(I=>{switch(I.type){case"restart-chat":O();break;case"expand-chat-window":window.open(window.location.href,"_blank");break;case"download-transcript":r(Px());break;case"send-transcript":r(Jb());break;case"link":r(jb(I.url));break;case"action":r(JSON.parse(JSON.stringify(I.action)));break}c(!1)},[r,O,c]);H.useEffect(()=>{const I=S=>{if(u)switch(S.key){case"Enter":S.preventDefault(),L(T[h]);break;case"ArrowUp":d(x=>x>0?x-1:T.length-1);break;case"ArrowDown":d(x=>x<T.length-1?x+1:0);break;case"Escape":c(!1);break;case"Tab":h>-1&&c(!1);break}};return document.addEventListener("keydown",I),()=>{document.removeEventListener("keydown",I)}},[u,h,T,d,c,L]),H.useEffect(()=>{u||d(-1)},[u,h]),_1(g,()=>c(!1));const M=()=>{c(I=>!I)},V=()=>{setTimeout(()=>{const I=document.activeElement;g.current&&!g.current.contains(I)&&c(!1)},0)};return T.length?_.jsxs("div",{className:K(aa.menuContainer),ref:g,children:[_.jsx("button",{ref:m,className:K(u&&aa.active,u?"tooltip-hidden":"tooltip--bottom-left"),"aria-label":s("header.menu.title"),"data-title":s("header.menu.title"),onClick:M,onBlur:V,children:_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"})})}),u&&_.jsx("nav",{className:aa.menu,"aria-label":s("header.menu.title"),children:_.jsx("ul",{tabIndex:0,children:T.map((I,S)=>_.jsx(O3,{ref:x=>{y.current[S]=x},selected:h===S,item:I,onClick:()=>L(I)},I.id))})})]}):null},av=({className:n,chatStarted:r,...i})=>{const s=Ia(),u=()=>{s(kO())};return _.jsxs("div",{className:K([aa.header,n]),...i,children:[_.jsx("div",{className:aa.logoContainer,children:_.jsx("div",{className:aa.logo})}),_.jsxs("div",{className:aa.actions,children:[_.jsx(R3,{chatStarted:r}),_.jsx(g3,{onClick:u})]})]})},C3="_chatwindow_rkbir_1",N3="_chatwindowWithAside_rkbir_21",iv={chatwindow:C3,chatwindowWithAside:N3},E1=()=>{const[n,r]=H.useState(!1);return H.useEffect(()=>{const i=window.matchMedia("(max-width: 1023px)"),s=()=>r(i.matches);return s(),i.addEventListener("change",s),()=>i.removeEventListener("change",s)},[]),n},M3="_sourceInfos_vei0l_1",D3="_waitForLoading_vei0l_24",B3="_loadingContent_vei0l_28",L3="_sourceHeader_vei0l_37",U3="_sourceHeaderIcon_vei0l_57",j3="_sourceContent_vei0l_61",H3="_openSourceButton_vei0l_69",z3="_sourceButtonLabel_vei0l_79",k3="_closeSourceInfosButton_vei0l_101",I3="_loadingSourceInfos_vei0l_125",G3="_loading_vei0l_28",q3="_loadingError_vei0l_139",F3="_highlightLoadingInfo_vei0l_155",P3="_highlightLoadingInfoInnerContainer_vei0l_169",V3="_highlightLoadingInfoContent_vei0l_178",Y3="_highlightLoadingInfoCloseIcon_vei0l_198",Z3="_highlightLoader_vei0l_203",X3="_highlightLoaderLoading_vei0l_210",_t={sourceInfos:M3,waitForLoading:D3,loadingContent:B3,sourceHeader:L3,sourceHeaderIcon:U3,sourceContent:j3,openSourceButton:H3,sourceButtonLabel:z3,closeSourceInfosButton:k3,loadingSourceInfos:I3,loading:G3,loadingError:q3,highlightLoadingInfo:F3,highlightLoadingInfoInnerContainer:P3,highlightLoadingInfoContent:V3,highlightLoadingInfoCloseIcon:Y3,highlightLoader:Z3,highlightLoaderLoading:X3},Q3=({onClick:n})=>{const r=tt();return _.jsx("button",{className:K(_t.closeSourceInfosButton,"tooltip--bottom-left"),"aria-label":r("source-infos.close"),"data-title":r("source-infos.close"),tabIndex:0,onClick:n,children:_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"})})})},K3=H.forwardRef(({sourceInfos:n,onClose:r,...i},s)=>_.jsxs("div",{className:_t.sourceHeader,...i,ref:s,children:[_.jsx("div",{children:n?_.jsx("p",{id:"source-info-title",children:n.title}):_.jsx("p",{children:" "})}),_.jsx(Q3,{onClick:r})]})),$3=({loading:n})=>_.jsx("div",{className:_t.highlightLoader,children:n&&_.jsx("div",{className:_t.highlightLoaderLoading})});/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:S1,setPrototypeOf:sv,isFrozen:W3,getPrototypeOf:J3,getOwnPropertyDescriptor:eN}=Object;let{freeze:zt,seal:Sn,create:T1}=Object,{apply:yd,construct:_d}=typeof Reflect<"u"&&Reflect;zt||(zt=function(r){return r});Sn||(Sn=function(r){return r});yd||(yd=function(r,i,s){return r.apply(i,s)});_d||(_d=function(r,i){return new r(...i)});const Po=kt(Array.prototype.forEach),tN=kt(Array.prototype.lastIndexOf),lv=kt(Array.prototype.pop),Gs=kt(Array.prototype.push),nN=kt(Array.prototype.splice),Ko=kt(String.prototype.toLowerCase),xh=kt(String.prototype.toString),ov=kt(String.prototype.match),qs=kt(String.prototype.replace),rN=kt(String.prototype.indexOf),aN=kt(String.prototype.trim),jn=kt(Object.prototype.hasOwnProperty),Ut=kt(RegExp.prototype.test),Fs=iN(TypeError);function kt(n){return function(r){r instanceof RegExp&&(r.lastIndex=0);for(var i=arguments.length,s=new Array(i>1?i-1:0),u=1;u<i;u++)s[u-1]=arguments[u];return yd(n,r,s)}}function iN(n){return function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return _d(n,i)}}function Oe(n,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ko;sv&&sv(n,null);let s=r.length;for(;s--;){let u=r[s];if(typeof u=="string"){const c=i(u);c!==u&&(W3(r)||(r[s]=c),u=c)}n[u]=!0}return n}function sN(n){for(let r=0;r<n.length;r++)jn(n,r)||(n[r]=null);return n}function Er(n){const r=T1(null);for(const[i,s]of S1(n))jn(n,i)&&(Array.isArray(s)?r[i]=sN(s):s&&typeof s=="object"&&s.constructor===Object?r[i]=Er(s):r[i]=s);return r}function Ps(n,r){for(;n!==null;){const s=eN(n,r);if(s){if(s.get)return kt(s.get);if(typeof s.value=="function")return kt(s.value)}n=J3(n)}function i(){return null}return i}const uv=zt(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Oh=zt(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),wh=zt(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),lN=zt(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Rh=zt(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),oN=zt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),cv=zt(["#text"]),fv=zt(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ch=zt(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),hv=zt(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Vo=zt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),uN=Sn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),cN=Sn(/<%[\w\W]*|[\w\W]*%>/gm),fN=Sn(/\$\{[\w\W]*/gm),hN=Sn(/^data-[\-\w.\u00B7-\uFFFF]+$/),dN=Sn(/^aria-[\-\w]+$/),A1=Sn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mN=Sn(/^(?:\w+script|data):/i),pN=Sn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),x1=Sn(/^html$/i),gN=Sn(/^[a-z][.\w]*(-[.\w]+)+$/i);var dv=Object.freeze({__proto__:null,ARIA_ATTR:dN,ATTR_WHITESPACE:pN,CUSTOM_ELEMENT:gN,DATA_ATTR:hN,DOCTYPE_NAME:x1,ERB_EXPR:cN,IS_ALLOWED_URI:A1,IS_SCRIPT_OR_DATA:mN,MUSTACHE_EXPR:uN,TMPLIT_EXPR:fN});const Vs={element:1,text:3,progressingInstruction:7,comment:8,document:9},yN=function(){return typeof window>"u"?null:window},_N=function(r,i){if(typeof r!="object"||typeof r.createPolicy!="function")return null;let s=null;const u="data-tt-policy-suffix";i&&i.hasAttribute(u)&&(s=i.getAttribute(u));const c="dompurify"+(s?"#"+s:"");try{return r.createPolicy(c,{createHTML(h){return h},createScriptURL(h){return h}})}catch{return console.warn("TrustedTypes policy "+c+" could not be created."),null}},mv=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function O1(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yN();const r=ue=>O1(ue);if(r.version="3.2.6",r.removed=[],!n||!n.document||n.document.nodeType!==Vs.document||!n.Element)return r.isSupported=!1,r;let{document:i}=n;const s=i,u=s.currentScript,{DocumentFragment:c,HTMLTemplateElement:h,Node:d,Element:m,NodeFilter:g,NamedNodeMap:y=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:T,DOMParser:O,trustedTypes:L}=n,M=m.prototype,V=Ps(M,"cloneNode"),I=Ps(M,"remove"),S=Ps(M,"nextSibling"),x=Ps(M,"childNodes"),b=Ps(M,"parentNode");if(typeof h=="function"){const ue=i.createElement("template");ue.content&&ue.content.ownerDocument&&(i=ue.content.ownerDocument)}let A,E="";const{implementation:k,createNodeIterator:Z,createDocumentFragment:ee,getElementsByTagName:de}=i,{importNode:ie}=s;let J=mv();r.isSupported=typeof S1=="function"&&typeof b=="function"&&k&&k.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:oe,ERB_EXPR:fe,TMPLIT_EXPR:Ve,DATA_ATTR:be,ARIA_ATTR:G,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:ne,CUSTOM_ELEMENT:Te}=dv;let{IS_ALLOWED_URI:R}=dv,q=null;const W=Oe({},[...uv,...Oh,...wh,...Rh,...cv]);let X=null;const re=Oe({},[...fv,...Ch,...hv,...Vo]);let se=Object.seal(T1(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),he=null,$e=null,Ue=!0,vt=!0,kn=!1,Rr=!0,Xe=!1,It=!0,xn=!1,Mi=!1,Di=!1,bt=!1,Ga=!1,la=!1,Bi=!0,oa=!1;const xu="user-content-";let qa=!0,ua=!1,Cr={},fn=null;const Rt=Oe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let On=null;const Ct=Oe({},["audio","video","img","source","image","track"]);let Li=null;const al=Oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Fa="http://www.w3.org/1998/Math/MathML",er="http://www.w3.org/2000/svg",Gt="http://www.w3.org/1999/xhtml";let qt=Gt,Nr=!1,tr=null;const Ou=Oe({},[Fa,er,Gt],xh);let ca=Oe({},["mi","mo","mn","ms","mtext"]),fa=Oe({},["annotation-xml"]);const Ui=Oe({},["title","style","font","a","script"]);let wn=null;const wu=["application/xhtml+xml","text/html"],il="text/html";let nt=null,In=null;const ji=i.createElement("form"),Hi=function(N){return N instanceof RegExp||N instanceof Function},zi=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(In&&In===N)){if((!N||typeof N!="object")&&(N={}),N=Er(N),wn=wu.indexOf(N.PARSER_MEDIA_TYPE)===-1?il:N.PARSER_MEDIA_TYPE,nt=wn==="application/xhtml+xml"?xh:Ko,q=jn(N,"ALLOWED_TAGS")?Oe({},N.ALLOWED_TAGS,nt):W,X=jn(N,"ALLOWED_ATTR")?Oe({},N.ALLOWED_ATTR,nt):re,tr=jn(N,"ALLOWED_NAMESPACES")?Oe({},N.ALLOWED_NAMESPACES,xh):Ou,Li=jn(N,"ADD_URI_SAFE_ATTR")?Oe(Er(al),N.ADD_URI_SAFE_ATTR,nt):al,On=jn(N,"ADD_DATA_URI_TAGS")?Oe(Er(Ct),N.ADD_DATA_URI_TAGS,nt):Ct,fn=jn(N,"FORBID_CONTENTS")?Oe({},N.FORBID_CONTENTS,nt):Rt,he=jn(N,"FORBID_TAGS")?Oe({},N.FORBID_TAGS,nt):Er({}),$e=jn(N,"FORBID_ATTR")?Oe({},N.FORBID_ATTR,nt):Er({}),Cr=jn(N,"USE_PROFILES")?N.USE_PROFILES:!1,Ue=N.ALLOW_ARIA_ATTR!==!1,vt=N.ALLOW_DATA_ATTR!==!1,kn=N.ALLOW_UNKNOWN_PROTOCOLS||!1,Rr=N.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Xe=N.SAFE_FOR_TEMPLATES||!1,It=N.SAFE_FOR_XML!==!1,xn=N.WHOLE_DOCUMENT||!1,bt=N.RETURN_DOM||!1,Ga=N.RETURN_DOM_FRAGMENT||!1,la=N.RETURN_TRUSTED_TYPE||!1,Di=N.FORCE_BODY||!1,Bi=N.SANITIZE_DOM!==!1,oa=N.SANITIZE_NAMED_PROPS||!1,qa=N.KEEP_CONTENT!==!1,ua=N.IN_PLACE||!1,R=N.ALLOWED_URI_REGEXP||A1,qt=N.NAMESPACE||Gt,ca=N.MATHML_TEXT_INTEGRATION_POINTS||ca,fa=N.HTML_INTEGRATION_POINTS||fa,se=N.CUSTOM_ELEMENT_HANDLING||{},N.CUSTOM_ELEMENT_HANDLING&&Hi(N.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(se.tagNameCheck=N.CUSTOM_ELEMENT_HANDLING.tagNameCheck),N.CUSTOM_ELEMENT_HANDLING&&Hi(N.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(se.attributeNameCheck=N.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),N.CUSTOM_ELEMENT_HANDLING&&typeof N.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(se.allowCustomizedBuiltInElements=N.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Xe&&(vt=!1),Ga&&(bt=!0),Cr&&(q=Oe({},cv),X=[],Cr.html===!0&&(Oe(q,uv),Oe(X,fv)),Cr.svg===!0&&(Oe(q,Oh),Oe(X,Ch),Oe(X,Vo)),Cr.svgFilters===!0&&(Oe(q,wh),Oe(X,Ch),Oe(X,Vo)),Cr.mathMl===!0&&(Oe(q,Rh),Oe(X,hv),Oe(X,Vo))),N.ADD_TAGS&&(q===W&&(q=Er(q)),Oe(q,N.ADD_TAGS,nt)),N.ADD_ATTR&&(X===re&&(X=Er(X)),Oe(X,N.ADD_ATTR,nt)),N.ADD_URI_SAFE_ATTR&&Oe(Li,N.ADD_URI_SAFE_ATTR,nt),N.FORBID_CONTENTS&&(fn===Rt&&(fn=Er(fn)),Oe(fn,N.FORBID_CONTENTS,nt)),qa&&(q["#text"]=!0),xn&&Oe(q,["html","head","body"]),q.table&&(Oe(q,["tbody"]),delete he.tbody),N.TRUSTED_TYPES_POLICY){if(typeof N.TRUSTED_TYPES_POLICY.createHTML!="function")throw Fs('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof N.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Fs('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');A=N.TRUSTED_TYPES_POLICY,E=A.createHTML("")}else A===void 0&&(A=_N(L,u)),A!==null&&typeof E=="string"&&(E=A.createHTML(""));zt&&zt(N),In=N}},Rn=Oe({},[...Oh,...wh,...lN]),ft=Oe({},[...Rh,...oN]),Nt=function(N){let Q=b(N);(!Q||!Q.tagName)&&(Q={namespaceURI:qt,tagName:"template"});const te=Ko(N.tagName),Fe=Ko(Q.tagName);return tr[N.namespaceURI]?N.namespaceURI===er?Q.namespaceURI===Gt?te==="svg":Q.namespaceURI===Fa?te==="svg"&&(Fe==="annotation-xml"||ca[Fe]):!!Rn[te]:N.namespaceURI===Fa?Q.namespaceURI===Gt?te==="math":Q.namespaceURI===er?te==="math"&&fa[Fe]:!!ft[te]:N.namespaceURI===Gt?Q.namespaceURI===er&&!fa[Fe]||Q.namespaceURI===Fa&&!ca[Fe]?!1:!ft[te]&&(Ui[te]||!Rn[te]):!!(wn==="application/xhtml+xml"&&tr[N.namespaceURI]):!1},Et=function(N){Gs(r.removed,{element:N});try{b(N).removeChild(N)}catch{I(N)}},Gn=function(N,Q){try{Gs(r.removed,{attribute:Q.getAttributeNode(N),from:Q})}catch{Gs(r.removed,{attribute:null,from:Q})}if(Q.removeAttribute(N),N==="is")if(bt||Ga)try{Et(Q)}catch{}else try{Q.setAttribute(N,"")}catch{}},sl=function(N){let Q=null,te=null;if(Di)N="<remove></remove>"+N;else{const We=ov(N,/^[\r\n\t ]+/);te=We&&We[0]}wn==="application/xhtml+xml"&&qt===Gt&&(N='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+N+"</body></html>");const Fe=A?A.createHTML(N):N;if(qt===Gt)try{Q=new O().parseFromString(Fe,wn)}catch{}if(!Q||!Q.documentElement){Q=k.createDocument(qt,"template",null);try{Q.documentElement.innerHTML=Nr?E:Fe}catch{}}const ht=Q.body||Q.documentElement;return N&&te&&ht.insertBefore(i.createTextNode(te),ht.childNodes[0]||null),qt===Gt?de.call(Q,xn?"html":"body")[0]:xn?Q.documentElement:ht},ll=function(N){return Z.call(N.ownerDocument||N,N,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT|g.SHOW_PROCESSING_INSTRUCTION|g.SHOW_CDATA_SECTION,null)},Pa=function(N){return N instanceof T&&(typeof N.nodeName!="string"||typeof N.textContent!="string"||typeof N.removeChild!="function"||!(N.attributes instanceof y)||typeof N.removeAttribute!="function"||typeof N.setAttribute!="function"||typeof N.namespaceURI!="string"||typeof N.insertBefore!="function"||typeof N.hasChildNodes!="function")},Mr=function(N){return typeof d=="function"&&N instanceof d};function Kt(ue,N,Q){Po(ue,te=>{te.call(r,N,Q,In)})}const nr=function(N){let Q=null;if(Kt(J.beforeSanitizeElements,N,null),Pa(N))return Et(N),!0;const te=nt(N.nodeName);if(Kt(J.uponSanitizeElement,N,{tagName:te,allowedTags:q}),It&&N.hasChildNodes()&&!Mr(N.firstElementChild)&&Ut(/<[/\w!]/g,N.innerHTML)&&Ut(/<[/\w!]/g,N.textContent)||N.nodeType===Vs.progressingInstruction||It&&N.nodeType===Vs.comment&&Ut(/<[/\w]/g,N.data))return Et(N),!0;if(!q[te]||he[te]){if(!he[te]&&Dr(te)&&(se.tagNameCheck instanceof RegExp&&Ut(se.tagNameCheck,te)||se.tagNameCheck instanceof Function&&se.tagNameCheck(te)))return!1;if(qa&&!fn[te]){const Fe=b(N)||N.parentNode,ht=x(N)||N.childNodes;if(ht&&Fe){const We=ht.length;for(let Mt=We-1;Mt>=0;--Mt){const Ft=V(ht[Mt],!0);Ft.__removalCount=(N.__removalCount||0)+1,Fe.insertBefore(Ft,S(N))}}}return Et(N),!0}return N instanceof m&&!Nt(N)||(te==="noscript"||te==="noembed"||te==="noframes")&&Ut(/<\/no(script|embed|frames)/i,N.innerHTML)?(Et(N),!0):(Xe&&N.nodeType===Vs.text&&(Q=N.textContent,Po([oe,fe,Ve],Fe=>{Q=qs(Q,Fe," ")}),N.textContent!==Q&&(Gs(r.removed,{element:N.cloneNode()}),N.textContent=Q)),Kt(J.afterSanitizeElements,N,null),!1)},rr=function(N,Q,te){if(Bi&&(Q==="id"||Q==="name")&&(te in i||te in ji))return!1;if(!(vt&&!$e[Q]&&Ut(be,Q))){if(!(Ue&&Ut(G,Q))){if(!X[Q]||$e[Q]){if(!(Dr(N)&&(se.tagNameCheck instanceof RegExp&&Ut(se.tagNameCheck,N)||se.tagNameCheck instanceof Function&&se.tagNameCheck(N))&&(se.attributeNameCheck instanceof RegExp&&Ut(se.attributeNameCheck,Q)||se.attributeNameCheck instanceof Function&&se.attributeNameCheck(Q))||Q==="is"&&se.allowCustomizedBuiltInElements&&(se.tagNameCheck instanceof RegExp&&Ut(se.tagNameCheck,te)||se.tagNameCheck instanceof Function&&se.tagNameCheck(te))))return!1}else if(!Li[Q]){if(!Ut(R,qs(te,ne,""))){if(!((Q==="src"||Q==="xlink:href"||Q==="href")&&N!=="script"&&rN(te,"data:")===0&&On[N])){if(!(kn&&!Ut($,qs(te,ne,"")))){if(te)return!1}}}}}}return!0},Dr=function(N){return N!=="annotation-xml"&&ov(N,Te)},ar=function(N){Kt(J.beforeSanitizeAttributes,N,null);const{attributes:Q}=N;if(!Q||Pa(N))return;const te={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:X,forceKeepAttr:void 0};let Fe=Q.length;for(;Fe--;){const ht=Q[Fe],{name:We,namespaceURI:Mt,value:Ft}=ht,qn=nt(We),$t=Ft;let st=We==="value"?$t:aN($t);if(te.attrName=qn,te.attrValue=st,te.keepAttr=!0,te.forceKeepAttr=void 0,Kt(J.uponSanitizeAttribute,N,te),st=te.attrValue,oa&&(qn==="id"||qn==="name")&&(Gn(We,N),st=xu+st),It&&Ut(/((--!?|])>)|<\/(style|title)/i,st)){Gn(We,N);continue}if(te.forceKeepAttr)continue;if(!te.keepAttr){Gn(We,N);continue}if(!Rr&&Ut(/\/>/i,st)){Gn(We,N);continue}Xe&&Po([oe,fe,Ve],ir=>{st=qs(st,ir," ")});const ki=nt(N.nodeName);if(!rr(ki,qn,st)){Gn(We,N);continue}if(A&&typeof L=="object"&&typeof L.getAttributeType=="function"&&!Mt)switch(L.getAttributeType(ki,qn)){case"TrustedHTML":{st=A.createHTML(st);break}case"TrustedScriptURL":{st=A.createScriptURL(st);break}}if(st!==$t)try{Mt?N.setAttributeNS(Mt,We,st):N.setAttribute(We,st),Pa(N)?Et(N):lv(r.removed)}catch{Gn(We,N)}}Kt(J.afterSanitizeAttributes,N,null)},it=function ue(N){let Q=null;const te=ll(N);for(Kt(J.beforeSanitizeShadowDOM,N,null);Q=te.nextNode();)Kt(J.uponSanitizeShadowNode,Q,null),nr(Q),ar(Q),Q.content instanceof c&&ue(Q.content);Kt(J.afterSanitizeShadowDOM,N,null)};return r.sanitize=function(ue){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Q=null,te=null,Fe=null,ht=null;if(Nr=!ue,Nr&&(ue="<!-->"),typeof ue!="string"&&!Mr(ue))if(typeof ue.toString=="function"){if(ue=ue.toString(),typeof ue!="string")throw Fs("dirty is not a string, aborting")}else throw Fs("toString is not a function");if(!r.isSupported)return ue;if(Mi||zi(N),r.removed=[],typeof ue=="string"&&(ua=!1),ua){if(ue.nodeName){const Ft=nt(ue.nodeName);if(!q[Ft]||he[Ft])throw Fs("root node is forbidden and cannot be sanitized in-place")}}else if(ue instanceof d)Q=sl("<!---->"),te=Q.ownerDocument.importNode(ue,!0),te.nodeType===Vs.element&&te.nodeName==="BODY"||te.nodeName==="HTML"?Q=te:Q.appendChild(te);else{if(!bt&&!Xe&&!xn&&ue.indexOf("<")===-1)return A&&la?A.createHTML(ue):ue;if(Q=sl(ue),!Q)return bt?null:la?E:""}Q&&Di&&Et(Q.firstChild);const We=ll(ua?ue:Q);for(;Fe=We.nextNode();)nr(Fe),ar(Fe),Fe.content instanceof c&&it(Fe.content);if(ua)return ue;if(bt){if(Ga)for(ht=ee.call(Q.ownerDocument);Q.firstChild;)ht.appendChild(Q.firstChild);else ht=Q;return(X.shadowroot||X.shadowrootmode)&&(ht=ie.call(s,ht,!0)),ht}let Mt=xn?Q.outerHTML:Q.innerHTML;return xn&&q["!doctype"]&&Q.ownerDocument&&Q.ownerDocument.doctype&&Q.ownerDocument.doctype.name&&Ut(x1,Q.ownerDocument.doctype.name)&&(Mt="<!DOCTYPE "+Q.ownerDocument.doctype.name+`>
|
|
107
|
+
`+Mt),Xe&&Po([oe,fe,Ve],Ft=>{Mt=qs(Mt,Ft," ")}),A&&la?A.createHTML(Mt):Mt},r.setConfig=function(){let ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};zi(ue),Mi=!0},r.clearConfig=function(){In=null,Mi=!1},r.isValidAttribute=function(ue,N,Q){In||zi({});const te=nt(ue),Fe=nt(N);return rr(te,Fe,Q)},r.addHook=function(ue,N){typeof N=="function"&&Gs(J[ue],N)},r.removeHook=function(ue,N){if(N!==void 0){const Q=tN(J[ue],N);return Q===-1?void 0:nN(J[ue],Q,1)[0]}return lv(J[ue])},r.removeHooks=function(ue){J[ue]=[]},r.removeAllHooks=function(){J=mv()},r}var vN=O1();const bN=({onClose:n})=>{const r=tt();return _.jsxs("div",{className:_t.highlightLoadingInfo,onClick:n,children:[_.jsx("div",{className:_t.highlightLoadingInfoCloseIcon,children:_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"})})}),_.jsxs("div",{className:_t.highlightLoadingInfoInnerContainer,children:[_.jsxs("div",{className:_t.highlightLoadingInfoContent,children:[_.jsx("h3",{children:r("source-infos.highlight-loading.title")}),_.jsx("p",{children:r("source-infos.highlight-loading.description")})]}),_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#000000",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M253.66,106.34a8,8,0,0,0-11.32,0L192,156.69,107.31,72l50.35-50.34a8,8,0,1,0-11.32-11.32L96,60.69A16,16,0,0,0,93.18,79.5L72,100.69a16,16,0,0,0,0,22.62L76.69,128,18.34,186.34a8,8,0,0,0,3.13,13.25l72,24A7.88,7.88,0,0,0,96,224a8,8,0,0,0,5.66-2.34L136,187.31l4.69,4.69a16,16,0,0,0,22.62,0l21.19-21.18A16,16,0,0,0,203.31,168l50.35-50.34A8,8,0,0,0,253.66,106.34ZM93.84,206.85l-55-18.35L88,139.31,124.69,176ZM152,180.69,83.31,112,104,91.31,172.69,160Z"})})]})]})},EN=({title:n,href:r,children:i})=>_.jsx("a",{href:r,title:n,target:"_blank",rel:"noopener noreferrer",children:i}),SN=({className:n,children:r,...i})=>_.jsx("a",{className:K(Js.button,Js.buttonDefault,n),type:"button",role:"button",...i,children:r}),TN=n=>_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",...n,children:_.jsx("path",{d:"M52,146H36a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6H52a34,34,0,0,0,0-68Zm0,56H42V158H52a22,22,0,0,1,0,44Zm168.15-5.46a6,6,0,0,1,.18,8.48A28.06,28.06,0,0,1,200,214c-16.54,0-30-15.25-30-34s13.46-34,30-34a28.06,28.06,0,0,1,20.33,9,6,6,0,0,1-8.66,8.3A16.23,16.23,0,0,0,200,158c-9.93,0-18,9.87-18,22s8.07,22,18,22a16.23,16.23,0,0,0,11.67-5.28A6,6,0,0,1,220.15,196.54ZM128,146c-16.54,0-30,15.25-30,34s13.46,34,30,34,30-15.25,30-34S144.54,146,128,146Zm0,56c-9.93,0-18-9.87-18-22s8.07-22,18-22,18,9.87,18,22S137.93,202,128,202ZM48,118a6,6,0,0,0,6-6V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50v18a6,6,0,0,0,12,0V88a6,6,0,0,0-1.76-4.24l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72A6,6,0,0,0,48,118ZM158,46.48,193.52,82H158Z"})}),AN=({type:n,...r})=>{switch(n){case"WEBSITE":return _.jsx(d1,{...r});case"PDF":return _.jsx(h1,{...r});case"DOCX":return _.jsx(c1,{...r});case"TEXT":return _.jsx(TN,{...r});default:return _.jsx(f1,{...r})}},xN=({url:n,knowledgeBaseType:r})=>{const i=tt();return _.jsx(SN,{className:_t.openSourceButton,href:n,target:"_blank",children:_.jsxs("div",{className:_t.sourceButtonLabel,children:[_.jsx("div",{className:_t.sourceHeaderIcon,children:_.jsx(AN,{type:r})}),_.jsx("p",{children:i("source-infos.open-source")})]})})},ON=({sourceInfos:{content:n,url:r,knowledgeBaseType:i,highlighted:s}})=>{const[u,c]=H.useState(!s);H.useEffect(()=>{s&&c(!1)},[s]);const h=vN.sanitize(n,{USE_PROFILES:{html:!0}});return _.jsxs(_.Fragment,{children:[_.jsxs("div",{className:K(_t.sourceContent,g1.markdown),children:[_.jsx(Ar,{options:{overrides:{a:EN}},children:h}),u&&_.jsx(bN,{onClose:()=>c(!1)})]}),_.jsx(xN,{url:r,knowledgeBaseType:i})]})},wN=""+new URL("undraw_fixing-bugs-D_eYxJc6.svg",import.meta.url).href,RN=()=>{const n=tt();return _.jsxs("div",{className:_t.loadingError,children:[_.jsx("h1",{children:n("source-infos.error.title")}),_.jsx("img",{src:wN,title:n("source-infos.error.title")}),_.jsx("p",{children:n("source-infos.error.info")})]})},CN=()=>_.jsx("div",{className:_t.loadingSourceInfos,children:_.jsx("svg",{className:_t.loading,xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:_.jsx("path",{d:"M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z"})})});function NN({sourceInfos:n,onClose:r,threshold:i=100}){const s=H.useRef(null),[u,c]=H.useState(0),[h,d]=H.useState(!1),m=H.useRef(null),g=H.useRef(null),y=H.useCallback(M=>{m.current=M,d(!0)},[]),T=H.useCallback(M=>{if(m.current!==null&&h){const V=M-m.current;V>0&&c(V)}},[h]),O=H.useCallback(()=>{d(!1),u>i&&r(),c(0),m.current=null},[u,i,r]),L=H.useCallback(M=>{const V=E=>y(E.touches[0].clientY),I=E=>T(E.touches[0].clientY),S=()=>O(),x=E=>{E.preventDefault(),y(E.clientY),window.addEventListener("mousemove",b),window.addEventListener("mouseup",A)},b=E=>T(E.clientY),A=()=>{O(),window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",A)};M.addEventListener("touchstart",V),M.addEventListener("touchmove",I),M.addEventListener("touchend",S),M.addEventListener("mousedown",x),g.current=()=>{M.removeEventListener("touchstart",V),M.removeEventListener("touchmove",I),M.removeEventListener("touchend",S),M.removeEventListener("mousedown",x),window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",A)}},[y,T,O]);return H.useEffect(()=>{let M;return(()=>{s.current?(g.current?.(),L(s.current)):(M=new MutationObserver(()=>{s.current&&(g.current?.(),L(s.current),M?.disconnect())}),M.observe(document.body,{childList:!0,subtree:!0}))})(),()=>{M?.disconnect(),g.current?.()}},[L,n]),{ref:s,dragOffsetY:u,isDragging:h}}const MN=n=>{const[r,i]=H.useState(!0);return H.useEffect(()=>{let s=null;return n?.type==="loading"?(i(!0),s=setTimeout(()=>{i(!1)},300)):i(!n),()=>{s&&clearTimeout(s)}},[n]),r},DN=()=>{const n=Ia(),r=Qt(m=>m.chat.sourceInfos),i=E1(),s=H.useRef(null),u=MN(r);H.useEffect(()=>{s.current&&r?.type==="loading"&&(i?s.current.showModal():(s.current.setAttribute("open","true"),s.current?.focus()))},[r,i]);const c=H.useCallback(()=>{s.current&&(i?s.current.close():s.current.removeAttribute("open"),n(GO()))},[n,i]),{ref:h,dragOffsetY:d}=NN({onClose:c,sourceInfos:r});return r?_.jsx("dialog",{ref:s,className:K(_t.sourceInfos,u?_t.waitForLoading:r.type==="loading"?_t.loadingContent:""),style:i&&d?{transform:`translateY(${d}px)`}:{},onClose:c,autoFocus:!0,role:"dialog","aria-labelledby":"source-info-title",children:u?null:_.jsxs(_.Fragment,{children:[_.jsx(K3,{ref:h,tabIndex:-1,sourceInfos:r.type==="loaded"?r:void 0,onClose:c}),r.type==="loading"?_.jsx(CN,{}):r.type==="loading-error"?_.jsx(RN,{}):_.jsxs(_.Fragment,{children:[_.jsx($3,{loading:!r.highlighted}),_.jsx(ON,{sourceInfos:r})]})]})}):null},BN="_container_114wy_1",LN="_body_114wy_7",UN="_intro_114wy_14",jN="_footer_114wy_39",HN="_footnote_114wy_43",zN="_containerWithFootnote_114wy_58",kN="_startChatButton_114wy_73",IN="_formFields_114wy_77",GN="_formField_114wy_77",qN="_radio_114wy_89",FN="_checkbox_114wy_96",PN="_input_114wy_104",VN="_inputLabel_114wy_138",YN="_selectWrapper_114wy_142",ZN="_select_114wy_142",XN="_selectLabel_114wy_188",wt={container:BN,body:LN,intro:UN,footer:jN,footnote:HN,containerWithFootnote:zN,startChatButton:kN,formFields:IN,formField:GN,radio:qN,checkbox:FN,input:PN,inputLabel:VN,selectWrapper:YN,select:ZN,selectLabel:XN},QN=({name:n,label:r,defaultValue:i,required:s,onChange:u})=>{const c=h=>{u(h.currentTarget.checked?"true":"false")};return _.jsxs("label",{className:K(wt.checkbox,"chat__startScreen__checkbox"),htmlFor:n,children:[_.jsx("input",{type:"checkbox",id:n,name:n,defaultChecked:i==="true",required:s,onChange:c}),_.jsx("div",{children:r})]})},KN=({type:n,name:r,label:i,defaultValue:s,placeholder:u,required:c,multiple:h,min:d,max:m,pattern:g,onChange:y})=>{const T=O=>{y(O.target.value)};return _.jsxs("label",{className:K(wt.input,"chat__startScreen__input"),htmlFor:r,children:[_.jsx("div",{className:K(wt.inputLabel),children:i}),_.jsx("input",{type:n,id:r,name:r,defaultValue:s,placeholder:u,required:c,multiple:h,min:d,max:m,pattern:g,onChange:T})]})},$N=({name:n,value:r,label:i,defaultChecked:s,required:u,onChange:c})=>{const h=`${n}-${r}`,d=m=>{c(m.target.value)};return _.jsxs("label",{className:K(wt.radio,"chat__startScreen__radio"),htmlFor:h,children:[_.jsx("input",{id:h,type:"radio",name:n,value:r,defaultChecked:s,required:u,onChange:d}),_.jsx("span",{className:K(wt.label),children:i})]})},WN=({name:n,label:r,defaultValue:i,required:s,multiple:u,options:c,onChange:h})=>{const d=m=>{h(m.target.value)};return _.jsxs("label",{className:K(wt.select,"chat__startScreen__select"),htmlFor:n,children:[_.jsx("div",{className:K(wt.selectLabel),children:r}),_.jsx("div",{className:K(wt.selectWrapper),children:_.jsx("select",{id:n,name:n,defaultValue:i,required:s,multiple:u,onChange:d,children:Object.entries(c||{}).map(([m,g])=>_.jsx("option",{value:m,selected:g===i,children:g}))})})]})},JN="start-screen.intro",eM="start-screen.start-chat",tM="start-screen.footnote",Un="start-screen.form",pv=`${Un}.fields`,nM=()=>{const n=tt(),r=Ia(),[i,s]=H.useState({}),u=()=>{const T=Object.entries(i).reduce((O,[L,M])=>({...O,[L]:M.value}),{});r(jO(T))},c=n(JN),h=n(eM),d=n(tM),m=H.useMemo(()=>n(pv)?.split(";").map(T=>T.trim())??[],[n(pv)]);H.useEffect(()=>{m.length&&Object.keys(i).length===0&&s(m.reduce((T,O)=>({...T,[O]:rM(O,n)}),{}))},[n,m,i]);const g=T=>{T.preventDefault(),u()},y=T=>O=>{s(L=>({...L,[T]:{...L[T],value:O}}))};return _.jsxs("form",{onSubmit:g,className:K(wt.container,d&&wt.containerWithFootnote,"chat__startScreen"),children:[_.jsxs("div",{className:K(wt.body,"chat__startScreen__body"),children:[c&&_.jsx("div",{className:K(wt.intro,"chat__startScreen__intro"),children:_.jsx(Ar,{options:{overrides:{a:gv}},children:c})}),_.jsx("div",{className:K(wt.formFields,"chat__startScreen__fields"),children:Object.values(i).map(({type:T,name:O,label:L,placeholder:M,defaultValue:V,options:I,required:S,multiple:x,min:b,max:A,pattern:E})=>_.jsx("div",{className:K(wt.formField,"chat__startScreen__field"),children:(()=>{switch(T){case"radio":return _.jsxs(_.Fragment,{children:[_.jsx("div",{children:L}),Object.entries(I||{}).map(([k,Z])=>_.jsx($N,{name:O,value:k,label:Z,defaultChecked:k===V,required:S,onChange:y(O)},k))]});case"checkbox":return _.jsx(QN,{name:O,label:L,defaultValue:V,required:S,onChange:y(O)});case"select":return _.jsx(WN,{name:O,label:L,defaultValue:V,required:S,multiple:x,options:I,onChange:y(O)});default:return _.jsx(KN,{type:T,name:O,label:L,placeholder:M,defaultValue:V,required:S,multiple:x,min:b,max:A,pattern:E,onChange:y(O)})}})()},O))})]}),_.jsxs("div",{className:K(wt.footer,"chat__startScreen__footer"),children:[_.jsx(ou,{type:"submit",className:wt.startChatButton,children:h}),d&&_.jsx("div",{className:wt.footnote,children:_.jsx(Ar,{options:{overrides:{a:gv}},children:d})})]})]})},gv=({title:n,href:r,children:i})=>_.jsx("a",{href:r,title:n,target:"_blank",rel:"noopener noreferrer",children:i}),rM=(n,r)=>{const i=r(`${Un}.${n}.type`)||"text",s=r(`${Un}.${n}.required`)==="true",u=r(`${Un}.${n}.multiple`)==="true",c=r(`${Un}.${n}.placeholder`),h=r(`${Un}.${n}.label`)||"",d=r(`${Un}.${n}.defaultValue`),m=r(`${Un}.${n}.min`),g=r(`${Un}.${n}.max`),y=r(`${Un}.${n}.pattern`),T=iM(r(`${Un}.${n}.options`));return{name:n,label:h,placeholder:c,value:aM(i,d,T)||"",defaultValue:d,options:T,type:i,required:s,multiple:u,min:m,max:g,pattern:y}},aM=(n,r,i)=>r||n==="select"&&Object.keys(i)[0]||"",iM=(n="")=>n.split(";").map(r=>r.trim()).reduce((r,i)=>{const[s,u]=i.split(":").map(c=>c.trim());return{...r,[s]:u}},{}),sM=()=>{const n=hu();H.useEffect(()=>{window.document.documentElement.lang=n.locale},[n.locale])},xi={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"},lM=({clientName:n})=>{sM();const r=Ia(),i=Qt(y=>y.intl.messages),s=tt(),u=Qt(y=>y.settings.enableStartScreen),c=Qt(y=>y.startScreen.startScreenStatus),[h,d]=H.useState(void 0);H.useEffect(()=>{const y=du.parse(window.location.search);y.cssClassName&&d(y.cssClassName);const T=O=>{switch(O.data.type){case xi.TRIGGER_ACTION:r(O.data.action);break;case xi.TRIGGER_STORY:r(Ub(O.data.story));break;case xi.ON_CHAT_WINDOW_OPEN:r({type:"webclient.chatwindow.opened"});break;case xi.ON_CHAT_WINDOW_CLOSE:r({type:"webclient.chatwindow.closed"});break;case xi.CHAT_MESSAGE_FROM_GUEST:r(Nb(O.data.text));break;case xi.RESTART_CHAT:r(bu(n,y));break}};return r(FO(n,y)),window.addEventListener("message",O=>T(O),!1),()=>window.removeEventListener("message",T)},[n,r]),H.useEffect(()=>{const y=s("page.title");y&&document&&(document.title=y)},[i,s]);const m=u===void 0,g=u===!1||c==="HIDDEN";return _.jsx("div",{className:K(iv.chatwindow,g&&iv.chatwindowWithAside,"chat__chatwindow",h),children:m?null:g?_.jsxs(_.Fragment,{children:[_.jsx("header",{children:_.jsx(av,{chatStarted:!0})}),_.jsx("main",{children:_.jsx(m3,{clientName:n})}),_.jsx("aside",{children:_.jsx(DN,{})})]}):_.jsxs(_.Fragment,{children:[_.jsx("header",{children:_.jsx(av,{chatStarted:!1})}),_.jsx("main",{children:_.jsx(nM,{})})]})})},oM=()=>{const n=nm(),r=E1(),i=Qt(u=>u.intl.locale),s=Qt(u=>u.intl.messages);return _.jsx(QA,{locale:i,messages:s,onError:()=>{},children:_.jsx("div",{className:K([$A.app,r?"chat__small":"chat__large"]),children:_.jsx(lM,{clientName:n})})})};var Nh,yv;function rm(){if(yv)return Nh;yv=1;function n(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}return Nh=n,Nh}var Mh,_v;function uM(){if(_v)return Mh;_v=1;var n=typeof yo=="object"&&yo&&yo.Object===Object&&yo;return Mh=n,Mh}var Dh,vv;function w1(){if(vv)return Dh;vv=1;var n=uM(),r=typeof self=="object"&&self&&self.Object===Object&&self,i=n||r||Function("return this")();return Dh=i,Dh}var Bh,bv;function cM(){if(bv)return Bh;bv=1;var n=w1(),r=function(){return n.Date.now()};return Bh=r,Bh}var Lh,Ev;function fM(){if(Ev)return Lh;Ev=1;var n=/\s/;function r(i){for(var s=i.length;s--&&n.test(i.charAt(s)););return s}return Lh=r,Lh}var Uh,Sv;function hM(){if(Sv)return Uh;Sv=1;var n=fM(),r=/^\s+/;function i(s){return s&&s.slice(0,n(s)+1).replace(r,"")}return Uh=i,Uh}var jh,Tv;function R1(){if(Tv)return jh;Tv=1;var n=w1(),r=n.Symbol;return jh=r,jh}var Hh,Av;function dM(){if(Av)return Hh;Av=1;var n=R1(),r=Object.prototype,i=r.hasOwnProperty,s=r.toString,u=n?n.toStringTag:void 0;function c(h){var d=i.call(h,u),m=h[u];try{h[u]=void 0;var g=!0}catch{}var y=s.call(h);return g&&(d?h[u]=m:delete h[u]),y}return Hh=c,Hh}var zh,xv;function mM(){if(xv)return zh;xv=1;var n=Object.prototype,r=n.toString;function i(s){return r.call(s)}return zh=i,zh}var kh,Ov;function pM(){if(Ov)return kh;Ov=1;var n=R1(),r=dM(),i=mM(),s="[object Null]",u="[object Undefined]",c=n?n.toStringTag:void 0;function h(d){return d==null?d===void 0?u:s:c&&c in Object(d)?r(d):i(d)}return kh=h,kh}var Ih,wv;function gM(){if(wv)return Ih;wv=1;function n(r){return r!=null&&typeof r=="object"}return Ih=n,Ih}var Gh,Rv;function yM(){if(Rv)return Gh;Rv=1;var n=pM(),r=gM(),i="[object Symbol]";function s(u){return typeof u=="symbol"||r(u)&&n(u)==i}return Gh=s,Gh}var qh,Cv;function _M(){if(Cv)return qh;Cv=1;var n=hM(),r=rm(),i=yM(),s=NaN,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,h=/^0o[0-7]+$/i,d=parseInt;function m(g){if(typeof g=="number")return g;if(i(g))return s;if(r(g)){var y=typeof g.valueOf=="function"?g.valueOf():g;g=r(y)?y+"":y}if(typeof g!="string")return g===0?g:+g;g=n(g);var T=c.test(g);return T||h.test(g)?d(g.slice(2),T?2:8):u.test(g)?s:+g}return qh=m,qh}var Fh,Nv;function vM(){if(Nv)return Fh;Nv=1;var n=rm(),r=cM(),i=_M(),s="Expected a function",u=Math.max,c=Math.min;function h(d,m,g){var y,T,O,L,M,V,I=0,S=!1,x=!1,b=!0;if(typeof d!="function")throw new TypeError(s);m=i(m)||0,n(g)&&(S=!!g.leading,x="maxWait"in g,O=x?u(i(g.maxWait)||0,m):O,b="trailing"in g?!!g.trailing:b);function A(fe){var Ve=y,be=T;return y=T=void 0,I=fe,L=d.apply(be,Ve),L}function E(fe){return I=fe,M=setTimeout(ee,m),S?A(fe):L}function k(fe){var Ve=fe-V,be=fe-I,G=m-Ve;return x?c(G,O-be):G}function Z(fe){var Ve=fe-V,be=fe-I;return V===void 0||Ve>=m||Ve<0||x&&be>=O}function ee(){var fe=r();if(Z(fe))return de(fe);M=setTimeout(ee,k(fe))}function de(fe){return M=void 0,b&&y?A(fe):(y=T=void 0,L)}function ie(){M!==void 0&&clearTimeout(M),I=0,y=V=T=M=void 0}function J(){return M===void 0?L:de(r())}function oe(){var fe=r(),Ve=Z(fe);if(y=arguments,T=this,V=fe,Ve){if(M===void 0)return E(V);if(x)return clearTimeout(M),M=setTimeout(ee,m),A(V)}return M===void 0&&(M=setTimeout(ee,m)),L}return oe.cancel=ie,oe.flush=J,oe}return Fh=h,Fh}var Ph,Mv;function bM(){if(Mv)return Ph;Mv=1;var n=vM(),r=rm(),i="Expected a function";function s(u,c,h){var d=!0,m=!0;if(typeof u!="function")throw new TypeError(i);return r(h)&&(d="leading"in h?!!h.leading:d,m="trailing"in h?!!h.trailing:m),n(u,c,{leading:d,maxWait:c,trailing:m})}return Ph=s,Ph}var EM=bM();const SM=cu(EM);function TM(n){return n&&n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function AM(n){return n}function xM(n,r){r=r||{};const i=r.delimiter||".",s=r.maxDepth,u=r.transformKey||AM,c={};function h(d,m,g){g=g||1,Object.keys(d).forEach(function(y){const T=d[y],O=r.safe&&Array.isArray(T),L=Object.prototype.toString.call(T),M=TM(T),V=L==="[object Object]"||L==="[object Array]",I=m?m+i+u(y):u(y);if(!O&&!M&&V&&Object.keys(T).length&&(!r.maxDepth||g<s))return h(T,I,g+1);c[I]=T})}return h(n),c}const C1={"page.title":"Bubble Chat Chatbot","message-input-label":"Benutzereingabe","message-input-placeholder":"Nachricht","message-input.actions.submit.label":"Nachricht senden","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","bot-bubble.sources":"Quellenliste","bot-bubble.source.open":"Quelle öffnen","agent-bubble.label":"Nachricht des Live-Agenten","export-transcript.email.title":"Chatverlauf per E-Mail versenden","export-transcript.email.description":"Bitte E-Mail-Adresse angeben, an die der Chatverlauf gesendet werden soll.","export-transcript.email.cancel":"Abbrechen","export-transcript.email.send":"Senden","export-transcript.email.placeholder":"E-Mail-Adresse","export-transcript.email.invalid":"Bitte gültige E-Mail-Adresse eingeben.","export-transcript.email.success":"Der Chatverlauf wurde an die hinterlegte E-Mail-Adresse übermittelt.","general-conditions.header":"**Nutzungsbedingungen**","general-conditions.body":`Bitte berücksichtigen Sie die folgenden Punkte:
|
|
108
|
+
|
|
109
|
+
- Der Chatverlauf wird im EU-Raum gespeichert und kann nur von autorisierten Personen eingesehen werden.
|
|
110
|
+
- 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.close-chat":"Chat minimieren","header.menu.title":"Menü","header.menu.restart-chat":"Chat neu starten","header.menu.expand-chat-window":"Fenster maximieren","header.menu.download-transcript":"Chatverlauf herunterladen","header.menu.send-transcript":"Chatverlauf versenden","header.menu.export-transcript":"Chatverlauf exportieren","source-infos.close":"Schliessen","source-infos.open-source":"Quelle öffnen","source-infos.error.title":"Fehler","source-infos.error.info":"Oops! Etwas ist schiefgelaufen. Bitte versuche es erneut oder kontaktiere den Support, falls das Problem weiterhin besteht.","source-infos.highlight-loading.title":"Relevante Inhalte werden markiert...","source-infos.highlight-loading.description":"Einen Moment – die Quelle wird analysiert.","commands.show-more.action":"Weitere ...","commands.show-more.tooltip":"Weitere Befehle anzeigen","commands.show-less.action":"Weniger ...","commands.show-less.tooltip":"Weniger Befehle anzeigen"},OM={"page.title":"Bubble Chat Chatbot","message-input-label":"User input","message-input-placeholder":"Message","message-input.actions.submit.label":"Send message","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","bot-bubble.sources":"Source list","bot-bubble.source.open":"Open source","agent-bubble.label":"Message from the live agent","export-transcript.email.title":"Receive chat history","export-transcript.email.description":"Please enter the e-mail address to which the chat history should be sent.","export-transcript.email.cancel":"Cancel","export-transcript.email.send":"Send","export-transcript.email.placeholder":"E-mail address","export-transcript.email.invalid":"Please enter a valid e-mail address.","export-transcript.email.success":"The chat history was sent to the e-mail address provided.","general-conditions.header":"**Terms of use**","general-conditions.body":`Please consider the following points:
|
|
111
|
+
|
|
112
|
+
- The chat history is stored in the EU area and can only be viewed by authorized personnel.
|
|
113
|
+
- 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.close-chat":"Minimize chat","header.menu.title":"Menu","header.menu.restart-chat":"Restart chat","header.menu.expand-chat-window":"Maximize window","header.menu.download-transcript":"Download chat history","header.menu.export-transcript":"Export chat history","header.menu.send-transcript":"Send chat history","source-infos.close":"Close","source-infos.open-source":"Open source","source-infos.error.title":"Error","source-infos.error.info":"Oops! Something went wrong. Please try again or contact support if the problem persists.","source-infos.highlight-loading.title":"Relevant content is highlighted...","source-infos.highlight-loading.description":"One moment - the source is being analyzed.","commands.show-more.action":"More","commands.show-more.tooltip":"Show more commands","commands.show-less.action":"Less","commands.show-less.tooltip":"Show less commands"},wM={"page.title":"Bubble Chat Chatbot","message-input-label":"Input dell'utente","message-input-placeholder":"Entrée utilisateur","message-input.actions.submit.label":"Envoyer un message","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","bot-bubble.sources":"Liste des sources","bot-bubble.source.open":"Ouvrir la source","agent-bubble.label":"Message de l'agent en direct","export-transcript.email.title":"Recevoir l'historique du chat","export-transcript.email.description":"Veuillez indiquer l'adresse e-mail à laquelle l'historique de chat doit être envoyé.","export-transcript.email.cancel":"Annuler","export-transcript.email.send":"Envoyer","export-transcript.email.placeholder":"E-mail","export-transcript.email.invalid":"Veuillez entrer une adresse électronique valide.","export-transcript.email.success":"L'historique du chat a été envoyé à l'adresse e-mail fournie.","general-conditions.header":"**Conditions d'utilisation**","general-conditions.body":`Veuillez considérer les points suivants:
|
|
114
|
+
|
|
115
|
+
- L'historique du chat est stocké dans l'espace UE et ne peut être consulté que par les personnes autorisées.
|
|
116
|
+
- 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.close-chat":"Minimiser le chat","header.menu.title":"Menu","header.menu.restart-chat":"Redémarrer le chat","header.menu.expand-chat-window":"Agrandir la fenêtre","header.menu.download-transcript":"Télécharger l'historique du chat","header.menu.send-transcript":"Envoyer l'historique du chat","header.menu.export-transcript":"Exporter l'historique du chat","source-infos.close":"Fermer","source-infos.open-source":"Ouvrir source","source-infos.error.title":"Erreur","source-infos.error.info":"Oups ! Quelque chose s'est mal passé. Merci de réessayer ou de contacter le support si le problème persiste.","source-infos.highlight-loading.title":"Contenus pertinents en surbrillance...","source-infos.highlight-loading.description":"Un instant - la source est analysée","commands.show-more.action":"Plus","commands.show-more.tooltip":"Afficher plus de commandes","commands.show-less.action":"Moins","commands.show-less.tooltip":"Afficher moins de commandes"},RM={"page.title":"Bubble Chat Chatbot","message-input-label":"Input dell'utente","message-input-placeholder":"Messaggio","message-input.actions.submit.label":"Invia messaggio","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","bot-bubble.sources":"Elenco delle fonti","bot-bubble.source.open":"Fonte aperta","agent-bubble.label":"Messaggio dell'agente dal vivo","export-transcript.email.title":"Ricevere la cronologia della chat","export-transcript.email.description":"Inserire l'indirizzo e-mail a cui inviare la cronologia della chat.","export-transcript.email.cancel":"Annulla","export-transcript.email.send":"Invia","export-transcript.email.placeholder":"E-mail","export-transcript.email.invalid":"Inserire un indirizzo e-mail valido.","export-transcript.email.success":"La cronologia della chat è stata inviata all'indirizzo e-mail fornito.","general-conditions.header":"**Condizioni di utilizzo**","general-conditions.body":`Si prega di considerare i seguenti punti:
|
|
117
|
+
|
|
118
|
+
- La cronologia delle chat è memorizzata nell'area UE e può essere visualizzata solo da persone autorizzate.
|
|
119
|
+
- 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.close-chat":"Minimizzare la chat","header.menu.title":"Menu","header.menu.restart-chat":"Riavviare la chat","header.menu.expand-chat-window":"Espandere la finestra","header.menu.download-transcript":"Scaricare la trascrizione","header.menu.send-transcript":"Inviare la trascrizione","header.menu.export-transcript":"Esportare la trascrizione","source-infos.close":"Chiudere","source-infos.open-source":"Fonte aperta","source-infos.error.title":"Errore","source-infos.error.info":"Ops! Qualcosa è andato storto. Riprovare o contattare l'assistenza se il problema persiste.","source-infos.highlight-loading.title":"Il contenuto rilevante è evidenziato...","source-infos.highlight-loading.description":"Un momento - la fonte è in fase di analisi","commands.show-more.action":"Di più","commands.show-more.tooltip":"Mostra più comandi","commands.show-less.action":"Meno","commands.show-less.tooltip":"Mostra meno comandi"},CM=["de","en","fr","it"],N1={locale:"de",messages:C1},NM=(n,r)=>{if(CM.includes(n)){const i=MM(n),s=xM(r);return{...i,...s}}return r},MM=n=>{switch(n.toString()){case"en":return OM;case"fr":return wM;case"it":return RM;default:return C1}},DM=(n=BM,r)=>{switch(r.type){case Xd:return Object.assign({},n,{connectionState:ja.CONNECTING});case Qd:return Object.assign({},n,{connectionState:ja.CONNECTED});case Kd:return Object.assign({},n,{connectionState:ja.DISCONNECTED});case $d:return Object.assign({},n,{connectionState:ja.RECONNECTED});case Wd:return Object.assign({},n,{sessionId:r.sessionId});case _u:return Object.assign({},n,{sessionId:r.payload.sessionId,userId:r.payload.userId});case vu:return Object.assign({},n,{sessionId:void 0});default:return n}},BM={connectionState:ja.DISCONNECTED,sessionId:void 0,userId:void 0},LM=(n=Bv,r)=>{switch(r.type){case $b:return Bv;case _u:return Ba({type:"webclient.chat.started"}),n;case vu:return Ba({type:"webclient.chat.ended"}),n;case we.ActionTypes.TYPING_ON:return Object.assign({},n,{isBotTyping:!0});case we.ActionTypes.TYPING_OFF:return Object.assign({},n,{isBotTyping:!1});case we.ActionTypes.MESSAGE_FROM_GUEST:case we.ActionTypes.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST:return Dv(n,r.message);case we.ActionTypes.MESSAGE_TO_GUEST:{Ba(r);const i=Object.assign({},r.message,{_id:r.meta.actionId}),s=n.messages.filter(u=>u._id===r.meta.actionId).length>0;return Object.assign({},n,{isBotTyping:!1,messages:s?n.messages:n.messages.concat([i]),quickReplies:i.quickReplies?i.quickReplies:[]})}case jd:{const i=r.messages,s=i.length?i[i.length-1]:void 0;return Object.assign({},n,{isBotTyping:!1,messages:i,quickReplies:s?.quickReplies||[]})}case Ud:return Ba(r.message),n;case we.ActionTypes.EVENT_TO_GUEST:return Ba(r.event),n;case we.ActionTypes.DRAWER_OPEN:return Object.assign({},n,{drawerContentUrl:r.payload.parameters.contentUrl});case we.ActionTypes.DRAWER_CLOSE:return Object.assign({},n,{drawerContentUrl:void 0});case we.ActionTypes.GUEST_LOCALE_CHANGED:return Object.assign({},n,{locale:r.payload.locale});case Db:return Ba(r),n;case Bb:return Ba(r),n;case zd:{const i=new we.TextMessage(r.transcription,new we.GuestUser),s=Object.assign({},i,{_id:ud()});return Dv(n,s)}case we.ActionTypes.TRANSCRIPT_ITEM_GUEST_REACTION:{const i=n.messages.map(s=>s._id===r.payload.actionId?Object.assign({},s,{reaction:r.payload.reaction}):s);return Object.assign({},n,{messages:i})}case kd:{const i={enabled:!0,rating:r.payload.rating};return Object.assign({},n,{conversationRating:i})}case we.ActionTypes.CONVERSATION_RATING_FROM_GUEST:{const i={...n.conversationRating,rating:r.payload};return Object.assign({},n,{conversationRating:i})}case Gd:return{...n,sourceInfos:{type:"loading",chunkId:r.payload.chunkId}};case Id:{const{highlighted:i}=r.payload;return n.sourceInfos?.type==="loaded"&&i?{...n,sourceInfos:{...n.sourceInfos,highlighted:!0}}:{...n,sourceInfos:{type:"loading-error"}}}case Mb:{const i=n.sourceInfos?.type,{chunkId:s,knowledgeBaseType:u,title:c,content:h,highlighted:d,url:m}=r.payload,g=n.sourceInfos?.type==="loading"||n.sourceInfos?.type==="loaded"?n.sourceInfos?.chunkId:void 0;return g&&g!==s?n:i==="loading"||i==="loaded"&&d?{...n,sourceInfos:{type:"loaded",chunkId:s,knowledgeBaseType:u,title:c,content:h,highlighted:d,url:m}}:n}case qd:return{...n,sourceInfos:void 0};case Wb:return{...n,showTranscriptMailOverlay:!n.showTranscriptMailOverlay};default:return n}},Dv=(n,r)=>{const i=n.messages[n.messages.length-1],s=i?.text===r.text;return i&&i.sender.type===r.sender.type&&s?n:Object.assign({},n,{messages:n.messages.concat([r]),quickReplies:[]})},Ba=n=>{UM()?window.top?.postMessage(n,"*"):n.type==="webclient.change.url"&&window.open(n.url)},UM=()=>typeof window<"u"&&window.self!==window.top,Bv={messages:[],quickReplies:[],isBotTyping:!1,showTranscriptMailOverlay:!1,conversationRating:{enabled:!1}},M1=Yd({name:"intl",initialState:N1,reducers:{updateIntl:(n,r)=>{n.locale=r.payload.language,n.messages=r.payload.messages}}}),{updateIntl:jM}=M1.actions,HM=M1.reducer,zM={enableStartScreen:void 0,enableStandaloneView:!1,enableTranscriptExportEmail:!1,enableTranscriptExportPdf:!1,enableGeneralConditions:!1,enableSpeechSupport:!1,commands:[],menuItems:[]},D1=Yd({name:"settings",initialState:zM,reducers:{setSettings(n,r){n.enableStartScreen=r.payload.enableStartScreen,n.enableStandaloneView=r.payload.enableStandaloneView,n.enableTranscriptExportEmail=r.payload.enableTranscriptExportEmail,n.enableTranscriptExportPdf=r.payload.enableTranscriptExportPdf,n.enableGeneralConditions=r.payload.enableGeneralConditions,n.enableSpeechSupport=r.payload.enableSpeechSupport,n.commands=r.payload.commands,n.menuItems=r.payload.menuItems||[]}}}),{setSettings:kM}=D1.actions,IM=D1.reducer,GM=kb({settings:IM,chat:LM,startScreen:zO,connection:DM,intl:HM}),qM="bubble-chat",B1="state-last-saved-at",L1="state",FM=n=>{try{if(!YM())return;const r=Lv(n,B1);if(VM(r))return;{const i=Lv(n,L1);return i===null?void 0:JSON.parse(i)}}catch(r){console.error(r);return}},PM=(n,r)=>{try{const i=JSON.stringify(r);Uv(n,L1,i);const s=new Date().toISOString();Uv(n,B1,s)}catch(i){console.error(i)}},VM=n=>{if(n===null)return!1;const r=new Date(n);return r.setHours(r.getHours()+12),new Date>r},YM=()=>typeof localStorage<"u",Lv=(n,r)=>{const i=U1(n,r);return localStorage.getItem(i)},Uv=(n,r,i)=>{const s=U1(n,r);return localStorage.setItem(s,i)},U1=(n,r)=>`${qM}-${n}-${r}`,Jn=Object.create(null);Jn.open="0";Jn.close="1";Jn.ping="2";Jn.pong="3";Jn.message="4";Jn.upgrade="5";Jn.noop="6";const $o=Object.create(null);Object.keys(Jn).forEach(n=>{$o[Jn[n]]=n});const vd={type:"error",data:"parser error"},j1=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",H1=typeof ArrayBuffer=="function",z1=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer,am=({type:n,data:r},i,s)=>j1&&r instanceof Blob?i?s(r):jv(r,s):H1&&(r instanceof ArrayBuffer||z1(r))?i?s(r):jv(new Blob([r]),s):s(Jn[n]+(r||"")),jv=(n,r)=>{const i=new FileReader;return i.onload=function(){const s=i.result.split(",")[1];r("b"+(s||""))},i.readAsDataURL(n)};function Hv(n){return n instanceof Uint8Array?n:n instanceof ArrayBuffer?new Uint8Array(n):new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}let Vh;function ZM(n,r){if(j1&&n.data instanceof Blob)return n.data.arrayBuffer().then(Hv).then(r);if(H1&&(n.data instanceof ArrayBuffer||z1(n.data)))return r(Hv(n.data));am(n,!1,i=>{Vh||(Vh=new TextEncoder),r(Vh.encode(i))})}const zv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qs=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let n=0;n<zv.length;n++)Qs[zv.charCodeAt(n)]=n;const XM=n=>{let r=n.length*.75,i=n.length,s,u=0,c,h,d,m;n[n.length-1]==="="&&(r--,n[n.length-2]==="="&&r--);const g=new ArrayBuffer(r),y=new Uint8Array(g);for(s=0;s<i;s+=4)c=Qs[n.charCodeAt(s)],h=Qs[n.charCodeAt(s+1)],d=Qs[n.charCodeAt(s+2)],m=Qs[n.charCodeAt(s+3)],y[u++]=c<<2|h>>4,y[u++]=(h&15)<<4|d>>2,y[u++]=(d&3)<<6|m&63;return g},QM=typeof ArrayBuffer=="function",im=(n,r)=>{if(typeof n!="string")return{type:"message",data:k1(n,r)};const i=n.charAt(0);return i==="b"?{type:"message",data:KM(n.substring(1),r)}:$o[i]?n.length>1?{type:$o[i],data:n.substring(1)}:{type:$o[i]}:vd},KM=(n,r)=>{if(QM){const i=XM(n);return k1(i,r)}else return{base64:!0,data:n}},k1=(n,r)=>{switch(r){case"blob":return n instanceof Blob?n:new Blob([n]);case"arraybuffer":default:return n instanceof ArrayBuffer?n:n.buffer}},I1="",$M=(n,r)=>{const i=n.length,s=new Array(i);let u=0;n.forEach((c,h)=>{am(c,!1,d=>{s[h]=d,++u===i&&r(s.join(I1))})})},WM=(n,r)=>{const i=n.split(I1),s=[];for(let u=0;u<i.length;u++){const c=im(i[u],r);if(s.push(c),c.type==="error")break}return s};function JM(){return new TransformStream({transform(n,r){ZM(n,i=>{const s=i.length;let u;if(s<126)u=new Uint8Array(1),new DataView(u.buffer).setUint8(0,s);else if(s<65536){u=new Uint8Array(3);const c=new DataView(u.buffer);c.setUint8(0,126),c.setUint16(1,s)}else{u=new Uint8Array(9);const c=new DataView(u.buffer);c.setUint8(0,127),c.setBigUint64(1,BigInt(s))}n.data&&typeof n.data!="string"&&(u[0]|=128),r.enqueue(u),r.enqueue(i)})}})}let Yh;function Yo(n){return n.reduce((r,i)=>r+i.length,0)}function Zo(n,r){if(n[0].length===r)return n.shift();const i=new Uint8Array(r);let s=0;for(let u=0;u<r;u++)i[u]=n[0][s++],s===n[0].length&&(n.shift(),s=0);return n.length&&s<n[0].length&&(n[0]=n[0].slice(s)),i}function eD(n,r){Yh||(Yh=new TextDecoder);const i=[];let s=0,u=-1,c=!1;return new TransformStream({transform(h,d){for(i.push(h);;){if(s===0){if(Yo(i)<1)break;const m=Zo(i,1);c=(m[0]&128)===128,u=m[0]&127,u<126?s=3:u===126?s=1:s=2}else if(s===1){if(Yo(i)<2)break;const m=Zo(i,2);u=new DataView(m.buffer,m.byteOffset,m.length).getUint16(0),s=3}else if(s===2){if(Yo(i)<8)break;const m=Zo(i,8),g=new DataView(m.buffer,m.byteOffset,m.length),y=g.getUint32(0);if(y>Math.pow(2,21)-1){d.enqueue(vd);break}u=y*Math.pow(2,32)+g.getUint32(4),s=3}else{if(Yo(i)<u)break;const m=Zo(i,u);d.enqueue(im(c?m:Yh.decode(m),r)),s=0}if(u===0||u>n){d.enqueue(vd);break}}}})}const G1=4;function ct(n){if(n)return tD(n)}function tD(n){for(var r in ct.prototype)n[r]=ct.prototype[r];return n}ct.prototype.on=ct.prototype.addEventListener=function(n,r){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(r),this};ct.prototype.once=function(n,r){function i(){this.off(n,i),r.apply(this,arguments)}return i.fn=r,this.on(n,i),this};ct.prototype.off=ct.prototype.removeListener=ct.prototype.removeAllListeners=ct.prototype.removeEventListener=function(n,r){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var i=this._callbacks["$"+n];if(!i)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var s,u=0;u<i.length;u++)if(s=i[u],s===r||s.fn===r){i.splice(u,1);break}return i.length===0&&delete this._callbacks["$"+n],this};ct.prototype.emit=function(n){this._callbacks=this._callbacks||{};for(var r=new Array(arguments.length-1),i=this._callbacks["$"+n],s=1;s<arguments.length;s++)r[s-1]=arguments[s];if(i){i=i.slice(0);for(var s=0,u=i.length;s<u;++s)i[s].apply(this,r)}return this};ct.prototype.emitReserved=ct.prototype.emit;ct.prototype.listeners=function(n){return this._callbacks=this._callbacks||{},this._callbacks["$"+n]||[]};ct.prototype.hasListeners=function(n){return!!this.listeners(n).length};const Tu=typeof Promise=="function"&&typeof Promise.resolve=="function"?r=>Promise.resolve().then(r):(r,i)=>i(r,0),En=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),nD="arraybuffer";function q1(n,...r){return r.reduce((i,s)=>(n.hasOwnProperty(s)&&(i[s]=n[s]),i),{})}const rD=En.setTimeout,aD=En.clearTimeout;function Au(n,r){r.useNativeTimers?(n.setTimeoutFn=rD.bind(En),n.clearTimeoutFn=aD.bind(En)):(n.setTimeoutFn=En.setTimeout.bind(En),n.clearTimeoutFn=En.clearTimeout.bind(En))}const iD=1.33;function sD(n){return typeof n=="string"?lD(n):Math.ceil((n.byteLength||n.size)*iD)}function lD(n){let r=0,i=0;for(let s=0,u=n.length;s<u;s++)r=n.charCodeAt(s),r<128?i+=1:r<2048?i+=2:r<55296||r>=57344?i+=3:(s++,i+=4);return i}function F1(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function oD(n){let r="";for(let i in n)n.hasOwnProperty(i)&&(r.length&&(r+="&"),r+=encodeURIComponent(i)+"="+encodeURIComponent(n[i]));return r}function uD(n){let r={},i=n.split("&");for(let s=0,u=i.length;s<u;s++){let c=i[s].split("=");r[decodeURIComponent(c[0])]=decodeURIComponent(c[1])}return r}class cD extends Error{constructor(r,i,s){super(r),this.description=i,this.context=s,this.type="TransportError"}}class sm extends ct{constructor(r){super(),this.writable=!1,Au(this,r),this.opts=r,this.query=r.query,this.socket=r.socket,this.supportsBinary=!r.forceBase64}onError(r,i,s){return super.emitReserved("error",new cD(r,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(r){this.readyState==="open"&&this.write(r)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(r){const i=im(r,this.socket.binaryType);this.onPacket(i)}onPacket(r){super.emitReserved("packet",r)}onClose(r){this.readyState="closed",super.emitReserved("close",r)}pause(r){}createUri(r,i={}){return r+"://"+this._hostname()+this._port()+this.opts.path+this._query(i)}_hostname(){const r=this.opts.hostname;return r.indexOf(":")===-1?r:"["+r+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(r){const i=oD(r);return i.length?"?"+i:""}}class fD extends sm{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(r){this.readyState="pausing";const i=()=>{this.readyState="paused",r()};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(r){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)};WM(r,this.socket.binaryType).forEach(i),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const r=()=>{this.write([{type:"close"}])};this.readyState==="open"?r():this.once("open",r)}write(r){this.writable=!1,$M(r,i=>{this.doWrite(i,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const r=this.opts.secure?"https":"http",i=this.query||{};return this.opts.timestampRequests!==!1&&(i[this.opts.timestampParam]=F1()),!this.supportsBinary&&!i.sid&&(i.b64=1),this.createUri(r,i)}}let P1=!1;try{P1=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const hD=P1;function dD(){}class mD extends fD{constructor(r){if(super(r),typeof location<"u"){const i=location.protocol==="https:";let s=location.port;s||(s=i?"443":"80"),this.xd=typeof location<"u"&&r.hostname!==location.hostname||s!==r.port}}doWrite(r,i){const s=this.request({method:"POST",data:r});s.on("success",i),s.on("error",(u,c)=>{this.onError("xhr post error",u,c)})}doPoll(){const r=this.request();r.on("data",this.onData.bind(this)),r.on("error",(i,s)=>{this.onError("xhr poll error",i,s)}),this.pollXhr=r}}class $n extends ct{constructor(r,i,s){super(),this.createRequest=r,Au(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 r;const i=q1(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 u in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(u)&&s.setRequestHeader(u,this._opts.extraHeaders[u])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(r=this._opts.cookieJar)===null||r===void 0||r.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var u;s.readyState===3&&((u=this._opts.cookieJar)===null||u===void 0||u.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(u){this.setTimeoutFn(()=>{this._onError(u)},0);return}typeof document<"u"&&(this._index=$n.requestsCount++,$n.requests[this._index]=this)}_onError(r){this.emitReserved("error",r,this._xhr),this._cleanup(!0)}_cleanup(r){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=dD,r)try{this._xhr.abort()}catch{}typeof document<"u"&&delete $n.requests[this._index],this._xhr=null}}_onLoad(){const r=this._xhr.responseText;r!==null&&(this.emitReserved("data",r),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}$n.requestsCount=0;$n.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",kv);else if(typeof addEventListener=="function"){const n="onpagehide"in En?"pagehide":"unload";addEventListener(n,kv,!1)}}function kv(){for(let n in $n.requests)$n.requests.hasOwnProperty(n)&&$n.requests[n].abort()}const pD=function(){const n=V1({xdomain:!1});return n&&n.responseType!==null}();class gD extends mD{constructor(r){super(r);const i=r&&r.forceBase64;this.supportsBinary=pD&&!i}request(r={}){return Object.assign(r,{xd:this.xd},this.opts),new $n(V1,this.uri(),r)}}function V1(n){const r=n.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!r||hD))return new XMLHttpRequest}catch{}if(!r)try{return new En[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Y1=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class yD extends sm{get name(){return"websocket"}doOpen(){const r=this.uri(),i=this.opts.protocols,s=Y1?{}:q1(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(r,i,s)}catch(u){return this.emitReserved("error",u)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=r=>this.onClose({description:"websocket connection closed",context:r}),this.ws.onmessage=r=>this.onData(r.data),this.ws.onerror=r=>this.onError("websocket error",r)}write(r){this.writable=!1;for(let i=0;i<r.length;i++){const s=r[i],u=i===r.length-1;am(s,this.supportsBinary,c=>{try{this.doWrite(s,c)}catch{}u&&Tu(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const r=this.opts.secure?"wss":"ws",i=this.query||{};return this.opts.timestampRequests&&(i[this.opts.timestampParam]=F1()),this.supportsBinary||(i.b64=1),this.createUri(r,i)}}const Zh=En.WebSocket||En.MozWebSocket;class _D extends yD{createSocket(r,i,s){return Y1?new Zh(r,i,s):i?new Zh(r,i):new Zh(r)}doWrite(r,i){this.ws.send(i)}}class vD extends sm{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(r){return this.emitReserved("error",r)}this._transport.closed.then(()=>{this.onClose()}).catch(r=>{this.onError("webtransport error",r)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(r=>{const i=eD(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=r.readable.pipeThrough(i).getReader(),u=JM();u.readable.pipeTo(r.writable),this._writer=u.writable.getWriter();const c=()=>{s.read().then(({done:d,value:m})=>{d||(this.onPacket(m),c())}).catch(d=>{})};c();const h={type:"open"};this.query.sid&&(h.data=`{"sid":"${this.query.sid}"}`),this._writer.write(h).then(()=>this.onOpen())})})}write(r){this.writable=!1;for(let i=0;i<r.length;i++){const s=r[i],u=i===r.length-1;this._writer.write(s).then(()=>{u&&Tu(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var r;(r=this._transport)===null||r===void 0||r.close()}}const bD={websocket:_D,webtransport:vD,polling:gD},ED=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,SD=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function bd(n){if(n.length>8e3)throw"URI too long";const r=n,i=n.indexOf("["),s=n.indexOf("]");i!=-1&&s!=-1&&(n=n.substring(0,i)+n.substring(i,s).replace(/:/g,";")+n.substring(s,n.length));let u=ED.exec(n||""),c={},h=14;for(;h--;)c[SD[h]]=u[h]||"";return i!=-1&&s!=-1&&(c.source=r,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=TD(c,c.path),c.queryKey=AD(c,c.query),c}function TD(n,r){const i=/\/{2,9}/g,s=r.replace(i,"/").split("/");return(r.slice(0,1)=="/"||r.length===0)&&s.splice(0,1),r.slice(-1)=="/"&&s.splice(s.length-1,1),s}function AD(n,r){const i={};return r.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,u,c){u&&(i[u]=c)}),i}const Ed=typeof addEventListener=="function"&&typeof removeEventListener=="function",Wo=[];Ed&&addEventListener("offline",()=>{Wo.forEach(n=>n())},!1);class ia extends ct{constructor(r,i){if(super(),this.binaryType=nD,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,r&&typeof r=="object"&&(i=r,r=null),r){const s=bd(r);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=bd(i.host).host);Au(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 u=s.prototype.name;this.transports.push(u),this._transportsByName[u]=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=uD(this.opts.query)),Ed&&(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"})},Wo.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(r){const i=Object.assign({},this.opts.query);i.EIO=G1,i.transport=r,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[r]);return new this._transportsByName[r](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const r=this.opts.rememberUpgrade&&ia.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const i=this.createTransport(r);i.open(),this.setTransport(i)}setTransport(r){this.transport&&this.transport.removeAllListeners(),this.transport=r,r.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",ia.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(r){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",r),this.emitReserved("heartbeat"),r.type){case"open":this.onHandshake(JSON.parse(r.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=r.data,this._onError(i);break;case"message":this.emitReserved("data",r.data),this.emitReserved("message",r.data);break}}onHandshake(r){this.emitReserved("handshake",r),this.id=r.sid,this.transport.query.sid=r.sid,this._pingInterval=r.pingInterval,this._pingTimeout=r.pingTimeout,this._maxPayload=r.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const r=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+r,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},r),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 r=this._getWritablePackets();this.transport.send(r),this._prevBufferLen=r.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 u=this.writeBuffer[s].data;if(u&&(i+=sD(u)),s>0&&i>this._maxPayload)return this.writeBuffer.slice(0,s);i+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const r=Date.now()>this._pingTimeoutTime;return r&&(this._pingTimeoutTime=0,Tu(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),r}write(r,i,s){return this._sendPacket("message",r,i,s),this}send(r,i,s){return this._sendPacket("message",r,i,s),this}_sendPacket(r,i,s,u){if(typeof i=="function"&&(u=i,i=void 0),typeof s=="function"&&(u=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const c={type:r,data:i,options:s};this.emitReserved("packetCreate",c),this.writeBuffer.push(c),u&&this.once("flush",u),this.flush()}close(){const r=()=>{this._onClose("forced close"),this.transport.close()},i=()=>{this.off("upgrade",i),this.off("upgradeError",i),r()},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():r()}):this.upgrading?s():r()),this}_onError(r){if(ia.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",r),this._onClose("transport error",r)}_onClose(r,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(),Ed&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=Wo.indexOf(this._offlineEventListener);s!==-1&&Wo.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",r,i),this.writeBuffer=[],this._prevBufferLen=0}}}ia.protocol=G1;class xD extends ia{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let r=0;r<this._upgrades.length;r++)this._probe(this._upgrades[r])}_probe(r){let i=this.createTransport(r),s=!1;ia.priorWebsocketSuccess=!1;const u=()=>{s||(i.send([{type:"ping",data:"probe"}]),i.once("packet",T=>{if(!s)if(T.type==="pong"&&T.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",i),!i)return;ia.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 O=new Error("probe error");O.transport=i.name,this.emitReserved("upgradeError",O)}}))};function c(){s||(s=!0,y(),i.close(),i=null)}const h=T=>{const O=new Error("probe error: "+T);O.transport=i.name,c(),this.emitReserved("upgradeError",O)};function d(){h("transport closed")}function m(){h("socket closed")}function g(T){i&&T.name!==i.name&&c()}const y=()=>{i.removeListener("open",u),i.removeListener("error",h),i.removeListener("close",d),this.off("close",m),this.off("upgrading",g)};i.once("open",u),i.once("error",h),i.once("close",d),this.once("close",m),this.once("upgrading",g),this._upgrades.indexOf("webtransport")!==-1&&r!=="webtransport"?this.setTimeoutFn(()=>{s||i.open()},200):i.open()}onHandshake(r){this._upgrades=this._filterUpgrades(r.upgrades),super.onHandshake(r)}_filterUpgrades(r){const i=[];for(let s=0;s<r.length;s++)~this.transports.indexOf(r[s])&&i.push(r[s]);return i}}let OD=class extends xD{constructor(r,i={}){const s=typeof r=="object"?r:i;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(u=>bD[u]).filter(u=>!!u)),super(r,s)}};function wD(n,r="",i){let s=n;i=i||typeof location<"u"&&location,n==null&&(n=i.protocol+"//"+i.host),typeof n=="string"&&(n.charAt(0)==="/"&&(n.charAt(1)==="/"?n=i.protocol+n:n=i.host+n),/^(https?|wss?):\/\//.test(n)||(typeof i<"u"?n=i.protocol+"//"+n:n="https://"+n),s=bd(n)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const c=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+c+":"+s.port+r,s.href=s.protocol+"://"+c+(i&&i.port===s.port?"":":"+s.port),s}const RD=typeof ArrayBuffer=="function",CD=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n.buffer instanceof ArrayBuffer,Z1=Object.prototype.toString,ND=typeof Blob=="function"||typeof Blob<"u"&&Z1.call(Blob)==="[object BlobConstructor]",MD=typeof File=="function"||typeof File<"u"&&Z1.call(File)==="[object FileConstructor]";function lm(n){return RD&&(n instanceof ArrayBuffer||CD(n))||ND&&n instanceof Blob||MD&&n instanceof File}function Jo(n,r){if(!n||typeof n!="object")return!1;if(Array.isArray(n)){for(let i=0,s=n.length;i<s;i++)if(Jo(n[i]))return!0;return!1}if(lm(n))return!0;if(n.toJSON&&typeof n.toJSON=="function"&&arguments.length===1)return Jo(n.toJSON(),!0);for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&Jo(n[i]))return!0;return!1}function DD(n){const r=[],i=n.data,s=n;return s.data=Sd(i,r),s.attachments=r.length,{packet:s,buffers:r}}function Sd(n,r){if(!n)return n;if(lm(n)){const i={_placeholder:!0,num:r.length};return r.push(n),i}else if(Array.isArray(n)){const i=new Array(n.length);for(let s=0;s<n.length;s++)i[s]=Sd(n[s],r);return i}else if(typeof n=="object"&&!(n instanceof Date)){const i={};for(const s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=Sd(n[s],r));return i}return n}function BD(n,r){return n.data=Td(n.data,r),delete n.attachments,n}function Td(n,r){if(!n)return n;if(n&&n._placeholder===!0){if(typeof n.num=="number"&&n.num>=0&&n.num<r.length)return r[n.num];throw new Error("illegal attachments")}else if(Array.isArray(n))for(let i=0;i<n.length;i++)n[i]=Td(n[i],r);else if(typeof n=="object")for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(n[i]=Td(n[i],r));return n}const LD=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],UD=5;var Ce;(function(n){n[n.CONNECT=0]="CONNECT",n[n.DISCONNECT=1]="DISCONNECT",n[n.EVENT=2]="EVENT",n[n.ACK=3]="ACK",n[n.CONNECT_ERROR=4]="CONNECT_ERROR",n[n.BINARY_EVENT=5]="BINARY_EVENT",n[n.BINARY_ACK=6]="BINARY_ACK"})(Ce||(Ce={}));class jD{constructor(r){this.replacer=r}encode(r){return(r.type===Ce.EVENT||r.type===Ce.ACK)&&Jo(r)?this.encodeAsBinary({type:r.type===Ce.EVENT?Ce.BINARY_EVENT:Ce.BINARY_ACK,nsp:r.nsp,data:r.data,id:r.id}):[this.encodeAsString(r)]}encodeAsString(r){let i=""+r.type;return(r.type===Ce.BINARY_EVENT||r.type===Ce.BINARY_ACK)&&(i+=r.attachments+"-"),r.nsp&&r.nsp!=="/"&&(i+=r.nsp+","),r.id!=null&&(i+=r.id),r.data!=null&&(i+=JSON.stringify(r.data,this.replacer)),i}encodeAsBinary(r){const i=DD(r),s=this.encodeAsString(i.packet),u=i.buffers;return u.unshift(s),u}}function Iv(n){return Object.prototype.toString.call(n)==="[object Object]"}class om extends ct{constructor(r){super(),this.reviver=r}add(r){let i;if(typeof r=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");i=this.decodeString(r);const s=i.type===Ce.BINARY_EVENT;s||i.type===Ce.BINARY_ACK?(i.type=s?Ce.EVENT:Ce.ACK,this.reconstructor=new HD(i),i.attachments===0&&super.emitReserved("decoded",i)):super.emitReserved("decoded",i)}else if(lm(r)||r.base64)if(this.reconstructor)i=this.reconstructor.takeBinaryData(r),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: "+r)}decodeString(r){let i=0;const s={type:Number(r.charAt(0))};if(Ce[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===Ce.BINARY_EVENT||s.type===Ce.BINARY_ACK){const c=i+1;for(;r.charAt(++i)!=="-"&&i!=r.length;);const h=r.substring(c,i);if(h!=Number(h)||r.charAt(i)!=="-")throw new Error("Illegal attachments");s.attachments=Number(h)}if(r.charAt(i+1)==="/"){const c=i+1;for(;++i&&!(r.charAt(i)===","||i===r.length););s.nsp=r.substring(c,i)}else s.nsp="/";const u=r.charAt(i+1);if(u!==""&&Number(u)==u){const c=i+1;for(;++i;){const h=r.charAt(i);if(h==null||Number(h)!=h){--i;break}if(i===r.length)break}s.id=Number(r.substring(c,i+1))}if(r.charAt(++i)){const c=this.tryParse(r.substr(i));if(om.isPayloadValid(s.type,c))s.data=c;else throw new Error("invalid payload")}return s}tryParse(r){try{return JSON.parse(r,this.reviver)}catch{return!1}}static isPayloadValid(r,i){switch(r){case Ce.CONNECT:return Iv(i);case Ce.DISCONNECT:return i===void 0;case Ce.CONNECT_ERROR:return typeof i=="string"||Iv(i);case Ce.EVENT:case Ce.BINARY_EVENT:return Array.isArray(i)&&(typeof i[0]=="number"||typeof i[0]=="string"&&LD.indexOf(i[0])===-1);case Ce.ACK:case Ce.BINARY_ACK:return Array.isArray(i)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class HD{constructor(r){this.packet=r,this.buffers=[],this.reconPack=r}takeBinaryData(r){if(this.buffers.push(r),this.buffers.length===this.reconPack.attachments){const i=BD(this.reconPack,this.buffers);return this.finishedReconstruction(),i}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const zD=Object.freeze(Object.defineProperty({__proto__:null,Decoder:om,Encoder:jD,get PacketType(){return Ce},protocol:UD},Symbol.toStringTag,{value:"Module"}));function Hn(n,r,i){return n.on(r,i),function(){n.off(r,i)}}const kD=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class X1 extends ct{constructor(r,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=r,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 r=this.io;this.subs=[Hn(r,"open",this.onopen.bind(this)),Hn(r,"packet",this.onpacket.bind(this)),Hn(r,"error",this.onerror.bind(this)),Hn(r,"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(...r){return r.unshift("message"),this.emit.apply(this,r),this}emit(r,...i){var s,u,c;if(kD.hasOwnProperty(r))throw new Error('"'+r.toString()+'" is a reserved event name');if(i.unshift(r),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(i),this;const h={type:Ce.EVENT,data:i};if(h.options={},h.options.compress=this.flags.compress!==!1,typeof i[i.length-1]=="function"){const y=this.ids++,T=i.pop();this._registerAckCallback(y,T),h.id=y}const d=(u=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||u===void 0?void 0:u.writable,m=this.connected&&!(!((c=this.io.engine)===null||c===void 0)&&c._hasPingExpired());return this.flags.volatile&&!d||(m?(this.notifyOutgoingListeners(h),this.packet(h)):this.sendBuffer.push(h)),this.flags={},this}_registerAckCallback(r,i){var s;const u=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(u===void 0){this.acks[r]=i;return}const c=this.io.setTimeoutFn(()=>{delete this.acks[r];for(let d=0;d<this.sendBuffer.length;d++)this.sendBuffer[d].id===r&&this.sendBuffer.splice(d,1);i.call(this,new Error("operation has timed out"))},u),h=(...d)=>{this.io.clearTimeoutFn(c),i.apply(this,d)};h.withError=!0,this.acks[r]=h}emitWithAck(r,...i){return new Promise((s,u)=>{const c=(h,d)=>h?u(h):s(d);c.withError=!0,i.push(c),this.emit(r,...i)})}_addToQueue(r){let i;typeof r[r.length-1]=="function"&&(i=r.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:r,flags:Object.assign({fromQueue:!0},this.flags)};r.push((u,...c)=>s!==this._queue[0]?void 0:(u!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),i&&i(u)):(this._queue.shift(),i&&i(null,...c)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(r=!1){if(!this.connected||this._queue.length===0)return;const i=this._queue[0];i.pending&&!r||(i.pending=!0,i.tryCount++,this.flags=i.flags,this.emit.apply(this,i.args))}packet(r){r.nsp=this.nsp,this.io._packet(r)}onopen(){typeof this.auth=="function"?this.auth(r=>{this._sendConnectPacket(r)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(r){this.packet({type:Ce.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},r):r})}onerror(r){this.connected||this.emitReserved("connect_error",r)}onclose(r,i){this.connected=!1,delete this.id,this.emitReserved("disconnect",r,i),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(r=>{if(!this.sendBuffer.some(s=>String(s.id)===r)){const s=this.acks[r];delete this.acks[r],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(r){if(r.nsp===this.nsp)switch(r.type){case Ce.CONNECT:r.data&&r.data.sid?this.onconnect(r.data.sid,r.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 Ce.EVENT:case Ce.BINARY_EVENT:this.onevent(r);break;case Ce.ACK:case Ce.BINARY_ACK:this.onack(r);break;case Ce.DISCONNECT:this.ondisconnect();break;case Ce.CONNECT_ERROR:this.destroy();const s=new Error(r.data.message);s.data=r.data.data,this.emitReserved("connect_error",s);break}}onevent(r){const i=r.data||[];r.id!=null&&i.push(this.ack(r.id)),this.connected?this.emitEvent(i):this.receiveBuffer.push(Object.freeze(i))}emitEvent(r){if(this._anyListeners&&this._anyListeners.length){const i=this._anyListeners.slice();for(const s of i)s.apply(this,r)}super.emit.apply(this,r),this._pid&&r.length&&typeof r[r.length-1]=="string"&&(this._lastOffset=r[r.length-1])}ack(r){const i=this;let s=!1;return function(...u){s||(s=!0,i.packet({type:Ce.ACK,id:r,data:u}))}}onack(r){const i=this.acks[r.id];typeof i=="function"&&(delete this.acks[r.id],i.withError&&r.data.unshift(null),i.apply(this,r.data))}onconnect(r,i){this.id=r,this.recovered=i&&this._pid===i,this._pid=i,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(r=>this.emitEvent(r)),this.receiveBuffer=[],this.sendBuffer.forEach(r=>{this.notifyOutgoingListeners(r),this.packet(r)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(r=>r()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Ce.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(r){return this.flags.compress=r,this}get volatile(){return this.flags.volatile=!0,this}timeout(r){return this.flags.timeout=r,this}onAny(r){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(r),this}prependAny(r){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(r),this}offAny(r){if(!this._anyListeners)return this;if(r){const i=this._anyListeners;for(let s=0;s<i.length;s++)if(r===i[s])return i.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(r){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(r),this}prependAnyOutgoing(r){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(r),this}offAnyOutgoing(r){if(!this._anyOutgoingListeners)return this;if(r){const i=this._anyOutgoingListeners;for(let s=0;s<i.length;s++)if(r===i[s])return i.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(r){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const i=this._anyOutgoingListeners.slice();for(const s of i)s.apply(this,r.data)}}}function Ni(n){n=n||{},this.ms=n.min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}Ni.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var r=Math.random(),i=Math.floor(r*this.jitter*n);n=(Math.floor(r*10)&1)==0?n-i:n+i}return Math.min(n,this.max)|0};Ni.prototype.reset=function(){this.attempts=0};Ni.prototype.setMin=function(n){this.ms=n};Ni.prototype.setMax=function(n){this.max=n};Ni.prototype.setJitter=function(n){this.jitter=n};class Ad extends ct{constructor(r,i){var s;super(),this.nsps={},this.subs=[],r&&typeof r=="object"&&(i=r,r=void 0),i=i||{},i.path=i.path||"/socket.io",this.opts=i,Au(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 Ni({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(i.timeout==null?2e4:i.timeout),this._readyState="closed",this.uri=r;const u=i.parser||zD;this.encoder=new u.Encoder,this.decoder=new u.Decoder,this._autoConnect=i.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(r){return arguments.length?(this._reconnection=!!r,r||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(r){return r===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=r,this)}reconnectionDelay(r){var i;return r===void 0?this._reconnectionDelay:(this._reconnectionDelay=r,(i=this.backoff)===null||i===void 0||i.setMin(r),this)}randomizationFactor(r){var i;return r===void 0?this._randomizationFactor:(this._randomizationFactor=r,(i=this.backoff)===null||i===void 0||i.setJitter(r),this)}reconnectionDelayMax(r){var i;return r===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=r,(i=this.backoff)===null||i===void 0||i.setMax(r),this)}timeout(r){return arguments.length?(this._timeout=r,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(r){if(~this._readyState.indexOf("open"))return this;this.engine=new OD(this.uri,this.opts);const i=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const u=Hn(i,"open",function(){s.onopen(),r&&r()}),c=d=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",d),r?r(d):this.maybeReconnectOnOpen()},h=Hn(i,"error",c);if(this._timeout!==!1){const d=this._timeout,m=this.setTimeoutFn(()=>{u(),c(new Error("timeout")),i.close()},d);this.opts.autoUnref&&m.unref(),this.subs.push(()=>{this.clearTimeoutFn(m)})}return this.subs.push(u),this.subs.push(h),this}connect(r){return this.open(r)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const r=this.engine;this.subs.push(Hn(r,"ping",this.onping.bind(this)),Hn(r,"data",this.ondata.bind(this)),Hn(r,"error",this.onerror.bind(this)),Hn(r,"close",this.onclose.bind(this)),Hn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(r){try{this.decoder.add(r)}catch(i){this.onclose("parse error",i)}}ondecoded(r){Tu(()=>{this.emitReserved("packet",r)},this.setTimeoutFn)}onerror(r){this.emitReserved("error",r)}socket(r,i){let s=this.nsps[r];return s?this._autoConnect&&!s.active&&s.connect():(s=new X1(this,r,i),this.nsps[r]=s),s}_destroy(r){const i=Object.keys(this.nsps);for(const s of i)if(this.nsps[s].active)return;this._close()}_packet(r){const i=this.encoder.encode(r);for(let s=0;s<i.length;s++)this.engine.write(i[s],r.options)}cleanup(){this.subs.forEach(r=>r()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(r,i){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",r,i),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const r=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(()=>{r.skipReconnect||(this.emitReserved("reconnect_attempt",r.backoff.attempts),!r.skipReconnect&&r.open(u=>{u?(r._reconnecting=!1,r.reconnect(),this.emitReserved("reconnect_error",u)):r.onreconnect()}))},i);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const r=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",r)}}const Ys={};function eu(n,r){typeof n=="object"&&(r=n,n=void 0),r=r||{};const i=wD(n,r.path||"/socket.io"),s=i.source,u=i.id,c=i.path,h=Ys[u]&&c in Ys[u].nsps,d=r.forceNew||r["force new connection"]||r.multiplex===!1||h;let m;return d?m=new Ad(s,r):(Ys[u]||(Ys[u]=new Ad(s,r)),m=Ys[u]),i.query&&!r.query&&(r.query=i.queryKey),m.socket(i.path,r)}Object.assign(eu,{Manager:Ad,Socket:X1,io:eu,connect:eu});const ID=[we.ActionTypes.MESSAGE_TO_GUEST,we.ActionTypes.EVENT_TO_GUEST,we.ActionTypes.TYPING_ON,we.ActionTypes.TYPING_OFF,we.ActionTypes.RESTART_CHAT_REQUEST,...qO,...Ix,"@@localize/SET_ACTIVE_LANGUAGE","@@localize/ADD_TRANSLATION_FOR_LANGUAGE"],GD=({dispatch:n,getState:r})=>i=>{let s=null;return u=>{const c=i(u);if(u.type===Zd){s?.disconnect(),n(VO());const h=`/chat?${du.stringify(u.querystrings)}`;s=eu(`/${u.clientName}${h}`),s.on("action",n),s.on("connect",()=>n(YO())),s.on("disconnect",()=>n(ZO())),s.on("reconnect",()=>n(XO())),s.on("set-translations",(d,m)=>{n(jM({language:d,messages:NM(d,m)}))}),s.on("set-settings",d=>{n(kM(d))}),s.on("enable-conversation-rating",d=>n(Vx(d))),s.on("speech-transcription",d=>n(qx(d))),s.on("restore-client-state",d=>{n(PO(d.sessionId)),n(Zx(d.messages))}),s.on("expand-window",({devices:d,initial:m=!1})=>{n({type:Db,devices:d,initial:m})}),s.on("restart-chat",()=>{n(bu(u.clientName,u.querystrings))})}else if(u.type===_u)s?.emit("start-chat",u.payload);else if(u.type===vu)s?.emit("terminate-session",u.payload);else if(u.type===kx)s?.emit("get-started",JSON.stringify(u));else if(u.type===Hd)s?.emit("audio-message",u.buffer);else if(u.type===we.ActionTypes.CONVERSATION_RATING_FROM_GUEST)s?.emit("conversation-rating",u.payload);else if(u.type===Lb){const{connection:{sessionId:h}}=r();window.location.href=`/transcript-pdf/${h}`}else ID.indexOf(u.type)===-1&&u.meta===void 0&&s&&s.emit("action",JSON.stringify(u));return c}},Q1=y1(),qD={...FM(Q1),intl:N1},xd=TO({middleware:n=>n().concat(GD),reducer:GM,preloadedState:qD});xd.subscribe(SM(()=>{const n=xd.getState();PM(Q1,{connection:n.connection,startScreen:n.startScreen})},1e3));const FD=document.getElementById("root"),PD=fS.createRoot(FD);PD.render(_.jsx(cT,{store:xd,children:_.jsx(oM,{})}));
|
|
120
|
+
//# sourceMappingURL=index-D-4bXog2.js.map
|