@botfabrik/engine-webclient 4.94.3 → 4.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/client/assets/index-CfODWGjx.js +124 -0
- package/dist/client/assets/index-CfODWGjx.js.map +1 -0
- package/dist/client/assets/index-Df0fzke1.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/embed/bundle.js +26 -13
- package/dist/index.js +1 -0
- package/package.json +5 -5
- package/dist/client/assets/index-B_267kXd.js +0 -124
- package/dist/client/assets/index-B_267kXd.js.map +0 -1
- package/dist/client/assets/index-C8odGRBC.css +0 -1
|
@@ -1,124 +0,0 @@
|
|
|
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 _o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fu(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Uf={exports:{}},Bs={};/**
|
|
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 qg;function tS(){if(qg)return Bs;qg=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 Bs.Fragment=r,Bs.jsx=i,Bs.jsxs=i,Bs}var Fg;function nS(){return Fg||(Fg=1,Uf.exports=tS()),Uf.exports}var _=nS(),jf={exports:{}},Ls={},Hf={exports:{}},zf={};/**
|
|
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 Pg;function rS(){return Pg||(Pg=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,A=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;function x(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,x(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,A(Z),Z=-1),L=!0;var ne=O;try{t:{for(x(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,x(G),$=!0;break t}T===i(m)&&s(m),x(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 ue=new MessageChannel,Ve=ue.port2;ue.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?(A(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}}}}(zf)),zf}var Vg;function aS(){return Vg||(Vg=1,Hf.exports=rS()),Hf.exports}var kf={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 Yg;function iS(){if(Yg)return ve;Yg=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 A(R,q,W){this.props=R,this.context=q,this.refs=V,this.updater=W||L}var b=A.prototype=new S;b.constructor=A,M(b,I.prototype),b.isPureReactComponent=!0;var x=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 ue(){}function Ve(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(ue,ue):(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,x(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(x(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=A,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 Zg;function Ci(){return Zg||(Zg=1,kf.exports=iS()),kf.exports}var If={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 Xg;function sS(){if(Xg)return Bt;Xg=1;var n=Ci();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 Qg;function lS(){if(Qg)return If.exports;Qg=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(),If.exports=sS(),If.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 Kg;function oS(){if(Kg)return Ls;Kg=1;var n=aS(),r=Ci(),i=lS();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"),A=Symbol.for("react.consumer"),b=Symbol.for("react.context"),x=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 ue=Symbol.for("react.client.reference");function Ve(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ue?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 A:return(e._context.displayName||"Context")+".Consumer";case x: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)?gg(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=gg(t),e=yg(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=yg(t,e.type);t!==a&&(X(se,e),X(re,a))}function Cr(e){se.current===e&&(W(re),W(se)),$e.current===e&&(W($e),Rs._currentValue=ne)}var Xe=Object.prototype.hasOwnProperty,It=n.unstable_scheduleCallback,xn=n.unstable_cancelCallback,Di=n.unstable_shouldYield,Bi=n.unstable_requestPaint,bt=n.unstable_now,qa=n.unstable_getCurrentPriorityLevel,oa=n.unstable_ImmediatePriority,Li=n.unstable_UserBlockingPriority,ua=n.unstable_NormalPriority,Ou=n.unstable_LowPriority,Fa=n.unstable_IdlePriority,ca=n.log,Nr=n.unstable_setDisableYieldValue,fn=null,Rt=null;function On(e){if(typeof ca=="function"&&Nr(e),Rt&&typeof Rt.setStrictMode=="function")try{Rt.setStrictMode(fn,e)}catch{}}var Ct=Math.clz32?Math.clz32:Pa,Ui=Math.log,il=Math.LN2;function Pa(e){return e>>>=0,e===0?32:31-(Ui(e)/il|0)|0}var tr=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 Mr(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 nr(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function wu(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 fa(){var e=tr;return tr<<=1,(tr&4194048)===0&&(tr=256),e}function ha(){var e=Gt;return Gt<<=1,(Gt&62914560)===0&&(Gt=4194304),e}function ji(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 Ru(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&&sl(e,l,0),f!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=f&~(p&~t))}function sl(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 Hi(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function zi(){var e=$.p;return e!==0?e:(e=window.event,e===void 0?32:jg(e.type))}function ki(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,ll="__reactListeners$"+Rn,ol="__reactHandles$"+Rn,Va="__reactResources$"+Rn,Dr="__reactMarker$"+Rn;function Kt(e){delete e[ft],delete e[Nt],delete e[Gn],delete e[ll],delete e[ol]}function rr(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=Eg(e);e!==null;){if(a=e[ft])return a;e=Eg(e)}return t}e=a,a=e.parentNode}return null}function ar(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 Br(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function ir(e){var t=e[Va];return t||(t=e[Va]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function it(e){e[Dr]=!0}var ce=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++)ce.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,Ii;function sr(e){if(st===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);st=t&&t[1]||"",Ii=-1<a.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+st+e+Ii}var Cu=!1;function Nu(e,t){if(!e||Cu)return"";Cu=!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{Cu=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?sr(a):""}function Q1(e){switch(e.tag){case 26:case 27:case 5:return sr(e.type);case 16:return sr("Lazy");case 13:return sr("Suspense");case 19:return sr("SuspenseList");case 0:case 15:return Nu(e.type,!1);case 11:return Nu(e.type.render,!1);case 1:return Nu(e.type,!0);case 31:return sr("Activity");default:return""}}function cm(e){try{var t="";do t+=Q1(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 fm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function K1(e){var t=fm(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 ul(e){e._valueTracker||(e._valueTracker=K1(e))}function hm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l="";return e&&(l=fm(e)?e.checked?"true":"false":e.value),e=l,e!==a?(t.setValue(e),!0):!1}function cl(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 $1=/[\n"\\]/g;function dn(e){return e.replace($1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Mu(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?Du(e,p,hn(t)):a!=null?Du(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 dm(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 Du(e,t,a){t==="number"&&cl(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Ya(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 mm(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 pm(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 Za(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var W1=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 gm(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||W1.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function ym(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&&gm(e,o,l)}else for(var f in t)t.hasOwnProperty(f)&&gm(e,f,t[f])}function Bu(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 J1=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"]]),eE=/^[\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 fl(e){return eE.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Lu=null;function Uu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xa=null,Qa=null;function _m(e){var t=ar(e);if(t&&(e=t.stateNode)){var a=e[Nt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Mu(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));Mu(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&&hm(l)}break e;case"textarea":mm(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Ya(e,!!a.multiple,t,!1)}}}var ju=!1;function vm(e,t,a){if(ju)return e(t,a);ju=!0;try{var l=e(t);return l}finally{if(ju=!1,(Xa!==null||Qa!==null)&&(Kl(),Xa&&(t=Xa,e=Qa,Qa=Xa=null,_m(t),e)))for(t=0;t<e.length;t++)_m(e[t])}}function Gi(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 lr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hu=!1;if(lr)try{var qi={};Object.defineProperty(qi,"passive",{get:function(){Hu=!0}}),window.addEventListener("test",qi,qi),window.removeEventListener("test",qi,qi)}catch{Hu=!1}var Lr=null,zu=null,hl=null;function bm(){if(hl)return hl;var e,t=zu,a=t.length,l,o="value"in Lr?Lr.value:Lr.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 hl=o.slice(e,1<l?1-l:void 0)}function dl(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 ml(){return!0}function Em(){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)?ml:Em,this.isPropagationStopped=Em,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=ml)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=ml)},persist:function(){},isPersistent:ml}),t}var da={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pl=Pt(da),Fi=y({},da,{view:0,detail:0}),tE=Pt(Fi),ku,Iu,Pi,gl=y({},Fi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qu,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!==Pi&&(Pi&&e.type==="mousemove"?(ku=e.screenX-Pi.screenX,Iu=e.screenY-Pi.screenY):Iu=ku=0,Pi=e),ku)},movementY:function(e){return"movementY"in e?e.movementY:Iu}}),Sm=Pt(gl),nE=y({},gl,{dataTransfer:0}),rE=Pt(nE),aE=y({},Fi,{relatedTarget:0}),Gu=Pt(aE),iE=y({},da,{animationName:0,elapsedTime:0,pseudoElement:0}),sE=Pt(iE),lE=y({},da,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),oE=Pt(lE),uE=y({},da,{data:0}),Tm=Pt(uE),cE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fE={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"},hE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dE(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=hE[e])?!!t[e]:!1}function qu(){return dE}var mE=y({},Fi,{key:function(e){if(e.key){var t=cE[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=dl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?fE[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qu,charCode:function(e){return e.type==="keypress"?dl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?dl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),pE=Pt(mE),gE=y({},gl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Am=Pt(gE),yE=y({},Fi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qu}),_E=Pt(yE),vE=y({},da,{propertyName:0,elapsedTime:0,pseudoElement:0}),bE=Pt(vE),EE=y({},gl,{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}),SE=Pt(EE),TE=y({},da,{newState:0,oldState:0}),AE=Pt(TE),xE=[9,13,27,32],Fu=lr&&"CompositionEvent"in window,Vi=null;lr&&"documentMode"in document&&(Vi=document.documentMode);var OE=lr&&"TextEvent"in window&&!Vi,xm=lr&&(!Fu||Vi&&8<Vi&&11>=Vi),Om=" ",wm=!1;function Rm(e,t){switch(e){case"keyup":return xE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ka=!1;function wE(e,t){switch(e){case"compositionend":return Cm(t);case"keypress":return t.which!==32?null:(wm=!0,Om);case"textInput":return e=t.data,e===Om&&wm?null:e;default:return null}}function RE(e,t){if(Ka)return e==="compositionend"||!Fu&&Rm(e,t)?(e=bm(),hl=zu=Lr=null,Ka=!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 xm&&t.locale!=="ko"?null:t.data;default:return null}}var CE={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 Nm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!CE[e.type]:t==="textarea"}function Mm(e,t,a,l){Xa?Qa?Qa.push(l):Qa=[l]:Xa=l,t=no(t,"onChange"),0<t.length&&(a=new pl("onChange","change",null,a,l),e.push({event:a,listeners:t}))}var Yi=null,Zi=null;function NE(e){fg(e,0)}function yl(e){var t=Br(e);if(hm(t))return e}function Dm(e,t){if(e==="change")return t}var Bm=!1;if(lr){var Pu;if(lr){var Vu="oninput"in document;if(!Vu){var Lm=document.createElement("div");Lm.setAttribute("oninput","return;"),Vu=typeof Lm.oninput=="function"}Pu=Vu}else Pu=!1;Bm=Pu&&(!document.documentMode||9<document.documentMode)}function Um(){Yi&&(Yi.detachEvent("onpropertychange",jm),Zi=Yi=null)}function jm(e){if(e.propertyName==="value"&&yl(Zi)){var t=[];Mm(t,Zi,e,Uu(e)),vm(NE,t)}}function ME(e,t,a){e==="focusin"?(Um(),Yi=t,Zi=a,Yi.attachEvent("onpropertychange",jm)):e==="focusout"&&Um()}function DE(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return yl(Zi)}function BE(e,t){if(e==="click")return yl(t)}function LE(e,t){if(e==="input"||e==="change")return yl(t)}function UE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Wt=typeof Object.is=="function"?Object.is:UE;function Xi(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 Hm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zm(e,t){var a=Hm(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=Hm(a)}}function km(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?km(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Im(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=cl(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=cl(e.document)}return t}function Yu(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 jE=lr&&"documentMode"in document&&11>=document.documentMode,$a=null,Zu=null,Qi=null,Xu=!1;function Gm(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Xu||$a==null||$a!==cl(l)||(l=$a,"selectionStart"in l&&Yu(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}),Qi&&Xi(Qi,l)||(Qi=l,l=no(Zu,"onSelect"),0<l.length&&(t=new pl("onSelect","select",null,t,a),e.push({event:t,listeners:l}),t.target=$a)))}function ma(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Wa={animationend:ma("Animation","AnimationEnd"),animationiteration:ma("Animation","AnimationIteration"),animationstart:ma("Animation","AnimationStart"),transitionrun:ma("Transition","TransitionRun"),transitionstart:ma("Transition","TransitionStart"),transitioncancel:ma("Transition","TransitionCancel"),transitionend:ma("Transition","TransitionEnd")},Qu={},qm={};lr&&(qm=document.createElement("div").style,"AnimationEvent"in window||(delete Wa.animationend.animation,delete Wa.animationiteration.animation,delete Wa.animationstart.animation),"TransitionEvent"in window||delete Wa.transitionend.transition);function pa(e){if(Qu[e])return Qu[e];if(!Wa[e])return e;var t=Wa[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in qm)return Qu[e]=t[a];return e}var Fm=pa("animationend"),Pm=pa("animationiteration"),Vm=pa("animationstart"),HE=pa("transitionrun"),zE=pa("transitionstart"),kE=pa("transitioncancel"),Ym=pa("transitionend"),Zm=new Map,Ku="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(" ");Ku.push("scrollEnd");function Cn(e,t){Zm.set(e,t),Q(t,[e])}var Xm=new WeakMap;function mn(e,t){if(typeof e=="object"&&e!==null){var a=Xm.get(e);return a!==void 0?a:(t={value:e,source:t,stack:cm(t)},Xm.set(e,t),t)}return{value:e,source:t,stack:cm(t)}}var pn=[],Ja=0,$u=0;function _l(){for(var e=Ja,t=$u=Ja=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&&Qm(a,o,f)}}function vl(e,t,a,l){pn[Ja++]=e,pn[Ja++]=t,pn[Ja++]=a,pn[Ja++]=l,$u|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Wu(e,t,a,l){return vl(e,t,a,l),bl(e)}function ei(e,t){return vl(e,null,null,t),bl(e)}function Qm(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 bl(e){if(50<bs)throw bs=0,af=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ti={};function IE(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 IE(e,t,a,l)}function Ju(e){return e=e.prototype,!(!e||!e.isReactComponent)}function or(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 Km(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 El(e,t,a,l,o,f){var p=0;if(l=e,typeof e=="function")Ju(e)&&(p=1);else if(typeof e=="string")p=q2(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 ga(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 A:p=9;break e;case x: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 ga(e,t,a,l){return e=Jt(7,e,l,t),e.lanes=a,e}function ec(e,t,a){return e=Jt(6,e,null,t),e.lanes=a,e}function tc(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 ni=[],ri=0,Sl=null,Tl=0,gn=[],yn=0,ya=null,ur=1,cr="";function _a(e,t){ni[ri++]=Tl,ni[ri++]=Sl,Sl=e,Tl=t}function $m(e,t,a){gn[yn++]=ur,gn[yn++]=cr,gn[yn++]=ya,ya=e;var l=ur;e=cr;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,ur=1<<32-Ct(t)+o|a<<o|l,cr=f+e}else ur=1<<f|a<<o|l,cr=e}function nc(e){e.return!==null&&(_a(e,1),$m(e,1,0))}function rc(e){for(;e===Sl;)Sl=ni[--ri],ni[ri]=null,Tl=ni[--ri],ni[ri]=null;for(;e===ya;)ya=gn[--yn],gn[yn]=null,cr=gn[--yn],gn[yn]=null,ur=gn[--yn],gn[yn]=null}var Lt=null,Je=null,Be=!1,va=null,Fn=!1,ac=Error(s(519));function ba(e){var t=Error(s(418,""));throw Wi(mn(t,e)),ac}function Wm(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<Ss.length;a++)xe(Ss[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),dm(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),ul(t);break;case"select":xe("invalid",t);break;case"textarea":xe("invalid",t),pm(t,l.value,l.defaultValue,l.children),ul(t)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||l.suppressHydrationWarning===!0||pg(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=ro),t=!0):t=!1,t||ba(e)}function Jm(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 Ki(e){if(e!==Lt)return!1;if(!Be)return Jm(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")||Ef(e.type,e.memoizedProps)),a=!a),a&&Je&&ba(e),Jm(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,Kr(e.type)?(e=xf,xf=null,Je=e):Je=t):Je=Lt?Mn(e.stateNode.nextSibling):null;return!0}function $i(){Je=Lt=null,Be=!1}function ep(){var e=va;return e!==null&&(Zt===null?Zt=e:Zt.push.apply(Zt,e),va=null),e}function Wi(e){va===null?va=[e]:va.push(e)}var ic=q(null),Ea=null,fr=null;function Ur(e,t,a){X(ic,t._currentValue),t._currentValue=a}function hr(e){e._currentValue=ic.current,W(ic)}function sc(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 lc(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),sc(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),sc(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 Ji(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(Rs):e=[Rs])}o=o.return}e!==null&&lc(t,e,a,l),t.flags|=262144}function Al(e){for(e=e.firstContext;e!==null;){if(!Wt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Sa(e){Ea=e,fr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Dt(e){return tp(Ea,e)}function xl(e,t){return Ea===null&&Sa(e),tp(e,t)}function tp(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},fr===null){if(e===null)throw Error(s(308));fr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else fr=fr.next=t;return a}var GE=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()})}},qE=n.unstable_scheduleCallback,FE=n.unstable_NormalPriority,dt={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function oc(){return{controller:new GE,data:new Map,refCount:0}}function es(e){e.refCount--,e.refCount===0&&qE(FE,function(){e.controller.abort()})}var ts=null,uc=0,ai=0,ii=null;function PE(e,t){if(ts===null){var a=ts=[];uc=0,ai=hf(),ii={status:"pending",value:void 0,then:function(l){a.push(l)}}}return uc++,t.then(np,np),t}function np(){if(--uc===0&&ts!==null){ii!==null&&(ii.status="fulfilled");var e=ts;ts=null,ai=0,ii=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function VE(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 rp=G.S;G.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&PE(e,t),rp!==null&&rp(e,t)};var Ta=q(null);function cc(){var e=Ta.current;return e!==null?e:Pe.pooledCache}function Ol(e,t){t===null?X(Ta,Ta.current):X(Ta,t.pool)}function ap(){var e=cc();return e===null?null:{parent:dt._currentValue,pool:e}}var ns=Error(s(460)),ip=Error(s(474)),wl=Error(s(542)),fc={then:function(){}};function sp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Rl(){}function lp(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Rl,Rl),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,up(e),e;default:if(typeof t.status=="string")t.then(Rl,Rl);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,up(e),e}throw rs=t,ns}}var rs=null;function op(){if(rs===null)throw Error(s(459));var e=rs;return rs=null,e}function up(e){if(e===ns||e===wl)throw Error(s(483))}var jr=!1;function hc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dc(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 Hr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function zr(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=bl(e),Qm(e,null,a),t}return vl(e,l,t,a),bl(e)}function as(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 mc(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 pc=!1;function is(){if(pc){var e=ii;if(e!==null)throw e}}function ss(e,t,a,l){pc=!1;var o=e.updateQueue;jr=!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===ai&&(pc=!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:jr=!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),Yr|=p,e.lanes=p,e.memoizedState=Y}}function cp(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function fp(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)cp(a[e],t)}var si=q(null),Cl=q(0);function hp(e,t){e=vr,X(Cl,e),X(si,t),vr=e|t.baseLanes}function gc(){X(Cl,vr),X(si,si.current)}function yc(){vr=Cl.current,W(si),W(Cl)}var kr=0,Ee=null,ke=null,lt=null,Nl=!1,li=!1,Aa=!1,Ml=0,ls=0,oi=null,YE=0;function rt(){throw Error(s(321))}function _c(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 vc(e,t,a,l,o,f){return kr=f,Ee=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,G.H=e===null||e.memoizedState===null?Qp:Kp,Aa=!1,f=a(l,o),Aa=!1,li&&(f=mp(t,a,l,o)),dp(e),f}function dp(e){G.H=Hl;var t=ke!==null&&ke.next!==null;if(kr=0,lt=ke=Ee=null,Nl=!1,ls=0,oi=null,t)throw Error(s(300));e===null||pt||(e=e.dependencies,e!==null&&Al(e)&&(pt=!0))}function mp(e,t,a,l){Ee=e;var o=0;do{if(li&&(oi=null),ls=0,li=!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=JE,f=t(a,l)}while(li);return f}function ZE(){var e=G.H,t=e.useState()[0];return t=typeof t.then=="function"?os(t):t,e=e.useState()[0],(ke!==null?ke.memoizedState:null)!==e&&(Ee.flags|=1024),t}function bc(){var e=Ml!==0;return Ml=0,e}function Ec(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Sc(e){if(Nl){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Nl=!1}kr=0,lt=ke=Ee=null,li=!1,ls=Ml=0,oi=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 Tc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function os(e){var t=ls;return ls+=1,oi===null&&(oi=[]),e=lp(oi,e,t),t=Ee,(lt===null?t.memoizedState:lt.next)===null&&(t=t.alternate,G.H=t===null||t.memoizedState===null?Qp:Kp),e}function Dl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return os(e);if(e.$$typeof===b)return Dt(e)}throw Error(s(438,String(e)))}function Ac(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=Tc(),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 dr(e,t){return typeof t=="function"?t(e):t}function Bl(e){var t=ot();return xc(t,ke,e)}function xc(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:(kr&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===ai&&(F=!0);else if((kr&j)===j){U=U.next,j===ai&&(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,Yr|=j;Y=U.action,Aa&&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,Yr|=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=ii,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 Oc(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 pp(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=_p.bind(null,l,o,e);if(us(2048,8,v,[e]),o.getSnapshot!==t||p||lt!==null&<.memoizedState.tag&1){if(l.flags|=2048,ui(9,Ll(),yp.bind(null,l,o,a,t),null),Pe===null)throw Error(s(349));f||(kr&124)!==0||gp(l,t,a)}return a}function gp(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ee.updateQueue,t===null?(t=Tc(),Ee.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function yp(e,t,a,l){t.value=a,t.getSnapshot=l,vp(t)&&bp(e)}function _p(e,t,a){return a(function(){vp(t)&&bp(e)})}function vp(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Wt(e,a)}catch{return!0}}function bp(e){var t=ei(e,2);t!==null&&an(t,e,2)}function wc(e){var t=Vt();if(typeof e=="function"){var a=e;if(e=a(),Aa){On(!0);try{a()}finally{On(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:dr,lastRenderedState:e},t}function Ep(e,t,a,l){return e.baseState=a,xc(e,ke,typeof l=="function"?l:dr)}function XE(e,t,a,l,o){if(jl(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,Sp(t,f)):(f.next=a.next,t.pending=a.next=f)}}function Sp(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),Tp(e,t,v)}catch(U){Rc(e,t,U)}finally{G.T=f}}else try{f=a(o,l),Tp(e,t,f)}catch(U){Rc(e,t,U)}}function Tp(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){Ap(e,t,l)},function(l){return Rc(e,t,l)}):Ap(e,t,a)}function Ap(e,t,a){t.status="fulfilled",t.value=a,xp(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Sp(e,a)))}function Rc(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=a,xp(t),t=t.next;while(t!==l)}e.action=null}function xp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Op(e,t){return t}function wp(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}}ba(l)}l=!1}l&&(t=a[0])}}return a=Vt(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Op,lastRenderedState:t},a.queue=l,a=Yp.bind(null,Ee,l),l.dispatch=a,l=wc(!1),f=Bc.bind(null,Ee,!1,l.queue),l=Vt(),o={state:t,dispatch:null,action:e,pending:null},l.queue=o,a=XE.bind(null,Ee,o,f,a),o.dispatch=a,l.memoizedState=e,[t,a,!1]}function Rp(e){var t=ot();return Cp(t,ke,e)}function Cp(e,t,a){if(t=xc(e,t,Op)[0],e=Bl(dr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=os(t)}catch(p){throw p===ns?wl:p}else l=t;t=ot();var o=t.queue,f=o.dispatch;return a!==t.memoizedState&&(Ee.flags|=2048,ui(9,Ll(),QE.bind(null,o,a),null)),[l,f,e]}function QE(e,t){e.action=t}function Np(e){var t=ot(),a=ke;if(a!==null)return Cp(t,a,e);ot(),t=t.memoizedState,a=ot();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function ui(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=Ee.updateQueue,t===null&&(t=Tc(),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 Ll(){return{destroy:void 0,resource:void 0}}function Mp(){return ot().memoizedState}function Ul(e,t,a,l){var o=Vt();l=l===void 0?null:l,Ee.flags|=e,o.memoizedState=ui(1|t,Ll(),a,l)}function us(e,t,a,l){var o=ot();l=l===void 0?null:l;var f=o.memoizedState.inst;ke!==null&&l!==null&&_c(l,ke.memoizedState.deps)?o.memoizedState=ui(t,f,a,l):(Ee.flags|=e,o.memoizedState=ui(1|t,f,a,l))}function Dp(e,t){Ul(8390656,8,e,t)}function Bp(e,t){us(2048,8,e,t)}function Lp(e,t){return us(4,2,e,t)}function Up(e,t){return us(4,4,e,t)}function jp(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 Hp(e,t,a){a=a!=null?a.concat([e]):null,us(4,4,jp.bind(null,t,e),a)}function Cc(){}function zp(e,t){var a=ot();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&&_c(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function kp(e,t){var a=ot();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&&_c(t,l[1]))return l[0];if(l=e(),Aa){On(!0);try{e()}finally{On(!1)}}return a.memoizedState=[l,t],l}function Nc(e,t,a){return a===void 0||(kr&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=q0(),Ee.lanes|=e,Yr|=e,a)}function Ip(e,t,a,l){return Wt(a,t)?a:si.current!==null?(e=Nc(e,a,l),Wt(e,t)||(pt=!0),e):(kr&42)===0?(pt=!0,e.memoizedState=a):(e=q0(),Ee.lanes|=e,Yr|=e,t)}function Gp(e,t,a,l,o){var f=$.p;$.p=f!==0&&8>f?f:8;var p=G.T,v={};G.T=v,Bc(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=VE(w,l);cs(e,t,F,rn(e))}else cs(e,t,l,rn(e))}catch(Y){cs(e,t,{then:function(){},status:"rejected",reason:Y},rn())}finally{$.p=f,G.T=p}}function KE(){}function Mc(e,t,a,l){if(e.tag!==5)throw Error(s(476));var o=qp(e).queue;Gp(e,o,t,ne,a===null?KE:function(){return Fp(e),a(l)})}function qp(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:dr,lastRenderedState:ne},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:dr,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Fp(e){var t=qp(e).next.queue;cs(e,t,{},rn())}function Dc(){return Dt(Rs)}function Pp(){return ot().memoizedState}function Vp(){return ot().memoizedState}function $E(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=rn();e=Hr(a);var l=zr(t,e,a);l!==null&&(an(l,t,a),as(l,t,a)),t={cache:oc()},e.payload=t;return}t=t.return}}function WE(e,t,a){var l=rn();a={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},jl(e)?Zp(t,a):(a=Wu(e,t,a,l),a!==null&&(an(a,e,l),Xp(a,t,l)))}function Yp(e,t,a){var l=rn();cs(e,t,a,l)}function cs(e,t,a,l){var o={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(jl(e))Zp(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 vl(e,t,o,0),Pe===null&&_l(),!1}catch{}finally{}if(a=Wu(e,t,o,l),a!==null)return an(a,e,l),Xp(a,t,l),!0}return!1}function Bc(e,t,a,l){if(l={lane:2,revertLane:hf(),action:l,hasEagerState:!1,eagerState:null,next:null},jl(e)){if(t)throw Error(s(479))}else t=Wu(e,a,l,2),t!==null&&an(t,e,2)}function jl(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function Zp(e,t){li=Nl=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Xp(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,nt(e,a)}}var Hl={readContext:Dt,use:Dl,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},Qp={readContext:Dt,use:Dl,useCallback:function(e,t){return Vt().memoizedState=[e,t===void 0?null:t],e},useContext:Dt,useEffect:Dp,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Ul(4194308,4,jp.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Ul(4194308,4,e,t)},useInsertionEffect:function(e,t){Ul(4,2,e,t)},useMemo:function(e,t){var a=Vt();t=t===void 0?null:t;var l=e();if(Aa){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(Aa){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=WE.bind(null,Ee,e),[l.memoizedState,e]},useRef:function(e){var t=Vt();return e={current:e},t.memoizedState=e},useState:function(e){e=wc(e);var t=e.queue,a=Yp.bind(null,Ee,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Cc,useDeferredValue:function(e,t){var a=Vt();return Nc(a,e,t)},useTransition:function(){var e=wc(!1);return e=Gp.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||gp(l,t,a)}o.memoizedState=a;var f={value:a,getSnapshot:t};return o.queue=f,Dp(_p.bind(null,l,f,e),[e]),l.flags|=2048,ui(9,Ll(),yp.bind(null,l,f,a,t),null),a},useId:function(){var e=Vt(),t=Pe.identifierPrefix;if(Be){var a=cr,l=ur;a=(l&~(1<<32-Ct(l)-1)).toString(32)+a,t="«"+t+"R"+a,a=Ml++,0<a&&(t+="H"+a.toString(32)),t+="»"}else a=YE++,t="«"+t+"r"+a.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Dc,useFormState:wp,useActionState:wp,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=Bc.bind(null,Ee,!0,a),a.dispatch=t,[e,t]},useMemoCache:Ac,useCacheRefresh:function(){return Vt().memoizedState=$E.bind(null,Ee)}},Kp={readContext:Dt,use:Dl,useCallback:zp,useContext:Dt,useEffect:Bp,useImperativeHandle:Hp,useInsertionEffect:Lp,useLayoutEffect:Up,useMemo:kp,useReducer:Bl,useRef:Mp,useState:function(){return Bl(dr)},useDebugValue:Cc,useDeferredValue:function(e,t){var a=ot();return Ip(a,ke.memoizedState,e,t)},useTransition:function(){var e=Bl(dr)[0],t=ot().memoizedState;return[typeof e=="boolean"?e:os(e),t]},useSyncExternalStore:pp,useId:Pp,useHostTransitionStatus:Dc,useFormState:Rp,useActionState:Rp,useOptimistic:function(e,t){var a=ot();return Ep(a,ke,e,t)},useMemoCache:Ac,useCacheRefresh:Vp},JE={readContext:Dt,use:Dl,useCallback:zp,useContext:Dt,useEffect:Bp,useImperativeHandle:Hp,useInsertionEffect:Lp,useLayoutEffect:Up,useMemo:kp,useReducer:Oc,useRef:Mp,useState:function(){return Oc(dr)},useDebugValue:Cc,useDeferredValue:function(e,t){var a=ot();return ke===null?Nc(a,e,t):Ip(a,ke.memoizedState,e,t)},useTransition:function(){var e=Oc(dr)[0],t=ot().memoizedState;return[typeof e=="boolean"?e:os(e),t]},useSyncExternalStore:pp,useId:Pp,useHostTransitionStatus:Dc,useFormState:Np,useActionState:Np,useOptimistic:function(e,t){var a=ot();return ke!==null?Ep(a,ke,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Ac,useCacheRefresh:Vp},ci=null,fs=0;function zl(e){var t=fs;return fs+=1,ci===null&&(ci=[]),lp(ci,e,t)}function hs(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function kl(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 $p(e){var t=e._init;return t(e._payload)}function Wp(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=or(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=ec(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&&$p(ae)===C.type)?(C=o(C,B.props),hs(C,B),C.return=D,C):(C=El(B.type,B.key,B.props,null,D.mode,P),hs(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=tc(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=ga(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=ec(""+C,D.mode,B),C.return=D,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case O:return B=El(C.type,C.key,C.props,null,D.mode,B),hs(B,C),B.return=D,B;case L:return C=tc(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=ga(C,D.mode,B,null),C.return=D,C;if(typeof C.then=="function")return Y(D,zl(C),B);if(C.$$typeof===b)return Y(D,xl(D,C),B);kl(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,zl(B),P);if(B.$$typeof===b)return j(D,C,xl(D,B),P);kl(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,zl(P),ae);if(P.$$typeof===b)return z(D,C,B,xl(C,P),ae);kl(C,P)}return null}function ge(D,C,B,P){for(var ae=null,Se=null,fe=C,pe=C=0,yt=null;fe!==null&&pe<B.length;pe++){fe.index>pe?(yt=fe,fe=null):yt=fe.sibling;var De=j(D,fe,B[pe],P);if(De===null){fe===null&&(fe=yt);break}e&&fe&&De.alternate===null&&t(D,fe),C=f(De,C,pe),Se===null?ae=De:Se.sibling=De,Se=De,fe=yt}if(pe===B.length)return a(D,fe),Be&&_a(D,pe),ae;if(fe===null){for(;pe<B.length;pe++)fe=Y(D,B[pe],P),fe!==null&&(C=f(fe,C,pe),Se===null?ae=fe:Se.sibling=fe,Se=fe);return Be&&_a(D,pe),ae}for(fe=l(fe);pe<B.length;pe++)yt=z(fe,D,pe,B[pe],P),yt!==null&&(e&&yt.alternate!==null&&fe.delete(yt.key===null?pe:yt.key),C=f(yt,C,pe),Se===null?ae=yt:Se.sibling=yt,Se=yt);return e&&fe.forEach(function(ta){return t(D,ta)}),Be&&_a(D,pe),ae}function me(D,C,B,P){if(B==null)throw Error(s(151));for(var ae=null,Se=null,fe=C,pe=C=0,yt=null,De=B.next();fe!==null&&!De.done;pe++,De=B.next()){fe.index>pe?(yt=fe,fe=null):yt=fe.sibling;var ta=j(D,fe,De.value,P);if(ta===null){fe===null&&(fe=yt);break}e&&fe&&ta.alternate===null&&t(D,fe),C=f(ta,C,pe),Se===null?ae=ta:Se.sibling=ta,Se=ta,fe=yt}if(De.done)return a(D,fe),Be&&_a(D,pe),ae;if(fe===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&&_a(D,pe),ae}for(fe=l(fe);!De.done;pe++,De=B.next())De=z(fe,D,pe,De.value,P),De!==null&&(e&&De.alternate!==null&&fe.delete(De.key===null?pe:De.key),C=f(De,C,pe),Se===null?ae=De:Se.sibling=De,Se=De);return e&&fe.forEach(function(eS){return t(D,eS)}),Be&&_a(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&&$p(ae)===C.type){a(D,C.sibling),P=o(C,B.props),hs(P,B),P.return=D,D=P;break e}a(D,C);break}else t(D,C);C=C.sibling}B.type===M?(P=ga(B.props.children,D.mode,P,B.key),P.return=D,D=P):(P=El(B.type,B.key,B.props,null,D.mode,P),hs(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=tc(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,zl(B),P);if(B.$$typeof===b)return Ge(D,C,xl(D,B),P);kl(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=ec(B,D.mode,P),P.return=D,D=P),p(D)):a(D,C)}return function(D,C,B,P){try{fs=0;var ae=Ge(D,C,B,P);return ci=null,ae}catch(fe){if(fe===ns||fe===wl)throw fe;var Se=Jt(29,fe,null,D.mode);return Se.lanes=P,Se.return=D,Se}finally{}}}var fi=Wp(!0),Jp=Wp(!1),_n=q(null),Pn=null;function Ir(e){var t=e.alternate;X(mt,mt.current&1),X(_n,e),Pn===null&&(t===null||si.current!==null||t.memoizedState!==null)&&(Pn=e)}function e0(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 Gr()}function Gr(){X(mt,mt.current),X(_n,_n.current)}function mr(e){W(_n),Pn===e&&(Pn=null),W(mt)}var mt=q(0);function Il(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==="$?"||Af(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 Lc(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 Uc={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=rn(),o=Hr(l);o.payload=t,a!=null&&(o.callback=a),t=zr(e,o,l),t!==null&&(an(t,e,l),as(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=rn(),o=Hr(l);o.tag=1,o.payload=t,a!=null&&(o.callback=a),t=zr(e,o,l),t!==null&&(an(t,e,l),as(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=rn(),l=Hr(a);l.tag=2,t!=null&&(l.callback=t),t=zr(e,l,a),t!==null&&(an(t,e,a),as(t,e,a))}};function t0(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?!Xi(a,l)||!Xi(o,f):!0}function n0(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&&Uc.enqueueReplaceState(t,t.state,null)}function xa(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 Gl=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 r0(e){Gl(e)}function a0(e){console.error(e)}function i0(e){Gl(e)}function ql(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function s0(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 jc(e,t,a){return a=Hr(a),a.tag=3,a.payload={element:null},a.callback=function(){ql(e,t)},a}function l0(e){return e=Hr(e),e.tag=3,e}function o0(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(){s0(t,a,l)}}var p=a.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){s0(t,a,l),typeof o!="function"&&(Zr===null?Zr=new Set([this]):Zr.add(this));var v=l.stack;this.componentDidCatch(l.value,{componentStack:v!==null?v:""})})}function e2(e,t,a,l,o){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=a.alternate,t!==null&&Ji(t,a,o,!0),a=_n.current,a!==null){switch(a.tag){case 13:return Pn===null?lf():a.alternate===null&&et===0&&(et=3),a.flags&=-257,a.flags|=65536,a.lanes=o,l===fc?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),uf(e,l,o)),!1;case 22:return a.flags|=65536,l===fc?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)),uf(e,l,o)),!1}throw Error(s(435,a.tag))}return uf(e,l,o),lf(),!1}if(Be)return t=_n.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,l!==ac&&(e=Error(s(422),{cause:l}),Wi(mn(e,a)))):(l!==ac&&(t=Error(s(423),{cause:l}),Wi(mn(t,a))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,l=mn(l,a),o=jc(e.stateNode,l,o),mc(e,o),et!==4&&(et=2)),!1;var f=Error(s(520),{cause:l});if(f=mn(f,a),vs===null?vs=[f]:vs.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=jc(a.stateNode,l,e),mc(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"&&(Zr===null||!Zr.has(f))))return a.flags|=65536,o&=-o,a.lanes|=o,o=l0(o),o0(o,e,a,l),mc(a,o),!1}a=a.return}while(a!==null);return!1}var u0=Error(s(461)),pt=!1;function St(e,t,a,l){t.child=e===null?Jp(t,null,a,l):fi(t,e.child,a,l)}function c0(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 Sa(t),l=vc(e,t,a,p,f,o),v=bc(),e!==null&&!pt?(Ec(e,t,o),pr(e,t,o)):(Be&&v&&nc(t),t.flags|=1,St(e,t,l,o),t.child)}function f0(e,t,a,l,o){if(e===null){var f=a.type;return typeof f=="function"&&!Ju(f)&&f.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=f,h0(e,t,f,l,o)):(e=El(a.type,null,l,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,!Pc(e,o)){var p=f.memoizedProps;if(a=a.compare,a=a!==null?a:Xi,a(p,l)&&e.ref===t.ref)return pr(e,t,o)}return t.flags|=1,e=or(f,l),e.ref=t.ref,e.return=t,t.child=e}function h0(e,t,a,l,o){if(e!==null){var f=e.memoizedProps;if(Xi(f,l)&&e.ref===t.ref)if(pt=!1,t.pendingProps=l=f,Pc(e,o))(e.flags&131072)!==0&&(pt=!0);else return t.lanes=e.lanes,pr(e,t,o)}return Hc(e,t,a,l,o)}function d0(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 m0(e,t,l,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ol(t,f!==null?f.cachePool:null),f!==null?hp(t,f):gc(),e0(t);else return t.lanes=t.childLanes=536870912,m0(e,t,f!==null?f.baseLanes|a:a,a)}else f!==null?(Ol(t,f.cachePool),hp(t,f),Gr(),t.memoizedState=null):(e!==null&&Ol(t,null),gc(),Gr());return St(e,t,o,a),t.child}function m0(e,t,a,l){var o=cc();return o=o===null?null:{parent:dt._currentValue,pool:o},t.memoizedState={baseLanes:a,cachePool:o},e!==null&&Ol(t,null),gc(),e0(t),e!==null&&Ji(e,t,l,!0),null}function Fl(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 Hc(e,t,a,l,o){return Sa(t),a=vc(e,t,a,l,void 0,o),l=bc(),e!==null&&!pt?(Ec(e,t,o),pr(e,t,o)):(Be&&l&&nc(t),t.flags|=1,St(e,t,a,o),t.child)}function p0(e,t,a,l,o,f){return Sa(t),t.updateQueue=null,a=mp(t,l,a,o),dp(e),l=bc(),e!==null&&!pt?(Ec(e,t,f),pr(e,t,f)):(Be&&l&&nc(t),t.flags|=1,St(e,t,a,f),t.child)}function g0(e,t,a,l,o){if(Sa(t),t.stateNode===null){var f=ti,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=Uc,t.stateNode=f,f._reactInternals=t,f=t.stateNode,f.props=l,f.state=t.memoizedState,f.refs={},hc(t),p=a.contextType,f.context=typeof p=="object"&&p!==null?Dt(p):ti,f.state=t.memoizedState,p=a.getDerivedStateFromProps,typeof p=="function"&&(Lc(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&&Uc.enqueueReplaceState(f,f.state,null),ss(t,l,f,o),is(),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=xa(a,v);f.props=w;var U=f.context,F=a.contextType;p=ti,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)&&n0(t,f,l,p),jr=!1;var j=t.memoizedState;f.state=j,ss(t,l,f,o),is(),U=t.memoizedState,v||j!==U||jr?(typeof Y=="function"&&(Lc(t,a,Y,l),U=t.memoizedState),(w=jr||t0(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,dc(e,t),p=t.memoizedProps,F=xa(a,p),f.props=F,Y=t.pendingProps,j=f.context,U=a.contextType,w=ti,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)&&n0(t,f,l,w),jr=!1,j=t.memoizedState,f.state=j,ss(t,l,f,o),is();var z=t.memoizedState;p!==Y||j!==z||jr||e!==null&&e.dependencies!==null&&Al(e.dependencies)?(typeof v=="function"&&(Lc(t,a,v,l),z=t.memoizedState),(F=jr||t0(t,a,F,l,j,z,w)||e!==null&&e.dependencies!==null&&Al(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,Fl(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=fi(t,e.child,null,o),t.child=fi(t,null,a,o)):St(e,t,a,o),t.memoizedState=f.state,e=t.child):e=pr(e,t,o),e}function y0(e,t,a,l){return $i(),t.flags|=256,St(e,t,a,l),t.child}var zc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function kc(e){return{baseLanes:e,cachePool:ap()}}function Ic(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=vn),e}function _0(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?Ir(t):Gr(),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:ya!==null?{id:ur,overflow:cr}: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||ba(t)}if(v=t.memoizedState,v!==null&&(v=v.dehydrated,v!==null))return Af(v)?t.lanes=32:t.lanes=536870912,null;mr(t)}return v=l.children,l=l.fallback,o?(Gr(),o=t.mode,v=Pl({mode:"hidden",children:v},o),l=ga(l,o,a,null),v.return=t,l.return=t,v.sibling=l,t.child=v,o=t.child,o.memoizedState=kc(a),o.childLanes=Ic(e,p,a),t.memoizedState=zc,l):(Ir(t),Gc(t,v))}if(w=e.memoizedState,w!==null&&(v=w.dehydrated,v!==null)){if(f)t.flags&256?(Ir(t),t.flags&=-257,t=qc(e,t,a)):t.memoizedState!==null?(Gr(),t.child=e.child,t.flags|=128,t=null):(Gr(),o=l.fallback,v=t.mode,l=Pl({mode:"visible",children:l.children},v),o=ga(o,v,a,null),o.flags|=2,l.return=t,o.return=t,l.sibling=o,t.child=l,fi(t,e.child,null,a),l=t.child,l.memoizedState=kc(a),l.childLanes=Ic(e,p,a),t.memoizedState=zc,t=o);else if(Ir(t),Af(v)){if(p=v.nextSibling&&v.nextSibling.dataset,p)var U=p.dgst;p=U,l=Error(s(419)),l.stack="",l.digest=p,Wi({value:l,source:null,stack:null}),t=qc(e,t,a)}else if(pt||Ji(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,ei(e,l),an(p,e,l),u0;v.data==="$?"||lf(),t=qc(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,va=null,Fn=!1,e!==null&&(gn[yn++]=ur,gn[yn++]=cr,gn[yn++]=ya,ur=e.id,cr=e.overflow,ya=t),t=Gc(t,l.children),t.flags|=4096);return t}return o?(Gr(),o=l.fallback,v=t.mode,w=e.child,U=w.sibling,l=or(w,{mode:"hidden",children:l.children}),l.subtreeFlags=w.subtreeFlags&65011712,U!==null?o=or(U,o):(o=ga(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=kc(a):(w=v.cachePool,w!==null?(U=dt._currentValue,w=w.parent!==U?{parent:U,pool:U}:w):w=ap(),v={baseLanes:v.baseLanes|a,cachePool:w}),o.memoizedState=v,o.childLanes=Ic(e,p,a),t.memoizedState=zc,l):(Ir(t),a=e.child,e=a.sibling,a=or(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 Gc(e,t){return t=Pl({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Pl(e,t){return e=Jt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function qc(e,t,a){return fi(t,e.child,null,a),e=Gc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function v0(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),sc(e.return,t,a)}function Fc(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 b0(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&&v0(e,a,t);else if(e.tag===19)v0(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&&Il(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),Fc(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&&Il(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}Fc(t,!0,a,null,f);break;case"together":Fc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function pr(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Yr|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Ji(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=or(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=or(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Pc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Al(e)))}function t2(e,t,a){switch(t.tag){case 3:Ue(t,t.stateNode.containerInfo),Ur(t,dt,e.memoizedState.cache),$i();break;case 27:case 5:kn(t);break;case 4:Ue(t,t.stateNode.containerInfo);break;case 10:Ur(t,t.type,t.memoizedProps.value);break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Ir(t),t.flags|=128,null):(a&t.child.childLanes)!==0?_0(e,t,a):(Ir(t),e=pr(e,t,a),e!==null?e.sibling:null);Ir(t);break;case 19:var o=(e.flags&128)!==0;if(l=(a&t.childLanes)!==0,l||(Ji(e,t,a,!1),l=(a&t.childLanes)!==0),o){if(l)return b0(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,d0(e,t,a);case 24:Ur(t,dt,e.memoizedState.cache)}return pr(e,t,a)}function E0(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)pt=!0;else{if(!Pc(e,a)&&(t.flags&128)===0)return pt=!1,t2(e,t,a);pt=(e.flags&131072)!==0}else pt=!1,Be&&(t.flags&1048576)!==0&&$m(t,Tl,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")Ju(l)?(e=xa(l,e),t.tag=1,t=g0(null,t,l,e,a)):(t.tag=0,t=Hc(null,t,l,e,a));else{if(l!=null){if(o=l.$$typeof,o===x){t.tag=11,t=c0(null,t,l,e,a);break e}else if(o===Z){t.tag=14,t=f0(null,t,l,e,a);break e}}throw t=Ve(l)||l,Error(s(306,t,""))}}return t;case 0:return Hc(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,o=xa(l,t.pendingProps),g0(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,dc(e,t),ss(t,l,null,a);var p=t.memoizedState;if(l=p.cache,Ur(t,dt,l),l!==f.cache&&lc(t,[dt],a,!0),is(),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=y0(e,t,l,a);break e}else if(l!==o){o=mn(Error(s(424)),t),Wi(o),t=y0(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,va=null,Fn=!0,a=Jp(t,null,l,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if($i(),l===o){t=pr(e,t,a);break e}St(e,t,l,a)}t=t.child}return t;case 26:return Fl(e,t),e===null?(a=xg(t.type,null,t.pendingProps,null))?t.memoizedState=a:Be||(a=t.type,e=t.pendingProps,l=ao(he.current).createElement(a),l[ft]=t,l[Nt]=e,At(l,a,e),it(l),t.stateNode=l):t.memoizedState=xg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return kn(t),e===null&&Be&&(l=t.stateNode=Sg(t.type,t.pendingProps,he.current),Lt=t,Fn=!0,o=Je,Kr(t.type)?(xf=o,Je=Mn(l.firstChild)):Je=o),St(e,t,t.pendingProps.children,a),Fl(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Be&&((o=l=Je)&&(l=C2(l,t.type,t.pendingProps,Fn),l!==null?(t.stateNode=l,Lt=t,Je=Mn(l.firstChild),Fn=!1,o=!0):o=!1),o||ba(t)),kn(t),o=t.type,f=t.pendingProps,p=e!==null?e.memoizedProps:null,l=f.children,Ef(o,f)?l=null:p!==null&&Ef(o,p)&&(t.flags|=32),t.memoizedState!==null&&(o=vc(e,t,ZE,null,null,a),Rs._currentValue=o),Fl(e,t),St(e,t,l,a),t.child;case 6:return e===null&&Be&&((e=a=Je)&&(a=N2(a,t.pendingProps,Fn),a!==null?(t.stateNode=a,Lt=t,Je=null,e=!0):e=!1),e||ba(t)),null;case 13:return _0(e,t,a);case 4:return Ue(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=fi(t,null,l,a):St(e,t,l,a),t.child;case 11:return c0(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,Ur(t,t.type,l.value),St(e,t,l.children,a),t.child;case 9:return o=t.type._context,l=t.pendingProps.children,Sa(t),o=Dt(o),l=l(o),t.flags|=1,St(e,t,l,a),t.child;case 14:return f0(e,t,t.type,t.pendingProps,a);case 15:return h0(e,t,t.type,t.pendingProps,a);case 19:return b0(e,t,a);case 31:return l=t.pendingProps,a=t.mode,l={mode:l.mode,children:l.children},e===null?(a=Pl(l,a),a.ref=t.ref,t.child=a,a.return=t,t=a):(a=or(e.child,l),a.ref=t.ref,t.child=a,a.return=t,t=a),t;case 22:return d0(e,t,a);case 24:return Sa(t),l=Dt(dt),e===null?(o=cc(),o===null&&(o=Pe,f=oc(),o.pooledCache=f,f.refCount++,f!==null&&(o.pooledCacheLanes|=a),o=f),t.memoizedState={parent:l,cache:o},hc(t),Ur(t,dt,o)):((e.lanes&a)!==0&&(dc(e,t),ss(t,null,null,a),is()),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),Ur(t,dt,l)):(l=f.cache,Ur(t,dt,l),l!==o.cache&&lc(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 gr(e){e.flags|=4}function S0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Ng(t)){if(t=_n.current,t!==null&&((Ne&4194048)===Ne?Pn!==null:(Ne&62914560)!==Ne&&(Ne&536870912)===0||t!==Pn))throw rs=fc,ip;e.flags|=8192}}function Vl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ha():536870912,e.lanes|=t,pi|=t)}function ds(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 n2(e,t,a){var l=t.pendingProps;switch(rc(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),hr(dt),vt(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ki(t)?gr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ep())),Qe(t),null;case 26:return a=t.memoizedState,e===null?(gr(t),a!==null?(Qe(t),S0(t,a)):(Qe(t),t.flags&=-16777217)):a?a!==e.memoizedState?(gr(t),Qe(t),S0(t,a)):(Qe(t),t.flags&=-16777217):(e.memoizedProps!==l&&gr(t),Qe(t),t.flags&=-16777217),null;case 27:Cr(t),a=he.current;var o=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==l&&gr(t);else{if(!l){if(t.stateNode===null)throw Error(s(166));return Qe(t),null}e=re.current,Ki(t)?Wm(t):(e=Sg(o,l,a),t.stateNode=e,gr(t))}return Qe(t),null;case 5:if(Cr(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&gr(t);else{if(!l){if(t.stateNode===null)throw Error(s(166));return Qe(t),null}if(e=re.current,Ki(t))Wm(t);else{switch(o=ao(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&&gr(t)}}return Qe(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&gr(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(s(166));if(e=he.current,Ki(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||pg(e.nodeValue,a)),e||ba(t)}else e=ao(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=Ki(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 $i(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),o=!1}else o=ep(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(mr(t),t):(mr(t),null)}if(mr(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),Vl(t,t.updateQueue),Qe(t),null;case 4:return vt(),e===null&&gf(t.stateNode.containerInfo),Qe(t),null;case 10:return hr(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)ds(o,!1);else{if(et!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=Il(e),f!==null){for(t.flags|=128,ds(o,!1),e=f.updateQueue,t.updateQueue=e,Vl(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Km(a,e),a=a.sibling;return X(mt,mt.current&1|2),t.child}e=e.sibling}o.tail!==null&&bt()>Xl&&(t.flags|=128,l=!0,ds(o,!1),t.lanes=4194304)}else{if(!l)if(e=Il(f),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Vl(t,e),ds(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!Be)return Qe(t),null}else 2*bt()-o.renderingStartTime>Xl&&a!==536870912&&(t.flags|=128,l=!0,ds(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 mr(t),yc(),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&&Vl(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(Ta),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),hr(dt),Qe(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function r2(e,t){switch(rc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hr(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 Cr(t),null;case 13:if(mr(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));$i()}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 hr(t.type),null;case 22:case 23:return mr(t),yc(),e!==null&&W(Ta),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return hr(dt),null;case 25:return null;default:return null}}function T0(e,t){switch(rc(t),t.tag){case 3:hr(dt),vt();break;case 26:case 27:case 5:Cr(t);break;case 4:vt();break;case 13:mr(t);break;case 19:W(mt);break;case 10:hr(t.type);break;case 22:case 23:mr(t),yc(),e!==null&&W(Ta);break;case 24:hr(dt)}}function ms(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 qr(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 A0(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{fp(t,a)}catch(l){qe(e,e.return,l)}}}function x0(e,t,a){a.props=xa(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){qe(e,t,l)}}function ps(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 O0(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 Vc(e,t,a){try{var l=e.stateNode;A2(l,e.type,a,t),l[Nt]=t}catch(o){qe(e,e.return,o)}}function w0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Kr(e.type)||e.tag===4}function Yc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||w0(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&&Kr(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 Zc(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=ro));else if(l!==4&&(l===27&&Kr(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Zc(e,t,a),e=e.sibling;e!==null;)Zc(e,t,a),e=e.sibling}function Yl(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&&Kr(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Yl(e,t,a),e=e.sibling;e!==null;)Yl(e,t,a),e=e.sibling}function R0(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 yr=!1,at=!1,Xc=!1,C0=typeof WeakSet=="function"?WeakSet:Set,gt=null;function a2(e,t){if(e=e.containerInfo,vf=co,e=Im(e),Yu(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(bf={focusedElem:e,selectionRange:a},co=!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=xa(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)Tf(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Tf(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 N0(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:Fr(e,a),l&4&&ms(5,a);break;case 1:if(Fr(e,a),l&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(p){qe(a,a.return,p)}else{var o=xa(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(p){qe(a,a.return,p)}}l&64&&A0(a),l&512&&ps(a,a.return);break;case 3:if(Fr(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{fp(e,t)}catch(p){qe(a,a.return,p)}}break;case 27:t===null&&l&4&&R0(a);case 26:case 5:Fr(e,a),t===null&&l&4&&O0(a),l&512&&ps(a,a.return);break;case 12:Fr(e,a);break;case 13:Fr(e,a),l&4&&B0(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=d2.bind(null,a),M2(e,a))));break;case 22:if(l=a.memoizedState!==null||yr,!l){t=t!==null&&t.memoizedState!==null||at,o=yr;var f=at;yr=l,(at=t)&&!f?Pr(e,a,(a.subtreeFlags&8772)!==0):Fr(e,a),yr=o,at=f}break;case 30:break;default:Fr(e,a)}}function M0(e){var t=e.alternate;t!==null&&(e.alternate=null,M0(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 _r(e,t,a){for(a=a.child;a!==null;)D0(e,t,a),a=a.sibling}function D0(e,t,a){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(fn,a)}catch{}switch(a.tag){case 26:at||Vn(a,t),_r(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;Kr(a.type)&&(Ze=a.stateNode,Yt=!1),_r(e,t,a),As(a.stateNode),Ze=l,Yt=o;break;case 5:at||Vn(a,t);case 6:if(l=Ze,o=Yt,Ze=null,_r(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,bg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Ds(e)):bg(Ze,a.stateNode));break;case 4:l=Ze,o=Yt,Ze=a.stateNode.containerInfo,Yt=!0,_r(e,t,a),Ze=l,Yt=o;break;case 0:case 11:case 14:case 15:at||qr(2,a,t),at||qr(4,a,t),_r(e,t,a);break;case 1:at||(Vn(a,t),l=a.stateNode,typeof l.componentWillUnmount=="function"&&x0(a,t,l)),_r(e,t,a);break;case 21:_r(e,t,a);break;case 22:at=(l=at)||a.memoizedState!==null,_r(e,t,a),at=l;break;default:_r(e,t,a)}}function B0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ds(e)}catch(a){qe(t,t.return,a)}}function i2(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new C0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new C0),t;default:throw Error(s(435,e.tag))}}function Qc(e,t){var a=i2(e);t.forEach(function(l){var o=m2.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(Kr(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));D0(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;)L0(t,e),t=t.sibling}var Nn=null;function L0(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&&(qr(3,e,e.return),ms(3,e),qr(5,e,e.return));break;case 1:en(t,e),tn(e),l&512&&(at||a===null||Vn(a,a.return)),l&64&&yr&&(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[Dr]||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=Rg("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=Rg("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 Cg(o,e.type,e.stateNode);else e.stateNode=wg(o,l,e.memoizedProps);else f!==l?(f===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):f.count--,l===null?Cg(o,e.type,e.stateNode):wg(o,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Vc(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&&Vc(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{Za(o,"")}catch(z){qe(e,e.return,z)}}l&4&&e.stateNode!=null&&(o=e.memoizedProps,Vc(e,o,a!==null?a.memoizedProps:o)),l&1024&&(Xc=!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(lo=null,o=Nn,Nn=io(t.containerInfo),en(t,e),Nn=o,tn(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{Ds(t.containerInfo)}catch(z){qe(e,e.return,z)}Xc&&(Xc=!1,U0(e));break;case 4:l=Nn,Nn=io(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)&&(tf=bt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Qc(e,l)));break;case 22:o=e.memoizedState!==null;var w=a!==null&&a.memoizedState!==null,U=yr,F=at;if(yr=U||o,at=F||w,en(t,e),at=F,yr=U,tn(e),l&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(a===null||w||yr||at||Oa(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,Qc(e,a))));break;case 19:en(t,e),tn(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Qc(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(w0(l)){a=l;break}l=l.return}if(a==null)throw Error(s(160));switch(a.tag){case 27:var o=a.stateNode,f=Yc(e);Yl(e,f,o);break;case 5:var p=a.stateNode;a.flags&32&&(Za(p,""),a.flags&=-33);var v=Yc(e);Yl(e,v,p);break;case 3:case 4:var w=a.stateNode.containerInfo,U=Yc(e);Zc(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 U0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;U0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Fr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)N0(e,t.alternate,t),t=t.sibling}function Oa(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:qr(4,t,t.return),Oa(t);break;case 1:Vn(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&x0(t,t.return,a),Oa(t);break;case 27:As(t.stateNode);case 26:case 5:Vn(t,t.return),Oa(t);break;case 22:t.memoizedState===null&&Oa(t);break;case 30:Oa(t);break;default:Oa(t)}e=e.sibling}}function Pr(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:Pr(o,f,a),ms(4,f);break;case 1:if(Pr(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++)cp(w[o],v)}catch(U){qe(l,l.return,U)}}a&&p&64&&A0(f),ps(f,f.return);break;case 27:R0(f);case 26:case 5:Pr(o,f,a),a&&l===null&&p&4&&O0(f),ps(f,f.return);break;case 12:Pr(o,f,a);break;case 13:Pr(o,f,a),a&&p&4&&B0(o,f);break;case 22:f.memoizedState===null&&Pr(o,f,a),ps(f,f.return);break;case 30:break;default:Pr(o,f,a)}t=t.sibling}}function Kc(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&&es(a))}function $c(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&es(e))}function Yn(e,t,a,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)j0(e,t,a,l),t=t.sibling}function j0(e,t,a,l){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Yn(e,t,a,l),o&2048&&ms(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&&es(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):gs(e,t):f._visibility&2?Yn(e,t,a,l):(f._visibility|=2,hi(e,t,a,l,(t.subtreeFlags&10256)!==0)),o&2048&&Kc(p,t);break;case 24:Yn(e,t,a,l),o&2048&&$c(t.alternate,t);break;default:Yn(e,t,a,l)}}function hi(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:hi(f,p,v,w,o),ms(8,p);break;case 23:break;case 22:var F=p.stateNode;p.memoizedState!==null?F._visibility&2?hi(f,p,v,w,o):gs(f,p):(F._visibility|=2,hi(f,p,v,w,o)),o&&U&2048&&Kc(p.alternate,p);break;case 24:hi(f,p,v,w,o),o&&U&2048&&$c(p.alternate,p);break;default:hi(f,p,v,w,o)}t=t.sibling}}function gs(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:gs(a,l),o&2048&&Kc(l.alternate,l);break;case 24:gs(a,l),o&2048&&$c(l.alternate,l);break;default:gs(a,l)}t=t.sibling}}var ys=8192;function di(e){if(e.subtreeFlags&ys)for(e=e.child;e!==null;)H0(e),e=e.sibling}function H0(e){switch(e.tag){case 26:di(e),e.flags&ys&&e.memoizedState!==null&&P2(Nn,e.memoizedState,e.memoizedProps);break;case 5:di(e);break;case 3:case 4:var t=Nn;Nn=io(e.stateNode.containerInfo),di(e),Nn=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=ys,ys=16777216,di(e),ys=t):di(e));break;default:di(e)}}function z0(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 _s(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,I0(l,e)}z0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)k0(e),e=e.sibling}function k0(e){switch(e.tag){case 0:case 11:case 15:_s(e),e.flags&2048&&qr(9,e,e.return);break;case 3:_s(e);break;case 12:_s(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Zl(e)):_s(e);break;default:_s(e)}}function Zl(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,I0(l,e)}z0(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:qr(8,t,t.return),Zl(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Zl(t));break;default:Zl(t)}e=e.sibling}}function I0(e,t){for(;gt!==null;){var a=gt;switch(a.tag){case 0:case 11:case 15:qr(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:es(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(M0(l),l===a){gt=null;break e}if(o!==null){o.return=f,gt=o;break e}gt=f}}}var s2={getCacheForType:function(e){var t=Dt(dt),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a}},l2=typeof WeakMap=="function"?WeakMap:Map,je=0,Pe=null,Ae=null,Ne=0,He=0,nn=null,Vr=!1,mi=!1,Wc=!1,vr=0,et=0,Yr=0,wa=0,Jc=0,vn=0,pi=0,vs=null,Zt=null,ef=!1,tf=0,Xl=1/0,Ql=null,Zr=null,Tt=0,Xr=null,gi=null,yi=0,nf=0,rf=null,G0=null,bs=0,af=null;function rn(){if((je&2)!==0&&Ne!==0)return Ne&-Ne;if(G.T!==null){var e=ai;return e!==0?e:hf()}return zi()}function q0(){vn===0&&(vn=(Ne&536870912)===0||Be?fa():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)&&(_i(e,0),Qr(e,Ne,vn,!1)),wn(e,a),((je&2)===0||e!==Pe)&&(e===Pe&&((je&2)===0&&(wa|=a),et===4&&Qr(e,Ne,vn,!1)),Zn(e))}function F0(e,t,a){if((je&6)!==0)throw Error(s(327));var l=!a&&(t&124)===0&&(t&e.expiredLanes)===0||nr(e,t),o=l?c2(e,t):of(e,t,!0),f=l;do{if(o===0){mi&&!l&&Qr(e,t,0,!1);break}else{if(a=e.current.alternate,f&&!o2(a)){o=of(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=vs;var w=v.current.memoizedState.isDehydrated;if(w&&(_i(v,p).flags|=256),p=of(v,p,!1),p!==2){if(Wc&&!w){v.errorRecoveryDisabledLanes|=f,wa|=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){_i(e,0),Qr(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:Qr(l,t,vn,!Vr);break e;case 2:Zt=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(o=tf+300-bt(),10<o)){if(Qr(l,t,vn,!Vr),Mr(l,0,!0)!==0)break e;l.timeoutHandle=_g(P0.bind(null,l,a,Zt,Ql,ef,t,vn,wa,pi,Vr,f,2,-0,0),o);break e}P0(l,a,Zt,Ql,ef,t,vn,wa,pi,Vr,f,0,-0,0)}}break}while(!0);Zn(e)}function P0(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)&&(ws={stylesheets:null,count:0,unsuspend:F2},H0(t),Y=V2(),Y!==null)){e.cancelPendingCommit=Y($0.bind(null,e,t,f,a,l,o,p,v,w,F,1,j,z)),Qr(e,f,p,!U);return}$0(e,t,f,a,l,o,p,v,w)}function o2(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 Qr(e,t,a,l){t&=~Jc,t&=~wa,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&&sl(e,a,t)}function Kl(){return(je&6)===0?(Es(0),!1):!0}function sf(){if(Ae!==null){if(He===0)var e=Ae.return;else e=Ae,fr=Ea=null,Sc(e),ci=null,fs=0,e=Ae;for(;e!==null;)T0(e.alternate,e),e=e.return;Ae=null}}function _i(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,O2(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),sf(),Pe=e,Ae=a=or(e.current,null),Ne=t,He=0,nn=null,Vr=!1,mi=nr(e,t),Wc=!1,pi=vn=Jc=wa=Yr=et=0,Zt=vs=null,ef=!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 vr=t,_l(),a}function V0(e,t){Ee=null,G.H=Hl,t===ns||t===wl?(t=op(),He=3):t===ip?(t=op(),He=4):He=t===u0?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,nn=t,Ae===null&&(et=1,ql(e,mn(t,e.current)))}function Y0(){var e=G.H;return G.H=Hl,e===null?Hl:e}function Z0(){var e=G.A;return G.A=s2,e}function lf(){et=4,Vr||(Ne&4194048)!==Ne&&_n.current!==null||(mi=!0),(Yr&134217727)===0&&(wa&134217727)===0||Pe===null||Qr(Pe,Ne,vn,!1)}function of(e,t,a){var l=je;je|=2;var o=Y0(),f=Z0();(Pe!==e||Ne!==t)&&(Ql=null,_i(e,t)),t=!1;var p=et;e:do try{if(He!==0&&Ae!==null){var v=Ae,w=nn;switch(He){case 8:sf(),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,vi(e,v,w,U),a&&mi){p=0;break e}break;default:U=He,He=0,nn=null,vi(e,v,w,U)}}u2(),p=et;break}catch(F){V0(e,F)}while(!0);return t&&e.shellSuspendCounter++,fr=Ea=null,je=l,G.H=o,G.A=f,Ae===null&&(Pe=null,Ne=0,_l()),p}function u2(){for(;Ae!==null;)X0(Ae)}function c2(e,t){var a=je;je|=2;var l=Y0(),o=Z0();Pe!==e||Ne!==t?(Ql=null,Xl=bt()+500,_i(e,t)):mi=nr(e,t);e:do try{if(He!==0&&Ae!==null){t=Ae;var f=nn;t:switch(He){case 1:He=0,nn=null,vi(e,t,f,1);break;case 2:case 9:if(sp(f)){He=0,nn=null,Q0(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:sp(f)?(He=0,nn=null,Q0(t)):(He=0,nn=null,vi(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||Ng(p)){He=0,nn=null;var w=v.sibling;if(w!==null)Ae=w;else{var U=v.return;U!==null?(Ae=U,$l(U)):Ae=null}break t}}He=0,nn=null,vi(e,t,f,5);break;case 6:He=0,nn=null,vi(e,t,f,6);break;case 8:sf(),et=6;break e;default:throw Error(s(462))}}f2();break}catch(F){V0(e,F)}while(!0);return fr=Ea=null,G.H=l,G.A=o,je=a,Ae!==null?0:(Pe=null,Ne=0,_l(),et)}function f2(){for(;Ae!==null&&!Di();)X0(Ae)}function X0(e){var t=E0(e.alternate,e,vr);e.memoizedProps=e.pendingProps,t===null?$l(e):Ae=t}function Q0(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=p0(a,t,t.pendingProps,t.type,void 0,Ne);break;case 11:t=p0(a,t,t.pendingProps,t.type.render,t.ref,Ne);break;case 5:Sc(t);default:T0(a,t),t=Ae=Km(t,vr),t=E0(a,t,vr)}e.memoizedProps=e.pendingProps,t===null?$l(e):Ae=t}function vi(e,t,a,l){fr=Ea=null,Sc(t),ci=null,fs=0;var o=t.return;try{if(e2(e,o,t,a,Ne)){et=1,ql(e,mn(a,e.current)),Ae=null;return}}catch(f){if(o!==null)throw Ae=o,f;et=1,ql(e,mn(a,e.current)),Ae=null;return}t.flags&32768?(Be||l===1?e=!0:mi||(Ne&536870912)!==0?e=!1:(Vr=e=!0,(l===2||l===9||l===3||l===6)&&(l=_n.current,l!==null&&l.tag===13&&(l.flags|=16384))),K0(t,e)):$l(t)}function $l(e){var t=e;do{if((t.flags&32768)!==0){K0(t,Vr);return}e=t.return;var a=n2(t.alternate,t,vr);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 K0(e,t){do{var a=r2(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 $0(e,t,a,l,o,f,p,v,w){e.cancelPendingCommit=null;do Wl();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|=$u,Ru(e,a,f,p,v,w),e===Pe&&(Ae=Pe=null,Ne=0),gi=t,Xr=e,yi=a,nf=f,rf=o,G0=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,p2(ua,function(){return ng(),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{a2(e,t,a)}finally{je=p,$.p=o,G.T=l}}Tt=1,W0(),J0(),eg()}}function W0(){if(Tt===1){Tt=0;var e=Xr,t=gi,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{L0(t,e);var f=bf,p=Im(e.containerInfo),v=f.focusedElem,w=f.selectionRange;if(p!==v&&v&&v.ownerDocument&&km(v.ownerDocument.documentElement,v)){if(w!==null&&Yu(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=zm(v,me),C=zm(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}}co=!!vf,bf=vf=null}finally{je=o,$.p=l,G.T=a}}e.current=t,Tt=2}}function J0(){if(Tt===2){Tt=0;var e=Xr,t=gi,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{N0(e,t.alternate,t)}finally{je=o,$.p=l,G.T=a}}Tt=3}}function eg(){if(Tt===4||Tt===3){Tt=0,Bi();var e=Xr,t=gi,a=yi,l=G0;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Tt=5:(Tt=0,gi=Xr=null,tg(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(Zr=null),Hi(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}}(yi&3)!==0&&Wl(),Zn(e),o=e.pendingLanes,(a&4194090)!==0&&(o&42)!==0?e===af?bs++:(bs=0,af=e):bs=0,Es(0)}}function tg(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,es(t)))}function Wl(e){return W0(),J0(),eg(),ng()}function ng(){if(Tt!==5)return!1;var e=Xr,t=nf;nf=0;var a=Hi(yi),l=G.T,o=$.p;try{$.p=32>a?32:a,G.T=null,a=rf,rf=null;var f=Xr,p=yi;if(Tt=0,gi=Xr=null,yi=0,(je&6)!==0)throw Error(s(331));var v=je;if(je|=4,k0(f.current),j0(f,f.current,p,a),je=v,Es(0,!1),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(fn,f)}catch{}return!0}finally{$.p=o,G.T=l,tg(e,t)}}function rg(e,t,a){t=mn(a,t),t=jc(e.stateNode,t,2),e=zr(e,t,2),e!==null&&(wn(e,2),Zn(e))}function qe(e,t,a){if(e.tag===3)rg(e,e,a);else for(;t!==null;){if(t.tag===3){rg(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Zr===null||!Zr.has(l))){e=mn(a,e),a=l0(2),l=zr(t,a,2),l!==null&&(o0(a,l,t,e),wn(l,2),Zn(l));break}}t=t.return}}function uf(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new l2;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)||(Wc=!0,o.add(a),e=h2.bind(null,e,t,a),t.then(e,e))}function h2(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()-tf?(je&2)===0&&_i(e,0):Jc|=a,pi===Ne&&(pi=0)),Zn(e)}function ag(e,t){t===0&&(t=ha()),e=ei(e,t),e!==null&&(wn(e,t),Zn(e))}function d2(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),ag(e,a)}function m2(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),ag(e,a)}function p2(e,t){return It(e,t)}var Jl=null,bi=null,cf=!1,eo=!1,ff=!1,Ra=0;function Zn(e){e!==bi&&e.next===null&&(bi===null?Jl=bi=e:bi=bi.next=e),eo=!0,cf||(cf=!0,y2())}function Es(e,t){if(!ff&&eo){ff=!0;do for(var a=!1,l=Jl;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,og(l,f))}else f=Ne,f=Mr(l,l===Pe?f:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(f&3)===0||nr(l,f)||(a=!0,og(l,f));l=l.next}while(a);ff=!1}}function g2(){ig()}function ig(){eo=cf=!1;var e=0;Ra!==0&&(x2()&&(e=Ra),Ra=0);for(var t=bt(),a=null,l=Jl;l!==null;){var o=l.next,f=sg(l,t);f===0?(l.next=null,a===null?Jl=o:a.next=o,o===null&&(bi=a)):(a=l,(e!==0||(f&3)!==0)&&(eo=!0)),l=o}Es(e)}function sg(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]=wu(v,t)):w<=t&&(e.expiredLanes|=v),f&=~v}if(t=Pe,a=Ne,a=Mr(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||nr(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(l!==null&&xn(l),Hi(a)){case 2:case 8:a=Li;break;case 32:a=ua;break;case 268435456:a=Fa;break;default:a=ua}return l=lg.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 lg(e,t){if(Tt!==0&&Tt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Wl()&&e.callbackNode!==a)return null;var l=Ne;return l=Mr(e,e===Pe?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(F0(e,l,t),sg(e,bt()),e.callbackNode!=null&&e.callbackNode===a?lg.bind(null,e):null)}function og(e,t){if(Wl())return null;F0(e,t,!0)}function y2(){w2(function(){(je&6)!==0?It(oa,g2):ig()})}function hf(){return Ra===0&&(Ra=fa()),Ra}function ug(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:fl(""+e)}function cg(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 _2(e,t,a,l,o){if(t==="submit"&&a&&a.stateNode===o){var f=ug((o[Nt]||null).action),p=l.submitter;p&&(t=(t=p[Nt]||null)?ug(t.formAction):p.getAttribute("formAction"),t!==null&&(f=t,p=null));var v=new pl("action","action",null,l,o);e.push({event:v,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ra!==0){var w=p?cg(o,p):new FormData(o);Mc(a,{pending:!0,data:w,method:o.method,action:f},null,w)}}else typeof f=="function"&&(v.preventDefault(),w=p?cg(o,p):new FormData(o),Mc(a,{pending:!0,data:w,method:o.method,action:f},f,w))},currentTarget:o}]})}}for(var df=0;df<Ku.length;df++){var mf=Ku[df],v2=mf.toLowerCase(),b2=mf[0].toUpperCase()+mf.slice(1);Cn(v2,"on"+b2)}Cn(Fm,"onAnimationEnd"),Cn(Pm,"onAnimationIteration"),Cn(Vm,"onAnimationStart"),Cn("dblclick","onDoubleClick"),Cn("focusin","onFocus"),Cn("focusout","onBlur"),Cn(HE,"onTransitionRun"),Cn(zE,"onTransitionStart"),Cn(kE,"onTransitionCancel"),Cn(Ym,"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 Ss="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(" "),E2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ss));function fg(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){Gl(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){Gl(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)||(hg(t,e,2,!1),a.add(l))}function pf(e,t,a){var l=0;t&&(l|=4),hg(a,e,l,t)}var to="_reactListening"+Math.random().toString(36).slice(2);function gf(e){if(!e[to]){e[to]=!0,ce.forEach(function(a){a!=="selectionchange"&&(E2.has(a)||pf(a,!1,e),pf(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[to]||(t[to]=!0,pf("selectionchange",!1,t))}}function hg(e,t,a,l){switch(jg(t)){case 2:var o=X2;break;case 8:o=Q2;break;default:o=Nf}a=o.bind(null,t,a,e),o=void 0,!Hu||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 yf(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=rr(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}vm(function(){var U=f,F=Uu(a),Y=[];e:{var j=Zm.get(e);if(j!==void 0){var z=pl,ge=e;switch(e){case"keypress":if(dl(a)===0)break e;case"keydown":case"keyup":z=pE;break;case"focusin":ge="focus",z=Gu;break;case"focusout":ge="blur",z=Gu;break;case"beforeblur":case"afterblur":z=Gu;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=Sm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=rE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=_E;break;case Fm:case Pm:case Vm:z=sE;break;case Ym:z=bE;break;case"scroll":case"scrollend":z=tE;break;case"wheel":z=SE;break;case"copy":case"cut":case"paste":z=oE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=Am;break;case"toggle":case"beforetoggle":z=AE}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=Gi(C,D),P!=null&&me.push(Ts(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!==Lu&&(ge=a.relatedTarget||a.fromElement)&&(rr(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?rr(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=Sm,P="onMouseLeave",D="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(me=Am,P="onPointerLeave",D="onPointerEnter",C="pointer"),Ge=z==null?j:Br(z),B=ge==null?j:Br(ge),j=new me(P,C+"leave",z,a,F),j.target=Ge,j.relatedTarget=B,P=null,rr(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=Ei(B))C++;for(B=0,P=D;P;P=Ei(P))B++;for(;0<C-B;)me=Ei(me),C--;for(;0<B-C;)D=Ei(D),B--;for(;C--;){if(me===D||D!==null&&me===D.alternate)break t;me=Ei(me),D=Ei(D)}me=null}else me=null;z!==null&&dg(Y,j,z,me,!1),ge!==null&&Ge!==null&&dg(Y,Ge,ge,me,!0)}}e:{if(j=U?Br(U):window,z=j.nodeName&&j.nodeName.toLowerCase(),z==="select"||z==="input"&&j.type==="file")var ae=Dm;else if(Nm(j))if(Bm)ae=LE;else{ae=DE;var Se=ME}else z=j.nodeName,!z||z.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?U&&Bu(U.elementType)&&(ae=Dm):ae=BE;if(ae&&(ae=ae(e,U))){Mm(Y,ae,a,F);break e}Se&&Se(e,j,U),e==="focusout"&&U&&j.type==="number"&&U.memoizedProps.value!=null&&Du(j,"number",j.value)}switch(Se=U?Br(U):window,e){case"focusin":(Nm(Se)||Se.contentEditable==="true")&&($a=Se,Zu=U,Qi=null);break;case"focusout":Qi=Zu=$a=null;break;case"mousedown":Xu=!0;break;case"contextmenu":case"mouseup":case"dragend":Xu=!1,Gm(Y,a,F);break;case"selectionchange":if(jE)break;case"keydown":case"keyup":Gm(Y,a,F)}var fe;if(Fu)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 Ka?Rm(e,a)&&(pe="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(pe="onCompositionStart");pe&&(xm&&a.locale!=="ko"&&(Ka||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&Ka&&(fe=bm()):(Lr=F,zu="value"in Lr?Lr.value:Lr.textContent,Ka=!0)),Se=no(U,pe),0<Se.length&&(pe=new Tm(pe,e,null,a,F),Y.push({event:pe,listeners:Se}),fe?pe.data=fe:(fe=Cm(a),fe!==null&&(pe.data=fe)))),(fe=OE?wE(e,a):RE(e,a))&&(pe=no(U,"onBeforeInput"),0<pe.length&&(Se=new Tm("onBeforeInput","beforeinput",null,a,F),Y.push({event:Se,listeners:pe}),Se.data=fe)),_2(Y,e,U,a,F)}fg(Y,t)})}function Ts(e,t,a){return{instance:e,listener:t,currentTarget:a}}function no(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=Gi(e,a),o!=null&&l.unshift(Ts(e,o,f)),o=Gi(e,t),o!=null&&l.push(Ts(e,o,f))),e.tag===3)return l;e=e.return}return[]}function Ei(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function dg(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=Gi(a,f),U!=null&&p.unshift(Ts(a,U,w))):o||(U=Gi(a,f),U!=null&&p.push(Ts(a,U,w)))),a=a.return}p.length!==0&&e.push({event:t,listeners:p})}var S2=/\r\n?/g,T2=/\u0000|\uFFFD/g;function mg(e){return(typeof e=="string"?e:""+e).replace(S2,`
|
|
49
|
-
`).replace(T2,"")}function pg(e,t){return t=mg(t),mg(e)===t}function ro(){}function Ie(e,t,a,l,o,f){switch(a){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Za(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Za(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":ym(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=fl(""+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=fl(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=ro);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=fl(""+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=J1.get(a)||a,Ft(e,a,l))}}function _f(e,t,a,l,o,f){switch(a){case"style":ym(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"?Za(e,l):(typeof l=="number"||typeof l=="bigint")&&Za(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=ro);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)}}dm(e,f,v,w,U,p,o,!1),ul(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?Ya(e,!!l,t,!1):a!=null&&Ya(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)}pm(e,l,o,f),ul(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<Ss.length;l++)xe(Ss[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(Bu(t)){for(F in a)a.hasOwnProperty(F)&&(l=a[F],l!==void 0&&_f(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 A2(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)}}Mu(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?Ya(e,!!a,j,!1):!!l!=!!a&&(t!=null?Ya(e,!!a,t,!0):Ya(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)}mm(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(Bu(t)){for(var Ge in a)j=a[Ge],a.hasOwnProperty(Ge)&&j!==void 0&&!l.hasOwnProperty(Ge)&&_f(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||_f(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 vf=null,bf=null;function ao(e){return e.nodeType===9?e:e.ownerDocument}function gg(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 yg(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 Ef(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 Sf=null;function x2(){var e=window.event;return e&&e.type==="popstate"?e===Sf?!1:(Sf=e,!0):(Sf=null,!1)}var _g=typeof setTimeout=="function"?setTimeout:void 0,O2=typeof clearTimeout=="function"?clearTimeout:void 0,vg=typeof Promise=="function"?Promise:void 0,w2=typeof queueMicrotask=="function"?queueMicrotask:typeof vg<"u"?function(e){return vg.resolve(null).then(e).catch(R2)}:_g;function R2(e){setTimeout(function(){throw e})}function Kr(e){return e==="head"}function bg(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&&As(p.documentElement),a&2&&As(p.body),a&4)for(a=p.head,As(a),p=a.firstChild;p;){var v=p.nextSibling,w=p.nodeName;p[Dr]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&p.rel.toLowerCase()==="stylesheet"||a.removeChild(p),p=v}}if(o===0){e.removeChild(f),Ds(t);return}o--}else a==="$"||a==="$?"||a==="$!"?o++:l=a.charCodeAt(0)-48;else l=0;a=f}while(a);Ds(t)}function Tf(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":Tf(a),Kt(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function C2(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[Dr])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 N2(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 Af(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function M2(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 xf=null;function Eg(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 Sg(e,t,a){switch(t=ao(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 As(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Kt(e)}var bn=new Map,Tg=new Set;function io(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var br=$.d;$.d={f:D2,r:B2,D:L2,C:U2,L:j2,m:H2,X:k2,S:z2,M:I2};function D2(){var e=br.f(),t=Kl();return e||t}function B2(e){var t=ar(e);t!==null&&t.tag===5&&t.type==="form"?Fp(t):br.r(e)}var Si=typeof document>"u"?null:document;function Ag(e,t,a){var l=Si;if(l&&typeof t=="string"&&t){var o=dn(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),Tg.has(o)||(Tg.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 L2(e){br.D(e),Ag("dns-prefetch",e,null)}function U2(e,t){br.C(e,t),Ag("preconnect",e,t)}function j2(e,t,a){br.L(e,t,a);var l=Si;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=Ti(e);break;case"script":f=Ai(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(xs(f))||t==="script"&&l.querySelector(Os(f))||(t=l.createElement("link"),At(t,"link",e),it(t),l.head.appendChild(t)))}}function H2(e,t){br.m(e,t);var a=Si;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=Ai(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(Os(f)))return}l=a.createElement("link"),At(l,"link",e),it(l),a.head.appendChild(l)}}}function z2(e,t,a){br.S(e,t,a);var l=Si;if(l&&e){var o=ir(l).hoistableStyles,f=Ti(e);t=t||"default";var p=o.get(f);if(!p){var v={loading:0,preload:null};if(p=l.querySelector(xs(f)))v.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},a),(a=bn.get(f))&&Of(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,so(p,t,l)}p={type:"stylesheet",instance:p,count:1,state:v},o.set(f,p)}}}function k2(e,t){br.X(e,t);var a=Si;if(a&&e){var l=ir(a).hoistableScripts,o=Ai(e),f=l.get(o);f||(f=a.querySelector(Os(o)),f||(e=y({src:e,async:!0},t),(t=bn.get(o))&&wf(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 I2(e,t){br.M(e,t);var a=Si;if(a&&e){var l=ir(a).hoistableScripts,o=Ai(e),f=l.get(o);f||(f=a.querySelector(Os(o)),f||(e=y({src:e,async:!0,type:"module"},t),(t=bn.get(o))&&wf(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 xg(e,t,a,l){var o=(o=he.current)?io(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=Ti(a.href),a=ir(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=Ti(a.href);var f=ir(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(xs(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||G2(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=Ai(a),a=ir(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 Ti(e){return'href="'+dn(e)+'"'}function xs(e){return'link[rel="stylesheet"]['+e+"]"}function Og(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function G2(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 Ai(e){return'[src="'+dn(e)+'"]'}function Os(e){return"script[async]"+e}function wg(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),so(l,a.precedence,e),t.instance=l;case"stylesheet":o=Ti(a.href);var f=e.querySelector(xs(o));if(f)return t.state.loading|=4,t.instance=f,it(f),f;l=Og(a),(o=bn.get(o))&&Of(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,so(f,a.precedence,e),t.instance=f;case"script":return f=Ai(a.src),(o=e.querySelector(Os(f)))?(t.instance=o,it(o),o):(l=a,(o=bn.get(f))&&(l=y({},a),wf(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,so(l,a.precedence,e));return t.instance}function so(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 Of(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function wf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var lo=null;function Rg(e,t,a){if(lo===null){var l=new Map,o=lo=new Map;o.set(a,l)}else o=lo,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[Dr]||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 Cg(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function q2(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 Ng(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var ws=null;function F2(){}function P2(e,t,a){if(ws===null)throw Error(s(475));var l=ws;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var o=Ti(a.href),f=e.querySelector(xs(o));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=oo.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=f,it(f);return}f=e.ownerDocument||e,a=Og(a),(o=bn.get(o))&&Of(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=oo.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}function V2(){if(ws===null)throw Error(s(475));var e=ws;return e.stylesheets&&e.count===0&&Rf(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&Rf(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 oo(){if(this.count--,this.count===0){if(this.stylesheets)Rf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var uo=null;function Rf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,uo=new Map,t.forEach(Y2,e),uo=null,oo.call(e))}function Y2(e,t){if(!(t.state.loading&4)){var a=uo.get(e);if(a)var l=a.get(null);else{a=new Map,uo.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=oo.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 Rs={$$typeof:b,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function Z2(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=ji(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ji(0),this.hiddenUpdates=ji(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 Mg(e,t,a,l,o,f,p,v,w,U,F,Y){return e=new Z2(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=oc(),t.refCount++,e.pooledCache=t,t.refCount++,f.memoizedState={element:l,isDehydrated:a,cache:t},hc(f),e}function Dg(e){return e?(e=ti,e):ti}function Bg(e,t,a,l,o,f){o=Dg(o),l.context===null?l.context=o:l.pendingContext=o,l=Hr(t),l.payload={element:a},f=f===void 0?null:f,f!==null&&(l.callback=f),a=zr(e,l,t),a!==null&&(an(a,e,t),as(a,e,t))}function Lg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Cf(e,t){Lg(e,t),(e=e.alternate)&&Lg(e,t)}function Ug(e){if(e.tag===13){var t=ei(e,67108864);t!==null&&an(t,e,67108864),Cf(e,67108864)}}var co=!0;function X2(e,t,a,l){var o=G.T;G.T=null;var f=$.p;try{$.p=2,Nf(e,t,a,l)}finally{$.p=f,G.T=o}}function Q2(e,t,a,l){var o=G.T;G.T=null;var f=$.p;try{$.p=8,Nf(e,t,a,l)}finally{$.p=f,G.T=o}}function Nf(e,t,a,l){if(co){var o=Mf(l);if(o===null)yf(e,t,l,fo,a),Hg(e,l);else if($2(o,e,t,a,l))l.stopPropagation();else if(Hg(e,l),t&4&&-1<K2.indexOf(e)){for(;o!==null;){var f=ar(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&&(Xl=bt()+500,Es(0))}}break;case 13:v=ei(f,2),v!==null&&an(v,f,2),Kl(),Cf(f,2)}if(f=Mf(l),f===null&&yf(e,t,l,fo,a),f===o)break;o=f}o!==null&&l.stopPropagation()}else yf(e,t,l,null,a)}}function Mf(e){return e=Uu(e),Df(e)}var fo=null;function Df(e){if(fo=null,e=rr(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 fo=e,null}function jg(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(qa()){case oa:return 2;case Li:return 8;case ua:case Ou:return 32;case Fa:return 268435456;default:return 32}default:return 32}}var Bf=!1,$r=null,Wr=null,Jr=null,Cs=new Map,Ns=new Map,ea=[],K2="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 Hg(e,t){switch(e){case"focusin":case"focusout":$r=null;break;case"dragenter":case"dragleave":Wr=null;break;case"mouseover":case"mouseout":Jr=null;break;case"pointerover":case"pointerout":Cs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ns.delete(t.pointerId)}}function Ms(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=ar(t),t!==null&&Ug(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function $2(e,t,a,l,o){switch(t){case"focusin":return $r=Ms($r,e,t,a,l,o),!0;case"dragenter":return Wr=Ms(Wr,e,t,a,l,o),!0;case"mouseover":return Jr=Ms(Jr,e,t,a,l,o),!0;case"pointerover":var f=o.pointerId;return Cs.set(f,Ms(Cs.get(f)||null,e,t,a,l,o)),!0;case"gotpointercapture":return f=o.pointerId,Ns.set(f,Ms(Ns.get(f)||null,e,t,a,l,o)),!0}return!1}function zg(e){var t=rr(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,ki(e.priority,function(){if(a.tag===13){var l=rn();l=In(l);var o=ei(a,l);o!==null&&an(o,a,l),Cf(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 ho(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Mf(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);Lu=l,a.target.dispatchEvent(l),Lu=null}else return t=ar(a),t!==null&&Ug(t),e.blockedOn=a,!1;t.shift()}return!0}function kg(e,t,a){ho(e)&&a.delete(t)}function W2(){Bf=!1,$r!==null&&ho($r)&&($r=null),Wr!==null&&ho(Wr)&&(Wr=null),Jr!==null&&ho(Jr)&&(Jr=null),Cs.forEach(kg),Ns.forEach(kg)}function mo(e,t){e.blockedOn===t&&(e.blockedOn=null,Bf||(Bf=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,W2)))}var po=null;function Ig(e){po!==e&&(po=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){po===e&&(po=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(Df(l||a)===null)continue;break}var f=ar(a);f!==null&&(e.splice(t,3),t-=3,Mc(f,{pending:!0,data:o,method:a.method,action:l},l,o))}}))}function Ds(e){function t(w){return mo(w,e)}$r!==null&&mo($r,e),Wr!==null&&mo(Wr,e),Jr!==null&&mo(Jr,e),Cs.forEach(t),Ns.forEach(t);for(var a=0;a<ea.length;a++){var l=ea[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<ea.length&&(a=ea[0],a.blockedOn===null);)zg(a),a.blockedOn===null&&ea.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||Ig(a);else if(p){var v=null;if(f&&f.hasAttribute("formAction")){if(o=f,p=f[Nt]||null)v=p.formAction;else if(Df(o)!==null)continue}else v=p.action;typeof v=="function"?a[l+1]=v:(a.splice(l,3),l-=3),Ig(a)}}}function Lf(e){this._internalRoot=e}go.prototype.render=Lf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var a=t.current,l=rn();Bg(a,l,e,t,null,null)},go.prototype.unmount=Lf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Bg(e.current,2,null,e,null,null),Kl(),t[Et]=null}};function go(e){this._internalRoot=e}go.prototype.unstable_scheduleHydration=function(e){if(e){var t=zi();e={blockedOn:null,target:e,priority:t};for(var a=0;a<ea.length&&t!==0&&t<ea[a].priority;a++);ea.splice(a,0,e),a===0&&zg(e)}};var Gg=r.version;if(Gg!=="19.1.0")throw Error(s(527,Gg,"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 J2={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yo.isDisabled&&yo.supportsFiber)try{fn=yo.inject(J2),Rt=yo}catch{}}return Ls.createRoot=function(e,t){if(!u(e))throw Error(s(299));var a=!1,l="",o=r0,f=a0,p=i0,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=Mg(e,1,!1,null,null,a,l,o,f,p,v,null),e[Et]=t.current,gf(e),new Lf(t)},Ls.hydrateRoot=function(e,t,a){if(!u(e))throw Error(s(299));var l=!1,o="",f=r0,p=a0,v=i0,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=Mg(e,1,!0,t,a??null,l,o,f,p,v,w,U),t.context=Dg(null),a=t.current,l=rn(),l=In(l),o=Hr(l),o.callback=null,zr(a,o,l),a=l,t.current.lanes=a,wn(t,a),Zn(t),e[Et]=t.current,gf(e),new go(t)},Ls.version="19.1.0",Ls}var $g;function uS(){if($g)return jf.exports;$g=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(),jf.exports=oS(),jf.exports}var cS=uS(),H=Ci();const Iv=fu(H);var Gf={exports:{}},qf={};/**
|
|
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 Wg;function fS(){if(Wg)return qf;Wg=1;var n=Ci();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 qf.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,A=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(A,E))return k;var Z=T(E);return O!==void 0&&O(k,Z)?(A=E,k):(A=E,b=Z)}var S=!1,A,b,x=y===void 0?null:y;return[function(){return I(g())},x===null?void 0:function(){return I(x())}]},[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},qf}var Jg;function hS(){return Jg||(Jg=1,Gf.exports=fS()),Gf.exports}var dS=hS(),mS=H.version.startsWith("19"),pS=Symbol.for(mS?"react.transitional.element":"react.element"),gS=Symbol.for("react.portal"),yS=Symbol.for("react.fragment"),_S=Symbol.for("react.strict_mode"),vS=Symbol.for("react.profiler"),bS=Symbol.for("react.consumer"),ES=Symbol.for("react.context"),Gv=Symbol.for("react.forward_ref"),SS=Symbol.for("react.suspense"),TS=Symbol.for("react.suspense_list"),wd=Symbol.for("react.memo"),AS=Symbol.for("react.lazy"),xS=Gv,OS=wd;function wS(n){if(typeof n=="object"&&n!==null){const{$$typeof:r}=n;switch(r){case pS:switch(n=n.type,n){case yS:case vS:case _S:case SS:case TS:return n;default:switch(n=n&&n.$$typeof,n){case ES:case Gv:case AS:case wd:return n;case bS:return n;default:return r}}case gS:return r}}}function RS(n){return wS(n)===wd}function CS(n,r,i,s,{areStatesEqual:u,areOwnPropsEqual:c,areStatePropsEqual:h}){let d=!1,m,g,y,T,O;function L(A,b){return m=A,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 A=n(m,g),b=!h(A,y);return y=A,b&&(O=i(y,T,g)),O}function S(A,b){const x=!c(b,g),E=!u(A,m,b,g);return m=A,g=b,x&&E?M():x?V():E?I():O}return function(b,x){return d?S(b,x):L(b,x)}}function NS(n,{initMapStateToProps:r,initMapDispatchToProps:i,initMergeProps:s,...u}){const c=r(n,u),h=i(n,u),d=s(n,u);return CS(c,h,d,n,u)}function MS(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 Qh(n){return function(i){const s=n(i);function u(){return s}return u.dependsOnOwnProps=!1,u}}function ey(n){return n.dependsOnOwnProps?!!n.dependsOnOwnProps:n.length!==1}function qv(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=ey(n);let g=c(d,m);return typeof g=="function"&&(c.mapToProps=g,c.dependsOnOwnProps=ey(g),g=c(d,m)),g},c}}function Rd(n,r){return(i,s)=>{throw new Error(`Invalid value of type ${typeof n} for ${r} argument when connecting component ${s.wrappedComponentName}.`)}}function DS(n){return n&&typeof n=="object"?Qh(r=>MS(n,r)):n?typeof n=="function"?qv(n):Rd(n,"mapDispatchToProps"):Qh(r=>({dispatch:r}))}function BS(n){return n?typeof n=="function"?qv(n):Rd(n,"mapStateToProps"):Qh(()=>({}))}function LS(n,r,i){return{...i,...n,...r}}function US(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 jS(n){return n?typeof n=="function"?US(n):Rd(n,"mergeProps"):()=>LS}function HS(n){n()}function zS(){let n=null,r=null;return{clear(){n=null,r=null},notify(){HS(()=>{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 ty={notify(){},get:()=>[]};function Fv(n,r){let i,s=ty,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=zS())}function T(){u--,i&&u===0&&(i(),i=void 0,s.clear(),s=ty)}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 kS=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",IS=kS(),GS=()=>typeof navigator<"u"&&navigator.product==="ReactNative",qS=GS(),FS=()=>IS||qS?H.useLayoutEffect:H.useEffect,nu=FS();function ny(n,r){return n===r?n!==0||r!==0||1/n===1/r:n!==n&&r!==r}function Ff(n,r){if(ny(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])||!ny(n[i[u]],r[i[u]]))return!1;return!0}var PS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},VS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},YS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Pv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ZS={[xS]:YS,[OS]:Pv};function ry(n){return RS(n)?Pv:ZS[n.$$typeof]||PS}var XS=Object.defineProperty,QS=Object.getOwnPropertyNames,ay=Object.getOwnPropertySymbols,KS=Object.getOwnPropertyDescriptor,$S=Object.getPrototypeOf,iy=Object.prototype;function Kh(n,r){if(typeof r!="string"){if(iy){const c=$S(r);c&&c!==iy&&Kh(n,c)}let i=QS(r);ay&&(i=i.concat(ay(r)));const s=ry(n),u=ry(r);for(let c=0;c<i.length;++c){const h=i[c];if(!VS[h]&&!(u&&u[h])&&!(s&&s[h])){const d=KS(r,h);try{XS(n,h,d)}catch{}}}}return n}var WS=Symbol.for("react-redux-context"),JS=typeof globalThis<"u"?globalThis:{};function eT(){if(!H.createContext)return{};const n=JS[WS]??=new Map;let r=n.get(H.createContext);return r||(r=H.createContext(null),n.set(H.createContext,r)),r}var wr=eT(),tT=[null,null];function nT(n,r,i){nu(()=>n(...r),i)}function rT(n,r,i,s,u,c){n.current=s,i.current=!1,u.current&&(u.current=null,c())}function aT(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(A){S=A,O=A}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 iT(n,r){return n===r}function sT(n,r,i,{pure:s,areStatesEqual:u=iT,areOwnPropsEqual:c=Ff,areStatePropsEqual:h=Ff,areMergedPropsEqual:d=Ff,forwardRef:m=!1,context:g=wr}={}){const y=g,T=BS(n),O=DS(r),L=jS(i),M=!!n;return I=>{const S=I.displayName||I.name||"Component",A=`Connect(${S})`,b={shouldHandleStateChanges:M,displayName:A,wrappedComponentName:S,WrappedComponent:I,initMapStateToProps:T,initMapDispatchToProps:O,initMergeProps:L,areStatesEqual:u,areStatePropsEqual:h,areOwnPropsEqual:c,areMergedPropsEqual:d};function x(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),ue=!!Z.store&&!!Z.store.getState&&!!Z.store.dispatch,Ve=!!oe&&!!oe.store,be=ue?Z.store:oe.store,G=Ve?oe.getServerState:be.getState,$=H.useMemo(()=>NS(be.dispatch,b),[be]),[ne,Te]=H.useMemo(()=>{if(!M)return tT;const Xe=Fv(be,ue?void 0:oe.subscription),It=Xe.notifyNestedSubs.bind(Xe);return[Xe,It]},[be,ue,oe]),R=H.useMemo(()=>ue?oe:{...oe,subscription:ne},[ue,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);nu(()=>(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?aT(M,be,ne,$,W,q,re,se,X,Te,It):()=>{},[ne]);nT(rT,[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}nu(()=>{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(x);if(k.WrappedComponent=I,k.displayName=x.displayName=A,m){const ee=H.forwardRef(function(ie,J){return H.createElement(k,{...ie,reactReduxForwardedRef:J})});return ee.displayName=A,ee.WrappedComponent=I,Kh(ee,I)}return Kh(k,I)}}var lT=sT;function oT(n){const{children:r,context:i,serverState:s,store:u}=n,c=H.useMemo(()=>{const m=Fv(u);return{store:u,subscription:m,getServerState:s?()=>s:void 0}},[u,s]),h=H.useMemo(()=>u.getState(),[u]);nu(()=>{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||wr;return H.createElement(d.Provider,{value:c},r)}var uT=oT;function Cd(n=wr){return function(){return H.useContext(n)}}var Vv=Cd();function Yv(n=wr){const r=n===wr?Vv:Cd(n),i=()=>{const{store:s}=r();return s};return Object.assign(i,{withTypes:()=>i}),i}var cT=Yv();function fT(n=wr){const r=n===wr?cT:Yv(n),i=()=>r().dispatch;return Object.assign(i,{withTypes:()=>i}),i}var hT=fT(),dT=(n,r)=>n===r;function mT(n=wr){const r=n===wr?Vv:Cd(n),i=(s,u={})=>{const{equalityFn:c=dT}=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=dS.useSyncExternalStoreWithSelector(m.addNestedSub,d.getState,g||d.getState,y,c);return H.useDebugValue(T),T};return Object.assign(i,{withTypes:()=>i}),i}var pT=mT(),Pf={exports:{}};/*!
|
|
62
|
-
Copyright (c) 2018 Jed Watson.
|
|
63
|
-
Licensed under the MIT License (MIT), see
|
|
64
|
-
http://jedwatson.github.io/classnames
|
|
65
|
-
*/var sy;function gT(){return sy||(sy=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})()}(Pf)),Pf.exports}var yT=gT();const K=fu(yT);var $h=function(n,r){return $h=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])},$h(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");$h(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 hu(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 $n(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 Qn(n,r){var i=r&&r.cache?r.cache:AT,s=r&&r.serializer?r.serializer:ST,u=r&&r.strategy?r.strategy:bT;return u(n,{cache:i,serializer:s})}function _T(n){return n==null||typeof n=="number"||typeof n=="boolean"}function vT(n,r,i,s){var u=_T(s)?s:i(s),c=r.get(u);return typeof c>"u"&&(c=n.call(this,s),r.set(u,c)),c}function Zv(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 Xv(n,r,i,s,u){return i.bind(r,n,s,u)}function bT(n,r){var i=n.length===1?vT:Zv;return Xv(n,this,i,r.cache.create(),r.serializer)}function ET(n,r){return Xv(n,this,Zv,r.cache.create(),r.serializer)}var ST=function(){return JSON.stringify(arguments)},TT=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}(),AT={create:function(){return new TT}},Kn={variadic:ET},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 wi;(function(n){n[n.number=0]="number",n[n.dateTime=1]="dateTime"})(wi||(wi={}));function ly(n){return n.type===Ye.literal}function xT(n){return n.type===Ye.argument}function Qv(n){return n.type===Ye.number}function Kv(n){return n.type===Ye.date}function $v(n){return n.type===Ye.time}function Wv(n){return n.type===Ye.select}function Jv(n){return n.type===Ye.plural}function OT(n){return n.type===Ye.pound}function eb(n){return n.type===Ye.tag}function tb(n){return!!(n&&typeof n=="object"&&n.type===wi.number)}function Wh(n){return!!(n&&typeof n=="object"&&n.type===wi.dateTime)}var nb=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,wT=/(?:[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 RT(n){var r={};return n.replace(wT,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 CT=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function NT(n){if(n.length===0)throw new Error("Number skeleton cannot be empty");for(var r=n.split(CT).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 MT(n){return n.replace(/^(.*?)-/,"")}var oy=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,rb=/^(@+)?(\+|#+)?[rs]?$/g,DT=/(\*)(0+)|(#+)(0+)|(0+)/g,ab=/^(0+)$/;function uy(n){var r={};return n[n.length-1]==="r"?r.roundingPriority="morePrecision":n[n.length-1]==="s"&&(r.roundingPriority="lessPrecision"),n.replace(rb,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 ib(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 BT(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)),!ab.test(n))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=n.length}return r}function cy(n){var r={},i=ib(n);return i||r}function LT(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=MT(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),cy(g))},{}));continue;case"engineering":r=le(le(le({},r),{notation:"engineering"}),u.options.reduce(function(m,g){return le(le({},m),cy(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(DT,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(ab.test(u.stem)){r.minimumIntegerDigits=u.stem.length;continue}if(oy.test(u.stem)){if(u.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");u.stem.replace(oy,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),uy(c)));continue}if(rb.test(u.stem)){r=le(le({},r),uy(u.stem));continue}var h=ib(u.stem);h&&(r=le(le({},r),h));var d=BT(u.stem);d&&(r=le(le({},r),d))}return r}var vo={"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 UT(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=jT(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 jT(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=vo[s||""]||vo[i||""]||vo["".concat(i,"-001")]||vo["001"];return u[0]}var Vf,HT=new RegExp("^".concat(nb.source,"*")),zT=new RegExp("".concat(nb.source,"*$"));function Me(n,r){return{start:n,end:r}}var kT=!!String.prototype.startsWith&&"_a".startsWith("a",1),IT=!!String.fromCodePoint,GT=!!Object.fromEntries,qT=!!String.prototype.codePointAt,FT=!!String.prototype.trimStart,PT=!!String.prototype.trimEnd,VT=!!Number.isSafeInteger,YT=VT?Number.isSafeInteger:function(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n)===n&&Math.abs(n)<=9007199254740991},Jh=!0;try{var ZT=lb("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Jh=((Vf=ZT.exec("a"))===null||Vf===void 0?void 0:Vf[0])==="a"}catch{Jh=!1}var fy=kT?function(r,i,s){return r.startsWith(i,s)}:function(r,i,s){return r.slice(s,s+i.length)===i},ed=IT?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},hy=GT?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},sb=qT?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}},XT=FT?function(r){return r.trimStart()}:function(r){return r.replace(HT,"")},QT=PT?function(r){return r.trimEnd()}:function(r){return r.replace(zT,"")};function lb(n,r){return new RegExp(n,r)}var td;if(Jh){var dy=lb("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");td=function(r,i){var s;dy.lastIndex=i;var u=dy.exec(r);return(s=u[1])!==null&&s!==void 0?s:""}}else td=function(r,i){for(var s=[];;){var u=sb(r,i);if(u===void 0||ob(u)||JT(u))break;s.push(u),i+=u>=65536?2:1}return ed.apply(void 0,s)};var KT=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&&nd(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()||!nd(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()&&WT(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||!$T(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 ed.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(),ed(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=td(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=QT(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&&fy(g?.style,"::",0)){var I=XT(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=UT(I,this.locale));var O={type:wi.dateTime,pattern:S,location:g.styleLocation,parsedOptions:this.shouldParseSkeletons?RT(S):{}},A=d==="date"?Ye.date:Ye.time;return{val:{type:A,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 x=this.parseIdentifierIfPossible(),E=0;if(d!=="select"&&x.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(),x=this.parseIdentifierIfPossible(),E=T.val}var k=this.tryParsePluralOrSelectOptions(r,d,i,x);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:hy(k.val),location:Z},err:null}:{val:{type:Ye.plural,value:s,options:hy(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=NT(r)}catch{return this.error(Re.INVALID_NUMBER_SKELETON,i)}return{val:{type:wi.number,tokens:s,location:i,parsedOptions:this.shouldParseSkeletons?LT(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,YT(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=sb(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(fy(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()&&ob(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 nd(n){return n>=97&&n<=122||n>=65&&n<=90}function $T(n){return nd(n)||n===47}function WT(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 ob(n){return n>=9&&n<=13||n===32||n===133||n>=8206&&n<=8207||n===8232||n===8233}function JT(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 rd(n){n.forEach(function(r){if(delete r.location,Wv(r)||Jv(r))for(var i in r.options)delete r.options[i].location,rd(r.options[i].value);else Qv(r)&&tb(r.style)||(Kv(r)||$v(r))&&Wh(r.style)?delete r.style.location:eb(r)&&rd(r.children)})}function eA(n,r){r===void 0&&(r={}),r=le({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var i=new KT(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||rd(i.val),i.val}var Jn;(function(n){n.MISSING_VALUE="MISSING_VALUE",n.INVALID_VALUE="INVALID_VALUE",n.MISSING_INTL_API="MISSING_INTL_API"})(Jn||(Jn={}));var la=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),my=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('", "'),'"'),Jn.INVALID_VALUE,c)||this}return r}(la),tA=function(n){Tn(r,n);function r(i,s,u){return n.call(this,'Value for "'.concat(i,'" must be of type ').concat(s),Jn.INVALID_VALUE,u)||this}return r}(la),nA=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,'"'),Jn.MISSING_VALUE,s)||this}return r}(la),jt;(function(n){n[n.literal=0]="literal",n[n.object=1]="object"})(jt||(jt={}));function rA(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 ub(n){return typeof n=="function"}function Qo(n,r,i,s,u,c,h){if(n.length===1&&ly(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(ly(y)){d.push({type:jt.literal,value:y.value});continue}if(OT(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 nA(T,h);var O=u[T];if(xT(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(Kv(y)){var L=typeof y.style=="string"?s.date[y.style]:Wh(y.style)?y.style.parsedOptions:void 0;d.push({type:jt.literal,value:i.getDateTimeFormat(r,L).format(O)});continue}if($v(y)){var L=typeof y.style=="string"?s.time[y.style]:Wh(y.style)?y.style.parsedOptions:s.time.medium;d.push({type:jt.literal,value:i.getDateTimeFormat(r,L).format(O)});continue}if(Qv(y)){var L=typeof y.style=="string"?s.number[y.style]:tb(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(eb(y)){var M=y.children,V=y.value,I=u[V];if(!ub(I))throw new tA(V,"function",h);var S=Qo(M,r,i,s,u,c),A=I(S.map(function(E){return E.value}));Array.isArray(A)||(A=[A]),d.push.apply(d,A.map(function(E){return{type:typeof E=="string"?jt.literal:jt.object,value:E}}))}if(Wv(y)){var b=y.options[O]||y.options.other;if(!b)throw new my(y.value,O,Object.keys(y.options),h);d.push.apply(d,Qo(b.value,r,i,s,u));continue}if(Jv(y)){var b=y.options["=".concat(O)];if(!b){if(!Intl.PluralRules)throw new la(`Intl.PluralRules is not available in this environment.
|
|
66
|
-
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
67
|
-
`,Jn.MISSING_INTL_API,h);var x=i.getPluralRules(r,{type:y.pluralType}).select(O-(y.offset||0));b=y.options[x]||y.options.other}if(!b)throw new my(y.value,O,Object.keys(y.options),h);d.push.apply(d,Qo(b.value,r,i,s,u,O-(y.offset||0)));continue}}return rA(d)}function aA(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 iA(n,r){return r?Object.keys(n).reduce(function(i,s){return i[s]=aA(n[s],r[s]),i},le({},n)):n}function Yf(n){return{create:function(){return{get:function(r){return n[r]},set:function(r,i){n[r]=i}}}}}function sA(n){return n===void 0&&(n={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Qn(function(){for(var r,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return new((r=Intl.NumberFormat).bind.apply(r,$n([void 0],i,!1)))},{cache:Yf(n.number),strategy:Kn.variadic}),getDateTimeFormat:Qn(function(){for(var r,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return new((r=Intl.DateTimeFormat).bind.apply(r,$n([void 0],i,!1)))},{cache:Yf(n.dateTime),strategy:Kn.variadic}),getPluralRules:Qn(function(){for(var r,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return new((r=Intl.PluralRules).bind.apply(r,$n([void 0],i,!1)))},{cache:Yf(n.pluralRules),strategy:Kn.variadic})}}var cb=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 Qo(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=hu(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=iA(n.formats,s),this.formatters=u&&u.formatters||sA(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=eA,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}(),za;(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"})(za||(za={}));var tl=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),lA=function(n){Tn(r,n);function r(i,s){return n.call(this,za.UNSUPPORTED_FORMATTER,i,s)||this}return r}(tl),oA=function(n){Tn(r,n);function r(i,s){return n.call(this,za.INVALID_CONFIG,i,s)||this}return r}(tl),py=function(n){Tn(r,n);function r(i,s){return n.call(this,za.MISSING_DATA,i,s)||this}return r}(tl),An=function(n){Tn(r,n);function r(i,s,u){var c=n.call(this,za.FORMAT_ERROR,"".concat(i,`
|
|
71
|
-
Locale: `).concat(s,`
|
|
72
|
-
`),u)||this;return c.locale=s,c}return r}(tl),Zf=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),uA=function(n){Tn(r,n);function r(i,s){var u=n.call(this,za.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}(tl);function cA(n,r,i){if(i===void 0&&(i=Error),!n)throw new i(r)}function Ni(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 fA=function(n){},hA=function(n){},fb={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:fA,onWarn:hA};function hb(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ca(n){return{create:function(){return{get:function(r){return n[r]},set:function(r,i){n[r]=i}}}}}function dA(n){n===void 0&&(n=hb());var r=Intl.RelativeTimeFormat,i=Intl.ListFormat,s=Intl.DisplayNames,u=Qn(function(){for(var d,m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];return new((d=Intl.DateTimeFormat).bind.apply(d,$n([void 0],m,!1)))},{cache:Ca(n.dateTime),strategy:Kn.variadic}),c=Qn(function(){for(var d,m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];return new((d=Intl.NumberFormat).bind.apply(d,$n([void 0],m,!1)))},{cache:Ca(n.number),strategy:Kn.variadic}),h=Qn(function(){for(var d,m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];return new((d=Intl.PluralRules).bind.apply(d,$n([void 0],m,!1)))},{cache:Ca(n.pluralRules),strategy:Kn.variadic});return{getDateTimeFormat:u,getNumberFormat:c,getMessageFormat:Qn(function(d,m,g,y){return new cb(d,m,g,le({formatters:{getNumberFormat:c,getDateTimeFormat:u,getPluralRules:h}},y||{}))},{cache:Ca(n.message),strategy:Kn.variadic}),getRelativeTimeFormat:Qn(function(){for(var d=[],m=0;m<arguments.length;m++)d[m]=arguments[m];return new(r.bind.apply(r,$n([void 0],d,!1)))},{cache:Ca(n.relativeTime),strategy:Kn.variadic}),getPluralRules:h,getListFormat:Qn(function(){for(var d=[],m=0;m<arguments.length;m++)d[m]=arguments[m];return new(i.bind.apply(i,$n([void 0],d,!1)))},{cache:Ca(n.list),strategy:Kn.variadic}),getDisplayNames:Qn(function(){for(var d=[],m=0;m<arguments.length;m++)d[m]=arguments[m];return new(s.bind.apply(s,$n([void 0],d,!1)))},{cache:Ca(n.displayNames),strategy:Kn.variadic})}}function Nd(n,r,i,s){var u=n&&n[r],c;if(u&&(c=u[i]),c)return c;s(new lA("No ".concat(r," format named: ").concat(i)))}function bo(n,r){return Object.keys(n).reduce(function(i,s){return i[s]=le({timeZone:r},n[s]),i},{})}function gy(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 yy(n,r){if(!r)return n;var i=cb.formats;return le(le(le({},i),n),{date:gy(bo(i.date,r),bo(n.date||{},r)),time:gy(bo(i.time,r),bo(n.time||{},r))})}var ad=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;cA(!!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=yy(h,O),g=yy(g,O),!S){if(y===!1&&S==="")return S;if((!V||c&&c.toLowerCase()!==m.toLowerCase())&&T(new uA(i,c)),V)try{var A=r.getMessageFormat(V,m,g,u);return A.format(s)}catch(b){return T(new Zf('Error formatting default message for: "'.concat(I,'", rendering default message verbatim'),c,i,b)),typeof V=="string"?V:I}return I}try{var A=r.getMessageFormat(S,c,h,le({formatters:r},u||{}));return A.format(s)}catch(b){T(new Zf('Error formatting message: "'.concat(I,'", using ').concat(V?"default message":"id"," as fallback."),c,i,b))}if(V)try{var A=r.getMessageFormat(V,m,g,u);return A.format(s)}catch(b){T(new Zf('Error formatting the default message for: "'.concat(I,'", rendering message verbatim'),c,i,b))}return typeof S=="string"?S:typeof V=="string"?V:I},mA=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function nl(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&&Nd(c,r,m,h)),y=Ni(s,mA,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 pA(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 nl(n,"date",r,h).format(d)}catch(m){n.onError(new An("Error formatting date.",n.locale,m))}return String(d)}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 nl(n,"time",r,h).format(d)}catch(m){n.onError(new An("Error formatting time.",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=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 nl(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 _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=c===void 0?{}:c,d=typeof u=="string"?new Date(u||0):u;try{return nl(n,"date",r,h).formatToParts(d)}catch(m){n.onError(new An("Error formatting date.",n.locale,m))}return[]}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 nl(n,"time",r,h).formatToParts(d)}catch(m){n.onError(new An("Error formatting time.",n.locale,m))}return[]}var bA=["style","type","fallback","languageDisplay"];function EA(n,r,i,s){var u=n.locale,c=n.onError,h=Intl.DisplayNames;h||c(new la(`Intl.DisplayNames is not available in this environment.
|
|
77
|
-
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
78
|
-
`,Jn.MISSING_INTL_API));var d=Ni(s,bA);try{return r(u,d).of(i)}catch(m){c(new An("Error formatting display name.",u,m))}}var SA=["type","style"],_y=Date.now();function TA(n){return"".concat(_y,"_").concat(n,"_").concat(_y)}function AA(n,r,i,s){s===void 0&&(s={});var u=db(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 db(n,r,i,s){var u=n.locale,c=n.onError;s===void 0&&(s={});var h=Intl.ListFormat;h||c(new la(`Intl.ListFormat is not available in this environment.
|
|
79
|
-
Try polyfilling it using "@formatjs/intl-listformat"
|
|
80
|
-
`,Jn.MISSING_INTL_API));var d=Ni(s,SA);try{var m={},g=i.map(function(y,T){if(typeof y=="object"){var O=TA(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 xA=["type"];function OA(n,r,i,s){var u=n.locale,c=n.onError;s===void 0&&(s={}),Intl.PluralRules||c(new la(`Intl.PluralRules is not available in this environment.
|
|
81
|
-
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
82
|
-
`,Jn.MISSING_INTL_API));var h=Ni(s,xA);try{return r(u,h).select(i)}catch(d){c(new An("Error formatting plural.",u,d))}return"other"}var wA=["numeric","style"];function RA(n,r,i){var s=n.locale,u=n.formats,c=n.onError;i===void 0&&(i={});var h=i.format,d=!!h&&Nd(u,"relative",h,c)||{},m=Ni(i,wA,d);return r(s,m)}function CA(n,r,i,s,u){u===void 0&&(u={}),s||(s="second");var c=Intl.RelativeTimeFormat;c||n.onError(new la(`Intl.RelativeTimeFormat is not available in this environment.
|
|
83
|
-
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
84
|
-
`,Jn.MISSING_INTL_API));try{return RA(n,r,u).format(i,s)}catch(h){n.onError(new An("Error formatting relative time.",n.locale,h))}return String(i)}var NA=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function mb(n,r,i){var s=n.locale,u=n.formats,c=n.onError;i===void 0&&(i={});var h=i.format,d=h&&Nd(u,"number",h,c)||{},m=Ni(i,NA,d);return r(s,m)}function MA(n,r,i,s){s===void 0&&(s={});try{return mb(n,r,s).format(i)}catch(u){n.onError(new An("Error formatting number.",n.locale,u))}return String(i)}function DA(n,r,i,s){s===void 0&&(s={});try{return mb(n,r,s).formatToParts(i)}catch(u){n.onError(new An("Error formatting number.",n.locale,u))}return[]}function BA(n){var r=n?n[Object.keys(n)[0]]:void 0;return typeof r=="string"}function LA(n){n.onWarn&&n.defaultRichTextElements&&BA(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 UA(n,r){var i=dA(r),s=le(le({},fb),n),u=s.locale,c=s.defaultLocale,h=s.onError;return u?!Intl.NumberFormat.supportedLocalesOf(u).length&&h?h(new py('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 py('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 oA('"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"),LA(s),le(le({},s),{formatters:i,formatNumber:MA.bind(null,s,i.getNumberFormat),formatNumberToParts:DA.bind(null,s,i.getNumberFormat),formatRelativeTime:CA.bind(null,s,i.getRelativeTimeFormat),formatDate:pA.bind(null,s,i.getDateTimeFormat),formatDateToParts:_A.bind(null,s,i.getDateTimeFormat),formatTime:gA.bind(null,s,i.getDateTimeFormat),formatDateTimeRange:yA.bind(null,s,i.getDateTimeFormat),formatTimeToParts:vA.bind(null,s,i.getDateTimeFormat),formatPlural:OA.bind(null,s,i.getPluralRules),formatMessage:ad.bind(null,s,i),$t:ad.bind(null,s,i),formatList:AA.bind(null,s,i.getListFormat),formatListToParts:db.bind(null,s,i.getListFormat),formatDisplayName:EA.bind(null,s,i.getDisplayNames)})}function jA(n,r,i){if(i===void 0&&(i=Error),!n)throw new i(r)}function pb(n){jA(n,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var gb=le(le({},fb),{textComponent:H.Fragment}),HA={key:42},zA=function(n){return H.isValidElement(n)?H.createElement(H.Fragment,HA,n):n},kA=function(n){var r;return(r=H.Children.map(n,zA))!==null&&r!==void 0?r:[]};function IA(n){return function(r){return n(H.Children.toArray(r))}}function GA(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 Xf={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 vy;function qA(){if(vy)return Le;vy=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,A=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 x(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 x(E)||b(E)===m},Le.isConcurrentMode=x,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===A||E.$$typeof===V)},Le.typeOf=b,Le}var by;function FA(){return by||(by=1,Xf.exports=qA()),Xf.exports}var Qf,Ey;function PA(){if(Ey)return Qf;Ey=1;var n=FA(),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 A=m(V);g&&(A=A.concat(g(V)));for(var b=h(M),x=h(V),E=0;E<A.length;++E){var k=A[E];if(!i[k]&&!(I&&I[k])&&!(x&&x[k])&&!(b&&b[k])){var Z=y(V,k);try{d(M,k,Z)}catch{}}}}return M}return Qf=L,Qf}PA();var Md=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=H.createContext(null)):H.createContext(null);Md.Consumer;var VA=Md.Provider,YA=VA,ZA=Md;function du(){var n=H.useContext(ZA);return pb(n),n}var id;(function(n){n.formatDate="FormattedDate",n.formatTime="FormattedTime",n.formatNumber="FormattedNumber",n.formatList="FormattedList",n.formatDisplayName="FormattedDisplayName"})(id||(id={}));var sd;(function(n){n.formatDate="FormattedDateParts",n.formatTime="FormattedTimeParts",n.formatNumber="FormattedNumberParts",n.formatList="FormattedListParts"})(sd||(sd={}));function yb(n){var r=function(i){var s=du(),u=i.value,c=i.children,h=hu(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=sd[n],r}function rl(n){var r=function(i){var s=du(),u=i.value,c=i.children,h=hu(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=id[n],r}function _b(n){return n&&Object.keys(n).reduce(function(r,i){var s=n[i];return r[i]=ub(s)?IA(s):s,r},{})}var Sy=function(n,r,i,s){for(var u=[],c=4;c<arguments.length;c++)u[c-4]=arguments[c];var h=_b(s),d=ad.apply(void 0,$n([n,r,i,h],u,!1));return Array.isArray(d)?kA(d):d},Ty=function(n,r){var i=n.defaultRichTextElements,s=hu(n,["defaultRichTextElements"]),u=_b(i),c=UA(le(le(le({},gb),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:Sy.bind(null,h,c.formatters),$t:Sy.bind(null,h,c.formatters)})};function Kf(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 XA=function(n){Tn(r,n);function r(){var i=n!==null&&n.apply(this,arguments)||this;return i.cache=hb(),i.state={cache:i.cache,intl:Ty(Kf(i.props),i.cache),prevConfig:Kf(i.props)},i}return r.getDerivedStateFromProps=function(i,s){var u=s.prevConfig,c=s.cache,h=Kf(i);return GA(u,h)?null:{intl:Ty(h,c),prevConfig:h}},r.prototype.render=function(){return pb(this.state.intl),H.createElement(YA,{value:this.state.intl},this.props.children)},r.displayName="IntlProvider",r.defaultProps=gb,r}(H.PureComponent);rl("formatDate");rl("formatTime");rl("formatNumber");rl("formatList");rl("formatDisplayName");yb("formatDate");yb("formatTime");const QA="_app_1rj0t_1",KA={app:QA},Ga=hT,Qt=pT,vb="%[a-f0-9]{2}",Ay=new RegExp("("+vb+")|([^%]+?)","gi"),xy=new RegExp("("+vb+")+","gi");function ld(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([],ld(i),ld(s))}function $A(n){try{return decodeURIComponent(n)}catch{let r=n.match(Ay)||[];for(let i=1;i<r.length;i++)n=ld(r,i).join(""),r=n.match(Ay)||[];return n}}function WA(n){const r={"%FE%FF":"��","%FF%FE":"��"};let i=xy.exec(n);for(;i;){try{r[i[0]]=decodeURIComponent(i[0])}catch{const u=$A(i[0]);u!==i[0]&&(r[i[0]]=u)}i=xy.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 JA(n){if(typeof n!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof n+"`");try{return decodeURIComponent(n)}catch{return WA(n)}}function ex(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 bb(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 tx=n=>n==null,nx=n=>encodeURIComponent(n).replaceAll(/[!'()*]/g,r=>`%${r.charCodeAt(0).toString(16).toUpperCase()}`),od=Symbol("encodeFragmentIdentifier");function rx(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 ax(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&&Tr(s,n).includes(n.arrayFormatSeparator);s=h?Tr(s,n):s;const d=c||h?s.split(n.arrayFormatSeparator).map(m=>Tr(m,n)):s===null?s:Tr(s,n);u[i]=d};case"bracket-separator":return(i,s,u)=>{const c=/(\[])$/.test(i);if(i=i.replace(/\[]$/,""),!c){u[i]=s&&Tr(s,n);return}const h=s===null?[]:Tr(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 Eb(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?nx(n):encodeURIComponent(n):n}function Tr(n,r){return r.decode?JA(n):n}function Sb(n){return Array.isArray(n)?n.sort():typeof n=="object"?Sb(Object.keys(n)).sort((r,i)=>Number(r)-Number(i)).map(r=>n[r]):n}function Tb(n){const r=n.indexOf("#");return r!==-1&&(n=n.slice(0,r)),n}function ix(n){let r="";const i=n.indexOf("#");return i!==-1&&(r=n.slice(i)),r}function Oy(n,r,i){return i==="string"&&typeof n=="string"?n:typeof i=="function"&&typeof n=="string"?i(n):i==="boolean"&&n===null?!0: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 Dd(n){n=Tb(n);const r=n.indexOf("?");return r===-1?"":n.slice(r+1)}function Bd(n,r){r={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,types:Object.create(null),...r},Eb(r.arrayFormatSeparator);const i=ax(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]=bb(c,"=");h===void 0&&(h=c),d=d===void 0?null:["comma","separator","bracket-separator"].includes(r.arrayFormat)?d:Tr(d,r),i(Tr(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]=Oy(d,r,m)}else typeof c=="object"&&c!==null&&r.types[u]==="string"?s[u]=Object.values(c).join(r.arrayFormatSeparator):s[u]=Oy(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)?Sb(h):h,u},Object.create(null))}function Ab(n,r){if(!n)return"";r={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...r},Eb(r.arrayFormatSeparator);const i=h=>r.skipNull&&tx(n[h])||r.skipEmptyString&&n[h]==="",s=rx(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 xb(n,r){r={decode:!0,...r};let[i,s]=bb(n,"#");return i===void 0&&(i=n),{url:i?.split("?")?.[0]??"",query:Bd(Dd(n),r),...r&&r.parseFragmentIdentifier&&s?{fragmentIdentifier:Tr(s,r)}:{}}}function Ob(n,r){r={encode:!0,strict:!0,[od]:!0,...r};const i=Tb(n.url).split("?")[0]||"",s=Dd(n.url),u={...Bd(s,{sort:!1,...r}),...n.query};let c=Ab(u,r);c&&=`?${c}`;let h=ix(n.url);if(typeof n.fragmentIdentifier=="string"){const d=new URL(i);d.hash=n.fragmentIdentifier,h=r[od]?d.hash:`#${n.fragmentIdentifier}`}return`${i}${c}${h}`}function wb(n,r,i){i={parseFragmentIdentifier:!0,[od]:!1,...i};const{url:s,query:u,fragmentIdentifier:c}=xb(n,i);return Ob({url:s,query:ex(u,r),fragmentIdentifier:c},i)}function sx(n,r,i){const s=Array.isArray(r)?u=>!r.includes(u):(u,c)=>!r(u,c);return wb(n,s,i)}const mu=Object.freeze(Object.defineProperty({__proto__:null,exclude:sx,extract:Dd,parse:Bd,parseUrl:xb,pick:wb,stringify:Ab,stringifyUrl:Ob},Symbol.toStringTag,{value:"Module"}));var Dn={},Bn={},ze={},Eo={},ye={},wy;function cn(){return wy||(wy=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 Ry;function lx(){if(Ry)return Eo;Ry=1,Object.defineProperty(Eo,"__esModule",{value:!0});const n=cn(),r=()=>({type:n.DRAWER_CLOSE});return Eo.default=r,Eo}var So={},Cy;function ox(){if(Cy)return So;Cy=1,Object.defineProperty(So,"__esModule",{value:!0});const n=cn(),r=(i,s)=>({type:n.GUEST_FEEDBACK_RESPONSE,payload:{satisfaction:i,intent:s}});return So.default=r,So}var To={},Ny;function ux(){if(Ny)return To;Ny=1,Object.defineProperty(To,"__esModule",{value:!0});const n=cn(),r=i=>({type:n.GUEST_CONNECTED,payload:{sessionId:i}});return To.default=r,To}var Ao={},My;function cx(){if(My)return Ao;My=1,Object.defineProperty(Ao,"__esModule",{value:!0});const n=cn(),r=i=>({type:n.GUEST_DISCONNECTED,payload:{sessionId:i}});return Ao.default=r,Ao}var xo={},Dy;function fx(){if(Dy)return xo;Dy=1,Object.defineProperty(xo,"__esModule",{value:!0});const n=cn(),r=(i,s)=>({type:n.GUEST_LOCALE_CHANGED,payload:{previousLocale:i,newLocale:s}});return xo.default=r,xo}var Oo={},By;function hx(){if(By)return Oo;By=1,Object.defineProperty(Oo,"__esModule",{value:!0});const n=cn(),r=i=>({type:n.DRAWER_OPEN,payload:{parameters:{contentUrl:i}}});return Oo.default=r,Oo}var wo={},Ke={},Ly;function Ld(){if(Ly)return Ke;Ly=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={},Uy;function Ud(){if(Uy)return sn;Uy=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 jy;function dx(){if(jy)return wo;jy=1,Object.defineProperty(wo,"__esModule",{value:!0});const n=Ld(),r=Ud(),i=cn(),s=u=>{const c=new n.TextMessage(u,new r.GuestUser);return{type:i.MESSAGE_FROM_GUEST,message:c}};return wo.default=s,wo}var Ro={},Hy;function mx(){if(Hy)return Ro;Hy=1,Object.defineProperty(Ro,"__esModule",{value:!0});const n=Ld(),r=Ud(),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 Ro.default=s,Ro}var Co={},zy;function px(){if(zy)return Co;zy=1,Object.defineProperty(Co,"__esModule",{value:!0});const n=cn(),r=i=>({type:n.NLU_REQUEST_EVENT,event:i});return Co.default=r,Co}var No={},ky;function gx(){if(ky)return No;ky=1,Object.defineProperty(No,"__esModule",{value:!0});const n=cn(),r=()=>({type:n.RESTART_CHAT_REQUEST});return No.default=r,No}var Mo={},Iy;function yx(){if(Iy)return Mo;Iy=1,Object.defineProperty(Mo,"__esModule",{value:!0});const n=cn(),r=i=>({type:n.MESSAGE_TO_GUEST,message:i});return Mo.default=r,Mo}var Do={},Gy;function _x(){if(Gy)return Do;Gy=1,Object.defineProperty(Do,"__esModule",{value:!0});const n=cn(),r=(i,s)=>({type:n.TRANSCRIPT_ITEM_GUEST_REACTION,payload:{actionId:i,reaction:s}});return Do.default=r,Do}var qy;function vx(){if(qy)return ze;qy=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(lx());ze.closeDrawer=r.default;const i=n(ox());ze.feedbackFromGuestResponse=i.default;const s=n(ux());ze.guestConnected=s.default;const u=n(cx());ze.guestDisconnected=u.default;const c=n(fx());ze.guestLocaleChanged=c.default;const h=n(hx());ze.openDrawer=h.default;const d=n(dx());ze.receiveTextMessageFromGuest=d.default;const m=n(mx());ze.receiveTextMessageWithoutAnalysisFromGuest=m.default;const g=n(px());ze.requestNLUEvent=g.default;const y=n(gx());ze.restartChatRequest=y.default;const T=n(yx());ze.sendMessageToGuest=T.default;const O=n(_x());return ze.transcriptItemGuestReaction=O.default,ze}var $f={},Fy;function bx(){return Fy||(Fy=1,Object.defineProperty($f,"__esModule",{value:!0})),$f}var Py;function Ex(){return Py||(Py=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(vx()),n.ActionTypes=s(cn()),u(bx(),n)}(Bn)),Bn}var ln={},Wf={},Vy;function Sx(){return Vy||(Vy=1,Object.defineProperty(Wf,"__esModule",{value:!0})),Wf}var Us={},Yy;function Tx(){if(Yy)return Us;Yy=1,Object.defineProperty(Us,"__esModule",{value:!0}),Us.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 Us.NullableKnowledgeBaseAdapter=n,Us}var Zy;function Ax(){if(Zy)return ln;Zy=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(Sx());const s=Tx();return ln.NullableCmsAdapter={knowledgeBase:new s.NullableKnowledgeBaseAdapter},ln}var Na={},Jf={},Xy;function xx(){return Xy||(Xy=1,Object.defineProperty(Jf,"__esModule",{value:!0})),Jf}var eh={},Qy;function Ox(){return Qy||(Qy=1,Object.defineProperty(eh,"__esModule",{value:!0})),eh}var th={},Ky;function wx(){return Ky||(Ky=1,Object.defineProperty(th,"__esModule",{value:!0})),th}var nh={},$y;function Rx(){return $y||($y=1,Object.defineProperty(nh,"__esModule",{value:!0})),nh}var js={},Wy;function Cx(){if(Wy)return js;Wy=1,Object.defineProperty(js,"__esModule",{value:!0}),js.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 js.checkMiddlewareCondition=n,js}var rh={},Jy;function Nx(){return Jy||(Jy=1,Object.defineProperty(rh,"__esModule",{value:!0})),rh}var ah={},e_;function Mx(){return e_||(e_=1,Object.defineProperty(ah,"__esModule",{value:!0})),ah}var ih={},t_;function Dx(){return t_||(t_=1,Object.defineProperty(ih,"__esModule",{value:!0})),ih}var n_;function Bx(){return n_||(n_=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(xx(),n),i(Ox(),n),i(wx(),n),i(Rx(),n),i(Cx(),n),i(Nx(),n),i(Mx(),n),i(Dx(),n)}(Na)),Na}var Ma={},Ln={},r_;function Lx(){if(r_)return Ln;r_=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 sh={},a_;function Ux(){return a_||(a_=1,Object.defineProperty(sh,"__esModule",{value:!0})),sh}var Hs={},i_;function jx(){if(i_)return Hs;i_=1,Object.defineProperty(Hs,"__esModule",{value:!0}),Hs.SatisfactionEnum=void 0;var n;return function(r){r.GOOD="GOOD",r.BAD="BAD"}(n||(Hs.SatisfactionEnum=n={})),Hs}var s_;function l_(){return s_||(s_=1,function(n){var r=Ma&&Ma.__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=Ma&&Ma.__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(Lx(),n),i(Ux(),n),i(jx(),n),i(Ld(),n),i(Ud(),n)}(Ma)),Ma}var o_;function Hx(){return o_||(o_=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(Ex(),n),n.CMS=u(Ax()),s(Bx(),n),s(l_(),n),n.Model=u(l_())}(Dn)),Dn}var we=Hx();const Rb=n=>r=>(n.payload.type!==we.ActionTypes.MESSAGE_FROM_GUEST&&r(we.Actions.receiveTextMessageWithoutAnalysisFromGuest(n.label,n.payload)),r(n.payload)),Cb=n=>(r,i)=>{const{quickReplies:s}=i().chat,u=s.find(c=>n.toLocaleLowerCase().indexOf(c.label.toLocaleLowerCase())>-1);return r(u?Rb({...u,label:n}):JSON.parse(JSON.stringify(we.Actions.receiveTextMessageFromGuest(n))))},jd="MESSAGE_TO_PARENT_PAGE",Hd="RESTORE_PREVIOUS_CHAT_MESSAGES",zd="AUDIO_MESSAGE_FROM_USER",kd="RECEIVE_SPEECH_TRANSCRIPTION",Id="ENABLE_CONVERSATION_RATING",Nb="LOAD_SOURCE_INFOS_RESPONSE",Gd="LOAD_SOURCE_INFOS_ERROR",qd="LOAD_SOURCE_INFOS_REQUEST",Fd="CLOSE_SOURCE_INFOS",zx="webclient.get.started",Mb="webclient.window.expand",Db="webclient.window.close",Bb="webclient.transcript.pdf.download",kx=[jd,Hd,zd,kd,Id,qd,Fd],Ix=n=>({type:zd,buffer:n}),Gx=n=>({type:kd,transcription:n}),qx=n=>({type:we.ActionTypes.TRANSCRIPT_MAIL_REQUEST,payload:{parameters:{mailTo:n}}}),Fx=()=>({type:Bb}),Px=({rating:n})=>({type:Id,payload:{rating:n}}),Vx=(n,r)=>({type:we.ActionTypes.CONVERSATION_RATING_FROM_GUEST,payload:{value:n,feedback:r}}),Lb=n=>we.Actions.requestNLUEvent(n),Yx=n=>({type:Hd,messages:n}),Zx=n=>{switch(n.type){case we.ButtonTypeEnum.WEB_URL:return jb(n.url);case we.ButtonTypeEnum.POSTBACK:return n.payload;default:throw new Error(`unknown button type ${n.type}`)}},Ub=n=>jb(n),jb=n=>({type:jd,message:{type:"webclient.change.url",url:n}});/*! js-cookie v3.0.5 | MIT */function Bo(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 Xx={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 ud(n,r){function i(u,c,h){if(!(typeof document>"u")){h=Bo({},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,"",Bo({},c,{expires:-1}))},withAttributes:function(u){return ud(this.converter,Bo({},this.attributes,u))},withConverter:function(u){return ud(Bo({},this.converter,u),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}var Lo=ud(Xx,{path:"/"});const xt=[];for(let n=0;n<256;++n)xt.push((n+256).toString(16).slice(1));function Qx(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 lh;const Kx=new Uint8Array(16);function $x(){if(!lh){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");lh=crypto.getRandomValues.bind(crypto)}return lh(Kx)}const Wx=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),u_={randomUUID:Wx};function cd(n,r,i){if(u_.randomUUID&&!n)return u_.randomUUID();n=n||{};const s=n.random??n.rng?.()??$x();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,Qx(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 Jx=typeof Symbol=="function"&&Symbol.observable||"@@observable",c_=Jx,oh=()=>Math.random().toString(36).substring(7).split("").join("."),eO={INIT:`@@redux/INIT${oh()}`,REPLACE:`@@redux/REPLACE${oh()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${oh()}`},ru=eO;function Pd(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 Hb(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(Hb)(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 A=d++;return h.set(A,I),function(){if(S){if(m)throw new Error(Ot(6));S=!1,g(),h.delete(A),c=null}}}function O(I){if(!Pd(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(A=>{A()}),I}function L(I){if(typeof I!="function")throw new Error(Ot(10));s=I,O({type:ru.REPLACE})}function M(){const I=T;return{subscribe(S){if(typeof S!="object"||S===null)throw new Error(Ot(11));function A(){const x=S;x.next&&x.next(y())}return A(),{unsubscribe:I(A)}},[c_](){return this}}}return O({type:ru.INIT}),{dispatch:O,subscribe:T,getState:y,replaceReducer:L,[c_]:M}}function tO(n){Object.keys(n).forEach(r=>{const i=n[r];if(typeof i(void 0,{type:ru.INIT})>"u")throw new Error(Ot(12));if(typeof i(void 0,{type:ru.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ot(13))})}function zb(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{tO(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 au(...n){return n.length===0?r=>r:n.length===1?n[0]:n.reduce((r,i)=>(...s)=>r(i(...s)))}function nO(...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=au(...d)(u.dispatch),{...u,dispatch:c}}}function rO(n){return Pd(n)&&"type"in n&&typeof n.type=="string"}var kb=Symbol.for("immer-nothing"),f_=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 Ri=Object.getPrototypeOf;function ka(n){return!!n&&!!n[on]}function Rr(n){return n?Ib(n)||Array.isArray(n)||!!n[f_]||!!n.constructor?.[f_]||gu(n)||yu(n):!1}var aO=Object.prototype.constructor.toString();function Ib(n){if(!n||typeof n!="object")return!1;const r=Ri(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)===aO}function iu(n,r){pu(n)===0?Reflect.ownKeys(n).forEach(i=>{r(i,n[i],n)}):n.forEach((i,s)=>r(s,i,n))}function pu(n){const r=n[on];return r?r.type_:Array.isArray(n)?1:gu(n)?2:yu(n)?3:0}function fd(n,r){return pu(n)===2?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function Gb(n,r,i){const s=pu(n);s===2?n.set(r,i):s===3?n.add(i):n[r]=i}function iO(n,r){return n===r?n!==0||1/n===1/r:n!==n&&r!==r}function gu(n){return n instanceof Map}function yu(n){return n instanceof Set}function Ua(n){return n.copy_||n.base_}function hd(n,r){if(gu(n))return new Map(n);if(yu(n))return new Set(n);if(Array.isArray(n))return Array.prototype.slice.call(n);const i=Ib(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(Ri(n),s)}else{const s=Ri(n);if(s!==null&&i)return{...n};const u=Object.create(s);return Object.assign(u,n)}}function Vd(n,r=!1){return _u(n)||ka(n)||!Rr(n)||(pu(n)>1&&(n.set=n.add=n.clear=n.delete=sO),Object.freeze(n),r&&Object.entries(n).forEach(([i,s])=>Vd(s,!0))),n}function sO(){zn(2)}function _u(n){return Object.isFrozen(n)}var lO={};function Ia(n){const r=lO[n];return r||zn(0,n),r}var Ws;function qb(){return Ws}function oO(n,r){return{drafts_:[],parent_:n,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function h_(n,r){r&&(Ia("Patches"),n.patches_=[],n.inversePatches_=[],n.patchListener_=r)}function dd(n){md(n),n.drafts_.forEach(uO),n.drafts_=null}function md(n){n===Ws&&(Ws=n.parent_)}function d_(n){return Ws=oO(Ws,n)}function uO(n){const r=n[on];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function m_(n,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];return n!==void 0&&n!==i?(i[on].modified_&&(dd(r),zn(4)),Rr(n)&&(n=su(r,n),r.parent_||lu(r,n)),r.patches_&&Ia("Patches").generateReplacementPatches_(i[on].base_,n,r.patches_,r.inversePatches_)):n=su(r,i,[]),dd(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),n!==kb?n:void 0}function su(n,r,i){if(_u(r))return r;const s=r[on];if(!s)return iu(r,(u,c)=>p_(n,s,r,u,c,i)),r;if(s.scope_!==n)return r;if(!s.modified_)return lu(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),iu(c,(d,m)=>p_(n,s,u,d,m,i,h)),lu(n,u,!1),i&&n.patches_&&Ia("Patches").generatePatches_(s,i,n.patches_,n.inversePatches_)}return s.copy_}function p_(n,r,i,s,u,c,h){if(ka(u)){const d=c&&r&&r.type_!==3&&!fd(r.assigned_,s)?c.concat(s):void 0,m=su(n,u,d);if(Gb(i,s,m),ka(m))n.canAutoFreeze_=!1;else return}else h&&i.add(u);if(Rr(u)&&!_u(u)){if(!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1)return;su(n,u),(!r||!r.scope_.parent_)&&typeof s!="symbol"&&Object.prototype.propertyIsEnumerable.call(i,s)&&lu(n,u)}}function lu(n,r,i=!1){!n.parent_&&n.immer_.autoFreeze_&&n.canAutoFreeze_&&Vd(r,i)}function cO(n,r){const i=Array.isArray(n),s={type_:i?1:0,scope_:r?r.scope_:qb(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:n,draft_:null,copy_:null,revoke_:null,isManual_:!1};let u=s,c=Yd;i&&(u=[s],c=Js);const{revoke:h,proxy:d}=Proxy.revocable(u,c);return s.draft_=d,s.revoke_=h,d}var Yd={get(n,r){if(r===on)return n;const i=Ua(n);if(!fd(i,r))return fO(n,i,r);const s=i[r];return n.finalized_||!Rr(s)?s:s===uh(n.base_,r)?(ch(n),n.copy_[r]=gd(s,n)):s},has(n,r){return r in Ua(n)},ownKeys(n){return Reflect.ownKeys(Ua(n))},set(n,r,i){const s=Fb(Ua(n),r);if(s?.set)return s.set.call(n.draft_,i),!0;if(!n.modified_){const u=uh(Ua(n),r),c=u?.[on];if(c&&c.base_===i)return n.copy_[r]=i,n.assigned_[r]=!1,!0;if(iO(i,u)&&(i!==void 0||fd(n.base_,r)))return!0;ch(n),pd(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 uh(n.base_,r)!==void 0||r in n.base_?(n.assigned_[r]=!1,ch(n),pd(n)):delete n.assigned_[r],n.copy_&&delete n.copy_[r],!0},getOwnPropertyDescriptor(n,r){const i=Ua(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 Ri(n.base_)},setPrototypeOf(){zn(12)}},Js={};iu(Yd,(n,r)=>{Js[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});Js.deleteProperty=function(n,r){return Js.set.call(this,n,r,void 0)};Js.set=function(n,r,i){return Yd.set.call(this,n[0],r,i,n[0])};function uh(n,r){const i=n[on];return(i?Ua(i):n)[r]}function fO(n,r,i){const s=Fb(r,i);return s?"value"in s?s.value:s.get?.call(n.draft_):void 0}function Fb(n,r){if(!(r in n))return;let i=Ri(n);for(;i;){const s=Object.getOwnPropertyDescriptor(i,r);if(s)return s;i=Ri(i)}}function pd(n){n.modified_||(n.modified_=!0,n.parent_&&pd(n.parent_))}function ch(n){n.copy_||(n.copy_=hd(n.base_,n.scope_.immer_.useStrictShallowCopy_))}var hO=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(Rr(r)){const c=d_(this),h=gd(r,void 0);let d=!0;try{u=i(h),d=!1}finally{d?dd(c):md(c)}return h_(c,s),m_(u,c)}else if(!r||typeof r!="object"){if(u=i(r),u===void 0&&(u=r),u===kb&&(u=void 0),this.autoFreeze_&&Vd(u,!0),s){const c=[],h=[];Ia("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){Rr(n)||zn(8),ka(n)&&(n=dO(n));const r=d_(this),i=gd(n,void 0);return i[on].isManual_=!0,md(r),i}finishDraft(n,r){const i=n&&n[on];(!i||!i.isManual_)&&zn(9);const{scope_:s}=i;return h_(s,r),m_(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=Ia("Patches").applyPatches_;return ka(n)?s(n,r):this.produce(n,u=>s(u,r))}};function gd(n,r){const i=gu(n)?Ia("MapSet").proxyMap_(n,r):yu(n)?Ia("MapSet").proxySet_(n,r):cO(n,r);return(r?r.scope_:qb()).drafts_.push(i),i}function dO(n){return ka(n)||zn(10,n),Pb(n)}function Pb(n){if(!Rr(n)||_u(n))return n;const r=n[on];let i;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=hd(n,r.scope_.immer_.useStrictShallowCopy_)}else i=hd(n,!0);return iu(i,(s,u)=>{Gb(i,s,Pb(u))}),r&&(r.finalized_=!1),i}var un=new hO,Vb=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 Yb(n){return({dispatch:i,getState:s})=>u=>c=>typeof c=="function"?c(i,s,n):u(c)}var mO=Yb(),pO=Yb,gO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?au:au.apply(null,arguments)};function g_(n,r){function i(...s){if(r){let u=r(...s);if(!u)throw new Error(Ar(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=>rO(s)&&s.type===n,i}var Zb=class Xs extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,Xs.prototype)}static get[Symbol.species](){return Xs}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&&Array.isArray(r[0])?new Xs(...r[0].concat(this)):new Xs(...r.concat(this))}};function y_(n){return Rr(n)?Vb(n,()=>{}):n}function Uo(n,r,i){return n.has(r)?n.get(r):n.set(r,i(r)).get(r)}function yO(n){return typeof n=="boolean"}var _O=()=>function(r){const{thunk:i=!0,immutableCheck:s=!0,serializableCheck:u=!0,actionCreatorCheck:c=!0}=r??{};let h=new Zb;return i&&(yO(i)?h.push(mO):h.push(pO(i.extraArgument))),h},vO="RTK_autoBatch",__=n=>r=>{setTimeout(r,n)},bO=(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:__(10):n.type==="callback"?n.queueNotification:__(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?.[vO],c=!u,c&&(h||(h=!0,m(g))),s.dispatch(y)}finally{u=!0}}})},EO=n=>function(i){const{autoBatch:s=!0}=i??{};let u=new Zb(n);return s&&u.push(bO(typeof s=="object"?s:void 0)),u};function SO(n){const r=_O(),{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(Pd(i))d=zb(i);else throw new Error(Ar(1));let m;typeof s=="function"?m=s(r):m=r();let g=au;u&&(g=gO({trace:!1,...typeof u=="object"&&u}));const y=nO(...m),T=EO(y);let O=typeof h=="function"?h(T):T();const L=g(...O);return Hb(d,c,L)}function Xb(n){const r={},i=[];let s;const u={addCase(c,h){const d=typeof c=="string"?c:c.type;if(!d)throw new Error(Ar(28));if(d in r)throw new Error(Ar(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 TO(n){return typeof n=="function"}function AO(n,r){let[i,s,u]=Xb(r),c;if(TO(n))c=()=>y_(n());else{const d=y_(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(ka(y)){const L=T(y,m);return L===void 0?y:L}else{if(Rr(y))return Vb(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 xO=Symbol.for("rtk-slice-createasyncthunk");function OO(n,r){return`${n}/${r}`}function wO({creators:n}={}){const r=n?.asyncThunk?.[xO];return function(s){const{name:u,reducerPath:c=u}=s;if(!u)throw new Error(Ar(11));const h=(typeof s.reducers=="function"?s.reducers(CO()):s.reducers)||{},d=Object.keys(h),m={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},g={addCase(b,x){const E=typeof b=="string"?b:b.type;if(!E)throw new Error(Ar(12));if(E in m.sliceCaseReducersByType)throw new Error(Ar(13));return m.sliceCaseReducersByType[E]=x,g},addMatcher(b,x){return m.sliceMatchers.push({matcher:b,reducer:x}),g},exposeAction(b,x){return m.actionCreators[b]=x,g},exposeCaseReducer(b,x){return m.sliceCaseReducersByName[b]=x,g}};d.forEach(b=>{const x=h[b],E={reducerName:b,type:OO(u,b),createNotation:typeof s.reducers=="function"};MO(x)?BO(E,x,g,r):NO(E,x,g)});function y(){const[b={},x=[],E=void 0]=typeof s.extraReducers=="function"?Xb(s.extraReducers):[s.extraReducers],k={...b,...m.sliceCaseReducersByType};return AO(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 x)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,x){return M||(M=y()),M(b,x)}function I(){return M||(M=y()),M.getInitialState()}function S(b,x=!1){function E(Z){let ee=Z[b];return typeof ee>"u"&&x&&(ee=Uo(L,E,I)),ee}function k(Z=T){const ee=Uo(O,x,()=>new WeakMap);return Uo(ee,Z,()=>{const de={};for(const[ie,J]of Object.entries(s.selectors??{}))de[ie]=RO(J,Z,()=>Uo(L,Z,I),x);return de})}return{reducerPath:b,getSelectors:k,get selectors(){return k(E)},selectSlice:E}}const A={name:u,reducer:V,actions:m.actionCreators,caseReducers:m.sliceCaseReducersByName,getInitialState:I,...S(c),injectInto(b,{reducerPath:x,...E}={}){const k=x??c;return b.inject({reducerPath:k,reducer:V},E),{...A,...S(k,!0)}}};return A}}function RO(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 Zd=wO();function CO(){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 NO({type:n,reducerName:r,createNotation:i},s,u){let c,h;if("reducer"in s){if(i&&!DO(s))throw new Error(Ar(17));c=s.reducer,h=s.prepare}else c=s;u.addCase(n,c).exposeCaseReducer(r,c).exposeAction(r,h?g_(n,h):g_(n))}function MO(n){return n._reducerDefinitionType==="asyncThunk"}function DO(n){return n._reducerDefinitionType==="reducerWithPrepare"}function BO({type:n,reducerName:r},i,s,u){if(!u)throw new Error(Ar(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||jo,pending:d||jo,rejected:m||jo,settled:g||jo})}function jo(){}function Ar(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 LO={formValues:{}},Qb=Zd({name:"start-screen",initialState:LO,reducers:{showStartScreen(n){n.startScreenStatus="VISIBLE",n.formValues={}},startChat(n,r){n.startScreenStatus="HIDDEN",n.formValues=r.payload}}}),{startChat:UO,showStartScreen:jO}=Qb.actions,HO=Qb.reducer,Kb="RESET_CHAT_STATE",$b="TOGGLE_TRANSCRIPT_MAIL_OVERLAY",zO=()=>({type:Db}),kO=()=>({type:Kb}),Wb=()=>({type:$b}),v_=(n,r,i)=>(s,u)=>{try{const c=u().connection.sessionId;if(!c)throw new Error("Session ID is not available");s({type:qd,payload:{chunkId:i}}),b_(n,c,r,i,!1,s),b_(n,c,r,i,!0,s)}catch(c){console.error("Error loading source infos:",c),s({type:Gd})}},b_=(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:Nb,payload:m})}).catch(d=>{console.error("Error fetching source infos:",d),c({type:Gd,payload:{highlighted:u}})})},IO=()=>({type:Fd}),Xd="CONNECT",Qd="CONNECTING",Kd="CONNECTED",$d="DISCONNECTED",Wd="RECONNECTED",Jd="RESTORE_SESSION_ID",vu="START",bu="CLEAR_SESSION_ID",GO=[Xd,Qd,Kd,$d,Wd,Jd],qO=(n,r)=>({type:Xd,clientName:n,querystrings:r}),FO=n=>({type:Jd,sessionId:n}),PO=()=>({type:Qd}),VO=()=>({type:Kd}),YO=()=>({type:$d}),ZO=()=>({type:Wd}),Jb=(n,r)=>(i,s)=>{const u=s().connection,c=s().startScreen.formValues;let h=u.sessionId;h===void 0&&(h=cd());let d=u.userId;if(d===void 0){const m=Lo.get("bubble-chat-user-id")||Lo.get("bubble-chat-userId")||Lo.get("bf-webclient-userId");d=m||cd(),Lo.set("bubble-chat-user-id",d)}i({type:vu,payload:{sessionId:h,userId:d,clientName:n,querystrings:{...r,...c}}})},Eu=(n,r)=>(i,s)=>{const u=s().connection.sessionId||"";if(i(XO(u)),i(kO()),s().settings.enableStartScreen)i(jO());else return i(Jb(n,r))},XO=n=>({type:bu,payload:{sessionId:n}}),tt=()=>{const n=du();return i=>{const s=n.formatMessage({id:i});return s===i?void 0:s}};var Ha=(n=>(n[n.CONNECTING=0]="CONNECTING",n[n.CONNECTED=1]="CONNECTED",n[n.RECONNECTED=2]="RECONNECTED",n[n.DISCONNECTED=3]="DISCONNECTED",n))(Ha||{}),ou=(n=>(n.GUEST="GUEST",n.BOT="BOT",n.PERSON="PERSON",n))(ou||{});const QO="_container_q2uun_1",KO="_chatcontent_q2uun_6",$O="_accessabilityHidden_q2uun_12",fh={container:QO,chatcontent:KO,accessabilityHidden:$O},WO="_messageContainer_ofi0g_1",JO="_messages_ofi0g_12",E_={messageContainer:WO,messages:JO};function ja(){return ja=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},ja.apply(this,arguments)}const ew=["children","options"],tw={footnoteReference:"7"},S_=["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"}),T_={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},nw=["style","script","pre"],rw=["src","href","data","formAction","srcDoc","action"],aw=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,iw=/mailto:/i,sw=/\n{2,}$/,A_=/^(\s*>[\s\S]*?)(?=\n\n|$)/,lw=/^ *> ?/gm,ow=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,uw=/^ {2,}\n/,cw=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,x_=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,O_=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,fw=/^(`+)((?:\\`|(?!\1)`|[^`])+)\1/,hw=/^(?:\n *)*\n/,dw=/\r\n?/g,mw=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,pw=/^\[\^([^\]]+)]/,gw=/\f/g,yw=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,_w=/^\s*?\[(x|\s)\]/,w_=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,R_=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,C_=/^([^\n]+)\n *(=|-){3,} *\n/,hh=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,vw=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,N_=/^<!--[\s\S]*?(?:-->)/,bw=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,dh=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,Ew=/^\{.*\}$/,Sw=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,Tw=/^<([^ >]+@[^ >]+)>/,Aw=/^<([^ >]+:\/[^ >]+)>/,xw=/-([a-z])?/gi,M_=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,Ow=/^[^\n]+(?: \n|\n{2,})/,ww=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,Rw=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Cw=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Nw=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Mw=/\t/g,Dw=/(^ *\||\| *$)/g,Bw=/^ *:-+: *$/,Lw=/^ *:-+ *$/,Uw=/^ *-+: *$/,Su="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)",jw=RegExp(`^([*_])\\1${Su}\\1\\1(?!\\1)`),Hw=RegExp(`^([*_])${Su}\\1(?!\\1)`),zw=RegExp(`^(==)${Su}\\1`),kw=RegExp(`^(~~)${Su}\\1`),Iw=/^\\([^0-9A-Za-z\s])/,Gw=/\\([^0-9A-Za-z\s])/g,qw=/^[\s\S](?:(?! |[0-9]\.|http)[^=*_~\-\n<`\\\[!])*/,Fw=/^\n+/,Pw=/^([ \t]*)/,Vw=/(?:^|\n)( *)$/,em="(?:\\d+\\.)",tm="(?:[*+-])";function e1(n){return"( *)("+(n===1?em:tm)+") +"}const t1=e1(1),n1=e1(2);function r1(n){return RegExp("^"+(n===1?t1:n1))}const Yw=r1(1),Zw=r1(2);function a1(n){return RegExp("^"+(n===1?t1:n1)+"[^\\n]*(?:\\n(?!\\1"+(n===1?em:tm)+" )[^\\n]*)*(\\n|$)","gm")}const Xw=a1(1),Qw=a1(2);function i1(n){const r=n===1?em:tm;return RegExp("^( *)("+r+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+r+" (?!"+r+" ))\\n*|\\s*\\n*$)")}const s1=i1(1),l1=i1(2);function D_(n,r){const i=r===1,s=i?s1:l1,u=i?Xw:Qw,c=i?Yw:Zw;return{t:h=>c.test(h),o:al(function(h,d){const m=Vw.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(sw,`
|
|
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,A=I.indexOf(`
|
|
95
|
-
|
|
96
|
-
`)!==-1||S&&T;T=A;const b=m.inline,x=m.list;let E;m.list=!0,A?(m.inline=!1,E=$s(I)+`
|
|
97
|
-
|
|
98
|
-
`):(m.inline=!0,E=$s(I));const k=d(E,m);return m.inline=b,m.list=x,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 Kw=RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),$w=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;function $s(n){let r=n.length;for(;r>0&&n[r-1]<=" ";)r--;return n.slice(0,r)}function yd(n,r){return n.startsWith(r)}function Ww(n,r,i){if(Array.isArray(i)){for(let s=0;s<i.length;s++)if(yd(n,i[s]))return!0;return!1}return i(n,r)}function zs(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 Jw(n){return Uw.test(n)?"right":Bw.test(n)?"center":Lw.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 eR(n,r,i){i.inline=!0;const s=n[2]?n[2].replace(Dw,"").split("|").map(Jw):[],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 al(n){return n.inline=1,n}function na(n){return al(function(r,i){return i.inline?n.exec(r):null})}function ra(n){return al(function(r,i){return i.inline||i.simple?n.exec(r):null})}function Er(n){return function(r,i){return i.inline||i.simple?null:n.exec(r)}}function ks(n){return al(function(r){return n.exec(r)})}const tR=/(javascript|vbscript|data(?!:image)):/i;function nR(n){try{const r=decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"");if(tR.test(r))return null}catch{return null}return n}function Xn(n){return n&&n.replace(Gw,"$1")}function Ko(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 rR(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 aR(n,r,i){const s=i.inline||!1;i.inline=!1;const u=n(r,i);return i.inline=s,u}const mh=(n,r,i)=>({children:Ko(r,n[2],i)});function ph(){return{}}function gh(){return null}function iR(...n){return n.filter(Boolean).join(" ")}function yh(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 sR(n="",r={}){r.overrides=r.overrides||{},r.namedCodesToUnicode=r.namedCodesToUnicode?ja({},T_,r.namedCodesToUnicode):T_;const i=r.slugify||zs,s=r.sanitizer||nR,u=r.createElement||H.createElement,c=[A_,x_,O_,r.enforceAtxHeadings?R_:w_,C_,M_,s1,l1],h=[...c,Ow,hh,N_,dh];function d(S,A,...b){const x=yh(r.overrides,S+".props",{});return u(function(E,k){const Z=yh(k,E);return Z?typeof Z=="function"||typeof Z=="object"&&"render"in Z?Z:yh(k,E+".component",E):E}(S,r.overrides),ja({},A,x,{className:iR(A?.className,x.className)||void 0}),...b)}function m(S){S=S.replace(yw,"");let A=!1;r.forceInline?A=!0:r.forceBlock||(A=Nw.test(S)===!1);const b=M(L(A?S:$s(S).replace(Fw,"")+`
|
|
100
|
-
|
|
101
|
-
`,{inline:A}));for(;typeof b[b.length-1]=="string"&&!b[b.length-1].trim();)b.pop();if(r.wrapper===null)return b;const x=r.wrapper||(A?"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(x,{key:"outer"},E)}function g(S,A){if(!A||!A.trim())return null;const b=A.match(aw);return b?b.reduce(function(x,E){const k=E.indexOf("=");if(k!==-1){const Z=function(J){return J.indexOf("-")!==-1&&J.match(bw)===null&&(J=J.replace(xw,function(oe,ue){return ue.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=S_[Z]||Z;if(de==="ref")return x;const ie=x[de]=function(J,oe,ue,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}(ue).reduce(function(be,[G,$]){return be[G.replace(/(-[a-z])/g,ne=>ne[1].toUpperCase())]=Ve($,J,G),be},{}):rw.indexOf(oe)!==-1?Ve(Xn(ue),J,oe):(ue.match(Ew)&&(ue=Xn(ue.slice(1,ue.length-1))),ue==="true"||ue!=="false"&&ue)}(S,Z,ee,s);typeof ie=="string"&&(hh.test(ie)||dh.test(ie))&&(x[de]=m(ie.trim()))}else E!=="style"&&(x[S_[E]||E]=!0);return x},{}):null}const y=[],T={},O={0:{t:[">"],o:Er(A_),i:1,u(S,A,b){const[,x,E]=S[0].replace(lw,"").match(ow);return{alert:x,children:A(E,b)}},l(S,A,b){const x={key:b.key};return S.alert&&(x.className="markdown-alert-"+i(S.alert.toLowerCase(),zs),S.children.unshift({attrs:{},children:[{type:"27",text:S.alert}],noInnerParse:!0,type:"11",tag:"header"})),d("blockquote",x,A(S.children,b))}},1:{o:ks(uw),i:1,u:ph,l:(S,A,b)=>d("br",{key:b.key})},2:{t:S=>{const A=S[0];return A==="-"||A==="*"||A==="_"},o:Er(cw),i:1,u:ph,l:(S,A,b)=>d("hr",{key:b.key})},3:{t:[" "],o:Er(O_),i:0,u:S=>({lang:void 0,text:Xn($s(S[0].replace(/^ {4}/gm,"")))}),l:(S,A,b)=>d("pre",{key:b.key},d("code",ja({},S.attrs,{className:S.lang?"lang-"+S.lang:""}),S.text))},4:{t:["```","~~~"],o:Er(x_),i:0,u:S=>({attrs:g("code",S[3]||""),lang:S[2]||void 0,text:S[4],type:"3"})},5:{t:["`"],o:ra(fw),i:3,u:S=>({text:Xn(S[2])}),l:(S,A,b)=>d("code",{key:b.key},S.text)},6:{t:["[^"],o:Er(mw),i:0,u:S=>(y.push({footnote:S[2],identifier:S[1]}),{}),l:gh},7:{t:["[^"],o:na(pw),i:1,u:S=>({target:"#"+i(S[1],zs),text:S[1]}),l:(S,A,b)=>d("a",{key:b.key,href:s(S.target,"a","href")},d("sup",{key:b.key},S.text))},8:{t:["[ ]","[x]"],o:na(_w),i:1,u:S=>({completed:S[1].toLowerCase()==="x"}),l:(S,A,b)=>d("input",{checked:S.completed,key:b.key,readOnly:!0,type:"checkbox"})},9:{t:["#"],o:Er(r.enforceAtxHeadings?R_:w_),i:1,u:(S,A,b)=>({children:Ko(A,S[2],b),id:i(S[2],zs),level:S[1].length}),l:(S,A,b)=>d("h"+S.level,{id:S.id,key:b.key},A(S.children,b))},10:{o:Er(C_),i:0,u:(S,A,b)=>({children:Ko(A,S[1],b),level:S[2]==="="?1:2,type:"9"})},11:{t:["<"],o:ks(hh),i:1,u(S,A,b){const[,x]=S[3].match(Pw),E=RegExp("^"+x,"gm"),k=S[3].replace(E,""),Z=(ee=k,h.some(ue=>ue.test(ee))?aR:Ko);var ee;const de=S[1].toLowerCase(),ie=nw.indexOf(de)!==-1,J=(ie?de:S[1]).trim(),oe={attrs:g(J,S[2]),noInnerParse:ie,tag:J};if(b.inAnchor=b.inAnchor||de==="a",ie)oe.text=S[3];else{const ue=b.inHTML;b.inHTML=!0,oe.children=Z(A,k,b),b.inHTML=ue}return b.inAnchor=!1,oe},l:(S,A,b)=>d(S.tag,ja({key:b.key},S.attrs),S.text||(S.children?A(S.children,b):""))},13:{t:["<"],o:ks(dh),i:1,u(S){const A=S[1].trim();return{attrs:g(A,S[2]||""),tag:A}},l:(S,A,b)=>d(S.tag,ja({},S.attrs,{key:b.key}))},12:{t:["<!--"],o:ks(N_),i:1,u:()=>({}),l:gh},14:{t:["!["],o:ra($w),i:1,u:S=>({alt:Xn(S[1]),target:Xn(S[2]),title:Xn(S[3])}),l:(S,A,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:na(Kw),i:3,u:(S,A,b)=>({children:rR(A,S[1],b),target:Xn(S[2]),title:Xn(S[3])}),l:(S,A,b)=>d("a",{key:b.key,href:s(S.target,"a","href"),title:S.title},A(S.children,b))},16:{t:["<"],o:na(Aw),i:0,u:S=>({children:[{text:S[1],type:"27"}],target:S[1],type:"15"})},17:{t:(S,A)=>!A.inAnchor&&!r.disableAutoLink&&(yd(S,"http://")||yd(S,"https://")),o:na(Sw),i:0,u:S=>({children:[{text:S[1],type:"27"}],target:S[1],title:void 0,type:"15"})},18:{t:["<"],o:na(Tw),i:0,u(S){let A=S[1],b=S[1];return iw.test(b)||(b="mailto:"+b),{children:[{text:A.replace("mailto:",""),type:"27"}],target:b,type:"15"}}},20:D_(d,1),33:D_(d,2),19:{o:Er(hw),i:3,u:ph,l:()=>`
|
|
102
|
-
`},21:{o:al(function(S,A){if(A.inline||A.simple||A.inHTML&&S.indexOf(`
|
|
103
|
-
|
|
104
|
-
`)===-1&&A.prevCapture.indexOf(`
|
|
105
|
-
|
|
106
|
-
`)===-1)return null;let b="";S.split(`
|
|
107
|
-
`).every(E=>(E+=`
|
|
108
|
-
`,!c.some(k=>k.test(E))&&(b+=E,!!E.trim())));const x=$s(b);return x===""?null:[b,,x]}),i:3,u:mh,l:(S,A,b)=>d("p",{key:b.key},A(S.children,b))},22:{t:["["],o:na(ww),i:0,u:S=>(T[S[1]]={target:S[2],title:S[4]},{}),l:gh},23:{t:["!["],o:ra(Rw),i:0,u:S=>({alt:S[1]?Xn(S[1]):void 0,ref:S[2]}),l:(S,A,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:na(Cw),i:0,u:(S,A,b)=>({children:A(S[1],b),fallbackChildren:S[0],ref:S[2]}),l:(S,A,b)=>T[S.ref]?d("a",{key:b.key,href:s(T[S.ref].target,"a","href"),title:T[S.ref].title},A(S.children,b)):d("span",{key:b.key},S.fallbackChildren)},25:{t:["|"],o:Er(M_),i:1,u:eR,l(S,A,b){const x=S;return d("table",{key:b.key},d("thead",null,d("tr",null,x.header.map(function(E,k){return d("th",{key:k,style:L_(x,k)},A(E,b))}))),d("tbody",null,x.cells.map(function(E,k){return d("tr",{key:k},E.map(function(Z,ee){return d("td",{key:ee,style:L_(x,ee)},A(Z,b))}))})))}},27:{o:ks(qw),i:4,u(S){const A=S[0];return{text:A.indexOf("&")===-1?A:A.replace(vw,(b,x)=>r.namedCodesToUnicode[x]||b)}},l:S=>S.text},28:{t:["**","__"],o:ra(jw),i:2,u:(S,A,b)=>({children:A(S[2],b)}),l:(S,A,b)=>d("strong",{key:b.key},A(S.children,b))},29:{t:S=>{const A=S[0];return(A==="*"||A==="_")&&S[1]!==A},o:ra(Hw),i:3,u:(S,A,b)=>({children:A(S[2],b)}),l:(S,A,b)=>d("em",{key:b.key},A(S.children,b))},30:{t:["\\"],o:ra(Iw),i:1,u:S=>({text:S[1],type:"27"})},31:{t:["=="],o:ra(zw),i:3,u:mh,l:(S,A,b)=>d("mark",{key:b.key},A(S.children,b))},32:{t:["~~"],o:ra(kw),i:3,u:mh,l:(S,A,b)=>d("del",{key:b.key},A(S.children,b))}};r.disableParsingRawHTML===!0&&(delete O[11],delete O[13]);const L=function(S){var A=Object.keys(S);function b(x,E){var k=[];if(E.prevCapture=E.prevCapture||"",x.trim())for(;x;)for(var Z=0;Z<A.length;){var ee=A[Z],de=S[ee];if(!de.t||Ww(x,E,de.t)){var ie=de.o(x,E);if(ie&&ie[0]){x=x.substring(ie[0].length);var J=de.u(ie,b,E);E.prevCapture+=ie[0],J.type||(J.type=ee),k.push(J);break}Z++}else Z++}return E.prevCapture="",k}return A.sort(function(x,E){return S[x].i-S[E].i||(x<E?-1:1)}),function(x,E){return b(function(k){return k.replace(dw,`
|
|
109
|
-
`).replace(gw,"").replace(Mw," ")}(x),E)}}(O),M=(V=function(S,A){return function(b,x,E){const k=S[b.type].l;return A?A(()=>k(b,x,E),b,x,E):k(b,x,E)}}(O,r.renderRule),function S(A,b={}){if(Array.isArray(A)){const x=b.key,E=[];let k=!1;for(let Z=0;Z<A.length;Z++){b.key=Z;const ee=S(A[Z],b),de=typeof ee=="string";de&&k?E[E.length-1]+=ee:ee!==null&&E.push(ee),k=de}return b.key=x,E}return V(A,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,zs),key:S.identifier},S.identifier,M(L(S.footnote,{inline:!0})))}))):I}const xr=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,ew);return H.cloneElement(sR(r,i),s)},lR="_generalConditionsContainer_55hjg_1",oR="_generalConditions_55hjg_1",uR="_generalConditionsHeader_55hjg_15",cR="_generalConditionsBody_55hjg_26",fR="_generalConditionsAccept_55hjg_35",Is={generalConditionsContainer:lR,generalConditions:oR,generalConditionsHeader:uR,generalConditionsBody:cR,generalConditionsAccept:fR},hR=()=>_.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"})}),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,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"})}),mR="general-conditions.header",pR="general-conditions.body",U_="general-conditions.accept-conditions-note",gR=()=>{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(mR),h=n(U_);return _.jsxs("div",{className:K(Is.generalConditionsContainer,"chat__generalConditions"),children:[!!c?.length&&_.jsxs("div",{className:Is.generalConditions,children:[_.jsxs("div",{role:"button",onClick:s,onKeyDown:u,tabIndex:0,className:K(Is.generalConditionsHeader,"chat__generalConditions__header"),"aria-controls":"general-conditions-body","aria-expanded":r?"true":"false","aria-pressed":r?"true":"false",children:[_.jsx(xr,{children:c}),r?_.jsx(dR,{}):_.jsx(hR,{})]}),_.jsx("div",{className:K(Is.generalConditionsBody,"chat__generalConditions__body"),id:"general-conditions-body",role:"region",tabIndex:-1,children:r&&_.jsx(xr,{children:n(pR)||""})})]}),!!h?.length&&_.jsx("div",{className:K(Is.generalConditionsAccept,"chat__generalConditions__accept"),tabIndex:0,children:_.jsx(xr,{children:n(U_)||""})})]})},yR="_message_6i1zm_1",_R="_messageBot_6i1zm_9",vR="_messageBotLast_6i1zm_19",bR="_avatar_6i1zm_19",ER="_messageBotFirst_6i1zm_24",SR="_messageBotAnimated_6i1zm_37",TR="_messageGuest_6i1zm_48",AR="_messageGuestFirst_6i1zm_54",xR="_messageGuestLast_6i1zm_60",OR="_botAvatar_6i1zm_74",wR="_agentAvatar_6i1zm_78",RR="_bubble_6i1zm_82",CR="_bubbleContent_6i1zm_88",NR="_bubbleLeft_6i1zm_102",MR="_leftText_6i1zm_113",DR="_bubbleRight_6i1zm_120",BR="_rightText_6i1zm_130",LR="_sourceInfoReference_6i1zm_162",UR="_sourceInfoReferenceActive_6i1zm_174",_e={message:yR,messageBot:_R,messageBotLast:vR,avatar:bR,messageBotFirst:ER,messageBotAnimated:SR,messageGuest:TR,messageGuestFirst:AR,messageGuestLast:xR,botAvatar:OR,agentAvatar:wR,bubble:RR,bubbleContent:CR,bubbleLeft:NR,leftText:MR,bubbleRight:DR,rightText:BR,sourceInfoReference:LR,sourceInfoReferenceActive:UR},jR="_botMessageActions_1dl7x_1",HR="_alwaysVisible_1dl7x_22",zR="_reported_1dl7x_29",kR="_action_1dl7x_33",aa={botMessageActions:jR,alwaysVisible:HR,reported:zR,action:kR},IR=({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(aa.botMessageActions,n&&aa.alwaysVisible,i&&aa.reported),children:[r===ou.BOT&&_.jsx("button",{className:K(aa.action,i==="GOOD"&&aa.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===ou.BOT&&_.jsx("button",{className:K(aa.action,i==="BAD"&&aa.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(aa.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"})})})]})},o1=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(IR,{alwaysVisible:i&&u,senderType:n.sender.type,reaction:n.reaction,botMessageRef:g,onReaction:h})]})}),GR="_sourceList_1n31h_1",qR="_source_1n31h_1",FR="_label_1n31h_37",_h={sourceList:GR,source:qR,label:FR},u1=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"})}),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:"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"})}),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:"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"})}),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:"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"})}),PR=({type:n,...r})=>{switch(n){case"WEBSITE":return _.jsx(h1,{...r});case"PDF":return _.jsx(f1,{...r});case"DOCX":return _.jsx(u1,{...r});default:return _.jsx(c1,{...r})}},nm=({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:_h.sourceList,"aria-label":i("bot-bubble.sources"),children:n.map(c=>_.jsx("li",{className:_h.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(PR,{type:c.type,"aria-hidden":"true"}),_.jsx("div",{className:_h.label,children:c.label})]})},c.url))}):null},VR="_button_3ui4g_1",YR="_buttonDefault_3ui4g_13",ZR="_buttonPrimary_3ui4g_28",el={button:VR,buttonDefault:YR,buttonPrimary:ZR},Tu=({className:n,children:r,...i})=>_.jsx("button",{className:K(el.button,n),type:"button",role:"button",...i,children:r}),XR="_title_b904h_1",QR="_subtitle_b904h_6",KR="_buttons_b904h_11",$R="_button_b904h_11",WR="_imageContainer_b904h_34",JR="_image_b904h_34",eC="_video_container_b904h_49",tC="_video_b904h_49",nC="_only_b904h_63",Xt={title:XR,subtitle:QR,buttons:KR,button:$R,imageContainer:WR,image:JR,video_container:eC,video:tC,only:nC},rC=({buttons:n,onButtonClick:r})=>_.jsx("div",{className:K(Xt.buttons,"chat__bubbleButtons"),children:n.map((i,s)=>_.jsx(Tu,{className:K(Xt.button,"chat__bubbleButton"),onClick:()=>r(i),children:i.title},s))});var Ho={},zo={},ko={},j_;function aC(){if(j_)return ko;j_=1,Object.defineProperty(ko,"__esModule",{value:!0});var n=Ci(),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 ko.default=function(s,u,c){return r.createElement("a",{href:s,key:c},u)},ko}var Io={},H_;function iC(){return H_||(H_=1,Object.defineProperty(Io,"__esModule",{value:!0}),Io.default=function(n){return n}),Io}var Go={},vh,z_;function sC(){return z_||(z_=1,vh=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),vh}var bh,k_;function lC(){return k_||(k_=1,bh=/[\0-\x1F\x7F-\x9F]/),bh}var Eh,I_;function oC(){return I_||(I_=1,Eh=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Eh}var Sh,G_;function uC(){return G_||(G_=1,Sh=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/),Sh}var Th,q_;function cC(){return q_||(q_=1,Th=function(n){var r={};r.src_Any=sC().source,r.src_Cc=lC().source,r.src_Z=oC().source,r.src_P=uC().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}),Th}var Ah,F_;function fC(){if(F_)return Ah;F_=1;function n(b){var x=Array.prototype.slice.call(arguments,1);return x.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(x,E){return x||d.hasOwnProperty(E)},!1)}var g={"http:":{validate:function(b,x,E){var k=b.slice(x);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,x,E){var k=b.slice(x);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)?x>=3&&b[x-3]===":"||x>=3&&b[x-3]==="/"?0:k.match(E.re.no_http)[0].length:0}},"mailto:":{validate:function(b,x,E){var k=b.slice(x);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(x,E){var k=x.slice(E);return b.test(k)?k.match(b)[0].length:0}}function M(){return function(b,x){x.normalize(b)}}function V(b){var x=b.re=cC()(b.__opts__),E=b.__tlds__.slice();b.onCompile(),b.__tlds_replaced__||E.push(y),E.push(x.src_xn),x.src_tlds=E.join("|");function k(ie){return ie.replace("%TLDS%",x.src_tlds)}x.email_fuzzy=RegExp(k(x.tpl_email_fuzzy),"i"),x.link_fuzzy=RegExp(k(x.tpl_link_fuzzy),"i"),x.link_no_ip_fuzzy=RegExp(k(x.tpl_link_no_ip_fuzzy),"i"),x.host_fuzzy_test=RegExp(k(x.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("(^|(?!_)(?:[><|]|"+x.src_ZPCc+"))("+de+")","i"),b.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+x.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,x){var E=b.__index__,k=b.__last_index__,Z=b.__text_cache__.slice(E,k);this.schema=b.__schema__.toLowerCase(),this.index=E+x,this.lastIndex=k+x,this.raw=Z,this.text=Z,this.url=Z}function S(b,x){var E=new I(b,x);return b.__compiled__[E.schema].normalize(E,b),E}function A(b,x){if(!(this instanceof A))return new A(b,x);x||m(b)&&(x=b,b={}),this.__opts__=n({},d,x),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 A.prototype.add=function(x,E){return this.__schemas__[x]=E,V(this),this},A.prototype.set=function(x){return this.__opts__=n(this.__opts__,x),this},A.prototype.test=function(x){if(this.__text_cache__=x,this.__index__=-1,!x.length)return!1;var E,k,Z,ee,de,ie,J,oe,ue;if(this.re.schema_test.test(x)){for(J=this.re.schema_search,J.lastIndex=0;(E=J.exec(x))!==null;)if(ee=this.testSchemaAt(x,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=x.search(this.re.host_fuzzy_test),oe>=0&&(this.__index__<0||oe<this.__index__)&&(k=x.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:"]&&(ue=x.indexOf("@"),ue>=0&&(Z=x.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},A.prototype.pretest=function(x){return this.re.pretest.test(x)},A.prototype.testSchemaAt=function(x,E,k){return this.__compiled__[E.toLowerCase()]?this.__compiled__[E.toLowerCase()].validate(x,k,this):0},A.prototype.match=function(x){var E=0,k=[];this.__index__>=0&&this.__text_cache__===x&&(k.push(S(this,E)),E=this.__last_index__);for(var Z=E?x.slice(E):x;this.test(Z);)k.push(S(this,E)),Z=Z.slice(this.__last_index__),E+=this.__last_index__;return k.length?k:null},A.prototype.tlds=function(x,E){return x=Array.isArray(x)?x:[x],E?(this.__tlds__=this.__tlds__.concat(x).sort().filter(function(k,Z,ee){return k!==ee[Z-1]}).reverse(),V(this),this):(this.__tlds__=x.slice(),this.__tlds_replaced__=!0,V(this),this)},A.prototype.normalize=function(x){x.schema||(x.url="http://"+x.url),x.schema==="mailto:"&&!/^mailto:/i.test(x.url)&&(x.url="mailto:"+x.url)},A.prototype.onCompile=function(){},Ah=A,Ah}const hC=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 P_;function dC(){if(P_)return Go;P_=1,Object.defineProperty(Go,"__esModule",{value:!0});var n=fC(),r=u(n),i=hC,s=u(i);function u(h){return h&&h.__esModule?h:{default:h}}var c=new r.default;return c.tlds(s.default),Go.default=function(h){return c.match(h)},Go}var qo={},V_;function mC(){return V_||(V_=1,Object.defineProperty(qo,"__esModule",{value:!0}),qo.default=function(n){return n}),qo}var Y_;function pC(){if(Y_)return zo;Y_=1,Object.defineProperty(zo,"__esModule",{value:!0});var n=function(){function S(A,b){for(var x=0;x<b.length;x++){var E=b[x];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(A,E.key,E)}}return function(A,b,x){return b&&S(A.prototype,b),x&&S(A,x),A}}(),r=Ci(),i=O(r),s=aC(),u=T(s),c=iC(),h=T(c),d=dC(),m=T(d),g=mC(),y=T(g);function T(S){return S&&S.__esModule?S:{default:S}}function O(S){if(S&&S.__esModule)return S;var A={};if(S!=null)for(var b in S)Object.prototype.hasOwnProperty.call(S,b)&&(A[b]=S[b]);return A.default=S,A}function L(S,A){if(!(S instanceof A))throw new TypeError("Cannot call a class as a function")}function M(S,A){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:S}function V(S,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);S.prototype=Object.create(A&&A.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(S,A):S.__proto__=A)}var I=function(S){V(A,S);function A(){return L(this,A),M(this,(A.__proto__||Object.getPrototypeOf(A)).apply(this,arguments))}return n(A,[{key:"parseString",value:function(x){var E=this;if(x==="")return x;var k=this.props.matchDecorator(x);if(!k)return x;var Z=[],ee=0;return k.forEach(function(de,ie){de.index>ee&&Z.push(x.substring(ee,de.index));var J=E.props.hrefDecorator(de.url),oe=E.props.textDecorator(de.text),ue=E.props.componentDecorator(J,oe,ie);Z.push(ue),ee=de.lastIndex}),x.length>ee&&Z.push(x.substring(ee)),Z.length===1?Z[0]:Z}},{key:"parse",value:function(x){var E=this,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof x=="string"?this.parseString(x):i.isValidElement(x)&&x.type!=="a"&&x.type!=="button"?i.cloneElement(x,{key:k},this.parse(x.props.children)):Array.isArray(x)?x.map(function(Z,ee){return E.parse(Z,ee)}):x}},{key:"render",value:function(){return i.createElement(i.Fragment,null,this.parse(this.props.children))}}]),A}(i.Component);return I.defaultProps={componentDecorator:u.default,hrefDecorator:h.default,matchDecorator:m.default,textDecorator:y.default},zo.default=I,zo}var Z_;function gC(){if(Z_)return Ho;Z_=1,Object.defineProperty(Ho,"__esModule",{value:!0});var n=pC(),r=i(n);function i(s){return s&&s.__esModule?s:{default:s}}return Ho.default=r.default,Ho}var yC=gC();const _C=fu(yC),vC="_text_gp0s0_1",bC="_command_gp0s0_5",X_={text:vC,command:bC},d1=({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:X_.command,children:["/",c]}),h.split(`
|
|
110
|
-
`).map((d,m)=>_.jsxs("span",{className:X_.text,children:[_.jsx(_C,{componentDecorator:u,children:d}),_.jsx("br",{})]},m))]})},EC=({subtitle:n,onLinkClick:r})=>n?_.jsx("div",{className:Xt.subtitle,children:_.jsx(d1,{text:n,onLinkClick:r})}):null,Q_="newtab#",m1=({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(Q_)===0?_.jsx("a",{href:h.slice(Q_.length),title:c,target:"_blank",rel:"noopener noreferrer",children:d}):_.jsx("a",{onClick:s(h),title:c,href:h,children:d});return _.jsx(xr,{options:{...r,overrides:{a:u}},children:n})},SC=({text:n,onLinkClick:r})=>n?_.jsx("div",{children:_.jsx(m1,{markdown:n,onLinkClick:r})}):null,TC=({title:n})=>n?_.jsx("h1",{className:Xt.title,children:n}):null,AC=({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(TC,{title:n}),_.jsx(SC,{text:r,onLinkClick:c}),_.jsx(EC,{subtitle:i,onLinkClick:c}),_.jsx(rC,{buttons:s,onButtonClick:u})]}):null,xC=({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,OC=({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(xC,{hasBody:g,imageUrl:s,itemUrl:u,alt:n||i}),g&&_.jsx(AC,{title:n,text:r,subtitle:i,buttons:c,onLinkClick:m,onButtonClick:d}),_.jsx(nm,{sources:h,onLinkClick:m})]})},wC=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})})})}),RC="_markdown_nw7vg_1",p1={markdown:RC},g1=()=>CC(window.location.pathname),CC=n=>{const r=n.split("/"),i=n.endsWith("/");return r[r.length-(i?2:1)]},rm=()=>H.useMemo(()=>g1(),[]),Fo="source-info-reference",NC=({actionId:n,markdown:r,sources:i,onLinkClick:s})=>{const u=rm(),c=Ga(),h=MC(),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(v_(u,n,y)))},g=y=>()=>{c(v_(u,n,y))};return H.useLayoutEffect(()=>{document.querySelectorAll(`.${Fo}`).forEach(y=>{const T=y.previousSibling;T&&T.nodeType===Node.TEXT_NODE&&T.textContent?.endsWith(" ")&&T.textContent?.trim().length&&y.classList.add(`${Fo}--before-space`);const O=y.nextSibling;O&&O.nodeType===Node.TEXT_NODE&&O.textContent?.startsWith(" ")&&O.textContent?.trim().length&&y.classList.add(`${Fo}--after-space`)})},[r]),_.jsxs("div",{className:_e.bubbleContent,children:[_.jsx("div",{className:p1.markdown,children:_.jsx(m1,{markdown:r,onLinkClick:s,markdownOptions:{renderRule(y,T,O,L){if(T.type===tw.footnoteReference){const M=T.text===d;return _.jsx("span",{className:K(_e.sourceInfoReference,M&&_e.sourceInfoReferenceActive,Fo),children:_.jsx("a",{type:"button",tabIndex:0,onClick:g(T.text),onKeyDown:m(T.text),children:h(T.text)})},L.key)}return y()}}})}),_.jsx(nm,{sources:i,onLinkClick:s})]})},MC=()=>{const n=[];return i=>{const s=n.indexOf(i);return s>-1?s+1:(n.push(i),n.length)}},DC=({text:n,commands:r,sources:i,onLinkClick:s})=>_.jsxs("div",{className:_e.bubbleContent,children:[_.jsx(d1,{text:n,commands:r,onLinkClick:s}),_.jsx(nm,{sources:i,onLinkClick:s})]}),BC=H.forwardRef(({message:n,commands:r,isLastMessage:i,isFirstMessageBySender:s,isLastMessageBySender:u,onReaction:c,onButtonClick:h,onLinkClick:d},m)=>{const g=LC(n._id,n,r,h,d);switch(n.sender.type){case we.UserType.GUEST:return _.jsx(wC,{ref:m,isFirstMessageBySender:s,isLastMessageBySender:u,children:g});default:{const y=T=>c(n._id,T);return _.jsx(o1,{ref:m,message:n,isAnimated:!1,isLastMessage:i,isFirstMessageBySender:s,isLastMessageBySender:u,onReaction:y,children:g})}}}),LC=(n,r,i,s,u)=>{switch(r.type){case we.MessageTypeEnum.TEXT:{const c=r;return _.jsx(DC,{text:c.text,commands:i,sources:r.sources||[],onLinkClick:u})}case we.MessageTypeEnum.DETAIL:{const c=r;return _.jsx(OC,{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(NC,{actionId:n,markdown:c.markdown,sources:c.sources||[],onLinkClick:u})}}},UC=(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,jC=Iv.memo(BC,UC),HC="_ticontainer_xg0dn_1",zC="_tiblock_xg0dn_5",kC="_tidot_xg0dn_12",Gs={ticontainer:HC,tiblock:zC,tidot:kC},IC=({isTyping:n=!1})=>_.jsx("div",{className:Gs.ticontainer,children:_.jsx("div",{className:Gs.tiblock,children:n?_.jsxs(_.Fragment,{children:[_.jsx("div",{className:K(Gs.tidot,"chat__typingIndicator")}),_.jsx("div",{className:K(Gs.tidot,"chat__typingIndicator")}),_.jsx("div",{className:K(Gs.tidot,"chat__typingIndicator")})]}):null})}),GC=Object.assign({_id:"typing-indicator"},new we.TextMessage("",new we.BotUser)),qC=({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(E_.messageContainer,"chat__messageContainer"),style:{scrollBehavior:n.length&&d.current?"auto":"smooth"},id:"MessageContainer",role:"log","aria-live":"polite",children:[T&&_.jsx(gR,{}),_.jsxs("ul",{className:E_.messages,children:[n.map((M,V)=>{const I=FC(M,O),S=PC(M,V,n,r);O=M.sender.type;const A=V+1===L,b=M._id||`added-${V}`;return _.jsx(jC,{ref:A?y:null,message:M,commands:i,isLastMessage:A,isFirstMessageBySender:I,isLastMessageBySender:S,onButtonClick:u,onLinkClick:c,onReaction:s},A&&!r?"last":b)}),r&&_.jsx(o1,{ref:g,message:GC,isLastMessage:!1,isAnimated:!0,isFirstMessageBySender:O!==we.UserType.BOT,isLastMessageBySender:!0,children:_.jsx(IC,{isTyping:!0})},"last")]})]})},FC=(n,r)=>!r||r!==n.sender.type,PC=(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},VC="_bottomSheet_jp8dl_1",YC="_bottomSheetOpen_jp8dl_15",ZC="_bottomSheetClose_jp8dl_20",Or={bottomSheet:VC,bottomSheetOpen:YC,bottomSheetClose:ZC},XC="_container_xc2nx_1",K_={container:XC},QC=({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(K_.container,Or.bottomSheet,{[Or.bottomSheetOpen]:!!n,[Or.bottomSheetClose]:i&&!n}),children:u&&_.jsx("iframe",{title:"Drawer",src:u,className:K_.iframe})})},KC="_container_z787n_1",$C={container:KC},WC=({title:n,href:r,children:i})=>_.jsx("a",{href:r,title:n,target:"_blank",rel:"noopener noreferrer",children:i}),JC=()=>{const r=tt()("powered-by");return r&&r.length?_.jsx("div",{className:K($C.container,"chat__poweredBy"),children:_.jsx(xr,{options:{overrides:{a:WC}},children:r})}):null},e6=({className:n,children:r,...i})=>_.jsx(Tu,{className:K(el.buttonDefault,n),type:"button",...i,children:r}),uu=({className:n,children:r,...i})=>_.jsx(Tu,{className:K(el.buttonPrimary,n),...i,children:r}),t6="_container_h23mk_1",n6="_formContainer_h23mk_17",r6="_emailInput_h23mk_22",a6="_description_h23mk_52",i6="_actions_h23mk_57",s6="_validationError_h23mk_67",l6="_submitted_h23mk_74",Da={container:t6,formContainer:n6,emailInput:r6,description:a6,actions:i6,validationError:s6,submitted:l6},o6=({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(Da.container,Or.bottomSheet,{[Or.bottomSheetOpen]:u===!0,[Or.bottomSheetClose]:u===!1}),children:[_.jsx("h2",{children:s("export-transcript.email.title")}),_.jsx(xr,{className:Da.description,children:s("export-transcript.email.description")||""}),_.jsxs("form",{onSubmit:T,className:Da.formContainer,children:[_.jsxs("div",{children:[_.jsx("input",{disabled:h,ref:y,type:"email",placeholder:s("export-transcript.email.placeholder"),className:Da.emailInput,onChange:O}),m?.length===0?_.jsx("div",{className:Da.validationError,children:s("export-transcript.email.invalid")}):null]}),_.jsxs("div",{className:Da.actions,children:[_.jsx(e6,{onClick:i,children:s("export-transcript.email.cancel")}),_.jsx(uu,{type:"submit",disabled:h||m===void 0||m.length===0,children:s("export-transcript.email.send")})]})]}),h&&_.jsx("div",{className:Da.submitted,children:s("export-transcript.email.success")})]})},u6="_inputContainer_fi5ao_1",c6={inputContainer:u6},f6="_blockUserInput_pot9c_1",h6={blockUserInput:f6},d6=({visible:n})=>{const r=tt();return n?_.jsx("div",{className:K(h6.blockUserInput,"chat__blockUserInput"),children:r("block-user-input.title")}):null},m6="_commandsDropdown_5ytuv_1",p6="_commands_5ytuv_1",g6="_command_5ytuv_1",y6="_commandActive_5ytuv_46",_6="_commandsSelections_5ytuv_55",Qs={commandsDropdown:m6,commands:p6,command:g6,commandActive:y6,commandsSelections:_6},y1=(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])},v6=(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])},b6=({text:n,commands:r,onSelectCommand:i,onVisibilityChange:s})=>{const u=H.useRef(null),c=tt(),[h,d]=H.useState([]),[m,g]=H.useState($_(r)),[y,T]=H.useState(0),O=L=>i(`/${L}`);return y1(u,()=>d([])),v6(h,y,O,T,d),H.useEffect(()=>{g($_(r))},[r]),H.useEffect(()=>{const L=n.length||0;L===0||L>m||!n.startsWith("/")?d([]):d(r.filter(E6(n))),T(0)},[r,n,m]),H.useEffect(()=>{s(!!h.length)},[h,s]),h.length?_.jsx("div",{ref:u,className:Qs.commandsDropdown,children:_.jsx("ul",{id:"command-list",className:Qs.commands,role:"listbox",children:h.map((L,M)=>_.jsxs("li",{className:K([Qs.command,y===M&&Qs.commandActive]),role:"option",onClick:()=>O(L),onMouseOver:()=>T(M),children:[_.jsxs("h1",{children:["/",L]}),_.jsx("p",{children:c(`commands.${L}`)})]},L))})}):null},$_=n=>Math.max(...n.map(r=>r.length+1)),E6=n=>r=>{const i=`/${r}`;return i.startsWith(n)&&i.length>=n.length},W_=3,S6=({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,W_);return _.jsxs("div",{className:Qs.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>W_?_.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]})},T6="_callToActionContainer_1pojq_1",A6="_callToActionTitle_1pojq_23",x6="_rateOverlay_1pojq_30",O6="_body_1pojq_52",w6="_footer_1pojq_60",R6="_actions_1pojq_73",C6="_bubbles_1pojq_101",N6="_stars_1pojq_203",M6="_starsSmall_1pojq_217",D6="_starsLarge_1pojq_223",B6="_star_1pojq_203",L6="_starReadonly_1pojq_237",U6="_starIcon_1pojq_247",j6="_starsDescriptionContainer_1pojq_265",H6="_starsDescription_1pojq_265",Ht={callToActionContainer:T6,callToActionTitle:A6,rateOverlay:x6,body:O6,footer:w6,actions:R6,bubbles:C6,stars:N6,starsSmall:M6,starsLarge:D6,star:B6,starReadonly:L6,starIcon:U6,starsDescriptionContainer:j6,starsDescription:H6},z6=({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"})})})})})},J_=5,_1=({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(J_).fill(0).map((g,y)=>_.jsx(z6,{value:u===void 0?n:u,index:y,count:J_,readonly:i,onHover:d(y),onClick:m(y)},y))})},k6=({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(_1,{value:0,size:"small",onChange:r})]}):null},xh=({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})})]}),I6=({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})})}),G6=({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 A=V.current?.value?.trim()||"";i(c,A),O({submitted:!0,feedback:A})};return _.jsx("div",{className:K(Ht.rateOverlay,Or.bottomSheet,"chat__conversationRating__overlay",{[Or.bottomSheetOpen]:g===!0,[Or.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(xh,{isFirstMessageBySender:!0,isLastMessageBySender:!1,children:[_.jsx("h2",{children:u("conversation-rating.overlay.title")}),_.jsxs("div",{className:K(Ht.starsDescriptionContainer),children:[_.jsx(_1,{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(xh,{isFirstMessageBySender:!1,isLastMessageBySender:!L||!!T.feedback.length,children:_.jsx("div",{children:d})}),!!T.feedback.length&&_.jsx(I6,{children:T.feedback}),L&&_.jsx(xh,{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(uu,{type:"button",onClick:s,children:u("conversation-rating.overlay.action.close")}):_.jsx(uu,{type:"submit",children:u("conversation-rating.overlay.action.submit")})})]})]})})},q6=({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(k6,{visible:y,onRate:m}),_.jsx(G6,{visible:s,rating:h,onRate:c,onClose:g})]}):null},F6=H.memo(q6),P6="_inputWrapper_e3h44_1",V6="_withOpenCommands_e3h44_14",Y6="_messageInputWrapper_e3h44_20",Z6="_messageInput_e3h44_20",X6="_buttons_e3h44_44",Q6="_button_e3h44_44",xi={inputWrapper:P6,withOpenCommands:V6,messageInputWrapper:Y6,messageInput:Z6,buttons:X6,button:Q6},K6="_audioRecorder_g845f_1",$6="_audioButton_g845f_6",W6="_recorderIcon_g845f_37",J6="_spinning_g845f_60",Ba={audioRecorder:K6,audioButton:$6,recorderIcon:W6,spinning:J6},ev=2048,cu=16e3;class e3 extends Iv.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(ev,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+=ev}}handleClickSubmitAudio(){const r=n3(this.leftchannel,this.recordingLength),i=r3(r,this.sampleRate||0),s=t3(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:Ba.audioRecorder,children:[this.state.recordingState==="none"&&_.jsx("button",{className:K(Ba.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:Ba.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:Ba.audioRecorder,children:[_.jsx("button",{className:K(Ba.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:Ba.recorderIcon}),_.jsx("button",{className:K(Ba.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 t3=n=>{const r=new ArrayBuffer(44+n.length*2),i=new DataView(r);Po(i,0,"RIFF"),i.setUint32(4,44+n.length*2,!0),Po(i,8,"WAVE"),Po(i,12,"fmt "),i.setUint32(16,16,!0),i.setUint16(20,1,!0),i.setUint16(22,1,!0),i.setUint32(24,cu,!0),i.setUint32(28,cu*4,!0),i.setUint16(32,4,!0),i.setUint16(34,16,!0),Po(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"})},Po=(n,r,i)=>{for(let s=0;s<i.length;s++)n.setUint8(r+s,i.charCodeAt(s))},n3=(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},r3=(n,r)=>{if(cu===r)return n;const i=r/cu,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},a3=({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(xi.inputWrapper,i&&xi.withOpenCommands,"chat__textInput"),onSubmit:T,children:[_.jsx("div",{className:xi.messageInputWrapper,children:_.jsx("textarea",{id:"user_input",ref:m,className:xi.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(xi.buttons,"chat__buttons"),children:r.length||!g||navigator.mediaDevices===void 0?_.jsx("button",{className:K(xi.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(e3,{translate:d,onAudioRecorded:h})})]})},i3="_quickReplies_83npe_1",s3="_quickReply_83npe_9",tv={quickReplies:i3,quickReply:s3},l3=({quickReplies:n,onQuickReplyClick:r})=>n.length?_.jsx("div",{className:K(tv.quickReplies,"chat__quickReplies"),children:n.map(i=>_.jsx(Tu,{tabIndex:0,className:K(tv.quickReply,"chat__button","chat__quickReply"),onClick:()=>r(i),children:i.label},i.label))}):null,nv=5e3,o3=1e3,u3=({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),A=H.useRef(0);H.useEffect(()=>{if(L&&!n){const E=S.current?Date.now()-S.current:0;E>nv?M(!1):setTimeout(()=>{M(!1)},nv-E)}},[L,n]),H.useEffect(()=>{L&&(S.current=Date.now())},[L]);const b=E=>{const k=Date.now()-A.current<o3;return V?!1:n||k?(M(!0),!1):(d(E),O(""),A.current=Date.now(),!0)},x=E=>{O(E+" ")};return _.jsxs("div",{className:K(c6.inputContainer),children:[_.jsx(l3,{quickReplies:r,onQuickReplyClick:g}),_.jsx(d6,{visible:L}),!L&&_.jsx(F6,{conversationRating:i,numberOfMessagesFromGuest:s,onRate:m,showRatingOverlay:u,setShowRatingOverlay:h}),!!c?.length&&_.jsx(b6,{text:T,commands:c,onSelectCommand:x,onVisibilityChange:I}),_.jsx(a3,{textInput:T,disabled:L,commandsVisible:V,hasCommands:!!c?.length,onTextInput:O,onTextInputSubmit:b,onAudioRecorded:y}),!!c?.length&&_.jsx(S6,{commands:c,onSelectCommand:O})]})},c3=({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=Ga(),V=Qt(Z=>Z.connection.connectionState),{enableTranscriptExportEmail:I,commands:S}=Qt(Z=>Z.settings),{showTranscriptMailOverlay:A}=Qt(Z=>Z.chat),[b,x]=H.useState(!1),E=r.filter(Z=>Z.sender.type===ou.GUEST).length;H.useEffect(()=>{if(V===Ha.CONNECTED){const Z=mu.parse(window.location.search);M(Jb(n,Z))}},[n,V,M]);const k=()=>{M(Wb())};return _.jsxs("div",{className:fh.container,children:[_.jsxs("div",{className:K([fh.chatcontent,(A||b)&&fh.accessabilityHidden]),children:[_.jsx(qC,{messages:r,isBotTyping:s,commands:S,onButtonClick:g,onLinkClick:y,onTranscriptItemReaction:L}),_.jsx(u3,{isBotTyping:s,quickReplies:s?[]:i,numberOfMessagesFromGuest:E,conversationRating:c,showRatingOverlay:b,setShowRatingOverlay:x,commands:S,onRate:d,onQuickReplyClick:m,onTextInput:h,onAudioRecorded:T}),_.jsx(JC,{})]}),I&&_.jsx(o6,{visible:!!A,onEmailExport:O,onClose:k}),_.jsx(QC,{contentUrl:u})]})},f3=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}},h3=n=>({onRestartChat:(r,i)=>n(Eu(r,i)),onMessageFromUser:r=>n(Cb(r)),onRate:(r,i)=>n(Vx(r,i)),onAudioRecorded:r=>n(Ix(r)),onActionFromUser:r=>n(r),onQuickReplyClick:r=>n(Rb(r)),onNluEvent:r=>n(Lb(r)),onButtonClick:r=>n(Zx(r)),onLinkClick:r=>n(Ub(r)),onTranscriptExport:r=>n(qx(r)),onTranscriptItemReaction:(r,i)=>n(we.Actions.transcriptItemGuestReaction(r,i||null))}),d3=lT(f3,h3)(c3),v1=()=>{const[n,r]=H.useState(!1);return H.useEffect(()=>{r((()=>{try{return window.self!==window.top}catch{return!0}})())},[]),n},m3=n=>r=>{const i=r.key;(i==="ArrowDown"||i==="ArrowRight"||i==="Enter"||i===" "||i==="Space")&&(r.stopPropagation(),n())},p3=({onClick:n})=>{const r=tt();return v1()?_.jsx("button",{className:"tooltip--bottom-left","aria-label":r("header.close-chat"),"data-title":r("header.close-chat"),tabIndex:0,onClick:n,onKeyDown:m3(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},g3="_header_3gvbz_1",y3="_logoContainer_3gvbz_14",_3="_logo_3gvbz_14",v3="_actions_3gvbz_28",b3="_active_3gvbz_43",E3="_menuContainer_3gvbz_56",S3="_menu_3gvbz_56",T3="_divider_3gvbz_86",ia={header:g3,logoContainer:y3,logo:_3,actions:v3,active:b3,menuContainer:E3,menu:S3,divider:T3},A3=({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",{})}},x3=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?ia.divider:void 0,children:_.jsxs("a",{ref:s,type:"button",role:"button",tabIndex:-1,onClick:c,children:[_.jsx(A3,{icon:r.icon}),_.jsx("span",{children:u(`header.menu.${r.id}`)})]})})}),O3=n=>{const r=v1(),{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])},w3=({chatStarted:n})=>{const r=Ga(),i=rm(),s=tt(),[u,c]=H.useState(!1),[h,d]=H.useState(-1),m=H.useRef(null),g=H.useRef(null),y=H.useRef([]),T=O3(n);H.useEffect(()=>{y.current[h]?.focus()},[h]);const O=H.useCallback(()=>{const I=mu.parse(window.location.search);r(Eu(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(Fx());break;case"send-transcript":r(Wb());break;case"link":r(Ub(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(A=>A>0?A-1:T.length-1);break;case"ArrowDown":d(A=>A<T.length-1?A+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]),y1(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(ia.menuContainer),ref:g,children:[_.jsx("button",{ref:m,className:K(u&&ia.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:ia.menu,"aria-label":s("header.menu.title"),children:_.jsx("ul",{tabIndex:0,children:T.map((I,S)=>_.jsx(x3,{ref:A=>{y.current[S]=A},selected:h===S,item:I,onClick:()=>L(I)},I.id))})})]}):null},rv=({className:n,chatStarted:r,...i})=>{const s=Ga(),u=()=>{s(zO())};return _.jsxs("div",{className:K([ia.header,n]),...i,children:[_.jsx("div",{className:ia.logoContainer,children:_.jsx("div",{className:ia.logo})}),_.jsxs("div",{className:ia.actions,children:[_.jsx(w3,{chatStarted:r}),_.jsx(p3,{onClick:u})]})]})},R3="_chatwindow_rkbir_1",C3="_chatwindowWithAside_rkbir_21",av={chatwindow:R3,chatwindowWithAside:C3},b1=()=>{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},N3="_sourceInfos_vei0l_1",M3="_waitForLoading_vei0l_24",D3="_loadingContent_vei0l_28",B3="_sourceHeader_vei0l_37",L3="_sourceHeaderIcon_vei0l_57",U3="_sourceContent_vei0l_61",j3="_openSourceButton_vei0l_69",H3="_sourceButtonLabel_vei0l_79",z3="_closeSourceInfosButton_vei0l_101",k3="_loadingSourceInfos_vei0l_125",I3="_loading_vei0l_28",G3="_loadingError_vei0l_139",q3="_highlightLoadingInfo_vei0l_155",F3="_highlightLoadingInfoInnerContainer_vei0l_169",P3="_highlightLoadingInfoContent_vei0l_178",V3="_highlightLoadingInfoCloseIcon_vei0l_198",Y3="_highlightLoader_vei0l_203",Z3="_highlightLoaderLoading_vei0l_210",_t={sourceInfos:N3,waitForLoading:M3,loadingContent:D3,sourceHeader:B3,sourceHeaderIcon:L3,sourceContent:U3,openSourceButton:j3,sourceButtonLabel:H3,closeSourceInfosButton:z3,loadingSourceInfos:k3,loading:I3,loadingError:G3,highlightLoadingInfo:q3,highlightLoadingInfoInnerContainer:F3,highlightLoadingInfoContent:P3,highlightLoadingInfoCloseIcon:V3,highlightLoader:Y3,highlightLoaderLoading:Z3},X3=({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"})})})},Q3=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(X3,{onClick:r})]})),K3=({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:E1,setPrototypeOf:iv,isFrozen:$3,getPrototypeOf:W3,getOwnPropertyDescriptor:J3}=Object;let{freeze:zt,seal:Sn,create:S1}=Object,{apply:_d,construct:vd}=typeof Reflect<"u"&&Reflect;zt||(zt=function(r){return r});Sn||(Sn=function(r){return r});_d||(_d=function(r,i,s){return r.apply(i,s)});vd||(vd=function(r,i){return new r(...i)});const Vo=kt(Array.prototype.forEach),eN=kt(Array.prototype.lastIndexOf),sv=kt(Array.prototype.pop),qs=kt(Array.prototype.push),tN=kt(Array.prototype.splice),$o=kt(String.prototype.toLowerCase),Oh=kt(String.prototype.toString),lv=kt(String.prototype.match),Fs=kt(String.prototype.replace),nN=kt(String.prototype.indexOf),rN=kt(String.prototype.trim),jn=kt(Object.prototype.hasOwnProperty),Ut=kt(RegExp.prototype.test),Ps=aN(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 _d(n,r,s)}}function aN(n){return function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return vd(n,i)}}function Oe(n,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$o;iv&&iv(n,null);let s=r.length;for(;s--;){let u=r[s];if(typeof u=="string"){const c=i(u);c!==u&&($3(r)||(r[s]=c),u=c)}n[u]=!0}return n}function iN(n){for(let r=0;r<n.length;r++)jn(n,r)||(n[r]=null);return n}function Sr(n){const r=S1(null);for(const[i,s]of E1(n))jn(n,i)&&(Array.isArray(s)?r[i]=iN(s):s&&typeof s=="object"&&s.constructor===Object?r[i]=Sr(s):r[i]=s);return r}function Vs(n,r){for(;n!==null;){const s=J3(n,r);if(s){if(s.get)return kt(s.get);if(typeof s.value=="function")return kt(s.value)}n=W3(n)}function i(){return null}return i}const ov=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"]),wh=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"]),Rh=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"]),sN=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"]),Ch=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"]),lN=zt(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),uv=zt(["#text"]),cv=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"]),Nh=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"]),fv=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"]),Yo=zt(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),oN=Sn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),uN=Sn(/<%[\w\W]*|[\w\W]*%>/gm),cN=Sn(/\$\{[\w\W]*/gm),fN=Sn(/^data-[\-\w.\u00B7-\uFFFF]+$/),hN=Sn(/^aria-[\-\w]+$/),T1=Sn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),dN=Sn(/^(?:\w+script|data):/i),mN=Sn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),A1=Sn(/^html$/i),pN=Sn(/^[a-z][.\w]*(-[.\w]+)+$/i);var hv=Object.freeze({__proto__:null,ARIA_ATTR:hN,ATTR_WHITESPACE:mN,CUSTOM_ELEMENT:pN,DATA_ATTR:fN,DOCTYPE_NAME:A1,ERB_EXPR:uN,IS_ALLOWED_URI:T1,IS_SCRIPT_OR_DATA:dN,MUSTACHE_EXPR:oN,TMPLIT_EXPR:cN});const Ys={element:1,text:3,progressingInstruction:7,comment:8,document:9},gN=function(){return typeof window>"u"?null:window},yN=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}},dv=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function x1(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gN();const r=ce=>x1(ce);if(r.version="3.2.6",r.removed=[],!n||!n.document||n.document.nodeType!==Ys.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=Vs(M,"cloneNode"),I=Vs(M,"remove"),S=Vs(M,"nextSibling"),A=Vs(M,"childNodes"),b=Vs(M,"parentNode");if(typeof h=="function"){const ce=i.createElement("template");ce.content&&ce.content.ownerDocument&&(i=ce.content.ownerDocument)}let x,E="";const{implementation:k,createNodeIterator:Z,createDocumentFragment:ee,getElementsByTagName:de}=i,{importNode:ie}=s;let J=dv();r.isSupported=typeof E1=="function"&&typeof b=="function"&&k&&k.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:oe,ERB_EXPR:ue,TMPLIT_EXPR:Ve,DATA_ATTR:be,ARIA_ATTR:G,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:ne,CUSTOM_ELEMENT:Te}=hv;let{IS_ALLOWED_URI:R}=hv,q=null;const W=Oe({},[...ov,...wh,...Rh,...Ch,...uv]);let X=null;const re=Oe({},[...cv,...Nh,...fv,...Yo]);let se=Object.seal(S1(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,Cr=!0,Xe=!1,It=!0,xn=!1,Di=!1,Bi=!1,bt=!1,qa=!1,oa=!1,Li=!0,ua=!1;const Ou="user-content-";let Fa=!0,ca=!1,Nr={},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 Ui=null;const il=Oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pa="http://www.w3.org/1998/Math/MathML",tr="http://www.w3.org/2000/svg",Gt="http://www.w3.org/1999/xhtml";let qt=Gt,Mr=!1,nr=null;const wu=Oe({},[Pa,tr,Gt],Oh);let fa=Oe({},["mi","mo","mn","ms","mtext"]),ha=Oe({},["annotation-xml"]);const ji=Oe({},["title","style","font","a","script"]);let wn=null;const Ru=["application/xhtml+xml","text/html"],sl="text/html";let nt=null,In=null;const Hi=i.createElement("form"),zi=function(N){return N instanceof RegExp||N instanceof Function},ki=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(In&&In===N)){if((!N||typeof N!="object")&&(N={}),N=Sr(N),wn=Ru.indexOf(N.PARSER_MEDIA_TYPE)===-1?sl:N.PARSER_MEDIA_TYPE,nt=wn==="application/xhtml+xml"?Oh:$o,q=jn(N,"ALLOWED_TAGS")?Oe({},N.ALLOWED_TAGS,nt):W,X=jn(N,"ALLOWED_ATTR")?Oe({},N.ALLOWED_ATTR,nt):re,nr=jn(N,"ALLOWED_NAMESPACES")?Oe({},N.ALLOWED_NAMESPACES,Oh):wu,Ui=jn(N,"ADD_URI_SAFE_ATTR")?Oe(Sr(il),N.ADD_URI_SAFE_ATTR,nt):il,On=jn(N,"ADD_DATA_URI_TAGS")?Oe(Sr(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):Sr({}),$e=jn(N,"FORBID_ATTR")?Oe({},N.FORBID_ATTR,nt):Sr({}),Nr=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,Cr=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,qa=N.RETURN_DOM_FRAGMENT||!1,oa=N.RETURN_TRUSTED_TYPE||!1,Bi=N.FORCE_BODY||!1,Li=N.SANITIZE_DOM!==!1,ua=N.SANITIZE_NAMED_PROPS||!1,Fa=N.KEEP_CONTENT!==!1,ca=N.IN_PLACE||!1,R=N.ALLOWED_URI_REGEXP||T1,qt=N.NAMESPACE||Gt,fa=N.MATHML_TEXT_INTEGRATION_POINTS||fa,ha=N.HTML_INTEGRATION_POINTS||ha,se=N.CUSTOM_ELEMENT_HANDLING||{},N.CUSTOM_ELEMENT_HANDLING&&zi(N.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(se.tagNameCheck=N.CUSTOM_ELEMENT_HANDLING.tagNameCheck),N.CUSTOM_ELEMENT_HANDLING&&zi(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),qa&&(bt=!0),Nr&&(q=Oe({},uv),X=[],Nr.html===!0&&(Oe(q,ov),Oe(X,cv)),Nr.svg===!0&&(Oe(q,wh),Oe(X,Nh),Oe(X,Yo)),Nr.svgFilters===!0&&(Oe(q,Rh),Oe(X,Nh),Oe(X,Yo)),Nr.mathMl===!0&&(Oe(q,Ch),Oe(X,fv),Oe(X,Yo))),N.ADD_TAGS&&(q===W&&(q=Sr(q)),Oe(q,N.ADD_TAGS,nt)),N.ADD_ATTR&&(X===re&&(X=Sr(X)),Oe(X,N.ADD_ATTR,nt)),N.ADD_URI_SAFE_ATTR&&Oe(Ui,N.ADD_URI_SAFE_ATTR,nt),N.FORBID_CONTENTS&&(fn===Rt&&(fn=Sr(fn)),Oe(fn,N.FORBID_CONTENTS,nt)),Fa&&(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 Ps('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof N.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ps('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=N.TRUSTED_TYPES_POLICY,E=x.createHTML("")}else x===void 0&&(x=yN(L,u)),x!==null&&typeof E=="string"&&(E=x.createHTML(""));zt&&zt(N),In=N}},Rn=Oe({},[...wh,...Rh,...sN]),ft=Oe({},[...Ch,...lN]),Nt=function(N){let Q=b(N);(!Q||!Q.tagName)&&(Q={namespaceURI:qt,tagName:"template"});const te=$o(N.tagName),Fe=$o(Q.tagName);return nr[N.namespaceURI]?N.namespaceURI===tr?Q.namespaceURI===Gt?te==="svg":Q.namespaceURI===Pa?te==="svg"&&(Fe==="annotation-xml"||fa[Fe]):!!Rn[te]:N.namespaceURI===Pa?Q.namespaceURI===Gt?te==="math":Q.namespaceURI===tr?te==="math"&&ha[Fe]:!!ft[te]:N.namespaceURI===Gt?Q.namespaceURI===tr&&!ha[Fe]||Q.namespaceURI===Pa&&!fa[Fe]?!1:!ft[te]&&(ji[te]||!Rn[te]):!!(wn==="application/xhtml+xml"&&nr[N.namespaceURI]):!1},Et=function(N){qs(r.removed,{element:N});try{b(N).removeChild(N)}catch{I(N)}},Gn=function(N,Q){try{qs(r.removed,{attribute:Q.getAttributeNode(N),from:Q})}catch{qs(r.removed,{attribute:null,from:Q})}if(Q.removeAttribute(N),N==="is")if(bt||qa)try{Et(Q)}catch{}else try{Q.setAttribute(N,"")}catch{}},ll=function(N){let Q=null,te=null;if(Bi)N="<remove></remove>"+N;else{const We=lv(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=x?x.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=Mr?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},ol=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)},Va=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")},Dr=function(N){return typeof d=="function"&&N instanceof d};function Kt(ce,N,Q){Vo(ce,te=>{te.call(r,N,Q,In)})}const rr=function(N){let Q=null;if(Kt(J.beforeSanitizeElements,N,null),Va(N))return Et(N),!0;const te=nt(N.nodeName);if(Kt(J.uponSanitizeElement,N,{tagName:te,allowedTags:q}),It&&N.hasChildNodes()&&!Dr(N.firstElementChild)&&Ut(/<[/\w!]/g,N.innerHTML)&&Ut(/<[/\w!]/g,N.textContent)||N.nodeType===Ys.progressingInstruction||It&&N.nodeType===Ys.comment&&Ut(/<[/\w]/g,N.data))return Et(N),!0;if(!q[te]||he[te]){if(!he[te]&&Br(te)&&(se.tagNameCheck instanceof RegExp&&Ut(se.tagNameCheck,te)||se.tagNameCheck instanceof Function&&se.tagNameCheck(te)))return!1;if(Fa&&!fn[te]){const Fe=b(N)||N.parentNode,ht=A(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===Ys.text&&(Q=N.textContent,Vo([oe,ue,Ve],Fe=>{Q=Fs(Q,Fe," ")}),N.textContent!==Q&&(qs(r.removed,{element:N.cloneNode()}),N.textContent=Q)),Kt(J.afterSanitizeElements,N,null),!1)},ar=function(N,Q,te){if(Li&&(Q==="id"||Q==="name")&&(te in i||te in Hi))return!1;if(!(vt&&!$e[Q]&&Ut(be,Q))){if(!(Ue&&Ut(G,Q))){if(!X[Q]||$e[Q]){if(!(Br(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(!Ui[Q]){if(!Ut(R,Fs(te,ne,""))){if(!((Q==="src"||Q==="xlink:href"||Q==="href")&&N!=="script"&&nN(te,"data:")===0&&On[N])){if(!(kn&&!Ut($,Fs(te,ne,"")))){if(te)return!1}}}}}}return!0},Br=function(N){return N!=="annotation-xml"&&lv(N,Te)},ir=function(N){Kt(J.beforeSanitizeAttributes,N,null);const{attributes:Q}=N;if(!Q||Va(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:rN($t);if(te.attrName=qn,te.attrValue=st,te.keepAttr=!0,te.forceKeepAttr=void 0,Kt(J.uponSanitizeAttribute,N,te),st=te.attrValue,ua&&(qn==="id"||qn==="name")&&(Gn(We,N),st=Ou+st),It&&Ut(/((--!?|])>)|<\/(style|title)/i,st)){Gn(We,N);continue}if(te.forceKeepAttr)continue;if(!te.keepAttr){Gn(We,N);continue}if(!Cr&&Ut(/\/>/i,st)){Gn(We,N);continue}Xe&&Vo([oe,ue,Ve],sr=>{st=Fs(st,sr," ")});const Ii=nt(N.nodeName);if(!ar(Ii,qn,st)){Gn(We,N);continue}if(x&&typeof L=="object"&&typeof L.getAttributeType=="function"&&!Mt)switch(L.getAttributeType(Ii,qn)){case"TrustedHTML":{st=x.createHTML(st);break}case"TrustedScriptURL":{st=x.createScriptURL(st);break}}if(st!==$t)try{Mt?N.setAttributeNS(Mt,We,st):N.setAttribute(We,st),Va(N)?Et(N):sv(r.removed)}catch{Gn(We,N)}}Kt(J.afterSanitizeAttributes,N,null)},it=function ce(N){let Q=null;const te=ol(N);for(Kt(J.beforeSanitizeShadowDOM,N,null);Q=te.nextNode();)Kt(J.uponSanitizeShadowNode,Q,null),rr(Q),ir(Q),Q.content instanceof c&&ce(Q.content);Kt(J.afterSanitizeShadowDOM,N,null)};return r.sanitize=function(ce){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Q=null,te=null,Fe=null,ht=null;if(Mr=!ce,Mr&&(ce="<!-->"),typeof ce!="string"&&!Dr(ce))if(typeof ce.toString=="function"){if(ce=ce.toString(),typeof ce!="string")throw Ps("dirty is not a string, aborting")}else throw Ps("toString is not a function");if(!r.isSupported)return ce;if(Di||ki(N),r.removed=[],typeof ce=="string"&&(ca=!1),ca){if(ce.nodeName){const Ft=nt(ce.nodeName);if(!q[Ft]||he[Ft])throw Ps("root node is forbidden and cannot be sanitized in-place")}}else if(ce instanceof d)Q=ll("<!---->"),te=Q.ownerDocument.importNode(ce,!0),te.nodeType===Ys.element&&te.nodeName==="BODY"||te.nodeName==="HTML"?Q=te:Q.appendChild(te);else{if(!bt&&!Xe&&!xn&&ce.indexOf("<")===-1)return x&&oa?x.createHTML(ce):ce;if(Q=ll(ce),!Q)return bt?null:oa?E:""}Q&&Bi&&Et(Q.firstChild);const We=ol(ca?ce:Q);for(;Fe=We.nextNode();)rr(Fe),ir(Fe),Fe.content instanceof c&&it(Fe.content);if(ca)return ce;if(bt){if(qa)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(A1,Q.ownerDocument.doctype.name)&&(Mt="<!DOCTYPE "+Q.ownerDocument.doctype.name+`>
|
|
111
|
-
`+Mt),Xe&&Vo([oe,ue,Ve],Ft=>{Mt=Fs(Mt,Ft," ")}),x&&oa?x.createHTML(Mt):Mt},r.setConfig=function(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ki(ce),Di=!0},r.clearConfig=function(){In=null,Di=!1},r.isValidAttribute=function(ce,N,Q){In||ki({});const te=nt(ce),Fe=nt(N);return ar(te,Fe,Q)},r.addHook=function(ce,N){typeof N=="function"&&qs(J[ce],N)},r.removeHook=function(ce,N){if(N!==void 0){const Q=eN(J[ce],N);return Q===-1?void 0:tN(J[ce],Q,1)[0]}return sv(J[ce])},r.removeHooks=function(ce){J[ce]=[]},r.removeAllHooks=function(){J=dv()},r}var _N=x1();const vN=({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"})})]})]})},bN=({title:n,href:r,children:i})=>_.jsx("a",{href:r,title:n,target:"_blank",rel:"noopener noreferrer",children:i}),EN=({className:n,children:r,...i})=>_.jsx("a",{className:K(el.button,el.buttonDefault,n),type:"button",role:"button",...i,children:r}),SN=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"})}),TN=({type:n,...r})=>{switch(n){case"WEBSITE":return _.jsx(h1,{...r});case"PDF":return _.jsx(f1,{...r});case"DOCX":return _.jsx(u1,{...r});case"TEXT":return _.jsx(SN,{...r});default:return _.jsx(c1,{...r})}},AN=({url:n,knowledgeBaseType:r})=>{const i=tt();return _.jsx(EN,{className:_t.openSourceButton,href:n,target:"_blank",children:_.jsxs("div",{className:_t.sourceButtonLabel,children:[_.jsx("div",{className:_t.sourceHeaderIcon,children:_.jsx(TN,{type:r})}),_.jsx("p",{children:i("source-infos.open-source")})]})})},xN=({sourceInfos:{content:n,url:r,knowledgeBaseType:i,highlighted:s}})=>{const[u,c]=H.useState(!s);H.useEffect(()=>{s&&c(!1)},[s]);const h=_N.sanitize(n,{USE_PROFILES:{html:!0}});return _.jsxs(_.Fragment,{children:[_.jsxs("div",{className:K(_t.sourceContent,p1.markdown),children:[_.jsx(xr,{options:{overrides:{a:bN}},children:h}),u&&_.jsx(vN,{onClose:()=>c(!1)})]}),_.jsx(AN,{url:r,knowledgeBaseType:i})]})},ON=""+new URL("undraw_fixing-bugs-D_eYxJc6.svg",import.meta.url).href,wN=()=>{const n=tt();return _.jsxs("div",{className:_t.loadingError,children:[_.jsx("h1",{children:n("source-infos.error.title")}),_.jsx("img",{src:ON,title:n("source-infos.error.title")}),_.jsx("p",{children:n("source-infos.error.info")})]})},RN=()=>_.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 CN({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(),A=E=>{E.preventDefault(),y(E.clientY),window.addEventListener("mousemove",b),window.addEventListener("mouseup",x)},b=E=>T(E.clientY),x=()=>{O(),window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",x)};M.addEventListener("touchstart",V),M.addEventListener("touchmove",I),M.addEventListener("touchend",S),M.addEventListener("mousedown",A),g.current=()=>{M.removeEventListener("touchstart",V),M.removeEventListener("touchmove",I),M.removeEventListener("touchend",S),M.removeEventListener("mousedown",A),window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",x)}},[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 NN=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},MN=()=>{const n=Ga(),r=Qt(m=>m.chat.sourceInfos),i=b1(),s=H.useRef(null),u=NN(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(IO()))},[n,i]),{ref:h,dragOffsetY:d}=CN({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(Q3,{ref:h,tabIndex:-1,sourceInfos:r.type==="loaded"?r:void 0,onClose:c}),r.type==="loading"?_.jsx(RN,{}):r.type==="loading-error"?_.jsx(wN,{}):_.jsxs(_.Fragment,{children:[_.jsx(K3,{loading:!r.highlighted}),_.jsx(xN,{sourceInfos:r})]})]})}):null},DN="_container_114wy_1",BN="_body_114wy_7",LN="_intro_114wy_14",UN="_footer_114wy_39",jN="_footnote_114wy_43",HN="_containerWithFootnote_114wy_58",zN="_startChatButton_114wy_73",kN="_formFields_114wy_77",IN="_formField_114wy_77",GN="_radio_114wy_89",qN="_checkbox_114wy_96",FN="_input_114wy_104",PN="_inputLabel_114wy_138",VN="_selectWrapper_114wy_142",YN="_select_114wy_142",ZN="_selectLabel_114wy_188",wt={container:DN,body:BN,intro:LN,footer:UN,footnote:jN,containerWithFootnote:HN,startChatButton:zN,formFields:kN,formField:IN,radio:GN,checkbox:qN,input:FN,inputLabel:PN,selectWrapper:VN,select:YN,selectLabel:ZN},XN=({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})]})},QN=({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})]})},KN=({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})]})},$N=({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}))})})]})},WN="start-screen.intro",JN="start-screen.start-chat",eM="start-screen.footnote",Un="start-screen.form",mv=`${Un}.fields`,tM=()=>{const n=tt(),r=Ga(),[i,s]=H.useState({}),u=()=>{const T=Object.entries(i).reduce((O,[L,M])=>({...O,[L]:M.value}),{});r(UO(T))},c=n(WN),h=n(JN),d=n(eM),m=H.useMemo(()=>n(mv)?.split(";").map(T=>T.trim())??[],[n(mv)]);H.useEffect(()=>{m.length&&Object.keys(i).length===0&&s(m.reduce((T,O)=>({...T,[O]:nM(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(xr,{options:{overrides:{a:pv}},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:A,min:b,max:x,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(KN,{name:O,value:k,label:Z,defaultChecked:k===V,required:S,onChange:y(O)},k))]});case"checkbox":return _.jsx(XN,{name:O,label:L,defaultValue:V,required:S,onChange:y(O)});case"select":return _.jsx($N,{name:O,label:L,defaultValue:V,required:S,multiple:A,options:I,onChange:y(O)});default:return _.jsx(QN,{type:T,name:O,label:L,placeholder:M,defaultValue:V,required:S,multiple:A,min:b,max:x,pattern:E,onChange:y(O)})}})()},O))})]}),_.jsxs("div",{className:K(wt.footer,"chat__startScreen__footer"),children:[_.jsx(uu,{type:"submit",className:wt.startChatButton,children:h}),d&&_.jsx("div",{className:wt.footnote,children:_.jsx(xr,{options:{overrides:{a:pv}},children:d})})]})]})},pv=({title:n,href:r,children:i})=>_.jsx("a",{href:r,title:n,target:"_blank",rel:"noopener noreferrer",children:i}),nM=(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=aM(r(`${Un}.${n}.options`));return{name:n,label:h,placeholder:c,value:rM(i,d,T)||"",defaultValue:d,options:T,type:i,required:s,multiple:u,min:m,max:g,pattern:y}},rM=(n,r,i)=>r||n==="select"&&Object.keys(i)[0]||"",aM=(n="")=>n.split(";").map(r=>r.trim()).reduce((r,i)=>{const[s,u]=i.split(":").map(c=>c.trim());return{...r,[s]:u}},{}),iM=()=>{const n=du();H.useEffect(()=>{window.document.documentElement.lang=n.locale},[n.locale])},Oi={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"},sM=({clientName:n})=>{iM();const r=Ga(),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=mu.parse(window.location.search);y.cssClassName&&d(y.cssClassName);const T=O=>{switch(O.data.type){case Oi.TRIGGER_ACTION:r(O.data.action);break;case Oi.TRIGGER_STORY:r(Lb(O.data.story));break;case Oi.ON_CHAT_WINDOW_OPEN:r({type:"webclient.chatwindow.opened"});break;case Oi.ON_CHAT_WINDOW_CLOSE:r({type:"webclient.chatwindow.closed"});break;case Oi.CHAT_MESSAGE_FROM_GUEST:r(Cb(O.data.text));break;case Oi.RESTART_CHAT:r(Eu(n,y));break}};return r(qO(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(av.chatwindow,g&&av.chatwindowWithAside,"chat__chatwindow",h),children:m?null:g?_.jsxs(_.Fragment,{children:[_.jsx("header",{children:_.jsx(rv,{chatStarted:!0})}),_.jsx("main",{children:_.jsx(d3,{clientName:n})}),_.jsx("aside",{children:_.jsx(MN,{})})]}):_.jsxs(_.Fragment,{children:[_.jsx("header",{children:_.jsx(rv,{chatStarted:!1})}),_.jsx("main",{children:_.jsx(tM,{})})]})})},lM=()=>{const n=rm(),r=b1(),i=Qt(u=>u.intl.locale),s=Qt(u=>u.intl.messages);return _.jsx(XA,{locale:i,messages:s,onError:()=>{},children:_.jsx("div",{className:K([KA.app,r?"chat__small":"chat__large"]),children:_.jsx(sM,{clientName:n})})})};var Mh,gv;function am(){if(gv)return Mh;gv=1;function n(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}return Mh=n,Mh}var Dh,yv;function oM(){if(yv)return Dh;yv=1;var n=typeof _o=="object"&&_o&&_o.Object===Object&&_o;return Dh=n,Dh}var Bh,_v;function O1(){if(_v)return Bh;_v=1;var n=oM(),r=typeof self=="object"&&self&&self.Object===Object&&self,i=n||r||Function("return this")();return Bh=i,Bh}var Lh,vv;function uM(){if(vv)return Lh;vv=1;var n=O1(),r=function(){return n.Date.now()};return Lh=r,Lh}var Uh,bv;function cM(){if(bv)return Uh;bv=1;var n=/\s/;function r(i){for(var s=i.length;s--&&n.test(i.charAt(s)););return s}return Uh=r,Uh}var jh,Ev;function fM(){if(Ev)return jh;Ev=1;var n=cM(),r=/^\s+/;function i(s){return s&&s.slice(0,n(s)+1).replace(r,"")}return jh=i,jh}var Hh,Sv;function w1(){if(Sv)return Hh;Sv=1;var n=O1(),r=n.Symbol;return Hh=r,Hh}var zh,Tv;function hM(){if(Tv)return zh;Tv=1;var n=w1(),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 zh=c,zh}var kh,Av;function dM(){if(Av)return kh;Av=1;var n=Object.prototype,r=n.toString;function i(s){return r.call(s)}return kh=i,kh}var Ih,xv;function mM(){if(xv)return Ih;xv=1;var n=w1(),r=hM(),i=dM(),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 Ih=h,Ih}var Gh,Ov;function pM(){if(Ov)return Gh;Ov=1;function n(r){return r!=null&&typeof r=="object"}return Gh=n,Gh}var qh,wv;function gM(){if(wv)return qh;wv=1;var n=mM(),r=pM(),i="[object Symbol]";function s(u){return typeof u=="symbol"||r(u)&&n(u)==i}return qh=s,qh}var Fh,Rv;function yM(){if(Rv)return Fh;Rv=1;var n=fM(),r=am(),i=gM(),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 Fh=m,Fh}var Ph,Cv;function _M(){if(Cv)return Ph;Cv=1;var n=am(),r=uM(),i=yM(),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,A=!1,b=!0;if(typeof d!="function")throw new TypeError(s);m=i(m)||0,n(g)&&(S=!!g.leading,A="maxWait"in g,O=A?u(i(g.maxWait)||0,m):O,b="trailing"in g?!!g.trailing:b);function x(ue){var Ve=y,be=T;return y=T=void 0,I=ue,L=d.apply(be,Ve),L}function E(ue){return I=ue,M=setTimeout(ee,m),S?x(ue):L}function k(ue){var Ve=ue-V,be=ue-I,G=m-Ve;return A?c(G,O-be):G}function Z(ue){var Ve=ue-V,be=ue-I;return V===void 0||Ve>=m||Ve<0||A&&be>=O}function ee(){var ue=r();if(Z(ue))return de(ue);M=setTimeout(ee,k(ue))}function de(ue){return M=void 0,b&&y?x(ue):(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 ue=r(),Ve=Z(ue);if(y=arguments,T=this,V=ue,Ve){if(M===void 0)return E(V);if(A)return clearTimeout(M),M=setTimeout(ee,m),x(V)}return M===void 0&&(M=setTimeout(ee,m)),L}return oe.cancel=ie,oe.flush=J,oe}return Ph=h,Ph}var Vh,Nv;function vM(){if(Nv)return Vh;Nv=1;var n=_M(),r=am(),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 Vh=s,Vh}var bM=vM();const EM=fu(bM);function SM(n){return n&&n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function TM(n){return n}function AM(n,r){r=r||{};const i=r.delimiter||".",s=r.maxDepth,u=r.transformKey||TM,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=SM(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 R1={"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:
|
|
112
|
-
|
|
113
|
-
- Der Chatverlauf wird im EU-Raum gespeichert und kann nur von autorisierten Personen eingesehen werden.
|
|
114
|
-
- 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"},xM={"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:
|
|
115
|
-
|
|
116
|
-
- The chat history is stored in the EU area and can only be viewed by authorized personnel.
|
|
117
|
-
- 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"},OM={"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:
|
|
118
|
-
|
|
119
|
-
- L'historique du chat est stocké dans l'espace UE et ne peut être consulté que par les personnes autorisées.
|
|
120
|
-
- 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"},wM={"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:
|
|
121
|
-
|
|
122
|
-
- La cronologia delle chat è memorizzata nell'area UE e può essere visualizzata solo da persone autorizzate.
|
|
123
|
-
- 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"},RM=["de","en","fr","it"],C1={locale:"de",messages:R1},CM=(n,r)=>{if(RM.includes(n)){const i=NM(n),s=AM(r);return{...i,...s}}return r},NM=n=>{switch(n.toString()){case"en":return xM;case"fr":return OM;case"it":return wM;default:return R1}},MM=(n=DM,r)=>{switch(r.type){case Qd:return Object.assign({},n,{connectionState:Ha.CONNECTING});case Kd:return Object.assign({},n,{connectionState:Ha.CONNECTED});case $d:return Object.assign({},n,{connectionState:Ha.DISCONNECTED});case Wd:return Object.assign({},n,{connectionState:Ha.RECONNECTED});case Jd:return Object.assign({},n,{sessionId:r.sessionId});case vu:return Object.assign({},n,{sessionId:r.payload.sessionId,userId:r.payload.userId});case bu:return Object.assign({},n,{sessionId:void 0});default:return n}},DM={connectionState:Ha.DISCONNECTED,sessionId:void 0,userId:void 0},BM=(n=Dv,r)=>{switch(r.type){case Kb:return Dv;case vu:return La({type:"webclient.chat.started"}),n;case bu:return La({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 Mv(n,r.message);case we.ActionTypes.MESSAGE_TO_GUEST:{La(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 Hd:{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 jd:return La(r.message),n;case we.ActionTypes.EVENT_TO_GUEST:return La(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 Mb:return La(r),n;case Db:return La(r),n;case kd:{const i=new we.TextMessage(r.transcription,new we.GuestUser),s=Object.assign({},i,{_id:cd()});return Mv(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 Id:{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 qd:return{...n,sourceInfos:{type:"loading",chunkId:r.payload.chunkId}};case Gd:{const{highlighted:i}=r.payload;return n.sourceInfos?.type==="loaded"&&i?{...n,sourceInfos:{...n.sourceInfos,highlighted:!0}}:{...n,sourceInfos:{type:"loading-error"}}}case Nb:{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 Fd:return{...n,sourceInfos:void 0};case $b:return{...n,showTranscriptMailOverlay:!n.showTranscriptMailOverlay};default:return n}},Mv=(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:[]})},La=n=>{LM()?window.top?.postMessage(n,"*"):n.type==="webclient.change.url"&&window.open(n.url)},LM=()=>typeof window<"u"&&window.self!==window.top,Dv={messages:[],quickReplies:[],isBotTyping:!1,showTranscriptMailOverlay:!1,conversationRating:{enabled:!1}},N1=Zd({name:"intl",initialState:C1,reducers:{updateIntl:(n,r)=>{n.locale=r.payload.language,n.messages=r.payload.messages}}}),{updateIntl:UM}=N1.actions,jM=N1.reducer,HM={enableStartScreen:void 0,enableStandaloneView:!1,enableTranscriptExportEmail:!1,enableTranscriptExportPdf:!1,enableGeneralConditions:!1,enableSpeechSupport:!1,commands:[],menuItems:[]},M1=Zd({name:"settings",initialState:HM,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:zM}=M1.actions,kM=M1.reducer,IM=zb({settings:kM,chat:BM,startScreen:HO,connection:MM,intl:jM}),GM="bubble-chat",D1="state-last-saved-at",B1="state",qM=n=>{try{if(!VM())return;const r=Bv(n,D1);if(PM(r))return;{const i=Bv(n,B1);return i===null?void 0:JSON.parse(i)}}catch(r){console.error(r);return}},FM=(n,r)=>{try{const i=JSON.stringify(r);Lv(n,B1,i);const s=new Date().toISOString();Lv(n,D1,s)}catch(i){console.error(i)}},PM=n=>{if(n===null)return!1;const r=new Date(n);return r.setHours(r.getHours()+12),new Date>r},VM=()=>typeof localStorage<"u",Bv=(n,r)=>{const i=L1(n,r);return localStorage.getItem(i)},Lv=(n,r,i)=>{const s=L1(n,r);return localStorage.setItem(s,i)},L1=(n,r)=>`${GM}-${n}-${r}`,er=Object.create(null);er.open="0";er.close="1";er.ping="2";er.pong="3";er.message="4";er.upgrade="5";er.noop="6";const Wo=Object.create(null);Object.keys(er).forEach(n=>{Wo[er[n]]=n});const bd={type:"error",data:"parser error"},U1=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",j1=typeof ArrayBuffer=="function",H1=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer,im=({type:n,data:r},i,s)=>U1&&r instanceof Blob?i?s(r):Uv(r,s):j1&&(r instanceof ArrayBuffer||H1(r))?i?s(r):Uv(new Blob([r]),s):s(er[n]+(r||"")),Uv=(n,r)=>{const i=new FileReader;return i.onload=function(){const s=i.result.split(",")[1];r("b"+(s||""))},i.readAsDataURL(n)};function jv(n){return n instanceof Uint8Array?n:n instanceof ArrayBuffer?new Uint8Array(n):new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}let Yh;function YM(n,r){if(U1&&n.data instanceof Blob)return n.data.arrayBuffer().then(jv).then(r);if(j1&&(n.data instanceof ArrayBuffer||H1(n.data)))return r(jv(n.data));im(n,!1,i=>{Yh||(Yh=new TextEncoder),r(Yh.encode(i))})}const Hv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ks=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let n=0;n<Hv.length;n++)Ks[Hv.charCodeAt(n)]=n;const ZM=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=Ks[n.charCodeAt(s)],h=Ks[n.charCodeAt(s+1)],d=Ks[n.charCodeAt(s+2)],m=Ks[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},XM=typeof ArrayBuffer=="function",sm=(n,r)=>{if(typeof n!="string")return{type:"message",data:z1(n,r)};const i=n.charAt(0);return i==="b"?{type:"message",data:QM(n.substring(1),r)}:Wo[i]?n.length>1?{type:Wo[i],data:n.substring(1)}:{type:Wo[i]}:bd},QM=(n,r)=>{if(XM){const i=ZM(n);return z1(i,r)}else return{base64:!0,data:n}},z1=(n,r)=>{switch(r){case"blob":return n instanceof Blob?n:new Blob([n]);case"arraybuffer":default:return n instanceof ArrayBuffer?n:n.buffer}},k1="",KM=(n,r)=>{const i=n.length,s=new Array(i);let u=0;n.forEach((c,h)=>{im(c,!1,d=>{s[h]=d,++u===i&&r(s.join(k1))})})},$M=(n,r)=>{const i=n.split(k1),s=[];for(let u=0;u<i.length;u++){const c=sm(i[u],r);if(s.push(c),c.type==="error")break}return s};function WM(){return new TransformStream({transform(n,r){YM(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 Zh;function Zo(n){return n.reduce((r,i)=>r+i.length,0)}function Xo(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 JM(n,r){Zh||(Zh=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(Zo(i)<1)break;const m=Xo(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(Zo(i)<2)break;const m=Xo(i,2);u=new DataView(m.buffer,m.byteOffset,m.length).getUint16(0),s=3}else if(s===2){if(Zo(i)<8)break;const m=Xo(i,8),g=new DataView(m.buffer,m.byteOffset,m.length),y=g.getUint32(0);if(y>Math.pow(2,21)-1){d.enqueue(bd);break}u=y*Math.pow(2,32)+g.getUint32(4),s=3}else{if(Zo(i)<u)break;const m=Xo(i,u);d.enqueue(sm(c?m:Zh.decode(m),r)),s=0}if(u===0||u>n){d.enqueue(bd);break}}}})}const I1=4;function ct(n){if(n)return eD(n)}function eD(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 Au=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")(),tD="arraybuffer";function G1(n,...r){return r.reduce((i,s)=>(n.hasOwnProperty(s)&&(i[s]=n[s]),i),{})}const nD=En.setTimeout,rD=En.clearTimeout;function xu(n,r){r.useNativeTimers?(n.setTimeoutFn=nD.bind(En),n.clearTimeoutFn=rD.bind(En)):(n.setTimeoutFn=En.setTimeout.bind(En),n.clearTimeoutFn=En.clearTimeout.bind(En))}const aD=1.33;function iD(n){return typeof n=="string"?sD(n):Math.ceil((n.byteLength||n.size)*aD)}function sD(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 q1(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function lD(n){let r="";for(let i in n)n.hasOwnProperty(i)&&(r.length&&(r+="&"),r+=encodeURIComponent(i)+"="+encodeURIComponent(n[i]));return r}function oD(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 uD extends Error{constructor(r,i,s){super(r),this.description=i,this.context=s,this.type="TransportError"}}class lm extends ct{constructor(r){super(),this.writable=!1,xu(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 uD(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=sm(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=lD(r);return i.length?"?"+i:""}}class cD extends lm{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)};$M(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,KM(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]=q1()),!this.supportsBinary&&!i.sid&&(i.b64=1),this.createUri(r,i)}}let F1=!1;try{F1=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const fD=F1;function hD(){}class dD extends cD{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 Wn extends ct{constructor(r,i,s){super(),this.createRequest=r,xu(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=G1(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=Wn.requestsCount++,Wn.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=hD,r)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Wn.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()}}Wn.requestsCount=0;Wn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",zv);else if(typeof addEventListener=="function"){const n="onpagehide"in En?"pagehide":"unload";addEventListener(n,zv,!1)}}function zv(){for(let n in Wn.requests)Wn.requests.hasOwnProperty(n)&&Wn.requests[n].abort()}const mD=function(){const n=P1({xdomain:!1});return n&&n.responseType!==null}();class pD extends dD{constructor(r){super(r);const i=r&&r.forceBase64;this.supportsBinary=mD&&!i}request(r={}){return Object.assign(r,{xd:this.xd},this.opts),new Wn(P1,this.uri(),r)}}function P1(n){const r=n.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!r||fD))return new XMLHttpRequest}catch{}if(!r)try{return new En[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const V1=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class gD extends lm{get name(){return"websocket"}doOpen(){const r=this.uri(),i=this.opts.protocols,s=V1?{}:G1(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;im(s,this.supportsBinary,c=>{try{this.doWrite(s,c)}catch{}u&&Au(()=>{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]=q1()),this.supportsBinary||(i.b64=1),this.createUri(r,i)}}const Xh=En.WebSocket||En.MozWebSocket;class yD extends gD{createSocket(r,i,s){return V1?new Xh(r,i,s):i?new Xh(r,i):new Xh(r)}doWrite(r,i){this.ws.send(i)}}class _D extends lm{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=JM(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=r.readable.pipeThrough(i).getReader(),u=WM();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&&Au(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var r;(r=this._transport)===null||r===void 0||r.close()}}const vD={websocket:yD,webtransport:_D,polling:pD},bD=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ED=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Ed(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=bD.exec(n||""),c={},h=14;for(;h--;)c[ED[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=SD(c,c.path),c.queryKey=TD(c,c.query),c}function SD(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 TD(n,r){const i={};return r.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,u,c){u&&(i[u]=c)}),i}const Sd=typeof addEventListener=="function"&&typeof removeEventListener=="function",Jo=[];Sd&&addEventListener("offline",()=>{Jo.forEach(n=>n())},!1);class sa extends ct{constructor(r,i){if(super(),this.binaryType=tD,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=Ed(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=Ed(i.host).host);xu(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=oD(this.opts.query)),Sd&&(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"})},Jo.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(r){const i=Object.assign({},this.opts.query);i.EIO=I1,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&&sa.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",sa.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+=iD(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,Au(()=>{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(sa.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(),Sd&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=Jo.indexOf(this._offlineEventListener);s!==-1&&Jo.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",r,i),this.writeBuffer=[],this._prevBufferLen=0}}}sa.protocol=I1;class AD extends sa{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;sa.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;sa.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 xD=class extends AD{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=>vD[u]).filter(u=>!!u)),super(r,s)}};function OD(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=Ed(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 wD=typeof ArrayBuffer=="function",RD=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n.buffer instanceof ArrayBuffer,Y1=Object.prototype.toString,CD=typeof Blob=="function"||typeof Blob<"u"&&Y1.call(Blob)==="[object BlobConstructor]",ND=typeof File=="function"||typeof File<"u"&&Y1.call(File)==="[object FileConstructor]";function om(n){return wD&&(n instanceof ArrayBuffer||RD(n))||CD&&n instanceof Blob||ND&&n instanceof File}function eu(n,r){if(!n||typeof n!="object")return!1;if(Array.isArray(n)){for(let i=0,s=n.length;i<s;i++)if(eu(n[i]))return!0;return!1}if(om(n))return!0;if(n.toJSON&&typeof n.toJSON=="function"&&arguments.length===1)return eu(n.toJSON(),!0);for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&eu(n[i]))return!0;return!1}function MD(n){const r=[],i=n.data,s=n;return s.data=Td(i,r),s.attachments=r.length,{packet:s,buffers:r}}function Td(n,r){if(!n)return n;if(om(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]=Td(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]=Td(n[s],r));return i}return n}function DD(n,r){return n.data=Ad(n.data,r),delete n.attachments,n}function Ad(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]=Ad(n[i],r);else if(typeof n=="object")for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(n[i]=Ad(n[i],r));return n}const BD=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],LD=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 UD{constructor(r){this.replacer=r}encode(r){return(r.type===Ce.EVENT||r.type===Ce.ACK)&&eu(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=MD(r),s=this.encodeAsString(i.packet),u=i.buffers;return u.unshift(s),u}}function kv(n){return Object.prototype.toString.call(n)==="[object Object]"}class um 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 jD(i),i.attachments===0&&super.emitReserved("decoded",i)):super.emitReserved("decoded",i)}else if(om(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(um.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 kv(i);case Ce.DISCONNECT:return i===void 0;case Ce.CONNECT_ERROR:return typeof i=="string"||kv(i);case Ce.EVENT:case Ce.BINARY_EVENT:return Array.isArray(i)&&(typeof i[0]=="number"||typeof i[0]=="string"&&BD.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 jD{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=DD(this.reconPack,this.buffers);return this.finishedReconstruction(),i}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const HD=Object.freeze(Object.defineProperty({__proto__:null,Decoder:um,Encoder:UD,get PacketType(){return Ce},protocol:LD},Symbol.toStringTag,{value:"Module"}));function Hn(n,r,i){return n.on(r,i),function(){n.off(r,i)}}const zD=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Z1 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(zD.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 Mi(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}Mi.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};Mi.prototype.reset=function(){this.attempts=0};Mi.prototype.setMin=function(n){this.ms=n};Mi.prototype.setMax=function(n){this.max=n};Mi.prototype.setJitter=function(n){this.jitter=n};class xd 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,xu(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 Mi({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||HD;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 xD(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){Au(()=>{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 Z1(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 Zs={};function tu(n,r){typeof n=="object"&&(r=n,n=void 0),r=r||{};const i=OD(n,r.path||"/socket.io"),s=i.source,u=i.id,c=i.path,h=Zs[u]&&c in Zs[u].nsps,d=r.forceNew||r["force new connection"]||r.multiplex===!1||h;let m;return d?m=new xd(s,r):(Zs[u]||(Zs[u]=new xd(s,r)),m=Zs[u]),i.query&&!r.query&&(r.query=i.queryKey),m.socket(i.path,r)}Object.assign(tu,{Manager:xd,Socket:Z1,io:tu,connect:tu});const kD=[we.ActionTypes.MESSAGE_TO_GUEST,we.ActionTypes.EVENT_TO_GUEST,we.ActionTypes.TYPING_ON,we.ActionTypes.TYPING_OFF,we.ActionTypes.RESTART_CHAT_REQUEST,...GO,...kx,"@@localize/SET_ACTIVE_LANGUAGE","@@localize/ADD_TRANSLATION_FOR_LANGUAGE"],ID=({dispatch:n,getState:r})=>i=>{let s=null;return u=>{const c=i(u);if(u.type===Xd){s?.disconnect(),n(PO());const h=`/chat?${mu.stringify(u.querystrings)}`;s=tu(`/${u.clientName}${h}`),s.on("action",n),s.on("connect",()=>n(VO())),s.on("disconnect",()=>n(YO())),s.on("reconnect",()=>n(ZO())),s.on("set-translations",(d,m)=>{n(UM({language:d,messages:CM(d,m)}))}),s.on("set-settings",d=>{n(zM(d))}),s.on("enable-conversation-rating",d=>n(Px(d))),s.on("speech-transcription",d=>n(Gx(d))),s.on("restore-client-state",d=>{n(FO(d.sessionId)),n(Yx(d.messages))}),s.on("expand-window",({devices:d,initial:m=!1})=>{n({type:Mb,devices:d,initial:m})}),s.on("restart-chat",()=>{n(Eu(u.clientName,u.querystrings))})}else if(u.type===vu)s?.emit("start-chat",u.payload);else if(u.type===bu)s?.emit("terminate-session",u.payload);else if(u.type===zx)s?.emit("get-started",JSON.stringify(u));else if(u.type===zd)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===Bb){const{connection:{sessionId:h}}=r();window.location.href=`/transcript-pdf/${h}`}else kD.indexOf(u.type)===-1&&u.meta===void 0&&s&&s.emit("action",JSON.stringify(u));return c}},X1=g1(),GD={...qM(X1),intl:C1},Od=SO({middleware:n=>n().concat(ID),reducer:IM,preloadedState:GD});Od.subscribe(EM(()=>{const n=Od.getState();FM(X1,{connection:n.connection,startScreen:n.startScreen})},1e3));const qD=document.getElementById("root"),FD=cS.createRoot(qD);FD.render(_.jsx(uT,{store:Od,children:_.jsx(lM,{})}));
|
|
124
|
-
//# sourceMappingURL=index-B_267kXd.js.map
|